]> git.saurik.com Git - wxWidgets.git/blob - configure
e1bd12b4c40af7e7330e99cf38847dcddb57b12b
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 47597 2007-07-20 18:27:35Z PC .
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
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.0'
579 PACKAGE_STRING='wxWidgets 2.9.0'
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 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 CFLAGS_VISIBILITY
711 CXXFLAGS_VISIBILITY
712 REZ
713 DEREZ
714 SETFILE
715 LIBICONV
716 SDL_CONFIG
717 SDL_CFLAGS
718 SDL_LIBS
719 LIBGNOMEPRINTUI_CFLAGS
720 LIBGNOMEPRINTUI_LIBS
721 GNOMEVFS_CFLAGS
722 GNOMEVFS_LIBS
723 HILDON_CFLAGS
724 HILDON_LIBS
725 CAIRO_CFLAGS
726 CAIRO_LIBS
727 GST_CFLAGS
728 GST_LIBS
729 ALL_WX_LIBS
730 BUILT_WX_LIBS
731 STD_BASE_LIBS
732 STD_GUI_LIBS
733 wxUSE_ZLIB
734 wxUSE_REGEX
735 wxUSE_EXPAT
736 wxUSE_ODBC
737 wxUSE_LIBJPEG
738 wxUSE_LIBPNG
739 wxUSE_LIBTIFF
740 VENDOR
741 OFFICIAL_BUILD
742 WX_FLAVOUR
743 WX_LIB_FLAVOUR
744 WXUNIV
745 MONOLITHIC
746 USE_PLUGINS
747 CXXWARNINGS
748 EXTRALIBS
749 EXTRALIBS_XML
750 EXTRALIBS_HTML
751 EXTRALIBS_ODBC
752 EXTRALIBS_GUI
753 EXTRALIBS_OPENGL
754 EXTRALIBS_SDL
755 WITH_PLUGIN_SDL
756 EXTRALIBS_GNOMEPRINT
757 EXTRALIBS_GNOMEVFS
758 EXTRALIBS_HILDON
759 UNICODE
760 BUILD
761 DEBUG_INFO
762 DEBUG_FLAG
763 TOOLKIT_LOWERCASE
764 TOOLKIT_VERSION
765 SAMPLES_RPATH_FLAG
766 SAMPLES_RPATH_POSTLINK
767 HOST_SUFFIX
768 CPPUNIT_CFLAGS
769 CPPUNIT_LIBS
770 SET_MAKE
771 MAKE_SET
772 AROPTIONS
773 NM
774 INSTALL_DIR
775 LDFLAGS_GUI
776 PLATFORM_UNIX
777 PLATFORM_WIN32
778 PLATFORM_MSDOS
779 PLATFORM_MAC
780 PLATFORM_MACOS
781 PLATFORM_MACOSX
782 PLATFORM_OS2
783 PLATFORM_BEOS
784 SO_SUFFIX
785 SO_SUFFIX_MODULE
786 DLLIMP_SUFFIX
787 LIBPREFIX
788 LIBEXT
789 DLLPREFIX
790 DLLPREFIX_MODULE
791 dlldir
792 AIX_CXX_LD
793 SHARED_LD_CC
794 SHARED_LD_CXX
795 SHARED_LD_MODULE_CC
796 SHARED_LD_MODULE_CXX
797 PIC_FLAG
798 WINDOWS_IMPLIB
799 USE_SOVERSION
800 USE_SOVERLINUX
801 USE_SOVERSOLARIS
802 USE_SOVERCYGWIN
803 USE_MACVERSION
804 USE_SOSYMLINKS
805 SONAME_FLAG
806 DEPS_TRACKING
807 BK_DEPS
808 GCC_PCH
809 ICC_PCH
810 BK_MAKE_PCH
811 COND_BUILD_DEBUG
812 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
813 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
814 COND_BUILD_DEBUG_UNICODE_0
815 COND_BUILD_DEBUG_UNICODE_1
816 COND_BUILD_RELEASE
817 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
818 COND_BUILD_RELEASE_UNICODE_0
819 COND_BUILD_RELEASE_UNICODE_1
820 COND_DEBUG_FLAG_1
821 COND_DEBUG_INFO_0
822 COND_DEBUG_INFO_1
823 COND_DEPS_TRACKING_0
824 COND_DEPS_TRACKING_1
825 COND_GCC_PCH_1
826 COND_ICC_PCH_1
827 COND_MONOLITHIC_0
828 COND_MONOLITHIC_0_SHARED_0
829 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
836 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
837 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
838 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
839 COND_MONOLITHIC_0_SHARED_1
840 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
846 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
847 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
848 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
849 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
850 COND_MONOLITHIC_0_USE_AUI_1
851 COND_MONOLITHIC_0_USE_GUI_1
852 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
853 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
854 COND_MONOLITHIC_0_USE_HTML_1
855 COND_MONOLITHIC_0_USE_MEDIA_1
856 COND_MONOLITHIC_0_USE_ODBC_1
857 COND_MONOLITHIC_0_USE_QA_1
858 COND_MONOLITHIC_0_USE_RICHTEXT_1
859 COND_MONOLITHIC_0_USE_STC_1
860 COND_MONOLITHIC_0_USE_XRC_1
861 COND_MONOLITHIC_1
862 COND_MONOLITHIC_1_SHARED_0
863 COND_MONOLITHIC_1_SHARED_1
864 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
865 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
866 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
867 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
868 COND_PLATFORM_MACOSX_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_
870 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
871 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
872 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
873 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
874 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
875 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
876 COND_PLATFORM_MACOSX_1_USE_GUI_1
877 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
878 COND_PLATFORM_MACOS_1
879 COND_PLATFORM_MAC_1
880 COND_PLATFORM_MSDOS_0
881 COND_PLATFORM_MSDOS_1
882 COND_PLATFORM_OS2_1
883 COND_PLATFORM_UNIX_0
884 COND_PLATFORM_UNIX_1
885 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
886 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
887 COND_PLATFORM_UNIX_1_USE_GUI_1
888 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
889 COND_PLATFORM_WIN32_0
890 COND_PLATFORM_WIN32_1
891 COND_SHARED_0
892 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
893 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
894 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
895 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
897 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
898 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
899 COND_SHARED_0_USE_STC_1
900 COND_SHARED_0_USE_XRC_1
901 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
902 COND_SHARED_0_WXUSE_ODBC_BUILTIN
903 COND_SHARED_0_WXUSE_REGEX_BUILTIN
904 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
905 COND_SHARED_1
906 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
907 COND_SHARED_1_USE_XRC_1
908 COND_TOOLKIT_
909 COND_TOOLKIT_COCOA
910 COND_TOOLKIT_COCOA_USE_GUI_1
911 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
912 COND_TOOLKIT_DFB
913 COND_TOOLKIT_DFB_USE_GUI_1
914 COND_TOOLKIT_GTK
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
918 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
920 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_GTK_USE_GUI_1
922 COND_TOOLKIT_MAC
923 COND_TOOLKIT_MAC_USE_GUI_1
924 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MGL
926 COND_TOOLKIT_MGL_USE_GUI_1
927 COND_TOOLKIT_MOTIF
928 COND_TOOLKIT_MOTIF_USE_GUI_1
929 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_MSW
931 COND_TOOLKIT_MSW_USE_GUI_1
932 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_MSW_WXUNIV_0
934 COND_TOOLKIT_PM
935 COND_TOOLKIT_PM_USE_GUI_1
936 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
937 COND_TOOLKIT_WINCE
938 COND_TOOLKIT_WINCE_USE_GUI_1
939 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
940 COND_TOOLKIT_WINCE_WXUNIV_0
941 COND_TOOLKIT_X11
942 COND_TOOLKIT_X11_USE_GUI_1
943 COND_UNICODE_1
944 COND_USE_EXCEPTIONS_0
945 COND_USE_EXCEPTIONS_1
946 COND_USE_GUI_0
947 COND_USE_GUI_1
948 COND_USE_GUI_1_USE_OPENGL_1
949 COND_USE_GUI_1_WXUNIV_0
950 COND_USE_GUI_1_WXUNIV_1
951 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
952 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
953 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
954 COND_USE_ODBC_1
955 COND_USE_OPENGL_1
956 COND_USE_PCH_1
957 COND_USE_PLUGINS_0
958 COND_USE_RTTI_0
959 COND_USE_RTTI_1
960 COND_USE_SOSYMLINKS_1
961 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
962 COND_USE_SOVERLINUX_1
963 COND_USE_SOVERSION_0
964 COND_USE_SOVERSOLARIS_1
965 COND_USE_STC_1
966 COND_USE_THREADS_0
967 COND_USE_THREADS_1
968 COND_USE_XRC_1
969 COND_WINDOWS_IMPLIB_1
970 COND_WITH_PLUGIN_SDL_1
971 COND_WXUNIV_0
972 COND_WXUNIV_1
973 COND_WXUSE_EXPAT_BUILTIN
974 COND_WXUSE_LIBJPEG_BUILTIN
975 COND_WXUSE_LIBPNG_BUILTIN
976 COND_WXUSE_LIBTIFF_BUILTIN
977 COND_WXUSE_ODBC_BUILTIN
978 COND_WXUSE_REGEX_BUILTIN
979 COND_WXUSE_ZLIB_BUILTIN
980 SHARED
981 WX_LIBRARY_BASENAME_NOGUI
982 WX_LIBRARY_BASENAME_GUI
983 USE_GUI
984 AFMINSTALL
985 WIN32INSTALL
986 TOOLKIT
987 TOOLKIT_DIR
988 TOOLCHAIN_NAME
989 TOOLCHAIN_FULLNAME
990 cross_compiling
991 WIDGET_SET
992 WX_RELEASE
993 WX_VERSION
994 WX_SUBVERSION
995 WX_CHARTYPE
996 WX_DEBUGTYPE
997 WXCONFIG_CPPFLAGS
998 WXCONFIG_CFLAGS
999 WXCONFIG_CXXFLAGS
1000 WXCONFIG_LIBS
1001 WXCONFIG_RPATH
1002 WXCONFIG_LDFLAGS_GUI
1003 WXCONFIG_RESFLAGS
1004 EXE_LINKER
1005 GUIDIST
1006 DISTDIR
1007 SAMPLES_SUBDIRS
1008 LDFLAGS_GL
1009 OPENGL_LIBS
1010 DMALLOC_LIBS
1011 WX_VERSION_TAG
1012 RESCOMP
1013 RESFLAGS
1014 RESPROGRAMOBJ
1015 WX_RESOURCES_MACOSX_ASCII
1016 WX_RESOURCES_MACOSX_DATA
1017 LIBWXMACRES
1018 POSTLINK_COMMAND
1019 MACSETFILE
1020 GCC
1021 CPPUNIT_CONFIG
1022 LIBOBJS
1023 LTLIBOBJS'
1024 ac_subst_files=''
1025 ac_precious_vars='build_alias
1026 host_alias
1027 target_alias
1028 CC
1029 CFLAGS
1030 LDFLAGS
1031 LIBS
1032 CPPFLAGS
1033 CPP
1034 CXX
1035 CXXFLAGS
1036 CCC
1037 PKG_CONFIG
1038 DIRECTFB_CFLAGS
1039 DIRECTFB_LIBS
1040 XMKMF
1041 PANGOX_CFLAGS
1042 PANGOX_LIBS
1043 PANGOFT2_CFLAGS
1044 PANGOFT2_LIBS
1045 PANGOXFT_CFLAGS
1046 PANGOXFT_LIBS
1047 LIBGNOMEPRINTUI_CFLAGS
1048 LIBGNOMEPRINTUI_LIBS
1049 GNOMEVFS_CFLAGS
1050 GNOMEVFS_LIBS
1051 HILDON_CFLAGS
1052 HILDON_LIBS
1053 CAIRO_CFLAGS
1054 CAIRO_LIBS
1055 GST_CFLAGS
1056 GST_LIBS'
1057 ac_subdirs_all='src/expat'
1058
1059 # Initialize some variables set by options.
1060 ac_init_help=
1061 ac_init_version=false
1062 # The variables have the same names as the options, with
1063 # dashes changed to underlines.
1064 cache_file=/dev/null
1065 exec_prefix=NONE
1066 no_create=
1067 no_recursion=
1068 prefix=NONE
1069 program_prefix=NONE
1070 program_suffix=NONE
1071 program_transform_name=s,x,x,
1072 silent=
1073 site=
1074 srcdir=
1075 verbose=
1076 x_includes=NONE
1077 x_libraries=NONE
1078
1079 # Installation directory options.
1080 # These are left unexpanded so users can "make install exec_prefix=/foo"
1081 # and all the variables that are supposed to be based on exec_prefix
1082 # by default will actually change.
1083 # Use braces instead of parens because sh, perl, etc. also accept them.
1084 # (The list follows the same order as the GNU Coding Standards.)
1085 bindir='${exec_prefix}/bin'
1086 sbindir='${exec_prefix}/sbin'
1087 libexecdir='${exec_prefix}/libexec'
1088 datarootdir='${prefix}/share'
1089 datadir='${datarootdir}'
1090 sysconfdir='${prefix}/etc'
1091 sharedstatedir='${prefix}/com'
1092 localstatedir='${prefix}/var'
1093 includedir='${prefix}/include'
1094 oldincludedir='/usr/include'
1095 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1096 infodir='${datarootdir}/info'
1097 htmldir='${docdir}'
1098 dvidir='${docdir}'
1099 pdfdir='${docdir}'
1100 psdir='${docdir}'
1101 libdir='${exec_prefix}/lib'
1102 localedir='${datarootdir}/locale'
1103 mandir='${datarootdir}/man'
1104
1105 ac_prev=
1106 ac_dashdash=
1107 for ac_option
1108 do
1109 # If the previous option needs an argument, assign it.
1110 if test -n "$ac_prev"; then
1111 eval $ac_prev=\$ac_option
1112 ac_prev=
1113 continue
1114 fi
1115
1116 case $ac_option in
1117 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1118 *) ac_optarg=yes ;;
1119 esac
1120
1121 # Accept the important Cygnus configure options, so we can diagnose typos.
1122
1123 case $ac_dashdash$ac_option in
1124 --)
1125 ac_dashdash=yes ;;
1126
1127 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1128 ac_prev=bindir ;;
1129 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1130 bindir=$ac_optarg ;;
1131
1132 -build | --build | --buil | --bui | --bu)
1133 ac_prev=build_alias ;;
1134 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1135 build_alias=$ac_optarg ;;
1136
1137 -cache-file | --cache-file | --cache-fil | --cache-fi \
1138 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1139 ac_prev=cache_file ;;
1140 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1141 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1142 cache_file=$ac_optarg ;;
1143
1144 --config-cache | -C)
1145 cache_file=config.cache ;;
1146
1147 -datadir | --datadir | --datadi | --datad)
1148 ac_prev=datadir ;;
1149 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1150 datadir=$ac_optarg ;;
1151
1152 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1153 | --dataroo | --dataro | --datar)
1154 ac_prev=datarootdir ;;
1155 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1156 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1157 datarootdir=$ac_optarg ;;
1158
1159 -disable-* | --disable-*)
1160 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1161 # Reject names that are not valid shell variable names.
1162 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1163 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1164 { (exit 1); exit 1; }; }
1165 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1166 eval enable_$ac_feature=no ;;
1167
1168 -docdir | --docdir | --docdi | --doc | --do)
1169 ac_prev=docdir ;;
1170 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1171 docdir=$ac_optarg ;;
1172
1173 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1174 ac_prev=dvidir ;;
1175 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1176 dvidir=$ac_optarg ;;
1177
1178 -enable-* | --enable-*)
1179 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1180 # Reject names that are not valid shell variable names.
1181 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1182 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1183 { (exit 1); exit 1; }; }
1184 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1185 eval enable_$ac_feature=\$ac_optarg ;;
1186
1187 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1188 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1189 | --exec | --exe | --ex)
1190 ac_prev=exec_prefix ;;
1191 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1192 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1193 | --exec=* | --exe=* | --ex=*)
1194 exec_prefix=$ac_optarg ;;
1195
1196 -gas | --gas | --ga | --g)
1197 # Obsolete; use --with-gas.
1198 with_gas=yes ;;
1199
1200 -help | --help | --hel | --he | -h)
1201 ac_init_help=long ;;
1202 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1203 ac_init_help=recursive ;;
1204 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1205 ac_init_help=short ;;
1206
1207 -host | --host | --hos | --ho)
1208 ac_prev=host_alias ;;
1209 -host=* | --host=* | --hos=* | --ho=*)
1210 host_alias=$ac_optarg ;;
1211
1212 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1213 ac_prev=htmldir ;;
1214 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1215 | --ht=*)
1216 htmldir=$ac_optarg ;;
1217
1218 -includedir | --includedir | --includedi | --included | --include \
1219 | --includ | --inclu | --incl | --inc)
1220 ac_prev=includedir ;;
1221 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1222 | --includ=* | --inclu=* | --incl=* | --inc=*)
1223 includedir=$ac_optarg ;;
1224
1225 -infodir | --infodir | --infodi | --infod | --info | --inf)
1226 ac_prev=infodir ;;
1227 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1228 infodir=$ac_optarg ;;
1229
1230 -libdir | --libdir | --libdi | --libd)
1231 ac_prev=libdir ;;
1232 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1233 libdir=$ac_optarg ;;
1234
1235 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1236 | --libexe | --libex | --libe)
1237 ac_prev=libexecdir ;;
1238 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1239 | --libexe=* | --libex=* | --libe=*)
1240 libexecdir=$ac_optarg ;;
1241
1242 -localedir | --localedir | --localedi | --localed | --locale)
1243 ac_prev=localedir ;;
1244 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1245 localedir=$ac_optarg ;;
1246
1247 -localstatedir | --localstatedir | --localstatedi | --localstated \
1248 | --localstate | --localstat | --localsta | --localst | --locals)
1249 ac_prev=localstatedir ;;
1250 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1251 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1252 localstatedir=$ac_optarg ;;
1253
1254 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1255 ac_prev=mandir ;;
1256 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1257 mandir=$ac_optarg ;;
1258
1259 -nfp | --nfp | --nf)
1260 # Obsolete; use --without-fp.
1261 with_fp=no ;;
1262
1263 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1264 | --no-cr | --no-c | -n)
1265 no_create=yes ;;
1266
1267 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1268 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1269 no_recursion=yes ;;
1270
1271 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1272 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1273 | --oldin | --oldi | --old | --ol | --o)
1274 ac_prev=oldincludedir ;;
1275 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1276 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1277 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1278 oldincludedir=$ac_optarg ;;
1279
1280 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1281 ac_prev=prefix ;;
1282 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1283 prefix=$ac_optarg ;;
1284
1285 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1286 | --program-pre | --program-pr | --program-p)
1287 ac_prev=program_prefix ;;
1288 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1289 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1290 program_prefix=$ac_optarg ;;
1291
1292 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1293 | --program-suf | --program-su | --program-s)
1294 ac_prev=program_suffix ;;
1295 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1296 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1297 program_suffix=$ac_optarg ;;
1298
1299 -program-transform-name | --program-transform-name \
1300 | --program-transform-nam | --program-transform-na \
1301 | --program-transform-n | --program-transform- \
1302 | --program-transform | --program-transfor \
1303 | --program-transfo | --program-transf \
1304 | --program-trans | --program-tran \
1305 | --progr-tra | --program-tr | --program-t)
1306 ac_prev=program_transform_name ;;
1307 -program-transform-name=* | --program-transform-name=* \
1308 | --program-transform-nam=* | --program-transform-na=* \
1309 | --program-transform-n=* | --program-transform-=* \
1310 | --program-transform=* | --program-transfor=* \
1311 | --program-transfo=* | --program-transf=* \
1312 | --program-trans=* | --program-tran=* \
1313 | --progr-tra=* | --program-tr=* | --program-t=*)
1314 program_transform_name=$ac_optarg ;;
1315
1316 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1317 ac_prev=pdfdir ;;
1318 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1319 pdfdir=$ac_optarg ;;
1320
1321 -psdir | --psdir | --psdi | --psd | --ps)
1322 ac_prev=psdir ;;
1323 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1324 psdir=$ac_optarg ;;
1325
1326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1327 | -silent | --silent | --silen | --sile | --sil)
1328 silent=yes ;;
1329
1330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1331 ac_prev=sbindir ;;
1332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1333 | --sbi=* | --sb=*)
1334 sbindir=$ac_optarg ;;
1335
1336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1338 | --sharedst | --shareds | --shared | --share | --shar \
1339 | --sha | --sh)
1340 ac_prev=sharedstatedir ;;
1341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1344 | --sha=* | --sh=*)
1345 sharedstatedir=$ac_optarg ;;
1346
1347 -site | --site | --sit)
1348 ac_prev=site ;;
1349 -site=* | --site=* | --sit=*)
1350 site=$ac_optarg ;;
1351
1352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1353 ac_prev=srcdir ;;
1354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1355 srcdir=$ac_optarg ;;
1356
1357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1358 | --syscon | --sysco | --sysc | --sys | --sy)
1359 ac_prev=sysconfdir ;;
1360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1362 sysconfdir=$ac_optarg ;;
1363
1364 -target | --target | --targe | --targ | --tar | --ta | --t)
1365 ac_prev=target_alias ;;
1366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1367 target_alias=$ac_optarg ;;
1368
1369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1370 verbose=yes ;;
1371
1372 -version | --version | --versio | --versi | --vers | -V)
1373 ac_init_version=: ;;
1374
1375 -with-* | --with-*)
1376 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1377 # Reject names that are not valid shell variable names.
1378 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1379 { echo "$as_me: error: invalid package name: $ac_package" >&2
1380 { (exit 1); exit 1; }; }
1381 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1382 eval with_$ac_package=\$ac_optarg ;;
1383
1384 -without-* | --without-*)
1385 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1386 # Reject names that are not valid shell variable names.
1387 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1388 { echo "$as_me: error: invalid package name: $ac_package" >&2
1389 { (exit 1); exit 1; }; }
1390 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1391 eval with_$ac_package=no ;;
1392
1393 --x)
1394 # Obsolete; use --with-x.
1395 with_x=yes ;;
1396
1397 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1398 | --x-incl | --x-inc | --x-in | --x-i)
1399 ac_prev=x_includes ;;
1400 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1401 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1402 x_includes=$ac_optarg ;;
1403
1404 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1405 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1406 ac_prev=x_libraries ;;
1407 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1408 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1409 x_libraries=$ac_optarg ;;
1410
1411 -*) { echo "$as_me: error: unrecognized option: $ac_option
1412 Try \`$0 --help' for more information." >&2
1413 { (exit 1); exit 1; }; }
1414 ;;
1415
1416 *=*)
1417 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1418 # Reject names that are not valid shell variable names.
1419 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1420 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1421 { (exit 1); exit 1; }; }
1422 eval $ac_envvar=\$ac_optarg
1423 export $ac_envvar ;;
1424
1425 *)
1426 # FIXME: should be removed in autoconf 3.0.
1427 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1428 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1429 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1430 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1431 ;;
1432
1433 esac
1434 done
1435
1436 if test -n "$ac_prev"; then
1437 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1438 { echo "$as_me: error: missing argument to $ac_option" >&2
1439 { (exit 1); exit 1; }; }
1440 fi
1441
1442 # Be sure to have absolute directory names.
1443 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1444 datadir sysconfdir sharedstatedir localstatedir includedir \
1445 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1446 libdir localedir mandir
1447 do
1448 eval ac_val=\$$ac_var
1449 case $ac_val in
1450 [\\/$]* | ?:[\\/]* ) continue;;
1451 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1452 esac
1453 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1454 { (exit 1); exit 1; }; }
1455 done
1456
1457 # There might be people who depend on the old broken behavior: `$host'
1458 # used to hold the argument of --host etc.
1459 # FIXME: To remove some day.
1460 build=$build_alias
1461 host=$host_alias
1462 target=$target_alias
1463
1464 # FIXME: To remove some day.
1465 if test "x$host_alias" != x; then
1466 if test "x$build_alias" = x; then
1467 cross_compiling=maybe
1468 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1469 If a cross compiler is detected then cross compile mode will be used." >&2
1470 elif test "x$build_alias" != "x$host_alias"; then
1471 cross_compiling=yes
1472 fi
1473 fi
1474
1475 ac_tool_prefix=
1476 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1477
1478 test "$silent" = yes && exec 6>/dev/null
1479
1480
1481 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1482 ac_ls_di=`ls -di .` &&
1483 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1484 { echo "$as_me: error: Working directory cannot be determined" >&2
1485 { (exit 1); exit 1; }; }
1486 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1487 { echo "$as_me: error: pwd does not report name of working directory" >&2
1488 { (exit 1); exit 1; }; }
1489
1490
1491 # Find the source files, if location was not specified.
1492 if test -z "$srcdir"; then
1493 ac_srcdir_defaulted=yes
1494 # Try the directory containing this script, then the parent directory.
1495 ac_confdir=`$as_dirname -- "$0" ||
1496 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1497 X"$0" : 'X\(//\)[^/]' \| \
1498 X"$0" : 'X\(//\)$' \| \
1499 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1500 echo X"$0" |
1501 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)[^/].*/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\/\)$/{
1510 s//\1/
1511 q
1512 }
1513 /^X\(\/\).*/{
1514 s//\1/
1515 q
1516 }
1517 s/.*/./; q'`
1518 srcdir=$ac_confdir
1519 if test ! -r "$srcdir/$ac_unique_file"; then
1520 srcdir=..
1521 fi
1522 else
1523 ac_srcdir_defaulted=no
1524 fi
1525 if test ! -r "$srcdir/$ac_unique_file"; then
1526 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1527 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1528 { (exit 1); exit 1; }; }
1529 fi
1530 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1531 ac_abs_confdir=`(
1532 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1533 { (exit 1); exit 1; }; }
1534 pwd)`
1535 # When building in place, set srcdir=.
1536 if test "$ac_abs_confdir" = "$ac_pwd"; then
1537 srcdir=.
1538 fi
1539 # Remove unnecessary trailing slashes from srcdir.
1540 # Double slashes in file names in object file debugging info
1541 # mess up M-x gdb in Emacs.
1542 case $srcdir in
1543 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1544 esac
1545 for ac_var in $ac_precious_vars; do
1546 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_env_${ac_var}_value=\$${ac_var}
1548 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1549 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1550 done
1551
1552 #
1553 # Report the --help message.
1554 #
1555 if test "$ac_init_help" = "long"; then
1556 # Omit some internal or obsolete options to make the list less imposing.
1557 # This message is too long to be a string in the A/UX 3.1 sh.
1558 cat <<_ACEOF
1559 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1560
1561 Usage: $0 [OPTION]... [VAR=VALUE]...
1562
1563 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1564 VAR=VALUE. See below for descriptions of some of the useful variables.
1565
1566 Defaults for the options are specified in brackets.
1567
1568 Configuration:
1569 -h, --help display this help and exit
1570 --help=short display options specific to this package
1571 --help=recursive display the short help of all the included packages
1572 -V, --version display version information and exit
1573 -q, --quiet, --silent do not print \`checking...' messages
1574 --cache-file=FILE cache test results in FILE [disabled]
1575 -C, --config-cache alias for \`--cache-file=config.cache'
1576 -n, --no-create do not create output files
1577 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1578
1579 Installation directories:
1580 --prefix=PREFIX install architecture-independent files in PREFIX
1581 [$ac_default_prefix]
1582 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1583 [PREFIX]
1584
1585 By default, \`make install' will install all the files in
1586 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1587 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1588 for instance \`--prefix=\$HOME'.
1589
1590 For better control, use the options below.
1591
1592 Fine tuning of the installation directories:
1593 --bindir=DIR user executables [EPREFIX/bin]
1594 --sbindir=DIR system admin executables [EPREFIX/sbin]
1595 --libexecdir=DIR program executables [EPREFIX/libexec]
1596 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1597 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1598 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1599 --libdir=DIR object code libraries [EPREFIX/lib]
1600 --includedir=DIR C header files [PREFIX/include]
1601 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1602 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1603 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1604 --infodir=DIR info documentation [DATAROOTDIR/info]
1605 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1606 --mandir=DIR man documentation [DATAROOTDIR/man]
1607 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1608 --htmldir=DIR html documentation [DOCDIR]
1609 --dvidir=DIR dvi documentation [DOCDIR]
1610 --pdfdir=DIR pdf documentation [DOCDIR]
1611 --psdir=DIR ps documentation [DOCDIR]
1612 _ACEOF
1613
1614 cat <<\_ACEOF
1615
1616 X features:
1617 --x-includes=DIR X include files are in DIR
1618 --x-libraries=DIR X library files are in DIR
1619
1620 System types:
1621 --build=BUILD configure for building on BUILD [guessed]
1622 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1623 --target=TARGET configure for building compilers for TARGET [HOST]
1624 _ACEOF
1625 fi
1626
1627 if test -n "$ac_init_help"; then
1628 case $ac_init_help in
1629 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1630 esac
1631 cat <<\_ACEOF
1632
1633 Optional Features:
1634 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1635 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1636 --disable-gui don't build GUI parts of the library
1637 --enable-monolithic build wxWidgets as single library
1638 --enable-plugins build parts of wxWidgets as loadable components
1639 --enable-official_build official build of wxWidgets (win32 DLL only)
1640 --enable-vendor=VENDOR vendor name (win32 DLL only)
1641 --disable-all-features disable all optional features to build minimal library
1642 --enable-universal use wxWidgets GUI controls instead of native ones
1643 --enable-nanox use NanoX
1644 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1645 --enable-gpe use GNOME PDA Environment features if possible
1646 --disable-shared create static library instead of shared
1647 --disable-optimise create optimised code
1648 --enable-debug same as debug_flag and debug_info
1649 --enable-stl use STL for containers
1650 --enable-std_iostreams use standard C++ stream classes
1651 --enable-std_string use standard C++ string classes
1652 --disable-unicode compile without Unicode support
1653 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1654 --enable-utf8 use UTF-8 representation for strings (Unix only)
1655 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1656 --enable-extended_rtti use extended RTTI (XTI)
1657 --enable-omf use OMF object format
1658 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1659 --enable-debug_info create code with debugging information
1660 --enable-debug_gdb create code with extra GDB debugging information
1661 --enable-debug_cntxt use wxDebugContext
1662 --enable-mem_tracing create code with memory tracing
1663 --enable-profile create code with profiling information
1664 --enable-no_rtti create code without RTTI information
1665 --enable-no_exceptions create code without C++ exceptions handling
1666 --enable-permissive compile code disregarding strict ANSI
1667 --enable-no_deps create code without dependency information
1668 --disable-vararg_macros don't use vararg macros, even if they are supported
1669 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1670 --enable-compat26 enable wxWidgets 2.6 compatibility
1671 --disable-compat28 disable wxWidgets 2.8 compatibility
1672 --disable-rpath disable use of rpath for uninstalled builds
1673 --enable-objc_uniquifying enable Objective-C class name uniquifying
1674 --disable-visibility disable use of ELF symbols visibility even if supported
1675 --enable-intl use internationalization system
1676 --enable-config use wxConfig (and derived) classes
1677 --enable-protocols use wxProtocol and derived classes
1678 --enable-ftp use wxFTP (requires wxProtocol
1679 --enable-http use wxHTTP (requires wxProtocol
1680 --enable-fileproto use wxFileProto class (requires wxProtocol
1681 --enable-sockets use socket/network classes
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epoolloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontmap use font encodings conversion classes
1704 --enable-fs_archive use virtual archive filesystems
1705 --enable-fs_inet use virtual HTTP/FTP filesystems
1706 --enable-fs_zip now replaced by fs_archive
1707 --enable-geometry use geometry class
1708 --enable-log use logging system
1709 --enable-longlong use wxLongLong class
1710 --enable-mimetype use wxMimeTypesManager
1711 --enable-snglinst use wxSingleInstanceChecker class
1712 --enable-stdpaths use wxStandardPaths class
1713 --enable-stopwatch use wxStopWatch class
1714 --enable-streams use wxStream etc classes
1715 --enable-sysoptions use wxSystemOptions
1716 --enable-tarstream use wxTar streams
1717 --enable-textbuf use wxTextBuffer class
1718 --enable-textfile use wxTextFile class
1719 --enable-timer use wxTimer class
1720 --enable-sound use wxSound class
1721 --enable-mediactrl use wxMediaCtrl class
1722 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1723 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-variant use wxVariant class
1727 --enable-protocol use wxProtocol class
1728 --enable-protocol-http HTTP support in wxProtocol
1729 --enable-protocol-ftp FTP support in wxProtocol
1730 --enable-protocol-file FILE support in wxProtocol
1731 --enable-threads use threads
1732 --enable-docview use document view architecture
1733 --enable-help use help subsystem
1734 --enable-mshtmlhelp use MS HTML Help (win32)
1735 --enable-html use wxHTML sub-library
1736 --enable-htmlhelp use wxHTML-based help
1737 --enable-xrc use XRC resources sub-library
1738 --enable-aui use AUI docking library
1739 --enable-stc use wxStyledTextCtrl library
1740 --enable-constraints use layout-constraints system
1741 --enable-printarch use printing architecture
1742 --enable-mdi use multiple document interface architecture
1743 --enable-mdidoc use docview architecture with MDI
1744 --enable-loggui use standard GUI logger
1745 --enable-logwin use wxLogWindow
1746 --enable-logdialog use wxLogDialog
1747 --enable-webkit use wxWebKitCtrl (Mac)
1748 --enable-richtext use wxRichTextCtrl
1749 --enable-graphics_ctx use graphics context 2D drawing API
1750 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1751 --enable-svg use wxSVGFileDC device context
1752 --enable-clipboard use wxClipboard class
1753 --enable-dnd use Drag'n'Drop classes
1754 --enable-metafile use win32 metafiles
1755 --disable-controls disable compilation of all standard controls
1756 --enable-accel use accelerators
1757 --enable-animatectrl use wxAnimationCtrl class
1758 --enable-button use wxButton class
1759 --enable-bmpbutton use wxBitmapButton class
1760 --enable-bmpcombobox use wxBitmapComboBox class
1761 --enable-calendar use wxCalendarCtrl class
1762 --enable-caret use wxCaret class
1763 --enable-checkbox use wxCheckBox class
1764 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1765 --enable-choice use wxChoice class
1766 --enable-choicebook use wxChoicebook class
1767 --enable-collpane use wxCollapsiblePane class
1768 --enable-colourpicker use wxColourPickerCtrl class
1769 --enable-combobox use wxComboBox class
1770 --enable-comboctrl use wxComboCtrl class
1771 --enable-datepick use wxDatePickerCtrl class
1772 --enable-dirpicker use wxDirPickerCtrl class
1773 --enable-display use wxDisplay class
1774 --enable-detect_sm use code to detect X11 session manager
1775 --enable-editablebox use wxEditableListBox class
1776 --enable-filepicker use wxFilePickerCtrl class
1777 --enable-fontpicker use wxFontPickerCtrl class
1778 --enable-gauge use wxGauge class
1779 --enable-grid use wxGrid class
1780 --enable-dataviewctrl use wxDataViewCtrl class
1781 --enable-hyperlink use wxHyperlinkCtrl class
1782 --enable-imaglist use wxImageList class
1783 --enable-listbook use wxListbook class
1784 --enable-listbox use wxListBox class
1785 --enable-listctrl use wxListCtrl class
1786 --enable-notebook use wxNotebook class
1787 --enable-odcombobox use wxOwnerDrawnComboBox class
1788 --enable-radiobox use wxRadioBox class
1789 --enable-radiobtn use wxRadioButton class
1790 --enable-sash use wxSashWindow class
1791 --enable-scrollbar use wxScrollBar class and scrollable windows
1792 --enable-searchctrl use wxSearchCtrl class
1793 --enable-slider use wxSlider class
1794 --enable-spinbtn use wxSpinButton class
1795 --enable-spinctrl use wxSpinCtrl class
1796 --enable-splitter use wxSplitterWindow class
1797 --enable-statbmp use wxStaticBitmap class
1798 --enable-statbox use wxStaticBox class
1799 --enable-statline use wxStaticLine class
1800 --enable-stattext use wxStaticText class
1801 --enable-statusbar use wxStatusBar class
1802 --enable-tabdialog use wxTabControl class
1803 --enable-taskbaricon use wxTaskBarIcon class
1804 --enable-textctrl use wxTextCtrl class
1805 --enable-togglebtn use wxToggleButton class
1806 --enable-toolbar use wxToolBar class
1807 --enable-tbarnative use native wxToolBar class
1808 --enable-treebook use wxTreebook class
1809 --enable-toolbook use wxToolbook class
1810 --enable-treectrl use wxTreeCtrl class
1811 --enable-tipwindow use wxTipWindow class
1812 --enable-popupwin use wxPopUpWindow class
1813 --enable-commondlg use all common dialogs
1814 --enable-aboutdlg use wxAboutBox
1815 --enable-choicedlg use wxChoiceDialog
1816 --enable-coldlg use wxColourDialog
1817 --enable-filedlg use wxFileDialog
1818 --enable-finddlg use wxFindReplaceDialog
1819 --enable-fontdlg use wxFontDialog
1820 --enable-dirdlg use wxDirDialog
1821 --enable-msgdlg use wxMessageDialog
1822 --enable-numberdlg use wxNumberEntryDialog
1823 --enable-splash use wxSplashScreen
1824 --enable-textdlg use wxTextDialog
1825 --enable-tipdlg use startup tips
1826 --enable-progressdlg use wxProgressDialog
1827 --enable-wizarddlg use wxWizard
1828 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1829 --enable-miniframe use wxMiniFrame class
1830 --enable-tooltips use wxToolTip class
1831 --enable-splines use spline drawing code
1832 --enable-mousewheel use mousewheel
1833 --enable-validators use wxValidator and derived classes
1834 --enable-busyinfo use wxBusyInfo
1835 --enable-joystick use wxJoystick
1836 --enable-metafiles use wxMetaFile (Win32 only)
1837 --enable-dragimage use wxDragImage
1838 --enable-accessibility enable accessibility support
1839 --enable-palette use wxPalette class
1840 --enable-image use wxImage class
1841 --enable-gif use gif images (GIF file format)
1842 --enable-pcx use pcx images (PCX file format)
1843 --enable-tga use tga images (TGA file format)
1844 --enable-iff use iff images (IFF file format)
1845 --enable-pnm use pnm images (PNM file format)
1846 --enable-xpm use xpm images (XPM file format)
1847 --enable-icocur use Windows ICO and CUR formats
1848 --enable-dccache cache temporary wxDC objects (Win32 only)
1849 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1850 --disable-largefile omit support for large files
1851 --disable-gtktest do not try to compile and run a test GTK+ program
1852 --disable-gtktest Do not try to compile and run a test GTK program
1853 --disable-sdltest Do not try to compile and run a test SDL program
1854 --enable-omf use OMF object format (OS/2)
1855 --disable-dependency-tracking
1856 don't use dependency tracking even if the compiler
1857 can
1858 --disable-precomp-headers
1859 don't use precompiled headers even if compiler can
1860
1861 Optional Packages:
1862 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1863 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1864 --without-subdirs don't generate makefiles for samples/demos/...
1865 --with-flavour=NAME specify a name to identify this build
1866 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1867 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1868 --with-motif use Motif/Lesstif
1869 --with-mac use Mac OS X
1870 --with-cocoa use Cocoa
1871 --with-wine use Wine
1872 --with-msw use MS-Windows
1873 --with-pm use OS/2 Presentation Manager
1874 --with-mgl use SciTech MGL
1875 --with-directfb use DirectFB
1876 --with-microwin use MicroWindows
1877 --with-x11 use X11
1878 --with-libpng use libpng (PNG image format)
1879 --with-libjpeg use libjpeg (JPEG file format)
1880 --with-libtiff use libtiff (TIFF file format)
1881 --with-libxpm use libxpm (XPM file format)
1882 --with-libmspack use libmspack (CHM help files loading)
1883 --without-gnomeprint don't use GNOME printing libraries
1884 --with-gnomevfs use GNOME VFS for associating MIME types
1885 --with-hildon use Hildon framework for Nokia 770
1886 --with-opengl use OpenGL (or Mesa)
1887 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1888 --with-sdl use SDL for audio on Unix
1889 --with-regex enable support for wxRegEx class
1890 --with-zlib use zlib for LZW compression
1891 --with-odbc use the IODBC and wxODBC classes
1892 --with-expat enable XML support using expat parser
1893 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1894 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1895 --with-x use the X Window System
1896 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1897 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1898 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1899 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1900 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1901
1902 Some influential environment variables:
1903 CC C compiler command
1904 CFLAGS C compiler flags
1905 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1906 nonstandard directory <lib dir>
1907 LIBS libraries to pass to the linker, e.g. -l<library>
1908 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1909 you have headers in a nonstandard directory <include dir>
1910 CPP C preprocessor
1911 CXX C++ compiler command
1912 CXXFLAGS C++ compiler flags
1913 PKG_CONFIG path to pkg-config utility
1914 DIRECTFB_CFLAGS
1915 C compiler flags for DIRECTFB, overriding pkg-config
1916 DIRECTFB_LIBS
1917 linker flags for DIRECTFB, overriding pkg-config
1918 XMKMF Path to xmkmf, Makefile generator for X Window System
1919 PANGOX_CFLAGS
1920 C compiler flags for PANGOX, overriding pkg-config
1921 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1922 PANGOFT2_CFLAGS
1923 C compiler flags for PANGOFT2, overriding pkg-config
1924 PANGOFT2_LIBS
1925 linker flags for PANGOFT2, overriding pkg-config
1926 PANGOXFT_CFLAGS
1927 C compiler flags for PANGOXFT, overriding pkg-config
1928 PANGOXFT_LIBS
1929 linker flags for PANGOXFT, overriding pkg-config
1930 LIBGNOMEPRINTUI_CFLAGS
1931 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1932 LIBGNOMEPRINTUI_LIBS
1933 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1934 GNOMEVFS_CFLAGS
1935 C compiler flags for GNOMEVFS, overriding pkg-config
1936 GNOMEVFS_LIBS
1937 linker flags for GNOMEVFS, overriding pkg-config
1938 HILDON_CFLAGS
1939 C compiler flags for HILDON, overriding pkg-config
1940 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1941 CAIRO_CFLAGS
1942 C compiler flags for CAIRO, overriding pkg-config
1943 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1944 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1945 GST_LIBS linker flags for GST, overriding pkg-config
1946
1947 Use these variables to override the choices made by `configure' or to help
1948 it to find libraries and programs with nonstandard names/locations.
1949
1950 Report bugs to <wx-dev@lists.wxwidgets.org>.
1951 _ACEOF
1952 ac_status=$?
1953 fi
1954
1955 if test "$ac_init_help" = "recursive"; then
1956 # If there are subdirs, report their specific --help.
1957 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1958 test -d "$ac_dir" || continue
1959 ac_builddir=.
1960
1961 case "$ac_dir" in
1962 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1963 *)
1964 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1965 # A ".." for each directory in $ac_dir_suffix.
1966 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1967 case $ac_top_builddir_sub in
1968 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1969 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1970 esac ;;
1971 esac
1972 ac_abs_top_builddir=$ac_pwd
1973 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1974 # for backward compatibility:
1975 ac_top_builddir=$ac_top_build_prefix
1976
1977 case $srcdir in
1978 .) # We are building in place.
1979 ac_srcdir=.
1980 ac_top_srcdir=$ac_top_builddir_sub
1981 ac_abs_top_srcdir=$ac_pwd ;;
1982 [\\/]* | ?:[\\/]* ) # Absolute name.
1983 ac_srcdir=$srcdir$ac_dir_suffix;
1984 ac_top_srcdir=$srcdir
1985 ac_abs_top_srcdir=$srcdir ;;
1986 *) # Relative name.
1987 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1988 ac_top_srcdir=$ac_top_build_prefix$srcdir
1989 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1990 esac
1991 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1992
1993 cd "$ac_dir" || { ac_status=$?; continue; }
1994 # Check for guested configure.
1995 if test -f "$ac_srcdir/configure.gnu"; then
1996 echo &&
1997 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1998 elif test -f "$ac_srcdir/configure"; then
1999 echo &&
2000 $SHELL "$ac_srcdir/configure" --help=recursive
2001 else
2002 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2003 fi || ac_status=$?
2004 cd "$ac_pwd" || { ac_status=$?; break; }
2005 done
2006 fi
2007
2008 test -n "$ac_init_help" && exit $ac_status
2009 if $ac_init_version; then
2010 cat <<\_ACEOF
2011 wxWidgets configure 2.9.0
2012 generated by GNU Autoconf 2.61
2013
2014 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2015 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2016 This configure script is free software; the Free Software Foundation
2017 gives unlimited permission to copy, distribute and modify it.
2018 _ACEOF
2019 exit
2020 fi
2021 cat >config.log <<_ACEOF
2022 This file contains any messages produced by compilers while
2023 running configure, to aid debugging if configure makes a mistake.
2024
2025 It was created by wxWidgets $as_me 2.9.0, which was
2026 generated by GNU Autoconf 2.61. Invocation command line was
2027
2028 $ $0 $@
2029
2030 _ACEOF
2031 exec 5>>config.log
2032 {
2033 cat <<_ASUNAME
2034 ## --------- ##
2035 ## Platform. ##
2036 ## --------- ##
2037
2038 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2039 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2040 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2041 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2042 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2043
2044 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2045 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2046
2047 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2048 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2049 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2050 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2051 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2052 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2053 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2054
2055 _ASUNAME
2056
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2059 do
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 echo "PATH: $as_dir"
2063 done
2064 IFS=$as_save_IFS
2065
2066 } >&5
2067
2068 cat >&5 <<_ACEOF
2069
2070
2071 ## ----------- ##
2072 ## Core tests. ##
2073 ## ----------- ##
2074
2075 _ACEOF
2076
2077
2078 # Keep a trace of the command line.
2079 # Strip out --no-create and --no-recursion so they do not pile up.
2080 # Strip out --silent because we don't want to record it for future runs.
2081 # Also quote any args containing shell meta-characters.
2082 # Make two passes to allow for proper duplicate-argument suppression.
2083 ac_configure_args=
2084 ac_configure_args0=
2085 ac_configure_args1=
2086 ac_must_keep_next=false
2087 for ac_pass in 1 2
2088 do
2089 for ac_arg
2090 do
2091 case $ac_arg in
2092 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2093 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2094 | -silent | --silent | --silen | --sile | --sil)
2095 continue ;;
2096 *\'*)
2097 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2098 esac
2099 case $ac_pass in
2100 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2101 2)
2102 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2103 if test $ac_must_keep_next = true; then
2104 ac_must_keep_next=false # Got value, back to normal.
2105 else
2106 case $ac_arg in
2107 *=* | --config-cache | -C | -disable-* | --disable-* \
2108 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2109 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2110 | -with-* | --with-* | -without-* | --without-* | --x)
2111 case "$ac_configure_args0 " in
2112 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2113 esac
2114 ;;
2115 -* ) ac_must_keep_next=true ;;
2116 esac
2117 fi
2118 ac_configure_args="$ac_configure_args '$ac_arg'"
2119 ;;
2120 esac
2121 done
2122 done
2123 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2124 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2125
2126 # When interrupted or exit'd, cleanup temporary files, and complete
2127 # config.log. We remove comments because anyway the quotes in there
2128 # would cause problems or look ugly.
2129 # WARNING: Use '\'' to represent an apostrophe within the trap.
2130 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2131 trap 'exit_status=$?
2132 # Save into config.log some information that might help in debugging.
2133 {
2134 echo
2135
2136 cat <<\_ASBOX
2137 ## ---------------- ##
2138 ## Cache variables. ##
2139 ## ---------------- ##
2140 _ASBOX
2141 echo
2142 # The following way of writing the cache mishandles newlines in values,
2143 (
2144 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2145 eval ac_val=\$$ac_var
2146 case $ac_val in #(
2147 *${as_nl}*)
2148 case $ac_var in #(
2149 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2150 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2151 esac
2152 case $ac_var in #(
2153 _ | IFS | as_nl) ;; #(
2154 *) $as_unset $ac_var ;;
2155 esac ;;
2156 esac
2157 done
2158 (set) 2>&1 |
2159 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2160 *${as_nl}ac_space=\ *)
2161 sed -n \
2162 "s/'\''/'\''\\\\'\'''\''/g;
2163 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2164 ;; #(
2165 *)
2166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2167 ;;
2168 esac |
2169 sort
2170 )
2171 echo
2172
2173 cat <<\_ASBOX
2174 ## ----------------- ##
2175 ## Output variables. ##
2176 ## ----------------- ##
2177 _ASBOX
2178 echo
2179 for ac_var in $ac_subst_vars
2180 do
2181 eval ac_val=\$$ac_var
2182 case $ac_val in
2183 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2184 esac
2185 echo "$ac_var='\''$ac_val'\''"
2186 done | sort
2187 echo
2188
2189 if test -n "$ac_subst_files"; then
2190 cat <<\_ASBOX
2191 ## ------------------- ##
2192 ## File substitutions. ##
2193 ## ------------------- ##
2194 _ASBOX
2195 echo
2196 for ac_var in $ac_subst_files
2197 do
2198 eval ac_val=\$$ac_var
2199 case $ac_val in
2200 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2201 esac
2202 echo "$ac_var='\''$ac_val'\''"
2203 done | sort
2204 echo
2205 fi
2206
2207 if test -s confdefs.h; then
2208 cat <<\_ASBOX
2209 ## ----------- ##
2210 ## confdefs.h. ##
2211 ## ----------- ##
2212 _ASBOX
2213 echo
2214 cat confdefs.h
2215 echo
2216 fi
2217 test "$ac_signal" != 0 &&
2218 echo "$as_me: caught signal $ac_signal"
2219 echo "$as_me: exit $exit_status"
2220 } >&5
2221 rm -f core *.core core.conftest.* &&
2222 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2223 exit $exit_status
2224 ' 0
2225 for ac_signal in 1 2 13 15; do
2226 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2227 done
2228 ac_signal=0
2229
2230 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2231 rm -f -r conftest* confdefs.h
2232
2233 # Predefined preprocessor variables.
2234
2235 cat >>confdefs.h <<_ACEOF
2236 #define PACKAGE_NAME "$PACKAGE_NAME"
2237 _ACEOF
2238
2239
2240 cat >>confdefs.h <<_ACEOF
2241 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2242 _ACEOF
2243
2244
2245 cat >>confdefs.h <<_ACEOF
2246 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2247 _ACEOF
2248
2249
2250 cat >>confdefs.h <<_ACEOF
2251 #define PACKAGE_STRING "$PACKAGE_STRING"
2252 _ACEOF
2253
2254
2255 cat >>confdefs.h <<_ACEOF
2256 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2257 _ACEOF
2258
2259
2260 # Let the site file select an alternate cache file if it wants to.
2261 # Prefer explicitly selected file to automatically selected ones.
2262 if test -n "$CONFIG_SITE"; then
2263 set x "$CONFIG_SITE"
2264 elif test "x$prefix" != xNONE; then
2265 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2266 else
2267 set x "$ac_default_prefix/share/config.site" \
2268 "$ac_default_prefix/etc/config.site"
2269 fi
2270 shift
2271 for ac_site_file
2272 do
2273 if test -r "$ac_site_file"; then
2274 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2275 echo "$as_me: loading site script $ac_site_file" >&6;}
2276 sed 's/^/| /' "$ac_site_file" >&5
2277 . "$ac_site_file"
2278 fi
2279 done
2280
2281 if test -r "$cache_file"; then
2282 # Some versions of bash will fail to source /dev/null (special
2283 # files actually), so we avoid doing that.
2284 if test -f "$cache_file"; then
2285 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2286 echo "$as_me: loading cache $cache_file" >&6;}
2287 case $cache_file in
2288 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2289 *) . "./$cache_file";;
2290 esac
2291 fi
2292 else
2293 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2294 echo "$as_me: creating cache $cache_file" >&6;}
2295 >$cache_file
2296 fi
2297
2298 # Check that the precious variables saved in the cache have kept the same
2299 # value.
2300 ac_cache_corrupted=false
2301 for ac_var in $ac_precious_vars; do
2302 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2303 eval ac_new_set=\$ac_env_${ac_var}_set
2304 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2305 eval ac_new_val=\$ac_env_${ac_var}_value
2306 case $ac_old_set,$ac_new_set in
2307 set,)
2308 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2309 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2310 ac_cache_corrupted=: ;;
2311 ,set)
2312 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2313 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2314 ac_cache_corrupted=: ;;
2315 ,);;
2316 *)
2317 if test "x$ac_old_val" != "x$ac_new_val"; then
2318 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2319 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2320 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2321 echo "$as_me: former value: $ac_old_val" >&2;}
2322 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2323 echo "$as_me: current value: $ac_new_val" >&2;}
2324 ac_cache_corrupted=:
2325 fi;;
2326 esac
2327 # Pass precious variables to config.status.
2328 if test "$ac_new_set" = set; then
2329 case $ac_new_val in
2330 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2331 *) ac_arg=$ac_var=$ac_new_val ;;
2332 esac
2333 case " $ac_configure_args " in
2334 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2335 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2336 esac
2337 fi
2338 done
2339 if $ac_cache_corrupted; then
2340 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2341 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2342 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2343 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2344 { (exit 1); exit 1; }; }
2345 fi
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371 ac_ext=c
2372 ac_cpp='$CPP $CPPFLAGS'
2373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2376
2377
2378
2379
2380
2381 ac_aux_dir=
2382 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2383 if test -f "$ac_dir/install-sh"; then
2384 ac_aux_dir=$ac_dir
2385 ac_install_sh="$ac_aux_dir/install-sh -c"
2386 break
2387 elif test -f "$ac_dir/install.sh"; then
2388 ac_aux_dir=$ac_dir
2389 ac_install_sh="$ac_aux_dir/install.sh -c"
2390 break
2391 elif test -f "$ac_dir/shtool"; then
2392 ac_aux_dir=$ac_dir
2393 ac_install_sh="$ac_aux_dir/shtool install -c"
2394 break
2395 fi
2396 done
2397 if test -z "$ac_aux_dir"; then
2398 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2399 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2400 { (exit 1); exit 1; }; }
2401 fi
2402
2403 # These three variables are undocumented and unsupported,
2404 # and are intended to be withdrawn in a future Autoconf release.
2405 # They can cause serious problems if a builder's source tree is in a directory
2406 # whose full name contains unusual characters.
2407 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2408 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2409 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2410
2411
2412 # Make sure we can run config.sub.
2413 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2414 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2415 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2416 { (exit 1); exit 1; }; }
2417
2418 { echo "$as_me:$LINENO: checking build system type" >&5
2419 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2420 if test "${ac_cv_build+set}" = set; then
2421 echo $ECHO_N "(cached) $ECHO_C" >&6
2422 else
2423 ac_build_alias=$build_alias
2424 test "x$ac_build_alias" = x &&
2425 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2426 test "x$ac_build_alias" = x &&
2427 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2428 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2429 { (exit 1); exit 1; }; }
2430 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2431 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2432 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2433 { (exit 1); exit 1; }; }
2434
2435 fi
2436 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2437 echo "${ECHO_T}$ac_cv_build" >&6; }
2438 case $ac_cv_build in
2439 *-*-*) ;;
2440 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2441 echo "$as_me: error: invalid value of canonical build" >&2;}
2442 { (exit 1); exit 1; }; };;
2443 esac
2444 build=$ac_cv_build
2445 ac_save_IFS=$IFS; IFS='-'
2446 set x $ac_cv_build
2447 shift
2448 build_cpu=$1
2449 build_vendor=$2
2450 shift; shift
2451 # Remember, the first character of IFS is used to create $*,
2452 # except with old shells:
2453 build_os=$*
2454 IFS=$ac_save_IFS
2455 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2456
2457
2458 { echo "$as_me:$LINENO: checking host system type" >&5
2459 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2460 if test "${ac_cv_host+set}" = set; then
2461 echo $ECHO_N "(cached) $ECHO_C" >&6
2462 else
2463 if test "x$host_alias" = x; then
2464 ac_cv_host=$ac_cv_build
2465 else
2466 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2467 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2468 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2469 { (exit 1); exit 1; }; }
2470 fi
2471
2472 fi
2473 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2474 echo "${ECHO_T}$ac_cv_host" >&6; }
2475 case $ac_cv_host in
2476 *-*-*) ;;
2477 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2478 echo "$as_me: error: invalid value of canonical host" >&2;}
2479 { (exit 1); exit 1; }; };;
2480 esac
2481 host=$ac_cv_host
2482 ac_save_IFS=$IFS; IFS='-'
2483 set x $ac_cv_host
2484 shift
2485 host_cpu=$1
2486 host_vendor=$2
2487 shift; shift
2488 # Remember, the first character of IFS is used to create $*,
2489 # except with old shells:
2490 host_os=$*
2491 IFS=$ac_save_IFS
2492 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2493
2494
2495 { echo "$as_me:$LINENO: checking target system type" >&5
2496 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2497 if test "${ac_cv_target+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2499 else
2500 if test "x$target_alias" = x; then
2501 ac_cv_target=$ac_cv_host
2502 else
2503 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2504 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2505 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2506 { (exit 1); exit 1; }; }
2507 fi
2508
2509 fi
2510 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2511 echo "${ECHO_T}$ac_cv_target" >&6; }
2512 case $ac_cv_target in
2513 *-*-*) ;;
2514 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2515 echo "$as_me: error: invalid value of canonical target" >&2;}
2516 { (exit 1); exit 1; }; };;
2517 esac
2518 target=$ac_cv_target
2519 ac_save_IFS=$IFS; IFS='-'
2520 set x $ac_cv_target
2521 shift
2522 target_cpu=$1
2523 target_vendor=$2
2524 shift; shift
2525 # Remember, the first character of IFS is used to create $*,
2526 # except with old shells:
2527 target_os=$*
2528 IFS=$ac_save_IFS
2529 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2530
2531
2532 # The aliases save the names the user supplied, while $host etc.
2533 # will get canonicalized.
2534 test -n "$target_alias" &&
2535 test "$program_prefix$program_suffix$program_transform_name" = \
2536 NONENONEs,x,x, &&
2537 program_prefix=${target_alias}-
2538
2539
2540
2541 wx_major_version_number=2
2542 wx_minor_version_number=9
2543 wx_release_number=0
2544 wx_subrelease_number=0
2545
2546 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2547 WX_VERSION=$WX_RELEASE.$wx_release_number
2548 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2549
2550 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2551
2552
2553 wx_top_builddir="`pwd`"
2554
2555
2556
2557
2558 USE_UNIX=1
2559 USE_OS2=0
2560 USE_WIN32=0
2561 USE_DOS=0
2562 USE_BEOS=0
2563 USE_MAC=0
2564
2565 USE_AIX=
2566 USE_BSD= USE_DARWIN= USE_FREEBSD=
2567 USE_GNU= USE_HPUX=
2568 USE_LINUX=
2569 USE_NETBSD=
2570 USE_OPENBSD=
2571 USE_OSF= USE_SGI=
2572 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2573 USE_ULTRIX=
2574 USE_UNIXWARE=
2575
2576 USE_ALPHA=
2577
2578 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2579
2580 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2581
2582 DEFAULT_wxUSE_COCOA=0
2583 DEFAULT_wxUSE_GTK=0
2584 DEFAULT_wxUSE_MAC=0
2585 DEFAULT_wxUSE_MGL=0
2586 DEFAULT_wxUSE_MICROWIN=0
2587 DEFAULT_wxUSE_MOTIF=0
2588 DEFAULT_wxUSE_MSW=0
2589 DEFAULT_wxUSE_PM=0
2590 DEFAULT_wxUSE_X11=0
2591 DEFAULT_wxUSE_DFB=0
2592
2593 DEFAULT_DEFAULT_wxUSE_COCOA=0
2594 DEFAULT_DEFAULT_wxUSE_GTK=0
2595 DEFAULT_DEFAULT_wxUSE_MAC=0
2596 DEFAULT_DEFAULT_wxUSE_MGL=0
2597 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2598 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2599 DEFAULT_DEFAULT_wxUSE_MSW=0
2600 DEFAULT_DEFAULT_wxUSE_PM=0
2601 DEFAULT_DEFAULT_wxUSE_X11=0
2602 DEFAULT_DEFAULT_wxUSE_DFB=0
2603
2604 PROGRAM_EXT=
2605 SO_SUFFIX=so
2606 SAMPLES_RPATH_FLAG=
2607 SAMPLES_RPATH_POSTLINK=
2608
2609 DEFAULT_STD_FLAG=yes
2610
2611 case "${host}" in
2612 *-hp-hpux* )
2613 USE_HPUX=1
2614 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2615 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2616 SO_SUFFIX=sl
2617 cat >>confdefs.h <<\_ACEOF
2618 #define __HPUX__ 1
2619 _ACEOF
2620
2621
2622 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2623 ;;
2624 *-*-linux* )
2625 USE_LINUX=1
2626 cat >>confdefs.h <<\_ACEOF
2627 #define __LINUX__ 1
2628 _ACEOF
2629
2630 TMP=`uname -m`
2631 if test "x$TMP" = "xalpha"; then
2632 USE_ALPHA=1
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __ALPHA__ 1
2635 _ACEOF
2636
2637 fi
2638 DEFAULT_DEFAULT_wxUSE_GTK=1
2639 ;;
2640 *-*-gnu* | *-*-k*bsd*-gnu )
2641 USE_GNU=1
2642 TMP=`uname -m`
2643 if test "x$TMP" = "xalpha"; then
2644 USE_ALPHA=1
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __ALPHA__ 1
2647 _ACEOF
2648
2649 fi
2650 DEFAULT_DEFAULT_wxUSE_GTK=1
2651 ;;
2652 *-*-irix5* | *-*-irix6* )
2653 USE_SGI=1
2654 USE_SVR4=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __SGI__ 1
2657 _ACEOF
2658
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SVR4__ 1
2661 _ACEOF
2662
2663 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2664 ;;
2665 *-*-solaris2* )
2666 USE_SUN=1
2667 USE_SOLARIS=1
2668 USE_SVR4=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __SUN__ 1
2671 _ACEOF
2672
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SOLARIS__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __SVR4__ 1
2679 _ACEOF
2680
2681 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2682 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2683 ;;
2684 *-*-sunos4* )
2685 USE_SUN=1
2686 USE_SUNOS=1
2687 USE_BSD=1
2688 cat >>confdefs.h <<\_ACEOF
2689 #define __SUN__ 1
2690 _ACEOF
2691
2692 cat >>confdefs.h <<\_ACEOF
2693 #define __SUNOS__ 1
2694 _ACEOF
2695
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __BSD__ 1
2698 _ACEOF
2699
2700 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2701 ;;
2702 *-*-freebsd*)
2703 USE_BSD=1
2704 USE_FREEBSD=1
2705 cat >>confdefs.h <<\_ACEOF
2706 #define __FREEBSD__ 1
2707 _ACEOF
2708
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __BSD__ 1
2711 _ACEOF
2712
2713 DEFAULT_DEFAULT_wxUSE_GTK=1
2714 ;;
2715 *-*-openbsd*|*-*-mirbsd*)
2716 USE_BSD=1
2717 USE_OPENBSD=1
2718 cat >>confdefs.h <<\_ACEOF
2719 #define __OPENBSD__ 1
2720 _ACEOF
2721
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __BSD__ 1
2724 _ACEOF
2725
2726 DEFAULT_DEFAULT_wxUSE_GTK=1
2727 ;;
2728 *-*-netbsd*)
2729 USE_BSD=1
2730 USE_NETBSD=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __NETBSD__ 1
2733 _ACEOF
2734
2735 cat >>confdefs.h <<\_ACEOF
2736 #define __BSD__ 1
2737 _ACEOF
2738
2739 DEFAULT_DEFAULT_wxUSE_GTK=1
2740 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2741
2742 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2743 ;;
2744 *-*-osf* )
2745 USE_ALPHA=1
2746 USE_OSF=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __ALPHA__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __OSF__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2757 ;;
2758 *-*-dgux5* )
2759 USE_ALPHA=1
2760 USE_SVR4=1
2761 cat >>confdefs.h <<\_ACEOF
2762 #define __ALPHA__ 1
2763 _ACEOF
2764
2765 cat >>confdefs.h <<\_ACEOF
2766 #define __SVR4__ 1
2767 _ACEOF
2768
2769 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2770 ;;
2771 *-*-sysv5* )
2772 USE_SYSV=1
2773 USE_SVR4=1
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SYSV__ 1
2776 _ACEOF
2777
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __SVR4__ 1
2780 _ACEOF
2781
2782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2783 ;;
2784 *-*-aix* )
2785 USE_AIX=1
2786 USE_SYSV=1
2787 USE_SVR4=1
2788 SO_SUFFIX=a
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __AIX__ 1
2791 _ACEOF
2792
2793 cat >>confdefs.h <<\_ACEOF
2794 #define __SYSV__ 1
2795 _ACEOF
2796
2797 cat >>confdefs.h <<\_ACEOF
2798 #define __SVR4__ 1
2799 _ACEOF
2800
2801 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2802 ;;
2803
2804 *-*-*UnixWare*)
2805 USE_SYSV=1
2806 USE_SVR4=1
2807 USE_UNIXWARE=1
2808 cat >>confdefs.h <<\_ACEOF
2809 #define __UNIXWARE__ 1
2810 _ACEOF
2811
2812 ;;
2813
2814 *-*-cygwin* | *-*-mingw32* )
2815 SO_SUFFIX=dll
2816 PROGRAM_EXT=".exe"
2817 DEFAULT_DEFAULT_wxUSE_MSW=1
2818 ;;
2819
2820 *-pc-msdosdjgpp )
2821 USE_UNIX=0
2822 USE_DOS=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __DOS__ 1
2825 _ACEOF
2826
2827 PROGRAM_EXT=".exe"
2828 DEFAULT_DEFAULT_wxUSE_MGL=1
2829 ;;
2830
2831 *-pc-os2_emx | *-pc-os2-emx )
2832 cat >>confdefs.h <<\_ACEOF
2833 #define __EMX__ 1
2834 _ACEOF
2835
2836 USE_OS2=1
2837 cat >>confdefs.h <<\_ACEOF
2838 #define __OS2__ 1
2839 _ACEOF
2840
2841 PROGRAM_EXT=".exe"
2842 DEFAULT_DEFAULT_wxUSE_PM=1
2843 CXX=gcc
2844 LDFLAGS="$LDFLAGS -Zcrtdll"
2845 ac_executable_extensions=".exe"
2846 export ac_executable_extensions
2847 ac_save_IFS="$IFS"
2848 IFS='\\'
2849 ac_TEMP_PATH=
2850 for ac_dir in $PATH; do
2851 IFS=$ac_save_IFS
2852 if test -z "$ac_TEMP_PATH"; then
2853 ac_TEMP_PATH="$ac_dir"
2854 else
2855 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2856 fi
2857 done
2858 export PATH="$ac_TEMP_PATH"
2859 unset ac_TEMP_PATH
2860 DEFAULT_STD_FLAG=no
2861 ;;
2862
2863 *-*-darwin* )
2864 USE_BSD=1
2865 USE_DARWIN=1
2866 SO_SUFFIX=dylib
2867 cat >>confdefs.h <<\_ACEOF
2868 #define __BSD__ 1
2869 _ACEOF
2870
2871 cat >>confdefs.h <<\_ACEOF
2872 #define __DARWIN__ 1
2873 _ACEOF
2874
2875 cat >>confdefs.h <<\_ACEOF
2876 #define TARGET_CARBON 1
2877 _ACEOF
2878
2879 DEFAULT_DEFAULT_wxUSE_MAC=1
2880 DEFAULT_STD_FLAG=no
2881 ;;
2882 powerpc-apple-macos* )
2883 USE_UNIX=0
2884 ac_cv_c_bigendian=yes
2885 SO_SUFFIX=shlib
2886 DEFAULT_DEFAULT_wxUSE_MAC=1
2887 DEFAULT_STD_FLAG=no
2888 ;;
2889
2890 *-*-beos* )
2891 USE_BEOS=1
2892 cat >>confdefs.h <<\_ACEOF
2893 #define __BEOS__ 1
2894 _ACEOF
2895
2896 ;;
2897
2898 *)
2899 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2900 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2901 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2902 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2903
2904 DEFAULT_DEFAULT_wxUSE_X11=1
2905 DEFAULT_wxUSE_SHARED=no
2906 esac
2907
2908
2909
2910
2911 wx_arg_cache_file="configarg.cache"
2912 echo "loading argument cache $wx_arg_cache_file"
2913 rm -f ${wx_arg_cache_file}.tmp
2914 touch ${wx_arg_cache_file}.tmp
2915 touch ${wx_arg_cache_file}
2916
2917
2918 DEFAULT_wxUSE_ALL_FEATURES=yes
2919
2920 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2921 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2922
2923 DEFAULT_wxUSE_DMALLOC=no
2924 DEFAULT_wxUSE_LIBGNOMEVFS=no
2925 DEFAULT_wxUSE_LIBHILDON=no
2926 DEFAULT_wxUSE_LIBMSPACK=no
2927 DEFAULT_wxUSE_LIBSDL=no
2928 DEFAULT_wxUSE_ODBC=no
2929 DEFAULT_wxUSE_OPENGL=no
2930
2931 DEFAULT_wxUSE_ACCESSIBILITY=no
2932 DEFAULT_wxUSE_DATAVIEWCTRL=no
2933 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2934 DEFAULT_wxUSE_MEDIACTRL=no
2935 DEFAULT_wxUSE_TAB_DIALOG=no
2936
2937 DEFAULT_wxUSE_UNICODE_UTF8=auto
2938 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2939
2940 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2941
2942 DEFAULT_wxUSE_GTK2=yes
2943
2944 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2945
2946
2947 for toolkit in `echo $ALL_TOOLKITS`; do
2948 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2949 if test "x$LINE" != "x" ; then
2950 has_toolkit_in_cache=1
2951 eval "DEFAULT_$LINE"
2952 eval "CACHE_$toolkit=1"
2953
2954 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2955 if test "x$LINE" != "x" ; then
2956 eval "DEFAULT_$LINE"
2957 fi
2958 fi
2959 done
2960
2961
2962
2963
2964
2965 enablestring=disable
2966 defaultval=
2967 if test -z "$defaultval"; then
2968 if test x"$enablestring" = xdisable; then
2969 defaultval=yes
2970 else
2971 defaultval=no
2972 fi
2973 fi
2974
2975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2976 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2977 no_cache=0
2978 # Check whether --enable-gui was given.
2979 if test "${enable_gui+set}" = set; then
2980 enableval=$enable_gui;
2981 if test "$enableval" = yes; then
2982 wx_cv_use_gui='wxUSE_GUI=yes'
2983 else
2984 wx_cv_use_gui='wxUSE_GUI=no'
2985 fi
2986
2987 else
2988
2989 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
2990 if test "x$LINE" != x ; then
2991 eval "DEFAULT_$LINE"
2992 else
2993 no_cache=1
2994 fi
2995
2996 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2997
2998 fi
2999
3000
3001 eval "$wx_cv_use_gui"
3002 if test "$no_cache" != 1; then
3003 echo $wx_cv_use_gui >> ${wx_arg_cache_file}.tmp
3004 fi
3005
3006 if test x"$enablestring" = xdisable; then
3007 if test $wxUSE_GUI = yes; then
3008 result=no
3009 else
3010 result=yes
3011 fi
3012 else
3013 result=$wxUSE_GUI
3014 fi
3015
3016 { echo "$as_me:$LINENO: result: $result" >&5
3017 echo "${ECHO_T}$result" >&6; }
3018
3019
3020 enablestring=
3021 defaultval=
3022 if test -z "$defaultval"; then
3023 if test x"$enablestring" = xdisable; then
3024 defaultval=yes
3025 else
3026 defaultval=no
3027 fi
3028 fi
3029
3030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3031 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3032 no_cache=0
3033 # Check whether --enable-monolithic was given.
3034 if test "${enable_monolithic+set}" = set; then
3035 enableval=$enable_monolithic;
3036 if test "$enableval" = yes; then
3037 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3038 else
3039 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3040 fi
3041
3042 else
3043
3044 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3045 if test "x$LINE" != x ; then
3046 eval "DEFAULT_$LINE"
3047 else
3048 no_cache=1
3049 fi
3050
3051 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3052
3053 fi
3054
3055
3056 eval "$wx_cv_use_monolithic"
3057 if test "$no_cache" != 1; then
3058 echo $wx_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3059 fi
3060
3061 if test x"$enablestring" = xdisable; then
3062 if test $wxUSE_MONOLITHIC = yes; then
3063 result=no
3064 else
3065 result=yes
3066 fi
3067 else
3068 result=$wxUSE_MONOLITHIC
3069 fi
3070
3071 { echo "$as_me:$LINENO: result: $result" >&5
3072 echo "${ECHO_T}$result" >&6; }
3073
3074
3075 enablestring=
3076 defaultval=
3077 if test -z "$defaultval"; then
3078 if test x"$enablestring" = xdisable; then
3079 defaultval=yes
3080 else
3081 defaultval=no
3082 fi
3083 fi
3084
3085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3086 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3087 no_cache=0
3088 # Check whether --enable-plugins was given.
3089 if test "${enable_plugins+set}" = set; then
3090 enableval=$enable_plugins;
3091 if test "$enableval" = yes; then
3092 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3093 else
3094 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3095 fi
3096
3097 else
3098
3099 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x ; then
3101 eval "DEFAULT_$LINE"
3102 else
3103 no_cache=1
3104 fi
3105
3106 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3107
3108 fi
3109
3110
3111 eval "$wx_cv_use_plugins"
3112 if test "$no_cache" != 1; then
3113 echo $wx_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3114 fi
3115
3116 if test x"$enablestring" = xdisable; then
3117 if test $wxUSE_PLUGINS = yes; then
3118 result=no
3119 else
3120 result=yes
3121 fi
3122 else
3123 result=$wxUSE_PLUGINS
3124 fi
3125
3126 { echo "$as_me:$LINENO: result: $result" >&5
3127 echo "${ECHO_T}$result" >&6; }
3128
3129
3130 withstring=without
3131 defaultval=$wxUSE_ALL_FEATURES
3132 if test -z "$defaultval"; then
3133 if test x"$withstring" = xwithout; then
3134 defaultval=yes
3135 else
3136 defaultval=no
3137 fi
3138 fi
3139 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3140 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3141 no_cache=0
3142
3143 # Check whether --with-subdirs was given.
3144 if test "${with_subdirs+set}" = set; then
3145 withval=$with_subdirs;
3146 if test "$withval" = yes; then
3147 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3148 else
3149 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3150 fi
3151
3152 else
3153
3154 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3162
3163 fi
3164
3165
3166 eval "$wx_cv_use_subdirs"
3167 if test "$no_cache" != 1; then
3168 echo $wx_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3169 fi
3170
3171 if test x"$withstring" = xwithout; then
3172 if test $wxWITH_SUBDIRS = yes; then
3173 result=no
3174 else
3175 result=yes
3176 fi
3177 else
3178 result=$wxWITH_SUBDIRS
3179 fi
3180
3181 { echo "$as_me:$LINENO: result: $result" >&5
3182 echo "${ECHO_T}$result" >&6; }
3183
3184
3185 # Check whether --with-flavour was given.
3186 if test "${with_flavour+set}" = set; then
3187 withval=$with_flavour; WX_FLAVOUR="$withval"
3188 fi
3189
3190
3191 enablestring=
3192 defaultval=
3193 if test -z "$defaultval"; then
3194 if test x"$enablestring" = xdisable; then
3195 defaultval=yes
3196 else
3197 defaultval=no
3198 fi
3199 fi
3200
3201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3202 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3203 no_cache=0
3204 # Check whether --enable-official_build was given.
3205 if test "${enable_official_build+set}" = set; then
3206 enableval=$enable_official_build;
3207 if test "$enableval" = yes; then
3208 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3209 else
3210 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3211 fi
3212
3213 else
3214
3215 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
3216 if test "x$LINE" != x ; then
3217 eval "DEFAULT_$LINE"
3218 else
3219 no_cache=1
3220 fi
3221
3222 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3223
3224 fi
3225
3226
3227 eval "$wx_cv_use_official_build"
3228 if test "$no_cache" != 1; then
3229 echo $wx_cv_use_official_build >> ${wx_arg_cache_file}.tmp
3230 fi
3231
3232 if test x"$enablestring" = xdisable; then
3233 if test $wxUSE_OFFICIAL_BUILD = yes; then
3234 result=no
3235 else
3236 result=yes
3237 fi
3238 else
3239 result=$wxUSE_OFFICIAL_BUILD
3240 fi
3241
3242 { echo "$as_me:$LINENO: result: $result" >&5
3243 echo "${ECHO_T}$result" >&6; }
3244
3245 # Check whether --enable-vendor was given.
3246 if test "${enable_vendor+set}" = set; then
3247 enableval=$enable_vendor; VENDOR="$enableval"
3248 fi
3249
3250 if test "x$VENDOR" = "x"; then
3251 VENDOR="custom"
3252 fi
3253
3254
3255 enablestring=disable
3256 defaultval=
3257 if test -z "$defaultval"; then
3258 if test x"$enablestring" = xdisable; then
3259 defaultval=yes
3260 else
3261 defaultval=no
3262 fi
3263 fi
3264
3265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3266 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3267 no_cache=0
3268 # Check whether --enable-all-features was given.
3269 if test "${enable_all_features+set}" = set; then
3270 enableval=$enable_all_features;
3271 if test "$enableval" = yes; then
3272 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3273 else
3274 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3275 fi
3276
3277 else
3278
3279 LINE=`grep "^wxUSE_ALL_FEATURES=" ${wx_arg_cache_file}`
3280 if test "x$LINE" != x ; then
3281 eval "DEFAULT_$LINE"
3282 else
3283 no_cache=1
3284 fi
3285
3286 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3287
3288 fi
3289
3290
3291 eval "$wx_cv_use_all_features"
3292 if test "$no_cache" != 1; then
3293 echo $wx_cv_use_all_features >> ${wx_arg_cache_file}.tmp
3294 fi
3295
3296 if test x"$enablestring" = xdisable; then
3297 if test $wxUSE_ALL_FEATURES = yes; then
3298 result=no
3299 else
3300 result=yes
3301 fi
3302 else
3303 result=$wxUSE_ALL_FEATURES
3304 fi
3305
3306 { echo "$as_me:$LINENO: result: $result" >&5
3307 echo "${ECHO_T}$result" >&6; }
3308
3309
3310
3311 if test "$wxUSE_GUI" = "yes"; then
3312
3313
3314 enablestring=
3315 defaultval=
3316 if test -z "$defaultval"; then
3317 if test x"$enablestring" = xdisable; then
3318 defaultval=yes
3319 else
3320 defaultval=no
3321 fi
3322 fi
3323
3324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3325 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3326 no_cache=0
3327 # Check whether --enable-universal was given.
3328 if test "${enable_universal+set}" = set; then
3329 enableval=$enable_universal;
3330 if test "$enableval" = yes; then
3331 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3332 else
3333 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3334 fi
3335
3336 else
3337
3338 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3339 if test "x$LINE" != x ; then
3340 eval "DEFAULT_$LINE"
3341 else
3342 no_cache=1
3343 fi
3344
3345 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3346
3347 fi
3348
3349
3350 eval "$wx_cv_use_universal"
3351 if test "$no_cache" != 1; then
3352 echo $wx_cv_use_universal >> ${wx_arg_cache_file}.tmp
3353 fi
3354
3355 if test x"$enablestring" = xdisable; then
3356 if test $wxUSE_UNIVERSAL = yes; then
3357 result=no
3358 else
3359 result=yes
3360 fi
3361 else
3362 result=$wxUSE_UNIVERSAL
3363 fi
3364
3365 { echo "$as_me:$LINENO: result: $result" >&5
3366 echo "${ECHO_T}$result" >&6; }
3367
3368 if test "$wxUSE_UNIVERSAL" = "yes"; then
3369
3370 # Check whether --with-themes was given.
3371 if test "${with_themes+set}" = set; then
3372 withval=$with_themes; wxUNIV_THEMES="$withval"
3373 fi
3374
3375 fi
3376
3377
3378 # Check whether --with-gtk was given.
3379 if test "${with_gtk+set}" = set; then
3380 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3381 fi
3382
3383
3384 # Check whether --with-motif was given.
3385 if test "${with_motif+set}" = set; then
3386 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3387 fi
3388
3389
3390 # Check whether --with-mac was given.
3391 if test "${with_mac+set}" = set; then
3392 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3393 fi
3394
3395
3396 # Check whether --with-cocoa was given.
3397 if test "${with_cocoa+set}" = set; then
3398 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3399 fi
3400
3401
3402 # Check whether --with-wine was given.
3403 if test "${with_wine+set}" = set; then
3404 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3405 fi
3406
3407
3408 # Check whether --with-msw was given.
3409 if test "${with_msw+set}" = set; then
3410 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3411 fi
3412
3413
3414 # Check whether --with-pm was given.
3415 if test "${with_pm+set}" = set; then
3416 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3417 fi
3418
3419
3420 # Check whether --with-mgl was given.
3421 if test "${with_mgl+set}" = set; then
3422 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3423 fi
3424
3425
3426 # Check whether --with-directfb was given.
3427 if test "${with_directfb+set}" = set; then
3428 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3429 fi
3430
3431
3432 # Check whether --with-microwin was given.
3433 if test "${with_microwin+set}" = set; then
3434 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3435 fi
3436
3437
3438 # Check whether --with-x11 was given.
3439 if test "${with_x11+set}" = set; then
3440 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3441 fi
3442
3443
3444 enablestring=
3445 defaultval=
3446 if test -z "$defaultval"; then
3447 if test x"$enablestring" = xdisable; then
3448 defaultval=yes
3449 else
3450 defaultval=no
3451 fi
3452 fi
3453
3454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3455 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3456 no_cache=0
3457 # Check whether --enable-nanox was given.
3458 if test "${enable_nanox+set}" = set; then
3459 enableval=$enable_nanox;
3460 if test "$enableval" = yes; then
3461 wx_cv_use_nanox='wxUSE_NANOX=yes'
3462 else
3463 wx_cv_use_nanox='wxUSE_NANOX=no'
3464 fi
3465
3466 else
3467
3468 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x ; then
3470 eval "DEFAULT_$LINE"
3471 else
3472 no_cache=1
3473 fi
3474
3475 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3476
3477 fi
3478
3479
3480 eval "$wx_cv_use_nanox"
3481 if test "$no_cache" != 1; then
3482 echo $wx_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3483 fi
3484
3485 if test x"$enablestring" = xdisable; then
3486 if test $wxUSE_NANOX = yes; then
3487 result=no
3488 else
3489 result=yes
3490 fi
3491 else
3492 result=$wxUSE_NANOX
3493 fi
3494
3495 { echo "$as_me:$LINENO: result: $result" >&5
3496 echo "${ECHO_T}$result" >&6; }
3497
3498
3499 # Check whether --enable-gtk2 was given.
3500 if test "${enable_gtk2+set}" = set; then
3501 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3502 fi
3503
3504
3505 enablestring=
3506 defaultval=
3507 if test -z "$defaultval"; then
3508 if test x"$enablestring" = xdisable; then
3509 defaultval=yes
3510 else
3511 defaultval=no
3512 fi
3513 fi
3514
3515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3516 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3517 no_cache=0
3518 # Check whether --enable-gpe was given.
3519 if test "${enable_gpe+set}" = set; then
3520 enableval=$enable_gpe;
3521 if test "$enableval" = yes; then
3522 wx_cv_use_gpe='wxUSE_GPE=yes'
3523 else
3524 wx_cv_use_gpe='wxUSE_GPE=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3537
3538 fi
3539
3540
3541 eval "$wx_cv_use_gpe"
3542 if test "$no_cache" != 1; then
3543 echo $wx_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3544 fi
3545
3546 if test x"$enablestring" = xdisable; then
3547 if test $wxUSE_GPE = yes; then
3548 result=no
3549 else
3550 result=yes
3551 fi
3552 else
3553 result=$wxUSE_GPE
3554 fi
3555
3556 { echo "$as_me:$LINENO: result: $result" >&5
3557 echo "${ECHO_T}$result" >&6; }
3558
3559
3560
3561
3562 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3563 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3564 no_cache=0
3565
3566 # Check whether --with-libpng was given.
3567 if test "${with_libpng+set}" = set; then
3568 withval=$with_libpng;
3569 if test "$withval" = yes; then
3570 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3571 elif test "$withval" = no; then
3572 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3573 elif test "$withval" = sys; then
3574 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3575 elif test "$withval" = builtin; then
3576 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3577 else
3578 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3579 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3580 { (exit 1); exit 1; }; }
3581 fi
3582
3583 else
3584
3585 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3586 if test "x$LINE" != x ; then
3587 eval "DEFAULT_$LINE"
3588 else
3589 no_cache=1
3590 fi
3591
3592 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3593
3594 fi
3595
3596
3597 eval "$wx_cv_use_libpng"
3598 if test "$no_cache" != 1; then
3599 echo $wx_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3600 fi
3601
3602 if test "$wxUSE_LIBPNG" = yes; then
3603 { echo "$as_me:$LINENO: result: yes" >&5
3604 echo "${ECHO_T}yes" >&6; }
3605 elif test "$wxUSE_LIBPNG" = no; then
3606 { echo "$as_me:$LINENO: result: no" >&5
3607 echo "${ECHO_T}no" >&6; }
3608 elif test "$wxUSE_LIBPNG" = sys; then
3609 { echo "$as_me:$LINENO: result: system version" >&5
3610 echo "${ECHO_T}system version" >&6; }
3611 elif test "$wxUSE_LIBPNG" = builtin; then
3612 { echo "$as_me:$LINENO: result: builtin version" >&5
3613 echo "${ECHO_T}builtin version" >&6; }
3614 else
3615 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3616 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3617 { (exit 1); exit 1; }; }
3618 fi
3619
3620
3621 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3622 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3623 no_cache=0
3624
3625 # Check whether --with-libjpeg was given.
3626 if test "${with_libjpeg+set}" = set; then
3627 withval=$with_libjpeg;
3628 if test "$withval" = yes; then
3629 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3630 elif test "$withval" = no; then
3631 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3632 elif test "$withval" = sys; then
3633 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3634 elif test "$withval" = builtin; then
3635 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3636 else
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3640 fi
3641
3642 else
3643
3644 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3645 if test "x$LINE" != x ; then
3646 eval "DEFAULT_$LINE"
3647 else
3648 no_cache=1
3649 fi
3650
3651 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3652
3653 fi
3654
3655
3656 eval "$wx_cv_use_libjpeg"
3657 if test "$no_cache" != 1; then
3658 echo $wx_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3659 fi
3660
3661 if test "$wxUSE_LIBJPEG" = yes; then
3662 { echo "$as_me:$LINENO: result: yes" >&5
3663 echo "${ECHO_T}yes" >&6; }
3664 elif test "$wxUSE_LIBJPEG" = no; then
3665 { echo "$as_me:$LINENO: result: no" >&5
3666 echo "${ECHO_T}no" >&6; }
3667 elif test "$wxUSE_LIBJPEG" = sys; then
3668 { echo "$as_me:$LINENO: result: system version" >&5
3669 echo "${ECHO_T}system version" >&6; }
3670 elif test "$wxUSE_LIBJPEG" = builtin; then
3671 { echo "$as_me:$LINENO: result: builtin version" >&5
3672 echo "${ECHO_T}builtin version" >&6; }
3673 else
3674 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3675 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3676 { (exit 1); exit 1; }; }
3677 fi
3678
3679
3680 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3681 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3682 no_cache=0
3683
3684 # Check whether --with-libtiff was given.
3685 if test "${with_libtiff+set}" = set; then
3686 withval=$with_libtiff;
3687 if test "$withval" = yes; then
3688 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3689 elif test "$withval" = no; then
3690 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3691 elif test "$withval" = sys; then
3692 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3693 elif test "$withval" = builtin; then
3694 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3695 else
3696 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3697 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3698 { (exit 1); exit 1; }; }
3699 fi
3700
3701 else
3702
3703 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3704 if test "x$LINE" != x ; then
3705 eval "DEFAULT_$LINE"
3706 else
3707 no_cache=1
3708 fi
3709
3710 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3711
3712 fi
3713
3714
3715 eval "$wx_cv_use_libtiff"
3716 if test "$no_cache" != 1; then
3717 echo $wx_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3718 fi
3719
3720 if test "$wxUSE_LIBTIFF" = yes; then
3721 { echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6; }
3723 elif test "$wxUSE_LIBTIFF" = no; then
3724 { echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6; }
3726 elif test "$wxUSE_LIBTIFF" = sys; then
3727 { echo "$as_me:$LINENO: result: system version" >&5
3728 echo "${ECHO_T}system version" >&6; }
3729 elif test "$wxUSE_LIBTIFF" = builtin; then
3730 { echo "$as_me:$LINENO: result: builtin version" >&5
3731 echo "${ECHO_T}builtin version" >&6; }
3732 else
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3736 fi
3737
3738
3739 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3740 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3741 no_cache=0
3742
3743 # Check whether --with-libxpm was given.
3744 if test "${with_libxpm+set}" = set; then
3745 withval=$with_libxpm;
3746 if test "$withval" = yes; then
3747 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3748 elif test "$withval" = no; then
3749 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3750 elif test "$withval" = sys; then
3751 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3752 elif test "$withval" = builtin; then
3753 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3754 else
3755 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3756 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3757 { (exit 1); exit 1; }; }
3758 fi
3759
3760 else
3761
3762 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x ; then
3764 eval "DEFAULT_$LINE"
3765 else
3766 no_cache=1
3767 fi
3768
3769 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3770
3771 fi
3772
3773
3774 eval "$wx_cv_use_libxpm"
3775 if test "$no_cache" != 1; then
3776 echo $wx_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3777 fi
3778
3779 if test "$wxUSE_LIBXPM" = yes; then
3780 { echo "$as_me:$LINENO: result: yes" >&5
3781 echo "${ECHO_T}yes" >&6; }
3782 elif test "$wxUSE_LIBXPM" = no; then
3783 { echo "$as_me:$LINENO: result: no" >&5
3784 echo "${ECHO_T}no" >&6; }
3785 elif test "$wxUSE_LIBXPM" = sys; then
3786 { echo "$as_me:$LINENO: result: system version" >&5
3787 echo "${ECHO_T}system version" >&6; }
3788 elif test "$wxUSE_LIBXPM" = builtin; then
3789 { echo "$as_me:$LINENO: result: builtin version" >&5
3790 echo "${ECHO_T}builtin version" >&6; }
3791 else
3792 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3793 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3794 { (exit 1); exit 1; }; }
3795 fi
3796
3797
3798 withstring=
3799 defaultval=$wxUSE_ALL_FEATURES
3800 if test -z "$defaultval"; then
3801 if test x"$withstring" = xwithout; then
3802 defaultval=yes
3803 else
3804 defaultval=no
3805 fi
3806 fi
3807 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3808 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3809 no_cache=0
3810
3811 # Check whether --with-libmspack was given.
3812 if test "${with_libmspack+set}" = set; then
3813 withval=$with_libmspack;
3814 if test "$withval" = yes; then
3815 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3816 else
3817 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3818 fi
3819
3820 else
3821
3822 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
3823 if test "x$LINE" != x ; then
3824 eval "DEFAULT_$LINE"
3825 else
3826 no_cache=1
3827 fi
3828
3829 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3830
3831 fi
3832
3833
3834 eval "$wx_cv_use_libmspack"
3835 if test "$no_cache" != 1; then
3836 echo $wx_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3837 fi
3838
3839 if test x"$withstring" = xwithout; then
3840 if test $wxUSE_LIBMSPACK = yes; then
3841 result=no
3842 else
3843 result=yes
3844 fi
3845 else
3846 result=$wxUSE_LIBMSPACK
3847 fi
3848
3849 { echo "$as_me:$LINENO: result: $result" >&5
3850 echo "${ECHO_T}$result" >&6; }
3851
3852
3853 withstring=without
3854 defaultval=$wxUSE_ALL_FEATURES
3855 if test -z "$defaultval"; then
3856 if test x"$withstring" = xwithout; then
3857 defaultval=yes
3858 else
3859 defaultval=no
3860 fi
3861 fi
3862 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3863 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3864 no_cache=0
3865
3866 # Check whether --with-gnomeprint was given.
3867 if test "${with_gnomeprint+set}" = set; then
3868 withval=$with_gnomeprint;
3869 if test "$withval" = yes; then
3870 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3871 else
3872 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3873 fi
3874
3875 else
3876
3877 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
3878 if test "x$LINE" != x ; then
3879 eval "DEFAULT_$LINE"
3880 else
3881 no_cache=1
3882 fi
3883
3884 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3885
3886 fi
3887
3888
3889 eval "$wx_cv_use_gnomeprint"
3890 if test "$no_cache" != 1; then
3891 echo $wx_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3892 fi
3893
3894 if test x"$withstring" = xwithout; then
3895 if test $wxUSE_LIBGNOMEPRINT = yes; then
3896 result=no
3897 else
3898 result=yes
3899 fi
3900 else
3901 result=$wxUSE_LIBGNOMEPRINT
3902 fi
3903
3904 { echo "$as_me:$LINENO: result: $result" >&5
3905 echo "${ECHO_T}$result" >&6; }
3906
3907
3908 withstring=
3909 defaultval=$wxUSE_ALL_FEATURES
3910 if test -z "$defaultval"; then
3911 if test x"$withstring" = xwithout; then
3912 defaultval=yes
3913 else
3914 defaultval=no
3915 fi
3916 fi
3917 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3918 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3919 no_cache=0
3920
3921 # Check whether --with-gnomevfs was given.
3922 if test "${with_gnomevfs+set}" = set; then
3923 withval=$with_gnomevfs;
3924 if test "$withval" = yes; then
3925 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3926 else
3927 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3928 fi
3929
3930 else
3931
3932 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
3933 if test "x$LINE" != x ; then
3934 eval "DEFAULT_$LINE"
3935 else
3936 no_cache=1
3937 fi
3938
3939 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3940
3941 fi
3942
3943
3944 eval "$wx_cv_use_gnomevfs"
3945 if test "$no_cache" != 1; then
3946 echo $wx_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3947 fi
3948
3949 if test x"$withstring" = xwithout; then
3950 if test $wxUSE_LIBGNOMEVFS = yes; then
3951 result=no
3952 else
3953 result=yes
3954 fi
3955 else
3956 result=$wxUSE_LIBGNOMEVFS
3957 fi
3958
3959 { echo "$as_me:$LINENO: result: $result" >&5
3960 echo "${ECHO_T}$result" >&6; }
3961
3962
3963 withstring=
3964 defaultval=$wxUSE_ALL_FEATURES
3965 if test -z "$defaultval"; then
3966 if test x"$withstring" = xwithout; then
3967 defaultval=yes
3968 else
3969 defaultval=no
3970 fi
3971 fi
3972 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3973 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3974 no_cache=0
3975
3976 # Check whether --with-hildon was given.
3977 if test "${with_hildon+set}" = set; then
3978 withval=$with_hildon;
3979 if test "$withval" = yes; then
3980 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3981 else
3982 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3983 fi
3984
3985 else
3986
3987 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3990 else
3991 no_cache=1
3992 fi
3993
3994 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3995
3996 fi
3997
3998
3999 eval "$wx_cv_use_hildon"
4000 if test "$no_cache" != 1; then
4001 echo $wx_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4002 fi
4003
4004 if test x"$withstring" = xwithout; then
4005 if test $wxUSE_LIBHILDON = yes; then
4006 result=no
4007 else
4008 result=yes
4009 fi
4010 else
4011 result=$wxUSE_LIBHILDON
4012 fi
4013
4014 { echo "$as_me:$LINENO: result: $result" >&5
4015 echo "${ECHO_T}$result" >&6; }
4016
4017
4018 withstring=
4019 defaultval=$wxUSE_ALL_FEATURES
4020 if test -z "$defaultval"; then
4021 if test x"$withstring" = xwithout; then
4022 defaultval=yes
4023 else
4024 defaultval=no
4025 fi
4026 fi
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4029 no_cache=0
4030
4031 # Check whether --with-opengl was given.
4032 if test "${with_opengl+set}" = set; then
4033 withval=$with_opengl;
4034 if test "$withval" = yes; then
4035 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4036 else
4037 wx_cv_use_opengl='wxUSE_OPENGL=no'
4038 fi
4039
4040 else
4041
4042 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4045 else
4046 no_cache=1
4047 fi
4048
4049 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4050
4051 fi
4052
4053
4054 eval "$wx_cv_use_opengl"
4055 if test "$no_cache" != 1; then
4056 echo $wx_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4057 fi
4058
4059 if test x"$withstring" = xwithout; then
4060 if test $wxUSE_OPENGL = yes; then
4061 result=no
4062 else
4063 result=yes
4064 fi
4065 else
4066 result=$wxUSE_OPENGL
4067 fi
4068
4069 { echo "$as_me:$LINENO: result: $result" >&5
4070 echo "${ECHO_T}$result" >&6; }
4071
4072
4073 fi
4074
4075
4076 withstring=
4077 defaultval=$wxUSE_ALL_FEATURES
4078 if test -z "$defaultval"; then
4079 if test x"$withstring" = xwithout; then
4080 defaultval=yes
4081 else
4082 defaultval=no
4083 fi
4084 fi
4085 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4086 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4087 no_cache=0
4088
4089 # Check whether --with-dmalloc was given.
4090 if test "${with_dmalloc+set}" = set; then
4091 withval=$with_dmalloc;
4092 if test "$withval" = yes; then
4093 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4094 else
4095 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4096 fi
4097
4098 else
4099
4100 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4101 if test "x$LINE" != x ; then
4102 eval "DEFAULT_$LINE"
4103 else
4104 no_cache=1
4105 fi
4106
4107 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4108
4109 fi
4110
4111
4112 eval "$wx_cv_use_dmalloc"
4113 if test "$no_cache" != 1; then
4114 echo $wx_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4115 fi
4116
4117 if test x"$withstring" = xwithout; then
4118 if test $wxUSE_DMALLOC = yes; then
4119 result=no
4120 else
4121 result=yes
4122 fi
4123 else
4124 result=$wxUSE_DMALLOC
4125 fi
4126
4127 { echo "$as_me:$LINENO: result: $result" >&5
4128 echo "${ECHO_T}$result" >&6; }
4129
4130
4131 withstring=
4132 defaultval=$wxUSE_ALL_FEATURES
4133 if test -z "$defaultval"; then
4134 if test x"$withstring" = xwithout; then
4135 defaultval=yes
4136 else
4137 defaultval=no
4138 fi
4139 fi
4140 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4141 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4142 no_cache=0
4143
4144 # Check whether --with-sdl was given.
4145 if test "${with_sdl+set}" = set; then
4146 withval=$with_sdl;
4147 if test "$withval" = yes; then
4148 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4149 else
4150 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4151 fi
4152
4153 else
4154
4155 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4156 if test "x$LINE" != x ; then
4157 eval "DEFAULT_$LINE"
4158 else
4159 no_cache=1
4160 fi
4161
4162 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4163
4164 fi
4165
4166
4167 eval "$wx_cv_use_sdl"
4168 if test "$no_cache" != 1; then
4169 echo $wx_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4170 fi
4171
4172 if test x"$withstring" = xwithout; then
4173 if test $wxUSE_LIBSDL = yes; then
4174 result=no
4175 else
4176 result=yes
4177 fi
4178 else
4179 result=$wxUSE_LIBSDL
4180 fi
4181
4182 { echo "$as_me:$LINENO: result: $result" >&5
4183 echo "${ECHO_T}$result" >&6; }
4184
4185
4186 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4187 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4188 no_cache=0
4189
4190 # Check whether --with-regex was given.
4191 if test "${with_regex+set}" = set; then
4192 withval=$with_regex;
4193 if test "$withval" = yes; then
4194 wx_cv_use_regex='wxUSE_REGEX=yes'
4195 elif test "$withval" = no; then
4196 wx_cv_use_regex='wxUSE_REGEX=no'
4197 elif test "$withval" = sys; then
4198 wx_cv_use_regex='wxUSE_REGEX=sys'
4199 elif test "$withval" = builtin; then
4200 wx_cv_use_regex='wxUSE_REGEX=builtin'
4201 else
4202 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4203 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4204 { (exit 1); exit 1; }; }
4205 fi
4206
4207 else
4208
4209 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4210 if test "x$LINE" != x ; then
4211 eval "DEFAULT_$LINE"
4212 else
4213 no_cache=1
4214 fi
4215
4216 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4217
4218 fi
4219
4220
4221 eval "$wx_cv_use_regex"
4222 if test "$no_cache" != 1; then
4223 echo $wx_cv_use_regex >> ${wx_arg_cache_file}.tmp
4224 fi
4225
4226 if test "$wxUSE_REGEX" = yes; then
4227 { echo "$as_me:$LINENO: result: yes" >&5
4228 echo "${ECHO_T}yes" >&6; }
4229 elif test "$wxUSE_REGEX" = no; then
4230 { echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6; }
4232 elif test "$wxUSE_REGEX" = sys; then
4233 { echo "$as_me:$LINENO: result: system version" >&5
4234 echo "${ECHO_T}system version" >&6; }
4235 elif test "$wxUSE_REGEX" = builtin; then
4236 { echo "$as_me:$LINENO: result: builtin version" >&5
4237 echo "${ECHO_T}builtin version" >&6; }
4238 else
4239 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4240 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4241 { (exit 1); exit 1; }; }
4242 fi
4243
4244
4245 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4246 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4247 no_cache=0
4248
4249 # Check whether --with-zlib was given.
4250 if test "${with_zlib+set}" = set; then
4251 withval=$with_zlib;
4252 if test "$withval" = yes; then
4253 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4254 elif test "$withval" = no; then
4255 wx_cv_use_zlib='wxUSE_ZLIB=no'
4256 elif test "$withval" = sys; then
4257 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4258 elif test "$withval" = builtin; then
4259 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4260 else
4261 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4262 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4263 { (exit 1); exit 1; }; }
4264 fi
4265
4266 else
4267
4268 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x ; then
4270 eval "DEFAULT_$LINE"
4271 else
4272 no_cache=1
4273 fi
4274
4275 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4276
4277 fi
4278
4279
4280 eval "$wx_cv_use_zlib"
4281 if test "$no_cache" != 1; then
4282 echo $wx_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4283 fi
4284
4285 if test "$wxUSE_ZLIB" = yes; then
4286 { echo "$as_me:$LINENO: result: yes" >&5
4287 echo "${ECHO_T}yes" >&6; }
4288 elif test "$wxUSE_ZLIB" = no; then
4289 { echo "$as_me:$LINENO: result: no" >&5
4290 echo "${ECHO_T}no" >&6; }
4291 elif test "$wxUSE_ZLIB" = sys; then
4292 { echo "$as_me:$LINENO: result: system version" >&5
4293 echo "${ECHO_T}system version" >&6; }
4294 elif test "$wxUSE_ZLIB" = builtin; then
4295 { echo "$as_me:$LINENO: result: builtin version" >&5
4296 echo "${ECHO_T}builtin version" >&6; }
4297 else
4298 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4299 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4300 { (exit 1); exit 1; }; }
4301 fi
4302
4303
4304 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4305 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4306 no_cache=0
4307
4308 # Check whether --with-odbc was given.
4309 if test "${with_odbc+set}" = set; then
4310 withval=$with_odbc;
4311 if test "$withval" = yes; then
4312 wx_cv_use_odbc='wxUSE_ODBC=yes'
4313 elif test "$withval" = no; then
4314 wx_cv_use_odbc='wxUSE_ODBC=no'
4315 elif test "$withval" = sys; then
4316 wx_cv_use_odbc='wxUSE_ODBC=sys'
4317 elif test "$withval" = builtin; then
4318 wx_cv_use_odbc='wxUSE_ODBC=builtin'
4319 else
4320 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4321 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4322 { (exit 1); exit 1; }; }
4323 fi
4324
4325 else
4326
4327 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4328 if test "x$LINE" != x ; then
4329 eval "DEFAULT_$LINE"
4330 else
4331 no_cache=1
4332 fi
4333
4334 wx_cv_use_odbc='wxUSE_ODBC=${'DEFAULT_wxUSE_ODBC":-$wxUSE_ALL_FEATURES}"
4335
4336 fi
4337
4338
4339 eval "$wx_cv_use_odbc"
4340 if test "$no_cache" != 1; then
4341 echo $wx_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4342 fi
4343
4344 if test "$wxUSE_ODBC" = yes; then
4345 { echo "$as_me:$LINENO: result: yes" >&5
4346 echo "${ECHO_T}yes" >&6; }
4347 elif test "$wxUSE_ODBC" = no; then
4348 { echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6; }
4350 elif test "$wxUSE_ODBC" = sys; then
4351 { echo "$as_me:$LINENO: result: system version" >&5
4352 echo "${ECHO_T}system version" >&6; }
4353 elif test "$wxUSE_ODBC" = builtin; then
4354 { echo "$as_me:$LINENO: result: builtin version" >&5
4355 echo "${ECHO_T}builtin version" >&6; }
4356 else
4357 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4358 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4359 { (exit 1); exit 1; }; }
4360 fi
4361
4362
4363 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4364 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4365 no_cache=0
4366
4367 # Check whether --with-expat was given.
4368 if test "${with_expat+set}" = set; then
4369 withval=$with_expat;
4370 if test "$withval" = yes; then
4371 wx_cv_use_expat='wxUSE_EXPAT=yes'
4372 elif test "$withval" = no; then
4373 wx_cv_use_expat='wxUSE_EXPAT=no'
4374 elif test "$withval" = sys; then
4375 wx_cv_use_expat='wxUSE_EXPAT=sys'
4376 elif test "$withval" = builtin; then
4377 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4378 else
4379 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4380 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4381 { (exit 1); exit 1; }; }
4382 fi
4383
4384 else
4385
4386 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4387 if test "x$LINE" != x ; then
4388 eval "DEFAULT_$LINE"
4389 else
4390 no_cache=1
4391 fi
4392
4393 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4394
4395 fi
4396
4397
4398 eval "$wx_cv_use_expat"
4399 if test "$no_cache" != 1; then
4400 echo $wx_cv_use_expat >> ${wx_arg_cache_file}.tmp
4401 fi
4402
4403 if test "$wxUSE_EXPAT" = yes; then
4404 { echo "$as_me:$LINENO: result: yes" >&5
4405 echo "${ECHO_T}yes" >&6; }
4406 elif test "$wxUSE_EXPAT" = no; then
4407 { echo "$as_me:$LINENO: result: no" >&5
4408 echo "${ECHO_T}no" >&6; }
4409 elif test "$wxUSE_EXPAT" = sys; then
4410 { echo "$as_me:$LINENO: result: system version" >&5
4411 echo "${ECHO_T}system version" >&6; }
4412 elif test "$wxUSE_EXPAT" = builtin; then
4413 { echo "$as_me:$LINENO: result: builtin version" >&5
4414 echo "${ECHO_T}builtin version" >&6; }
4415 else
4416 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4417 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4418 { (exit 1); exit 1; }; }
4419 fi
4420
4421
4422
4423
4424 enablestring=disable
4425 defaultval=
4426 if test -z "$defaultval"; then
4427 if test x"$enablestring" = xdisable; then
4428 defaultval=yes
4429 else
4430 defaultval=no
4431 fi
4432 fi
4433
4434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4435 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4436 no_cache=0
4437 # Check whether --enable-shared was given.
4438 if test "${enable_shared+set}" = set; then
4439 enableval=$enable_shared;
4440 if test "$enableval" = yes; then
4441 wx_cv_use_shared='wxUSE_SHARED=yes'
4442 else
4443 wx_cv_use_shared='wxUSE_SHARED=no'
4444 fi
4445
4446 else
4447
4448 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4449 if test "x$LINE" != x ; then
4450 eval "DEFAULT_$LINE"
4451 else
4452 no_cache=1
4453 fi
4454
4455 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4456
4457 fi
4458
4459
4460 eval "$wx_cv_use_shared"
4461 if test "$no_cache" != 1; then
4462 echo $wx_cv_use_shared >> ${wx_arg_cache_file}.tmp
4463 fi
4464
4465 if test x"$enablestring" = xdisable; then
4466 if test $wxUSE_SHARED = yes; then
4467 result=no
4468 else
4469 result=yes
4470 fi
4471 else
4472 result=$wxUSE_SHARED
4473 fi
4474
4475 { echo "$as_me:$LINENO: result: $result" >&5
4476 echo "${ECHO_T}$result" >&6; }
4477
4478
4479 enablestring=disable
4480 defaultval=
4481 if test -z "$defaultval"; then
4482 if test x"$enablestring" = xdisable; then
4483 defaultval=yes
4484 else
4485 defaultval=no
4486 fi
4487 fi
4488
4489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4490 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4491 no_cache=0
4492 # Check whether --enable-optimise was given.
4493 if test "${enable_optimise+set}" = set; then
4494 enableval=$enable_optimise;
4495 if test "$enableval" = yes; then
4496 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4497 else
4498 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4499 fi
4500
4501 else
4502
4503 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4504 if test "x$LINE" != x ; then
4505 eval "DEFAULT_$LINE"
4506 else
4507 no_cache=1
4508 fi
4509
4510 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4511
4512 fi
4513
4514
4515 eval "$wx_cv_use_optimise"
4516 if test "$no_cache" != 1; then
4517 echo $wx_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4518 fi
4519
4520 if test x"$enablestring" = xdisable; then
4521 if test $wxUSE_OPTIMISE = yes; then
4522 result=no
4523 else
4524 result=yes
4525 fi
4526 else
4527 result=$wxUSE_OPTIMISE
4528 fi
4529
4530 { echo "$as_me:$LINENO: result: $result" >&5
4531 echo "${ECHO_T}$result" >&6; }
4532
4533
4534 enablestring=
4535 defaultval=
4536 if test -z "$defaultval"; then
4537 if test x"$enablestring" = xdisable; then
4538 defaultval=yes
4539 else
4540 defaultval=no
4541 fi
4542 fi
4543
4544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4545 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4546 no_cache=0
4547 # Check whether --enable-debug was given.
4548 if test "${enable_debug+set}" = set; then
4549 enableval=$enable_debug;
4550 if test "$enableval" = yes; then
4551 wx_cv_use_debug='wxUSE_DEBUG=yes'
4552 else
4553 wx_cv_use_debug='wxUSE_DEBUG=no'
4554 fi
4555
4556 else
4557
4558 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4559 if test "x$LINE" != x ; then
4560 eval "DEFAULT_$LINE"
4561 else
4562 no_cache=1
4563 fi
4564
4565 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4566
4567 fi
4568
4569
4570 eval "$wx_cv_use_debug"
4571 if test "$no_cache" != 1; then
4572 echo $wx_cv_use_debug >> ${wx_arg_cache_file}.tmp
4573 fi
4574
4575 if test x"$enablestring" = xdisable; then
4576 if test $wxUSE_DEBUG = yes; then
4577 result=no
4578 else
4579 result=yes
4580 fi
4581 else
4582 result=$wxUSE_DEBUG
4583 fi
4584
4585 { echo "$as_me:$LINENO: result: $result" >&5
4586 echo "${ECHO_T}$result" >&6; }
4587
4588
4589 enablestring=
4590 defaultval=
4591 if test -z "$defaultval"; then
4592 if test x"$enablestring" = xdisable; then
4593 defaultval=yes
4594 else
4595 defaultval=no
4596 fi
4597 fi
4598
4599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4600 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4601 no_cache=0
4602 # Check whether --enable-stl was given.
4603 if test "${enable_stl+set}" = set; then
4604 enableval=$enable_stl;
4605 if test "$enableval" = yes; then
4606 wx_cv_use_stl='wxUSE_STL=yes'
4607 else
4608 wx_cv_use_stl='wxUSE_STL=no'
4609 fi
4610
4611 else
4612
4613 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4614 if test "x$LINE" != x ; then
4615 eval "DEFAULT_$LINE"
4616 else
4617 no_cache=1
4618 fi
4619
4620 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4621
4622 fi
4623
4624
4625 eval "$wx_cv_use_stl"
4626 if test "$no_cache" != 1; then
4627 echo $wx_cv_use_stl >> ${wx_arg_cache_file}.tmp
4628 fi
4629
4630 if test x"$enablestring" = xdisable; then
4631 if test $wxUSE_STL = yes; then
4632 result=no
4633 else
4634 result=yes
4635 fi
4636 else
4637 result=$wxUSE_STL
4638 fi
4639
4640 { echo "$as_me:$LINENO: result: $result" >&5
4641 echo "${ECHO_T}$result" >&6; }
4642
4643
4644 enablestring=
4645 defaultval=
4646 if test -z "$defaultval"; then
4647 if test x"$enablestring" = xdisable; then
4648 defaultval=yes
4649 else
4650 defaultval=no
4651 fi
4652 fi
4653
4654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4655 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4656 no_cache=0
4657 # Check whether --enable-std_iostreams was given.
4658 if test "${enable_std_iostreams+set}" = set; then
4659 enableval=$enable_std_iostreams;
4660 if test "$enableval" = yes; then
4661 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4662 else
4663 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4664 fi
4665
4666 else
4667
4668 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x ; then
4670 eval "DEFAULT_$LINE"
4671 else
4672 no_cache=1
4673 fi
4674
4675 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4676
4677 fi
4678
4679
4680 eval "$wx_cv_use_std_iostreams"
4681 if test "$no_cache" != 1; then
4682 echo $wx_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4683 fi
4684
4685 if test x"$enablestring" = xdisable; then
4686 if test $wxUSE_STD_IOSTREAM = yes; then
4687 result=no
4688 else
4689 result=yes
4690 fi
4691 else
4692 result=$wxUSE_STD_IOSTREAM
4693 fi
4694
4695 { echo "$as_me:$LINENO: result: $result" >&5
4696 echo "${ECHO_T}$result" >&6; }
4697
4698
4699 enablestring=
4700 defaultval=
4701 if test -z "$defaultval"; then
4702 if test x"$enablestring" = xdisable; then
4703 defaultval=yes
4704 else
4705 defaultval=no
4706 fi
4707 fi
4708
4709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4710 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4711 no_cache=0
4712 # Check whether --enable-std_string was given.
4713 if test "${enable_std_string+set}" = set; then
4714 enableval=$enable_std_string;
4715 if test "$enableval" = yes; then
4716 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4717 else
4718 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4719 fi
4720
4721 else
4722
4723 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
4724 if test "x$LINE" != x ; then
4725 eval "DEFAULT_$LINE"
4726 else
4727 no_cache=1
4728 fi
4729
4730 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4731
4732 fi
4733
4734
4735 eval "$wx_cv_use_std_string"
4736 if test "$no_cache" != 1; then
4737 echo $wx_cv_use_std_string >> ${wx_arg_cache_file}.tmp
4738 fi
4739
4740 if test x"$enablestring" = xdisable; then
4741 if test $wxUSE_STD_STRING = yes; then
4742 result=no
4743 else
4744 result=yes
4745 fi
4746 else
4747 result=$wxUSE_STD_STRING
4748 fi
4749
4750 { echo "$as_me:$LINENO: result: $result" >&5
4751 echo "${ECHO_T}$result" >&6; }
4752
4753
4754 enablestring=disable
4755 defaultval=
4756 if test -z "$defaultval"; then
4757 if test x"$enablestring" = xdisable; then
4758 defaultval=yes
4759 else
4760 defaultval=no
4761 fi
4762 fi
4763
4764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4765 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4766 no_cache=0
4767 # Check whether --enable-unicode was given.
4768 if test "${enable_unicode+set}" = set; then
4769 enableval=$enable_unicode;
4770 if test "$enableval" = yes; then
4771 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4772 else
4773 wx_cv_use_unicode='wxUSE_UNICODE=no'
4774 fi
4775
4776 else
4777
4778 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
4779 if test "x$LINE" != x ; then
4780 eval "DEFAULT_$LINE"
4781 else
4782 no_cache=1
4783 fi
4784
4785 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4786
4787 fi
4788
4789
4790 eval "$wx_cv_use_unicode"
4791 if test "$no_cache" != 1; then
4792 echo $wx_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4793 fi
4794
4795 if test x"$enablestring" = xdisable; then
4796 if test $wxUSE_UNICODE = yes; then
4797 result=no
4798 else
4799 result=yes
4800 fi
4801 else
4802 result=$wxUSE_UNICODE
4803 fi
4804
4805 { echo "$as_me:$LINENO: result: $result" >&5
4806 echo "${ECHO_T}$result" >&6; }
4807
4808
4809 enablestring=
4810 defaultval=
4811 if test -z "$defaultval"; then
4812 if test x"$enablestring" = xdisable; then
4813 defaultval=yes
4814 else
4815 defaultval=no
4816 fi
4817 fi
4818
4819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4820 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4821 no_cache=0
4822 # Check whether --enable-mslu was given.
4823 if test "${enable_mslu+set}" = set; then
4824 enableval=$enable_mslu;
4825 if test "$enableval" = yes; then
4826 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4827 else
4828 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4829 fi
4830
4831 else
4832
4833 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
4834 if test "x$LINE" != x ; then
4835 eval "DEFAULT_$LINE"
4836 else
4837 no_cache=1
4838 fi
4839
4840 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4841
4842 fi
4843
4844
4845 eval "$wx_cv_use_mslu"
4846 if test "$no_cache" != 1; then
4847 echo $wx_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4848 fi
4849
4850 if test x"$enablestring" = xdisable; then
4851 if test $wxUSE_UNICODE_MSLU = yes; then
4852 result=no
4853 else
4854 result=yes
4855 fi
4856 else
4857 result=$wxUSE_UNICODE_MSLU
4858 fi
4859
4860 { echo "$as_me:$LINENO: result: $result" >&5
4861 echo "${ECHO_T}$result" >&6; }
4862
4863
4864 enablestring=
4865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4867 no_cache=0
4868 # Check whether --enable-utf8 was given.
4869 if test "${enable_utf8+set}" = set; then
4870 enableval=$enable_utf8;
4871 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4872
4873 else
4874
4875 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
4876 if test "x$LINE" != x ; then
4877 eval "DEFAULT_$LINE"
4878 else
4879 no_cache=1
4880 fi
4881
4882 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4883
4884 fi
4885
4886
4887 eval "$wx_cv_use_utf8"
4888 if test "$no_cache" != 1; then
4889 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
4890 fi
4891
4892 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4893 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4894
4895
4896 enablestring=
4897 defaultval=
4898 if test -z "$defaultval"; then
4899 if test x"$enablestring" = xdisable; then
4900 defaultval=yes
4901 else
4902 defaultval=no
4903 fi
4904 fi
4905
4906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4908 no_cache=0
4909 # Check whether --enable-utf8only was given.
4910 if test "${enable_utf8only+set}" = set; then
4911 enableval=$enable_utf8only;
4912 if test "$enableval" = yes; then
4913 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4914 else
4915 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4916 fi
4917
4918 else
4919
4920 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
4921 if test "x$LINE" != x ; then
4922 eval "DEFAULT_$LINE"
4923 else
4924 no_cache=1
4925 fi
4926
4927 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4928
4929 fi
4930
4931
4932 eval "$wx_cv_use_utf8only"
4933 if test "$no_cache" != 1; then
4934 echo $wx_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test x"$enablestring" = xdisable; then
4938 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4939 result=no
4940 else
4941 result=yes
4942 fi
4943 else
4944 result=$wxUSE_UNICODE_UTF8_LOCALE
4945 fi
4946
4947 { echo "$as_me:$LINENO: result: $result" >&5
4948 echo "${ECHO_T}$result" >&6; }
4949
4950
4951 enablestring=
4952 defaultval=
4953 if test -z "$defaultval"; then
4954 if test x"$enablestring" = xdisable; then
4955 defaultval=yes
4956 else
4957 defaultval=no
4958 fi
4959 fi
4960
4961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4962 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4963 no_cache=0
4964 # Check whether --enable-extended_rtti was given.
4965 if test "${enable_extended_rtti+set}" = set; then
4966 enableval=$enable_extended_rtti;
4967 if test "$enableval" = yes; then
4968 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4969 else
4970 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4971 fi
4972
4973 else
4974
4975 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4976 if test "x$LINE" != x ; then
4977 eval "DEFAULT_$LINE"
4978 else
4979 no_cache=1
4980 fi
4981
4982 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4983
4984 fi
4985
4986
4987 eval "$wx_cv_use_extended_rtti"
4988 if test "$no_cache" != 1; then
4989 echo $wx_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4990 fi
4991
4992 if test x"$enablestring" = xdisable; then
4993 if test $wxUSE_EXTENDED_RTTI = yes; then
4994 result=no
4995 else
4996 result=yes
4997 fi
4998 else
4999 result=$wxUSE_EXTENDED_RTTI
5000 fi
5001
5002 { echo "$as_me:$LINENO: result: $result" >&5
5003 echo "${ECHO_T}$result" >&6; }
5004
5005 if test "$USE_OS2" = "1"; then
5006 DEFAULT_wxUSE_OMF=no
5007
5008 enablestring=
5009 defaultval=
5010 if test -z "$defaultval"; then
5011 if test x"$enablestring" = xdisable; then
5012 defaultval=yes
5013 else
5014 defaultval=no
5015 fi
5016 fi
5017
5018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5020 no_cache=0
5021 # Check whether --enable-omf was given.
5022 if test "${enable_omf+set}" = set; then
5023 enableval=$enable_omf;
5024 if test "$enableval" = yes; then
5025 wx_cv_use_omf='wxUSE_OMF=yes'
5026 else
5027 wx_cv_use_omf='wxUSE_OMF=no'
5028 fi
5029
5030 else
5031
5032 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
5033 if test "x$LINE" != x ; then
5034 eval "DEFAULT_$LINE"
5035 else
5036 no_cache=1
5037 fi
5038
5039 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5040
5041 fi
5042
5043
5044 eval "$wx_cv_use_omf"
5045 if test "$no_cache" != 1; then
5046 echo $wx_cv_use_omf >> ${wx_arg_cache_file}.tmp
5047 fi
5048
5049 if test x"$enablestring" = xdisable; then
5050 if test $wxUSE_OMF = yes; then
5051 result=no
5052 else
5053 result=yes
5054 fi
5055 else
5056 result=$wxUSE_OMF
5057 fi
5058
5059 { echo "$as_me:$LINENO: result: $result" >&5
5060 echo "${ECHO_T}$result" >&6; }
5061
5062 fi
5063
5064 if test "$wxUSE_DEBUG" = "yes"; then
5065 DEFAULT_wxUSE_DEBUG_FLAG=yes
5066 DEFAULT_wxUSE_DEBUG_INFO=yes
5067 BUILD=debug
5068 elif test "$wxUSE_DEBUG" = "no"; then
5069 DEFAULT_wxUSE_DEBUG_FLAG=no
5070 DEFAULT_wxUSE_DEBUG_INFO=no
5071 BUILD=release
5072 fi
5073
5074
5075 enablestring=
5076 defaultval=
5077 if test -z "$defaultval"; then
5078 if test x"$enablestring" = xdisable; then
5079 defaultval=yes
5080 else
5081 defaultval=no
5082 fi
5083 fi
5084
5085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
5086 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
5087 no_cache=0
5088 # Check whether --enable-debug_flag was given.
5089 if test "${enable_debug_flag+set}" = set; then
5090 enableval=$enable_debug_flag;
5091 if test "$enableval" = yes; then
5092 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
5093 else
5094 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
5095 fi
5096
5097 else
5098
5099 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
5100 if test "x$LINE" != x ; then
5101 eval "DEFAULT_$LINE"
5102 else
5103 no_cache=1
5104 fi
5105
5106 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
5107
5108 fi
5109
5110
5111 eval "$wx_cv_use_debug_flag"
5112 if test "$no_cache" != 1; then
5113 echo $wx_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
5114 fi
5115
5116 if test x"$enablestring" = xdisable; then
5117 if test $wxUSE_DEBUG_FLAG = yes; then
5118 result=no
5119 else
5120 result=yes
5121 fi
5122 else
5123 result=$wxUSE_DEBUG_FLAG
5124 fi
5125
5126 { echo "$as_me:$LINENO: result: $result" >&5
5127 echo "${ECHO_T}$result" >&6; }
5128
5129
5130 enablestring=
5131 defaultval=
5132 if test -z "$defaultval"; then
5133 if test x"$enablestring" = xdisable; then
5134 defaultval=yes
5135 else
5136 defaultval=no
5137 fi
5138 fi
5139
5140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
5141 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
5142 no_cache=0
5143 # Check whether --enable-debug_info was given.
5144 if test "${enable_debug_info+set}" = set; then
5145 enableval=$enable_debug_info;
5146 if test "$enableval" = yes; then
5147 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
5148 else
5149 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
5150 fi
5151
5152 else
5153
5154 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
5155 if test "x$LINE" != x ; then
5156 eval "DEFAULT_$LINE"
5157 else
5158 no_cache=1
5159 fi
5160
5161 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
5162
5163 fi
5164
5165
5166 eval "$wx_cv_use_debug_info"
5167 if test "$no_cache" != 1; then
5168 echo $wx_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
5169 fi
5170
5171 if test x"$enablestring" = xdisable; then
5172 if test $wxUSE_DEBUG_INFO = yes; then
5173 result=no
5174 else
5175 result=yes
5176 fi
5177 else
5178 result=$wxUSE_DEBUG_INFO
5179 fi
5180
5181 { echo "$as_me:$LINENO: result: $result" >&5
5182 echo "${ECHO_T}$result" >&6; }
5183
5184
5185 enablestring=
5186 defaultval=
5187 if test -z "$defaultval"; then
5188 if test x"$enablestring" = xdisable; then
5189 defaultval=yes
5190 else
5191 defaultval=no
5192 fi
5193 fi
5194
5195 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
5197 no_cache=0
5198 # Check whether --enable-debug_gdb was given.
5199 if test "${enable_debug_gdb+set}" = set; then
5200 enableval=$enable_debug_gdb;
5201 if test "$enableval" = yes; then
5202 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
5203 else
5204 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
5205 fi
5206
5207 else
5208
5209 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
5210 if test "x$LINE" != x ; then
5211 eval "DEFAULT_$LINE"
5212 else
5213 no_cache=1
5214 fi
5215
5216 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
5217
5218 fi
5219
5220
5221 eval "$wx_cv_use_debug_gdb"
5222 if test "$no_cache" != 1; then
5223 echo $wx_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
5224 fi
5225
5226 if test x"$enablestring" = xdisable; then
5227 if test $wxUSE_DEBUG_GDB = yes; then
5228 result=no
5229 else
5230 result=yes
5231 fi
5232 else
5233 result=$wxUSE_DEBUG_GDB
5234 fi
5235
5236 { echo "$as_me:$LINENO: result: $result" >&5
5237 echo "${ECHO_T}$result" >&6; }
5238
5239
5240 enablestring=
5241 defaultval=
5242 if test -z "$defaultval"; then
5243 if test x"$enablestring" = xdisable; then
5244 defaultval=yes
5245 else
5246 defaultval=no
5247 fi
5248 fi
5249
5250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
5251 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
5252 no_cache=0
5253 # Check whether --enable-debug_cntxt was given.
5254 if test "${enable_debug_cntxt+set}" = set; then
5255 enableval=$enable_debug_cntxt;
5256 if test "$enableval" = yes; then
5257 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
5258 else
5259 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
5260 fi
5261
5262 else
5263
5264 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
5265 if test "x$LINE" != x ; then
5266 eval "DEFAULT_$LINE"
5267 else
5268 no_cache=1
5269 fi
5270
5271 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5272
5273 fi
5274
5275
5276 eval "$wx_cv_use_debug_cntxt"
5277 if test "$no_cache" != 1; then
5278 echo $wx_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
5279 fi
5280
5281 if test x"$enablestring" = xdisable; then
5282 if test $wxUSE_DEBUG_CONTEXT = yes; then
5283 result=no
5284 else
5285 result=yes
5286 fi
5287 else
5288 result=$wxUSE_DEBUG_CONTEXT
5289 fi
5290
5291 { echo "$as_me:$LINENO: result: $result" >&5
5292 echo "${ECHO_T}$result" >&6; }
5293
5294
5295 enablestring=
5296 defaultval=
5297 if test -z "$defaultval"; then
5298 if test x"$enablestring" = xdisable; then
5299 defaultval=yes
5300 else
5301 defaultval=no
5302 fi
5303 fi
5304
5305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5306 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5307 no_cache=0
5308 # Check whether --enable-mem_tracing was given.
5309 if test "${enable_mem_tracing+set}" = set; then
5310 enableval=$enable_mem_tracing;
5311 if test "$enableval" = yes; then
5312 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5313 else
5314 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5315 fi
5316
5317 else
5318
5319 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
5320 if test "x$LINE" != x ; then
5321 eval "DEFAULT_$LINE"
5322 else
5323 no_cache=1
5324 fi
5325
5326 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5327
5328 fi
5329
5330
5331 eval "$wx_cv_use_mem_tracing"
5332 if test "$no_cache" != 1; then
5333 echo $wx_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
5334 fi
5335
5336 if test x"$enablestring" = xdisable; then
5337 if test $wxUSE_MEM_TRACING = yes; then
5338 result=no
5339 else
5340 result=yes
5341 fi
5342 else
5343 result=$wxUSE_MEM_TRACING
5344 fi
5345
5346 { echo "$as_me:$LINENO: result: $result" >&5
5347 echo "${ECHO_T}$result" >&6; }
5348
5349
5350 enablestring=
5351 defaultval=
5352 if test -z "$defaultval"; then
5353 if test x"$enablestring" = xdisable; then
5354 defaultval=yes
5355 else
5356 defaultval=no
5357 fi
5358 fi
5359
5360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5361 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5362 no_cache=0
5363 # Check whether --enable-profile was given.
5364 if test "${enable_profile+set}" = set; then
5365 enableval=$enable_profile;
5366 if test "$enableval" = yes; then
5367 wx_cv_use_profile='wxUSE_PROFILE=yes'
5368 else
5369 wx_cv_use_profile='wxUSE_PROFILE=no'
5370 fi
5371
5372 else
5373
5374 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5377 else
5378 no_cache=1
5379 fi
5380
5381 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5382
5383 fi
5384
5385
5386 eval "$wx_cv_use_profile"
5387 if test "$no_cache" != 1; then
5388 echo $wx_cv_use_profile >> ${wx_arg_cache_file}.tmp
5389 fi
5390
5391 if test x"$enablestring" = xdisable; then
5392 if test $wxUSE_PROFILE = yes; then
5393 result=no
5394 else
5395 result=yes
5396 fi
5397 else
5398 result=$wxUSE_PROFILE
5399 fi
5400
5401 { echo "$as_me:$LINENO: result: $result" >&5
5402 echo "${ECHO_T}$result" >&6; }
5403
5404
5405 enablestring=
5406 defaultval=
5407 if test -z "$defaultval"; then
5408 if test x"$enablestring" = xdisable; then
5409 defaultval=yes
5410 else
5411 defaultval=no
5412 fi
5413 fi
5414
5415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5416 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5417 no_cache=0
5418 # Check whether --enable-no_rtti was given.
5419 if test "${enable_no_rtti+set}" = set; then
5420 enableval=$enable_no_rtti;
5421 if test "$enableval" = yes; then
5422 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5423 else
5424 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5425 fi
5426
5427 else
5428
5429 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5430 if test "x$LINE" != x ; then
5431 eval "DEFAULT_$LINE"
5432 else
5433 no_cache=1
5434 fi
5435
5436 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5437
5438 fi
5439
5440
5441 eval "$wx_cv_use_no_rtti"
5442 if test "$no_cache" != 1; then
5443 echo $wx_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5444 fi
5445
5446 if test x"$enablestring" = xdisable; then
5447 if test $wxUSE_NO_RTTI = yes; then
5448 result=no
5449 else
5450 result=yes
5451 fi
5452 else
5453 result=$wxUSE_NO_RTTI
5454 fi
5455
5456 { echo "$as_me:$LINENO: result: $result" >&5
5457 echo "${ECHO_T}$result" >&6; }
5458
5459
5460 enablestring=
5461 defaultval=
5462 if test -z "$defaultval"; then
5463 if test x"$enablestring" = xdisable; then
5464 defaultval=yes
5465 else
5466 defaultval=no
5467 fi
5468 fi
5469
5470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5472 no_cache=0
5473 # Check whether --enable-no_exceptions was given.
5474 if test "${enable_no_exceptions+set}" = set; then
5475 enableval=$enable_no_exceptions;
5476 if test "$enableval" = yes; then
5477 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5478 else
5479 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5480 fi
5481
5482 else
5483
5484 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x ; then
5486 eval "DEFAULT_$LINE"
5487 else
5488 no_cache=1
5489 fi
5490
5491 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5492
5493 fi
5494
5495
5496 eval "$wx_cv_use_no_exceptions"
5497 if test "$no_cache" != 1; then
5498 echo $wx_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5499 fi
5500
5501 if test x"$enablestring" = xdisable; then
5502 if test $wxUSE_NO_EXCEPTIONS = yes; then
5503 result=no
5504 else
5505 result=yes
5506 fi
5507 else
5508 result=$wxUSE_NO_EXCEPTIONS
5509 fi
5510
5511 { echo "$as_me:$LINENO: result: $result" >&5
5512 echo "${ECHO_T}$result" >&6; }
5513
5514
5515 enablestring=
5516 defaultval=
5517 if test -z "$defaultval"; then
5518 if test x"$enablestring" = xdisable; then
5519 defaultval=yes
5520 else
5521 defaultval=no
5522 fi
5523 fi
5524
5525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5526 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5527 no_cache=0
5528 # Check whether --enable-permissive was given.
5529 if test "${enable_permissive+set}" = set; then
5530 enableval=$enable_permissive;
5531 if test "$enableval" = yes; then
5532 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5533 else
5534 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5535 fi
5536
5537 else
5538
5539 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5540 if test "x$LINE" != x ; then
5541 eval "DEFAULT_$LINE"
5542 else
5543 no_cache=1
5544 fi
5545
5546 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5547
5548 fi
5549
5550
5551 eval "$wx_cv_use_permissive"
5552 if test "$no_cache" != 1; then
5553 echo $wx_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5554 fi
5555
5556 if test x"$enablestring" = xdisable; then
5557 if test $wxUSE_PERMISSIVE = yes; then
5558 result=no
5559 else
5560 result=yes
5561 fi
5562 else
5563 result=$wxUSE_PERMISSIVE
5564 fi
5565
5566 { echo "$as_me:$LINENO: result: $result" >&5
5567 echo "${ECHO_T}$result" >&6; }
5568
5569
5570 enablestring=
5571 defaultval=
5572 if test -z "$defaultval"; then
5573 if test x"$enablestring" = xdisable; then
5574 defaultval=yes
5575 else
5576 defaultval=no
5577 fi
5578 fi
5579
5580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5582 no_cache=0
5583 # Check whether --enable-no_deps was given.
5584 if test "${enable_no_deps+set}" = set; then
5585 enableval=$enable_no_deps;
5586 if test "$enableval" = yes; then
5587 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5588 else
5589 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5590 fi
5591
5592 else
5593
5594 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5595 if test "x$LINE" != x ; then
5596 eval "DEFAULT_$LINE"
5597 else
5598 no_cache=1
5599 fi
5600
5601 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5602
5603 fi
5604
5605
5606 eval "$wx_cv_use_no_deps"
5607 if test "$no_cache" != 1; then
5608 echo $wx_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test x"$enablestring" = xdisable; then
5612 if test $wxUSE_NO_DEPS = yes; then
5613 result=no
5614 else
5615 result=yes
5616 fi
5617 else
5618 result=$wxUSE_NO_DEPS
5619 fi
5620
5621 { echo "$as_me:$LINENO: result: $result" >&5
5622 echo "${ECHO_T}$result" >&6; }
5623
5624
5625 enablestring=disable
5626 defaultval=
5627 if test -z "$defaultval"; then
5628 if test x"$enablestring" = xdisable; then
5629 defaultval=yes
5630 else
5631 defaultval=no
5632 fi
5633 fi
5634
5635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5636 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5637 no_cache=0
5638 # Check whether --enable-vararg_macros was given.
5639 if test "${enable_vararg_macros+set}" = set; then
5640 enableval=$enable_vararg_macros;
5641 if test "$enableval" = yes; then
5642 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5643 else
5644 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5645 fi
5646
5647 else
5648
5649 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5650 if test "x$LINE" != x ; then
5651 eval "DEFAULT_$LINE"
5652 else
5653 no_cache=1
5654 fi
5655
5656 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5657
5658 fi
5659
5660
5661 eval "$wx_cv_use_vararg_macros"
5662 if test "$no_cache" != 1; then
5663 echo $wx_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5664 fi
5665
5666 if test x"$enablestring" = xdisable; then
5667 if test $wxUSE_VARARG_MACROS = yes; then
5668 result=no
5669 else
5670 result=yes
5671 fi
5672 else
5673 result=$wxUSE_VARARG_MACROS
5674 fi
5675
5676 { echo "$as_me:$LINENO: result: $result" >&5
5677 echo "${ECHO_T}$result" >&6; }
5678
5679
5680 enablestring=
5681 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5682 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5683 no_cache=0
5684 # Check whether --enable-universal_binary was given.
5685 if test "${enable_universal_binary+set}" = set; then
5686 enableval=$enable_universal_binary;
5687 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5688
5689 else
5690
5691 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5692 if test "x$LINE" != x ; then
5693 eval "DEFAULT_$LINE"
5694 else
5695 no_cache=1
5696 fi
5697
5698 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5699
5700 fi
5701
5702
5703 eval "$wx_cv_use_universal_binary"
5704 if test "$no_cache" != 1; then
5705 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5706 fi
5707
5708 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5709 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5710
5711
5712
5713 enablestring=
5714 defaultval=
5715 if test -z "$defaultval"; then
5716 if test x"$enablestring" = xdisable; then
5717 defaultval=yes
5718 else
5719 defaultval=no
5720 fi
5721 fi
5722
5723 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5724 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5725 no_cache=0
5726 # Check whether --enable-compat26 was given.
5727 if test "${enable_compat26+set}" = set; then
5728 enableval=$enable_compat26;
5729 if test "$enableval" = yes; then
5730 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5731 else
5732 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5733 fi
5734
5735 else
5736
5737 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5738 if test "x$LINE" != x ; then
5739 eval "DEFAULT_$LINE"
5740 else
5741 no_cache=1
5742 fi
5743
5744 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5745
5746 fi
5747
5748
5749 eval "$wx_cv_use_compat26"
5750 if test "$no_cache" != 1; then
5751 echo $wx_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5752 fi
5753
5754 if test x"$enablestring" = xdisable; then
5755 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5756 result=no
5757 else
5758 result=yes
5759 fi
5760 else
5761 result=$WXWIN_COMPATIBILITY_2_6
5762 fi
5763
5764 { echo "$as_me:$LINENO: result: $result" >&5
5765 echo "${ECHO_T}$result" >&6; }
5766
5767
5768 enablestring=disable
5769 defaultval=
5770 if test -z "$defaultval"; then
5771 if test x"$enablestring" = xdisable; then
5772 defaultval=yes
5773 else
5774 defaultval=no
5775 fi
5776 fi
5777
5778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5779 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5780 no_cache=0
5781 # Check whether --enable-compat28 was given.
5782 if test "${enable_compat28+set}" = set; then
5783 enableval=$enable_compat28;
5784 if test "$enableval" = yes; then
5785 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5786 else
5787 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5788 fi
5789
5790 else
5791
5792 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5793 if test "x$LINE" != x ; then
5794 eval "DEFAULT_$LINE"
5795 else
5796 no_cache=1
5797 fi
5798
5799 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5800
5801 fi
5802
5803
5804 eval "$wx_cv_use_compat28"
5805 if test "$no_cache" != 1; then
5806 echo $wx_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5807 fi
5808
5809 if test x"$enablestring" = xdisable; then
5810 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5811 result=no
5812 else
5813 result=yes
5814 fi
5815 else
5816 result=$WXWIN_COMPATIBILITY_2_8
5817 fi
5818
5819 { echo "$as_me:$LINENO: result: $result" >&5
5820 echo "${ECHO_T}$result" >&6; }
5821
5822
5823
5824 enablestring=disable
5825 defaultval=
5826 if test -z "$defaultval"; then
5827 if test x"$enablestring" = xdisable; then
5828 defaultval=yes
5829 else
5830 defaultval=no
5831 fi
5832 fi
5833
5834 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5835 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5836 no_cache=0
5837 # Check whether --enable-rpath was given.
5838 if test "${enable_rpath+set}" = set; then
5839 enableval=$enable_rpath;
5840 if test "$enableval" = yes; then
5841 wx_cv_use_rpath='wxUSE_RPATH=yes'
5842 else
5843 wx_cv_use_rpath='wxUSE_RPATH=no'
5844 fi
5845
5846 else
5847
5848 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5849 if test "x$LINE" != x ; then
5850 eval "DEFAULT_$LINE"
5851 else
5852 no_cache=1
5853 fi
5854
5855 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5856
5857 fi
5858
5859
5860 eval "$wx_cv_use_rpath"
5861 if test "$no_cache" != 1; then
5862 echo $wx_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5863 fi
5864
5865 if test x"$enablestring" = xdisable; then
5866 if test $wxUSE_RPATH = yes; then
5867 result=no
5868 else
5869 result=yes
5870 fi
5871 else
5872 result=$wxUSE_RPATH
5873 fi
5874
5875 { echo "$as_me:$LINENO: result: $result" >&5
5876 echo "${ECHO_T}$result" >&6; }
5877
5878
5879
5880 enablestring=
5881 defaultval=
5882 if test -z "$defaultval"; then
5883 if test x"$enablestring" = xdisable; then
5884 defaultval=yes
5885 else
5886 defaultval=no
5887 fi
5888 fi
5889
5890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5891 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5892 no_cache=0
5893 # Check whether --enable-objc_uniquifying was given.
5894 if test "${enable_objc_uniquifying+set}" = set; then
5895 enableval=$enable_objc_uniquifying;
5896 if test "$enableval" = yes; then
5897 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5898 else
5899 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5900 fi
5901
5902 else
5903
5904 LINE=`grep "^wxUSE_OBJC_UNIQUIFYING=" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5907 else
5908 no_cache=1
5909 fi
5910
5911 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5912
5913 fi
5914
5915
5916 eval "$wx_cv_use_objc_uniquifying"
5917 if test "$no_cache" != 1; then
5918 echo $wx_cv_use_objc_uniquifying >> ${wx_arg_cache_file}.tmp
5919 fi
5920
5921 if test x"$enablestring" = xdisable; then
5922 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5923 result=no
5924 else
5925 result=yes
5926 fi
5927 else
5928 result=$wxUSE_OBJC_UNIQUIFYING
5929 fi
5930
5931 { echo "$as_me:$LINENO: result: $result" >&5
5932 echo "${ECHO_T}$result" >&6; }
5933
5934
5935
5936 enablestring=disable
5937 defaultval=
5938 if test -z "$defaultval"; then
5939 if test x"$enablestring" = xdisable; then
5940 defaultval=yes
5941 else
5942 defaultval=no
5943 fi
5944 fi
5945
5946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5947 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5948 no_cache=0
5949 # Check whether --enable-visibility was given.
5950 if test "${enable_visibility+set}" = set; then
5951 enableval=$enable_visibility;
5952 if test "$enableval" = yes; then
5953 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5954 else
5955 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5956 fi
5957
5958 else
5959
5960 LINE=`grep "^wxUSE_VISIBILITY=" ${wx_arg_cache_file}`
5961 if test "x$LINE" != x ; then
5962 eval "DEFAULT_$LINE"
5963 else
5964 no_cache=1
5965 fi
5966
5967 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5968
5969 fi
5970
5971
5972 eval "$wx_cv_use_visibility"
5973 if test "$no_cache" != 1; then
5974 echo $wx_cv_use_visibility >> ${wx_arg_cache_file}.tmp
5975 fi
5976
5977 if test x"$enablestring" = xdisable; then
5978 if test $wxUSE_VISIBILITY = yes; then
5979 result=no
5980 else
5981 result=yes
5982 fi
5983 else
5984 result=$wxUSE_VISIBILITY
5985 fi
5986
5987 { echo "$as_me:$LINENO: result: $result" >&5
5988 echo "${ECHO_T}$result" >&6; }
5989
5990
5991
5992
5993 enablestring=
5994 defaultval=$wxUSE_ALL_FEATURES
5995 if test -z "$defaultval"; then
5996 if test x"$enablestring" = xdisable; then
5997 defaultval=yes
5998 else
5999 defaultval=no
6000 fi
6001 fi
6002
6003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
6004 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
6005 no_cache=0
6006 # Check whether --enable-intl was given.
6007 if test "${enable_intl+set}" = set; then
6008 enableval=$enable_intl;
6009 if test "$enableval" = yes; then
6010 wx_cv_use_intl='wxUSE_INTL=yes'
6011 else
6012 wx_cv_use_intl='wxUSE_INTL=no'
6013 fi
6014
6015 else
6016
6017 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
6018 if test "x$LINE" != x ; then
6019 eval "DEFAULT_$LINE"
6020 else
6021 no_cache=1
6022 fi
6023
6024 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
6025
6026 fi
6027
6028
6029 eval "$wx_cv_use_intl"
6030 if test "$no_cache" != 1; then
6031 echo $wx_cv_use_intl >> ${wx_arg_cache_file}.tmp
6032 fi
6033
6034 if test x"$enablestring" = xdisable; then
6035 if test $wxUSE_INTL = yes; then
6036 result=no
6037 else
6038 result=yes
6039 fi
6040 else
6041 result=$wxUSE_INTL
6042 fi
6043
6044 { echo "$as_me:$LINENO: result: $result" >&5
6045 echo "${ECHO_T}$result" >&6; }
6046
6047
6048 enablestring=
6049 defaultval=$wxUSE_ALL_FEATURES
6050 if test -z "$defaultval"; then
6051 if test x"$enablestring" = xdisable; then
6052 defaultval=yes
6053 else
6054 defaultval=no
6055 fi
6056 fi
6057
6058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
6060 no_cache=0
6061 # Check whether --enable-config was given.
6062 if test "${enable_config+set}" = set; then
6063 enableval=$enable_config;
6064 if test "$enableval" = yes; then
6065 wx_cv_use_config='wxUSE_CONFIG=yes'
6066 else
6067 wx_cv_use_config='wxUSE_CONFIG=no'
6068 fi
6069
6070 else
6071
6072 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
6073 if test "x$LINE" != x ; then
6074 eval "DEFAULT_$LINE"
6075 else
6076 no_cache=1
6077 fi
6078
6079 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
6080
6081 fi
6082
6083
6084 eval "$wx_cv_use_config"
6085 if test "$no_cache" != 1; then
6086 echo $wx_cv_use_config >> ${wx_arg_cache_file}.tmp
6087 fi
6088
6089 if test x"$enablestring" = xdisable; then
6090 if test $wxUSE_CONFIG = yes; then
6091 result=no
6092 else
6093 result=yes
6094 fi
6095 else
6096 result=$wxUSE_CONFIG
6097 fi
6098
6099 { echo "$as_me:$LINENO: result: $result" >&5
6100 echo "${ECHO_T}$result" >&6; }
6101
6102
6103
6104 enablestring=
6105 defaultval=$wxUSE_ALL_FEATURES
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6108 defaultval=yes
6109 else
6110 defaultval=no
6111 fi
6112 fi
6113
6114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6116 no_cache=0
6117 # Check whether --enable-protocols was given.
6118 if test "${enable_protocols+set}" = set; then
6119 enableval=$enable_protocols;
6120 if test "$enableval" = yes; then
6121 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6122 else
6123 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6124 fi
6125
6126 else
6127
6128 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6131 else
6132 no_cache=1
6133 fi
6134
6135 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6136
6137 fi
6138
6139
6140 eval "$wx_cv_use_protocols"
6141 if test "$no_cache" != 1; then
6142 echo $wx_cv_use_protocols >> ${wx_arg_cache_file}.tmp
6143 fi
6144
6145 if test x"$enablestring" = xdisable; then
6146 if test $wxUSE_PROTOCOL = yes; then
6147 result=no
6148 else
6149 result=yes
6150 fi
6151 else
6152 result=$wxUSE_PROTOCOL
6153 fi
6154
6155 { echo "$as_me:$LINENO: result: $result" >&5
6156 echo "${ECHO_T}$result" >&6; }
6157
6158
6159 enablestring=
6160 defaultval=$wxUSE_ALL_FEATURES
6161 if test -z "$defaultval"; then
6162 if test x"$enablestring" = xdisable; then
6163 defaultval=yes
6164 else
6165 defaultval=no
6166 fi
6167 fi
6168
6169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6171 no_cache=0
6172 # Check whether --enable-ftp was given.
6173 if test "${enable_ftp+set}" = set; then
6174 enableval=$enable_ftp;
6175 if test "$enableval" = yes; then
6176 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6177 else
6178 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6179 fi
6180
6181 else
6182
6183 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6186 else
6187 no_cache=1
6188 fi
6189
6190 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6191
6192 fi
6193
6194
6195 eval "$wx_cv_use_ftp"
6196 if test "$no_cache" != 1; then
6197 echo $wx_cv_use_ftp >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test x"$enablestring" = xdisable; then
6201 if test $wxUSE_PROTOCOL_FTP = yes; then
6202 result=no
6203 else
6204 result=yes
6205 fi
6206 else
6207 result=$wxUSE_PROTOCOL_FTP
6208 fi
6209
6210 { echo "$as_me:$LINENO: result: $result" >&5
6211 echo "${ECHO_T}$result" >&6; }
6212
6213
6214 enablestring=
6215 defaultval=$wxUSE_ALL_FEATURES
6216 if test -z "$defaultval"; then
6217 if test x"$enablestring" = xdisable; then
6218 defaultval=yes
6219 else
6220 defaultval=no
6221 fi
6222 fi
6223
6224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6225 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6226 no_cache=0
6227 # Check whether --enable-http was given.
6228 if test "${enable_http+set}" = set; then
6229 enableval=$enable_http;
6230 if test "$enableval" = yes; then
6231 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6232 else
6233 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6234 fi
6235
6236 else
6237
6238 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
6239 if test "x$LINE" != x ; then
6240 eval "DEFAULT_$LINE"
6241 else
6242 no_cache=1
6243 fi
6244
6245 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6246
6247 fi
6248
6249
6250 eval "$wx_cv_use_http"
6251 if test "$no_cache" != 1; then
6252 echo $wx_cv_use_http >> ${wx_arg_cache_file}.tmp
6253 fi
6254
6255 if test x"$enablestring" = xdisable; then
6256 if test $wxUSE_PROTOCOL_HTTP = yes; then
6257 result=no
6258 else
6259 result=yes
6260 fi
6261 else
6262 result=$wxUSE_PROTOCOL_HTTP
6263 fi
6264
6265 { echo "$as_me:$LINENO: result: $result" >&5
6266 echo "${ECHO_T}$result" >&6; }
6267
6268
6269 enablestring=
6270 defaultval=$wxUSE_ALL_FEATURES
6271 if test -z "$defaultval"; then
6272 if test x"$enablestring" = xdisable; then
6273 defaultval=yes
6274 else
6275 defaultval=no
6276 fi
6277 fi
6278
6279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6280 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6281 no_cache=0
6282 # Check whether --enable-fileproto was given.
6283 if test "${enable_fileproto+set}" = set; then
6284 enableval=$enable_fileproto;
6285 if test "$enableval" = yes; then
6286 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6287 else
6288 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6289 fi
6290
6291 else
6292
6293 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
6294 if test "x$LINE" != x ; then
6295 eval "DEFAULT_$LINE"
6296 else
6297 no_cache=1
6298 fi
6299
6300 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6301
6302 fi
6303
6304
6305 eval "$wx_cv_use_fileproto"
6306 if test "$no_cache" != 1; then
6307 echo $wx_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
6308 fi
6309
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_PROTOCOL_FILE = yes; then
6312 result=no
6313 else
6314 result=yes
6315 fi
6316 else
6317 result=$wxUSE_PROTOCOL_FILE
6318 fi
6319
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6322
6323
6324 enablestring=
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6328 defaultval=yes
6329 else
6330 defaultval=no
6331 fi
6332 fi
6333
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6336 no_cache=0
6337 # Check whether --enable-sockets was given.
6338 if test "${enable_sockets+set}" = set; then
6339 enableval=$enable_sockets;
6340 if test "$enableval" = yes; then
6341 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6342 else
6343 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6344 fi
6345
6346 else
6347
6348 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
6349 if test "x$LINE" != x ; then
6350 eval "DEFAULT_$LINE"
6351 else
6352 no_cache=1
6353 fi
6354
6355 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6356
6357 fi
6358
6359
6360 eval "$wx_cv_use_sockets"
6361 if test "$no_cache" != 1; then
6362 echo $wx_cv_use_sockets >> ${wx_arg_cache_file}.tmp
6363 fi
6364
6365 if test x"$enablestring" = xdisable; then
6366 if test $wxUSE_SOCKETS = yes; then
6367 result=no
6368 else
6369 result=yes
6370 fi
6371 else
6372 result=$wxUSE_SOCKETS
6373 fi
6374
6375 { echo "$as_me:$LINENO: result: $result" >&5
6376 echo "${ECHO_T}$result" >&6; }
6377
6378
6379 enablestring=
6380 defaultval=$wxUSE_ALL_FEATURES
6381 if test -z "$defaultval"; then
6382 if test x"$enablestring" = xdisable; then
6383 defaultval=yes
6384 else
6385 defaultval=no
6386 fi
6387 fi
6388
6389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6391 no_cache=0
6392 # Check whether --enable-ole was given.
6393 if test "${enable_ole+set}" = set; then
6394 enableval=$enable_ole;
6395 if test "$enableval" = yes; then
6396 wx_cv_use_ole='wxUSE_OLE=yes'
6397 else
6398 wx_cv_use_ole='wxUSE_OLE=no'
6399 fi
6400
6401 else
6402
6403 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
6404 if test "x$LINE" != x ; then
6405 eval "DEFAULT_$LINE"
6406 else
6407 no_cache=1
6408 fi
6409
6410 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6411
6412 fi
6413
6414
6415 eval "$wx_cv_use_ole"
6416 if test "$no_cache" != 1; then
6417 echo $wx_cv_use_ole >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test x"$enablestring" = xdisable; then
6421 if test $wxUSE_OLE = yes; then
6422 result=no
6423 else
6424 result=yes
6425 fi
6426 else
6427 result=$wxUSE_OLE
6428 fi
6429
6430 { echo "$as_me:$LINENO: result: $result" >&5
6431 echo "${ECHO_T}$result" >&6; }
6432
6433
6434 enablestring=
6435 defaultval=$wxUSE_ALL_FEATURES
6436 if test -z "$defaultval"; then
6437 if test x"$enablestring" = xdisable; then
6438 defaultval=yes
6439 else
6440 defaultval=no
6441 fi
6442 fi
6443
6444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6445 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6446 no_cache=0
6447 # Check whether --enable-dataobj was given.
6448 if test "${enable_dataobj+set}" = set; then
6449 enableval=$enable_dataobj;
6450 if test "$enableval" = yes; then
6451 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6452 else
6453 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6454 fi
6455
6456 else
6457
6458 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
6459 if test "x$LINE" != x ; then
6460 eval "DEFAULT_$LINE"
6461 else
6462 no_cache=1
6463 fi
6464
6465 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6466
6467 fi
6468
6469
6470 eval "$wx_cv_use_dataobj"
6471 if test "$no_cache" != 1; then
6472 echo $wx_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
6473 fi
6474
6475 if test x"$enablestring" = xdisable; then
6476 if test $wxUSE_DATAOBJ = yes; then
6477 result=no
6478 else
6479 result=yes
6480 fi
6481 else
6482 result=$wxUSE_DATAOBJ
6483 fi
6484
6485 { echo "$as_me:$LINENO: result: $result" >&5
6486 echo "${ECHO_T}$result" >&6; }
6487
6488
6489
6490 enablestring=
6491 defaultval=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x"$enablestring" = xdisable; then
6494 defaultval=yes
6495 else
6496 defaultval=no
6497 fi
6498 fi
6499
6500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6501 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6502 no_cache=0
6503 # Check whether --enable-ipc was given.
6504 if test "${enable_ipc+set}" = set; then
6505 enableval=$enable_ipc;
6506 if test "$enableval" = yes; then
6507 wx_cv_use_ipc='wxUSE_IPC=yes'
6508 else
6509 wx_cv_use_ipc='wxUSE_IPC=no'
6510 fi
6511
6512 else
6513
6514 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
6515 if test "x$LINE" != x ; then
6516 eval "DEFAULT_$LINE"
6517 else
6518 no_cache=1
6519 fi
6520
6521 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6522
6523 fi
6524
6525
6526 eval "$wx_cv_use_ipc"
6527 if test "$no_cache" != 1; then
6528 echo $wx_cv_use_ipc >> ${wx_arg_cache_file}.tmp
6529 fi
6530
6531 if test x"$enablestring" = xdisable; then
6532 if test $wxUSE_IPC = yes; then
6533 result=no
6534 else
6535 result=yes
6536 fi
6537 else
6538 result=$wxUSE_IPC
6539 fi
6540
6541 { echo "$as_me:$LINENO: result: $result" >&5
6542 echo "${ECHO_T}$result" >&6; }
6543
6544
6545
6546 enablestring=
6547 defaultval=$wxUSE_ALL_FEATURES
6548 if test -z "$defaultval"; then
6549 if test x"$enablestring" = xdisable; then
6550 defaultval=yes
6551 else
6552 defaultval=no
6553 fi
6554 fi
6555
6556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6557 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6558 no_cache=0
6559 # Check whether --enable-baseevtloop was given.
6560 if test "${enable_baseevtloop+set}" = set; then
6561 enableval=$enable_baseevtloop;
6562 if test "$enableval" = yes; then
6563 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6564 else
6565 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6566 fi
6567
6568 else
6569
6570 LINE=`grep "^wxUSE_CONSOLE_EVENTLOOP=" ${wx_arg_cache_file}`
6571 if test "x$LINE" != x ; then
6572 eval "DEFAULT_$LINE"
6573 else
6574 no_cache=1
6575 fi
6576
6577 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6578
6579 fi
6580
6581
6582 eval "$wx_cv_use_baseevtloop"
6583 if test "$no_cache" != 1; then
6584 echo $wx_cv_use_baseevtloop >> ${wx_arg_cache_file}.tmp
6585 fi
6586
6587 if test x"$enablestring" = xdisable; then
6588 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6589 result=no
6590 else
6591 result=yes
6592 fi
6593 else
6594 result=$wxUSE_CONSOLE_EVENTLOOP
6595 fi
6596
6597 { echo "$as_me:$LINENO: result: $result" >&5
6598 echo "${ECHO_T}$result" >&6; }
6599
6600
6601 enablestring=
6602 defaultval=$wxUSE_ALL_FEATURES
6603 if test -z "$defaultval"; then
6604 if test x"$enablestring" = xdisable; then
6605 defaultval=yes
6606 else
6607 defaultval=no
6608 fi
6609 fi
6610
6611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epoolloop" >&5
6612 echo $ECHO_N "checking for --${enablestring:-enable}-epoolloop... $ECHO_C" >&6; }
6613 no_cache=0
6614 # Check whether --enable-epoolloop was given.
6615 if test "${enable_epoolloop+set}" = set; then
6616 enableval=$enable_epoolloop;
6617 if test "$enableval" = yes; then
6618 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=yes'
6619 else
6620 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=no'
6621 fi
6622
6623 else
6624
6625 LINE=`grep "^wxUSE_EPOLL_DISPATCHER=" ${wx_arg_cache_file}`
6626 if test "x$LINE" != x ; then
6627 eval "DEFAULT_$LINE"
6628 else
6629 no_cache=1
6630 fi
6631
6632 wx_cv_use_epoolloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6633
6634 fi
6635
6636
6637 eval "$wx_cv_use_epoolloop"
6638 if test "$no_cache" != 1; then
6639 echo $wx_cv_use_epoolloop >> ${wx_arg_cache_file}.tmp
6640 fi
6641
6642 if test x"$enablestring" = xdisable; then
6643 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6644 result=no
6645 else
6646 result=yes
6647 fi
6648 else
6649 result=$wxUSE_EPOLL_DISPATCHER
6650 fi
6651
6652 { echo "$as_me:$LINENO: result: $result" >&5
6653 echo "${ECHO_T}$result" >&6; }
6654
6655
6656 enablestring=
6657 defaultval=$wxUSE_ALL_FEATURES
6658 if test -z "$defaultval"; then
6659 if test x"$enablestring" = xdisable; then
6660 defaultval=yes
6661 else
6662 defaultval=no
6663 fi
6664 fi
6665
6666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6667 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6668 no_cache=0
6669 # Check whether --enable-selectloop was given.
6670 if test "${enable_selectloop+set}" = set; then
6671 enableval=$enable_selectloop;
6672 if test "$enableval" = yes; then
6673 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6674 else
6675 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6676 fi
6677
6678 else
6679
6680 LINE=`grep "^wxUSE_SELECT_DISPATCHER=" ${wx_arg_cache_file}`
6681 if test "x$LINE" != x ; then
6682 eval "DEFAULT_$LINE"
6683 else
6684 no_cache=1
6685 fi
6686
6687 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6688
6689 fi
6690
6691
6692 eval "$wx_cv_use_selectloop"
6693 if test "$no_cache" != 1; then
6694 echo $wx_cv_use_selectloop >> ${wx_arg_cache_file}.tmp
6695 fi
6696
6697 if test x"$enablestring" = xdisable; then
6698 if test $wxUSE_SELECT_DISPATCHER = yes; then
6699 result=no
6700 else
6701 result=yes
6702 fi
6703 else
6704 result=$wxUSE_SELECT_DISPATCHER
6705 fi
6706
6707 { echo "$as_me:$LINENO: result: $result" >&5
6708 echo "${ECHO_T}$result" >&6; }
6709
6710
6711
6712 enablestring=
6713 defaultval=$wxUSE_ALL_FEATURES
6714 if test -z "$defaultval"; then
6715 if test x"$enablestring" = xdisable; then
6716 defaultval=yes
6717 else
6718 defaultval=no
6719 fi
6720 fi
6721
6722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6723 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6724 no_cache=0
6725 # Check whether --enable-apple_ieee was given.
6726 if test "${enable_apple_ieee+set}" = set; then
6727 enableval=$enable_apple_ieee;
6728 if test "$enableval" = yes; then
6729 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6730 else
6731 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6732 fi
6733
6734 else
6735
6736 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
6737 if test "x$LINE" != x ; then
6738 eval "DEFAULT_$LINE"
6739 else
6740 no_cache=1
6741 fi
6742
6743 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6744
6745 fi
6746
6747
6748 eval "$wx_cv_use_apple_ieee"
6749 if test "$no_cache" != 1; then
6750 echo $wx_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
6751 fi
6752
6753 if test x"$enablestring" = xdisable; then
6754 if test $wxUSE_APPLE_IEEE = yes; then
6755 result=no
6756 else
6757 result=yes
6758 fi
6759 else
6760 result=$wxUSE_APPLE_IEEE
6761 fi
6762
6763 { echo "$as_me:$LINENO: result: $result" >&5
6764 echo "${ECHO_T}$result" >&6; }
6765
6766
6767 enablestring=
6768 defaultval=$wxUSE_ALL_FEATURES
6769 if test -z "$defaultval"; then
6770 if test x"$enablestring" = xdisable; then
6771 defaultval=yes
6772 else
6773 defaultval=no
6774 fi
6775 fi
6776
6777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6779 no_cache=0
6780 # Check whether --enable-arcstream was given.
6781 if test "${enable_arcstream+set}" = set; then
6782 enableval=$enable_arcstream;
6783 if test "$enableval" = yes; then
6784 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6785 else
6786 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6787 fi
6788
6789 else
6790
6791 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
6792 if test "x$LINE" != x ; then
6793 eval "DEFAULT_$LINE"
6794 else
6795 no_cache=1
6796 fi
6797
6798 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6799
6800 fi
6801
6802
6803 eval "$wx_cv_use_arcstream"
6804 if test "$no_cache" != 1; then
6805 echo $wx_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
6806 fi
6807
6808 if test x"$enablestring" = xdisable; then
6809 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6810 result=no
6811 else
6812 result=yes
6813 fi
6814 else
6815 result=$wxUSE_ARCHIVE_STREAMS
6816 fi
6817
6818 { echo "$as_me:$LINENO: result: $result" >&5
6819 echo "${ECHO_T}$result" >&6; }
6820
6821
6822 enablestring=
6823 defaultval=$wxUSE_ALL_FEATURES
6824 if test -z "$defaultval"; then
6825 if test x"$enablestring" = xdisable; then
6826 defaultval=yes
6827 else
6828 defaultval=no
6829 fi
6830 fi
6831
6832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6833 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6834 no_cache=0
6835 # Check whether --enable-base64 was given.
6836 if test "${enable_base64+set}" = set; then
6837 enableval=$enable_base64;
6838 if test "$enableval" = yes; then
6839 wx_cv_use_base64='wxUSE_BASE64=yes'
6840 else
6841 wx_cv_use_base64='wxUSE_BASE64=no'
6842 fi
6843
6844 else
6845
6846 LINE=`grep "^wxUSE_BASE64=" ${wx_arg_cache_file}`
6847 if test "x$LINE" != x ; then
6848 eval "DEFAULT_$LINE"
6849 else
6850 no_cache=1
6851 fi
6852
6853 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6854
6855 fi
6856
6857
6858 eval "$wx_cv_use_base64"
6859 if test "$no_cache" != 1; then
6860 echo $wx_cv_use_base64 >> ${wx_arg_cache_file}.tmp
6861 fi
6862
6863 if test x"$enablestring" = xdisable; then
6864 if test $wxUSE_BASE64 = yes; then
6865 result=no
6866 else
6867 result=yes
6868 fi
6869 else
6870 result=$wxUSE_BASE64
6871 fi
6872
6873 { echo "$as_me:$LINENO: result: $result" >&5
6874 echo "${ECHO_T}$result" >&6; }
6875
6876
6877 enablestring=
6878 defaultval=$wxUSE_ALL_FEATURES
6879 if test -z "$defaultval"; then
6880 if test x"$enablestring" = xdisable; then
6881 defaultval=yes
6882 else
6883 defaultval=no
6884 fi
6885 fi
6886
6887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6888 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6889 no_cache=0
6890 # Check whether --enable-backtrace was given.
6891 if test "${enable_backtrace+set}" = set; then
6892 enableval=$enable_backtrace;
6893 if test "$enableval" = yes; then
6894 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6895 else
6896 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6897 fi
6898
6899 else
6900
6901 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
6902 if test "x$LINE" != x ; then
6903 eval "DEFAULT_$LINE"
6904 else
6905 no_cache=1
6906 fi
6907
6908 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6909
6910 fi
6911
6912
6913 eval "$wx_cv_use_backtrace"
6914 if test "$no_cache" != 1; then
6915 echo $wx_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
6916 fi
6917
6918 if test x"$enablestring" = xdisable; then
6919 if test $wxUSE_STACKWALKER = yes; then
6920 result=no
6921 else
6922 result=yes
6923 fi
6924 else
6925 result=$wxUSE_STACKWALKER
6926 fi
6927
6928 { echo "$as_me:$LINENO: result: $result" >&5
6929 echo "${ECHO_T}$result" >&6; }
6930
6931
6932 enablestring=
6933 defaultval=$wxUSE_ALL_FEATURES
6934 if test -z "$defaultval"; then
6935 if test x"$enablestring" = xdisable; then
6936 defaultval=yes
6937 else
6938 defaultval=no
6939 fi
6940 fi
6941
6942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6943 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6944 no_cache=0
6945 # Check whether --enable-catch_segvs was given.
6946 if test "${enable_catch_segvs+set}" = set; then
6947 enableval=$enable_catch_segvs;
6948 if test "$enableval" = yes; then
6949 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6950 else
6951 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6952 fi
6953
6954 else
6955
6956 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x ; then
6958 eval "DEFAULT_$LINE"
6959 else
6960 no_cache=1
6961 fi
6962
6963 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6964
6965 fi
6966
6967
6968 eval "$wx_cv_use_catch_segvs"
6969 if test "$no_cache" != 1; then
6970 echo $wx_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
6971 fi
6972
6973 if test x"$enablestring" = xdisable; then
6974 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6975 result=no
6976 else
6977 result=yes
6978 fi
6979 else
6980 result=$wxUSE_ON_FATAL_EXCEPTION
6981 fi
6982
6983 { echo "$as_me:$LINENO: result: $result" >&5
6984 echo "${ECHO_T}$result" >&6; }
6985
6986
6987 enablestring=
6988 defaultval=$wxUSE_ALL_FEATURES
6989 if test -z "$defaultval"; then
6990 if test x"$enablestring" = xdisable; then
6991 defaultval=yes
6992 else
6993 defaultval=no
6994 fi
6995 fi
6996
6997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6998 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6999 no_cache=0
7000 # Check whether --enable-cmdline was given.
7001 if test "${enable_cmdline+set}" = set; then
7002 enableval=$enable_cmdline;
7003 if test "$enableval" = yes; then
7004 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
7005 else
7006 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
7007 fi
7008
7009 else
7010
7011 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
7012 if test "x$LINE" != x ; then
7013 eval "DEFAULT_$LINE"
7014 else
7015 no_cache=1
7016 fi
7017
7018 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
7019
7020 fi
7021
7022
7023 eval "$wx_cv_use_cmdline"
7024 if test "$no_cache" != 1; then
7025 echo $wx_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
7026 fi
7027
7028 if test x"$enablestring" = xdisable; then
7029 if test $wxUSE_CMDLINE_PARSER = yes; then
7030 result=no
7031 else
7032 result=yes
7033 fi
7034 else
7035 result=$wxUSE_CMDLINE_PARSER
7036 fi
7037
7038 { echo "$as_me:$LINENO: result: $result" >&5
7039 echo "${ECHO_T}$result" >&6; }
7040
7041
7042 enablestring=
7043 defaultval=$wxUSE_ALL_FEATURES
7044 if test -z "$defaultval"; then
7045 if test x"$enablestring" = xdisable; then
7046 defaultval=yes
7047 else
7048 defaultval=no
7049 fi
7050 fi
7051
7052 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
7053 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
7054 no_cache=0
7055 # Check whether --enable-datetime was given.
7056 if test "${enable_datetime+set}" = set; then
7057 enableval=$enable_datetime;
7058 if test "$enableval" = yes; then
7059 wx_cv_use_datetime='wxUSE_DATETIME=yes'
7060 else
7061 wx_cv_use_datetime='wxUSE_DATETIME=no'
7062 fi
7063
7064 else
7065
7066 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
7067 if test "x$LINE" != x ; then
7068 eval "DEFAULT_$LINE"
7069 else
7070 no_cache=1
7071 fi
7072
7073 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
7074
7075 fi
7076
7077
7078 eval "$wx_cv_use_datetime"
7079 if test "$no_cache" != 1; then
7080 echo $wx_cv_use_datetime >> ${wx_arg_cache_file}.tmp
7081 fi
7082
7083 if test x"$enablestring" = xdisable; then
7084 if test $wxUSE_DATETIME = yes; then
7085 result=no
7086 else
7087 result=yes
7088 fi
7089 else
7090 result=$wxUSE_DATETIME
7091 fi
7092
7093 { echo "$as_me:$LINENO: result: $result" >&5
7094 echo "${ECHO_T}$result" >&6; }
7095
7096
7097 enablestring=
7098 defaultval=$wxUSE_ALL_FEATURES
7099 if test -z "$defaultval"; then
7100 if test x"$enablestring" = xdisable; then
7101 defaultval=yes
7102 else
7103 defaultval=no
7104 fi
7105 fi
7106
7107 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
7108 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
7109 no_cache=0
7110 # Check whether --enable-debugreport was given.
7111 if test "${enable_debugreport+set}" = set; then
7112 enableval=$enable_debugreport;
7113 if test "$enableval" = yes; then
7114 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
7115 else
7116 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
7117 fi
7118
7119 else
7120
7121 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
7122 if test "x$LINE" != x ; then
7123 eval "DEFAULT_$LINE"
7124 else
7125 no_cache=1
7126 fi
7127
7128 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
7129
7130 fi
7131
7132
7133 eval "$wx_cv_use_debugreport"
7134 if test "$no_cache" != 1; then
7135 echo $wx_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
7136 fi
7137
7138 if test x"$enablestring" = xdisable; then
7139 if test $wxUSE_DEBUGREPORT = yes; then
7140 result=no
7141 else
7142 result=yes
7143 fi
7144 else
7145 result=$wxUSE_DEBUGREPORT
7146 fi
7147
7148 { echo "$as_me:$LINENO: result: $result" >&5
7149 echo "${ECHO_T}$result" >&6; }
7150
7151
7152 enablestring=
7153 defaultval=$wxUSE_ALL_FEATURES
7154 if test -z "$defaultval"; then
7155 if test x"$enablestring" = xdisable; then
7156 defaultval=yes
7157 else
7158 defaultval=no
7159 fi
7160 fi
7161
7162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
7163 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
7164 no_cache=0
7165 # Check whether --enable-dialupman was given.
7166 if test "${enable_dialupman+set}" = set; then
7167 enableval=$enable_dialupman;
7168 if test "$enableval" = yes; then
7169 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
7170 else
7171 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
7172 fi
7173
7174 else
7175
7176 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
7177 if test "x$LINE" != x ; then
7178 eval "DEFAULT_$LINE"
7179 else
7180 no_cache=1
7181 fi
7182
7183 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
7184
7185 fi
7186
7187
7188 eval "$wx_cv_use_dialupman"
7189 if test "$no_cache" != 1; then
7190 echo $wx_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
7191 fi
7192
7193 if test x"$enablestring" = xdisable; then
7194 if test $wxUSE_DIALUP_MANAGER = yes; then
7195 result=no
7196 else
7197 result=yes
7198 fi
7199 else
7200 result=$wxUSE_DIALUP_MANAGER
7201 fi
7202
7203 { echo "$as_me:$LINENO: result: $result" >&5
7204 echo "${ECHO_T}$result" >&6; }
7205
7206
7207 enablestring=
7208 defaultval=$wxUSE_ALL_FEATURES
7209 if test -z "$defaultval"; then
7210 if test x"$enablestring" = xdisable; then
7211 defaultval=yes
7212 else
7213 defaultval=no
7214 fi
7215 fi
7216
7217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
7219 no_cache=0
7220 # Check whether --enable-dynlib was given.
7221 if test "${enable_dynlib+set}" = set; then
7222 enableval=$enable_dynlib;
7223 if test "$enableval" = yes; then
7224 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7225 else
7226 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7227 fi
7228
7229 else
7230
7231 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
7232 if test "x$LINE" != x ; then
7233 eval "DEFAULT_$LINE"
7234 else
7235 no_cache=1
7236 fi
7237
7238 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7239
7240 fi
7241
7242
7243 eval "$wx_cv_use_dynlib"
7244 if test "$no_cache" != 1; then
7245 echo $wx_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test x"$enablestring" = xdisable; then
7249 if test $wxUSE_DYNLIB_CLASS = yes; then
7250 result=no
7251 else
7252 result=yes
7253 fi
7254 else
7255 result=$wxUSE_DYNLIB_CLASS
7256 fi
7257
7258 { echo "$as_me:$LINENO: result: $result" >&5
7259 echo "${ECHO_T}$result" >&6; }
7260
7261
7262 enablestring=
7263 defaultval=$wxUSE_ALL_FEATURES
7264 if test -z "$defaultval"; then
7265 if test x"$enablestring" = xdisable; then
7266 defaultval=yes
7267 else
7268 defaultval=no
7269 fi
7270 fi
7271
7272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7273 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7274 no_cache=0
7275 # Check whether --enable-dynamicloader was given.
7276 if test "${enable_dynamicloader+set}" = set; then
7277 enableval=$enable_dynamicloader;
7278 if test "$enableval" = yes; then
7279 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7280 else
7281 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7282 fi
7283
7284 else
7285
7286 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
7287 if test "x$LINE" != x ; then
7288 eval "DEFAULT_$LINE"
7289 else
7290 no_cache=1
7291 fi
7292
7293 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7294
7295 fi
7296
7297
7298 eval "$wx_cv_use_dynamicloader"
7299 if test "$no_cache" != 1; then
7300 echo $wx_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
7301 fi
7302
7303 if test x"$enablestring" = xdisable; then
7304 if test $wxUSE_DYNAMIC_LOADER = yes; then
7305 result=no
7306 else
7307 result=yes
7308 fi
7309 else
7310 result=$wxUSE_DYNAMIC_LOADER
7311 fi
7312
7313 { echo "$as_me:$LINENO: result: $result" >&5
7314 echo "${ECHO_T}$result" >&6; }
7315
7316
7317 enablestring=
7318 defaultval=$wxUSE_ALL_FEATURES
7319 if test -z "$defaultval"; then
7320 if test x"$enablestring" = xdisable; then
7321 defaultval=yes
7322 else
7323 defaultval=no
7324 fi
7325 fi
7326
7327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7328 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7329 no_cache=0
7330 # Check whether --enable-exceptions was given.
7331 if test "${enable_exceptions+set}" = set; then
7332 enableval=$enable_exceptions;
7333 if test "$enableval" = yes; then
7334 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7335 else
7336 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7337 fi
7338
7339 else
7340
7341 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
7342 if test "x$LINE" != x ; then
7343 eval "DEFAULT_$LINE"
7344 else
7345 no_cache=1
7346 fi
7347
7348 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7349
7350 fi
7351
7352
7353 eval "$wx_cv_use_exceptions"
7354 if test "$no_cache" != 1; then
7355 echo $wx_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
7356 fi
7357
7358 if test x"$enablestring" = xdisable; then
7359 if test $wxUSE_EXCEPTIONS = yes; then
7360 result=no
7361 else
7362 result=yes
7363 fi
7364 else
7365 result=$wxUSE_EXCEPTIONS
7366 fi
7367
7368 { echo "$as_me:$LINENO: result: $result" >&5
7369 echo "${ECHO_T}$result" >&6; }
7370
7371
7372 enablestring=
7373 defaultval=$wxUSE_ALL_FEATURES
7374 if test -z "$defaultval"; then
7375 if test x"$enablestring" = xdisable; then
7376 defaultval=yes
7377 else
7378 defaultval=no
7379 fi
7380 fi
7381
7382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7383 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7384 no_cache=0
7385 # Check whether --enable-ffile was given.
7386 if test "${enable_ffile+set}" = set; then
7387 enableval=$enable_ffile;
7388 if test "$enableval" = yes; then
7389 wx_cv_use_ffile='wxUSE_FFILE=yes'
7390 else
7391 wx_cv_use_ffile='wxUSE_FFILE=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7404
7405 fi
7406
7407
7408 eval "$wx_cv_use_ffile"
7409 if test "$no_cache" != 1; then
7410 echo $wx_cv_use_ffile >> ${wx_arg_cache_file}.tmp
7411 fi
7412
7413 if test x"$enablestring" = xdisable; then
7414 if test $wxUSE_FFILE = yes; then
7415 result=no
7416 else
7417 result=yes
7418 fi
7419 else
7420 result=$wxUSE_FFILE
7421 fi
7422
7423 { echo "$as_me:$LINENO: result: $result" >&5
7424 echo "${ECHO_T}$result" >&6; }
7425
7426
7427 enablestring=
7428 defaultval=$wxUSE_ALL_FEATURES
7429 if test -z "$defaultval"; then
7430 if test x"$enablestring" = xdisable; then
7431 defaultval=yes
7432 else
7433 defaultval=no
7434 fi
7435 fi
7436
7437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7439 no_cache=0
7440 # Check whether --enable-file was given.
7441 if test "${enable_file+set}" = set; then
7442 enableval=$enable_file;
7443 if test "$enableval" = yes; then
7444 wx_cv_use_file='wxUSE_FILE=yes'
7445 else
7446 wx_cv_use_file='wxUSE_FILE=no'
7447 fi
7448
7449 else
7450
7451 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
7452 if test "x$LINE" != x ; then
7453 eval "DEFAULT_$LINE"
7454 else
7455 no_cache=1
7456 fi
7457
7458 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7459
7460 fi
7461
7462
7463 eval "$wx_cv_use_file"
7464 if test "$no_cache" != 1; then
7465 echo $wx_cv_use_file >> ${wx_arg_cache_file}.tmp
7466 fi
7467
7468 if test x"$enablestring" = xdisable; then
7469 if test $wxUSE_FILE = yes; then
7470 result=no
7471 else
7472 result=yes
7473 fi
7474 else
7475 result=$wxUSE_FILE
7476 fi
7477
7478 { echo "$as_me:$LINENO: result: $result" >&5
7479 echo "${ECHO_T}$result" >&6; }
7480
7481
7482 enablestring=
7483 defaultval=$wxUSE_ALL_FEATURES
7484 if test -z "$defaultval"; then
7485 if test x"$enablestring" = xdisable; then
7486 defaultval=yes
7487 else
7488 defaultval=no
7489 fi
7490 fi
7491
7492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7493 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7494 no_cache=0
7495 # Check whether --enable-filesystem was given.
7496 if test "${enable_filesystem+set}" = set; then
7497 enableval=$enable_filesystem;
7498 if test "$enableval" = yes; then
7499 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7500 else
7501 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7502 fi
7503
7504 else
7505
7506 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
7507 if test "x$LINE" != x ; then
7508 eval "DEFAULT_$LINE"
7509 else
7510 no_cache=1
7511 fi
7512
7513 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7514
7515 fi
7516
7517
7518 eval "$wx_cv_use_filesystem"
7519 if test "$no_cache" != 1; then
7520 echo $wx_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
7521 fi
7522
7523 if test x"$enablestring" = xdisable; then
7524 if test $wxUSE_FILESYSTEM = yes; then
7525 result=no
7526 else
7527 result=yes
7528 fi
7529 else
7530 result=$wxUSE_FILESYSTEM
7531 fi
7532
7533 { echo "$as_me:$LINENO: result: $result" >&5
7534 echo "${ECHO_T}$result" >&6; }
7535
7536
7537 enablestring=
7538 defaultval=$wxUSE_ALL_FEATURES
7539 if test -z "$defaultval"; then
7540 if test x"$enablestring" = xdisable; then
7541 defaultval=yes
7542 else
7543 defaultval=no
7544 fi
7545 fi
7546
7547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7548 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7549 no_cache=0
7550 # Check whether --enable-fontmap was given.
7551 if test "${enable_fontmap+set}" = set; then
7552 enableval=$enable_fontmap;
7553 if test "$enableval" = yes; then
7554 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7555 else
7556 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7557 fi
7558
7559 else
7560
7561 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x ; then
7563 eval "DEFAULT_$LINE"
7564 else
7565 no_cache=1
7566 fi
7567
7568 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7569
7570 fi
7571
7572
7573 eval "$wx_cv_use_fontmap"
7574 if test "$no_cache" != 1; then
7575 echo $wx_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
7576 fi
7577
7578 if test x"$enablestring" = xdisable; then
7579 if test $wxUSE_FONTMAP = yes; then
7580 result=no
7581 else
7582 result=yes
7583 fi
7584 else
7585 result=$wxUSE_FONTMAP
7586 fi
7587
7588 { echo "$as_me:$LINENO: result: $result" >&5
7589 echo "${ECHO_T}$result" >&6; }
7590
7591
7592 enablestring=
7593 defaultval=$wxUSE_ALL_FEATURES
7594 if test -z "$defaultval"; then
7595 if test x"$enablestring" = xdisable; then
7596 defaultval=yes
7597 else
7598 defaultval=no
7599 fi
7600 fi
7601
7602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7604 no_cache=0
7605 # Check whether --enable-fs_archive was given.
7606 if test "${enable_fs_archive+set}" = set; then
7607 enableval=$enable_fs_archive;
7608 if test "$enableval" = yes; then
7609 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7610 else
7611 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7612 fi
7613
7614 else
7615
7616 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7619 else
7620 no_cache=1
7621 fi
7622
7623 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7624
7625 fi
7626
7627
7628 eval "$wx_cv_use_fs_archive"
7629 if test "$no_cache" != 1; then
7630 echo $wx_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
7631 fi
7632
7633 if test x"$enablestring" = xdisable; then
7634 if test $wxUSE_FS_ARCHIVE = yes; then
7635 result=no
7636 else
7637 result=yes
7638 fi
7639 else
7640 result=$wxUSE_FS_ARCHIVE
7641 fi
7642
7643 { echo "$as_me:$LINENO: result: $result" >&5
7644 echo "${ECHO_T}$result" >&6; }
7645
7646
7647 enablestring=
7648 defaultval=$wxUSE_ALL_FEATURES
7649 if test -z "$defaultval"; then
7650 if test x"$enablestring" = xdisable; then
7651 defaultval=yes
7652 else
7653 defaultval=no
7654 fi
7655 fi
7656
7657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7659 no_cache=0
7660 # Check whether --enable-fs_inet was given.
7661 if test "${enable_fs_inet+set}" = set; then
7662 enableval=$enable_fs_inet;
7663 if test "$enableval" = yes; then
7664 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7665 else
7666 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7667 fi
7668
7669 else
7670
7671 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
7672 if test "x$LINE" != x ; then
7673 eval "DEFAULT_$LINE"
7674 else
7675 no_cache=1
7676 fi
7677
7678 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7679
7680 fi
7681
7682
7683 eval "$wx_cv_use_fs_inet"
7684 if test "$no_cache" != 1; then
7685 echo $wx_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
7686 fi
7687
7688 if test x"$enablestring" = xdisable; then
7689 if test $wxUSE_FS_INET = yes; then
7690 result=no
7691 else
7692 result=yes
7693 fi
7694 else
7695 result=$wxUSE_FS_INET
7696 fi
7697
7698 { echo "$as_me:$LINENO: result: $result" >&5
7699 echo "${ECHO_T}$result" >&6; }
7700
7701
7702 enablestring=
7703 defaultval=$wxUSE_ALL_FEATURES
7704 if test -z "$defaultval"; then
7705 if test x"$enablestring" = xdisable; then
7706 defaultval=yes
7707 else
7708 defaultval=no
7709 fi
7710 fi
7711
7712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7713 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7714 no_cache=0
7715 # Check whether --enable-fs_zip was given.
7716 if test "${enable_fs_zip+set}" = set; then
7717 enableval=$enable_fs_zip;
7718 if test "$enableval" = yes; then
7719 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7720 else
7721 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7722 fi
7723
7724 else
7725
7726 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
7727 if test "x$LINE" != x ; then
7728 eval "DEFAULT_$LINE"
7729 else
7730 no_cache=1
7731 fi
7732
7733 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7734
7735 fi
7736
7737
7738 eval "$wx_cv_use_fs_zip"
7739 if test "$no_cache" != 1; then
7740 echo $wx_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
7741 fi
7742
7743 if test x"$enablestring" = xdisable; then
7744 if test $wxUSE_FS_ZIP = yes; then
7745 result=no
7746 else
7747 result=yes
7748 fi
7749 else
7750 result=$wxUSE_FS_ZIP
7751 fi
7752
7753 { echo "$as_me:$LINENO: result: $result" >&5
7754 echo "${ECHO_T}$result" >&6; }
7755
7756
7757 enablestring=
7758 defaultval=$wxUSE_ALL_FEATURES
7759 if test -z "$defaultval"; then
7760 if test x"$enablestring" = xdisable; then
7761 defaultval=yes
7762 else
7763 defaultval=no
7764 fi
7765 fi
7766
7767 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7768 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7769 no_cache=0
7770 # Check whether --enable-geometry was given.
7771 if test "${enable_geometry+set}" = set; then
7772 enableval=$enable_geometry;
7773 if test "$enableval" = yes; then
7774 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7775 else
7776 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7777 fi
7778
7779 else
7780
7781 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
7782 if test "x$LINE" != x ; then
7783 eval "DEFAULT_$LINE"
7784 else
7785 no_cache=1
7786 fi
7787
7788 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7789
7790 fi
7791
7792
7793 eval "$wx_cv_use_geometry"
7794 if test "$no_cache" != 1; then
7795 echo $wx_cv_use_geometry >> ${wx_arg_cache_file}.tmp
7796 fi
7797
7798 if test x"$enablestring" = xdisable; then
7799 if test $wxUSE_GEOMETRY = yes; then
7800 result=no
7801 else
7802 result=yes
7803 fi
7804 else
7805 result=$wxUSE_GEOMETRY
7806 fi
7807
7808 { echo "$as_me:$LINENO: result: $result" >&5
7809 echo "${ECHO_T}$result" >&6; }
7810
7811
7812 enablestring=
7813 defaultval=$wxUSE_ALL_FEATURES
7814 if test -z "$defaultval"; then
7815 if test x"$enablestring" = xdisable; then
7816 defaultval=yes
7817 else
7818 defaultval=no
7819 fi
7820 fi
7821
7822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7823 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7824 no_cache=0
7825 # Check whether --enable-log was given.
7826 if test "${enable_log+set}" = set; then
7827 enableval=$enable_log;
7828 if test "$enableval" = yes; then
7829 wx_cv_use_log='wxUSE_LOG=yes'
7830 else
7831 wx_cv_use_log='wxUSE_LOG=no'
7832 fi
7833
7834 else
7835
7836 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
7837 if test "x$LINE" != x ; then
7838 eval "DEFAULT_$LINE"
7839 else
7840 no_cache=1
7841 fi
7842
7843 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7844
7845 fi
7846
7847
7848 eval "$wx_cv_use_log"
7849 if test "$no_cache" != 1; then
7850 echo $wx_cv_use_log >> ${wx_arg_cache_file}.tmp
7851 fi
7852
7853 if test x"$enablestring" = xdisable; then
7854 if test $wxUSE_LOG = yes; then
7855 result=no
7856 else
7857 result=yes
7858 fi
7859 else
7860 result=$wxUSE_LOG
7861 fi
7862
7863 { echo "$as_me:$LINENO: result: $result" >&5
7864 echo "${ECHO_T}$result" >&6; }
7865
7866
7867 enablestring=
7868 defaultval=$wxUSE_ALL_FEATURES
7869 if test -z "$defaultval"; then
7870 if test x"$enablestring" = xdisable; then
7871 defaultval=yes
7872 else
7873 defaultval=no
7874 fi
7875 fi
7876
7877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7879 no_cache=0
7880 # Check whether --enable-longlong was given.
7881 if test "${enable_longlong+set}" = set; then
7882 enableval=$enable_longlong;
7883 if test "$enableval" = yes; then
7884 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7885 else
7886 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7887 fi
7888
7889 else
7890
7891 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x ; then
7893 eval "DEFAULT_$LINE"
7894 else
7895 no_cache=1
7896 fi
7897
7898 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7899
7900 fi
7901
7902
7903 eval "$wx_cv_use_longlong"
7904 if test "$no_cache" != 1; then
7905 echo $wx_cv_use_longlong >> ${wx_arg_cache_file}.tmp
7906 fi
7907
7908 if test x"$enablestring" = xdisable; then
7909 if test $wxUSE_LONGLONG = yes; then
7910 result=no
7911 else
7912 result=yes
7913 fi
7914 else
7915 result=$wxUSE_LONGLONG
7916 fi
7917
7918 { echo "$as_me:$LINENO: result: $result" >&5
7919 echo "${ECHO_T}$result" >&6; }
7920
7921
7922 enablestring=
7923 defaultval=$wxUSE_ALL_FEATURES
7924 if test -z "$defaultval"; then
7925 if test x"$enablestring" = xdisable; then
7926 defaultval=yes
7927 else
7928 defaultval=no
7929 fi
7930 fi
7931
7932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7933 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7934 no_cache=0
7935 # Check whether --enable-mimetype was given.
7936 if test "${enable_mimetype+set}" = set; then
7937 enableval=$enable_mimetype;
7938 if test "$enableval" = yes; then
7939 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7940 else
7941 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7942 fi
7943
7944 else
7945
7946 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
7947 if test "x$LINE" != x ; then
7948 eval "DEFAULT_$LINE"
7949 else
7950 no_cache=1
7951 fi
7952
7953 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7954
7955 fi
7956
7957
7958 eval "$wx_cv_use_mimetype"
7959 if test "$no_cache" != 1; then
7960 echo $wx_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
7961 fi
7962
7963 if test x"$enablestring" = xdisable; then
7964 if test $wxUSE_MIMETYPE = yes; then
7965 result=no
7966 else
7967 result=yes
7968 fi
7969 else
7970 result=$wxUSE_MIMETYPE
7971 fi
7972
7973 { echo "$as_me:$LINENO: result: $result" >&5
7974 echo "${ECHO_T}$result" >&6; }
7975
7976
7977 enablestring=
7978 defaultval=$wxUSE_ALL_FEATURES
7979 if test -z "$defaultval"; then
7980 if test x"$enablestring" = xdisable; then
7981 defaultval=yes
7982 else
7983 defaultval=no
7984 fi
7985 fi
7986
7987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7988 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7989 no_cache=0
7990 # Check whether --enable-snglinst was given.
7991 if test "${enable_snglinst+set}" = set; then
7992 enableval=$enable_snglinst;
7993 if test "$enableval" = yes; then
7994 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7995 else
7996 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7997 fi
7998
7999 else
8000
8001 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
8002 if test "x$LINE" != x ; then
8003 eval "DEFAULT_$LINE"
8004 else
8005 no_cache=1
8006 fi
8007
8008 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
8009
8010 fi
8011
8012
8013 eval "$wx_cv_use_snglinst"
8014 if test "$no_cache" != 1; then
8015 echo $wx_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
8016 fi
8017
8018 if test x"$enablestring" = xdisable; then
8019 if test $wxUSE_SNGLINST_CHECKER = yes; then
8020 result=no
8021 else
8022 result=yes
8023 fi
8024 else
8025 result=$wxUSE_SNGLINST_CHECKER
8026 fi
8027
8028 { echo "$as_me:$LINENO: result: $result" >&5
8029 echo "${ECHO_T}$result" >&6; }
8030
8031
8032 enablestring=
8033 defaultval=$wxUSE_ALL_FEATURES
8034 if test -z "$defaultval"; then
8035 if test x"$enablestring" = xdisable; then
8036 defaultval=yes
8037 else
8038 defaultval=no
8039 fi
8040 fi
8041
8042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
8043 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
8044 no_cache=0
8045 # Check whether --enable-stdpaths was given.
8046 if test "${enable_stdpaths+set}" = set; then
8047 enableval=$enable_stdpaths;
8048 if test "$enableval" = yes; then
8049 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
8050 else
8051 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
8052 fi
8053
8054 else
8055
8056 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
8057 if test "x$LINE" != x ; then
8058 eval "DEFAULT_$LINE"
8059 else
8060 no_cache=1
8061 fi
8062
8063 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
8064
8065 fi
8066
8067
8068 eval "$wx_cv_use_stdpaths"
8069 if test "$no_cache" != 1; then
8070 echo $wx_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
8071 fi
8072
8073 if test x"$enablestring" = xdisable; then
8074 if test $wxUSE_STDPATHS = yes; then
8075 result=no
8076 else
8077 result=yes
8078 fi
8079 else
8080 result=$wxUSE_STDPATHS
8081 fi
8082
8083 { echo "$as_me:$LINENO: result: $result" >&5
8084 echo "${ECHO_T}$result" >&6; }
8085
8086
8087 enablestring=
8088 defaultval=$wxUSE_ALL_FEATURES
8089 if test -z "$defaultval"; then
8090 if test x"$enablestring" = xdisable; then
8091 defaultval=yes
8092 else
8093 defaultval=no
8094 fi
8095 fi
8096
8097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
8099 no_cache=0
8100 # Check whether --enable-stopwatch was given.
8101 if test "${enable_stopwatch+set}" = set; then
8102 enableval=$enable_stopwatch;
8103 if test "$enableval" = yes; then
8104 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
8105 else
8106 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
8107 fi
8108
8109 else
8110
8111 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
8112 if test "x$LINE" != x ; then
8113 eval "DEFAULT_$LINE"
8114 else
8115 no_cache=1
8116 fi
8117
8118 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
8119
8120 fi
8121
8122
8123 eval "$wx_cv_use_stopwatch"
8124 if test "$no_cache" != 1; then
8125 echo $wx_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
8126 fi
8127
8128 if test x"$enablestring" = xdisable; then
8129 if test $wxUSE_STOPWATCH = yes; then
8130 result=no
8131 else
8132 result=yes
8133 fi
8134 else
8135 result=$wxUSE_STOPWATCH
8136 fi
8137
8138 { echo "$as_me:$LINENO: result: $result" >&5
8139 echo "${ECHO_T}$result" >&6; }
8140
8141
8142 enablestring=
8143 defaultval=$wxUSE_ALL_FEATURES
8144 if test -z "$defaultval"; then
8145 if test x"$enablestring" = xdisable; then
8146 defaultval=yes
8147 else
8148 defaultval=no
8149 fi
8150 fi
8151
8152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
8153 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
8154 no_cache=0
8155 # Check whether --enable-streams was given.
8156 if test "${enable_streams+set}" = set; then
8157 enableval=$enable_streams;
8158 if test "$enableval" = yes; then
8159 wx_cv_use_streams='wxUSE_STREAMS=yes'
8160 else
8161 wx_cv_use_streams='wxUSE_STREAMS=no'
8162 fi
8163
8164 else
8165
8166 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
8167 if test "x$LINE" != x ; then
8168 eval "DEFAULT_$LINE"
8169 else
8170 no_cache=1
8171 fi
8172
8173 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
8174
8175 fi
8176
8177
8178 eval "$wx_cv_use_streams"
8179 if test "$no_cache" != 1; then
8180 echo $wx_cv_use_streams >> ${wx_arg_cache_file}.tmp
8181 fi
8182
8183 if test x"$enablestring" = xdisable; then
8184 if test $wxUSE_STREAMS = yes; then
8185 result=no
8186 else
8187 result=yes
8188 fi
8189 else
8190 result=$wxUSE_STREAMS
8191 fi
8192
8193 { echo "$as_me:$LINENO: result: $result" >&5
8194 echo "${ECHO_T}$result" >&6; }
8195
8196
8197 enablestring=
8198 defaultval=$wxUSE_ALL_FEATURES
8199 if test -z "$defaultval"; then
8200 if test x"$enablestring" = xdisable; then
8201 defaultval=yes
8202 else
8203 defaultval=no
8204 fi
8205 fi
8206
8207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
8208 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
8209 no_cache=0
8210 # Check whether --enable-system_options was given.
8211 if test "${enable_system_options+set}" = set; then
8212 enableval=$enable_system_options;
8213 if test "$enableval" = yes; then
8214 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
8215 else
8216 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
8217 fi
8218
8219 else
8220
8221 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
8222 if test "x$LINE" != x ; then
8223 eval "DEFAULT_$LINE"
8224 else
8225 no_cache=1
8226 fi
8227
8228 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8229
8230 fi
8231
8232
8233 eval "$wx_cv_use_system_options"
8234 if test "$no_cache" != 1; then
8235 echo $wx_cv_use_system_options >> ${wx_arg_cache_file}.tmp
8236 fi
8237
8238 if test x"$enablestring" = xdisable; then
8239 if test $wxUSE_SYSTEM_OPTIONS = yes; then
8240 result=no
8241 else
8242 result=yes
8243 fi
8244 else
8245 result=$wxUSE_SYSTEM_OPTIONS
8246 fi
8247
8248 { echo "$as_me:$LINENO: result: $result" >&5
8249 echo "${ECHO_T}$result" >&6; }
8250
8251
8252 enablestring=
8253 defaultval=$wxUSE_ALL_FEATURES
8254 if test -z "$defaultval"; then
8255 if test x"$enablestring" = xdisable; then
8256 defaultval=yes
8257 else
8258 defaultval=no
8259 fi
8260 fi
8261
8262 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8263 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8264 no_cache=0
8265 # Check whether --enable-tarstream was given.
8266 if test "${enable_tarstream+set}" = set; then
8267 enableval=$enable_tarstream;
8268 if test "$enableval" = yes; then
8269 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8270 else
8271 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8272 fi
8273
8274 else
8275
8276 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
8277 if test "x$LINE" != x ; then
8278 eval "DEFAULT_$LINE"
8279 else
8280 no_cache=1
8281 fi
8282
8283 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8284
8285 fi
8286
8287
8288 eval "$wx_cv_use_tarstream"
8289 if test "$no_cache" != 1; then
8290 echo $wx_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
8291 fi
8292
8293 if test x"$enablestring" = xdisable; then
8294 if test $wxUSE_TARSTREAM = yes; then
8295 result=no
8296 else
8297 result=yes
8298 fi
8299 else
8300 result=$wxUSE_TARSTREAM
8301 fi
8302
8303 { echo "$as_me:$LINENO: result: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8305
8306
8307 enablestring=
8308 defaultval=$wxUSE_ALL_FEATURES
8309 if test -z "$defaultval"; then
8310 if test x"$enablestring" = xdisable; then
8311 defaultval=yes
8312 else
8313 defaultval=no
8314 fi
8315 fi
8316
8317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8319 no_cache=0
8320 # Check whether --enable-textbuf was given.
8321 if test "${enable_textbuf+set}" = set; then
8322 enableval=$enable_textbuf;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8325 else
8326 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8327 fi
8328
8329 else
8330
8331 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
8332 if test "x$LINE" != x ; then
8333 eval "DEFAULT_$LINE"
8334 else
8335 no_cache=1
8336 fi
8337
8338 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8339
8340 fi
8341
8342
8343 eval "$wx_cv_use_textbuf"
8344 if test "$no_cache" != 1; then
8345 echo $wx_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test x"$enablestring" = xdisable; then
8349 if test $wxUSE_TEXTBUFFER = yes; then
8350 result=no
8351 else
8352 result=yes
8353 fi
8354 else
8355 result=$wxUSE_TEXTBUFFER
8356 fi
8357
8358 { echo "$as_me:$LINENO: result: $result" >&5
8359 echo "${ECHO_T}$result" >&6; }
8360
8361
8362 enablestring=
8363 defaultval=$wxUSE_ALL_FEATURES
8364 if test -z "$defaultval"; then
8365 if test x"$enablestring" = xdisable; then
8366 defaultval=yes
8367 else
8368 defaultval=no
8369 fi
8370 fi
8371
8372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8373 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8374 no_cache=0
8375 # Check whether --enable-textfile was given.
8376 if test "${enable_textfile+set}" = set; then
8377 enableval=$enable_textfile;
8378 if test "$enableval" = yes; then
8379 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8380 else
8381 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8382 fi
8383
8384 else
8385
8386 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
8387 if test "x$LINE" != x ; then
8388 eval "DEFAULT_$LINE"
8389 else
8390 no_cache=1
8391 fi
8392
8393 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8394
8395 fi
8396
8397
8398 eval "$wx_cv_use_textfile"
8399 if test "$no_cache" != 1; then
8400 echo $wx_cv_use_textfile >> ${wx_arg_cache_file}.tmp
8401 fi
8402
8403 if test x"$enablestring" = xdisable; then
8404 if test $wxUSE_TEXTFILE = yes; then
8405 result=no
8406 else
8407 result=yes
8408 fi
8409 else
8410 result=$wxUSE_TEXTFILE
8411 fi
8412
8413 { echo "$as_me:$LINENO: result: $result" >&5
8414 echo "${ECHO_T}$result" >&6; }
8415
8416
8417 enablestring=
8418 defaultval=$wxUSE_ALL_FEATURES
8419 if test -z "$defaultval"; then
8420 if test x"$enablestring" = xdisable; then
8421 defaultval=yes
8422 else
8423 defaultval=no
8424 fi
8425 fi
8426
8427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8428 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8429 no_cache=0
8430 # Check whether --enable-timer was given.
8431 if test "${enable_timer+set}" = set; then
8432 enableval=$enable_timer;
8433 if test "$enableval" = yes; then
8434 wx_cv_use_timer='wxUSE_TIMER=yes'
8435 else
8436 wx_cv_use_timer='wxUSE_TIMER=no'
8437 fi
8438
8439 else
8440
8441 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
8442 if test "x$LINE" != x ; then
8443 eval "DEFAULT_$LINE"
8444 else
8445 no_cache=1
8446 fi
8447
8448 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8449
8450 fi
8451
8452
8453 eval "$wx_cv_use_timer"
8454 if test "$no_cache" != 1; then
8455 echo $wx_cv_use_timer >> ${wx_arg_cache_file}.tmp
8456 fi
8457
8458 if test x"$enablestring" = xdisable; then
8459 if test $wxUSE_TIMER = yes; then
8460 result=no
8461 else
8462 result=yes
8463 fi
8464 else
8465 result=$wxUSE_TIMER
8466 fi
8467
8468 { echo "$as_me:$LINENO: result: $result" >&5
8469 echo "${ECHO_T}$result" >&6; }
8470
8471
8472 enablestring=
8473 defaultval=$wxUSE_ALL_FEATURES
8474 if test -z "$defaultval"; then
8475 if test x"$enablestring" = xdisable; then
8476 defaultval=yes
8477 else
8478 defaultval=no
8479 fi
8480 fi
8481
8482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
8483 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
8484 no_cache=0
8485 # Check whether --enable-sound was given.
8486 if test "${enable_sound+set}" = set; then
8487 enableval=$enable_sound;
8488 if test "$enableval" = yes; then
8489 wx_cv_use_sound='wxUSE_SOUND=yes'
8490 else
8491 wx_cv_use_sound='wxUSE_SOUND=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
8504
8505 fi
8506
8507
8508 eval "$wx_cv_use_sound"
8509 if test "$no_cache" != 1; then
8510 echo $wx_cv_use_sound >> ${wx_arg_cache_file}.tmp
8511 fi
8512
8513 if test x"$enablestring" = xdisable; then
8514 if test $wxUSE_SOUND = yes; then
8515 result=no
8516 else
8517 result=yes
8518 fi
8519 else
8520 result=$wxUSE_SOUND
8521 fi
8522
8523 { echo "$as_me:$LINENO: result: $result" >&5
8524 echo "${ECHO_T}$result" >&6; }
8525
8526
8527 enablestring=
8528 defaultval=$wxUSE_ALL_FEATURES
8529 if test -z "$defaultval"; then
8530 if test x"$enablestring" = xdisable; then
8531 defaultval=yes
8532 else
8533 defaultval=no
8534 fi
8535 fi
8536
8537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8539 no_cache=0
8540 # Check whether --enable-mediactrl was given.
8541 if test "${enable_mediactrl+set}" = set; then
8542 enableval=$enable_mediactrl;
8543 if test "$enableval" = yes; then
8544 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8545 else
8546 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8547 fi
8548
8549 else
8550
8551 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
8552 if test "x$LINE" != x ; then
8553 eval "DEFAULT_$LINE"
8554 else
8555 no_cache=1
8556 fi
8557
8558 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8559
8560 fi
8561
8562
8563 eval "$wx_cv_use_mediactrl"
8564 if test "$no_cache" != 1; then
8565 echo $wx_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
8566 fi
8567
8568 if test x"$enablestring" = xdisable; then
8569 if test $wxUSE_MEDIACTRL = yes; then
8570 result=no
8571 else
8572 result=yes
8573 fi
8574 else
8575 result=$wxUSE_MEDIACTRL
8576 fi
8577
8578 { echo "$as_me:$LINENO: result: $result" >&5
8579 echo "${ECHO_T}$result" >&6; }
8580
8581
8582 enablestring=
8583 defaultval=$wxUSE_ALL_FEATURES
8584 if test -z "$defaultval"; then
8585 if test x"$enablestring" = xdisable; then
8586 defaultval=yes
8587 else
8588 defaultval=no
8589 fi
8590 fi
8591
8592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8593 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8594 no_cache=0
8595 # Check whether --enable-gstreamer8 was given.
8596 if test "${enable_gstreamer8+set}" = set; then
8597 enableval=$enable_gstreamer8;
8598 if test "$enableval" = yes; then
8599 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8600 else
8601 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8602 fi
8603
8604 else
8605
8606 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
8607 if test "x$LINE" != x ; then
8608 eval "DEFAULT_$LINE"
8609 else
8610 no_cache=1
8611 fi
8612
8613 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8614
8615 fi
8616
8617
8618 eval "$wx_cv_use_gstreamer8"
8619 if test "$no_cache" != 1; then
8620 echo $wx_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
8621 fi
8622
8623 if test x"$enablestring" = xdisable; then
8624 if test $wxUSE_GSTREAMER8 = yes; then
8625 result=no
8626 else
8627 result=yes
8628 fi
8629 else
8630 result=$wxUSE_GSTREAMER8
8631 fi
8632
8633 { echo "$as_me:$LINENO: result: $result" >&5
8634 echo "${ECHO_T}$result" >&6; }
8635
8636
8637 enablestring=
8638 defaultval=$wxUSE_ALL_FEATURES
8639 if test -z "$defaultval"; then
8640 if test x"$enablestring" = xdisable; then
8641 defaultval=yes
8642 else
8643 defaultval=no
8644 fi
8645 fi
8646
8647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
8648 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
8649 no_cache=0
8650 # Check whether --enable-printfposparam was given.
8651 if test "${enable_printfposparam+set}" = set; then
8652 enableval=$enable_printfposparam;
8653 if test "$enableval" = yes; then
8654 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
8655 else
8656 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
8657 fi
8658
8659 else
8660
8661 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
8662 if test "x$LINE" != x ; then
8663 eval "DEFAULT_$LINE"
8664 else
8665 no_cache=1
8666 fi
8667
8668 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
8669
8670 fi
8671
8672
8673 eval "$wx_cv_use_printfposparam"
8674 if test "$no_cache" != 1; then
8675 echo $wx_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
8676 fi
8677
8678 if test x"$enablestring" = xdisable; then
8679 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
8680 result=no
8681 else
8682 result=yes
8683 fi
8684 else
8685 result=$wxUSE_PRINTF_POS_PARAMS
8686 fi
8687
8688 { echo "$as_me:$LINENO: result: $result" >&5
8689 echo "${ECHO_T}$result" >&6; }
8690
8691
8692 enablestring=
8693 defaultval=$wxUSE_ALL_FEATURES
8694 if test -z "$defaultval"; then
8695 if test x"$enablestring" = xdisable; then
8696 defaultval=yes
8697 else
8698 defaultval=no
8699 fi
8700 fi
8701
8702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8703 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8704 no_cache=0
8705 # Check whether --enable-zipstream was given.
8706 if test "${enable_zipstream+set}" = set; then
8707 enableval=$enable_zipstream;
8708 if test "$enableval" = yes; then
8709 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8710 else
8711 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8712 fi
8713
8714 else
8715
8716 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
8717 if test "x$LINE" != x ; then
8718 eval "DEFAULT_$LINE"
8719 else
8720 no_cache=1
8721 fi
8722
8723 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8724
8725 fi
8726
8727
8728 eval "$wx_cv_use_zipstream"
8729 if test "$no_cache" != 1; then
8730 echo $wx_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
8731 fi
8732
8733 if test x"$enablestring" = xdisable; then
8734 if test $wxUSE_ZIPSTREAM = yes; then
8735 result=no
8736 else
8737 result=yes
8738 fi
8739 else
8740 result=$wxUSE_ZIPSTREAM
8741 fi
8742
8743 { echo "$as_me:$LINENO: result: $result" >&5
8744 echo "${ECHO_T}$result" >&6; }
8745
8746
8747
8748 enablestring=
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8752 defaultval=yes
8753 else
8754 defaultval=no
8755 fi
8756 fi
8757
8758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8760 no_cache=0
8761 # Check whether --enable-url was given.
8762 if test "${enable_url+set}" = set; then
8763 enableval=$enable_url;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_url='wxUSE_URL=yes'
8766 else
8767 wx_cv_use_url='wxUSE_URL=no'
8768 fi
8769
8770 else
8771
8772 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
8773 if test "x$LINE" != x ; then
8774 eval "DEFAULT_$LINE"
8775 else
8776 no_cache=1
8777 fi
8778
8779 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8780
8781 fi
8782
8783
8784 eval "$wx_cv_use_url"
8785 if test "$no_cache" != 1; then
8786 echo $wx_cv_use_url >> ${wx_arg_cache_file}.tmp
8787 fi
8788
8789 if test x"$enablestring" = xdisable; then
8790 if test $wxUSE_URL = yes; then
8791 result=no
8792 else
8793 result=yes
8794 fi
8795 else
8796 result=$wxUSE_URL
8797 fi
8798
8799 { echo "$as_me:$LINENO: result: $result" >&5
8800 echo "${ECHO_T}$result" >&6; }
8801
8802
8803 enablestring=
8804 defaultval=$wxUSE_ALL_FEATURES
8805 if test -z "$defaultval"; then
8806 if test x"$enablestring" = xdisable; then
8807 defaultval=yes
8808 else
8809 defaultval=no
8810 fi
8811 fi
8812
8813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8814 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8815 no_cache=0
8816 # Check whether --enable-variant was given.
8817 if test "${enable_variant+set}" = set; then
8818 enableval=$enable_variant;
8819 if test "$enableval" = yes; then
8820 wx_cv_use_variant='wxUSE_VARIANT=yes'
8821 else
8822 wx_cv_use_variant='wxUSE_VARIANT=no'
8823 fi
8824
8825 else
8826
8827 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
8828 if test "x$LINE" != x ; then
8829 eval "DEFAULT_$LINE"
8830 else
8831 no_cache=1
8832 fi
8833
8834 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8835
8836 fi
8837
8838
8839 eval "$wx_cv_use_variant"
8840 if test "$no_cache" != 1; then
8841 echo $wx_cv_use_variant >> ${wx_arg_cache_file}.tmp
8842 fi
8843
8844 if test x"$enablestring" = xdisable; then
8845 if test $wxUSE_VARIANT = yes; then
8846 result=no
8847 else
8848 result=yes
8849 fi
8850 else
8851 result=$wxUSE_VARIANT
8852 fi
8853
8854 { echo "$as_me:$LINENO: result: $result" >&5
8855 echo "${ECHO_T}$result" >&6; }
8856
8857
8858 enablestring=
8859 defaultval=$wxUSE_ALL_FEATURES
8860 if test -z "$defaultval"; then
8861 if test x"$enablestring" = xdisable; then
8862 defaultval=yes
8863 else
8864 defaultval=no
8865 fi
8866 fi
8867
8868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8869 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8870 no_cache=0
8871 # Check whether --enable-protocol was given.
8872 if test "${enable_protocol+set}" = set; then
8873 enableval=$enable_protocol;
8874 if test "$enableval" = yes; then
8875 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8876 else
8877 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8878 fi
8879
8880 else
8881
8882 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
8883 if test "x$LINE" != x ; then
8884 eval "DEFAULT_$LINE"
8885 else
8886 no_cache=1
8887 fi
8888
8889 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8890
8891 fi
8892
8893
8894 eval "$wx_cv_use_protocol"
8895 if test "$no_cache" != 1; then
8896 echo $wx_cv_use_protocol >> ${wx_arg_cache_file}.tmp
8897 fi
8898
8899 if test x"$enablestring" = xdisable; then
8900 if test $wxUSE_PROTOCOL = yes; then
8901 result=no
8902 else
8903 result=yes
8904 fi
8905 else
8906 result=$wxUSE_PROTOCOL
8907 fi
8908
8909 { echo "$as_me:$LINENO: result: $result" >&5
8910 echo "${ECHO_T}$result" >&6; }
8911
8912
8913 enablestring=
8914 defaultval=$wxUSE_ALL_FEATURES
8915 if test -z "$defaultval"; then
8916 if test x"$enablestring" = xdisable; then
8917 defaultval=yes
8918 else
8919 defaultval=no
8920 fi
8921 fi
8922
8923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8924 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8925 no_cache=0
8926 # Check whether --enable-protocol_http was given.
8927 if test "${enable_protocol_http+set}" = set; then
8928 enableval=$enable_protocol_http;
8929 if test "$enableval" = yes; then
8930 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8931 else
8932 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8933 fi
8934
8935 else
8936
8937 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8940 else
8941 no_cache=1
8942 fi
8943
8944 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8945
8946 fi
8947
8948
8949 eval "$wx_cv_use_protocol_http"
8950 if test "$no_cache" != 1; then
8951 echo $wx_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
8952 fi
8953
8954 if test x"$enablestring" = xdisable; then
8955 if test $wxUSE_PROTOCOL_HTTP = yes; then
8956 result=no
8957 else
8958 result=yes
8959 fi
8960 else
8961 result=$wxUSE_PROTOCOL_HTTP
8962 fi
8963
8964 { echo "$as_me:$LINENO: result: $result" >&5
8965 echo "${ECHO_T}$result" >&6; }
8966
8967
8968 enablestring=
8969 defaultval=$wxUSE_ALL_FEATURES
8970 if test -z "$defaultval"; then
8971 if test x"$enablestring" = xdisable; then
8972 defaultval=yes
8973 else
8974 defaultval=no
8975 fi
8976 fi
8977
8978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8980 no_cache=0
8981 # Check whether --enable-protocol_ftp was given.
8982 if test "${enable_protocol_ftp+set}" = set; then
8983 enableval=$enable_protocol_ftp;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8986 else
8987 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8988 fi
8989
8990 else
8991
8992 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
8993 if test "x$LINE" != x ; then
8994 eval "DEFAULT_$LINE"
8995 else
8996 no_cache=1
8997 fi
8998
8999 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
9000
9001 fi
9002
9003
9004 eval "$wx_cv_use_protocol_ftp"
9005 if test "$no_cache" != 1; then
9006 echo $wx_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
9007 fi
9008
9009 if test x"$enablestring" = xdisable; then
9010 if test $wxUSE_PROTOCOL_FTP = yes; then
9011 result=no
9012 else
9013 result=yes
9014 fi
9015 else
9016 result=$wxUSE_PROTOCOL_FTP
9017 fi
9018
9019 { echo "$as_me:$LINENO: result: $result" >&5
9020 echo "${ECHO_T}$result" >&6; }
9021
9022
9023 enablestring=
9024 defaultval=$wxUSE_ALL_FEATURES
9025 if test -z "$defaultval"; then
9026 if test x"$enablestring" = xdisable; then
9027 defaultval=yes
9028 else
9029 defaultval=no
9030 fi
9031 fi
9032
9033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
9034 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
9035 no_cache=0
9036 # Check whether --enable-protocol_file was given.
9037 if test "${enable_protocol_file+set}" = set; then
9038 enableval=$enable_protocol_file;
9039 if test "$enableval" = yes; then
9040 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
9041 else
9042 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
9043 fi
9044
9045 else
9046
9047 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
9048 if test "x$LINE" != x ; then
9049 eval "DEFAULT_$LINE"
9050 else
9051 no_cache=1
9052 fi
9053
9054 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
9055
9056 fi
9057
9058
9059 eval "$wx_cv_use_protocol_file"
9060 if test "$no_cache" != 1; then
9061 echo $wx_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
9062 fi
9063
9064 if test x"$enablestring" = xdisable; then
9065 if test $wxUSE_PROTOCOL_FILE = yes; then
9066 result=no
9067 else
9068 result=yes
9069 fi
9070 else
9071 result=$wxUSE_PROTOCOL_FILE
9072 fi
9073
9074 { echo "$as_me:$LINENO: result: $result" >&5
9075 echo "${ECHO_T}$result" >&6; }
9076
9077
9078
9079 enablestring=
9080 defaultval=$wxUSE_ALL_FEATURES
9081 if test -z "$defaultval"; then
9082 if test x"$enablestring" = xdisable; then
9083 defaultval=yes
9084 else
9085 defaultval=no
9086 fi
9087 fi
9088
9089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
9091 no_cache=0
9092 # Check whether --enable-threads was given.
9093 if test "${enable_threads+set}" = set; then
9094 enableval=$enable_threads;
9095 if test "$enableval" = yes; then
9096 wx_cv_use_threads='wxUSE_THREADS=yes'
9097 else
9098 wx_cv_use_threads='wxUSE_THREADS=no'
9099 fi
9100
9101 else
9102
9103 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
9104 if test "x$LINE" != x ; then
9105 eval "DEFAULT_$LINE"
9106 else
9107 no_cache=1
9108 fi
9109
9110 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
9111
9112 fi
9113
9114
9115 eval "$wx_cv_use_threads"
9116 if test "$no_cache" != 1; then
9117 echo $wx_cv_use_threads >> ${wx_arg_cache_file}.tmp
9118 fi
9119
9120 if test x"$enablestring" = xdisable; then
9121 if test $wxUSE_THREADS = yes; then
9122 result=no
9123 else
9124 result=yes
9125 fi
9126 else
9127 result=$wxUSE_THREADS
9128 fi
9129
9130 { echo "$as_me:$LINENO: result: $result" >&5
9131 echo "${ECHO_T}$result" >&6; }
9132
9133
9134 if test "$wxUSE_GUI" = "yes"; then
9135
9136
9137
9138 enablestring=
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9142 defaultval=yes
9143 else
9144 defaultval=no
9145 fi
9146 fi
9147
9148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
9149 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
9150 no_cache=0
9151 # Check whether --enable-docview was given.
9152 if test "${enable_docview+set}" = set; then
9153 enableval=$enable_docview;
9154 if test "$enableval" = yes; then
9155 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
9156 else
9157 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
9158 fi
9159
9160 else
9161
9162 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
9163 if test "x$LINE" != x ; then
9164 eval "DEFAULT_$LINE"
9165 else
9166 no_cache=1
9167 fi
9168
9169 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
9170
9171 fi
9172
9173
9174 eval "$wx_cv_use_docview"
9175 if test "$no_cache" != 1; then
9176 echo $wx_cv_use_docview >> ${wx_arg_cache_file}.tmp
9177 fi
9178
9179 if test x"$enablestring" = xdisable; then
9180 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
9181 result=no
9182 else
9183 result=yes
9184 fi
9185 else
9186 result=$wxUSE_DOC_VIEW_ARCHITECTURE
9187 fi
9188
9189 { echo "$as_me:$LINENO: result: $result" >&5
9190 echo "${ECHO_T}$result" >&6; }
9191
9192
9193 enablestring=
9194 defaultval=$wxUSE_ALL_FEATURES
9195 if test -z "$defaultval"; then
9196 if test x"$enablestring" = xdisable; then
9197 defaultval=yes
9198 else
9199 defaultval=no
9200 fi
9201 fi
9202
9203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
9204 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
9205 no_cache=0
9206 # Check whether --enable-help was given.
9207 if test "${enable_help+set}" = set; then
9208 enableval=$enable_help;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_help='wxUSE_HELP=yes'
9211 else
9212 wx_cv_use_help='wxUSE_HELP=no'
9213 fi
9214
9215 else
9216
9217 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
9218 if test "x$LINE" != x ; then
9219 eval "DEFAULT_$LINE"
9220 else
9221 no_cache=1
9222 fi
9223
9224 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
9225
9226 fi
9227
9228
9229 eval "$wx_cv_use_help"
9230 if test "$no_cache" != 1; then
9231 echo $wx_cv_use_help >> ${wx_arg_cache_file}.tmp
9232 fi
9233
9234 if test x"$enablestring" = xdisable; then
9235 if test $wxUSE_HELP = yes; then
9236 result=no
9237 else
9238 result=yes
9239 fi
9240 else
9241 result=$wxUSE_HELP
9242 fi
9243
9244 { echo "$as_me:$LINENO: result: $result" >&5
9245 echo "${ECHO_T}$result" >&6; }
9246
9247
9248 enablestring=
9249 defaultval=$wxUSE_ALL_FEATURES
9250 if test -z "$defaultval"; then
9251 if test x"$enablestring" = xdisable; then
9252 defaultval=yes
9253 else
9254 defaultval=no
9255 fi
9256 fi
9257
9258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
9259 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
9260 no_cache=0
9261 # Check whether --enable-mshtmlhelp was given.
9262 if test "${enable_mshtmlhelp+set}" = set; then
9263 enableval=$enable_mshtmlhelp;
9264 if test "$enableval" = yes; then
9265 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
9266 else
9267 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
9268 fi
9269
9270 else
9271
9272 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
9273 if test "x$LINE" != x ; then
9274 eval "DEFAULT_$LINE"
9275 else
9276 no_cache=1
9277 fi
9278
9279 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
9280
9281 fi
9282
9283
9284 eval "$wx_cv_use_mshtmlhelp"
9285 if test "$no_cache" != 1; then
9286 echo $wx_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
9287 fi
9288
9289 if test x"$enablestring" = xdisable; then
9290 if test $wxUSE_MS_HTML_HELP = yes; then
9291 result=no
9292 else
9293 result=yes
9294 fi
9295 else
9296 result=$wxUSE_MS_HTML_HELP
9297 fi
9298
9299 { echo "$as_me:$LINENO: result: $result" >&5
9300 echo "${ECHO_T}$result" >&6; }
9301
9302
9303 enablestring=
9304 defaultval=$wxUSE_ALL_FEATURES
9305 if test -z "$defaultval"; then
9306 if test x"$enablestring" = xdisable; then
9307 defaultval=yes
9308 else
9309 defaultval=no
9310 fi
9311 fi
9312
9313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
9314 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
9315 no_cache=0
9316 # Check whether --enable-html was given.
9317 if test "${enable_html+set}" = set; then
9318 enableval=$enable_html;
9319 if test "$enableval" = yes; then
9320 wx_cv_use_html='wxUSE_HTML=yes'
9321 else
9322 wx_cv_use_html='wxUSE_HTML=no'
9323 fi
9324
9325 else
9326
9327 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
9328 if test "x$LINE" != x ; then
9329 eval "DEFAULT_$LINE"
9330 else
9331 no_cache=1
9332 fi
9333
9334 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
9335
9336 fi
9337
9338
9339 eval "$wx_cv_use_html"
9340 if test "$no_cache" != 1; then
9341 echo $wx_cv_use_html >> ${wx_arg_cache_file}.tmp
9342 fi
9343
9344 if test x"$enablestring" = xdisable; then
9345 if test $wxUSE_HTML = yes; then
9346 result=no
9347 else
9348 result=yes
9349 fi
9350 else
9351 result=$wxUSE_HTML
9352 fi
9353
9354 { echo "$as_me:$LINENO: result: $result" >&5
9355 echo "${ECHO_T}$result" >&6; }
9356
9357
9358 enablestring=
9359 defaultval=$wxUSE_ALL_FEATURES
9360 if test -z "$defaultval"; then
9361 if test x"$enablestring" = xdisable; then
9362 defaultval=yes
9363 else
9364 defaultval=no
9365 fi
9366 fi
9367
9368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
9370 no_cache=0
9371 # Check whether --enable-htmlhelp was given.
9372 if test "${enable_htmlhelp+set}" = set; then
9373 enableval=$enable_htmlhelp;
9374 if test "$enableval" = yes; then
9375 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
9376 else
9377 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
9378 fi
9379
9380 else
9381
9382 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x ; then
9384 eval "DEFAULT_$LINE"
9385 else
9386 no_cache=1
9387 fi
9388
9389 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
9390
9391 fi
9392
9393
9394 eval "$wx_cv_use_htmlhelp"
9395 if test "$no_cache" != 1; then
9396 echo $wx_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
9397 fi
9398
9399 if test x"$enablestring" = xdisable; then
9400 if test $wxUSE_WXHTML_HELP = yes; then
9401 result=no
9402 else
9403 result=yes
9404 fi
9405 else
9406 result=$wxUSE_WXHTML_HELP
9407 fi
9408
9409 { echo "$as_me:$LINENO: result: $result" >&5
9410 echo "${ECHO_T}$result" >&6; }
9411
9412
9413 enablestring=
9414 defaultval=$wxUSE_ALL_FEATURES
9415 if test -z "$defaultval"; then
9416 if test x"$enablestring" = xdisable; then
9417 defaultval=yes
9418 else
9419 defaultval=no
9420 fi
9421 fi
9422
9423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
9424 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
9425 no_cache=0
9426 # Check whether --enable-xrc was given.
9427 if test "${enable_xrc+set}" = set; then
9428 enableval=$enable_xrc;
9429 if test "$enableval" = yes; then
9430 wx_cv_use_xrc='wxUSE_XRC=yes'
9431 else
9432 wx_cv_use_xrc='wxUSE_XRC=no'
9433 fi
9434
9435 else
9436
9437 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
9438 if test "x$LINE" != x ; then
9439 eval "DEFAULT_$LINE"
9440 else
9441 no_cache=1
9442 fi
9443
9444 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
9445
9446 fi
9447
9448
9449 eval "$wx_cv_use_xrc"
9450 if test "$no_cache" != 1; then
9451 echo $wx_cv_use_xrc >> ${wx_arg_cache_file}.tmp
9452 fi
9453
9454 if test x"$enablestring" = xdisable; then
9455 if test $wxUSE_XRC = yes; then
9456 result=no
9457 else
9458 result=yes
9459 fi
9460 else
9461 result=$wxUSE_XRC
9462 fi
9463
9464 { echo "$as_me:$LINENO: result: $result" >&5
9465 echo "${ECHO_T}$result" >&6; }
9466
9467
9468 enablestring=
9469 defaultval=$wxUSE_ALL_FEATURES
9470 if test -z "$defaultval"; then
9471 if test x"$enablestring" = xdisable; then
9472 defaultval=yes
9473 else
9474 defaultval=no
9475 fi
9476 fi
9477
9478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
9479 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
9480 no_cache=0
9481 # Check whether --enable-aui was given.
9482 if test "${enable_aui+set}" = set; then
9483 enableval=$enable_aui;
9484 if test "$enableval" = yes; then
9485 wx_cv_use_aui='wxUSE_AUI=yes'
9486 else
9487 wx_cv_use_aui='wxUSE_AUI=no'
9488 fi
9489
9490 else
9491
9492 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
9493 if test "x$LINE" != x ; then
9494 eval "DEFAULT_$LINE"
9495 else
9496 no_cache=1
9497 fi
9498
9499 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
9500
9501 fi
9502
9503
9504 eval "$wx_cv_use_aui"
9505 if test "$no_cache" != 1; then
9506 echo $wx_cv_use_aui >> ${wx_arg_cache_file}.tmp
9507 fi
9508
9509 if test x"$enablestring" = xdisable; then
9510 if test $wxUSE_AUI = yes; then
9511 result=no
9512 else
9513 result=yes
9514 fi
9515 else
9516 result=$wxUSE_AUI
9517 fi
9518
9519 { echo "$as_me:$LINENO: result: $result" >&5
9520 echo "${ECHO_T}$result" >&6; }
9521
9522
9523 enablestring=
9524 defaultval=$wxUSE_ALL_FEATURES
9525 if test -z "$defaultval"; then
9526 if test x"$enablestring" = xdisable; then
9527 defaultval=yes
9528 else
9529 defaultval=no
9530 fi
9531 fi
9532
9533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9535 no_cache=0
9536 # Check whether --enable-stc was given.
9537 if test "${enable_stc+set}" = set; then
9538 enableval=$enable_stc;
9539 if test "$enableval" = yes; then
9540 wx_cv_use_stc='wxUSE_STC=yes'
9541 else
9542 wx_cv_use_stc='wxUSE_STC=no'
9543 fi
9544
9545 else
9546
9547 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
9548 if test "x$LINE" != x ; then
9549 eval "DEFAULT_$LINE"
9550 else
9551 no_cache=1
9552 fi
9553
9554 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9555
9556 fi
9557
9558
9559 eval "$wx_cv_use_stc"
9560 if test "$no_cache" != 1; then
9561 echo $wx_cv_use_stc >> ${wx_arg_cache_file}.tmp
9562 fi
9563
9564 if test x"$enablestring" = xdisable; then
9565 if test $wxUSE_STC = yes; then
9566 result=no
9567 else
9568 result=yes
9569 fi
9570 else
9571 result=$wxUSE_STC
9572 fi
9573
9574 { echo "$as_me:$LINENO: result: $result" >&5
9575 echo "${ECHO_T}$result" >&6; }
9576
9577
9578 enablestring=
9579 defaultval=$wxUSE_ALL_FEATURES
9580 if test -z "$defaultval"; then
9581 if test x"$enablestring" = xdisable; then
9582 defaultval=yes
9583 else
9584 defaultval=no
9585 fi
9586 fi
9587
9588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9590 no_cache=0
9591 # Check whether --enable-constraints was given.
9592 if test "${enable_constraints+set}" = set; then
9593 enableval=$enable_constraints;
9594 if test "$enableval" = yes; then
9595 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9596 else
9597 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9598 fi
9599
9600 else
9601
9602 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
9603 if test "x$LINE" != x ; then
9604 eval "DEFAULT_$LINE"
9605 else
9606 no_cache=1
9607 fi
9608
9609 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9610
9611 fi
9612
9613
9614 eval "$wx_cv_use_constraints"
9615 if test "$no_cache" != 1; then
9616 echo $wx_cv_use_constraints >> ${wx_arg_cache_file}.tmp
9617 fi
9618
9619 if test x"$enablestring" = xdisable; then
9620 if test $wxUSE_CONSTRAINTS = yes; then
9621 result=no
9622 else
9623 result=yes
9624 fi
9625 else
9626 result=$wxUSE_CONSTRAINTS
9627 fi
9628
9629 { echo "$as_me:$LINENO: result: $result" >&5
9630 echo "${ECHO_T}$result" >&6; }
9631
9632
9633 enablestring=
9634 defaultval=$wxUSE_ALL_FEATURES
9635 if test -z "$defaultval"; then
9636 if test x"$enablestring" = xdisable; then
9637 defaultval=yes
9638 else
9639 defaultval=no
9640 fi
9641 fi
9642
9643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9644 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9645 no_cache=0
9646 # Check whether --enable-printarch was given.
9647 if test "${enable_printarch+set}" = set; then
9648 enableval=$enable_printarch;
9649 if test "$enableval" = yes; then
9650 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9651 else
9652 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9653 fi
9654
9655 else
9656
9657 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
9658 if test "x$LINE" != x ; then
9659 eval "DEFAULT_$LINE"
9660 else
9661 no_cache=1
9662 fi
9663
9664 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9665
9666 fi
9667
9668
9669 eval "$wx_cv_use_printarch"
9670 if test "$no_cache" != 1; then
9671 echo $wx_cv_use_printarch >> ${wx_arg_cache_file}.tmp
9672 fi
9673
9674 if test x"$enablestring" = xdisable; then
9675 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9676 result=no
9677 else
9678 result=yes
9679 fi
9680 else
9681 result=$wxUSE_PRINTING_ARCHITECTURE
9682 fi
9683
9684 { echo "$as_me:$LINENO: result: $result" >&5
9685 echo "${ECHO_T}$result" >&6; }
9686
9687
9688 enablestring=
9689 defaultval=$wxUSE_ALL_FEATURES
9690 if test -z "$defaultval"; then
9691 if test x"$enablestring" = xdisable; then
9692 defaultval=yes
9693 else
9694 defaultval=no
9695 fi
9696 fi
9697
9698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9699 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9700 no_cache=0
9701 # Check whether --enable-mdi was given.
9702 if test "${enable_mdi+set}" = set; then
9703 enableval=$enable_mdi;
9704 if test "$enableval" = yes; then
9705 wx_cv_use_mdi='wxUSE_MDI=yes'
9706 else
9707 wx_cv_use_mdi='wxUSE_MDI=no'
9708 fi
9709
9710 else
9711
9712 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
9713 if test "x$LINE" != x ; then
9714 eval "DEFAULT_$LINE"
9715 else
9716 no_cache=1
9717 fi
9718
9719 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9720
9721 fi
9722
9723
9724 eval "$wx_cv_use_mdi"
9725 if test "$no_cache" != 1; then
9726 echo $wx_cv_use_mdi >> ${wx_arg_cache_file}.tmp
9727 fi
9728
9729 if test x"$enablestring" = xdisable; then
9730 if test $wxUSE_MDI = yes; then
9731 result=no
9732 else
9733 result=yes
9734 fi
9735 else
9736 result=$wxUSE_MDI
9737 fi
9738
9739 { echo "$as_me:$LINENO: result: $result" >&5
9740 echo "${ECHO_T}$result" >&6; }
9741
9742
9743 enablestring=
9744 defaultval=$wxUSE_ALL_FEATURES
9745 if test -z "$defaultval"; then
9746 if test x"$enablestring" = xdisable; then
9747 defaultval=yes
9748 else
9749 defaultval=no
9750 fi
9751 fi
9752
9753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9754 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9755 no_cache=0
9756 # Check whether --enable-mdidoc was given.
9757 if test "${enable_mdidoc+set}" = set; then
9758 enableval=$enable_mdidoc;
9759 if test "$enableval" = yes; then
9760 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9761 else
9762 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9763 fi
9764
9765 else
9766
9767 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x ; then
9769 eval "DEFAULT_$LINE"
9770 else
9771 no_cache=1
9772 fi
9773
9774 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9775
9776 fi
9777
9778
9779 eval "$wx_cv_use_mdidoc"
9780 if test "$no_cache" != 1; then
9781 echo $wx_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
9782 fi
9783
9784 if test x"$enablestring" = xdisable; then
9785 if test $wxUSE_MDI_ARCHITECTURE = yes; then
9786 result=no
9787 else
9788 result=yes
9789 fi
9790 else
9791 result=$wxUSE_MDI_ARCHITECTURE
9792 fi
9793
9794 { echo "$as_me:$LINENO: result: $result" >&5
9795 echo "${ECHO_T}$result" >&6; }
9796
9797
9798 enablestring=
9799 defaultval=$wxUSE_ALL_FEATURES
9800 if test -z "$defaultval"; then
9801 if test x"$enablestring" = xdisable; then
9802 defaultval=yes
9803 else
9804 defaultval=no
9805 fi
9806 fi
9807
9808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9809 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9810 no_cache=0
9811 # Check whether --enable-loggui was given.
9812 if test "${enable_loggui+set}" = set; then
9813 enableval=$enable_loggui;
9814 if test "$enableval" = yes; then
9815 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9816 else
9817 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9818 fi
9819
9820 else
9821
9822 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
9823 if test "x$LINE" != x ; then
9824 eval "DEFAULT_$LINE"
9825 else
9826 no_cache=1
9827 fi
9828
9829 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9830
9831 fi
9832
9833
9834 eval "$wx_cv_use_loggui"
9835 if test "$no_cache" != 1; then
9836 echo $wx_cv_use_loggui >> ${wx_arg_cache_file}.tmp
9837 fi
9838
9839 if test x"$enablestring" = xdisable; then
9840 if test $wxUSE_LOGGUI = yes; then
9841 result=no
9842 else
9843 result=yes
9844 fi
9845 else
9846 result=$wxUSE_LOGGUI
9847 fi
9848
9849 { echo "$as_me:$LINENO: result: $result" >&5
9850 echo "${ECHO_T}$result" >&6; }
9851
9852
9853 enablestring=
9854 defaultval=$wxUSE_ALL_FEATURES
9855 if test -z "$defaultval"; then
9856 if test x"$enablestring" = xdisable; then
9857 defaultval=yes
9858 else
9859 defaultval=no
9860 fi
9861 fi
9862
9863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9864 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9865 no_cache=0
9866 # Check whether --enable-logwin was given.
9867 if test "${enable_logwin+set}" = set; then
9868 enableval=$enable_logwin;
9869 if test "$enableval" = yes; then
9870 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9871 else
9872 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9873 fi
9874
9875 else
9876
9877 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
9878 if test "x$LINE" != x ; then
9879 eval "DEFAULT_$LINE"
9880 else
9881 no_cache=1
9882 fi
9883
9884 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9885
9886 fi
9887
9888
9889 eval "$wx_cv_use_logwin"
9890 if test "$no_cache" != 1; then
9891 echo $wx_cv_use_logwin >> ${wx_arg_cache_file}.tmp
9892 fi
9893
9894 if test x"$enablestring" = xdisable; then
9895 if test $wxUSE_LOGWINDOW = yes; then
9896 result=no
9897 else
9898 result=yes
9899 fi
9900 else
9901 result=$wxUSE_LOGWINDOW
9902 fi
9903
9904 { echo "$as_me:$LINENO: result: $result" >&5
9905 echo "${ECHO_T}$result" >&6; }
9906
9907
9908 enablestring=
9909 defaultval=$wxUSE_ALL_FEATURES
9910 if test -z "$defaultval"; then
9911 if test x"$enablestring" = xdisable; then
9912 defaultval=yes
9913 else
9914 defaultval=no
9915 fi
9916 fi
9917
9918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9919 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9920 no_cache=0
9921 # Check whether --enable-logdialog was given.
9922 if test "${enable_logdialog+set}" = set; then
9923 enableval=$enable_logdialog;
9924 if test "$enableval" = yes; then
9925 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9926 else
9927 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9928 fi
9929
9930 else
9931
9932 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
9933 if test "x$LINE" != x ; then
9934 eval "DEFAULT_$LINE"
9935 else
9936 no_cache=1
9937 fi
9938
9939 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9940
9941 fi
9942
9943
9944 eval "$wx_cv_use_logdialog"
9945 if test "$no_cache" != 1; then
9946 echo $wx_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
9947 fi
9948
9949 if test x"$enablestring" = xdisable; then
9950 if test $wxUSE_LOGDIALOG = yes; then
9951 result=no
9952 else
9953 result=yes
9954 fi
9955 else
9956 result=$wxUSE_LOGDIALOG
9957 fi
9958
9959 { echo "$as_me:$LINENO: result: $result" >&5
9960 echo "${ECHO_T}$result" >&6; }
9961
9962
9963 enablestring=
9964 defaultval=$wxUSE_ALL_FEATURES
9965 if test -z "$defaultval"; then
9966 if test x"$enablestring" = xdisable; then
9967 defaultval=yes
9968 else
9969 defaultval=no
9970 fi
9971 fi
9972
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9975 no_cache=0
9976 # Check whether --enable-webkit was given.
9977 if test "${enable_webkit+set}" = set; then
9978 enableval=$enable_webkit;
9979 if test "$enableval" = yes; then
9980 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9981 else
9982 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9983 fi
9984
9985 else
9986
9987 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
9988 if test "x$LINE" != x ; then
9989 eval "DEFAULT_$LINE"
9990 else
9991 no_cache=1
9992 fi
9993
9994 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9995
9996 fi
9997
9998
9999 eval "$wx_cv_use_webkit"
10000 if test "$no_cache" != 1; then
10001 echo $wx_cv_use_webkit >> ${wx_arg_cache_file}.tmp
10002 fi
10003
10004 if test x"$enablestring" = xdisable; then
10005 if test $wxUSE_WEBKIT = yes; then
10006 result=no
10007 else
10008 result=yes
10009 fi
10010 else
10011 result=$wxUSE_WEBKIT
10012 fi
10013
10014 { echo "$as_me:$LINENO: result: $result" >&5
10015 echo "${ECHO_T}$result" >&6; }
10016
10017
10018 enablestring=
10019 defaultval=$wxUSE_ALL_FEATURES
10020 if test -z "$defaultval"; then
10021 if test x"$enablestring" = xdisable; then
10022 defaultval=yes
10023 else
10024 defaultval=no
10025 fi
10026 fi
10027
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
10030 no_cache=0
10031 # Check whether --enable-richtext was given.
10032 if test "${enable_richtext+set}" = set; then
10033 enableval=$enable_richtext;
10034 if test "$enableval" = yes; then
10035 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
10036 else
10037 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
10038 fi
10039
10040 else
10041
10042 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10045 else
10046 no_cache=1
10047 fi
10048
10049 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
10050
10051 fi
10052
10053
10054 eval "$wx_cv_use_richtext"
10055 if test "$no_cache" != 1; then
10056 echo $wx_cv_use_richtext >> ${wx_arg_cache_file}.tmp
10057 fi
10058
10059 if test x"$enablestring" = xdisable; then
10060 if test $wxUSE_RICHTEXT = yes; then
10061 result=no
10062 else
10063 result=yes
10064 fi
10065 else
10066 result=$wxUSE_RICHTEXT
10067 fi
10068
10069 { echo "$as_me:$LINENO: result: $result" >&5
10070 echo "${ECHO_T}$result" >&6; }
10071
10072
10073 enablestring=
10074 defaultval=$wxUSE_ALL_FEATURES
10075 if test -z "$defaultval"; then
10076 if test x"$enablestring" = xdisable; then
10077 defaultval=yes
10078 else
10079 defaultval=no
10080 fi
10081 fi
10082
10083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
10084 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
10085 no_cache=0
10086 # Check whether --enable-graphics_ctx was given.
10087 if test "${enable_graphics_ctx+set}" = set; then
10088 enableval=$enable_graphics_ctx;
10089 if test "$enableval" = yes; then
10090 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
10091 else
10092 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
10093 fi
10094
10095 else
10096
10097 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
10098 if test "x$LINE" != x ; then
10099 eval "DEFAULT_$LINE"
10100 else
10101 no_cache=1
10102 fi
10103
10104 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
10105
10106 fi
10107
10108
10109 eval "$wx_cv_use_graphics_ctx"
10110 if test "$no_cache" != 1; then
10111 echo $wx_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
10112 fi
10113
10114 if test x"$enablestring" = xdisable; then
10115 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
10116 result=no
10117 else
10118 result=yes
10119 fi
10120 else
10121 result=$wxUSE_GRAPHICS_CONTEXT
10122 fi
10123
10124 { echo "$as_me:$LINENO: result: $result" >&5
10125 echo "${ECHO_T}$result" >&6; }
10126
10127
10128 enablestring=
10129 defaultval=$wxUSE_ALL_FEATURES
10130 if test -z "$defaultval"; then
10131 if test x"$enablestring" = xdisable; then
10132 defaultval=yes
10133 else
10134 defaultval=no
10135 fi
10136 fi
10137
10138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
10139 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
10140 no_cache=0
10141 # Check whether --enable-postscript was given.
10142 if test "${enable_postscript+set}" = set; then
10143 enableval=$enable_postscript;
10144 if test "$enableval" = yes; then
10145 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
10146 else
10147 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
10148 fi
10149
10150 else
10151
10152 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
10153 if test "x$LINE" != x ; then
10154 eval "DEFAULT_$LINE"
10155 else
10156 no_cache=1
10157 fi
10158
10159 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
10160
10161 fi
10162
10163
10164 eval "$wx_cv_use_postscript"
10165 if test "$no_cache" != 1; then
10166 echo $wx_cv_use_postscript >> ${wx_arg_cache_file}.tmp
10167 fi
10168
10169 if test x"$enablestring" = xdisable; then
10170 if test $wxUSE_POSTSCRIPT = yes; then
10171 result=no
10172 else
10173 result=yes
10174 fi
10175 else
10176 result=$wxUSE_POSTSCRIPT
10177 fi
10178
10179 { echo "$as_me:$LINENO: result: $result" >&5
10180 echo "${ECHO_T}$result" >&6; }
10181
10182
10183 enablestring=
10184 defaultval=$wxUSE_ALL_FEATURES
10185 if test -z "$defaultval"; then
10186 if test x"$enablestring" = xdisable; then
10187 defaultval=yes
10188 else
10189 defaultval=no
10190 fi
10191 fi
10192
10193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
10194 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
10195 no_cache=0
10196 # Check whether --enable-svg was given.
10197 if test "${enable_svg+set}" = set; then
10198 enableval=$enable_svg;
10199 if test "$enableval" = yes; then
10200 wx_cv_use_svg='wxUSE_SVG=yes'
10201 else
10202 wx_cv_use_svg='wxUSE_SVG=no'
10203 fi
10204
10205 else
10206
10207 LINE=`grep "^wxUSE_SVG=" ${wx_arg_cache_file}`
10208 if test "x$LINE" != x ; then
10209 eval "DEFAULT_$LINE"
10210 else
10211 no_cache=1
10212 fi
10213
10214 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
10215
10216 fi
10217
10218
10219 eval "$wx_cv_use_svg"
10220 if test "$no_cache" != 1; then
10221 echo $wx_cv_use_svg >> ${wx_arg_cache_file}.tmp
10222 fi
10223
10224 if test x"$enablestring" = xdisable; then
10225 if test $wxUSE_SVG = yes; then
10226 result=no
10227 else
10228 result=yes
10229 fi
10230 else
10231 result=$wxUSE_SVG
10232 fi
10233
10234 { echo "$as_me:$LINENO: result: $result" >&5
10235 echo "${ECHO_T}$result" >&6; }
10236
10237
10238
10239
10240 enablestring=
10241 defaultval=$wxUSE_ALL_FEATURES
10242 if test -z "$defaultval"; then
10243 if test x"$enablestring" = xdisable; then
10244 defaultval=yes
10245 else
10246 defaultval=no
10247 fi
10248 fi
10249
10250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
10251 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
10252 no_cache=0
10253 # Check whether --enable-clipboard was given.
10254 if test "${enable_clipboard+set}" = set; then
10255 enableval=$enable_clipboard;
10256 if test "$enableval" = yes; then
10257 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
10258 else
10259 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
10260 fi
10261
10262 else
10263
10264 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
10265 if test "x$LINE" != x ; then
10266 eval "DEFAULT_$LINE"
10267 else
10268 no_cache=1
10269 fi
10270
10271 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
10272
10273 fi
10274
10275
10276 eval "$wx_cv_use_clipboard"
10277 if test "$no_cache" != 1; then
10278 echo $wx_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
10279 fi
10280
10281 if test x"$enablestring" = xdisable; then
10282 if test $wxUSE_CLIPBOARD = yes; then
10283 result=no
10284 else
10285 result=yes
10286 fi
10287 else
10288 result=$wxUSE_CLIPBOARD
10289 fi
10290
10291 { echo "$as_me:$LINENO: result: $result" >&5
10292 echo "${ECHO_T}$result" >&6; }
10293
10294
10295 enablestring=
10296 defaultval=$wxUSE_ALL_FEATURES
10297 if test -z "$defaultval"; then
10298 if test x"$enablestring" = xdisable; then
10299 defaultval=yes
10300 else
10301 defaultval=no
10302 fi
10303 fi
10304
10305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
10306 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
10307 no_cache=0
10308 # Check whether --enable-dnd was given.
10309 if test "${enable_dnd+set}" = set; then
10310 enableval=$enable_dnd;
10311 if test "$enableval" = yes; then
10312 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
10313 else
10314 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
10315 fi
10316
10317 else
10318
10319 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
10320 if test "x$LINE" != x ; then
10321 eval "DEFAULT_$LINE"
10322 else
10323 no_cache=1
10324 fi
10325
10326 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
10327
10328 fi
10329
10330
10331 eval "$wx_cv_use_dnd"
10332 if test "$no_cache" != 1; then
10333 echo $wx_cv_use_dnd >> ${wx_arg_cache_file}.tmp
10334 fi
10335
10336 if test x"$enablestring" = xdisable; then
10337 if test $wxUSE_DRAG_AND_DROP = yes; then
10338 result=no
10339 else
10340 result=yes
10341 fi
10342 else
10343 result=$wxUSE_DRAG_AND_DROP
10344 fi
10345
10346 { echo "$as_me:$LINENO: result: $result" >&5
10347 echo "${ECHO_T}$result" >&6; }
10348
10349
10350 enablestring=
10351 defaultval=$wxUSE_ALL_FEATURES
10352 if test -z "$defaultval"; then
10353 if test x"$enablestring" = xdisable; then
10354 defaultval=yes
10355 else
10356 defaultval=no
10357 fi
10358 fi
10359
10360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10361 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
10362 no_cache=0
10363 # Check whether --enable-metafile was given.
10364 if test "${enable_metafile+set}" = set; then
10365 enableval=$enable_metafile;
10366 if test "$enableval" = yes; then
10367 wx_cv_use_metafile='wxUSE_METAFILE=yes'
10368 else
10369 wx_cv_use_metafile='wxUSE_METAFILE=no'
10370 fi
10371
10372 else
10373
10374 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
10375 if test "x$LINE" != x ; then
10376 eval "DEFAULT_$LINE"
10377 else
10378 no_cache=1
10379 fi
10380
10381 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
10382
10383 fi
10384
10385
10386 eval "$wx_cv_use_metafile"
10387 if test "$no_cache" != 1; then
10388 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10389 fi
10390
10391 if test x"$enablestring" = xdisable; then
10392 if test $wxUSE_METAFILE = yes; then
10393 result=no
10394 else
10395 result=yes
10396 fi
10397 else
10398 result=$wxUSE_METAFILE
10399 fi
10400
10401 { echo "$as_me:$LINENO: result: $result" >&5
10402 echo "${ECHO_T}$result" >&6; }
10403
10404
10405
10406 DEFAULT_wxUSE_CONTROLS=none
10407
10408 enablestring=disable
10409 defaultval=
10410 if test -z "$defaultval"; then
10411 if test x"$enablestring" = xdisable; then
10412 defaultval=yes
10413 else
10414 defaultval=no
10415 fi
10416 fi
10417
10418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
10419 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
10420 no_cache=0
10421 # Check whether --enable-controls was given.
10422 if test "${enable_controls+set}" = set; then
10423 enableval=$enable_controls;
10424 if test "$enableval" = yes; then
10425 wx_cv_use_controls='wxUSE_CONTROLS=yes'
10426 else
10427 wx_cv_use_controls='wxUSE_CONTROLS=no'
10428 fi
10429
10430 else
10431
10432 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
10433 if test "x$LINE" != x ; then
10434 eval "DEFAULT_$LINE"
10435 else
10436 no_cache=1
10437 fi
10438
10439 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
10440
10441 fi
10442
10443
10444 eval "$wx_cv_use_controls"
10445 if test "$no_cache" != 1; then
10446 echo $wx_cv_use_controls >> ${wx_arg_cache_file}.tmp
10447 fi
10448
10449 if test x"$enablestring" = xdisable; then
10450 if test $wxUSE_CONTROLS = yes; then
10451 result=no
10452 else
10453 result=yes
10454 fi
10455 else
10456 result=$wxUSE_CONTROLS
10457 fi
10458
10459 { echo "$as_me:$LINENO: result: $result" >&5
10460 echo "${ECHO_T}$result" >&6; }
10461
10462
10463 if test "$wxUSE_CONTROLS" = "yes"; then
10464 DEFAULT_wxUSE_ACCEL=yes
10465 DEFAULT_wxUSE_ANIMATIONCTRL=yes
10466 DEFAULT_wxUSE_BMPBUTTON=yes
10467 DEFAULT_wxUSE_BUTTON=yes
10468 DEFAULT_wxUSE_CALCTRL=yes
10469 DEFAULT_wxUSE_CARET=yes
10470 DEFAULT_wxUSE_COMBOBOX=yes
10471 DEFAULT_wxUSE_CHECKBOX=yes
10472 DEFAULT_wxUSE_CHECKLISTBOX=yes
10473 DEFAULT_wxUSE_CHOICE=yes
10474 DEFAULT_wxUSE_CHOICEBOOK=yes
10475 DEFAULT_wxUSE_COLLPANE=yes
10476 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
10477 DEFAULT_wxUSE_COMBOBOX=yes
10478 DEFAULT_wxUSE_DATEPICKCTRL=yes
10479 DEFAULT_wxUSE_DISPLAY=yes
10480 DEFAULT_wxUSE_DETECT_SM=yes
10481 DEFAULT_wxUSE_DIRPICKERCTRL=yes
10482 DEFAULT_wxUSE_FILEPICKERCTRL=yes
10483 DEFAULT_wxUSE_FONTPICKERCTRL=yes
10484 DEFAULT_wxUSE_GAUGE=yes
10485 DEFAULT_wxUSE_GRID=yes
10486 DEFAULT_wxUSE_HYPERLINKCTRL=yes
10487 DEFAULT_wxUSE_DATAVIEWCTRL=no
10488 DEFAULT_wxUSE_IMAGLIST=yes
10489 DEFAULT_wxUSE_LISTBOOK=yes
10490 DEFAULT_wxUSE_LISTBOX=yes
10491 DEFAULT_wxUSE_LISTCTRL=yes
10492 DEFAULT_wxUSE_NOTEBOOK=yes
10493 DEFAULT_wxUSE_RADIOBOX=yes
10494 DEFAULT_wxUSE_RADIOBTN=yes
10495 DEFAULT_wxUSE_SASH=yes
10496 DEFAULT_wxUSE_SCROLLBAR=yes
10497 DEFAULT_wxUSE_SEARCHCTRL=yes
10498 DEFAULT_wxUSE_SLIDER=yes
10499 DEFAULT_wxUSE_SPINBTN=yes
10500 DEFAULT_wxUSE_SPINCTRL=yes
10501 DEFAULT_wxUSE_SPLITTER=yes
10502 DEFAULT_wxUSE_STATBMP=yes
10503 DEFAULT_wxUSE_STATBOX=yes
10504 DEFAULT_wxUSE_STATLINE=yes
10505 DEFAULT_wxUSE_STATUSBAR=yes
10506 DEFAULT_wxUSE_TAB_DIALOG=yes
10507 DEFAULT_wxUSE_TOGGLEBTN=yes
10508 DEFAULT_wxUSE_TOOLBAR=yes
10509 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
10510 DEFAULT_wxUSE_TOOLTIPS=yes
10511 DEFAULT_wxUSE_TREEBOOK=yes
10512 DEFAULT_wxUSE_TOOLBOOK=yes
10513 DEFAULT_wxUSE_TREECTRL=yes
10514 DEFAULT_wxUSE_POPUPWIN=yes
10515 DEFAULT_wxUSE_TIPWINDOW=yes
10516 elif test "$wxUSE_CONTROLS" = "no"; then
10517 DEFAULT_wxUSE_ACCEL=no
10518 DEFAULT_wxUSE_ANIMATIONCTRL=no
10519 DEFAULT_wxUSE_BMPBUTTON=no
10520 DEFAULT_wxUSE_BUTTON=no
10521 DEFAULT_wxUSE_CALCTRL=no
10522 DEFAULT_wxUSE_CARET=no
10523 DEFAULT_wxUSE_COLLPANE=no
10524 DEFAULT_wxUSE_COMBOBOX=no
10525 DEFAULT_wxUSE_CHECKBOX=no
10526 DEFAULT_wxUSE_CHECKLISTBOX=no
10527 DEFAULT_wxUSE_CHOICE=no
10528 DEFAULT_wxUSE_CHOICEBOOK=no
10529 DEFAULT_wxUSE_COLOURPICKERCTRL=no
10530 DEFAULT_wxUSE_COMBOBOX=no
10531 DEFAULT_wxUSE_DATEPICKCTRL=no
10532 DEFAULT_wxUSE_DISPLAY=no
10533 DEFAULT_wxUSE_DETECT_SM=no
10534 DEFAULT_wxUSE_DIRPICKERCTRL=no
10535 DEFAULT_wxUSE_FILEPICKERCTRL=no
10536 DEFAULT_wxUSE_FONTPICKERCTRL=no
10537 DEFAULT_wxUSE_GAUGE=no
10538 DEFAULT_wxUSE_GRID=no
10539 DEFAULT_wxUSE_HYPERLINKCTRL=no
10540 DEFAULT_wxUSE_DATAVIEWCTRL=no
10541 DEFAULT_wxUSE_IMAGLIST=no
10542 DEFAULT_wxUSE_LISTBOOK=no
10543 DEFAULT_wxUSE_LISTBOX=no
10544 DEFAULT_wxUSE_LISTCTRL=no
10545 DEFAULT_wxUSE_NOTEBOOK=no
10546 DEFAULT_wxUSE_RADIOBOX=no
10547 DEFAULT_wxUSE_RADIOBTN=no
10548 DEFAULT_wxUSE_SASH=no
10549 DEFAULT_wxUSE_SCROLLBAR=no
10550 DEFAULT_wxUSE_SEARCHCTRL=no
10551 DEFAULT_wxUSE_SLIDER=no
10552 DEFAULT_wxUSE_SPINBTN=no
10553 DEFAULT_wxUSE_SPINCTRL=no
10554 DEFAULT_wxUSE_SPLITTER=no
10555 DEFAULT_wxUSE_STATBMP=no
10556 DEFAULT_wxUSE_STATBOX=no
10557 DEFAULT_wxUSE_STATLINE=no
10558 DEFAULT_wxUSE_STATUSBAR=no
10559 DEFAULT_wxUSE_TAB_DIALOG=no
10560 DEFAULT_wxUSE_TOGGLEBTN=no
10561 DEFAULT_wxUSE_TOOLBAR=no
10562 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
10563 DEFAULT_wxUSE_TOOLTIPS=no
10564 DEFAULT_wxUSE_TREEBOOK=no
10565 DEFAULT_wxUSE_TOOLBOOK=no
10566 DEFAULT_wxUSE_TREECTRL=no
10567 DEFAULT_wxUSE_POPUPWIN=no
10568 DEFAULT_wxUSE_TIPWINDOW=no
10569 fi
10570
10571
10572 enablestring=
10573 defaultval=$wxUSE_ALL_FEATURES
10574 if test -z "$defaultval"; then
10575 if test x"$enablestring" = xdisable; then
10576 defaultval=yes
10577 else
10578 defaultval=no
10579 fi
10580 fi
10581
10582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10583 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10584 no_cache=0
10585 # Check whether --enable-accel was given.
10586 if test "${enable_accel+set}" = set; then
10587 enableval=$enable_accel;
10588 if test "$enableval" = yes; then
10589 wx_cv_use_accel='wxUSE_ACCEL=yes'
10590 else
10591 wx_cv_use_accel='wxUSE_ACCEL=no'
10592 fi
10593
10594 else
10595
10596 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
10597 if test "x$LINE" != x ; then
10598 eval "DEFAULT_$LINE"
10599 else
10600 no_cache=1
10601 fi
10602
10603 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10604
10605 fi
10606
10607
10608 eval "$wx_cv_use_accel"
10609 if test "$no_cache" != 1; then
10610 echo $wx_cv_use_accel >> ${wx_arg_cache_file}.tmp
10611 fi
10612
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_ACCEL = yes; then
10615 result=no
10616 else
10617 result=yes
10618 fi
10619 else
10620 result=$wxUSE_ACCEL
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}-animatectrl" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10639 no_cache=0
10640 # Check whether --enable-animatectrl was given.
10641 if test "${enable_animatectrl+set}" = set; then
10642 enableval=$enable_animatectrl;
10643 if test "$enableval" = yes; then
10644 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10645 else
10646 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10647 fi
10648
10649 else
10650
10651 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
10652 if test "x$LINE" != x ; then
10653 eval "DEFAULT_$LINE"
10654 else
10655 no_cache=1
10656 fi
10657
10658 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10659
10660 fi
10661
10662
10663 eval "$wx_cv_use_animatectrl"
10664 if test "$no_cache" != 1; then
10665 echo $wx_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
10666 fi
10667
10668 if test x"$enablestring" = xdisable; then
10669 if test $wxUSE_ANIMATIONCTRL = yes; then
10670 result=no
10671 else
10672 result=yes
10673 fi
10674 else
10675 result=$wxUSE_ANIMATIONCTRL
10676 fi
10677
10678 { echo "$as_me:$LINENO: result: $result" >&5
10679 echo "${ECHO_T}$result" >&6; }
10680
10681
10682 enablestring=
10683 defaultval=$wxUSE_ALL_FEATURES
10684 if test -z "$defaultval"; then
10685 if test x"$enablestring" = xdisable; then
10686 defaultval=yes
10687 else
10688 defaultval=no
10689 fi
10690 fi
10691
10692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10693 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10694 no_cache=0
10695 # Check whether --enable-button was given.
10696 if test "${enable_button+set}" = set; then
10697 enableval=$enable_button;
10698 if test "$enableval" = yes; then
10699 wx_cv_use_button='wxUSE_BUTTON=yes'
10700 else
10701 wx_cv_use_button='wxUSE_BUTTON=no'
10702 fi
10703
10704 else
10705
10706 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
10707 if test "x$LINE" != x ; then
10708 eval "DEFAULT_$LINE"
10709 else
10710 no_cache=1
10711 fi
10712
10713 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10714
10715 fi
10716
10717
10718 eval "$wx_cv_use_button"
10719 if test "$no_cache" != 1; then
10720 echo $wx_cv_use_button >> ${wx_arg_cache_file}.tmp
10721 fi
10722
10723 if test x"$enablestring" = xdisable; then
10724 if test $wxUSE_BUTTON = yes; then
10725 result=no
10726 else
10727 result=yes
10728 fi
10729 else
10730 result=$wxUSE_BUTTON
10731 fi
10732
10733 { echo "$as_me:$LINENO: result: $result" >&5
10734 echo "${ECHO_T}$result" >&6; }
10735
10736
10737 enablestring=
10738 defaultval=$wxUSE_ALL_FEATURES
10739 if test -z "$defaultval"; then
10740 if test x"$enablestring" = xdisable; then
10741 defaultval=yes
10742 else
10743 defaultval=no
10744 fi
10745 fi
10746
10747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10748 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10749 no_cache=0
10750 # Check whether --enable-bmpbutton was given.
10751 if test "${enable_bmpbutton+set}" = set; then
10752 enableval=$enable_bmpbutton;
10753 if test "$enableval" = yes; then
10754 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10755 else
10756 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10757 fi
10758
10759 else
10760
10761 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
10762 if test "x$LINE" != x ; then
10763 eval "DEFAULT_$LINE"
10764 else
10765 no_cache=1
10766 fi
10767
10768 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10769
10770 fi
10771
10772
10773 eval "$wx_cv_use_bmpbutton"
10774 if test "$no_cache" != 1; then
10775 echo $wx_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
10776 fi
10777
10778 if test x"$enablestring" = xdisable; then
10779 if test $wxUSE_BMPBUTTON = yes; then
10780 result=no
10781 else
10782 result=yes
10783 fi
10784 else
10785 result=$wxUSE_BMPBUTTON
10786 fi
10787
10788 { echo "$as_me:$LINENO: result: $result" >&5
10789 echo "${ECHO_T}$result" >&6; }
10790
10791
10792 enablestring=
10793 defaultval=$wxUSE_ALL_FEATURES
10794 if test -z "$defaultval"; then
10795 if test x"$enablestring" = xdisable; then
10796 defaultval=yes
10797 else
10798 defaultval=no
10799 fi
10800 fi
10801
10802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10803 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10804 no_cache=0
10805 # Check whether --enable-bmpcombobox was given.
10806 if test "${enable_bmpcombobox+set}" = set; then
10807 enableval=$enable_bmpcombobox;
10808 if test "$enableval" = yes; then
10809 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10810 else
10811 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10812 fi
10813
10814 else
10815
10816 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
10817 if test "x$LINE" != x ; then
10818 eval "DEFAULT_$LINE"
10819 else
10820 no_cache=1
10821 fi
10822
10823 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10824
10825 fi
10826
10827
10828 eval "$wx_cv_use_bmpcombobox"
10829 if test "$no_cache" != 1; then
10830 echo $wx_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
10831 fi
10832
10833 if test x"$enablestring" = xdisable; then
10834 if test $wxUSE_BITMAPCOMBOBOX = yes; then
10835 result=no
10836 else
10837 result=yes
10838 fi
10839 else
10840 result=$wxUSE_BITMAPCOMBOBOX
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}-calendar" >&5
10858 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10859 no_cache=0
10860 # Check whether --enable-calendar was given.
10861 if test "${enable_calendar+set}" = set; then
10862 enableval=$enable_calendar;
10863 if test "$enableval" = yes; then
10864 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10865 else
10866 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10867 fi
10868
10869 else
10870
10871 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
10872 if test "x$LINE" != x ; then
10873 eval "DEFAULT_$LINE"
10874 else
10875 no_cache=1
10876 fi
10877
10878 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10879
10880 fi
10881
10882
10883 eval "$wx_cv_use_calendar"
10884 if test "$no_cache" != 1; then
10885 echo $wx_cv_use_calendar >> ${wx_arg_cache_file}.tmp
10886 fi
10887
10888 if test x"$enablestring" = xdisable; then
10889 if test $wxUSE_CALCTRL = yes; then
10890 result=no
10891 else
10892 result=yes
10893 fi
10894 else
10895 result=$wxUSE_CALCTRL
10896 fi
10897
10898 { echo "$as_me:$LINENO: result: $result" >&5
10899 echo "${ECHO_T}$result" >&6; }
10900
10901
10902 enablestring=
10903 defaultval=$wxUSE_ALL_FEATURES
10904 if test -z "$defaultval"; then
10905 if test x"$enablestring" = xdisable; then
10906 defaultval=yes
10907 else
10908 defaultval=no
10909 fi
10910 fi
10911
10912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10913 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10914 no_cache=0
10915 # Check whether --enable-caret was given.
10916 if test "${enable_caret+set}" = set; then
10917 enableval=$enable_caret;
10918 if test "$enableval" = yes; then
10919 wx_cv_use_caret='wxUSE_CARET=yes'
10920 else
10921 wx_cv_use_caret='wxUSE_CARET=no'
10922 fi
10923
10924 else
10925
10926 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
10927 if test "x$LINE" != x ; then
10928 eval "DEFAULT_$LINE"
10929 else
10930 no_cache=1
10931 fi
10932
10933 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10934
10935 fi
10936
10937
10938 eval "$wx_cv_use_caret"
10939 if test "$no_cache" != 1; then
10940 echo $wx_cv_use_caret >> ${wx_arg_cache_file}.tmp
10941 fi
10942
10943 if test x"$enablestring" = xdisable; then
10944 if test $wxUSE_CARET = yes; then
10945 result=no
10946 else
10947 result=yes
10948 fi
10949 else
10950 result=$wxUSE_CARET
10951 fi
10952
10953 { echo "$as_me:$LINENO: result: $result" >&5
10954 echo "${ECHO_T}$result" >&6; }
10955
10956
10957 enablestring=
10958 defaultval=$wxUSE_ALL_FEATURES
10959 if test -z "$defaultval"; then
10960 if test x"$enablestring" = xdisable; then
10961 defaultval=yes
10962 else
10963 defaultval=no
10964 fi
10965 fi
10966
10967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10968 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10969 no_cache=0
10970 # Check whether --enable-checkbox was given.
10971 if test "${enable_checkbox+set}" = set; then
10972 enableval=$enable_checkbox;
10973 if test "$enableval" = yes; then
10974 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10975 else
10976 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10977 fi
10978
10979 else
10980
10981 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
10982 if test "x$LINE" != x ; then
10983 eval "DEFAULT_$LINE"
10984 else
10985 no_cache=1
10986 fi
10987
10988 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10989
10990 fi
10991
10992
10993 eval "$wx_cv_use_checkbox"
10994 if test "$no_cache" != 1; then
10995 echo $wx_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
10996 fi
10997
10998 if test x"$enablestring" = xdisable; then
10999 if test $wxUSE_CHECKBOX = yes; then
11000 result=no
11001 else
11002 result=yes
11003 fi
11004 else
11005 result=$wxUSE_CHECKBOX
11006 fi
11007
11008 { echo "$as_me:$LINENO: result: $result" >&5
11009 echo "${ECHO_T}$result" >&6; }
11010
11011
11012 enablestring=
11013 defaultval=$wxUSE_ALL_FEATURES
11014 if test -z "$defaultval"; then
11015 if test x"$enablestring" = xdisable; then
11016 defaultval=yes
11017 else
11018 defaultval=no
11019 fi
11020 fi
11021
11022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
11023 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
11024 no_cache=0
11025 # Check whether --enable-checklst was given.
11026 if test "${enable_checklst+set}" = set; then
11027 enableval=$enable_checklst;
11028 if test "$enableval" = yes; then
11029 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
11030 else
11031 wx_cv_use_checklst='wxUSE_CHECKLST=no'
11032 fi
11033
11034 else
11035
11036 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
11037 if test "x$LINE" != x ; then
11038 eval "DEFAULT_$LINE"
11039 else
11040 no_cache=1
11041 fi
11042
11043 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
11044
11045 fi
11046
11047
11048 eval "$wx_cv_use_checklst"
11049 if test "$no_cache" != 1; then
11050 echo $wx_cv_use_checklst >> ${wx_arg_cache_file}.tmp
11051 fi
11052
11053 if test x"$enablestring" = xdisable; then
11054 if test $wxUSE_CHECKLST = yes; then
11055 result=no
11056 else
11057 result=yes
11058 fi
11059 else
11060 result=$wxUSE_CHECKLST
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}-choice" >&5
11078 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
11079 no_cache=0
11080 # Check whether --enable-choice was given.
11081 if test "${enable_choice+set}" = set; then
11082 enableval=$enable_choice;
11083 if test "$enableval" = yes; then
11084 wx_cv_use_choice='wxUSE_CHOICE=yes'
11085 else
11086 wx_cv_use_choice='wxUSE_CHOICE=no'
11087 fi
11088
11089 else
11090
11091 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
11092 if test "x$LINE" != x ; then
11093 eval "DEFAULT_$LINE"
11094 else
11095 no_cache=1
11096 fi
11097
11098 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
11099
11100 fi
11101
11102
11103 eval "$wx_cv_use_choice"
11104 if test "$no_cache" != 1; then
11105 echo $wx_cv_use_choice >> ${wx_arg_cache_file}.tmp
11106 fi
11107
11108 if test x"$enablestring" = xdisable; then
11109 if test $wxUSE_CHOICE = yes; then
11110 result=no
11111 else
11112 result=yes
11113 fi
11114 else
11115 result=$wxUSE_CHOICE
11116 fi
11117
11118 { echo "$as_me:$LINENO: result: $result" >&5
11119 echo "${ECHO_T}$result" >&6; }
11120
11121
11122 enablestring=
11123 defaultval=$wxUSE_ALL_FEATURES
11124 if test -z "$defaultval"; then
11125 if test x"$enablestring" = xdisable; then
11126 defaultval=yes
11127 else
11128 defaultval=no
11129 fi
11130 fi
11131
11132 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
11133 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
11134 no_cache=0
11135 # Check whether --enable-choicebook was given.
11136 if test "${enable_choicebook+set}" = set; then
11137 enableval=$enable_choicebook;
11138 if test "$enableval" = yes; then
11139 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
11140 else
11141 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
11142 fi
11143
11144 else
11145
11146 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
11147 if test "x$LINE" != x ; then
11148 eval "DEFAULT_$LINE"
11149 else
11150 no_cache=1
11151 fi
11152
11153 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
11154
11155 fi
11156
11157
11158 eval "$wx_cv_use_choicebook"
11159 if test "$no_cache" != 1; then
11160 echo $wx_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
11161 fi
11162
11163 if test x"$enablestring" = xdisable; then
11164 if test $wxUSE_CHOICEBOOK = yes; then
11165 result=no
11166 else
11167 result=yes
11168 fi
11169 else
11170 result=$wxUSE_CHOICEBOOK
11171 fi
11172
11173 { echo "$as_me:$LINENO: result: $result" >&5
11174 echo "${ECHO_T}$result" >&6; }
11175
11176
11177 enablestring=
11178 defaultval=$wxUSE_ALL_FEATURES
11179 if test -z "$defaultval"; then
11180 if test x"$enablestring" = xdisable; then
11181 defaultval=yes
11182 else
11183 defaultval=no
11184 fi
11185 fi
11186
11187 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
11188 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
11189 no_cache=0
11190 # Check whether --enable-collpane was given.
11191 if test "${enable_collpane+set}" = set; then
11192 enableval=$enable_collpane;
11193 if test "$enableval" = yes; then
11194 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
11195 else
11196 wx_cv_use_collpane='wxUSE_COLLPANE=no'
11197 fi
11198
11199 else
11200
11201 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
11202 if test "x$LINE" != x ; then
11203 eval "DEFAULT_$LINE"
11204 else
11205 no_cache=1
11206 fi
11207
11208 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
11209
11210 fi
11211
11212
11213 eval "$wx_cv_use_collpane"
11214 if test "$no_cache" != 1; then
11215 echo $wx_cv_use_collpane >> ${wx_arg_cache_file}.tmp
11216 fi
11217
11218 if test x"$enablestring" = xdisable; then
11219 if test $wxUSE_COLLPANE = yes; then
11220 result=no
11221 else
11222 result=yes
11223 fi
11224 else
11225 result=$wxUSE_COLLPANE
11226 fi
11227
11228 { echo "$as_me:$LINENO: result: $result" >&5
11229 echo "${ECHO_T}$result" >&6; }
11230
11231
11232 enablestring=
11233 defaultval=$wxUSE_ALL_FEATURES
11234 if test -z "$defaultval"; then
11235 if test x"$enablestring" = xdisable; then
11236 defaultval=yes
11237 else
11238 defaultval=no
11239 fi
11240 fi
11241
11242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
11244 no_cache=0
11245 # Check whether --enable-colourpicker was given.
11246 if test "${enable_colourpicker+set}" = set; then
11247 enableval=$enable_colourpicker;
11248 if test "$enableval" = yes; then
11249 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
11250 else
11251 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
11252 fi
11253
11254 else
11255
11256 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
11257 if test "x$LINE" != x ; then
11258 eval "DEFAULT_$LINE"
11259 else
11260 no_cache=1
11261 fi
11262
11263 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
11264
11265 fi
11266
11267
11268 eval "$wx_cv_use_colourpicker"
11269 if test "$no_cache" != 1; then
11270 echo $wx_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
11271 fi
11272
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_COLOURPICKERCTRL = yes; then
11275 result=no
11276 else
11277 result=yes
11278 fi
11279 else
11280 result=$wxUSE_COLOURPICKERCTRL
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}-combobox" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
11299 no_cache=0
11300 # Check whether --enable-combobox was given.
11301 if test "${enable_combobox+set}" = set; then
11302 enableval=$enable_combobox;
11303 if test "$enableval" = yes; then
11304 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
11305 else
11306 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
11307 fi
11308
11309 else
11310
11311 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
11312 if test "x$LINE" != x ; then
11313 eval "DEFAULT_$LINE"
11314 else
11315 no_cache=1
11316 fi
11317
11318 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
11319
11320 fi
11321
11322
11323 eval "$wx_cv_use_combobox"
11324 if test "$no_cache" != 1; then
11325 echo $wx_cv_use_combobox >> ${wx_arg_cache_file}.tmp
11326 fi
11327
11328 if test x"$enablestring" = xdisable; then
11329 if test $wxUSE_COMBOBOX = yes; then
11330 result=no
11331 else
11332 result=yes
11333 fi
11334 else
11335 result=$wxUSE_COMBOBOX
11336 fi
11337
11338 { echo "$as_me:$LINENO: result: $result" >&5
11339 echo "${ECHO_T}$result" >&6; }
11340
11341
11342 enablestring=
11343 defaultval=$wxUSE_ALL_FEATURES
11344 if test -z "$defaultval"; then
11345 if test x"$enablestring" = xdisable; then
11346 defaultval=yes
11347 else
11348 defaultval=no
11349 fi
11350 fi
11351
11352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
11353 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
11354 no_cache=0
11355 # Check whether --enable-comboctrl was given.
11356 if test "${enable_comboctrl+set}" = set; then
11357 enableval=$enable_comboctrl;
11358 if test "$enableval" = yes; then
11359 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
11360 else
11361 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
11362 fi
11363
11364 else
11365
11366 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
11367 if test "x$LINE" != x ; then
11368 eval "DEFAULT_$LINE"
11369 else
11370 no_cache=1
11371 fi
11372
11373 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
11374
11375 fi
11376
11377
11378 eval "$wx_cv_use_comboctrl"
11379 if test "$no_cache" != 1; then
11380 echo $wx_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
11381 fi
11382
11383 if test x"$enablestring" = xdisable; then
11384 if test $wxUSE_COMBOCTRL = yes; then
11385 result=no
11386 else
11387 result=yes
11388 fi
11389 else
11390 result=$wxUSE_COMBOCTRL
11391 fi
11392
11393 { echo "$as_me:$LINENO: result: $result" >&5
11394 echo "${ECHO_T}$result" >&6; }
11395
11396
11397 enablestring=
11398 defaultval=$wxUSE_ALL_FEATURES
11399 if test -z "$defaultval"; then
11400 if test x"$enablestring" = xdisable; then
11401 defaultval=yes
11402 else
11403 defaultval=no
11404 fi
11405 fi
11406
11407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
11408 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
11409 no_cache=0
11410 # Check whether --enable-datepick was given.
11411 if test "${enable_datepick+set}" = set; then
11412 enableval=$enable_datepick;
11413 if test "$enableval" = yes; then
11414 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
11415 else
11416 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
11417 fi
11418
11419 else
11420
11421 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x ; then
11423 eval "DEFAULT_$LINE"
11424 else
11425 no_cache=1
11426 fi
11427
11428 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
11429
11430 fi
11431
11432
11433 eval "$wx_cv_use_datepick"
11434 if test "$no_cache" != 1; then
11435 echo $wx_cv_use_datepick >> ${wx_arg_cache_file}.tmp
11436 fi
11437
11438 if test x"$enablestring" = xdisable; then
11439 if test $wxUSE_DATEPICKCTRL = yes; then
11440 result=no
11441 else
11442 result=yes
11443 fi
11444 else
11445 result=$wxUSE_DATEPICKCTRL
11446 fi
11447
11448 { echo "$as_me:$LINENO: result: $result" >&5
11449 echo "${ECHO_T}$result" >&6; }
11450
11451
11452 enablestring=
11453 defaultval=$wxUSE_ALL_FEATURES
11454 if test -z "$defaultval"; then
11455 if test x"$enablestring" = xdisable; then
11456 defaultval=yes
11457 else
11458 defaultval=no
11459 fi
11460 fi
11461
11462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
11463 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
11464 no_cache=0
11465 # Check whether --enable-dirpicker was given.
11466 if test "${enable_dirpicker+set}" = set; then
11467 enableval=$enable_dirpicker;
11468 if test "$enableval" = yes; then
11469 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11470 else
11471 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11472 fi
11473
11474 else
11475
11476 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
11477 if test "x$LINE" != x ; then
11478 eval "DEFAULT_$LINE"
11479 else
11480 no_cache=1
11481 fi
11482
11483 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11484
11485 fi
11486
11487
11488 eval "$wx_cv_use_dirpicker"
11489 if test "$no_cache" != 1; then
11490 echo $wx_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
11491 fi
11492
11493 if test x"$enablestring" = xdisable; then
11494 if test $wxUSE_DIRPICKERCTRL = yes; then
11495 result=no
11496 else
11497 result=yes
11498 fi
11499 else
11500 result=$wxUSE_DIRPICKERCTRL
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}-display" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11519 no_cache=0
11520 # Check whether --enable-display was given.
11521 if test "${enable_display+set}" = set; then
11522 enableval=$enable_display;
11523 if test "$enableval" = yes; then
11524 wx_cv_use_display='wxUSE_DISPLAY=yes'
11525 else
11526 wx_cv_use_display='wxUSE_DISPLAY=no'
11527 fi
11528
11529 else
11530
11531 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
11532 if test "x$LINE" != x ; then
11533 eval "DEFAULT_$LINE"
11534 else
11535 no_cache=1
11536 fi
11537
11538 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11539
11540 fi
11541
11542
11543 eval "$wx_cv_use_display"
11544 if test "$no_cache" != 1; then
11545 echo $wx_cv_use_display >> ${wx_arg_cache_file}.tmp
11546 fi
11547
11548 if test x"$enablestring" = xdisable; then
11549 if test $wxUSE_DISPLAY = yes; then
11550 result=no
11551 else
11552 result=yes
11553 fi
11554 else
11555 result=$wxUSE_DISPLAY
11556 fi
11557
11558 { echo "$as_me:$LINENO: result: $result" >&5
11559 echo "${ECHO_T}$result" >&6; }
11560
11561
11562 enablestring=
11563 defaultval=$wxUSE_ALL_FEATURES
11564 if test -z "$defaultval"; then
11565 if test x"$enablestring" = xdisable; then
11566 defaultval=yes
11567 else
11568 defaultval=no
11569 fi
11570 fi
11571
11572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
11573 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
11574 no_cache=0
11575 # Check whether --enable-detect_sm was given.
11576 if test "${enable_detect_sm+set}" = set; then
11577 enableval=$enable_detect_sm;
11578 if test "$enableval" = yes; then
11579 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
11580 else
11581 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
11582 fi
11583
11584 else
11585
11586 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
11587 if test "x$LINE" != x ; then
11588 eval "DEFAULT_$LINE"
11589 else
11590 no_cache=1
11591 fi
11592
11593 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
11594
11595 fi
11596
11597
11598 eval "$wx_cv_use_detect_sm"
11599 if test "$no_cache" != 1; then
11600 echo $wx_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
11601 fi
11602
11603 if test x"$enablestring" = xdisable; then
11604 if test $wxUSE_DETECT_SM = yes; then
11605 result=no
11606 else
11607 result=yes
11608 fi
11609 else
11610 result=$wxUSE_DETECT_SM
11611 fi
11612
11613 { echo "$as_me:$LINENO: result: $result" >&5
11614 echo "${ECHO_T}$result" >&6; }
11615
11616
11617 enablestring=
11618 defaultval=$wxUSE_ALL_FEATURES
11619 if test -z "$defaultval"; then
11620 if test x"$enablestring" = xdisable; then
11621 defaultval=yes
11622 else
11623 defaultval=no
11624 fi
11625 fi
11626
11627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11628 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11629 no_cache=0
11630 # Check whether --enable-editablebox was given.
11631 if test "${enable_editablebox+set}" = set; then
11632 enableval=$enable_editablebox;
11633 if test "$enableval" = yes; then
11634 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11635 else
11636 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11637 fi
11638
11639 else
11640
11641 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
11642 if test "x$LINE" != x ; then
11643 eval "DEFAULT_$LINE"
11644 else
11645 no_cache=1
11646 fi
11647
11648 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11649
11650 fi
11651
11652
11653 eval "$wx_cv_use_editablebox"
11654 if test "$no_cache" != 1; then
11655 echo $wx_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
11656 fi
11657
11658 if test x"$enablestring" = xdisable; then
11659 if test $wxUSE_EDITABLELISTBOX = yes; then
11660 result=no
11661 else
11662 result=yes
11663 fi
11664 else
11665 result=$wxUSE_EDITABLELISTBOX
11666 fi
11667
11668 { echo "$as_me:$LINENO: result: $result" >&5
11669 echo "${ECHO_T}$result" >&6; }
11670
11671
11672 enablestring=
11673 defaultval=$wxUSE_ALL_FEATURES
11674 if test -z "$defaultval"; then
11675 if test x"$enablestring" = xdisable; then
11676 defaultval=yes
11677 else
11678 defaultval=no
11679 fi
11680 fi
11681
11682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11683 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11684 no_cache=0
11685 # Check whether --enable-filepicker was given.
11686 if test "${enable_filepicker+set}" = set; then
11687 enableval=$enable_filepicker;
11688 if test "$enableval" = yes; then
11689 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11690 else
11691 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11692 fi
11693
11694 else
11695
11696 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
11697 if test "x$LINE" != x ; then
11698 eval "DEFAULT_$LINE"
11699 else
11700 no_cache=1
11701 fi
11702
11703 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11704
11705 fi
11706
11707
11708 eval "$wx_cv_use_filepicker"
11709 if test "$no_cache" != 1; then
11710 echo $wx_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
11711 fi
11712
11713 if test x"$enablestring" = xdisable; then
11714 if test $wxUSE_FILEPICKERCTRL = yes; then
11715 result=no
11716 else
11717 result=yes
11718 fi
11719 else
11720 result=$wxUSE_FILEPICKERCTRL
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}-fontpicker" >&5
11738 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11739 no_cache=0
11740 # Check whether --enable-fontpicker was given.
11741 if test "${enable_fontpicker+set}" = set; then
11742 enableval=$enable_fontpicker;
11743 if test "$enableval" = yes; then
11744 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11745 else
11746 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11747 fi
11748
11749 else
11750
11751 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
11752 if test "x$LINE" != x ; then
11753 eval "DEFAULT_$LINE"
11754 else
11755 no_cache=1
11756 fi
11757
11758 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11759
11760 fi
11761
11762
11763 eval "$wx_cv_use_fontpicker"
11764 if test "$no_cache" != 1; then
11765 echo $wx_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
11766 fi
11767
11768 if test x"$enablestring" = xdisable; then
11769 if test $wxUSE_FONTPICKERCTRL = yes; then
11770 result=no
11771 else
11772 result=yes
11773 fi
11774 else
11775 result=$wxUSE_FONTPICKERCTRL
11776 fi
11777
11778 { echo "$as_me:$LINENO: result: $result" >&5
11779 echo "${ECHO_T}$result" >&6; }
11780
11781
11782 enablestring=
11783 defaultval=$wxUSE_ALL_FEATURES
11784 if test -z "$defaultval"; then
11785 if test x"$enablestring" = xdisable; then
11786 defaultval=yes
11787 else
11788 defaultval=no
11789 fi
11790 fi
11791
11792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11793 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11794 no_cache=0
11795 # Check whether --enable-gauge was given.
11796 if test "${enable_gauge+set}" = set; then
11797 enableval=$enable_gauge;
11798 if test "$enableval" = yes; then
11799 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11800 else
11801 wx_cv_use_gauge='wxUSE_GAUGE=no'
11802 fi
11803
11804 else
11805
11806 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
11807 if test "x$LINE" != x ; then
11808 eval "DEFAULT_$LINE"
11809 else
11810 no_cache=1
11811 fi
11812
11813 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11814
11815 fi
11816
11817
11818 eval "$wx_cv_use_gauge"
11819 if test "$no_cache" != 1; then
11820 echo $wx_cv_use_gauge >> ${wx_arg_cache_file}.tmp
11821 fi
11822
11823 if test x"$enablestring" = xdisable; then
11824 if test $wxUSE_GAUGE = yes; then
11825 result=no
11826 else
11827 result=yes
11828 fi
11829 else
11830 result=$wxUSE_GAUGE
11831 fi
11832
11833 { echo "$as_me:$LINENO: result: $result" >&5
11834 echo "${ECHO_T}$result" >&6; }
11835
11836
11837 enablestring=
11838 defaultval=$wxUSE_ALL_FEATURES
11839 if test -z "$defaultval"; then
11840 if test x"$enablestring" = xdisable; then
11841 defaultval=yes
11842 else
11843 defaultval=no
11844 fi
11845 fi
11846
11847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11848 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11849 no_cache=0
11850 # Check whether --enable-grid was given.
11851 if test "${enable_grid+set}" = set; then
11852 enableval=$enable_grid;
11853 if test "$enableval" = yes; then
11854 wx_cv_use_grid='wxUSE_GRID=yes'
11855 else
11856 wx_cv_use_grid='wxUSE_GRID=no'
11857 fi
11858
11859 else
11860
11861 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
11862 if test "x$LINE" != x ; then
11863 eval "DEFAULT_$LINE"
11864 else
11865 no_cache=1
11866 fi
11867
11868 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11869
11870 fi
11871
11872
11873 eval "$wx_cv_use_grid"
11874 if test "$no_cache" != 1; then
11875 echo $wx_cv_use_grid >> ${wx_arg_cache_file}.tmp
11876 fi
11877
11878 if test x"$enablestring" = xdisable; then
11879 if test $wxUSE_GRID = yes; then
11880 result=no
11881 else
11882 result=yes
11883 fi
11884 else
11885 result=$wxUSE_GRID
11886 fi
11887
11888 { echo "$as_me:$LINENO: result: $result" >&5
11889 echo "${ECHO_T}$result" >&6; }
11890
11891
11892 enablestring=
11893 defaultval=$wxUSE_ALL_FEATURES
11894 if test -z "$defaultval"; then
11895 if test x"$enablestring" = xdisable; then
11896 defaultval=yes
11897 else
11898 defaultval=no
11899 fi
11900 fi
11901
11902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
11903 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
11904 no_cache=0
11905 # Check whether --enable-dataviewctrl was given.
11906 if test "${enable_dataviewctrl+set}" = set; then
11907 enableval=$enable_dataviewctrl;
11908 if test "$enableval" = yes; then
11909 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
11910 else
11911 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
11912 fi
11913
11914 else
11915
11916 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
11917 if test "x$LINE" != x ; then
11918 eval "DEFAULT_$LINE"
11919 else
11920 no_cache=1
11921 fi
11922
11923 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
11924
11925 fi
11926
11927
11928 eval "$wx_cv_use_dataviewctrl"
11929 if test "$no_cache" != 1; then
11930 echo $wx_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
11931 fi
11932
11933 if test x"$enablestring" = xdisable; then
11934 if test $wxUSE_DATAVIEWCTRL = yes; then
11935 result=no
11936 else
11937 result=yes
11938 fi
11939 else
11940 result=$wxUSE_DATAVIEWCTRL
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}-hyperlink" >&5
11958 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11959 no_cache=0
11960 # Check whether --enable-hyperlink was given.
11961 if test "${enable_hyperlink+set}" = set; then
11962 enableval=$enable_hyperlink;
11963 if test "$enableval" = yes; then
11964 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11965 else
11966 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11967 fi
11968
11969 else
11970
11971 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
11972 if test "x$LINE" != x ; then
11973 eval "DEFAULT_$LINE"
11974 else
11975 no_cache=1
11976 fi
11977
11978 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11979
11980 fi
11981
11982
11983 eval "$wx_cv_use_hyperlink"
11984 if test "$no_cache" != 1; then
11985 echo $wx_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
11986 fi
11987
11988 if test x"$enablestring" = xdisable; then
11989 if test $wxUSE_HYPERLINKCTRL = yes; then
11990 result=no
11991 else
11992 result=yes
11993 fi
11994 else
11995 result=$wxUSE_HYPERLINKCTRL
11996 fi
11997
11998 { echo "$as_me:$LINENO: result: $result" >&5
11999 echo "${ECHO_T}$result" >&6; }
12000
12001
12002 enablestring=
12003 defaultval=$wxUSE_ALL_FEATURES
12004 if test -z "$defaultval"; then
12005 if test x"$enablestring" = xdisable; then
12006 defaultval=yes
12007 else
12008 defaultval=no
12009 fi
12010 fi
12011
12012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
12013 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
12014 no_cache=0
12015 # Check whether --enable-imaglist was given.
12016 if test "${enable_imaglist+set}" = set; then
12017 enableval=$enable_imaglist;
12018 if test "$enableval" = yes; then
12019 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
12020 else
12021 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
12022 fi
12023
12024 else
12025
12026 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
12027 if test "x$LINE" != x ; then
12028 eval "DEFAULT_$LINE"
12029 else
12030 no_cache=1
12031 fi
12032
12033 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
12034
12035 fi
12036
12037
12038 eval "$wx_cv_use_imaglist"
12039 if test "$no_cache" != 1; then
12040 echo $wx_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
12041 fi
12042
12043 if test x"$enablestring" = xdisable; then
12044 if test $wxUSE_IMAGLIST = yes; then
12045 result=no
12046 else
12047 result=yes
12048 fi
12049 else
12050 result=$wxUSE_IMAGLIST
12051 fi
12052
12053 { echo "$as_me:$LINENO: result: $result" >&5
12054 echo "${ECHO_T}$result" >&6; }
12055
12056
12057 enablestring=
12058 defaultval=$wxUSE_ALL_FEATURES
12059 if test -z "$defaultval"; then
12060 if test x"$enablestring" = xdisable; then
12061 defaultval=yes
12062 else
12063 defaultval=no
12064 fi
12065 fi
12066
12067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
12068 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
12069 no_cache=0
12070 # Check whether --enable-listbook was given.
12071 if test "${enable_listbook+set}" = set; then
12072 enableval=$enable_listbook;
12073 if test "$enableval" = yes; then
12074 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
12075 else
12076 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
12077 fi
12078
12079 else
12080
12081 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
12082 if test "x$LINE" != x ; then
12083 eval "DEFAULT_$LINE"
12084 else
12085 no_cache=1
12086 fi
12087
12088 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
12089
12090 fi
12091
12092
12093 eval "$wx_cv_use_listbook"
12094 if test "$no_cache" != 1; then
12095 echo $wx_cv_use_listbook >> ${wx_arg_cache_file}.tmp
12096 fi
12097
12098 if test x"$enablestring" = xdisable; then
12099 if test $wxUSE_LISTBOOK = yes; then
12100 result=no
12101 else
12102 result=yes
12103 fi
12104 else
12105 result=$wxUSE_LISTBOOK
12106 fi
12107
12108 { echo "$as_me:$LINENO: result: $result" >&5
12109 echo "${ECHO_T}$result" >&6; }
12110
12111
12112 enablestring=
12113 defaultval=$wxUSE_ALL_FEATURES
12114 if test -z "$defaultval"; then
12115 if test x"$enablestring" = xdisable; then
12116 defaultval=yes
12117 else
12118 defaultval=no
12119 fi
12120 fi
12121
12122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
12123 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
12124 no_cache=0
12125 # Check whether --enable-listbox was given.
12126 if test "${enable_listbox+set}" = set; then
12127 enableval=$enable_listbox;
12128 if test "$enableval" = yes; then
12129 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
12130 else
12131 wx_cv_use_listbox='wxUSE_LISTBOX=no'
12132 fi
12133
12134 else
12135
12136 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
12137 if test "x$LINE" != x ; then
12138 eval "DEFAULT_$LINE"
12139 else
12140 no_cache=1
12141 fi
12142
12143 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
12144
12145 fi
12146
12147
12148 eval "$wx_cv_use_listbox"
12149 if test "$no_cache" != 1; then
12150 echo $wx_cv_use_listbox >> ${wx_arg_cache_file}.tmp
12151 fi
12152
12153 if test x"$enablestring" = xdisable; then
12154 if test $wxUSE_LISTBOX = yes; then
12155 result=no
12156 else
12157 result=yes
12158 fi
12159 else
12160 result=$wxUSE_LISTBOX
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}-listctrl" >&5
12178 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
12179 no_cache=0
12180 # Check whether --enable-listctrl was given.
12181 if test "${enable_listctrl+set}" = set; then
12182 enableval=$enable_listctrl;
12183 if test "$enableval" = yes; then
12184 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
12185 else
12186 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
12187 fi
12188
12189 else
12190
12191 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
12192 if test "x$LINE" != x ; then
12193 eval "DEFAULT_$LINE"
12194 else
12195 no_cache=1
12196 fi
12197
12198 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
12199
12200 fi
12201
12202
12203 eval "$wx_cv_use_listctrl"
12204 if test "$no_cache" != 1; then
12205 echo $wx_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
12206 fi
12207
12208 if test x"$enablestring" = xdisable; then
12209 if test $wxUSE_LISTCTRL = yes; then
12210 result=no
12211 else
12212 result=yes
12213 fi
12214 else
12215 result=$wxUSE_LISTCTRL
12216 fi
12217
12218 { echo "$as_me:$LINENO: result: $result" >&5
12219 echo "${ECHO_T}$result" >&6; }
12220
12221
12222 enablestring=
12223 defaultval=$wxUSE_ALL_FEATURES
12224 if test -z "$defaultval"; then
12225 if test x"$enablestring" = xdisable; then
12226 defaultval=yes
12227 else
12228 defaultval=no
12229 fi
12230 fi
12231
12232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
12233 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
12234 no_cache=0
12235 # Check whether --enable-notebook was given.
12236 if test "${enable_notebook+set}" = set; then
12237 enableval=$enable_notebook;
12238 if test "$enableval" = yes; then
12239 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
12240 else
12241 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
12242 fi
12243
12244 else
12245
12246 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
12247 if test "x$LINE" != x ; then
12248 eval "DEFAULT_$LINE"
12249 else
12250 no_cache=1
12251 fi
12252
12253 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
12254
12255 fi
12256
12257
12258 eval "$wx_cv_use_notebook"
12259 if test "$no_cache" != 1; then
12260 echo $wx_cv_use_notebook >> ${wx_arg_cache_file}.tmp
12261 fi
12262
12263 if test x"$enablestring" = xdisable; then
12264 if test $wxUSE_NOTEBOOK = yes; then
12265 result=no
12266 else
12267 result=yes
12268 fi
12269 else
12270 result=$wxUSE_NOTEBOOK
12271 fi
12272
12273 { echo "$as_me:$LINENO: result: $result" >&5
12274 echo "${ECHO_T}$result" >&6; }
12275
12276
12277 enablestring=
12278 defaultval=$wxUSE_ALL_FEATURES
12279 if test -z "$defaultval"; then
12280 if test x"$enablestring" = xdisable; then
12281 defaultval=yes
12282 else
12283 defaultval=no
12284 fi
12285 fi
12286
12287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
12288 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
12289 no_cache=0
12290 # Check whether --enable-odcombobox was given.
12291 if test "${enable_odcombobox+set}" = set; then
12292 enableval=$enable_odcombobox;
12293 if test "$enableval" = yes; then
12294 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
12295 else
12296 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
12297 fi
12298
12299 else
12300
12301 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
12302 if test "x$LINE" != x ; then
12303 eval "DEFAULT_$LINE"
12304 else
12305 no_cache=1
12306 fi
12307
12308 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
12309
12310 fi
12311
12312
12313 eval "$wx_cv_use_odcombobox"
12314 if test "$no_cache" != 1; then
12315 echo $wx_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
12316 fi
12317
12318 if test x"$enablestring" = xdisable; then
12319 if test $wxUSE_ODCOMBOBOX = yes; then
12320 result=no
12321 else
12322 result=yes
12323 fi
12324 else
12325 result=$wxUSE_ODCOMBOBOX
12326 fi
12327
12328 { echo "$as_me:$LINENO: result: $result" >&5
12329 echo "${ECHO_T}$result" >&6; }
12330
12331
12332 enablestring=
12333 defaultval=$wxUSE_ALL_FEATURES
12334 if test -z "$defaultval"; then
12335 if test x"$enablestring" = xdisable; then
12336 defaultval=yes
12337 else
12338 defaultval=no
12339 fi
12340 fi
12341
12342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
12343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
12344 no_cache=0
12345 # Check whether --enable-radiobox was given.
12346 if test "${enable_radiobox+set}" = set; then
12347 enableval=$enable_radiobox;
12348 if test "$enableval" = yes; then
12349 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
12350 else
12351 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
12352 fi
12353
12354 else
12355
12356 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
12357 if test "x$LINE" != x ; then
12358 eval "DEFAULT_$LINE"
12359 else
12360 no_cache=1
12361 fi
12362
12363 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
12364
12365 fi
12366
12367
12368 eval "$wx_cv_use_radiobox"
12369 if test "$no_cache" != 1; then
12370 echo $wx_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
12371 fi
12372
12373 if test x"$enablestring" = xdisable; then
12374 if test $wxUSE_RADIOBOX = yes; then
12375 result=no
12376 else
12377 result=yes
12378 fi
12379 else
12380 result=$wxUSE_RADIOBOX
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}-radiobtn" >&5
12398 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
12399 no_cache=0
12400 # Check whether --enable-radiobtn was given.
12401 if test "${enable_radiobtn+set}" = set; then
12402 enableval=$enable_radiobtn;
12403 if test "$enableval" = yes; then
12404 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
12405 else
12406 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
12407 fi
12408
12409 else
12410
12411 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
12412 if test "x$LINE" != x ; then
12413 eval "DEFAULT_$LINE"
12414 else
12415 no_cache=1
12416 fi
12417
12418 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
12419
12420 fi
12421
12422
12423 eval "$wx_cv_use_radiobtn"
12424 if test "$no_cache" != 1; then
12425 echo $wx_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
12426 fi
12427
12428 if test x"$enablestring" = xdisable; then
12429 if test $wxUSE_RADIOBTN = yes; then
12430 result=no
12431 else
12432 result=yes
12433 fi
12434 else
12435 result=$wxUSE_RADIOBTN
12436 fi
12437
12438 { echo "$as_me:$LINENO: result: $result" >&5
12439 echo "${ECHO_T}$result" >&6; }
12440
12441
12442 enablestring=
12443 defaultval=$wxUSE_ALL_FEATURES
12444 if test -z "$defaultval"; then
12445 if test x"$enablestring" = xdisable; then
12446 defaultval=yes
12447 else
12448 defaultval=no
12449 fi
12450 fi
12451
12452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12453 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12454 no_cache=0
12455 # Check whether --enable-sash was given.
12456 if test "${enable_sash+set}" = set; then
12457 enableval=$enable_sash;
12458 if test "$enableval" = yes; then
12459 wx_cv_use_sash='wxUSE_SASH=yes'
12460 else
12461 wx_cv_use_sash='wxUSE_SASH=no'
12462 fi
12463
12464 else
12465
12466 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
12467 if test "x$LINE" != x ; then
12468 eval "DEFAULT_$LINE"
12469 else
12470 no_cache=1
12471 fi
12472
12473 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12474
12475 fi
12476
12477
12478 eval "$wx_cv_use_sash"
12479 if test "$no_cache" != 1; then
12480 echo $wx_cv_use_sash >> ${wx_arg_cache_file}.tmp
12481 fi
12482
12483 if test x"$enablestring" = xdisable; then
12484 if test $wxUSE_SASH = yes; then
12485 result=no
12486 else
12487 result=yes
12488 fi
12489 else
12490 result=$wxUSE_SASH
12491 fi
12492
12493 { echo "$as_me:$LINENO: result: $result" >&5
12494 echo "${ECHO_T}$result" >&6; }
12495
12496
12497 enablestring=
12498 defaultval=$wxUSE_ALL_FEATURES
12499 if test -z "$defaultval"; then
12500 if test x"$enablestring" = xdisable; then
12501 defaultval=yes
12502 else
12503 defaultval=no
12504 fi
12505 fi
12506
12507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12508 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12509 no_cache=0
12510 # Check whether --enable-scrollbar was given.
12511 if test "${enable_scrollbar+set}" = set; then
12512 enableval=$enable_scrollbar;
12513 if test "$enableval" = yes; then
12514 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12515 else
12516 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12517 fi
12518
12519 else
12520
12521 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
12522 if test "x$LINE" != x ; then
12523 eval "DEFAULT_$LINE"
12524 else
12525 no_cache=1
12526 fi
12527
12528 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12529
12530 fi
12531
12532
12533 eval "$wx_cv_use_scrollbar"
12534 if test "$no_cache" != 1; then
12535 echo $wx_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
12536 fi
12537
12538 if test x"$enablestring" = xdisable; then
12539 if test $wxUSE_SCROLLBAR = yes; then
12540 result=no
12541 else
12542 result=yes
12543 fi
12544 else
12545 result=$wxUSE_SCROLLBAR
12546 fi
12547
12548 { echo "$as_me:$LINENO: result: $result" >&5
12549 echo "${ECHO_T}$result" >&6; }
12550
12551
12552 enablestring=
12553 defaultval=$wxUSE_ALL_FEATURES
12554 if test -z "$defaultval"; then
12555 if test x"$enablestring" = xdisable; then
12556 defaultval=yes
12557 else
12558 defaultval=no
12559 fi
12560 fi
12561
12562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12563 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12564 no_cache=0
12565 # Check whether --enable-searchctrl was given.
12566 if test "${enable_searchctrl+set}" = set; then
12567 enableval=$enable_searchctrl;
12568 if test "$enableval" = yes; then
12569 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12570 else
12571 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12572 fi
12573
12574 else
12575
12576 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
12577 if test "x$LINE" != x ; then
12578 eval "DEFAULT_$LINE"
12579 else
12580 no_cache=1
12581 fi
12582
12583 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12584
12585 fi
12586
12587
12588 eval "$wx_cv_use_searchctrl"
12589 if test "$no_cache" != 1; then
12590 echo $wx_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
12591 fi
12592
12593 if test x"$enablestring" = xdisable; then
12594 if test $wxUSE_SEARCHCTRL = yes; then
12595 result=no
12596 else
12597 result=yes
12598 fi
12599 else
12600 result=$wxUSE_SEARCHCTRL
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}-slider" >&5
12618 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12619 no_cache=0
12620 # Check whether --enable-slider was given.
12621 if test "${enable_slider+set}" = set; then
12622 enableval=$enable_slider;
12623 if test "$enableval" = yes; then
12624 wx_cv_use_slider='wxUSE_SLIDER=yes'
12625 else
12626 wx_cv_use_slider='wxUSE_SLIDER=no'
12627 fi
12628
12629 else
12630
12631 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
12632 if test "x$LINE" != x ; then
12633 eval "DEFAULT_$LINE"
12634 else
12635 no_cache=1
12636 fi
12637
12638 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12639
12640 fi
12641
12642
12643 eval "$wx_cv_use_slider"
12644 if test "$no_cache" != 1; then
12645 echo $wx_cv_use_slider >> ${wx_arg_cache_file}.tmp
12646 fi
12647
12648 if test x"$enablestring" = xdisable; then
12649 if test $wxUSE_SLIDER = yes; then
12650 result=no
12651 else
12652 result=yes
12653 fi
12654 else
12655 result=$wxUSE_SLIDER
12656 fi
12657
12658 { echo "$as_me:$LINENO: result: $result" >&5
12659 echo "${ECHO_T}$result" >&6; }
12660
12661
12662 enablestring=
12663 defaultval=$wxUSE_ALL_FEATURES
12664 if test -z "$defaultval"; then
12665 if test x"$enablestring" = xdisable; then
12666 defaultval=yes
12667 else
12668 defaultval=no
12669 fi
12670 fi
12671
12672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12673 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12674 no_cache=0
12675 # Check whether --enable-spinbtn was given.
12676 if test "${enable_spinbtn+set}" = set; then
12677 enableval=$enable_spinbtn;
12678 if test "$enableval" = yes; then
12679 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12680 else
12681 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12682 fi
12683
12684 else
12685
12686 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
12687 if test "x$LINE" != x ; then
12688 eval "DEFAULT_$LINE"
12689 else
12690 no_cache=1
12691 fi
12692
12693 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12694
12695 fi
12696
12697
12698 eval "$wx_cv_use_spinbtn"
12699 if test "$no_cache" != 1; then
12700 echo $wx_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
12701 fi
12702
12703 if test x"$enablestring" = xdisable; then
12704 if test $wxUSE_SPINBTN = yes; then
12705 result=no
12706 else
12707 result=yes
12708 fi
12709 else
12710 result=$wxUSE_SPINBTN
12711 fi
12712
12713 { echo "$as_me:$LINENO: result: $result" >&5
12714 echo "${ECHO_T}$result" >&6; }
12715
12716
12717 enablestring=
12718 defaultval=$wxUSE_ALL_FEATURES
12719 if test -z "$defaultval"; then
12720 if test x"$enablestring" = xdisable; then
12721 defaultval=yes
12722 else
12723 defaultval=no
12724 fi
12725 fi
12726
12727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12728 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12729 no_cache=0
12730 # Check whether --enable-spinctrl was given.
12731 if test "${enable_spinctrl+set}" = set; then
12732 enableval=$enable_spinctrl;
12733 if test "$enableval" = yes; then
12734 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12735 else
12736 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12737 fi
12738
12739 else
12740
12741 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
12742 if test "x$LINE" != x ; then
12743 eval "DEFAULT_$LINE"
12744 else
12745 no_cache=1
12746 fi
12747
12748 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12749
12750 fi
12751
12752
12753 eval "$wx_cv_use_spinctrl"
12754 if test "$no_cache" != 1; then
12755 echo $wx_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
12756 fi
12757
12758 if test x"$enablestring" = xdisable; then
12759 if test $wxUSE_SPINCTRL = yes; then
12760 result=no
12761 else
12762 result=yes
12763 fi
12764 else
12765 result=$wxUSE_SPINCTRL
12766 fi
12767
12768 { echo "$as_me:$LINENO: result: $result" >&5
12769 echo "${ECHO_T}$result" >&6; }
12770
12771
12772 enablestring=
12773 defaultval=$wxUSE_ALL_FEATURES
12774 if test -z "$defaultval"; then
12775 if test x"$enablestring" = xdisable; then
12776 defaultval=yes
12777 else
12778 defaultval=no
12779 fi
12780 fi
12781
12782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12783 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12784 no_cache=0
12785 # Check whether --enable-splitter was given.
12786 if test "${enable_splitter+set}" = set; then
12787 enableval=$enable_splitter;
12788 if test "$enableval" = yes; then
12789 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12790 else
12791 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12792 fi
12793
12794 else
12795
12796 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
12797 if test "x$LINE" != x ; then
12798 eval "DEFAULT_$LINE"
12799 else
12800 no_cache=1
12801 fi
12802
12803 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12804
12805 fi
12806
12807
12808 eval "$wx_cv_use_splitter"
12809 if test "$no_cache" != 1; then
12810 echo $wx_cv_use_splitter >> ${wx_arg_cache_file}.tmp
12811 fi
12812
12813 if test x"$enablestring" = xdisable; then
12814 if test $wxUSE_SPLITTER = yes; then
12815 result=no
12816 else
12817 result=yes
12818 fi
12819 else
12820 result=$wxUSE_SPLITTER
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}-statbmp" >&5
12838 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12839 no_cache=0
12840 # Check whether --enable-statbmp was given.
12841 if test "${enable_statbmp+set}" = set; then
12842 enableval=$enable_statbmp;
12843 if test "$enableval" = yes; then
12844 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12845 else
12846 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12847 fi
12848
12849 else
12850
12851 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
12852 if test "x$LINE" != x ; then
12853 eval "DEFAULT_$LINE"
12854 else
12855 no_cache=1
12856 fi
12857
12858 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12859
12860 fi
12861
12862
12863 eval "$wx_cv_use_statbmp"
12864 if test "$no_cache" != 1; then
12865 echo $wx_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
12866 fi
12867
12868 if test x"$enablestring" = xdisable; then
12869 if test $wxUSE_STATBMP = yes; then
12870 result=no
12871 else
12872 result=yes
12873 fi
12874 else
12875 result=$wxUSE_STATBMP
12876 fi
12877
12878 { echo "$as_me:$LINENO: result: $result" >&5
12879 echo "${ECHO_T}$result" >&6; }
12880
12881
12882 enablestring=
12883 defaultval=$wxUSE_ALL_FEATURES
12884 if test -z "$defaultval"; then
12885 if test x"$enablestring" = xdisable; then
12886 defaultval=yes
12887 else
12888 defaultval=no
12889 fi
12890 fi
12891
12892 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12893 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12894 no_cache=0
12895 # Check whether --enable-statbox was given.
12896 if test "${enable_statbox+set}" = set; then
12897 enableval=$enable_statbox;
12898 if test "$enableval" = yes; then
12899 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12900 else
12901 wx_cv_use_statbox='wxUSE_STATBOX=no'
12902 fi
12903
12904 else
12905
12906 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
12907 if test "x$LINE" != x ; then
12908 eval "DEFAULT_$LINE"
12909 else
12910 no_cache=1
12911 fi
12912
12913 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12914
12915 fi
12916
12917
12918 eval "$wx_cv_use_statbox"
12919 if test "$no_cache" != 1; then
12920 echo $wx_cv_use_statbox >> ${wx_arg_cache_file}.tmp
12921 fi
12922
12923 if test x"$enablestring" = xdisable; then
12924 if test $wxUSE_STATBOX = yes; then
12925 result=no
12926 else
12927 result=yes
12928 fi
12929 else
12930 result=$wxUSE_STATBOX
12931 fi
12932
12933 { echo "$as_me:$LINENO: result: $result" >&5
12934 echo "${ECHO_T}$result" >&6; }
12935
12936
12937 enablestring=
12938 defaultval=$wxUSE_ALL_FEATURES
12939 if test -z "$defaultval"; then
12940 if test x"$enablestring" = xdisable; then
12941 defaultval=yes
12942 else
12943 defaultval=no
12944 fi
12945 fi
12946
12947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12948 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12949 no_cache=0
12950 # Check whether --enable-statline was given.
12951 if test "${enable_statline+set}" = set; then
12952 enableval=$enable_statline;
12953 if test "$enableval" = yes; then
12954 wx_cv_use_statline='wxUSE_STATLINE=yes'
12955 else
12956 wx_cv_use_statline='wxUSE_STATLINE=no'
12957 fi
12958
12959 else
12960
12961 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
12962 if test "x$LINE" != x ; then
12963 eval "DEFAULT_$LINE"
12964 else
12965 no_cache=1
12966 fi
12967
12968 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12969
12970 fi
12971
12972
12973 eval "$wx_cv_use_statline"
12974 if test "$no_cache" != 1; then
12975 echo $wx_cv_use_statline >> ${wx_arg_cache_file}.tmp
12976 fi
12977
12978 if test x"$enablestring" = xdisable; then
12979 if test $wxUSE_STATLINE = yes; then
12980 result=no
12981 else
12982 result=yes
12983 fi
12984 else
12985 result=$wxUSE_STATLINE
12986 fi
12987
12988 { echo "$as_me:$LINENO: result: $result" >&5
12989 echo "${ECHO_T}$result" >&6; }
12990
12991
12992 enablestring=
12993 defaultval=$wxUSE_ALL_FEATURES
12994 if test -z "$defaultval"; then
12995 if test x"$enablestring" = xdisable; then
12996 defaultval=yes
12997 else
12998 defaultval=no
12999 fi
13000 fi
13001
13002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
13003 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
13004 no_cache=0
13005 # Check whether --enable-stattext was given.
13006 if test "${enable_stattext+set}" = set; then
13007 enableval=$enable_stattext;
13008 if test "$enableval" = yes; then
13009 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
13010 else
13011 wx_cv_use_stattext='wxUSE_STATTEXT=no'
13012 fi
13013
13014 else
13015
13016 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
13017 if test "x$LINE" != x ; then
13018 eval "DEFAULT_$LINE"
13019 else
13020 no_cache=1
13021 fi
13022
13023 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
13024
13025 fi
13026
13027
13028 eval "$wx_cv_use_stattext"
13029 if test "$no_cache" != 1; then
13030 echo $wx_cv_use_stattext >> ${wx_arg_cache_file}.tmp
13031 fi
13032
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_STATTEXT = yes; then
13035 result=no
13036 else
13037 result=yes
13038 fi
13039 else
13040 result=$wxUSE_STATTEXT
13041 fi
13042
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13045
13046
13047 enablestring=
13048 defaultval=$wxUSE_ALL_FEATURES
13049 if test -z "$defaultval"; then
13050 if test x"$enablestring" = xdisable; then
13051 defaultval=yes
13052 else
13053 defaultval=no
13054 fi
13055 fi
13056
13057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
13059 no_cache=0
13060 # Check whether --enable-statusbar was given.
13061 if test "${enable_statusbar+set}" = set; then
13062 enableval=$enable_statusbar;
13063 if test "$enableval" = yes; then
13064 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
13065 else
13066 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
13067 fi
13068
13069 else
13070
13071 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
13072 if test "x$LINE" != x ; then
13073 eval "DEFAULT_$LINE"
13074 else
13075 no_cache=1
13076 fi
13077
13078 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
13079
13080 fi
13081
13082
13083 eval "$wx_cv_use_statusbar"
13084 if test "$no_cache" != 1; then
13085 echo $wx_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
13086 fi
13087
13088 if test x"$enablestring" = xdisable; then
13089 if test $wxUSE_STATUSBAR = yes; then
13090 result=no
13091 else
13092 result=yes
13093 fi
13094 else
13095 result=$wxUSE_STATUSBAR
13096 fi
13097
13098 { echo "$as_me:$LINENO: result: $result" >&5
13099 echo "${ECHO_T}$result" >&6; }
13100
13101
13102 enablestring=
13103 defaultval=$wxUSE_ALL_FEATURES
13104 if test -z "$defaultval"; then
13105 if test x"$enablestring" = xdisable; then
13106 defaultval=yes
13107 else
13108 defaultval=no
13109 fi
13110 fi
13111
13112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
13113 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
13114 no_cache=0
13115 # Check whether --enable-tabdialog was given.
13116 if test "${enable_tabdialog+set}" = set; then
13117 enableval=$enable_tabdialog;
13118 if test "$enableval" = yes; then
13119 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
13120 else
13121 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
13122 fi
13123
13124 else
13125
13126 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
13127 if test "x$LINE" != x ; then
13128 eval "DEFAULT_$LINE"
13129 else
13130 no_cache=1
13131 fi
13132
13133 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
13134
13135 fi
13136
13137
13138 eval "$wx_cv_use_tabdialog"
13139 if test "$no_cache" != 1; then
13140 echo $wx_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
13141 fi
13142
13143 if test x"$enablestring" = xdisable; then
13144 if test $wxUSE_TAB_DIALOG = yes; then
13145 result=no
13146 else
13147 result=yes
13148 fi
13149 else
13150 result=$wxUSE_TAB_DIALOG
13151 fi
13152
13153 { echo "$as_me:$LINENO: result: $result" >&5
13154 echo "${ECHO_T}$result" >&6; }
13155
13156
13157 enablestring=
13158 defaultval=$wxUSE_ALL_FEATURES
13159 if test -z "$defaultval"; then
13160 if test x"$enablestring" = xdisable; then
13161 defaultval=yes
13162 else
13163 defaultval=no
13164 fi
13165 fi
13166
13167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
13168 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
13169 no_cache=0
13170 # Check whether --enable-taskbaricon was given.
13171 if test "${enable_taskbaricon+set}" = set; then
13172 enableval=$enable_taskbaricon;
13173 if test "$enableval" = yes; then
13174 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
13175 else
13176 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
13177 fi
13178
13179 else
13180
13181 LINE=`grep "^wxUSE_TASKBARICON=" ${wx_arg_cache_file}`
13182 if test "x$LINE" != x ; then
13183 eval "DEFAULT_$LINE"
13184 else
13185 no_cache=1
13186 fi
13187
13188 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
13189
13190 fi
13191
13192
13193 eval "$wx_cv_use_taskbaricon"
13194 if test "$no_cache" != 1; then
13195 echo $wx_cv_use_taskbaricon >> ${wx_arg_cache_file}.tmp
13196 fi
13197
13198 if test x"$enablestring" = xdisable; then
13199 if test $wxUSE_TASKBARICON = yes; then
13200 result=no
13201 else
13202 result=yes
13203 fi
13204 else
13205 result=$wxUSE_TASKBARICON
13206 fi
13207
13208 { echo "$as_me:$LINENO: result: $result" >&5
13209 echo "${ECHO_T}$result" >&6; }
13210
13211
13212 enablestring=
13213 defaultval=$wxUSE_ALL_FEATURES
13214 if test -z "$defaultval"; then
13215 if test x"$enablestring" = xdisable; then
13216 defaultval=yes
13217 else
13218 defaultval=no
13219 fi
13220 fi
13221
13222 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
13223 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
13224 no_cache=0
13225 # Check whether --enable-textctrl was given.
13226 if test "${enable_textctrl+set}" = set; then
13227 enableval=$enable_textctrl;
13228 if test "$enableval" = yes; then
13229 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
13230 else
13231 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
13232 fi
13233
13234 else
13235
13236 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
13237 if test "x$LINE" != x ; then
13238 eval "DEFAULT_$LINE"
13239 else
13240 no_cache=1
13241 fi
13242
13243 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
13244
13245 fi
13246
13247
13248 eval "$wx_cv_use_textctrl"
13249 if test "$no_cache" != 1; then
13250 echo $wx_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
13251 fi
13252
13253 if test x"$enablestring" = xdisable; then
13254 if test $wxUSE_TEXTCTRL = yes; then
13255 result=no
13256 else
13257 result=yes
13258 fi
13259 else
13260 result=$wxUSE_TEXTCTRL
13261 fi
13262
13263 { echo "$as_me:$LINENO: result: $result" >&5
13264 echo "${ECHO_T}$result" >&6; }
13265
13266
13267 enablestring=
13268 defaultval=$wxUSE_ALL_FEATURES
13269 if test -z "$defaultval"; then
13270 if test x"$enablestring" = xdisable; then
13271 defaultval=yes
13272 else
13273 defaultval=no
13274 fi
13275 fi
13276
13277 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
13278 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
13279 no_cache=0
13280 # Check whether --enable-togglebtn was given.
13281 if test "${enable_togglebtn+set}" = set; then
13282 enableval=$enable_togglebtn;
13283 if test "$enableval" = yes; then
13284 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
13285 else
13286 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
13287 fi
13288
13289 else
13290
13291 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
13292 if test "x$LINE" != x ; then
13293 eval "DEFAULT_$LINE"
13294 else
13295 no_cache=1
13296 fi
13297
13298 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
13299
13300 fi
13301
13302
13303 eval "$wx_cv_use_togglebtn"
13304 if test "$no_cache" != 1; then
13305 echo $wx_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
13306 fi
13307
13308 if test x"$enablestring" = xdisable; then
13309 if test $wxUSE_TOGGLEBTN = yes; then
13310 result=no
13311 else
13312 result=yes
13313 fi
13314 else
13315 result=$wxUSE_TOGGLEBTN
13316 fi
13317
13318 { echo "$as_me:$LINENO: result: $result" >&5
13319 echo "${ECHO_T}$result" >&6; }
13320
13321
13322 enablestring=
13323 defaultval=$wxUSE_ALL_FEATURES
13324 if test -z "$defaultval"; then
13325 if test x"$enablestring" = xdisable; then
13326 defaultval=yes
13327 else
13328 defaultval=no
13329 fi
13330 fi
13331
13332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
13333 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
13334 no_cache=0
13335 # Check whether --enable-toolbar was given.
13336 if test "${enable_toolbar+set}" = set; then
13337 enableval=$enable_toolbar;
13338 if test "$enableval" = yes; then
13339 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
13340 else
13341 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
13342 fi
13343
13344 else
13345
13346 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
13347 if test "x$LINE" != x ; then
13348 eval "DEFAULT_$LINE"
13349 else
13350 no_cache=1
13351 fi
13352
13353 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
13354
13355 fi
13356
13357
13358 eval "$wx_cv_use_toolbar"
13359 if test "$no_cache" != 1; then
13360 echo $wx_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
13361 fi
13362
13363 if test x"$enablestring" = xdisable; then
13364 if test $wxUSE_TOOLBAR = yes; then
13365 result=no
13366 else
13367 result=yes
13368 fi
13369 else
13370 result=$wxUSE_TOOLBAR
13371 fi
13372
13373 { echo "$as_me:$LINENO: result: $result" >&5
13374 echo "${ECHO_T}$result" >&6; }
13375
13376
13377 enablestring=
13378 defaultval=$wxUSE_ALL_FEATURES
13379 if test -z "$defaultval"; then
13380 if test x"$enablestring" = xdisable; then
13381 defaultval=yes
13382 else
13383 defaultval=no
13384 fi
13385 fi
13386
13387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
13388 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
13389 no_cache=0
13390 # Check whether --enable-tbarnative was given.
13391 if test "${enable_tbarnative+set}" = set; then
13392 enableval=$enable_tbarnative;
13393 if test "$enableval" = yes; then
13394 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
13395 else
13396 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
13397 fi
13398
13399 else
13400
13401 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
13402 if test "x$LINE" != x ; then
13403 eval "DEFAULT_$LINE"
13404 else
13405 no_cache=1
13406 fi
13407
13408 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
13409
13410 fi
13411
13412
13413 eval "$wx_cv_use_tbarnative"
13414 if test "$no_cache" != 1; then
13415 echo $wx_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
13416 fi
13417
13418 if test x"$enablestring" = xdisable; then
13419 if test $wxUSE_TOOLBAR_NATIVE = yes; then
13420 result=no
13421 else
13422 result=yes
13423 fi
13424 else
13425 result=$wxUSE_TOOLBAR_NATIVE
13426 fi
13427
13428 { echo "$as_me:$LINENO: result: $result" >&5
13429 echo "${ECHO_T}$result" >&6; }
13430
13431
13432 enablestring=
13433 defaultval=$wxUSE_ALL_FEATURES
13434 if test -z "$defaultval"; then
13435 if test x"$enablestring" = xdisable; then
13436 defaultval=yes
13437 else
13438 defaultval=no
13439 fi
13440 fi
13441
13442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
13443 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
13444 no_cache=0
13445 # Check whether --enable-treebook was given.
13446 if test "${enable_treebook+set}" = set; then
13447 enableval=$enable_treebook;
13448 if test "$enableval" = yes; then
13449 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
13450 else
13451 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
13452 fi
13453
13454 else
13455
13456 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
13457 if test "x$LINE" != x ; then
13458 eval "DEFAULT_$LINE"
13459 else
13460 no_cache=1
13461 fi
13462
13463 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
13464
13465 fi
13466
13467
13468 eval "$wx_cv_use_treebook"
13469 if test "$no_cache" != 1; then
13470 echo $wx_cv_use_treebook >> ${wx_arg_cache_file}.tmp
13471 fi
13472
13473 if test x"$enablestring" = xdisable; then
13474 if test $wxUSE_TREEBOOK = yes; then
13475 result=no
13476 else
13477 result=yes
13478 fi
13479 else
13480 result=$wxUSE_TREEBOOK
13481 fi
13482
13483 { echo "$as_me:$LINENO: result: $result" >&5
13484 echo "${ECHO_T}$result" >&6; }
13485
13486
13487 enablestring=
13488 defaultval=$wxUSE_ALL_FEATURES
13489 if test -z "$defaultval"; then
13490 if test x"$enablestring" = xdisable; then
13491 defaultval=yes
13492 else
13493 defaultval=no
13494 fi
13495 fi
13496
13497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
13498 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
13499 no_cache=0
13500 # Check whether --enable-toolbook was given.
13501 if test "${enable_toolbook+set}" = set; then
13502 enableval=$enable_toolbook;
13503 if test "$enableval" = yes; then
13504 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
13505 else
13506 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
13507 fi
13508
13509 else
13510
13511 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
13512 if test "x$LINE" != x ; then
13513 eval "DEFAULT_$LINE"
13514 else
13515 no_cache=1
13516 fi
13517
13518 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
13519
13520 fi
13521
13522
13523 eval "$wx_cv_use_toolbook"
13524 if test "$no_cache" != 1; then
13525 echo $wx_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
13526 fi
13527
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_TOOLBOOK = yes; then
13530 result=no
13531 else
13532 result=yes
13533 fi
13534 else
13535 result=$wxUSE_TOOLBOOK
13536 fi
13537
13538 { echo "$as_me:$LINENO: result: $result" >&5
13539 echo "${ECHO_T}$result" >&6; }
13540
13541
13542 enablestring=
13543 defaultval=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x"$enablestring" = xdisable; then
13546 defaultval=yes
13547 else
13548 defaultval=no
13549 fi
13550 fi
13551
13552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
13553 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
13554 no_cache=0
13555 # Check whether --enable-treectrl was given.
13556 if test "${enable_treectrl+set}" = set; then
13557 enableval=$enable_treectrl;
13558 if test "$enableval" = yes; then
13559 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
13560 else
13561 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
13562 fi
13563
13564 else
13565
13566 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
13567 if test "x$LINE" != x ; then
13568 eval "DEFAULT_$LINE"
13569 else
13570 no_cache=1
13571 fi
13572
13573 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
13574
13575 fi
13576
13577
13578 eval "$wx_cv_use_treectrl"
13579 if test "$no_cache" != 1; then
13580 echo $wx_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
13581 fi
13582
13583 if test x"$enablestring" = xdisable; then
13584 if test $wxUSE_TREECTRL = yes; then
13585 result=no
13586 else
13587 result=yes
13588 fi
13589 else
13590 result=$wxUSE_TREECTRL
13591 fi
13592
13593 { echo "$as_me:$LINENO: result: $result" >&5
13594 echo "${ECHO_T}$result" >&6; }
13595
13596
13597 enablestring=
13598 defaultval=$wxUSE_ALL_FEATURES
13599 if test -z "$defaultval"; then
13600 if test x"$enablestring" = xdisable; then
13601 defaultval=yes
13602 else
13603 defaultval=no
13604 fi
13605 fi
13606
13607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
13608 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
13609 no_cache=0
13610 # Check whether --enable-tipwindow was given.
13611 if test "${enable_tipwindow+set}" = set; then
13612 enableval=$enable_tipwindow;
13613 if test "$enableval" = yes; then
13614 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
13615 else
13616 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
13617 fi
13618
13619 else
13620
13621 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
13622 if test "x$LINE" != x ; then
13623 eval "DEFAULT_$LINE"
13624 else
13625 no_cache=1
13626 fi
13627
13628 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
13629
13630 fi
13631
13632
13633 eval "$wx_cv_use_tipwindow"
13634 if test "$no_cache" != 1; then
13635 echo $wx_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
13636 fi
13637
13638 if test x"$enablestring" = xdisable; then
13639 if test $wxUSE_TIPWINDOW = yes; then
13640 result=no
13641 else
13642 result=yes
13643 fi
13644 else
13645 result=$wxUSE_TIPWINDOW
13646 fi
13647
13648 { echo "$as_me:$LINENO: result: $result" >&5
13649 echo "${ECHO_T}$result" >&6; }
13650
13651
13652 enablestring=
13653 defaultval=$wxUSE_ALL_FEATURES
13654 if test -z "$defaultval"; then
13655 if test x"$enablestring" = xdisable; then
13656 defaultval=yes
13657 else
13658 defaultval=no
13659 fi
13660 fi
13661
13662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
13663 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
13664 no_cache=0
13665 # Check whether --enable-popupwin was given.
13666 if test "${enable_popupwin+set}" = set; then
13667 enableval=$enable_popupwin;
13668 if test "$enableval" = yes; then
13669 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
13670 else
13671 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
13672 fi
13673
13674 else
13675
13676 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
13677 if test "x$LINE" != x ; then
13678 eval "DEFAULT_$LINE"
13679 else
13680 no_cache=1
13681 fi
13682
13683 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
13684
13685 fi
13686
13687
13688 eval "$wx_cv_use_popupwin"
13689 if test "$no_cache" != 1; then
13690 echo $wx_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
13691 fi
13692
13693 if test x"$enablestring" = xdisable; then
13694 if test $wxUSE_POPUPWIN = yes; then
13695 result=no
13696 else
13697 result=yes
13698 fi
13699 else
13700 result=$wxUSE_POPUPWIN
13701 fi
13702
13703 { echo "$as_me:$LINENO: result: $result" >&5
13704 echo "${ECHO_T}$result" >&6; }
13705
13706
13707
13708
13709 enablestring=
13710 defaultval=$wxUSE_ALL_FEATURES
13711 if test -z "$defaultval"; then
13712 if test x"$enablestring" = xdisable; then
13713 defaultval=yes
13714 else
13715 defaultval=no
13716 fi
13717 fi
13718
13719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13720 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13721 no_cache=0
13722 # Check whether --enable-commondlg was given.
13723 if test "${enable_commondlg+set}" = set; then
13724 enableval=$enable_commondlg;
13725 if test "$enableval" = yes; then
13726 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13727 else
13728 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13729 fi
13730
13731 else
13732
13733 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
13734 if test "x$LINE" != x ; then
13735 eval "DEFAULT_$LINE"
13736 else
13737 no_cache=1
13738 fi
13739
13740 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13741
13742 fi
13743
13744
13745 eval "$wx_cv_use_commondlg"
13746 if test "$no_cache" != 1; then
13747 echo $wx_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
13748 fi
13749
13750 if test x"$enablestring" = xdisable; then
13751 if test $wxUSE_COMMONDLGS = yes; then
13752 result=no
13753 else
13754 result=yes
13755 fi
13756 else
13757 result=$wxUSE_COMMONDLGS
13758 fi
13759
13760 { echo "$as_me:$LINENO: result: $result" >&5
13761 echo "${ECHO_T}$result" >&6; }
13762
13763
13764 enablestring=
13765 defaultval=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x"$enablestring" = xdisable; then
13768 defaultval=yes
13769 else
13770 defaultval=no
13771 fi
13772 fi
13773
13774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13775 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13776 no_cache=0
13777 # Check whether --enable-aboutdlg was given.
13778 if test "${enable_aboutdlg+set}" = set; then
13779 enableval=$enable_aboutdlg;
13780 if test "$enableval" = yes; then
13781 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13782 else
13783 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13784 fi
13785
13786 else
13787
13788 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
13789 if test "x$LINE" != x ; then
13790 eval "DEFAULT_$LINE"
13791 else
13792 no_cache=1
13793 fi
13794
13795 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13796
13797 fi
13798
13799
13800 eval "$wx_cv_use_aboutdlg"
13801 if test "$no_cache" != 1; then
13802 echo $wx_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
13803 fi
13804
13805 if test x"$enablestring" = xdisable; then
13806 if test $wxUSE_ABOUTDLG = yes; then
13807 result=no
13808 else
13809 result=yes
13810 fi
13811 else
13812 result=$wxUSE_ABOUTDLG
13813 fi
13814
13815 { echo "$as_me:$LINENO: result: $result" >&5
13816 echo "${ECHO_T}$result" >&6; }
13817
13818
13819 enablestring=
13820 defaultval=$wxUSE_ALL_FEATURES
13821 if test -z "$defaultval"; then
13822 if test x"$enablestring" = xdisable; then
13823 defaultval=yes
13824 else
13825 defaultval=no
13826 fi
13827 fi
13828
13829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13830 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13831 no_cache=0
13832 # Check whether --enable-choicedlg was given.
13833 if test "${enable_choicedlg+set}" = set; then
13834 enableval=$enable_choicedlg;
13835 if test "$enableval" = yes; then
13836 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13837 else
13838 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13839 fi
13840
13841 else
13842
13843 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
13844 if test "x$LINE" != x ; then
13845 eval "DEFAULT_$LINE"
13846 else
13847 no_cache=1
13848 fi
13849
13850 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13851
13852 fi
13853
13854
13855 eval "$wx_cv_use_choicedlg"
13856 if test "$no_cache" != 1; then
13857 echo $wx_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
13858 fi
13859
13860 if test x"$enablestring" = xdisable; then
13861 if test $wxUSE_CHOICEDLG = yes; then
13862 result=no
13863 else
13864 result=yes
13865 fi
13866 else
13867 result=$wxUSE_CHOICEDLG
13868 fi
13869
13870 { echo "$as_me:$LINENO: result: $result" >&5
13871 echo "${ECHO_T}$result" >&6; }
13872
13873
13874 enablestring=
13875 defaultval=$wxUSE_ALL_FEATURES
13876 if test -z "$defaultval"; then
13877 if test x"$enablestring" = xdisable; then
13878 defaultval=yes
13879 else
13880 defaultval=no
13881 fi
13882 fi
13883
13884 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13885 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13886 no_cache=0
13887 # Check whether --enable-coldlg was given.
13888 if test "${enable_coldlg+set}" = set; then
13889 enableval=$enable_coldlg;
13890 if test "$enableval" = yes; then
13891 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13892 else
13893 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13894 fi
13895
13896 else
13897
13898 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
13899 if test "x$LINE" != x ; then
13900 eval "DEFAULT_$LINE"
13901 else
13902 no_cache=1
13903 fi
13904
13905 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13906
13907 fi
13908
13909
13910 eval "$wx_cv_use_coldlg"
13911 if test "$no_cache" != 1; then
13912 echo $wx_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
13913 fi
13914
13915 if test x"$enablestring" = xdisable; then
13916 if test $wxUSE_COLOURDLG = yes; then
13917 result=no
13918 else
13919 result=yes
13920 fi
13921 else
13922 result=$wxUSE_COLOURDLG
13923 fi
13924
13925 { echo "$as_me:$LINENO: result: $result" >&5
13926 echo "${ECHO_T}$result" >&6; }
13927
13928
13929 enablestring=
13930 defaultval=$wxUSE_ALL_FEATURES
13931 if test -z "$defaultval"; then
13932 if test x"$enablestring" = xdisable; then
13933 defaultval=yes
13934 else
13935 defaultval=no
13936 fi
13937 fi
13938
13939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13940 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13941 no_cache=0
13942 # Check whether --enable-filedlg was given.
13943 if test "${enable_filedlg+set}" = set; then
13944 enableval=$enable_filedlg;
13945 if test "$enableval" = yes; then
13946 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13947 else
13948 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13949 fi
13950
13951 else
13952
13953 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
13954 if test "x$LINE" != x ; then
13955 eval "DEFAULT_$LINE"
13956 else
13957 no_cache=1
13958 fi
13959
13960 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13961
13962 fi
13963
13964
13965 eval "$wx_cv_use_filedlg"
13966 if test "$no_cache" != 1; then
13967 echo $wx_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
13968 fi
13969
13970 if test x"$enablestring" = xdisable; then
13971 if test $wxUSE_FILEDLG = yes; then
13972 result=no
13973 else
13974 result=yes
13975 fi
13976 else
13977 result=$wxUSE_FILEDLG
13978 fi
13979
13980 { echo "$as_me:$LINENO: result: $result" >&5
13981 echo "${ECHO_T}$result" >&6; }
13982
13983
13984 enablestring=
13985 defaultval=$wxUSE_ALL_FEATURES
13986 if test -z "$defaultval"; then
13987 if test x"$enablestring" = xdisable; then
13988 defaultval=yes
13989 else
13990 defaultval=no
13991 fi
13992 fi
13993
13994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13995 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13996 no_cache=0
13997 # Check whether --enable-finddlg was given.
13998 if test "${enable_finddlg+set}" = set; then
13999 enableval=$enable_finddlg;
14000 if test "$enableval" = yes; then
14001 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
14002 else
14003 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
14004 fi
14005
14006 else
14007
14008 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
14009 if test "x$LINE" != x ; then
14010 eval "DEFAULT_$LINE"
14011 else
14012 no_cache=1
14013 fi
14014
14015 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
14016
14017 fi
14018
14019
14020 eval "$wx_cv_use_finddlg"
14021 if test "$no_cache" != 1; then
14022 echo $wx_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
14023 fi
14024
14025 if test x"$enablestring" = xdisable; then
14026 if test $wxUSE_FINDREPLDLG = yes; then
14027 result=no
14028 else
14029 result=yes
14030 fi
14031 else
14032 result=$wxUSE_FINDREPLDLG
14033 fi
14034
14035 { echo "$as_me:$LINENO: result: $result" >&5
14036 echo "${ECHO_T}$result" >&6; }
14037
14038
14039 enablestring=
14040 defaultval=$wxUSE_ALL_FEATURES
14041 if test -z "$defaultval"; then
14042 if test x"$enablestring" = xdisable; then
14043 defaultval=yes
14044 else
14045 defaultval=no
14046 fi
14047 fi
14048
14049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
14050 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
14051 no_cache=0
14052 # Check whether --enable-fontdlg was given.
14053 if test "${enable_fontdlg+set}" = set; then
14054 enableval=$enable_fontdlg;
14055 if test "$enableval" = yes; then
14056 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
14057 else
14058 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
14059 fi
14060
14061 else
14062
14063 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
14064 if test "x$LINE" != x ; then
14065 eval "DEFAULT_$LINE"
14066 else
14067 no_cache=1
14068 fi
14069
14070 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
14071
14072 fi
14073
14074
14075 eval "$wx_cv_use_fontdlg"
14076 if test "$no_cache" != 1; then
14077 echo $wx_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
14078 fi
14079
14080 if test x"$enablestring" = xdisable; then
14081 if test $wxUSE_FONTDLG = yes; then
14082 result=no
14083 else
14084 result=yes
14085 fi
14086 else
14087 result=$wxUSE_FONTDLG
14088 fi
14089
14090 { echo "$as_me:$LINENO: result: $result" >&5
14091 echo "${ECHO_T}$result" >&6; }
14092
14093
14094 enablestring=
14095 defaultval=$wxUSE_ALL_FEATURES
14096 if test -z "$defaultval"; then
14097 if test x"$enablestring" = xdisable; then
14098 defaultval=yes
14099 else
14100 defaultval=no
14101 fi
14102 fi
14103
14104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
14105 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
14106 no_cache=0
14107 # Check whether --enable-dirdlg was given.
14108 if test "${enable_dirdlg+set}" = set; then
14109 enableval=$enable_dirdlg;
14110 if test "$enableval" = yes; then
14111 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
14112 else
14113 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
14114 fi
14115
14116 else
14117
14118 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
14119 if test "x$LINE" != x ; then
14120 eval "DEFAULT_$LINE"
14121 else
14122 no_cache=1
14123 fi
14124
14125 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
14126
14127 fi
14128
14129
14130 eval "$wx_cv_use_dirdlg"
14131 if test "$no_cache" != 1; then
14132 echo $wx_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
14133 fi
14134
14135 if test x"$enablestring" = xdisable; then
14136 if test $wxUSE_DIRDLG = yes; then
14137 result=no
14138 else
14139 result=yes
14140 fi
14141 else
14142 result=$wxUSE_DIRDLG
14143 fi
14144
14145 { echo "$as_me:$LINENO: result: $result" >&5
14146 echo "${ECHO_T}$result" >&6; }
14147
14148
14149 enablestring=
14150 defaultval=$wxUSE_ALL_FEATURES
14151 if test -z "$defaultval"; then
14152 if test x"$enablestring" = xdisable; then
14153 defaultval=yes
14154 else
14155 defaultval=no
14156 fi
14157 fi
14158
14159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
14160 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
14161 no_cache=0
14162 # Check whether --enable-msgdlg was given.
14163 if test "${enable_msgdlg+set}" = set; then
14164 enableval=$enable_msgdlg;
14165 if test "$enableval" = yes; then
14166 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
14167 else
14168 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
14169 fi
14170
14171 else
14172
14173 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
14174 if test "x$LINE" != x ; then
14175 eval "DEFAULT_$LINE"
14176 else
14177 no_cache=1
14178 fi
14179
14180 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
14181
14182 fi
14183
14184
14185 eval "$wx_cv_use_msgdlg"
14186 if test "$no_cache" != 1; then
14187 echo $wx_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
14188 fi
14189
14190 if test x"$enablestring" = xdisable; then
14191 if test $wxUSE_MSGDLG = yes; then
14192 result=no
14193 else
14194 result=yes
14195 fi
14196 else
14197 result=$wxUSE_MSGDLG
14198 fi
14199
14200 { echo "$as_me:$LINENO: result: $result" >&5
14201 echo "${ECHO_T}$result" >&6; }
14202
14203
14204 enablestring=
14205 defaultval=$wxUSE_ALL_FEATURES
14206 if test -z "$defaultval"; then
14207 if test x"$enablestring" = xdisable; then
14208 defaultval=yes
14209 else
14210 defaultval=no
14211 fi
14212 fi
14213
14214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
14215 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
14216 no_cache=0
14217 # Check whether --enable-numberdlg was given.
14218 if test "${enable_numberdlg+set}" = set; then
14219 enableval=$enable_numberdlg;
14220 if test "$enableval" = yes; then
14221 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
14222 else
14223 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
14224 fi
14225
14226 else
14227
14228 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
14229 if test "x$LINE" != x ; then
14230 eval "DEFAULT_$LINE"
14231 else
14232 no_cache=1
14233 fi
14234
14235 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
14236
14237 fi
14238
14239
14240 eval "$wx_cv_use_numberdlg"
14241 if test "$no_cache" != 1; then
14242 echo $wx_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
14243 fi
14244
14245 if test x"$enablestring" = xdisable; then
14246 if test $wxUSE_NUMBERDLG = yes; then
14247 result=no
14248 else
14249 result=yes
14250 fi
14251 else
14252 result=$wxUSE_NUMBERDLG
14253 fi
14254
14255 { echo "$as_me:$LINENO: result: $result" >&5
14256 echo "${ECHO_T}$result" >&6; }
14257
14258
14259 enablestring=
14260 defaultval=$wxUSE_ALL_FEATURES
14261 if test -z "$defaultval"; then
14262 if test x"$enablestring" = xdisable; then
14263 defaultval=yes
14264 else
14265 defaultval=no
14266 fi
14267 fi
14268
14269 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
14270 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
14271 no_cache=0
14272 # Check whether --enable-splash was given.
14273 if test "${enable_splash+set}" = set; then
14274 enableval=$enable_splash;
14275 if test "$enableval" = yes; then
14276 wx_cv_use_splash='wxUSE_SPLASH=yes'
14277 else
14278 wx_cv_use_splash='wxUSE_SPLASH=no'
14279 fi
14280
14281 else
14282
14283 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
14284 if test "x$LINE" != x ; then
14285 eval "DEFAULT_$LINE"
14286 else
14287 no_cache=1
14288 fi
14289
14290 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
14291
14292 fi
14293
14294
14295 eval "$wx_cv_use_splash"
14296 if test "$no_cache" != 1; then
14297 echo $wx_cv_use_splash >> ${wx_arg_cache_file}.tmp
14298 fi
14299
14300 if test x"$enablestring" = xdisable; then
14301 if test $wxUSE_SPLASH = yes; then
14302 result=no
14303 else
14304 result=yes
14305 fi
14306 else
14307 result=$wxUSE_SPLASH
14308 fi
14309
14310 { echo "$as_me:$LINENO: result: $result" >&5
14311 echo "${ECHO_T}$result" >&6; }
14312
14313
14314 enablestring=
14315 defaultval=$wxUSE_ALL_FEATURES
14316 if test -z "$defaultval"; then
14317 if test x"$enablestring" = xdisable; then
14318 defaultval=yes
14319 else
14320 defaultval=no
14321 fi
14322 fi
14323
14324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
14325 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
14326 no_cache=0
14327 # Check whether --enable-textdlg was given.
14328 if test "${enable_textdlg+set}" = set; then
14329 enableval=$enable_textdlg;
14330 if test "$enableval" = yes; then
14331 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
14332 else
14333 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
14334 fi
14335
14336 else
14337
14338 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
14339 if test "x$LINE" != x ; then
14340 eval "DEFAULT_$LINE"
14341 else
14342 no_cache=1
14343 fi
14344
14345 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
14346
14347 fi
14348
14349
14350 eval "$wx_cv_use_textdlg"
14351 if test "$no_cache" != 1; then
14352 echo $wx_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
14353 fi
14354
14355 if test x"$enablestring" = xdisable; then
14356 if test $wxUSE_TEXTDLG = yes; then
14357 result=no
14358 else
14359 result=yes
14360 fi
14361 else
14362 result=$wxUSE_TEXTDLG
14363 fi
14364
14365 { echo "$as_me:$LINENO: result: $result" >&5
14366 echo "${ECHO_T}$result" >&6; }
14367
14368
14369 enablestring=
14370 defaultval=$wxUSE_ALL_FEATURES
14371 if test -z "$defaultval"; then
14372 if test x"$enablestring" = xdisable; then
14373 defaultval=yes
14374 else
14375 defaultval=no
14376 fi
14377 fi
14378
14379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
14380 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
14381 no_cache=0
14382 # Check whether --enable-tipdlg was given.
14383 if test "${enable_tipdlg+set}" = set; then
14384 enableval=$enable_tipdlg;
14385 if test "$enableval" = yes; then
14386 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
14387 else
14388 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
14389 fi
14390
14391 else
14392
14393 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
14394 if test "x$LINE" != x ; then
14395 eval "DEFAULT_$LINE"
14396 else
14397 no_cache=1
14398 fi
14399
14400 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
14401
14402 fi
14403
14404
14405 eval "$wx_cv_use_tipdlg"
14406 if test "$no_cache" != 1; then
14407 echo $wx_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
14408 fi
14409
14410 if test x"$enablestring" = xdisable; then
14411 if test $wxUSE_STARTUP_TIPS = yes; then
14412 result=no
14413 else
14414 result=yes
14415 fi
14416 else
14417 result=$wxUSE_STARTUP_TIPS
14418 fi
14419
14420 { echo "$as_me:$LINENO: result: $result" >&5
14421 echo "${ECHO_T}$result" >&6; }
14422
14423
14424 enablestring=
14425 defaultval=$wxUSE_ALL_FEATURES
14426 if test -z "$defaultval"; then
14427 if test x"$enablestring" = xdisable; then
14428 defaultval=yes
14429 else
14430 defaultval=no
14431 fi
14432 fi
14433
14434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
14435 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
14436 no_cache=0
14437 # Check whether --enable-progressdlg was given.
14438 if test "${enable_progressdlg+set}" = set; then
14439 enableval=$enable_progressdlg;
14440 if test "$enableval" = yes; then
14441 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
14442 else
14443 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
14444 fi
14445
14446 else
14447
14448 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
14449 if test "x$LINE" != x ; then
14450 eval "DEFAULT_$LINE"
14451 else
14452 no_cache=1
14453 fi
14454
14455 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
14456
14457 fi
14458
14459
14460 eval "$wx_cv_use_progressdlg"
14461 if test "$no_cache" != 1; then
14462 echo $wx_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
14463 fi
14464
14465 if test x"$enablestring" = xdisable; then
14466 if test $wxUSE_PROGRESSDLG = yes; then
14467 result=no
14468 else
14469 result=yes
14470 fi
14471 else
14472 result=$wxUSE_PROGRESSDLG
14473 fi
14474
14475 { echo "$as_me:$LINENO: result: $result" >&5
14476 echo "${ECHO_T}$result" >&6; }
14477
14478
14479 enablestring=
14480 defaultval=$wxUSE_ALL_FEATURES
14481 if test -z "$defaultval"; then
14482 if test x"$enablestring" = xdisable; then
14483 defaultval=yes
14484 else
14485 defaultval=no
14486 fi
14487 fi
14488
14489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
14490 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
14491 no_cache=0
14492 # Check whether --enable-wizarddlg was given.
14493 if test "${enable_wizarddlg+set}" = set; then
14494 enableval=$enable_wizarddlg;
14495 if test "$enableval" = yes; then
14496 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
14497 else
14498 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
14499 fi
14500
14501 else
14502
14503 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
14504 if test "x$LINE" != x ; then
14505 eval "DEFAULT_$LINE"
14506 else
14507 no_cache=1
14508 fi
14509
14510 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
14511
14512 fi
14513
14514
14515 eval "$wx_cv_use_wizarddlg"
14516 if test "$no_cache" != 1; then
14517 echo $wx_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
14518 fi
14519
14520 if test x"$enablestring" = xdisable; then
14521 if test $wxUSE_WIZARDDLG = yes; then
14522 result=no
14523 else
14524 result=yes
14525 fi
14526 else
14527 result=$wxUSE_WIZARDDLG
14528 fi
14529
14530 { echo "$as_me:$LINENO: result: $result" >&5
14531 echo "${ECHO_T}$result" >&6; }
14532
14533
14534
14535
14536 enablestring=
14537 defaultval=$wxUSE_ALL_FEATURES
14538 if test -z "$defaultval"; then
14539 if test x"$enablestring" = xdisable; then
14540 defaultval=yes
14541 else
14542 defaultval=no
14543 fi
14544 fi
14545
14546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
14547 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
14548 no_cache=0
14549 # Check whether --enable-menus was given.
14550 if test "${enable_menus+set}" = set; then
14551 enableval=$enable_menus;
14552 if test "$enableval" = yes; then
14553 wx_cv_use_menus='wxUSE_MENUS=yes'
14554 else
14555 wx_cv_use_menus='wxUSE_MENUS=no'
14556 fi
14557
14558 else
14559
14560 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
14561 if test "x$LINE" != x ; then
14562 eval "DEFAULT_$LINE"
14563 else
14564 no_cache=1
14565 fi
14566
14567 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
14568
14569 fi
14570
14571
14572 eval "$wx_cv_use_menus"
14573 if test "$no_cache" != 1; then
14574 echo $wx_cv_use_menus >> ${wx_arg_cache_file}.tmp
14575 fi
14576
14577 if test x"$enablestring" = xdisable; then
14578 if test $wxUSE_MENUS = yes; then
14579 result=no
14580 else
14581 result=yes
14582 fi
14583 else
14584 result=$wxUSE_MENUS
14585 fi
14586
14587 { echo "$as_me:$LINENO: result: $result" >&5
14588 echo "${ECHO_T}$result" >&6; }
14589
14590
14591 enablestring=
14592 defaultval=$wxUSE_ALL_FEATURES
14593 if test -z "$defaultval"; then
14594 if test x"$enablestring" = xdisable; then
14595 defaultval=yes
14596 else
14597 defaultval=no
14598 fi
14599 fi
14600
14601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
14602 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
14603 no_cache=0
14604 # Check whether --enable-miniframe was given.
14605 if test "${enable_miniframe+set}" = set; then
14606 enableval=$enable_miniframe;
14607 if test "$enableval" = yes; then
14608 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
14609 else
14610 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
14611 fi
14612
14613 else
14614
14615 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
14616 if test "x$LINE" != x ; then
14617 eval "DEFAULT_$LINE"
14618 else
14619 no_cache=1
14620 fi
14621
14622 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
14623
14624 fi
14625
14626
14627 eval "$wx_cv_use_miniframe"
14628 if test "$no_cache" != 1; then
14629 echo $wx_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
14630 fi
14631
14632 if test x"$enablestring" = xdisable; then
14633 if test $wxUSE_MINIFRAME = yes; then
14634 result=no
14635 else
14636 result=yes
14637 fi
14638 else
14639 result=$wxUSE_MINIFRAME
14640 fi
14641
14642 { echo "$as_me:$LINENO: result: $result" >&5
14643 echo "${ECHO_T}$result" >&6; }
14644
14645
14646 enablestring=
14647 defaultval=$wxUSE_ALL_FEATURES
14648 if test -z "$defaultval"; then
14649 if test x"$enablestring" = xdisable; then
14650 defaultval=yes
14651 else
14652 defaultval=no
14653 fi
14654 fi
14655
14656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
14657 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
14658 no_cache=0
14659 # Check whether --enable-tooltips was given.
14660 if test "${enable_tooltips+set}" = set; then
14661 enableval=$enable_tooltips;
14662 if test "$enableval" = yes; then
14663 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
14664 else
14665 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
14666 fi
14667
14668 else
14669
14670 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
14671 if test "x$LINE" != x ; then
14672 eval "DEFAULT_$LINE"
14673 else
14674 no_cache=1
14675 fi
14676
14677 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
14678
14679 fi
14680
14681
14682 eval "$wx_cv_use_tooltips"
14683 if test "$no_cache" != 1; then
14684 echo $wx_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
14685 fi
14686
14687 if test x"$enablestring" = xdisable; then
14688 if test $wxUSE_TOOLTIPS = yes; then
14689 result=no
14690 else
14691 result=yes
14692 fi
14693 else
14694 result=$wxUSE_TOOLTIPS
14695 fi
14696
14697 { echo "$as_me:$LINENO: result: $result" >&5
14698 echo "${ECHO_T}$result" >&6; }
14699
14700
14701 enablestring=
14702 defaultval=$wxUSE_ALL_FEATURES
14703 if test -z "$defaultval"; then
14704 if test x"$enablestring" = xdisable; then
14705 defaultval=yes
14706 else
14707 defaultval=no
14708 fi
14709 fi
14710
14711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
14712 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
14713 no_cache=0
14714 # Check whether --enable-splines was given.
14715 if test "${enable_splines+set}" = set; then
14716 enableval=$enable_splines;
14717 if test "$enableval" = yes; then
14718 wx_cv_use_splines='wxUSE_SPLINES=yes'
14719 else
14720 wx_cv_use_splines='wxUSE_SPLINES=no'
14721 fi
14722
14723 else
14724
14725 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
14726 if test "x$LINE" != x ; then
14727 eval "DEFAULT_$LINE"
14728 else
14729 no_cache=1
14730 fi
14731
14732 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
14733
14734 fi
14735
14736
14737 eval "$wx_cv_use_splines"
14738 if test "$no_cache" != 1; then
14739 echo $wx_cv_use_splines >> ${wx_arg_cache_file}.tmp
14740 fi
14741
14742 if test x"$enablestring" = xdisable; then
14743 if test $wxUSE_SPLINES = yes; then
14744 result=no
14745 else
14746 result=yes
14747 fi
14748 else
14749 result=$wxUSE_SPLINES
14750 fi
14751
14752 { echo "$as_me:$LINENO: result: $result" >&5
14753 echo "${ECHO_T}$result" >&6; }
14754
14755
14756 enablestring=
14757 defaultval=$wxUSE_ALL_FEATURES
14758 if test -z "$defaultval"; then
14759 if test x"$enablestring" = xdisable; then
14760 defaultval=yes
14761 else
14762 defaultval=no
14763 fi
14764 fi
14765
14766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
14767 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
14768 no_cache=0
14769 # Check whether --enable-mousewheel was given.
14770 if test "${enable_mousewheel+set}" = set; then
14771 enableval=$enable_mousewheel;
14772 if test "$enableval" = yes; then
14773 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
14774 else
14775 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
14776 fi
14777
14778 else
14779
14780 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
14781 if test "x$LINE" != x ; then
14782 eval "DEFAULT_$LINE"
14783 else
14784 no_cache=1
14785 fi
14786
14787 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
14788
14789 fi
14790
14791
14792 eval "$wx_cv_use_mousewheel"
14793 if test "$no_cache" != 1; then
14794 echo $wx_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
14795 fi
14796
14797 if test x"$enablestring" = xdisable; then
14798 if test $wxUSE_MOUSEWHEEL = yes; then
14799 result=no
14800 else
14801 result=yes
14802 fi
14803 else
14804 result=$wxUSE_MOUSEWHEEL
14805 fi
14806
14807 { echo "$as_me:$LINENO: result: $result" >&5
14808 echo "${ECHO_T}$result" >&6; }
14809
14810
14811 enablestring=
14812 defaultval=$wxUSE_ALL_FEATURES
14813 if test -z "$defaultval"; then
14814 if test x"$enablestring" = xdisable; then
14815 defaultval=yes
14816 else
14817 defaultval=no
14818 fi
14819 fi
14820
14821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
14822 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
14823 no_cache=0
14824 # Check whether --enable-validators was given.
14825 if test "${enable_validators+set}" = set; then
14826 enableval=$enable_validators;
14827 if test "$enableval" = yes; then
14828 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
14829 else
14830 wx_cv_use_validators='wxUSE_VALIDATORS=no'
14831 fi
14832
14833 else
14834
14835 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
14836 if test "x$LINE" != x ; then
14837 eval "DEFAULT_$LINE"
14838 else
14839 no_cache=1
14840 fi
14841
14842 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
14843
14844 fi
14845
14846
14847 eval "$wx_cv_use_validators"
14848 if test "$no_cache" != 1; then
14849 echo $wx_cv_use_validators >> ${wx_arg_cache_file}.tmp
14850 fi
14851
14852 if test x"$enablestring" = xdisable; then
14853 if test $wxUSE_VALIDATORS = yes; then
14854 result=no
14855 else
14856 result=yes
14857 fi
14858 else
14859 result=$wxUSE_VALIDATORS
14860 fi
14861
14862 { echo "$as_me:$LINENO: result: $result" >&5
14863 echo "${ECHO_T}$result" >&6; }
14864
14865
14866 enablestring=
14867 defaultval=$wxUSE_ALL_FEATURES
14868 if test -z "$defaultval"; then
14869 if test x"$enablestring" = xdisable; then
14870 defaultval=yes
14871 else
14872 defaultval=no
14873 fi
14874 fi
14875
14876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
14877 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
14878 no_cache=0
14879 # Check whether --enable-busyinfo was given.
14880 if test "${enable_busyinfo+set}" = set; then
14881 enableval=$enable_busyinfo;
14882 if test "$enableval" = yes; then
14883 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
14884 else
14885 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
14886 fi
14887
14888 else
14889
14890 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
14891 if test "x$LINE" != x ; then
14892 eval "DEFAULT_$LINE"
14893 else
14894 no_cache=1
14895 fi
14896
14897 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14898
14899 fi
14900
14901
14902 eval "$wx_cv_use_busyinfo"
14903 if test "$no_cache" != 1; then
14904 echo $wx_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
14905 fi
14906
14907 if test x"$enablestring" = xdisable; then
14908 if test $wxUSE_BUSYINFO = yes; then
14909 result=no
14910 else
14911 result=yes
14912 fi
14913 else
14914 result=$wxUSE_BUSYINFO
14915 fi
14916
14917 { echo "$as_me:$LINENO: result: $result" >&5
14918 echo "${ECHO_T}$result" >&6; }
14919
14920
14921 enablestring=
14922 defaultval=$wxUSE_ALL_FEATURES
14923 if test -z "$defaultval"; then
14924 if test x"$enablestring" = xdisable; then
14925 defaultval=yes
14926 else
14927 defaultval=no
14928 fi
14929 fi
14930
14931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14932 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14933 no_cache=0
14934 # Check whether --enable-joystick was given.
14935 if test "${enable_joystick+set}" = set; then
14936 enableval=$enable_joystick;
14937 if test "$enableval" = yes; then
14938 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14939 else
14940 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14941 fi
14942
14943 else
14944
14945 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
14946 if test "x$LINE" != x ; then
14947 eval "DEFAULT_$LINE"
14948 else
14949 no_cache=1
14950 fi
14951
14952 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14953
14954 fi
14955
14956
14957 eval "$wx_cv_use_joystick"
14958 if test "$no_cache" != 1; then
14959 echo $wx_cv_use_joystick >> ${wx_arg_cache_file}.tmp
14960 fi
14961
14962 if test x"$enablestring" = xdisable; then
14963 if test $wxUSE_JOYSTICK = yes; then
14964 result=no
14965 else
14966 result=yes
14967 fi
14968 else
14969 result=$wxUSE_JOYSTICK
14970 fi
14971
14972 { echo "$as_me:$LINENO: result: $result" >&5
14973 echo "${ECHO_T}$result" >&6; }
14974
14975
14976 enablestring=
14977 defaultval=$wxUSE_ALL_FEATURES
14978 if test -z "$defaultval"; then
14979 if test x"$enablestring" = xdisable; then
14980 defaultval=yes
14981 else
14982 defaultval=no
14983 fi
14984 fi
14985
14986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14987 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14988 no_cache=0
14989 # Check whether --enable-metafile was given.
14990 if test "${enable_metafile+set}" = set; then
14991 enableval=$enable_metafile;
14992 if test "$enableval" = yes; then
14993 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14994 else
14995 wx_cv_use_metafile='wxUSE_METAFILE=no'
14996 fi
14997
14998 else
14999
15000 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
15001 if test "x$LINE" != x ; then
15002 eval "DEFAULT_$LINE"
15003 else
15004 no_cache=1
15005 fi
15006
15007 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
15008
15009 fi
15010
15011
15012 eval "$wx_cv_use_metafile"
15013 if test "$no_cache" != 1; then
15014 echo $wx_cv_use_metafile >> ${wx_arg_cache_file}.tmp
15015 fi
15016
15017 if test x"$enablestring" = xdisable; then
15018 if test $wxUSE_METAFILE = yes; then
15019 result=no
15020 else
15021 result=yes
15022 fi
15023 else
15024 result=$wxUSE_METAFILE
15025 fi
15026
15027 { echo "$as_me:$LINENO: result: $result" >&5
15028 echo "${ECHO_T}$result" >&6; }
15029
15030
15031 enablestring=
15032 defaultval=$wxUSE_ALL_FEATURES
15033 if test -z "$defaultval"; then
15034 if test x"$enablestring" = xdisable; then
15035 defaultval=yes
15036 else
15037 defaultval=no
15038 fi
15039 fi
15040
15041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
15042 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
15043 no_cache=0
15044 # Check whether --enable-dragimage was given.
15045 if test "${enable_dragimage+set}" = set; then
15046 enableval=$enable_dragimage;
15047 if test "$enableval" = yes; then
15048 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
15049 else
15050 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
15051 fi
15052
15053 else
15054
15055 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
15056 if test "x$LINE" != x ; then
15057 eval "DEFAULT_$LINE"
15058 else
15059 no_cache=1
15060 fi
15061
15062 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
15063
15064 fi
15065
15066
15067 eval "$wx_cv_use_dragimage"
15068 if test "$no_cache" != 1; then
15069 echo $wx_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
15070 fi
15071
15072 if test x"$enablestring" = xdisable; then
15073 if test $wxUSE_DRAGIMAGE = yes; then
15074 result=no
15075 else
15076 result=yes
15077 fi
15078 else
15079 result=$wxUSE_DRAGIMAGE
15080 fi
15081
15082 { echo "$as_me:$LINENO: result: $result" >&5
15083 echo "${ECHO_T}$result" >&6; }
15084
15085
15086 enablestring=
15087 defaultval=$wxUSE_ALL_FEATURES
15088 if test -z "$defaultval"; then
15089 if test x"$enablestring" = xdisable; then
15090 defaultval=yes
15091 else
15092 defaultval=no
15093 fi
15094 fi
15095
15096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
15097 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
15098 no_cache=0
15099 # Check whether --enable-accessibility was given.
15100 if test "${enable_accessibility+set}" = set; then
15101 enableval=$enable_accessibility;
15102 if test "$enableval" = yes; then
15103 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
15104 else
15105 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
15106 fi
15107
15108 else
15109
15110 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
15111 if test "x$LINE" != x ; then
15112 eval "DEFAULT_$LINE"
15113 else
15114 no_cache=1
15115 fi
15116
15117 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
15118
15119 fi
15120
15121
15122 eval "$wx_cv_use_accessibility"
15123 if test "$no_cache" != 1; then
15124 echo $wx_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
15125 fi
15126
15127 if test x"$enablestring" = xdisable; then
15128 if test $wxUSE_ACCESSIBILITY = yes; then
15129 result=no
15130 else
15131 result=yes
15132 fi
15133 else
15134 result=$wxUSE_ACCESSIBILITY
15135 fi
15136
15137 { echo "$as_me:$LINENO: result: $result" >&5
15138 echo "${ECHO_T}$result" >&6; }
15139
15140
15141
15142
15143 enablestring=
15144 defaultval=$wxUSE_ALL_FEATURES
15145 if test -z "$defaultval"; then
15146 if test x"$enablestring" = xdisable; then
15147 defaultval=yes
15148 else
15149 defaultval=no
15150 fi
15151 fi
15152
15153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
15154 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
15155 no_cache=0
15156 # Check whether --enable-palette was given.
15157 if test "${enable_palette+set}" = set; then
15158 enableval=$enable_palette;
15159 if test "$enableval" = yes; then
15160 wx_cv_use_palette='wxUSE_PALETTE=yes'
15161 else
15162 wx_cv_use_palette='wxUSE_PALETTE=no'
15163 fi
15164
15165 else
15166
15167 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
15168 if test "x$LINE" != x ; then
15169 eval "DEFAULT_$LINE"
15170 else
15171 no_cache=1
15172 fi
15173
15174 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
15175
15176 fi
15177
15178
15179 eval "$wx_cv_use_palette"
15180 if test "$no_cache" != 1; then
15181 echo $wx_cv_use_palette >> ${wx_arg_cache_file}.tmp
15182 fi
15183
15184 if test x"$enablestring" = xdisable; then
15185 if test $wxUSE_PALETTE = yes; then
15186 result=no
15187 else
15188 result=yes
15189 fi
15190 else
15191 result=$wxUSE_PALETTE
15192 fi
15193
15194 { echo "$as_me:$LINENO: result: $result" >&5
15195 echo "${ECHO_T}$result" >&6; }
15196
15197
15198 enablestring=
15199 defaultval=$wxUSE_ALL_FEATURES
15200 if test -z "$defaultval"; then
15201 if test x"$enablestring" = xdisable; then
15202 defaultval=yes
15203 else
15204 defaultval=no
15205 fi
15206 fi
15207
15208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
15209 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
15210 no_cache=0
15211 # Check whether --enable-image was given.
15212 if test "${enable_image+set}" = set; then
15213 enableval=$enable_image;
15214 if test "$enableval" = yes; then
15215 wx_cv_use_image='wxUSE_IMAGE=yes'
15216 else
15217 wx_cv_use_image='wxUSE_IMAGE=no'
15218 fi
15219
15220 else
15221
15222 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
15223 if test "x$LINE" != x ; then
15224 eval "DEFAULT_$LINE"
15225 else
15226 no_cache=1
15227 fi
15228
15229 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
15230
15231 fi
15232
15233
15234 eval "$wx_cv_use_image"
15235 if test "$no_cache" != 1; then
15236 echo $wx_cv_use_image >> ${wx_arg_cache_file}.tmp
15237 fi
15238
15239 if test x"$enablestring" = xdisable; then
15240 if test $wxUSE_IMAGE = yes; then
15241 result=no
15242 else
15243 result=yes
15244 fi
15245 else
15246 result=$wxUSE_IMAGE
15247 fi
15248
15249 { echo "$as_me:$LINENO: result: $result" >&5
15250 echo "${ECHO_T}$result" >&6; }
15251
15252
15253 enablestring=
15254 defaultval=$wxUSE_ALL_FEATURES
15255 if test -z "$defaultval"; then
15256 if test x"$enablestring" = xdisable; then
15257 defaultval=yes
15258 else
15259 defaultval=no
15260 fi
15261 fi
15262
15263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
15264 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
15265 no_cache=0
15266 # Check whether --enable-gif was given.
15267 if test "${enable_gif+set}" = set; then
15268 enableval=$enable_gif;
15269 if test "$enableval" = yes; then
15270 wx_cv_use_gif='wxUSE_GIF=yes'
15271 else
15272 wx_cv_use_gif='wxUSE_GIF=no'
15273 fi
15274
15275 else
15276
15277 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
15278 if test "x$LINE" != x ; then
15279 eval "DEFAULT_$LINE"
15280 else
15281 no_cache=1
15282 fi
15283
15284 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
15285
15286 fi
15287
15288
15289 eval "$wx_cv_use_gif"
15290 if test "$no_cache" != 1; then
15291 echo $wx_cv_use_gif >> ${wx_arg_cache_file}.tmp
15292 fi
15293
15294 if test x"$enablestring" = xdisable; then
15295 if test $wxUSE_GIF = yes; then
15296 result=no
15297 else
15298 result=yes
15299 fi
15300 else
15301 result=$wxUSE_GIF
15302 fi
15303
15304 { echo "$as_me:$LINENO: result: $result" >&5
15305 echo "${ECHO_T}$result" >&6; }
15306
15307
15308 enablestring=
15309 defaultval=$wxUSE_ALL_FEATURES
15310 if test -z "$defaultval"; then
15311 if test x"$enablestring" = xdisable; then
15312 defaultval=yes
15313 else
15314 defaultval=no
15315 fi
15316 fi
15317
15318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
15319 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
15320 no_cache=0
15321 # Check whether --enable-pcx was given.
15322 if test "${enable_pcx+set}" = set; then
15323 enableval=$enable_pcx;
15324 if test "$enableval" = yes; then
15325 wx_cv_use_pcx='wxUSE_PCX=yes'
15326 else
15327 wx_cv_use_pcx='wxUSE_PCX=no'
15328 fi
15329
15330 else
15331
15332 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
15333 if test "x$LINE" != x ; then
15334 eval "DEFAULT_$LINE"
15335 else
15336 no_cache=1
15337 fi
15338
15339 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
15340
15341 fi
15342
15343
15344 eval "$wx_cv_use_pcx"
15345 if test "$no_cache" != 1; then
15346 echo $wx_cv_use_pcx >> ${wx_arg_cache_file}.tmp
15347 fi
15348
15349 if test x"$enablestring" = xdisable; then
15350 if test $wxUSE_PCX = yes; then
15351 result=no
15352 else
15353 result=yes
15354 fi
15355 else
15356 result=$wxUSE_PCX
15357 fi
15358
15359 { echo "$as_me:$LINENO: result: $result" >&5
15360 echo "${ECHO_T}$result" >&6; }
15361
15362
15363 enablestring=
15364 defaultval=$wxUSE_ALL_FEATURES
15365 if test -z "$defaultval"; then
15366 if test x"$enablestring" = xdisable; then
15367 defaultval=yes
15368 else
15369 defaultval=no
15370 fi
15371 fi
15372
15373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
15374 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
15375 no_cache=0
15376 # Check whether --enable-tga was given.
15377 if test "${enable_tga+set}" = set; then
15378 enableval=$enable_tga;
15379 if test "$enableval" = yes; then
15380 wx_cv_use_tga='wxUSE_TGA=yes'
15381 else
15382 wx_cv_use_tga='wxUSE_TGA=no'
15383 fi
15384
15385 else
15386
15387 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
15388 if test "x$LINE" != x ; then
15389 eval "DEFAULT_$LINE"
15390 else
15391 no_cache=1
15392 fi
15393
15394 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
15395
15396 fi
15397
15398
15399 eval "$wx_cv_use_tga"
15400 if test "$no_cache" != 1; then
15401 echo $wx_cv_use_tga >> ${wx_arg_cache_file}.tmp
15402 fi
15403
15404 if test x"$enablestring" = xdisable; then
15405 if test $wxUSE_TGA = yes; then
15406 result=no
15407 else
15408 result=yes
15409 fi
15410 else
15411 result=$wxUSE_TGA
15412 fi
15413
15414 { echo "$as_me:$LINENO: result: $result" >&5
15415 echo "${ECHO_T}$result" >&6; }
15416
15417
15418 enablestring=
15419 defaultval=$wxUSE_ALL_FEATURES
15420 if test -z "$defaultval"; then
15421 if test x"$enablestring" = xdisable; then
15422 defaultval=yes
15423 else
15424 defaultval=no
15425 fi
15426 fi
15427
15428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
15429 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
15430 no_cache=0
15431 # Check whether --enable-iff was given.
15432 if test "${enable_iff+set}" = set; then
15433 enableval=$enable_iff;
15434 if test "$enableval" = yes; then
15435 wx_cv_use_iff='wxUSE_IFF=yes'
15436 else
15437 wx_cv_use_iff='wxUSE_IFF=no'
15438 fi
15439
15440 else
15441
15442 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
15443 if test "x$LINE" != x ; then
15444 eval "DEFAULT_$LINE"
15445 else
15446 no_cache=1
15447 fi
15448
15449 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
15450
15451 fi
15452
15453
15454 eval "$wx_cv_use_iff"
15455 if test "$no_cache" != 1; then
15456 echo $wx_cv_use_iff >> ${wx_arg_cache_file}.tmp
15457 fi
15458
15459 if test x"$enablestring" = xdisable; then
15460 if test $wxUSE_IFF = yes; then
15461 result=no
15462 else
15463 result=yes
15464 fi
15465 else
15466 result=$wxUSE_IFF
15467 fi
15468
15469 { echo "$as_me:$LINENO: result: $result" >&5
15470 echo "${ECHO_T}$result" >&6; }
15471
15472
15473 enablestring=
15474 defaultval=$wxUSE_ALL_FEATURES
15475 if test -z "$defaultval"; then
15476 if test x"$enablestring" = xdisable; then
15477 defaultval=yes
15478 else
15479 defaultval=no
15480 fi
15481 fi
15482
15483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
15484 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
15485 no_cache=0
15486 # Check whether --enable-pnm was given.
15487 if test "${enable_pnm+set}" = set; then
15488 enableval=$enable_pnm;
15489 if test "$enableval" = yes; then
15490 wx_cv_use_pnm='wxUSE_PNM=yes'
15491 else
15492 wx_cv_use_pnm='wxUSE_PNM=no'
15493 fi
15494
15495 else
15496
15497 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
15498 if test "x$LINE" != x ; then
15499 eval "DEFAULT_$LINE"
15500 else
15501 no_cache=1
15502 fi
15503
15504 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
15505
15506 fi
15507
15508
15509 eval "$wx_cv_use_pnm"
15510 if test "$no_cache" != 1; then
15511 echo $wx_cv_use_pnm >> ${wx_arg_cache_file}.tmp
15512 fi
15513
15514 if test x"$enablestring" = xdisable; then
15515 if test $wxUSE_PNM = yes; then
15516 result=no
15517 else
15518 result=yes
15519 fi
15520 else
15521 result=$wxUSE_PNM
15522 fi
15523
15524 { echo "$as_me:$LINENO: result: $result" >&5
15525 echo "${ECHO_T}$result" >&6; }
15526
15527
15528 enablestring=
15529 defaultval=$wxUSE_ALL_FEATURES
15530 if test -z "$defaultval"; then
15531 if test x"$enablestring" = xdisable; then
15532 defaultval=yes
15533 else
15534 defaultval=no
15535 fi
15536 fi
15537
15538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
15539 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
15540 no_cache=0
15541 # Check whether --enable-xpm was given.
15542 if test "${enable_xpm+set}" = set; then
15543 enableval=$enable_xpm;
15544 if test "$enableval" = yes; then
15545 wx_cv_use_xpm='wxUSE_XPM=yes'
15546 else
15547 wx_cv_use_xpm='wxUSE_XPM=no'
15548 fi
15549
15550 else
15551
15552 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
15553 if test "x$LINE" != x ; then
15554 eval "DEFAULT_$LINE"
15555 else
15556 no_cache=1
15557 fi
15558
15559 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
15560
15561 fi
15562
15563
15564 eval "$wx_cv_use_xpm"
15565 if test "$no_cache" != 1; then
15566 echo $wx_cv_use_xpm >> ${wx_arg_cache_file}.tmp
15567 fi
15568
15569 if test x"$enablestring" = xdisable; then
15570 if test $wxUSE_XPM = yes; then
15571 result=no
15572 else
15573 result=yes
15574 fi
15575 else
15576 result=$wxUSE_XPM
15577 fi
15578
15579 { echo "$as_me:$LINENO: result: $result" >&5
15580 echo "${ECHO_T}$result" >&6; }
15581
15582
15583 enablestring=
15584 defaultval=$wxUSE_ALL_FEATURES
15585 if test -z "$defaultval"; then
15586 if test x"$enablestring" = xdisable; then
15587 defaultval=yes
15588 else
15589 defaultval=no
15590 fi
15591 fi
15592
15593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
15594 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
15595 no_cache=0
15596 # Check whether --enable-ico_cur was given.
15597 if test "${enable_ico_cur+set}" = set; then
15598 enableval=$enable_ico_cur;
15599 if test "$enableval" = yes; then
15600 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
15601 else
15602 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
15603 fi
15604
15605 else
15606
15607 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
15608 if test "x$LINE" != x ; then
15609 eval "DEFAULT_$LINE"
15610 else
15611 no_cache=1
15612 fi
15613
15614 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
15615
15616 fi
15617
15618
15619 eval "$wx_cv_use_ico_cur"
15620 if test "$no_cache" != 1; then
15621 echo $wx_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
15622 fi
15623
15624 if test x"$enablestring" = xdisable; then
15625 if test $wxUSE_ICO_CUR = yes; then
15626 result=no
15627 else
15628 result=yes
15629 fi
15630 else
15631 result=$wxUSE_ICO_CUR
15632 fi
15633
15634 { echo "$as_me:$LINENO: result: $result" >&5
15635 echo "${ECHO_T}$result" >&6; }
15636
15637
15638
15639
15640 enablestring=
15641 defaultval=$wxUSE_ALL_FEATURES
15642 if test -z "$defaultval"; then
15643 if test x"$enablestring" = xdisable; then
15644 defaultval=yes
15645 else
15646 defaultval=no
15647 fi
15648 fi
15649
15650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
15651 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
15652 no_cache=0
15653 # Check whether --enable-dccache was given.
15654 if test "${enable_dccache+set}" = set; then
15655 enableval=$enable_dccache;
15656 if test "$enableval" = yes; then
15657 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
15658 else
15659 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
15660 fi
15661
15662 else
15663
15664 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
15665 if test "x$LINE" != x ; then
15666 eval "DEFAULT_$LINE"
15667 else
15668 no_cache=1
15669 fi
15670
15671 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
15672
15673 fi
15674
15675
15676 eval "$wx_cv_use_dccache"
15677 if test "$no_cache" != 1; then
15678 echo $wx_cv_use_dccache >> ${wx_arg_cache_file}.tmp
15679 fi
15680
15681 if test x"$enablestring" = xdisable; then
15682 if test $wxUSE_DC_CACHEING = yes; then
15683 result=no
15684 else
15685 result=yes
15686 fi
15687 else
15688 result=$wxUSE_DC_CACHEING
15689 fi
15690
15691 { echo "$as_me:$LINENO: result: $result" >&5
15692 echo "${ECHO_T}$result" >&6; }
15693
15694
15695 enablestring=
15696 defaultval=$wxUSE_ALL_FEATURES
15697 if test -z "$defaultval"; then
15698 if test x"$enablestring" = xdisable; then
15699 defaultval=yes
15700 else
15701 defaultval=no
15702 fi
15703 fi
15704
15705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
15706 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
15707 no_cache=0
15708 # Check whether --enable-uxtheme was given.
15709 if test "${enable_uxtheme+set}" = set; then
15710 enableval=$enable_uxtheme;
15711 if test "$enableval" = yes; then
15712 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
15713 else
15714 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
15715 fi
15716
15717 else
15718
15719 LINE=`grep "^wxUSE_UXTHEME=" ${wx_arg_cache_file}`
15720 if test "x$LINE" != x ; then
15721 eval "DEFAULT_$LINE"
15722 else
15723 no_cache=1
15724 fi
15725
15726 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
15727
15728 fi
15729
15730
15731 eval "$wx_cv_use_uxtheme"
15732 if test "$no_cache" != 1; then
15733 echo $wx_cv_use_uxtheme >> ${wx_arg_cache_file}.tmp
15734 fi
15735
15736 if test x"$enablestring" = xdisable; then
15737 if test $wxUSE_UXTHEME = yes; then
15738 result=no
15739 else
15740 result=yes
15741 fi
15742 else
15743 result=$wxUSE_UXTHEME
15744 fi
15745
15746 { echo "$as_me:$LINENO: result: $result" >&5
15747 echo "${ECHO_T}$result" >&6; }
15748
15749
15750 fi
15751
15752
15753 echo "saving argument cache $wx_arg_cache_file"
15754 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
15755
15756
15757
15758 { echo "$as_me:$LINENO: checking for toolkit" >&5
15759 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
15760
15761 # In Wine, we need to default to MSW, not GTK or MOTIF
15762 if test "$wxUSE_WINE" = "yes"; then
15763 DEFAULT_DEFAULT_wxUSE_GTK=0
15764 DEFAULT_DEFAULT_wxUSE_MOTIF=0
15765 DEFAULT_DEFAULT_wxUSE_MSW=1
15766 wxUSE_SHARED=no
15767 CC=${CC:-winegcc}
15768 CXX=${CXX:-wineg++}
15769 fi
15770
15771
15772 if test "$wxUSE_GUI" = "yes"; then
15773
15774 if test "$USE_BEOS" = 1; then
15775 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
15776 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
15777 { (exit 1); exit 1; }; }
15778 fi
15779
15780 if test "$TOOLKIT_GIVEN" = 1; then
15781 for toolkit in `echo $ALL_TOOLKITS`; do
15782 var=wxUSE_$toolkit
15783 eval "value=\$${var}"
15784 if test "x$value" = "xno"; then
15785 eval "$var=0"
15786 elif test "x$value" != "x"; then
15787 eval "$var=1"
15788 fi
15789
15790 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
15791 eval "wx${toolkit}_VERSION=$value"
15792 fi
15793 done
15794 else
15795 for toolkit in `echo $ALL_TOOLKITS`; do
15796 if test "$has_toolkit_in_cache" != 1; then
15797 var=DEFAULT_DEFAULT_wxUSE_$toolkit
15798 else
15799 var=DEFAULT_wxUSE_$toolkit
15800
15801 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
15802 if test "x$version" != "x"; then
15803 eval "wx${toolkit}_VERSION=$version"
15804 fi
15805 fi
15806 eval "wxUSE_$toolkit=\$${var}"
15807 done
15808 fi
15809
15810 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
15811 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
15812 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
15813
15814 case "${host}" in
15815 *-pc-os2_emx | *-pc-os2-emx )
15816 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
15817 esac
15818
15819 case "$NUM_TOOLKITS" in
15820 1)
15821 ;;
15822 0)
15823 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
15824 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
15825 { (exit 1); exit 1; }; }
15826 ;;
15827 *)
15828 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
15829 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
15830 { (exit 1); exit 1; }; }
15831 esac
15832
15833 # to be removed when --disable-gtk2 isn't needed
15834 if test "x$wxUSE_GTK2" = "xyes"; then
15835 wxGTK_VERSION=2
15836 elif test "x$wxUSE_GTK2" = "xno"; then
15837 wxGTK_VERSION=1
15838 fi
15839
15840 for toolkit in `echo $ALL_TOOLKITS`; do
15841 var=wxUSE_$toolkit
15842 eval "value=\$${var}"
15843 if test "x$value" != x; then
15844 cache_var=CACHE_$toolkit
15845 eval "cache=\$${cache_var}"
15846 if test "$cache" = 1; then
15847 echo "$var=$value" >> ${wx_arg_cache_file}
15848 eval "version=\$wx${toolkit}_VERSION"
15849 if test "x$version" != "x"; then
15850 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
15851 fi
15852 fi
15853 if test "$value" = 1; then
15854 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
15855 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
15856 echo "${ECHO_T}$toolkit_echo" >&6; }
15857 fi
15858 fi
15859 done
15860 else
15861 if test "x$host_alias" != "x"; then
15862 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
15863 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
15864 else
15865 { echo "$as_me:$LINENO: result: base only" >&5
15866 echo "${ECHO_T}base only" >&6; }
15867 fi
15868 fi
15869
15870
15871 cat >confcache <<\_ACEOF
15872 # This file is a shell script that caches the results of configure
15873 # tests run on this system so they can be shared between configure
15874 # scripts and configure runs, see configure's option --config-cache.
15875 # It is not useful on other systems. If it contains results you don't
15876 # want to keep, you may remove or edit it.
15877 #
15878 # config.status only pays attention to the cache file if you give it
15879 # the --recheck option to rerun configure.
15880 #
15881 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15882 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15883 # following values.
15884
15885 _ACEOF
15886
15887 # The following way of writing the cache mishandles newlines in values,
15888 # but we know of no workaround that is simple, portable, and efficient.
15889 # So, we kill variables containing newlines.
15890 # Ultrix sh set writes to stderr and can't be redirected directly,
15891 # and sets the high bit in the cache file unless we assign to the vars.
15892 (
15893 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15894 eval ac_val=\$$ac_var
15895 case $ac_val in #(
15896 *${as_nl}*)
15897 case $ac_var in #(
15898 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15899 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15900 esac
15901 case $ac_var in #(
15902 _ | IFS | as_nl) ;; #(
15903 *) $as_unset $ac_var ;;
15904 esac ;;
15905 esac
15906 done
15907
15908 (set) 2>&1 |
15909 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15910 *${as_nl}ac_space=\ *)
15911 # `set' does not quote correctly, so add quotes (double-quote
15912 # substitution turns \\\\ into \\, and sed turns \\ into \).
15913 sed -n \
15914 "s/'/'\\\\''/g;
15915 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15916 ;; #(
15917 *)
15918 # `set' quotes correctly as required by POSIX, so do not add quotes.
15919 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15920 ;;
15921 esac |
15922 sort
15923 ) |
15924 sed '
15925 /^ac_cv_env_/b end
15926 t clear
15927 :clear
15928 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15929 t end
15930 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15931 :end' >>confcache
15932 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15933 if test -w "$cache_file"; then
15934 test "x$cache_file" != "x/dev/null" &&
15935 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15936 echo "$as_me: updating cache $cache_file" >&6;}
15937 cat confcache >$cache_file
15938 else
15939 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15940 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15941 fi
15942 fi
15943 rm -f confcache
15944
15945 CFLAGS=${CFLAGS:=}
15946
15947
15948
15949 ac_ext=c
15950 ac_cpp='$CPP $CPPFLAGS'
15951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15954 if test -n "$ac_tool_prefix"; then
15955 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15956 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15959 if test "${ac_cv_prog_CC+set}" = set; then
15960 echo $ECHO_N "(cached) $ECHO_C" >&6
15961 else
15962 if test -n "$CC"; then
15963 ac_cv_prog_CC="$CC" # Let the user override the test.
15964 else
15965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15966 for as_dir in $PATH
15967 do
15968 IFS=$as_save_IFS
15969 test -z "$as_dir" && as_dir=.
15970 for ac_exec_ext in '' $ac_executable_extensions; do
15971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15972 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15974 break 2
15975 fi
15976 done
15977 done
15978 IFS=$as_save_IFS
15979
15980 fi
15981 fi
15982 CC=$ac_cv_prog_CC
15983 if test -n "$CC"; then
15984 { echo "$as_me:$LINENO: result: $CC" >&5
15985 echo "${ECHO_T}$CC" >&6; }
15986 else
15987 { echo "$as_me:$LINENO: result: no" >&5
15988 echo "${ECHO_T}no" >&6; }
15989 fi
15990
15991
15992 fi
15993 if test -z "$ac_cv_prog_CC"; then
15994 ac_ct_CC=$CC
15995 # Extract the first word of "gcc", so it can be a program name with args.
15996 set dummy gcc; ac_word=$2
15997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16000 echo $ECHO_N "(cached) $ECHO_C" >&6
16001 else
16002 if test -n "$ac_ct_CC"; then
16003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16004 else
16005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16006 for as_dir in $PATH
16007 do
16008 IFS=$as_save_IFS
16009 test -z "$as_dir" && as_dir=.
16010 for ac_exec_ext in '' $ac_executable_extensions; do
16011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16012 ac_cv_prog_ac_ct_CC="gcc"
16013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16014 break 2
16015 fi
16016 done
16017 done
16018 IFS=$as_save_IFS
16019
16020 fi
16021 fi
16022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16023 if test -n "$ac_ct_CC"; then
16024 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16025 echo "${ECHO_T}$ac_ct_CC" >&6; }
16026 else
16027 { echo "$as_me:$LINENO: result: no" >&5
16028 echo "${ECHO_T}no" >&6; }
16029 fi
16030
16031 if test "x$ac_ct_CC" = x; then
16032 CC=""
16033 else
16034 case $cross_compiling:$ac_tool_warned in
16035 yes:)
16036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16037 whose name does not start with the host triplet. If you think this
16038 configuration is useful to you, please write to autoconf@gnu.org." >&5
16039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16040 whose name does not start with the host triplet. If you think this
16041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16042 ac_tool_warned=yes ;;
16043 esac
16044 CC=$ac_ct_CC
16045 fi
16046 else
16047 CC="$ac_cv_prog_CC"
16048 fi
16049
16050 if test -z "$CC"; then
16051 if test -n "$ac_tool_prefix"; then
16052 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16053 set dummy ${ac_tool_prefix}cc; ac_word=$2
16054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16056 if test "${ac_cv_prog_CC+set}" = set; then
16057 echo $ECHO_N "(cached) $ECHO_C" >&6
16058 else
16059 if test -n "$CC"; then
16060 ac_cv_prog_CC="$CC" # Let the user override the test.
16061 else
16062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16063 for as_dir in $PATH
16064 do
16065 IFS=$as_save_IFS
16066 test -z "$as_dir" && as_dir=.
16067 for ac_exec_ext in '' $ac_executable_extensions; do
16068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16069 ac_cv_prog_CC="${ac_tool_prefix}cc"
16070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16071 break 2
16072 fi
16073 done
16074 done
16075 IFS=$as_save_IFS
16076
16077 fi
16078 fi
16079 CC=$ac_cv_prog_CC
16080 if test -n "$CC"; then
16081 { echo "$as_me:$LINENO: result: $CC" >&5
16082 echo "${ECHO_T}$CC" >&6; }
16083 else
16084 { echo "$as_me:$LINENO: result: no" >&5
16085 echo "${ECHO_T}no" >&6; }
16086 fi
16087
16088
16089 fi
16090 fi
16091 if test -z "$CC"; then
16092 # Extract the first word of "cc", so it can be a program name with args.
16093 set dummy cc; ac_word=$2
16094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16096 if test "${ac_cv_prog_CC+set}" = set; then
16097 echo $ECHO_N "(cached) $ECHO_C" >&6
16098 else
16099 if test -n "$CC"; then
16100 ac_cv_prog_CC="$CC" # Let the user override the test.
16101 else
16102 ac_prog_rejected=no
16103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16104 for as_dir in $PATH
16105 do
16106 IFS=$as_save_IFS
16107 test -z "$as_dir" && as_dir=.
16108 for ac_exec_ext in '' $ac_executable_extensions; do
16109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16110 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
16111 ac_prog_rejected=yes
16112 continue
16113 fi
16114 ac_cv_prog_CC="cc"
16115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16116 break 2
16117 fi
16118 done
16119 done
16120 IFS=$as_save_IFS
16121
16122 if test $ac_prog_rejected = yes; then
16123 # We found a bogon in the path, so make sure we never use it.
16124 set dummy $ac_cv_prog_CC
16125 shift
16126 if test $# != 0; then
16127 # We chose a different compiler from the bogus one.
16128 # However, it has the same basename, so the bogon will be chosen
16129 # first if we set CC to just the basename; use the full file name.
16130 shift
16131 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
16132 fi
16133 fi
16134 fi
16135 fi
16136 CC=$ac_cv_prog_CC
16137 if test -n "$CC"; then
16138 { echo "$as_me:$LINENO: result: $CC" >&5
16139 echo "${ECHO_T}$CC" >&6; }
16140 else
16141 { echo "$as_me:$LINENO: result: no" >&5
16142 echo "${ECHO_T}no" >&6; }
16143 fi
16144
16145
16146 fi
16147 if test -z "$CC"; then
16148 if test -n "$ac_tool_prefix"; then
16149 for ac_prog in cl.exe
16150 do
16151 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16152 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16155 if test "${ac_cv_prog_CC+set}" = set; then
16156 echo $ECHO_N "(cached) $ECHO_C" >&6
16157 else
16158 if test -n "$CC"; then
16159 ac_cv_prog_CC="$CC" # Let the user override the test.
16160 else
16161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16162 for as_dir in $PATH
16163 do
16164 IFS=$as_save_IFS
16165 test -z "$as_dir" && as_dir=.
16166 for ac_exec_ext in '' $ac_executable_extensions; do
16167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16168 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
16169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16170 break 2
16171 fi
16172 done
16173 done
16174 IFS=$as_save_IFS
16175
16176 fi
16177 fi
16178 CC=$ac_cv_prog_CC
16179 if test -n "$CC"; then
16180 { echo "$as_me:$LINENO: result: $CC" >&5
16181 echo "${ECHO_T}$CC" >&6; }
16182 else
16183 { echo "$as_me:$LINENO: result: no" >&5
16184 echo "${ECHO_T}no" >&6; }
16185 fi
16186
16187
16188 test -n "$CC" && break
16189 done
16190 fi
16191 if test -z "$CC"; then
16192 ac_ct_CC=$CC
16193 for ac_prog in cl.exe
16194 do
16195 # Extract the first word of "$ac_prog", so it can be a program name with args.
16196 set dummy $ac_prog; ac_word=$2
16197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16199 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16200 echo $ECHO_N "(cached) $ECHO_C" >&6
16201 else
16202 if test -n "$ac_ct_CC"; then
16203 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16204 else
16205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16206 for as_dir in $PATH
16207 do
16208 IFS=$as_save_IFS
16209 test -z "$as_dir" && as_dir=.
16210 for ac_exec_ext in '' $ac_executable_extensions; do
16211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16212 ac_cv_prog_ac_ct_CC="$ac_prog"
16213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16214 break 2
16215 fi
16216 done
16217 done
16218 IFS=$as_save_IFS
16219
16220 fi
16221 fi
16222 ac_ct_CC=$ac_cv_prog_ac_ct_CC
16223 if test -n "$ac_ct_CC"; then
16224 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16225 echo "${ECHO_T}$ac_ct_CC" >&6; }
16226 else
16227 { echo "$as_me:$LINENO: result: no" >&5
16228 echo "${ECHO_T}no" >&6; }
16229 fi
16230
16231
16232 test -n "$ac_ct_CC" && break
16233 done
16234
16235 if test "x$ac_ct_CC" = x; then
16236 CC=""
16237 else
16238 case $cross_compiling:$ac_tool_warned in
16239 yes:)
16240 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16241 whose name does not start with the host triplet. If you think this
16242 configuration is useful to you, please write to autoconf@gnu.org." >&5
16243 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16244 whose name does not start with the host triplet. If you think this
16245 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16246 ac_tool_warned=yes ;;
16247 esac
16248 CC=$ac_ct_CC
16249 fi
16250 fi
16251
16252 fi
16253
16254
16255 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
16256 See \`config.log' for more details." >&5
16257 echo "$as_me: error: no acceptable C compiler found in \$PATH
16258 See \`config.log' for more details." >&2;}
16259 { (exit 1); exit 1; }; }
16260
16261 # Provide some information about the compiler.
16262 echo "$as_me:$LINENO: checking for C compiler version" >&5
16263 ac_compiler=`set X $ac_compile; echo $2`
16264 { (ac_try="$ac_compiler --version >&5"
16265 case "(($ac_try" in
16266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16267 *) ac_try_echo=$ac_try;;
16268 esac
16269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16270 (eval "$ac_compiler --version >&5") 2>&5
16271 ac_status=$?
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }
16274 { (ac_try="$ac_compiler -v >&5"
16275 case "(($ac_try" in
16276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16277 *) ac_try_echo=$ac_try;;
16278 esac
16279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16280 (eval "$ac_compiler -v >&5") 2>&5
16281 ac_status=$?
16282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16283 (exit $ac_status); }
16284 { (ac_try="$ac_compiler -V >&5"
16285 case "(($ac_try" in
16286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16287 *) ac_try_echo=$ac_try;;
16288 esac
16289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16290 (eval "$ac_compiler -V >&5") 2>&5
16291 ac_status=$?
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }
16294
16295 cat >conftest.$ac_ext <<_ACEOF
16296 /* confdefs.h. */
16297 _ACEOF
16298 cat confdefs.h >>conftest.$ac_ext
16299 cat >>conftest.$ac_ext <<_ACEOF
16300 /* end confdefs.h. */
16301
16302 int
16303 main ()
16304 {
16305
16306 ;
16307 return 0;
16308 }
16309 _ACEOF
16310 ac_clean_files_save=$ac_clean_files
16311 ac_clean_files="$ac_clean_files a.out a.exe b.out"
16312 # Try to create an executable without -o first, disregard a.out.
16313 # It will help us diagnose broken compilers, and finding out an intuition
16314 # of exeext.
16315 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
16316 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
16317 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
16318 #
16319 # List of possible output files, starting from the most likely.
16320 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
16321 # only as a last resort. b.out is created by i960 compilers.
16322 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
16323 #
16324 # The IRIX 6 linker writes into existing files which may not be
16325 # executable, retaining their permissions. Remove them first so a
16326 # subsequent execution test works.
16327 ac_rmfiles=
16328 for ac_file in $ac_files
16329 do
16330 case $ac_file in
16331 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16332 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
16333 esac
16334 done
16335 rm -f $ac_rmfiles
16336
16337 if { (ac_try="$ac_link_default"
16338 case "(($ac_try" in
16339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16340 *) ac_try_echo=$ac_try;;
16341 esac
16342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16343 (eval "$ac_link_default") 2>&5
16344 ac_status=$?
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); }; then
16347 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
16348 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
16349 # in a Makefile. We should not override ac_cv_exeext if it was cached,
16350 # so that the user can short-circuit this test for compilers unknown to
16351 # Autoconf.
16352 for ac_file in $ac_files ''
16353 do
16354 test -f "$ac_file" || continue
16355 case $ac_file in
16356 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
16357 ;;
16358 [ab].out )
16359 # We found the default executable, but exeext='' is most
16360 # certainly right.
16361 break;;
16362 *.* )
16363 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
16364 then :; else
16365 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16366 fi
16367 # We set ac_cv_exeext here because the later test for it is not
16368 # safe: cross compilers may not add the suffix if given an `-o'
16369 # argument, so we may need to know it at that point already.
16370 # Even if this section looks crufty: it has the advantage of
16371 # actually working.
16372 break;;
16373 * )
16374 break;;
16375 esac
16376 done
16377 test "$ac_cv_exeext" = no && ac_cv_exeext=
16378
16379 else
16380 ac_file=''
16381 fi
16382
16383 { echo "$as_me:$LINENO: result: $ac_file" >&5
16384 echo "${ECHO_T}$ac_file" >&6; }
16385 if test -z "$ac_file"; then
16386 echo "$as_me: failed program was:" >&5
16387 sed 's/^/| /' conftest.$ac_ext >&5
16388
16389 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
16390 See \`config.log' for more details." >&5
16391 echo "$as_me: error: C compiler cannot create executables
16392 See \`config.log' for more details." >&2;}
16393 { (exit 77); exit 77; }; }
16394 fi
16395
16396 ac_exeext=$ac_cv_exeext
16397
16398 # Check that the compiler produces executables we can run. If not, either
16399 # the compiler is broken, or we cross compile.
16400 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
16401 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
16402 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
16403 # If not cross compiling, check that we can run a simple program.
16404 if test "$cross_compiling" != yes; then
16405 if { ac_try='./$ac_file'
16406 { (case "(($ac_try" in
16407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16408 *) ac_try_echo=$ac_try;;
16409 esac
16410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16411 (eval "$ac_try") 2>&5
16412 ac_status=$?
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; }; then
16415 cross_compiling=no
16416 else
16417 if test "$cross_compiling" = maybe; then
16418 cross_compiling=yes
16419 else
16420 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
16421 If you meant to cross compile, use \`--host'.
16422 See \`config.log' for more details." >&5
16423 echo "$as_me: error: cannot run C compiled programs.
16424 If you meant to cross compile, use \`--host'.
16425 See \`config.log' for more details." >&2;}
16426 { (exit 1); exit 1; }; }
16427 fi
16428 fi
16429 fi
16430 { echo "$as_me:$LINENO: result: yes" >&5
16431 echo "${ECHO_T}yes" >&6; }
16432
16433 rm -f a.out a.exe conftest$ac_cv_exeext b.out
16434 ac_clean_files=$ac_clean_files_save
16435 # Check that the compiler produces executables we can run. If not, either
16436 # the compiler is broken, or we cross compile.
16437 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
16438 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
16439 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
16440 echo "${ECHO_T}$cross_compiling" >&6; }
16441
16442 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
16443 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
16444 if { (ac_try="$ac_link"
16445 case "(($ac_try" in
16446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16447 *) ac_try_echo=$ac_try;;
16448 esac
16449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16450 (eval "$ac_link") 2>&5
16451 ac_status=$?
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); }; then
16454 # If both `conftest.exe' and `conftest' are `present' (well, observable)
16455 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
16456 # work properly (i.e., refer to `conftest.exe'), while it won't with
16457 # `rm'.
16458 for ac_file in conftest.exe conftest conftest.*; do
16459 test -f "$ac_file" || continue
16460 case $ac_file in
16461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
16462 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
16463 break;;
16464 * ) break;;
16465 esac
16466 done
16467 else
16468 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
16469 See \`config.log' for more details." >&5
16470 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
16471 See \`config.log' for more details." >&2;}
16472 { (exit 1); exit 1; }; }
16473 fi
16474
16475 rm -f conftest$ac_cv_exeext
16476 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
16477 echo "${ECHO_T}$ac_cv_exeext" >&6; }
16478
16479 rm -f conftest.$ac_ext
16480 EXEEXT=$ac_cv_exeext
16481 ac_exeext=$EXEEXT
16482 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
16483 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
16484 if test "${ac_cv_objext+set}" = set; then
16485 echo $ECHO_N "(cached) $ECHO_C" >&6
16486 else
16487 cat >conftest.$ac_ext <<_ACEOF
16488 /* confdefs.h. */
16489 _ACEOF
16490 cat confdefs.h >>conftest.$ac_ext
16491 cat >>conftest.$ac_ext <<_ACEOF
16492 /* end confdefs.h. */
16493
16494 int
16495 main ()
16496 {
16497
16498 ;
16499 return 0;
16500 }
16501 _ACEOF
16502 rm -f conftest.o conftest.obj
16503 if { (ac_try="$ac_compile"
16504 case "(($ac_try" in
16505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16506 *) ac_try_echo=$ac_try;;
16507 esac
16508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16509 (eval "$ac_compile") 2>&5
16510 ac_status=$?
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); }; then
16513 for ac_file in conftest.o conftest.obj conftest.*; do
16514 test -f "$ac_file" || continue;
16515 case $ac_file in
16516 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
16517 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
16518 break;;
16519 esac
16520 done
16521 else
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16524
16525 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
16526 See \`config.log' for more details." >&5
16527 echo "$as_me: error: cannot compute suffix of object files: cannot compile
16528 See \`config.log' for more details." >&2;}
16529 { (exit 1); exit 1; }; }
16530 fi
16531
16532 rm -f conftest.$ac_cv_objext conftest.$ac_ext
16533 fi
16534 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
16535 echo "${ECHO_T}$ac_cv_objext" >&6; }
16536 OBJEXT=$ac_cv_objext
16537 ac_objext=$OBJEXT
16538 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
16539 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
16540 if test "${ac_cv_c_compiler_gnu+set}" = set; then
16541 echo $ECHO_N "(cached) $ECHO_C" >&6
16542 else
16543 cat >conftest.$ac_ext <<_ACEOF
16544 /* confdefs.h. */
16545 _ACEOF
16546 cat confdefs.h >>conftest.$ac_ext
16547 cat >>conftest.$ac_ext <<_ACEOF
16548 /* end confdefs.h. */
16549
16550 int
16551 main ()
16552 {
16553 #ifndef __GNUC__
16554 choke me
16555 #endif
16556
16557 ;
16558 return 0;
16559 }
16560 _ACEOF
16561 rm -f conftest.$ac_objext
16562 if { (ac_try="$ac_compile"
16563 case "(($ac_try" in
16564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16565 *) ac_try_echo=$ac_try;;
16566 esac
16567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16568 (eval "$ac_compile") 2>conftest.er1
16569 ac_status=$?
16570 grep -v '^ *+' conftest.er1 >conftest.err
16571 rm -f conftest.er1
16572 cat conftest.err >&5
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); } && {
16575 test -z "$ac_c_werror_flag" ||
16576 test ! -s conftest.err
16577 } && test -s conftest.$ac_objext; then
16578 ac_compiler_gnu=yes
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16582
16583 ac_compiler_gnu=no
16584 fi
16585
16586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16587 ac_cv_c_compiler_gnu=$ac_compiler_gnu
16588
16589 fi
16590 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
16591 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
16592 GCC=`test $ac_compiler_gnu = yes && echo yes`
16593 ac_test_CFLAGS=${CFLAGS+set}
16594 ac_save_CFLAGS=$CFLAGS
16595 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16596 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16597 if test "${ac_cv_prog_cc_g+set}" = set; then
16598 echo $ECHO_N "(cached) $ECHO_C" >&6
16599 else
16600 ac_save_c_werror_flag=$ac_c_werror_flag
16601 ac_c_werror_flag=yes
16602 ac_cv_prog_cc_g=no
16603 CFLAGS="-g"
16604 cat >conftest.$ac_ext <<_ACEOF
16605 /* confdefs.h. */
16606 _ACEOF
16607 cat confdefs.h >>conftest.$ac_ext
16608 cat >>conftest.$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610
16611 int
16612 main ()
16613 {
16614
16615 ;
16616 return 0;
16617 }
16618 _ACEOF
16619 rm -f conftest.$ac_objext
16620 if { (ac_try="$ac_compile"
16621 case "(($ac_try" in
16622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16623 *) ac_try_echo=$ac_try;;
16624 esac
16625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16626 (eval "$ac_compile") 2>conftest.er1
16627 ac_status=$?
16628 grep -v '^ *+' conftest.er1 >conftest.err
16629 rm -f conftest.er1
16630 cat conftest.err >&5
16631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632 (exit $ac_status); } && {
16633 test -z "$ac_c_werror_flag" ||
16634 test ! -s conftest.err
16635 } && test -s conftest.$ac_objext; then
16636 ac_cv_prog_cc_g=yes
16637 else
16638 echo "$as_me: failed program was:" >&5
16639 sed 's/^/| /' conftest.$ac_ext >&5
16640
16641 CFLAGS=""
16642 cat >conftest.$ac_ext <<_ACEOF
16643 /* confdefs.h. */
16644 _ACEOF
16645 cat confdefs.h >>conftest.$ac_ext
16646 cat >>conftest.$ac_ext <<_ACEOF
16647 /* end confdefs.h. */
16648
16649 int
16650 main ()
16651 {
16652
16653 ;
16654 return 0;
16655 }
16656 _ACEOF
16657 rm -f conftest.$ac_objext
16658 if { (ac_try="$ac_compile"
16659 case "(($ac_try" in
16660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16661 *) ac_try_echo=$ac_try;;
16662 esac
16663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16664 (eval "$ac_compile") 2>conftest.er1
16665 ac_status=$?
16666 grep -v '^ *+' conftest.er1 >conftest.err
16667 rm -f conftest.er1
16668 cat conftest.err >&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } && {
16671 test -z "$ac_c_werror_flag" ||
16672 test ! -s conftest.err
16673 } && test -s conftest.$ac_objext; then
16674 :
16675 else
16676 echo "$as_me: failed program was:" >&5
16677 sed 's/^/| /' conftest.$ac_ext >&5
16678
16679 ac_c_werror_flag=$ac_save_c_werror_flag
16680 CFLAGS="-g"
16681 cat >conftest.$ac_ext <<_ACEOF
16682 /* confdefs.h. */
16683 _ACEOF
16684 cat confdefs.h >>conftest.$ac_ext
16685 cat >>conftest.$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687
16688 int
16689 main ()
16690 {
16691
16692 ;
16693 return 0;
16694 }
16695 _ACEOF
16696 rm -f conftest.$ac_objext
16697 if { (ac_try="$ac_compile"
16698 case "(($ac_try" in
16699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16700 *) ac_try_echo=$ac_try;;
16701 esac
16702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16703 (eval "$ac_compile") 2>conftest.er1
16704 ac_status=$?
16705 grep -v '^ *+' conftest.er1 >conftest.err
16706 rm -f conftest.er1
16707 cat conftest.err >&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); } && {
16710 test -z "$ac_c_werror_flag" ||
16711 test ! -s conftest.err
16712 } && test -s conftest.$ac_objext; then
16713 ac_cv_prog_cc_g=yes
16714 else
16715 echo "$as_me: failed program was:" >&5
16716 sed 's/^/| /' conftest.$ac_ext >&5
16717
16718
16719 fi
16720
16721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16722 fi
16723
16724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16725 fi
16726
16727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16728 ac_c_werror_flag=$ac_save_c_werror_flag
16729 fi
16730 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16731 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16732 if test "$ac_test_CFLAGS" = set; then
16733 CFLAGS=$ac_save_CFLAGS
16734 elif test $ac_cv_prog_cc_g = yes; then
16735 if test "$GCC" = yes; then
16736 CFLAGS="-g -O2"
16737 else
16738 CFLAGS="-g"
16739 fi
16740 else
16741 if test "$GCC" = yes; then
16742 CFLAGS="-O2"
16743 else
16744 CFLAGS=
16745 fi
16746 fi
16747 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
16748 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
16749 if test "${ac_cv_prog_cc_c89+set}" = set; then
16750 echo $ECHO_N "(cached) $ECHO_C" >&6
16751 else
16752 ac_cv_prog_cc_c89=no
16753 ac_save_CC=$CC
16754 cat >conftest.$ac_ext <<_ACEOF
16755 /* confdefs.h. */
16756 _ACEOF
16757 cat confdefs.h >>conftest.$ac_ext
16758 cat >>conftest.$ac_ext <<_ACEOF
16759 /* end confdefs.h. */
16760 #include <stdarg.h>
16761 #include <stdio.h>
16762 #include <sys/types.h>
16763 #include <sys/stat.h>
16764 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
16765 struct buf { int x; };
16766 FILE * (*rcsopen) (struct buf *, struct stat *, int);
16767 static char *e (p, i)
16768 char **p;
16769 int i;
16770 {
16771 return p[i];
16772 }
16773 static char *f (char * (*g) (char **, int), char **p, ...)
16774 {
16775 char *s;
16776 va_list v;
16777 va_start (v,p);
16778 s = g (p, va_arg (v,int));
16779 va_end (v);
16780 return s;
16781 }
16782
16783 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16784 function prototypes and stuff, but not '\xHH' hex character constants.
16785 These don't provoke an error unfortunately, instead are silently treated
16786 as 'x'. The following induces an error, until -std is added to get
16787 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16788 array size at least. It's necessary to write '\x00'==0 to get something
16789 that's true only with -std. */
16790 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16791
16792 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16793 inside strings and character constants. */
16794 #define FOO(x) 'x'
16795 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16796
16797 int test (int i, double x);
16798 struct s1 {int (*f) (int a);};
16799 struct s2 {int (*f) (double a);};
16800 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16801 int argc;
16802 char **argv;
16803 int
16804 main ()
16805 {
16806 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16807 ;
16808 return 0;
16809 }
16810 _ACEOF
16811 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16812 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16813 do
16814 CC="$ac_save_CC $ac_arg"
16815 rm -f conftest.$ac_objext
16816 if { (ac_try="$ac_compile"
16817 case "(($ac_try" in
16818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16820 esac
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_compile") 2>conftest.er1
16823 ac_status=$?
16824 grep -v '^ *+' conftest.er1 >conftest.err
16825 rm -f conftest.er1
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } && {
16829 test -z "$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16831 } && test -s conftest.$ac_objext; then
16832 ac_cv_prog_cc_c89=$ac_arg
16833 else
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16836
16837
16838 fi
16839
16840 rm -f core conftest.err conftest.$ac_objext
16841 test "x$ac_cv_prog_cc_c89" != "xno" && break
16842 done
16843 rm -f conftest.$ac_ext
16844 CC=$ac_save_CC
16845
16846 fi
16847 # AC_CACHE_VAL
16848 case "x$ac_cv_prog_cc_c89" in
16849 x)
16850 { echo "$as_me:$LINENO: result: none needed" >&5
16851 echo "${ECHO_T}none needed" >&6; } ;;
16852 xno)
16853 { echo "$as_me:$LINENO: result: unsupported" >&5
16854 echo "${ECHO_T}unsupported" >&6; } ;;
16855 *)
16856 CC="$CC $ac_cv_prog_cc_c89"
16857 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16858 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16859 esac
16860
16861
16862 ac_ext=c
16863 ac_cpp='$CPP $CPPFLAGS'
16864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16867
16868
16869
16870
16871 ac_ext=c
16872 ac_cpp='$CPP $CPPFLAGS'
16873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16876
16877 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16878 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16879 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16880 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 else
16882 cat >conftest.$ac_ext <<_ACEOF
16883 /* confdefs.h. */
16884 _ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888
16889 int
16890 main ()
16891 {
16892
16893 #ifndef __INTEL_COMPILER
16894 choke me
16895 #endif
16896
16897 ;
16898 return 0;
16899 }
16900 _ACEOF
16901 rm -f conftest.$ac_objext
16902 if { (ac_try="$ac_compile"
16903 case "(($ac_try" in
16904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16905 *) ac_try_echo=$ac_try;;
16906 esac
16907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16908 (eval "$ac_compile") 2>conftest.er1
16909 ac_status=$?
16910 grep -v '^ *+' conftest.er1 >conftest.err
16911 rm -f conftest.er1
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } && {
16915 test -z "$ac_c_werror_flag" ||
16916 test ! -s conftest.err
16917 } && test -s conftest.$ac_objext; then
16918 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16919 else
16920 echo "$as_me: failed program was:" >&5
16921 sed 's/^/| /' conftest.$ac_ext >&5
16922
16923 bakefile_cv_c_compiler___INTEL_COMPILER=no
16924
16925 fi
16926
16927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16928
16929
16930 fi
16931 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16932 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16933 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16934 :; INTELCC=yes
16935 else
16936 :;
16937 fi
16938 ac_ext=c
16939 ac_cpp='$CPP $CPPFLAGS'
16940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16943
16944
16945
16946
16947 if test "x$GCC" != "xyes"; then
16948 if test "xCC" = "xC"; then
16949 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16950 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16951 if test "${bakefile_cv_c_exto+set}" = set; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16953 else
16954 cat >conftest.$ac_ext <<_ACEOF
16955 /* confdefs.h. */
16956 _ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960
16961 int
16962 main ()
16963 {
16964
16965 ;
16966 return 0;
16967 }
16968 _ACEOF
16969 rm -f conftest.$ac_objext conftest.$ac_ext.o
16970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16971 (eval $ac_compile) 2>&5
16972 ac_status=$?
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); }; then
16975 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16976 case $ac_file in
16977 conftest.$ac_ext.o)
16978 bakefile_cv_c_exto="-ext o"
16979 ;;
16980 *)
16981 ;;
16982 esac
16983 done
16984 else
16985 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16986 See \`config.log' for more details." >&5
16987 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16988 See \`config.log' for more details." >&2;}
16989 { (exit 1); exit 1; }; }
16990
16991 fi
16992
16993 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16994
16995 fi
16996 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16997 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16998 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16999 if test "c" = "c"; then
17000 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
17001 fi
17002 if test "c" = "cxx"; then
17003 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
17004 fi
17005 fi
17006
17007 if test "x$bakefile_cv_c_exto" '!=' "x"; then
17008 unset ac_cv_prog_cc_g
17009 ac_test_CFLAGS=${CFLAGS+set}
17010 ac_save_CFLAGS=$CFLAGS
17011 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
17012 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
17013 if test "${ac_cv_prog_cc_g+set}" = set; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17015 else
17016 ac_save_c_werror_flag=$ac_c_werror_flag
17017 ac_c_werror_flag=yes
17018 ac_cv_prog_cc_g=no
17019 CFLAGS="-g"
17020 cat >conftest.$ac_ext <<_ACEOF
17021 /* confdefs.h. */
17022 _ACEOF
17023 cat confdefs.h >>conftest.$ac_ext
17024 cat >>conftest.$ac_ext <<_ACEOF
17025 /* end confdefs.h. */
17026
17027 int
17028 main ()
17029 {
17030
17031 ;
17032 return 0;
17033 }
17034 _ACEOF
17035 rm -f conftest.$ac_objext
17036 if { (ac_try="$ac_compile"
17037 case "(($ac_try" in
17038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17039 *) ac_try_echo=$ac_try;;
17040 esac
17041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17042 (eval "$ac_compile") 2>conftest.er1
17043 ac_status=$?
17044 grep -v '^ *+' conftest.er1 >conftest.err
17045 rm -f conftest.er1
17046 cat conftest.err >&5
17047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17048 (exit $ac_status); } && {
17049 test -z "$ac_c_werror_flag" ||
17050 test ! -s conftest.err
17051 } && test -s conftest.$ac_objext; then
17052 ac_cv_prog_cc_g=yes
17053 else
17054 echo "$as_me: failed program was:" >&5
17055 sed 's/^/| /' conftest.$ac_ext >&5
17056
17057 CFLAGS=""
17058 cat >conftest.$ac_ext <<_ACEOF
17059 /* confdefs.h. */
17060 _ACEOF
17061 cat confdefs.h >>conftest.$ac_ext
17062 cat >>conftest.$ac_ext <<_ACEOF
17063 /* end confdefs.h. */
17064
17065 int
17066 main ()
17067 {
17068
17069 ;
17070 return 0;
17071 }
17072 _ACEOF
17073 rm -f conftest.$ac_objext
17074 if { (ac_try="$ac_compile"
17075 case "(($ac_try" in
17076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17077 *) ac_try_echo=$ac_try;;
17078 esac
17079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17080 (eval "$ac_compile") 2>conftest.er1
17081 ac_status=$?
17082 grep -v '^ *+' conftest.er1 >conftest.err
17083 rm -f conftest.er1
17084 cat conftest.err >&5
17085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17086 (exit $ac_status); } && {
17087 test -z "$ac_c_werror_flag" ||
17088 test ! -s conftest.err
17089 } && test -s conftest.$ac_objext; then
17090 :
17091 else
17092 echo "$as_me: failed program was:" >&5
17093 sed 's/^/| /' conftest.$ac_ext >&5
17094
17095 ac_c_werror_flag=$ac_save_c_werror_flag
17096 CFLAGS="-g"
17097 cat >conftest.$ac_ext <<_ACEOF
17098 /* confdefs.h. */
17099 _ACEOF
17100 cat confdefs.h >>conftest.$ac_ext
17101 cat >>conftest.$ac_ext <<_ACEOF
17102 /* end confdefs.h. */
17103
17104 int
17105 main ()
17106 {
17107
17108 ;
17109 return 0;
17110 }
17111 _ACEOF
17112 rm -f conftest.$ac_objext
17113 if { (ac_try="$ac_compile"
17114 case "(($ac_try" in
17115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17116 *) ac_try_echo=$ac_try;;
17117 esac
17118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17119 (eval "$ac_compile") 2>conftest.er1
17120 ac_status=$?
17121 grep -v '^ *+' conftest.er1 >conftest.err
17122 rm -f conftest.er1
17123 cat conftest.err >&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } && {
17126 test -z "$ac_c_werror_flag" ||
17127 test ! -s conftest.err
17128 } && test -s conftest.$ac_objext; then
17129 ac_cv_prog_cc_g=yes
17130 else
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17133
17134
17135 fi
17136
17137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17138 fi
17139
17140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141 fi
17142
17143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 ac_c_werror_flag=$ac_save_c_werror_flag
17145 fi
17146 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
17147 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
17148 if test "$ac_test_CFLAGS" = set; then
17149 CFLAGS=$ac_save_CFLAGS
17150 elif test $ac_cv_prog_cc_g = yes; then
17151 if test "$GCC" = yes; then
17152 CFLAGS="-g -O2"
17153 else
17154 CFLAGS="-g"
17155 fi
17156 else
17157 if test "$GCC" = yes; then
17158 CFLAGS="-O2"
17159 else
17160 CFLAGS=
17161 fi
17162 fi
17163 fi
17164 fi
17165
17166 case `uname -s` in
17167 AIX*)
17168
17169
17170 ac_ext=c
17171 ac_cpp='$CPP $CPPFLAGS'
17172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17175
17176 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17177 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17178 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17179 echo $ECHO_N "(cached) $ECHO_C" >&6
17180 else
17181 cat >conftest.$ac_ext <<_ACEOF
17182 /* confdefs.h. */
17183 _ACEOF
17184 cat confdefs.h >>conftest.$ac_ext
17185 cat >>conftest.$ac_ext <<_ACEOF
17186 /* end confdefs.h. */
17187
17188 int
17189 main ()
17190 {
17191
17192 #ifndef __xlC__
17193 choke me
17194 #endif
17195
17196 ;
17197 return 0;
17198 }
17199 _ACEOF
17200 rm -f conftest.$ac_objext
17201 if { (ac_try="$ac_compile"
17202 case "(($ac_try" in
17203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17204 *) ac_try_echo=$ac_try;;
17205 esac
17206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17207 (eval "$ac_compile") 2>conftest.er1
17208 ac_status=$?
17209 grep -v '^ *+' conftest.er1 >conftest.err
17210 rm -f conftest.er1
17211 cat conftest.err >&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } && {
17214 test -z "$ac_c_werror_flag" ||
17215 test ! -s conftest.err
17216 } && test -s conftest.$ac_objext; then
17217 bakefile_cv_c_compiler___xlC__=yes
17218 else
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17221
17222 bakefile_cv_c_compiler___xlC__=no
17223
17224 fi
17225
17226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17227
17228
17229 fi
17230 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17231 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17232 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17233 :; XLCC=yes
17234 else
17235 :;
17236 fi
17237 ac_ext=c
17238 ac_cpp='$CPP $CPPFLAGS'
17239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17242
17243
17244
17245 ;;
17246
17247 Darwin)
17248
17249
17250 ac_ext=c
17251 ac_cpp='$CPP $CPPFLAGS'
17252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17255
17256 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
17257 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
17258 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17260 else
17261 cat >conftest.$ac_ext <<_ACEOF
17262 /* confdefs.h. */
17263 _ACEOF
17264 cat confdefs.h >>conftest.$ac_ext
17265 cat >>conftest.$ac_ext <<_ACEOF
17266 /* end confdefs.h. */
17267
17268 int
17269 main ()
17270 {
17271
17272 #ifndef __MWERKS__
17273 choke me
17274 #endif
17275
17276 ;
17277 return 0;
17278 }
17279 _ACEOF
17280 rm -f conftest.$ac_objext
17281 if { (ac_try="$ac_compile"
17282 case "(($ac_try" in
17283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17284 *) ac_try_echo=$ac_try;;
17285 esac
17286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17287 (eval "$ac_compile") 2>conftest.er1
17288 ac_status=$?
17289 grep -v '^ *+' conftest.er1 >conftest.err
17290 rm -f conftest.er1
17291 cat conftest.err >&5
17292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17293 (exit $ac_status); } && {
17294 test -z "$ac_c_werror_flag" ||
17295 test ! -s conftest.err
17296 } && test -s conftest.$ac_objext; then
17297 bakefile_cv_c_compiler___MWERKS__=yes
17298 else
17299 echo "$as_me: failed program was:" >&5
17300 sed 's/^/| /' conftest.$ac_ext >&5
17301
17302 bakefile_cv_c_compiler___MWERKS__=no
17303
17304 fi
17305
17306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17307
17308
17309 fi
17310 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
17311 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
17312 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
17313 :; MWCC=yes
17314 else
17315 :;
17316 fi
17317 ac_ext=c
17318 ac_cpp='$CPP $CPPFLAGS'
17319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17322
17323
17324
17325
17326
17327 ac_ext=c
17328 ac_cpp='$CPP $CPPFLAGS'
17329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17332
17333 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
17334 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
17335 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 else
17338 cat >conftest.$ac_ext <<_ACEOF
17339 /* confdefs.h. */
17340 _ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344
17345 int
17346 main ()
17347 {
17348
17349 #ifndef __xlC__
17350 choke me
17351 #endif
17352
17353 ;
17354 return 0;
17355 }
17356 _ACEOF
17357 rm -f conftest.$ac_objext
17358 if { (ac_try="$ac_compile"
17359 case "(($ac_try" in
17360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17361 *) ac_try_echo=$ac_try;;
17362 esac
17363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17364 (eval "$ac_compile") 2>conftest.er1
17365 ac_status=$?
17366 grep -v '^ *+' conftest.er1 >conftest.err
17367 rm -f conftest.er1
17368 cat conftest.err >&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); } && {
17371 test -z "$ac_c_werror_flag" ||
17372 test ! -s conftest.err
17373 } && test -s conftest.$ac_objext; then
17374 bakefile_cv_c_compiler___xlC__=yes
17375 else
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.$ac_ext >&5
17378
17379 bakefile_cv_c_compiler___xlC__=no
17380
17381 fi
17382
17383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17384
17385
17386 fi
17387 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
17388 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
17389 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
17390 :; XLCC=yes
17391 else
17392 :;
17393 fi
17394 ac_ext=c
17395 ac_cpp='$CPP $CPPFLAGS'
17396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17399
17400
17401
17402 ;;
17403
17404 IRIX*)
17405
17406
17407 ac_ext=c
17408 ac_cpp='$CPP $CPPFLAGS'
17409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17412
17413 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
17414 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
17415 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
17416 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 else
17418 cat >conftest.$ac_ext <<_ACEOF
17419 /* confdefs.h. */
17420 _ACEOF
17421 cat confdefs.h >>conftest.$ac_ext
17422 cat >>conftest.$ac_ext <<_ACEOF
17423 /* end confdefs.h. */
17424
17425 int
17426 main ()
17427 {
17428
17429 #ifndef _SGI_COMPILER_VERSION
17430 choke me
17431 #endif
17432
17433 ;
17434 return 0;
17435 }
17436 _ACEOF
17437 rm -f conftest.$ac_objext
17438 if { (ac_try="$ac_compile"
17439 case "(($ac_try" in
17440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17441 *) ac_try_echo=$ac_try;;
17442 esac
17443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17444 (eval "$ac_compile") 2>conftest.er1
17445 ac_status=$?
17446 grep -v '^ *+' conftest.er1 >conftest.err
17447 rm -f conftest.er1
17448 cat conftest.err >&5
17449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17450 (exit $ac_status); } && {
17451 test -z "$ac_c_werror_flag" ||
17452 test ! -s conftest.err
17453 } && test -s conftest.$ac_objext; then
17454 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
17455 else
17456 echo "$as_me: failed program was:" >&5
17457 sed 's/^/| /' conftest.$ac_ext >&5
17458
17459 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
17460
17461 fi
17462
17463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464
17465
17466 fi
17467 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
17468 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
17469 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17470 :; SGICC=yes
17471 else
17472 :;
17473 fi
17474 ac_ext=c
17475 ac_cpp='$CPP $CPPFLAGS'
17476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17479
17480
17481
17482 ;;
17483
17484 Linux*)
17485
17486
17487 ac_ext=c
17488 ac_cpp='$CPP $CPPFLAGS'
17489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492
17493 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17494 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17495 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17498 cat >conftest.$ac_ext <<_ACEOF
17499 /* confdefs.h. */
17500 _ACEOF
17501 cat confdefs.h >>conftest.$ac_ext
17502 cat >>conftest.$ac_ext <<_ACEOF
17503 /* end confdefs.h. */
17504
17505 int
17506 main ()
17507 {
17508
17509 #ifndef __SUNPRO_C
17510 choke me
17511 #endif
17512
17513 ;
17514 return 0;
17515 }
17516 _ACEOF
17517 rm -f conftest.$ac_objext
17518 if { (ac_try="$ac_compile"
17519 case "(($ac_try" in
17520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17521 *) ac_try_echo=$ac_try;;
17522 esac
17523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17524 (eval "$ac_compile") 2>conftest.er1
17525 ac_status=$?
17526 grep -v '^ *+' conftest.er1 >conftest.err
17527 rm -f conftest.er1
17528 cat conftest.err >&5
17529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530 (exit $ac_status); } && {
17531 test -z "$ac_c_werror_flag" ||
17532 test ! -s conftest.err
17533 } && test -s conftest.$ac_objext; then
17534 bakefile_cv_c_compiler___SUNPRO_C=yes
17535 else
17536 echo "$as_me: failed program was:" >&5
17537 sed 's/^/| /' conftest.$ac_ext >&5
17538
17539 bakefile_cv_c_compiler___SUNPRO_C=no
17540
17541 fi
17542
17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17544
17545
17546 fi
17547 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17548 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17549 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17550 :; SUNCC=yes
17551 else
17552 :;
17553 fi
17554 ac_ext=c
17555 ac_cpp='$CPP $CPPFLAGS'
17556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17559
17560
17561
17562 ;;
17563
17564 HP-UX*)
17565
17566
17567 ac_ext=c
17568 ac_cpp='$CPP $CPPFLAGS'
17569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17572
17573 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
17574 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
17575 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17577 else
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584
17585 int
17586 main ()
17587 {
17588
17589 #ifndef __HP_cc
17590 choke me
17591 #endif
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext
17598 if { (ac_try="$ac_compile"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17601 *) ac_try_echo=$ac_try;;
17602 esac
17603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_compile") 2>conftest.er1
17605 ac_status=$?
17606 grep -v '^ *+' conftest.er1 >conftest.err
17607 rm -f conftest.er1
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest.$ac_objext; then
17614 bakefile_cv_c_compiler___HP_cc=yes
17615 else
17616 echo "$as_me: failed program was:" >&5
17617 sed 's/^/| /' conftest.$ac_ext >&5
17618
17619 bakefile_cv_c_compiler___HP_cc=no
17620
17621 fi
17622
17623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624
17625
17626 fi
17627 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17628 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17629 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17630 :; HPCC=yes
17631 else
17632 :;
17633 fi
17634 ac_ext=c
17635 ac_cpp='$CPP $CPPFLAGS'
17636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17639
17640
17641
17642 ;;
17643
17644 OSF1)
17645
17646
17647 ac_ext=c
17648 ac_cpp='$CPP $CPPFLAGS'
17649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17652
17653 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17654 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17655 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17657 else
17658 cat >conftest.$ac_ext <<_ACEOF
17659 /* confdefs.h. */
17660 _ACEOF
17661 cat confdefs.h >>conftest.$ac_ext
17662 cat >>conftest.$ac_ext <<_ACEOF
17663 /* end confdefs.h. */
17664
17665 int
17666 main ()
17667 {
17668
17669 #ifndef __DECC
17670 choke me
17671 #endif
17672
17673 ;
17674 return 0;
17675 }
17676 _ACEOF
17677 rm -f conftest.$ac_objext
17678 if { (ac_try="$ac_compile"
17679 case "(($ac_try" in
17680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17681 *) ac_try_echo=$ac_try;;
17682 esac
17683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17684 (eval "$ac_compile") 2>conftest.er1
17685 ac_status=$?
17686 grep -v '^ *+' conftest.er1 >conftest.err
17687 rm -f conftest.er1
17688 cat conftest.err >&5
17689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17690 (exit $ac_status); } && {
17691 test -z "$ac_c_werror_flag" ||
17692 test ! -s conftest.err
17693 } && test -s conftest.$ac_objext; then
17694 bakefile_cv_c_compiler___DECC=yes
17695 else
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17698
17699 bakefile_cv_c_compiler___DECC=no
17700
17701 fi
17702
17703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17704
17705
17706 fi
17707 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17708 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17709 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17710 :; COMPAQCC=yes
17711 else
17712 :;
17713 fi
17714 ac_ext=c
17715 ac_cpp='$CPP $CPPFLAGS'
17716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17719
17720
17721
17722 ;;
17723
17724 SunOS)
17725
17726
17727 ac_ext=c
17728 ac_cpp='$CPP $CPPFLAGS'
17729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17732
17733 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17734 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17735 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17736 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 else
17738 cat >conftest.$ac_ext <<_ACEOF
17739 /* confdefs.h. */
17740 _ACEOF
17741 cat confdefs.h >>conftest.$ac_ext
17742 cat >>conftest.$ac_ext <<_ACEOF
17743 /* end confdefs.h. */
17744
17745 int
17746 main ()
17747 {
17748
17749 #ifndef __SUNPRO_C
17750 choke me
17751 #endif
17752
17753 ;
17754 return 0;
17755 }
17756 _ACEOF
17757 rm -f conftest.$ac_objext
17758 if { (ac_try="$ac_compile"
17759 case "(($ac_try" in
17760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17761 *) ac_try_echo=$ac_try;;
17762 esac
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_compile") 2>conftest.er1
17765 ac_status=$?
17766 grep -v '^ *+' conftest.er1 >conftest.err
17767 rm -f conftest.er1
17768 cat conftest.err >&5
17769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17770 (exit $ac_status); } && {
17771 test -z "$ac_c_werror_flag" ||
17772 test ! -s conftest.err
17773 } && test -s conftest.$ac_objext; then
17774 bakefile_cv_c_compiler___SUNPRO_C=yes
17775 else
17776 echo "$as_me: failed program was:" >&5
17777 sed 's/^/| /' conftest.$ac_ext >&5
17778
17779 bakefile_cv_c_compiler___SUNPRO_C=no
17780
17781 fi
17782
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784
17785
17786 fi
17787 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17788 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17789 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17790 :; SUNCC=yes
17791 else
17792 :;
17793 fi
17794 ac_ext=c
17795 ac_cpp='$CPP $CPPFLAGS'
17796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17799
17800
17801
17802 ;;
17803 esac
17804 fi
17805
17806
17807
17808 ac_ext=c
17809 ac_cpp='$CPP $CPPFLAGS'
17810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17813 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17814 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17815 # On Suns, sometimes $CPP names a directory.
17816 if test -n "$CPP" && test -d "$CPP"; then
17817 CPP=
17818 fi
17819 if test -z "$CPP"; then
17820 if test "${ac_cv_prog_CPP+set}" = set; then
17821 echo $ECHO_N "(cached) $ECHO_C" >&6
17822 else
17823 # Double quotes because CPP needs to be expanded
17824 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17825 do
17826 ac_preproc_ok=false
17827 for ac_c_preproc_warn_flag in '' yes
17828 do
17829 # Use a header file that comes with gcc, so configuring glibc
17830 # with a fresh cross-compiler works.
17831 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17832 # <limits.h> exists even on freestanding compilers.
17833 # On the NeXT, cc -E runs the code through the compiler's parser,
17834 # not just through cpp. "Syntax error" is here to catch this case.
17835 cat >conftest.$ac_ext <<_ACEOF
17836 /* confdefs.h. */
17837 _ACEOF
17838 cat confdefs.h >>conftest.$ac_ext
17839 cat >>conftest.$ac_ext <<_ACEOF
17840 /* end confdefs.h. */
17841 #ifdef __STDC__
17842 # include <limits.h>
17843 #else
17844 # include <assert.h>
17845 #endif
17846 Syntax error
17847 _ACEOF
17848 if { (ac_try="$ac_cpp conftest.$ac_ext"
17849 case "(($ac_try" in
17850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17851 *) ac_try_echo=$ac_try;;
17852 esac
17853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17854 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17855 ac_status=$?
17856 grep -v '^ *+' conftest.er1 >conftest.err
17857 rm -f conftest.er1
17858 cat conftest.err >&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } >/dev/null && {
17861 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17862 test ! -s conftest.err
17863 }; then
17864 :
17865 else
17866 echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17868
17869 # Broken: fails on valid input.
17870 continue
17871 fi
17872
17873 rm -f conftest.err conftest.$ac_ext
17874
17875 # OK, works on sane cases. Now check whether nonexistent headers
17876 # can be detected and how.
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 #include <ac_nonexistent.h>
17884 _ACEOF
17885 if { (ac_try="$ac_cpp conftest.$ac_ext"
17886 case "(($ac_try" in
17887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17888 *) ac_try_echo=$ac_try;;
17889 esac
17890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17891 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17892 ac_status=$?
17893 grep -v '^ *+' conftest.er1 >conftest.err
17894 rm -f conftest.er1
17895 cat conftest.err >&5
17896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17897 (exit $ac_status); } >/dev/null && {
17898 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17899 test ! -s conftest.err
17900 }; then
17901 # Broken: success on invalid input.
17902 continue
17903 else
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17906
17907 # Passes both tests.
17908 ac_preproc_ok=:
17909 break
17910 fi
17911
17912 rm -f conftest.err conftest.$ac_ext
17913
17914 done
17915 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17916 rm -f conftest.err conftest.$ac_ext
17917 if $ac_preproc_ok; then
17918 break
17919 fi
17920
17921 done
17922 ac_cv_prog_CPP=$CPP
17923
17924 fi
17925 CPP=$ac_cv_prog_CPP
17926 else
17927 ac_cv_prog_CPP=$CPP
17928 fi
17929 { echo "$as_me:$LINENO: result: $CPP" >&5
17930 echo "${ECHO_T}$CPP" >&6; }
17931 ac_preproc_ok=false
17932 for ac_c_preproc_warn_flag in '' yes
17933 do
17934 # Use a header file that comes with gcc, so configuring glibc
17935 # with a fresh cross-compiler works.
17936 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17937 # <limits.h> exists even on freestanding compilers.
17938 # On the NeXT, cc -E runs the code through the compiler's parser,
17939 # not just through cpp. "Syntax error" is here to catch this case.
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h. */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 #ifdef __STDC__
17947 # include <limits.h>
17948 #else
17949 # include <assert.h>
17950 #endif
17951 Syntax error
17952 _ACEOF
17953 if { (ac_try="$ac_cpp conftest.$ac_ext"
17954 case "(($ac_try" in
17955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17956 *) ac_try_echo=$ac_try;;
17957 esac
17958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17960 ac_status=$?
17961 grep -v '^ *+' conftest.er1 >conftest.err
17962 rm -f conftest.er1
17963 cat conftest.err >&5
17964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17965 (exit $ac_status); } >/dev/null && {
17966 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17967 test ! -s conftest.err
17968 }; then
17969 :
17970 else
17971 echo "$as_me: failed program was:" >&5
17972 sed 's/^/| /' conftest.$ac_ext >&5
17973
17974 # Broken: fails on valid input.
17975 continue
17976 fi
17977
17978 rm -f conftest.err conftest.$ac_ext
17979
17980 # OK, works on sane cases. Now check whether nonexistent headers
17981 # can be detected and how.
17982 cat >conftest.$ac_ext <<_ACEOF
17983 /* confdefs.h. */
17984 _ACEOF
17985 cat confdefs.h >>conftest.$ac_ext
17986 cat >>conftest.$ac_ext <<_ACEOF
17987 /* end confdefs.h. */
17988 #include <ac_nonexistent.h>
17989 _ACEOF
17990 if { (ac_try="$ac_cpp conftest.$ac_ext"
17991 case "(($ac_try" in
17992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17993 *) ac_try_echo=$ac_try;;
17994 esac
17995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17996 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17997 ac_status=$?
17998 grep -v '^ *+' conftest.er1 >conftest.err
17999 rm -f conftest.er1
18000 cat conftest.err >&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } >/dev/null && {
18003 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18004 test ! -s conftest.err
18005 }; then
18006 # Broken: success on invalid input.
18007 continue
18008 else
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18011
18012 # Passes both tests.
18013 ac_preproc_ok=:
18014 break
18015 fi
18016
18017 rm -f conftest.err conftest.$ac_ext
18018
18019 done
18020 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18021 rm -f conftest.err conftest.$ac_ext
18022 if $ac_preproc_ok; then
18023 :
18024 else
18025 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
18026 See \`config.log' for more details." >&5
18027 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
18028 See \`config.log' for more details." >&2;}
18029 { (exit 1); exit 1; }; }
18030 fi
18031
18032 ac_ext=c
18033 ac_cpp='$CPP $CPPFLAGS'
18034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18037
18038
18039 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
18040 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
18041 if test "${ac_cv_path_GREP+set}" = set; then
18042 echo $ECHO_N "(cached) $ECHO_C" >&6
18043 else
18044 # Extract the first word of "grep ggrep" to use in msg output
18045 if test -z "$GREP"; then
18046 set dummy grep ggrep; ac_prog_name=$2
18047 if test "${ac_cv_path_GREP+set}" = set; then
18048 echo $ECHO_N "(cached) $ECHO_C" >&6
18049 else
18050 ac_path_GREP_found=false
18051 # Loop through the user's path and test for each of PROGNAME-LIST
18052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18053 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18054 do
18055 IFS=$as_save_IFS
18056 test -z "$as_dir" && as_dir=.
18057 for ac_prog in grep ggrep; do
18058 for ac_exec_ext in '' $ac_executable_extensions; do
18059 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
18060 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
18061 # Check for GNU ac_path_GREP and select it if it is found.
18062 # Check for GNU $ac_path_GREP
18063 case `"$ac_path_GREP" --version 2>&1` in
18064 *GNU*)
18065 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
18066 *)
18067 ac_count=0
18068 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18069 while :
18070 do
18071 cat "conftest.in" "conftest.in" >"conftest.tmp"
18072 mv "conftest.tmp" "conftest.in"
18073 cp "conftest.in" "conftest.nl"
18074 echo 'GREP' >> "conftest.nl"
18075 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18076 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18077 ac_count=`expr $ac_count + 1`
18078 if test $ac_count -gt ${ac_path_GREP_max-0}; then
18079 # Best one so far, save it but keep looking for a better one
18080 ac_cv_path_GREP="$ac_path_GREP"
18081 ac_path_GREP_max=$ac_count
18082 fi
18083 # 10*(2^10) chars as input seems more than enough
18084 test $ac_count -gt 10 && break
18085 done
18086 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18087 esac
18088
18089
18090 $ac_path_GREP_found && break 3
18091 done
18092 done
18093
18094 done
18095 IFS=$as_save_IFS
18096
18097
18098 fi
18099
18100 GREP="$ac_cv_path_GREP"
18101 if test -z "$GREP"; then
18102 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18103 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18104 { (exit 1); exit 1; }; }
18105 fi
18106
18107 else
18108 ac_cv_path_GREP=$GREP
18109 fi
18110
18111
18112 fi
18113 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
18114 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
18115 GREP="$ac_cv_path_GREP"
18116
18117
18118 { echo "$as_me:$LINENO: checking for egrep" >&5
18119 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
18120 if test "${ac_cv_path_EGREP+set}" = set; then
18121 echo $ECHO_N "(cached) $ECHO_C" >&6
18122 else
18123 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
18124 then ac_cv_path_EGREP="$GREP -E"
18125 else
18126 # Extract the first word of "egrep" to use in msg output
18127 if test -z "$EGREP"; then
18128 set dummy egrep; ac_prog_name=$2
18129 if test "${ac_cv_path_EGREP+set}" = set; then
18130 echo $ECHO_N "(cached) $ECHO_C" >&6
18131 else
18132 ac_path_EGREP_found=false
18133 # Loop through the user's path and test for each of PROGNAME-LIST
18134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18135 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
18136 do
18137 IFS=$as_save_IFS
18138 test -z "$as_dir" && as_dir=.
18139 for ac_prog in egrep; do
18140 for ac_exec_ext in '' $ac_executable_extensions; do
18141 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
18142 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
18143 # Check for GNU ac_path_EGREP and select it if it is found.
18144 # Check for GNU $ac_path_EGREP
18145 case `"$ac_path_EGREP" --version 2>&1` in
18146 *GNU*)
18147 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
18148 *)
18149 ac_count=0
18150 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
18151 while :
18152 do
18153 cat "conftest.in" "conftest.in" >"conftest.tmp"
18154 mv "conftest.tmp" "conftest.in"
18155 cp "conftest.in" "conftest.nl"
18156 echo 'EGREP' >> "conftest.nl"
18157 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
18158 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
18159 ac_count=`expr $ac_count + 1`
18160 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
18161 # Best one so far, save it but keep looking for a better one
18162 ac_cv_path_EGREP="$ac_path_EGREP"
18163 ac_path_EGREP_max=$ac_count
18164 fi
18165 # 10*(2^10) chars as input seems more than enough
18166 test $ac_count -gt 10 && break
18167 done
18168 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
18169 esac
18170
18171
18172 $ac_path_EGREP_found && break 3
18173 done
18174 done
18175
18176 done
18177 IFS=$as_save_IFS
18178
18179
18180 fi
18181
18182 EGREP="$ac_cv_path_EGREP"
18183 if test -z "$EGREP"; then
18184 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
18185 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
18186 { (exit 1); exit 1; }; }
18187 fi
18188
18189 else
18190 ac_cv_path_EGREP=$EGREP
18191 fi
18192
18193
18194 fi
18195 fi
18196 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
18197 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
18198 EGREP="$ac_cv_path_EGREP"
18199
18200
18201 if test $ac_cv_c_compiler_gnu = yes; then
18202 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
18203 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
18204 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
18205 echo $ECHO_N "(cached) $ECHO_C" >&6
18206 else
18207 ac_pattern="Autoconf.*'x'"
18208 cat >conftest.$ac_ext <<_ACEOF
18209 /* confdefs.h. */
18210 _ACEOF
18211 cat confdefs.h >>conftest.$ac_ext
18212 cat >>conftest.$ac_ext <<_ACEOF
18213 /* end confdefs.h. */
18214 #include <sgtty.h>
18215 Autoconf TIOCGETP
18216 _ACEOF
18217 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18218 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18219 ac_cv_prog_gcc_traditional=yes
18220 else
18221 ac_cv_prog_gcc_traditional=no
18222 fi
18223 rm -f conftest*
18224
18225
18226 if test $ac_cv_prog_gcc_traditional = no; then
18227 cat >conftest.$ac_ext <<_ACEOF
18228 /* confdefs.h. */
18229 _ACEOF
18230 cat confdefs.h >>conftest.$ac_ext
18231 cat >>conftest.$ac_ext <<_ACEOF
18232 /* end confdefs.h. */
18233 #include <termio.h>
18234 Autoconf TCGETA
18235 _ACEOF
18236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18237 $EGREP "$ac_pattern" >/dev/null 2>&1; then
18238 ac_cv_prog_gcc_traditional=yes
18239 fi
18240 rm -f conftest*
18241
18242 fi
18243 fi
18244 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
18245 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
18246 if test $ac_cv_prog_gcc_traditional = yes; then
18247 CC="$CC -traditional"
18248 fi
18249 fi
18250
18251
18252 CXXFLAGS=${CXXFLAGS:=}
18253
18254
18255
18256 ac_ext=cpp
18257 ac_cpp='$CXXCPP $CPPFLAGS'
18258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18261 if test -z "$CXX"; then
18262 if test -n "$CCC"; then
18263 CXX=$CCC
18264 else
18265 if test -n "$ac_tool_prefix"; then
18266 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18267 do
18268 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18269 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
18270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18272 if test "${ac_cv_prog_CXX+set}" = set; then
18273 echo $ECHO_N "(cached) $ECHO_C" >&6
18274 else
18275 if test -n "$CXX"; then
18276 ac_cv_prog_CXX="$CXX" # Let the user override the test.
18277 else
18278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18279 for as_dir in $PATH
18280 do
18281 IFS=$as_save_IFS
18282 test -z "$as_dir" && as_dir=.
18283 for ac_exec_ext in '' $ac_executable_extensions; do
18284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18285 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
18286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18287 break 2
18288 fi
18289 done
18290 done
18291 IFS=$as_save_IFS
18292
18293 fi
18294 fi
18295 CXX=$ac_cv_prog_CXX
18296 if test -n "$CXX"; then
18297 { echo "$as_me:$LINENO: result: $CXX" >&5
18298 echo "${ECHO_T}$CXX" >&6; }
18299 else
18300 { echo "$as_me:$LINENO: result: no" >&5
18301 echo "${ECHO_T}no" >&6; }
18302 fi
18303
18304
18305 test -n "$CXX" && break
18306 done
18307 fi
18308 if test -z "$CXX"; then
18309 ac_ct_CXX=$CXX
18310 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
18311 do
18312 # Extract the first word of "$ac_prog", so it can be a program name with args.
18313 set dummy $ac_prog; ac_word=$2
18314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
18315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
18316 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
18317 echo $ECHO_N "(cached) $ECHO_C" >&6
18318 else
18319 if test -n "$ac_ct_CXX"; then
18320 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
18321 else
18322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18323 for as_dir in $PATH
18324 do
18325 IFS=$as_save_IFS
18326 test -z "$as_dir" && as_dir=.
18327 for ac_exec_ext in '' $ac_executable_extensions; do
18328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
18329 ac_cv_prog_ac_ct_CXX="$ac_prog"
18330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18331 break 2
18332 fi
18333 done
18334 done
18335 IFS=$as_save_IFS
18336
18337 fi
18338 fi
18339 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
18340 if test -n "$ac_ct_CXX"; then
18341 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
18342 echo "${ECHO_T}$ac_ct_CXX" >&6; }
18343 else
18344 { echo "$as_me:$LINENO: result: no" >&5
18345 echo "${ECHO_T}no" >&6; }
18346 fi
18347
18348
18349 test -n "$ac_ct_CXX" && break
18350 done
18351
18352 if test "x$ac_ct_CXX" = x; then
18353 CXX="g++"
18354 else
18355 case $cross_compiling:$ac_tool_warned in
18356 yes:)
18357 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
18358 whose name does not start with the host triplet. If you think this
18359 configuration is useful to you, please write to autoconf@gnu.org." >&5
18360 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
18361 whose name does not start with the host triplet. If you think this
18362 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
18363 ac_tool_warned=yes ;;
18364 esac
18365 CXX=$ac_ct_CXX
18366 fi
18367 fi
18368
18369 fi
18370 fi
18371 # Provide some information about the compiler.
18372 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
18373 ac_compiler=`set X $ac_compile; echo $2`
18374 { (ac_try="$ac_compiler --version >&5"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compiler --version >&5") 2>&5
18381 ac_status=$?
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); }
18384 { (ac_try="$ac_compiler -v >&5"
18385 case "(($ac_try" in
18386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18387 *) ac_try_echo=$ac_try;;
18388 esac
18389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18390 (eval "$ac_compiler -v >&5") 2>&5
18391 ac_status=$?
18392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18393 (exit $ac_status); }
18394 { (ac_try="$ac_compiler -V >&5"
18395 case "(($ac_try" in
18396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18397 *) ac_try_echo=$ac_try;;
18398 esac
18399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18400 (eval "$ac_compiler -V >&5") 2>&5
18401 ac_status=$?
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }
18404
18405 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
18406 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
18407 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410 cat >conftest.$ac_ext <<_ACEOF
18411 /* confdefs.h. */
18412 _ACEOF
18413 cat confdefs.h >>conftest.$ac_ext
18414 cat >>conftest.$ac_ext <<_ACEOF
18415 /* end confdefs.h. */
18416
18417 int
18418 main ()
18419 {
18420 #ifndef __GNUC__
18421 choke me
18422 #endif
18423
18424 ;
18425 return 0;
18426 }
18427 _ACEOF
18428 rm -f conftest.$ac_objext
18429 if { (ac_try="$ac_compile"
18430 case "(($ac_try" in
18431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18432 *) ac_try_echo=$ac_try;;
18433 esac
18434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18435 (eval "$ac_compile") 2>conftest.er1
18436 ac_status=$?
18437 grep -v '^ *+' conftest.er1 >conftest.err
18438 rm -f conftest.er1
18439 cat conftest.err >&5
18440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18441 (exit $ac_status); } && {
18442 test -z "$ac_cxx_werror_flag" ||
18443 test ! -s conftest.err
18444 } && test -s conftest.$ac_objext; then
18445 ac_compiler_gnu=yes
18446 else
18447 echo "$as_me: failed program was:" >&5
18448 sed 's/^/| /' conftest.$ac_ext >&5
18449
18450 ac_compiler_gnu=no
18451 fi
18452
18453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18454 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
18455
18456 fi
18457 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
18458 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
18459 GXX=`test $ac_compiler_gnu = yes && echo yes`
18460 ac_test_CXXFLAGS=${CXXFLAGS+set}
18461 ac_save_CXXFLAGS=$CXXFLAGS
18462 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
18463 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
18464 if test "${ac_cv_prog_cxx_g+set}" = set; then
18465 echo $ECHO_N "(cached) $ECHO_C" >&6
18466 else
18467 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
18468 ac_cxx_werror_flag=yes
18469 ac_cv_prog_cxx_g=no
18470 CXXFLAGS="-g"
18471 cat >conftest.$ac_ext <<_ACEOF
18472 /* confdefs.h. */
18473 _ACEOF
18474 cat confdefs.h >>conftest.$ac_ext
18475 cat >>conftest.$ac_ext <<_ACEOF
18476 /* end confdefs.h. */
18477
18478 int
18479 main ()
18480 {
18481
18482 ;
18483 return 0;
18484 }
18485 _ACEOF
18486 rm -f conftest.$ac_objext
18487 if { (ac_try="$ac_compile"
18488 case "(($ac_try" in
18489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18491 esac
18492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_compile") 2>conftest.er1
18494 ac_status=$?
18495 grep -v '^ *+' conftest.er1 >conftest.err
18496 rm -f conftest.er1
18497 cat conftest.err >&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); } && {
18500 test -z "$ac_cxx_werror_flag" ||
18501 test ! -s conftest.err
18502 } && test -s conftest.$ac_objext; then
18503 ac_cv_prog_cxx_g=yes
18504 else
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18507
18508 CXXFLAGS=""
18509 cat >conftest.$ac_ext <<_ACEOF
18510 /* confdefs.h. */
18511 _ACEOF
18512 cat confdefs.h >>conftest.$ac_ext
18513 cat >>conftest.$ac_ext <<_ACEOF
18514 /* end confdefs.h. */
18515
18516 int
18517 main ()
18518 {
18519
18520 ;
18521 return 0;
18522 }
18523 _ACEOF
18524 rm -f conftest.$ac_objext
18525 if { (ac_try="$ac_compile"
18526 case "(($ac_try" in
18527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18528 *) ac_try_echo=$ac_try;;
18529 esac
18530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18531 (eval "$ac_compile") 2>conftest.er1
18532 ac_status=$?
18533 grep -v '^ *+' conftest.er1 >conftest.err
18534 rm -f conftest.er1
18535 cat conftest.err >&5
18536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18537 (exit $ac_status); } && {
18538 test -z "$ac_cxx_werror_flag" ||
18539 test ! -s conftest.err
18540 } && test -s conftest.$ac_objext; then
18541 :
18542 else
18543 echo "$as_me: failed program was:" >&5
18544 sed 's/^/| /' conftest.$ac_ext >&5
18545
18546 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18547 CXXFLAGS="-g"
18548 cat >conftest.$ac_ext <<_ACEOF
18549 /* confdefs.h. */
18550 _ACEOF
18551 cat confdefs.h >>conftest.$ac_ext
18552 cat >>conftest.$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18554
18555 int
18556 main ()
18557 {
18558
18559 ;
18560 return 0;
18561 }
18562 _ACEOF
18563 rm -f conftest.$ac_objext
18564 if { (ac_try="$ac_compile"
18565 case "(($ac_try" in
18566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18567 *) ac_try_echo=$ac_try;;
18568 esac
18569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18570 (eval "$ac_compile") 2>conftest.er1
18571 ac_status=$?
18572 grep -v '^ *+' conftest.er1 >conftest.err
18573 rm -f conftest.er1
18574 cat conftest.err >&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); } && {
18577 test -z "$ac_cxx_werror_flag" ||
18578 test ! -s conftest.err
18579 } && test -s conftest.$ac_objext; then
18580 ac_cv_prog_cxx_g=yes
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585
18586 fi
18587
18588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18589 fi
18590
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 fi
18593
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18595 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
18596 fi
18597 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
18598 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
18599 if test "$ac_test_CXXFLAGS" = set; then
18600 CXXFLAGS=$ac_save_CXXFLAGS
18601 elif test $ac_cv_prog_cxx_g = yes; then
18602 if test "$GXX" = yes; then
18603 CXXFLAGS="-g -O2"
18604 else
18605 CXXFLAGS="-g"
18606 fi
18607 else
18608 if test "$GXX" = yes; then
18609 CXXFLAGS="-O2"
18610 else
18611 CXXFLAGS=
18612 fi
18613 fi
18614 ac_ext=c
18615 ac_cpp='$CPP $CPPFLAGS'
18616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18619
18620
18621
18622
18623 ac_ext=cpp
18624 ac_cpp='$CXXCPP $CPPFLAGS'
18625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18628
18629 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18630 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18631 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18632 echo $ECHO_N "(cached) $ECHO_C" >&6
18633 else
18634 cat >conftest.$ac_ext <<_ACEOF
18635 /* confdefs.h. */
18636 _ACEOF
18637 cat confdefs.h >>conftest.$ac_ext
18638 cat >>conftest.$ac_ext <<_ACEOF
18639 /* end confdefs.h. */
18640
18641 int
18642 main ()
18643 {
18644
18645 #ifndef __INTEL_COMPILER
18646 choke me
18647 #endif
18648
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest.$ac_objext
18654 if { (ac_try="$ac_compile"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657 *) ac_try_echo=$ac_try;;
18658 esac
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_compile") 2>conftest.er1
18661 ac_status=$?
18662 grep -v '^ *+' conftest.er1 >conftest.err
18663 rm -f conftest.er1
18664 cat conftest.err >&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } && {
18667 test -z "$ac_cxx_werror_flag" ||
18668 test ! -s conftest.err
18669 } && test -s conftest.$ac_objext; then
18670 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18671 else
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18676
18677 fi
18678
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18680
18681
18682 fi
18683 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18684 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18685 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18686 :; INTELCXX=yes
18687 else
18688 :;
18689 fi
18690 ac_ext=c
18691 ac_cpp='$CPP $CPPFLAGS'
18692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18695
18696
18697
18698
18699 if test "x$GCXX" != "xyes"; then
18700 if test "xCXX" = "xC"; then
18701 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18702 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18703 if test "${bakefile_cv_c_exto+set}" = set; then
18704 echo $ECHO_N "(cached) $ECHO_C" >&6
18705 else
18706 cat >conftest.$ac_ext <<_ACEOF
18707 /* confdefs.h. */
18708 _ACEOF
18709 cat confdefs.h >>conftest.$ac_ext
18710 cat >>conftest.$ac_ext <<_ACEOF
18711 /* end confdefs.h. */
18712
18713 int
18714 main ()
18715 {
18716
18717 ;
18718 return 0;
18719 }
18720 _ACEOF
18721 rm -f conftest.$ac_objext conftest.$ac_ext.o
18722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18723 (eval $ac_compile) 2>&5
18724 ac_status=$?
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); }; then
18727 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18728 case $ac_file in
18729 conftest.$ac_ext.o)
18730 bakefile_cv_c_exto="-ext o"
18731 ;;
18732 *)
18733 ;;
18734 esac
18735 done
18736 else
18737 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18738 See \`config.log' for more details." >&5
18739 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18740 See \`config.log' for more details." >&2;}
18741 { (exit 1); exit 1; }; }
18742
18743 fi
18744
18745 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18746
18747 fi
18748 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18749 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18750 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18751 if test "c" = "c"; then
18752 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18753 fi
18754 if test "c" = "cxx"; then
18755 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18756 fi
18757 fi
18758
18759 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18760 unset ac_cv_prog_cc_g
18761 ac_test_CFLAGS=${CFLAGS+set}
18762 ac_save_CFLAGS=$CFLAGS
18763 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18764 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18765 if test "${ac_cv_prog_cc_g+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 else
18768 ac_save_c_werror_flag=$ac_c_werror_flag
18769 ac_c_werror_flag=yes
18770 ac_cv_prog_cc_g=no
18771 CFLAGS="-g"
18772 cat >conftest.$ac_ext <<_ACEOF
18773 /* confdefs.h. */
18774 _ACEOF
18775 cat confdefs.h >>conftest.$ac_ext
18776 cat >>conftest.$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778
18779 int
18780 main ()
18781 {
18782
18783 ;
18784 return 0;
18785 }
18786 _ACEOF
18787 rm -f conftest.$ac_objext
18788 if { (ac_try="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18792 esac
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_c_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18804 ac_cv_prog_cc_g=yes
18805 else
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18808
18809 CFLAGS=""
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h. */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816
18817 int
18818 main ()
18819 {
18820
18821 ;
18822 return 0;
18823 }
18824 _ACEOF
18825 rm -f conftest.$ac_objext
18826 if { (ac_try="$ac_compile"
18827 case "(($ac_try" in
18828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18829 *) ac_try_echo=$ac_try;;
18830 esac
18831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18832 (eval "$ac_compile") 2>conftest.er1
18833 ac_status=$?
18834 grep -v '^ *+' conftest.er1 >conftest.err
18835 rm -f conftest.er1
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } && {
18839 test -z "$ac_c_werror_flag" ||
18840 test ! -s conftest.err
18841 } && test -s conftest.$ac_objext; then
18842 :
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 ac_c_werror_flag=$ac_save_c_werror_flag
18848 CFLAGS="-g"
18849 cat >conftest.$ac_ext <<_ACEOF
18850 /* confdefs.h. */
18851 _ACEOF
18852 cat confdefs.h >>conftest.$ac_ext
18853 cat >>conftest.$ac_ext <<_ACEOF
18854 /* end confdefs.h. */
18855
18856 int
18857 main ()
18858 {
18859
18860 ;
18861 return 0;
18862 }
18863 _ACEOF
18864 rm -f conftest.$ac_objext
18865 if { (ac_try="$ac_compile"
18866 case "(($ac_try" in
18867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18868 *) ac_try_echo=$ac_try;;
18869 esac
18870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18871 (eval "$ac_compile") 2>conftest.er1
18872 ac_status=$?
18873 grep -v '^ *+' conftest.er1 >conftest.err
18874 rm -f conftest.er1
18875 cat conftest.err >&5
18876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18877 (exit $ac_status); } && {
18878 test -z "$ac_c_werror_flag" ||
18879 test ! -s conftest.err
18880 } && test -s conftest.$ac_objext; then
18881 ac_cv_prog_cc_g=yes
18882 else
18883 echo "$as_me: failed program was:" >&5
18884 sed 's/^/| /' conftest.$ac_ext >&5
18885
18886
18887 fi
18888
18889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18890 fi
18891
18892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18893 fi
18894
18895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18896 ac_c_werror_flag=$ac_save_c_werror_flag
18897 fi
18898 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18899 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18900 if test "$ac_test_CFLAGS" = set; then
18901 CFLAGS=$ac_save_CFLAGS
18902 elif test $ac_cv_prog_cc_g = yes; then
18903 if test "$GCC" = yes; then
18904 CFLAGS="-g -O2"
18905 else
18906 CFLAGS="-g"
18907 fi
18908 else
18909 if test "$GCC" = yes; then
18910 CFLAGS="-O2"
18911 else
18912 CFLAGS=
18913 fi
18914 fi
18915 fi
18916 fi
18917
18918 case `uname -s` in
18919 AIX*)
18920
18921
18922 ac_ext=cpp
18923 ac_cpp='$CXXCPP $CPPFLAGS'
18924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18927
18928 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18929 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18930 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18932 else
18933 cat >conftest.$ac_ext <<_ACEOF
18934 /* confdefs.h. */
18935 _ACEOF
18936 cat confdefs.h >>conftest.$ac_ext
18937 cat >>conftest.$ac_ext <<_ACEOF
18938 /* end confdefs.h. */
18939
18940 int
18941 main ()
18942 {
18943
18944 #ifndef __xlC__
18945 choke me
18946 #endif
18947
18948 ;
18949 return 0;
18950 }
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (ac_try="$ac_compile"
18954 case "(($ac_try" in
18955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18956 *) ac_try_echo=$ac_try;;
18957 esac
18958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18959 (eval "$ac_compile") 2>conftest.er1
18960 ac_status=$?
18961 grep -v '^ *+' conftest.er1 >conftest.err
18962 rm -f conftest.er1
18963 cat conftest.err >&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } && {
18966 test -z "$ac_cxx_werror_flag" ||
18967 test ! -s conftest.err
18968 } && test -s conftest.$ac_objext; then
18969 bakefile_cv_cxx_compiler___xlC__=yes
18970 else
18971 echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18973
18974 bakefile_cv_cxx_compiler___xlC__=no
18975
18976 fi
18977
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979
18980
18981 fi
18982 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18983 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18984 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18985 :; XLCXX=yes
18986 else
18987 :;
18988 fi
18989 ac_ext=c
18990 ac_cpp='$CPP $CPPFLAGS'
18991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18994
18995
18996
18997 ;;
18998
18999 Darwin)
19000
19001
19002 ac_ext=cpp
19003 ac_cpp='$CXXCPP $CPPFLAGS'
19004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19007
19008 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
19009 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
19010 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
19011 echo $ECHO_N "(cached) $ECHO_C" >&6
19012 else
19013 cat >conftest.$ac_ext <<_ACEOF
19014 /* confdefs.h. */
19015 _ACEOF
19016 cat confdefs.h >>conftest.$ac_ext
19017 cat >>conftest.$ac_ext <<_ACEOF
19018 /* end confdefs.h. */
19019
19020 int
19021 main ()
19022 {
19023
19024 #ifndef __MWERKS__
19025 choke me
19026 #endif
19027
19028 ;
19029 return 0;
19030 }
19031 _ACEOF
19032 rm -f conftest.$ac_objext
19033 if { (ac_try="$ac_compile"
19034 case "(($ac_try" in
19035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19036 *) ac_try_echo=$ac_try;;
19037 esac
19038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19039 (eval "$ac_compile") 2>conftest.er1
19040 ac_status=$?
19041 grep -v '^ *+' conftest.er1 >conftest.err
19042 rm -f conftest.er1
19043 cat conftest.err >&5
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); } && {
19046 test -z "$ac_cxx_werror_flag" ||
19047 test ! -s conftest.err
19048 } && test -s conftest.$ac_objext; then
19049 bakefile_cv_cxx_compiler___MWERKS__=yes
19050 else
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.$ac_ext >&5
19053
19054 bakefile_cv_cxx_compiler___MWERKS__=no
19055
19056 fi
19057
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19059
19060
19061 fi
19062 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
19063 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
19064 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
19065 :; MWCXX=yes
19066 else
19067 :;
19068 fi
19069 ac_ext=c
19070 ac_cpp='$CPP $CPPFLAGS'
19071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19074
19075
19076
19077
19078
19079 ac_ext=cpp
19080 ac_cpp='$CXXCPP $CPPFLAGS'
19081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19084
19085 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
19086 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
19087 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19089 else
19090 cat >conftest.$ac_ext <<_ACEOF
19091 /* confdefs.h. */
19092 _ACEOF
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19096
19097 int
19098 main ()
19099 {
19100
19101 #ifndef __xlC__
19102 choke me
19103 #endif
19104
19105 ;
19106 return 0;
19107 }
19108 _ACEOF
19109 rm -f conftest.$ac_objext
19110 if { (ac_try="$ac_compile"
19111 case "(($ac_try" in
19112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19113 *) ac_try_echo=$ac_try;;
19114 esac
19115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19116 (eval "$ac_compile") 2>conftest.er1
19117 ac_status=$?
19118 grep -v '^ *+' conftest.er1 >conftest.err
19119 rm -f conftest.er1
19120 cat conftest.err >&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } && {
19123 test -z "$ac_cxx_werror_flag" ||
19124 test ! -s conftest.err
19125 } && test -s conftest.$ac_objext; then
19126 bakefile_cv_cxx_compiler___xlC__=yes
19127 else
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19130
19131 bakefile_cv_cxx_compiler___xlC__=no
19132
19133 fi
19134
19135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19136
19137
19138 fi
19139 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
19140 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
19141 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
19142 :; XLCXX=yes
19143 else
19144 :;
19145 fi
19146 ac_ext=c
19147 ac_cpp='$CPP $CPPFLAGS'
19148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19151
19152
19153
19154 ;;
19155
19156 IRIX*)
19157
19158
19159 ac_ext=cpp
19160 ac_cpp='$CXXCPP $CPPFLAGS'
19161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19164
19165 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
19166 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
19167 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
19168 echo $ECHO_N "(cached) $ECHO_C" >&6
19169 else
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176
19177 int
19178 main ()
19179 {
19180
19181 #ifndef _SGI_COMPILER_VERSION
19182 choke me
19183 #endif
19184
19185 ;
19186 return 0;
19187 }
19188 _ACEOF
19189 rm -f conftest.$ac_objext
19190 if { (ac_try="$ac_compile"
19191 case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19194 esac
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_compile") 2>conftest.er1
19197 ac_status=$?
19198 grep -v '^ *+' conftest.er1 >conftest.err
19199 rm -f conftest.er1
19200 cat conftest.err >&5
19201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19202 (exit $ac_status); } && {
19203 test -z "$ac_cxx_werror_flag" ||
19204 test ! -s conftest.err
19205 } && test -s conftest.$ac_objext; then
19206 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
19207 else
19208 echo "$as_me: failed program was:" >&5
19209 sed 's/^/| /' conftest.$ac_ext >&5
19210
19211 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
19212
19213 fi
19214
19215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216
19217
19218 fi
19219 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
19220 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
19221 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
19222 :; SGICXX=yes
19223 else
19224 :;
19225 fi
19226 ac_ext=c
19227 ac_cpp='$CPP $CPPFLAGS'
19228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19231
19232
19233
19234 ;;
19235
19236 Linux*)
19237
19238
19239 ac_ext=cpp
19240 ac_cpp='$CXXCPP $CPPFLAGS'
19241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19244
19245 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19246 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19247 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19248 echo $ECHO_N "(cached) $ECHO_C" >&6
19249 else
19250 cat >conftest.$ac_ext <<_ACEOF
19251 /* confdefs.h. */
19252 _ACEOF
19253 cat confdefs.h >>conftest.$ac_ext
19254 cat >>conftest.$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19256
19257 int
19258 main ()
19259 {
19260
19261 #ifndef __SUNPRO_CC
19262 choke me
19263 #endif
19264
19265 ;
19266 return 0;
19267 }
19268 _ACEOF
19269 rm -f conftest.$ac_objext
19270 if { (ac_try="$ac_compile"
19271 case "(($ac_try" in
19272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19273 *) ac_try_echo=$ac_try;;
19274 esac
19275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19276 (eval "$ac_compile") 2>conftest.er1
19277 ac_status=$?
19278 grep -v '^ *+' conftest.er1 >conftest.err
19279 rm -f conftest.er1
19280 cat conftest.err >&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } && {
19283 test -z "$ac_cxx_werror_flag" ||
19284 test ! -s conftest.err
19285 } && test -s conftest.$ac_objext; then
19286 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19287 else
19288 echo "$as_me: failed program was:" >&5
19289 sed 's/^/| /' conftest.$ac_ext >&5
19290
19291 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19292
19293 fi
19294
19295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19296
19297
19298 fi
19299 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19300 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19301 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19302 :; SUNCXX=yes
19303 else
19304 :;
19305 fi
19306 ac_ext=c
19307 ac_cpp='$CPP $CPPFLAGS'
19308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19311
19312
19313
19314 ;;
19315
19316 HP-UX*)
19317
19318
19319 ac_ext=cpp
19320 ac_cpp='$CXXCPP $CPPFLAGS'
19321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19324
19325 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
19326 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
19327 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
19328 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 else
19330 cat >conftest.$ac_ext <<_ACEOF
19331 /* confdefs.h. */
19332 _ACEOF
19333 cat confdefs.h >>conftest.$ac_ext
19334 cat >>conftest.$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19336
19337 int
19338 main ()
19339 {
19340
19341 #ifndef __HP_aCC
19342 choke me
19343 #endif
19344
19345 ;
19346 return 0;
19347 }
19348 _ACEOF
19349 rm -f conftest.$ac_objext
19350 if { (ac_try="$ac_compile"
19351 case "(($ac_try" in
19352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19353 *) ac_try_echo=$ac_try;;
19354 esac
19355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19356 (eval "$ac_compile") 2>conftest.er1
19357 ac_status=$?
19358 grep -v '^ *+' conftest.er1 >conftest.err
19359 rm -f conftest.er1
19360 cat conftest.err >&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } && {
19363 test -z "$ac_cxx_werror_flag" ||
19364 test ! -s conftest.err
19365 } && test -s conftest.$ac_objext; then
19366 bakefile_cv_cxx_compiler___HP_aCC=yes
19367 else
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19370
19371 bakefile_cv_cxx_compiler___HP_aCC=no
19372
19373 fi
19374
19375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19376
19377
19378 fi
19379 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
19380 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
19381 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
19382 :; HPCXX=yes
19383 else
19384 :;
19385 fi
19386 ac_ext=c
19387 ac_cpp='$CPP $CPPFLAGS'
19388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19391
19392
19393
19394 ;;
19395
19396 OSF1)
19397
19398
19399 ac_ext=cpp
19400 ac_cpp='$CXXCPP $CPPFLAGS'
19401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19404
19405 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
19406 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
19407 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
19408 echo $ECHO_N "(cached) $ECHO_C" >&6
19409 else
19410 cat >conftest.$ac_ext <<_ACEOF
19411 /* confdefs.h. */
19412 _ACEOF
19413 cat confdefs.h >>conftest.$ac_ext
19414 cat >>conftest.$ac_ext <<_ACEOF
19415 /* end confdefs.h. */
19416
19417 int
19418 main ()
19419 {
19420
19421 #ifndef __DECCXX
19422 choke me
19423 #endif
19424
19425 ;
19426 return 0;
19427 }
19428 _ACEOF
19429 rm -f conftest.$ac_objext
19430 if { (ac_try="$ac_compile"
19431 case "(($ac_try" in
19432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19434 esac
19435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19436 (eval "$ac_compile") 2>conftest.er1
19437 ac_status=$?
19438 grep -v '^ *+' conftest.er1 >conftest.err
19439 rm -f conftest.er1
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_cxx_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest.$ac_objext; then
19446 bakefile_cv_cxx_compiler___DECCXX=yes
19447 else
19448 echo "$as_me: failed program was:" >&5
19449 sed 's/^/| /' conftest.$ac_ext >&5
19450
19451 bakefile_cv_cxx_compiler___DECCXX=no
19452
19453 fi
19454
19455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19456
19457
19458 fi
19459 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19460 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19461 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19462 :; COMPAQCXX=yes
19463 else
19464 :;
19465 fi
19466 ac_ext=c
19467 ac_cpp='$CPP $CPPFLAGS'
19468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19471
19472
19473
19474 ;;
19475
19476 SunOS)
19477
19478
19479 ac_ext=cpp
19480 ac_cpp='$CXXCPP $CPPFLAGS'
19481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19484
19485 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19486 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19487 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19489 else
19490 cat >conftest.$ac_ext <<_ACEOF
19491 /* confdefs.h. */
19492 _ACEOF
19493 cat confdefs.h >>conftest.$ac_ext
19494 cat >>conftest.$ac_ext <<_ACEOF
19495 /* end confdefs.h. */
19496
19497 int
19498 main ()
19499 {
19500
19501 #ifndef __SUNPRO_CC
19502 choke me
19503 #endif
19504
19505 ;
19506 return 0;
19507 }
19508 _ACEOF
19509 rm -f conftest.$ac_objext
19510 if { (ac_try="$ac_compile"
19511 case "(($ac_try" in
19512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19513 *) ac_try_echo=$ac_try;;
19514 esac
19515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19516 (eval "$ac_compile") 2>conftest.er1
19517 ac_status=$?
19518 grep -v '^ *+' conftest.er1 >conftest.err
19519 rm -f conftest.er1
19520 cat conftest.err >&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); } && {
19523 test -z "$ac_cxx_werror_flag" ||
19524 test ! -s conftest.err
19525 } && test -s conftest.$ac_objext; then
19526 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19527 else
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5
19530
19531 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19532
19533 fi
19534
19535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19536
19537
19538 fi
19539 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19540 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19541 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19542 :; SUNCXX=yes
19543 else
19544 :;
19545 fi
19546 ac_ext=c
19547 ac_cpp='$CPP $CPPFLAGS'
19548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19551
19552
19553
19554 ;;
19555 esac
19556 fi
19557
19558
19559
19560 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19561 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19562 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19563 { (exit 1); exit 1; }; }
19564 fi
19565
19566 if test -n "$ac_tool_prefix"; then
19567 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
19568 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
19569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19571 if test "${ac_cv_prog_RANLIB+set}" = set; then
19572 echo $ECHO_N "(cached) $ECHO_C" >&6
19573 else
19574 if test -n "$RANLIB"; then
19575 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
19576 else
19577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19578 for as_dir in $PATH
19579 do
19580 IFS=$as_save_IFS
19581 test -z "$as_dir" && as_dir=.
19582 for ac_exec_ext in '' $ac_executable_extensions; do
19583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19584 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
19585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19586 break 2
19587 fi
19588 done
19589 done
19590 IFS=$as_save_IFS
19591
19592 fi
19593 fi
19594 RANLIB=$ac_cv_prog_RANLIB
19595 if test -n "$RANLIB"; then
19596 { echo "$as_me:$LINENO: result: $RANLIB" >&5
19597 echo "${ECHO_T}$RANLIB" >&6; }
19598 else
19599 { echo "$as_me:$LINENO: result: no" >&5
19600 echo "${ECHO_T}no" >&6; }
19601 fi
19602
19603
19604 fi
19605 if test -z "$ac_cv_prog_RANLIB"; then
19606 ac_ct_RANLIB=$RANLIB
19607 # Extract the first word of "ranlib", so it can be a program name with args.
19608 set dummy ranlib; ac_word=$2
19609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19611 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
19612 echo $ECHO_N "(cached) $ECHO_C" >&6
19613 else
19614 if test -n "$ac_ct_RANLIB"; then
19615 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
19616 else
19617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19618 for as_dir in $PATH
19619 do
19620 IFS=$as_save_IFS
19621 test -z "$as_dir" && as_dir=.
19622 for ac_exec_ext in '' $ac_executable_extensions; do
19623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19624 ac_cv_prog_ac_ct_RANLIB="ranlib"
19625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19626 break 2
19627 fi
19628 done
19629 done
19630 IFS=$as_save_IFS
19631
19632 fi
19633 fi
19634 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
19635 if test -n "$ac_ct_RANLIB"; then
19636 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
19637 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
19638 else
19639 { echo "$as_me:$LINENO: result: no" >&5
19640 echo "${ECHO_T}no" >&6; }
19641 fi
19642
19643 if test "x$ac_ct_RANLIB" = x; then
19644 RANLIB=":"
19645 else
19646 case $cross_compiling:$ac_tool_warned in
19647 yes:)
19648 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19649 whose name does not start with the host triplet. If you think this
19650 configuration is useful to you, please write to autoconf@gnu.org." >&5
19651 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19652 whose name does not start with the host triplet. If you think this
19653 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19654 ac_tool_warned=yes ;;
19655 esac
19656 RANLIB=$ac_ct_RANLIB
19657 fi
19658 else
19659 RANLIB="$ac_cv_prog_RANLIB"
19660 fi
19661
19662
19663 if test "x$SUNCXX" != xyes; then
19664 if test -n "$ac_tool_prefix"; then
19665 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19666 set dummy ${ac_tool_prefix}ar; ac_word=$2
19667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19669 if test "${ac_cv_prog_AR+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 else
19672 if test -n "$AR"; then
19673 ac_cv_prog_AR="$AR" # Let the user override the test.
19674 else
19675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19676 for as_dir in $PATH
19677 do
19678 IFS=$as_save_IFS
19679 test -z "$as_dir" && as_dir=.
19680 for ac_exec_ext in '' $ac_executable_extensions; do
19681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19682 ac_cv_prog_AR="${ac_tool_prefix}ar"
19683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19684 break 2
19685 fi
19686 done
19687 done
19688 IFS=$as_save_IFS
19689
19690 fi
19691 fi
19692 AR=$ac_cv_prog_AR
19693 if test -n "$AR"; then
19694 { echo "$as_me:$LINENO: result: $AR" >&5
19695 echo "${ECHO_T}$AR" >&6; }
19696 else
19697 { echo "$as_me:$LINENO: result: no" >&5
19698 echo "${ECHO_T}no" >&6; }
19699 fi
19700
19701
19702 fi
19703 if test -z "$ac_cv_prog_AR"; then
19704 ac_ct_AR=$AR
19705 # Extract the first word of "ar", so it can be a program name with args.
19706 set dummy ar; ac_word=$2
19707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19709 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19710 echo $ECHO_N "(cached) $ECHO_C" >&6
19711 else
19712 if test -n "$ac_ct_AR"; then
19713 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19714 else
19715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19716 for as_dir in $PATH
19717 do
19718 IFS=$as_save_IFS
19719 test -z "$as_dir" && as_dir=.
19720 for ac_exec_ext in '' $ac_executable_extensions; do
19721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19722 ac_cv_prog_ac_ct_AR="ar"
19723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19724 break 2
19725 fi
19726 done
19727 done
19728 IFS=$as_save_IFS
19729
19730 fi
19731 fi
19732 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19733 if test -n "$ac_ct_AR"; then
19734 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19735 echo "${ECHO_T}$ac_ct_AR" >&6; }
19736 else
19737 { echo "$as_me:$LINENO: result: no" >&5
19738 echo "${ECHO_T}no" >&6; }
19739 fi
19740
19741 if test "x$ac_ct_AR" = x; then
19742 AR=""
19743 else
19744 case $cross_compiling:$ac_tool_warned in
19745 yes:)
19746 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19747 whose name does not start with the host triplet. If you think this
19748 configuration is useful to you, please write to autoconf@gnu.org." >&5
19749 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19750 whose name does not start with the host triplet. If you think this
19751 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19752 ac_tool_warned=yes ;;
19753 esac
19754 AR=$ac_ct_AR
19755 fi
19756 else
19757 AR="$ac_cv_prog_AR"
19758 fi
19759
19760 if test "x$AR" = "x" ; then
19761 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19762 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19763 { (exit 1); exit 1; }; }
19764 fi
19765 fi
19766
19767 # Find a good install program. We prefer a C program (faster),
19768 # so one script is as good as another. But avoid the broken or
19769 # incompatible versions:
19770 # SysV /etc/install, /usr/sbin/install
19771 # SunOS /usr/etc/install
19772 # IRIX /sbin/install
19773 # AIX /bin/install
19774 # AmigaOS /C/install, which installs bootblocks on floppy discs
19775 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
19776 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
19777 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
19778 # OS/2's system install, which has a completely different semantic
19779 # ./install, which can be erroneously created by make from ./install.sh.
19780 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
19781 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
19782 if test -z "$INSTALL"; then
19783 if test "${ac_cv_path_install+set}" = set; then
19784 echo $ECHO_N "(cached) $ECHO_C" >&6
19785 else
19786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19787 for as_dir in $PATH
19788 do
19789 IFS=$as_save_IFS
19790 test -z "$as_dir" && as_dir=.
19791 # Account for people who put trailing slashes in PATH elements.
19792 case $as_dir/ in
19793 ./ | .// | /cC/* | \
19794 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
19795 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
19796 /usr/ucb/* ) ;;
19797 *)
19798 # OSF1 and SCO ODT 3.0 have their own names for install.
19799 # Don't use installbsd from OSF since it installs stuff as root
19800 # by default.
19801 for ac_prog in ginstall scoinst install; do
19802 for ac_exec_ext in '' $ac_executable_extensions; do
19803 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
19804 if test $ac_prog = install &&
19805 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19806 # AIX install. It has an incompatible calling convention.
19807 :
19808 elif test $ac_prog = install &&
19809 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
19810 # program-specific install script used by HP pwplus--don't use.
19811 :
19812 else
19813 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
19814 break 3
19815 fi
19816 fi
19817 done
19818 done
19819 ;;
19820 esac
19821 done
19822 IFS=$as_save_IFS
19823
19824
19825 fi
19826 if test "${ac_cv_path_install+set}" = set; then
19827 INSTALL=$ac_cv_path_install
19828 else
19829 # As a last resort, use the slow shell script. Don't cache a
19830 # value for INSTALL within a source directory, because that will
19831 # break other packages using the cache if that directory is
19832 # removed, or if the value is a relative name.
19833 INSTALL=$ac_install_sh
19834 fi
19835 fi
19836 { echo "$as_me:$LINENO: result: $INSTALL" >&5
19837 echo "${ECHO_T}$INSTALL" >&6; }
19838
19839 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
19840 # It thinks the first close brace ends the variable substitution.
19841 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
19842
19843 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
19844
19845 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
19846
19847
19848 case ${INSTALL} in
19849 /* ) # Absolute
19850 ;;
19851 ?:* ) # Drive letter, considered as absolute.
19852 ;;
19853 *)
19854 INSTALL=`pwd`/${INSTALL} ;;
19855 esac
19856
19857
19858 case "${host}" in
19859
19860 *-*-darwin* )
19861 INSTALL_PROGRAM="cp -fp"
19862 INSTALL_DATA="cp -fp"
19863 ;;
19864 *)
19865 ;;
19866 esac
19867
19868 if test -n "$ac_tool_prefix"; then
19869 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
19870 set dummy ${ac_tool_prefix}strip; ac_word=$2
19871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19873 if test "${ac_cv_prog_STRIP+set}" = set; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 else
19876 if test -n "$STRIP"; then
19877 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
19878 else
19879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19880 for as_dir in $PATH
19881 do
19882 IFS=$as_save_IFS
19883 test -z "$as_dir" && as_dir=.
19884 for ac_exec_ext in '' $ac_executable_extensions; do
19885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19886 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
19887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19888 break 2
19889 fi
19890 done
19891 done
19892 IFS=$as_save_IFS
19893
19894 fi
19895 fi
19896 STRIP=$ac_cv_prog_STRIP
19897 if test -n "$STRIP"; then
19898 { echo "$as_me:$LINENO: result: $STRIP" >&5
19899 echo "${ECHO_T}$STRIP" >&6; }
19900 else
19901 { echo "$as_me:$LINENO: result: no" >&5
19902 echo "${ECHO_T}no" >&6; }
19903 fi
19904
19905
19906 fi
19907 if test -z "$ac_cv_prog_STRIP"; then
19908 ac_ct_STRIP=$STRIP
19909 # Extract the first word of "strip", so it can be a program name with args.
19910 set dummy strip; ac_word=$2
19911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19913 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
19914 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 else
19916 if test -n "$ac_ct_STRIP"; then
19917 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
19918 else
19919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19920 for as_dir in $PATH
19921 do
19922 IFS=$as_save_IFS
19923 test -z "$as_dir" && as_dir=.
19924 for ac_exec_ext in '' $ac_executable_extensions; do
19925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19926 ac_cv_prog_ac_ct_STRIP="strip"
19927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19928 break 2
19929 fi
19930 done
19931 done
19932 IFS=$as_save_IFS
19933
19934 fi
19935 fi
19936 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
19937 if test -n "$ac_ct_STRIP"; then
19938 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
19939 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
19940 else
19941 { echo "$as_me:$LINENO: result: no" >&5
19942 echo "${ECHO_T}no" >&6; }
19943 fi
19944
19945 if test "x$ac_ct_STRIP" = x; then
19946 STRIP="true"
19947 else
19948 case $cross_compiling:$ac_tool_warned in
19949 yes:)
19950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19951 whose name does not start with the host triplet. If you think this
19952 configuration is useful to you, please write to autoconf@gnu.org." >&5
19953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19954 whose name does not start with the host triplet. If you think this
19955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19956 ac_tool_warned=yes ;;
19957 esac
19958 STRIP=$ac_ct_STRIP
19959 fi
19960 else
19961 STRIP="$ac_cv_prog_STRIP"
19962 fi
19963
19964
19965 if test "$wxUSE_WINE" = "yes"; then
19966 if test -n "$ac_tool_prefix"; then
19967 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
19968 set dummy ${ac_tool_prefix}wrc; ac_word=$2
19969 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19971 if test "${ac_cv_prog_WINDRES+set}" = set; then
19972 echo $ECHO_N "(cached) $ECHO_C" >&6
19973 else
19974 if test -n "$WINDRES"; then
19975 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
19976 else
19977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19978 for as_dir in $PATH
19979 do
19980 IFS=$as_save_IFS
19981 test -z "$as_dir" && as_dir=.
19982 for ac_exec_ext in '' $ac_executable_extensions; do
19983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19984 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
19985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19986 break 2
19987 fi
19988 done
19989 done
19990 IFS=$as_save_IFS
19991
19992 fi
19993 fi
19994 WINDRES=$ac_cv_prog_WINDRES
19995 if test -n "$WINDRES"; then
19996 { echo "$as_me:$LINENO: result: $WINDRES" >&5
19997 echo "${ECHO_T}$WINDRES" >&6; }
19998 else
19999 { echo "$as_me:$LINENO: result: no" >&5
20000 echo "${ECHO_T}no" >&6; }
20001 fi
20002
20003
20004 fi
20005 if test -z "$ac_cv_prog_WINDRES"; then
20006 ac_ct_WINDRES=$WINDRES
20007 # Extract the first word of "wrc", so it can be a program name with args.
20008 set dummy wrc; ac_word=$2
20009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20011 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20012 echo $ECHO_N "(cached) $ECHO_C" >&6
20013 else
20014 if test -n "$ac_ct_WINDRES"; then
20015 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20016 else
20017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20018 for as_dir in $PATH
20019 do
20020 IFS=$as_save_IFS
20021 test -z "$as_dir" && as_dir=.
20022 for ac_exec_ext in '' $ac_executable_extensions; do
20023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20024 ac_cv_prog_ac_ct_WINDRES="wrc"
20025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20026 break 2
20027 fi
20028 done
20029 done
20030 IFS=$as_save_IFS
20031
20032 fi
20033 fi
20034 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20035 if test -n "$ac_ct_WINDRES"; then
20036 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20037 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20038 else
20039 { echo "$as_me:$LINENO: result: no" >&5
20040 echo "${ECHO_T}no" >&6; }
20041 fi
20042
20043 if test "x$ac_ct_WINDRES" = x; then
20044 WINDRES=""
20045 else
20046 case $cross_compiling:$ac_tool_warned in
20047 yes:)
20048 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20049 whose name does not start with the host triplet. If you think this
20050 configuration is useful to you, please write to autoconf@gnu.org." >&5
20051 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20052 whose name does not start with the host triplet. If you think this
20053 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20054 ac_tool_warned=yes ;;
20055 esac
20056 WINDRES=$ac_ct_WINDRES
20057 fi
20058 else
20059 WINDRES="$ac_cv_prog_WINDRES"
20060 fi
20061
20062 RESCOMP="$WINDRES"
20063 else
20064 case "${host}" in
20065 *-*-cygwin* | *-*-mingw32* )
20066 if test -n "$ac_tool_prefix"; then
20067 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
20068 set dummy ${ac_tool_prefix}windres; ac_word=$2
20069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20071 if test "${ac_cv_prog_WINDRES+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20074 if test -n "$WINDRES"; then
20075 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
20076 else
20077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20078 for as_dir in $PATH
20079 do
20080 IFS=$as_save_IFS
20081 test -z "$as_dir" && as_dir=.
20082 for ac_exec_ext in '' $ac_executable_extensions; do
20083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20084 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
20085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20086 break 2
20087 fi
20088 done
20089 done
20090 IFS=$as_save_IFS
20091
20092 fi
20093 fi
20094 WINDRES=$ac_cv_prog_WINDRES
20095 if test -n "$WINDRES"; then
20096 { echo "$as_me:$LINENO: result: $WINDRES" >&5
20097 echo "${ECHO_T}$WINDRES" >&6; }
20098 else
20099 { echo "$as_me:$LINENO: result: no" >&5
20100 echo "${ECHO_T}no" >&6; }
20101 fi
20102
20103
20104 fi
20105 if test -z "$ac_cv_prog_WINDRES"; then
20106 ac_ct_WINDRES=$WINDRES
20107 # Extract the first word of "windres", so it can be a program name with args.
20108 set dummy windres; ac_word=$2
20109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20111 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114 if test -n "$ac_ct_WINDRES"; then
20115 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
20116 else
20117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20118 for as_dir in $PATH
20119 do
20120 IFS=$as_save_IFS
20121 test -z "$as_dir" && as_dir=.
20122 for ac_exec_ext in '' $ac_executable_extensions; do
20123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20124 ac_cv_prog_ac_ct_WINDRES="windres"
20125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20126 break 2
20127 fi
20128 done
20129 done
20130 IFS=$as_save_IFS
20131
20132 fi
20133 fi
20134 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
20135 if test -n "$ac_ct_WINDRES"; then
20136 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
20137 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
20138 else
20139 { echo "$as_me:$LINENO: result: no" >&5
20140 echo "${ECHO_T}no" >&6; }
20141 fi
20142
20143 if test "x$ac_ct_WINDRES" = x; then
20144 WINDRES=""
20145 else
20146 case $cross_compiling:$ac_tool_warned in
20147 yes:)
20148 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20149 whose name does not start with the host triplet. If you think this
20150 configuration is useful to you, please write to autoconf@gnu.org." >&5
20151 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20152 whose name does not start with the host triplet. If you think this
20153 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20154 ac_tool_warned=yes ;;
20155 esac
20156 WINDRES=$ac_ct_WINDRES
20157 fi
20158 else
20159 WINDRES="$ac_cv_prog_WINDRES"
20160 fi
20161
20162 RESCOMP="$WINDRES"
20163 if test -n "$ac_tool_prefix"; then
20164 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
20165 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
20166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20168 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
20169 echo $ECHO_N "(cached) $ECHO_C" >&6
20170 else
20171 if test -n "$DLLTOOL"; then
20172 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
20173 else
20174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20175 for as_dir in $PATH
20176 do
20177 IFS=$as_save_IFS
20178 test -z "$as_dir" && as_dir=.
20179 for ac_exec_ext in '' $ac_executable_extensions; do
20180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20181 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
20182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20183 break 2
20184 fi
20185 done
20186 done
20187 IFS=$as_save_IFS
20188
20189 fi
20190 fi
20191 DLLTOOL=$ac_cv_prog_DLLTOOL
20192 if test -n "$DLLTOOL"; then
20193 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
20194 echo "${ECHO_T}$DLLTOOL" >&6; }
20195 else
20196 { echo "$as_me:$LINENO: result: no" >&5
20197 echo "${ECHO_T}no" >&6; }
20198 fi
20199
20200
20201 fi
20202 if test -z "$ac_cv_prog_DLLTOOL"; then
20203 ac_ct_DLLTOOL=$DLLTOOL
20204 # Extract the first word of "dlltool", so it can be a program name with args.
20205 set dummy dlltool; ac_word=$2
20206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
20207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
20208 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
20209 echo $ECHO_N "(cached) $ECHO_C" >&6
20210 else
20211 if test -n "$ac_ct_DLLTOOL"; then
20212 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
20213 else
20214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20215 for as_dir in $PATH
20216 do
20217 IFS=$as_save_IFS
20218 test -z "$as_dir" && as_dir=.
20219 for ac_exec_ext in '' $ac_executable_extensions; do
20220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20221 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
20222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20223 break 2
20224 fi
20225 done
20226 done
20227 IFS=$as_save_IFS
20228
20229 fi
20230 fi
20231 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
20232 if test -n "$ac_ct_DLLTOOL"; then
20233 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
20234 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
20235 else
20236 { echo "$as_me:$LINENO: result: no" >&5
20237 echo "${ECHO_T}no" >&6; }
20238 fi
20239
20240 if test "x$ac_ct_DLLTOOL" = x; then
20241 DLLTOOL=""
20242 else
20243 case $cross_compiling:$ac_tool_warned in
20244 yes:)
20245 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
20246 whose name does not start with the host triplet. If you think this
20247 configuration is useful to you, please write to autoconf@gnu.org." >&5
20248 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
20249 whose name does not start with the host triplet. If you think this
20250 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
20251 ac_tool_warned=yes ;;
20252 esac
20253 DLLTOOL=$ac_ct_DLLTOOL
20254 fi
20255 else
20256 DLLTOOL="$ac_cv_prog_DLLTOOL"
20257 fi
20258
20259 ;;
20260 esac
20261 fi
20262
20263 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
20264 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
20265 if test "${wx_cv_prog_makeisgnu+set}" = set; then
20266 echo $ECHO_N "(cached) $ECHO_C" >&6
20267 else
20268
20269 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
20270 $EGREP -s GNU > /dev/null); then
20271 wx_cv_prog_makeisgnu="yes"
20272 else
20273 wx_cv_prog_makeisgnu="no"
20274 fi
20275
20276 fi
20277 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
20278 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
20279
20280 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
20281 IF_GNU_MAKE=""
20282 else
20283 IF_GNU_MAKE="#"
20284 fi
20285
20286
20287
20288 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
20289 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
20290 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
20291 if test "${wx_cv_prog_makevpath+set}" = set; then
20292 echo $ECHO_N "(cached) $ECHO_C" >&6
20293 else
20294
20295 cat - << EOF > confMake
20296 check : file
20297 cp \$? \$@
20298 cp \$? final_file
20299 EOF
20300
20301 if test ! -d sub ; then
20302 mkdir sub
20303 fi
20304 echo dummy > sub/file
20305 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
20306 RESULT=$?
20307 rm -f sub/file check final_file confMake
20308 rmdir sub
20309 if test "$RESULT" = 0; then
20310 wx_cv_prog_makevpath="yes"
20311 else
20312 wx_cv_prog_makevpath="no"
20313 fi
20314
20315 fi
20316 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
20317 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
20318
20319 if test "x$wx_cv_prog_makevpath" != "xyes"; then
20320 { { echo "$as_me:$LINENO: error:
20321 You need a make-utility that is able to use the variable
20322 VPATH correctly.
20323 If your version of make does not support VPATH correctly,
20324 please install GNU-make (possibly as gmake), and start
20325 configure with the following command:
20326 export MAKE=gmake; ./configure for sh-type shells
20327 setenv MAKE gmake; ./configure for csh-type shells
20328 Also please do remember to use gmake in this case every time
20329 you are trying to compile.
20330 " >&5
20331 echo "$as_me: error:
20332 You need a make-utility that is able to use the variable
20333 VPATH correctly.
20334 If your version of make does not support VPATH correctly,
20335 please install GNU-make (possibly as gmake), and start
20336 configure with the following command:
20337 export MAKE=gmake; ./configure for sh-type shells
20338 setenv MAKE gmake; ./configure for csh-type shells
20339 Also please do remember to use gmake in this case every time
20340 you are trying to compile.
20341 " >&2;}
20342 { (exit 1); exit 1; }; }
20343 fi fi
20344 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
20345 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
20346 LN_S=$as_ln_s
20347 if test "$LN_S" = "ln -s"; then
20348 { echo "$as_me:$LINENO: result: yes" >&5
20349 echo "${ECHO_T}yes" >&6; }
20350 else
20351 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
20352 echo "${ECHO_T}no, using $LN_S" >&6; }
20353 fi
20354
20355
20356
20357
20358 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
20359 CXXFLAGS="-qunique $CXXFLAGS"
20360 fi
20361
20362 case "${host}" in
20363 powerpc-*-darwin* )
20364 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
20365 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
20366 cat >conftest.$ac_ext <<_ACEOF
20367 /* confdefs.h. */
20368 _ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372
20373 int
20374 main ()
20375 {
20376 #ifndef __POWERPC__
20377 choke me for lack of PowerPC
20378 #endif
20379
20380 ;
20381 return 0;
20382 }
20383 _ACEOF
20384 rm -f conftest.$ac_objext
20385 if { (ac_try="$ac_compile"
20386 case "(($ac_try" in
20387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20388 *) ac_try_echo=$ac_try;;
20389 esac
20390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20391 (eval "$ac_compile") 2>conftest.er1
20392 ac_status=$?
20393 grep -v '^ *+' conftest.er1 >conftest.err
20394 rm -f conftest.er1
20395 cat conftest.err >&5
20396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20397 (exit $ac_status); } && {
20398 test -z "$ac_c_werror_flag" ||
20399 test ! -s conftest.err
20400 } && test -s conftest.$ac_objext; then
20401 { echo "$as_me:$LINENO: result: yes" >&5
20402 echo "${ECHO_T}yes" >&6; }
20403 else
20404 echo "$as_me: failed program was:" >&5
20405 sed 's/^/| /' conftest.$ac_ext >&5
20406
20407 { echo "$as_me:$LINENO: result: no" >&5
20408 echo "${ECHO_T}no" >&6; }
20409 cat >>confdefs.h <<\_ACEOF
20410 #define __POWERPC__ 1
20411 _ACEOF
20412
20413
20414 fi
20415
20416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20417 ;;
20418 esac
20419
20420 case "${host}" in
20421 *-*-darwin* )
20422 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
20423 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
20424 cat >conftest.$ac_ext <<_ACEOF
20425 /* confdefs.h. */
20426 _ACEOF
20427 cat confdefs.h >>conftest.$ac_ext
20428 cat >>conftest.$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 #include <CoreFoundation/CFBase.h>
20431
20432 int
20433 main ()
20434 {
20435
20436 ;
20437 return 0;
20438 }
20439 _ACEOF
20440 rm -f conftest.$ac_objext
20441 if { (ac_try="$ac_compile"
20442 case "(($ac_try" in
20443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20444 *) ac_try_echo=$ac_try;;
20445 esac
20446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20447 (eval "$ac_compile") 2>conftest.er1
20448 ac_status=$?
20449 grep -v '^ *+' conftest.er1 >conftest.err
20450 rm -f conftest.er1
20451 cat conftest.err >&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); } && {
20454 test -z "$ac_c_werror_flag" ||
20455 test ! -s conftest.err
20456 } && test -s conftest.$ac_objext; then
20457 { echo "$as_me:$LINENO: result: yes" >&5
20458 echo "${ECHO_T}yes" >&6; }
20459 else
20460 echo "$as_me: failed program was:" >&5
20461 sed 's/^/| /' conftest.$ac_ext >&5
20462
20463 { echo "$as_me:$LINENO: result: no" >&5
20464 echo "${ECHO_T}no" >&6; }
20465 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
20466 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
20467 cat >conftest.$ac_ext <<_ACEOF
20468 /* confdefs.h. */
20469 _ACEOF
20470 cat confdefs.h >>conftest.$ac_ext
20471 cat >>conftest.$ac_ext <<_ACEOF
20472 /* end confdefs.h. */
20473 #define __CF_USE_FRAMEWORK_INCLUDES__
20474 #include <CoreFoundation/CFBase.h>
20475
20476 int
20477 main ()
20478 {
20479
20480 ;
20481 return 0;
20482 }
20483 _ACEOF
20484 rm -f conftest.$ac_objext
20485 if { (ac_try="$ac_compile"
20486 case "(($ac_try" in
20487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20488 *) ac_try_echo=$ac_try;;
20489 esac
20490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20491 (eval "$ac_compile") 2>conftest.er1
20492 ac_status=$?
20493 grep -v '^ *+' conftest.er1 >conftest.err
20494 rm -f conftest.er1
20495 cat conftest.err >&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); } && {
20498 test -z "$ac_c_werror_flag" ||
20499 test ! -s conftest.err
20500 } && test -s conftest.$ac_objext; then
20501 { echo "$as_me:$LINENO: result: yes" >&5
20502 echo "${ECHO_T}yes" >&6; }
20503 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
20504 else
20505 echo "$as_me: failed program was:" >&5
20506 sed 's/^/| /' conftest.$ac_ext >&5
20507
20508 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
20509 See \`config.log' for more details." >&5
20510 echo "$as_me: error: no. CoreFoundation not available.
20511 See \`config.log' for more details." >&2;}
20512 { (exit 1); exit 1; }; }
20513
20514 fi
20515
20516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20517
20518
20519 fi
20520
20521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20522 ;;
20523 esac
20524
20525 wants_win32=0
20526 doesnt_want_win32=0
20527 case "${host}" in
20528 *-*-cygwin*)
20529 if test "$wxUSE_MSW" = 1 ; then
20530 wants_win32=1
20531 else
20532 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
20533 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
20534 if test "${wx_cv_nocygwin+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 else
20537
20538 cat >conftest.$ac_ext <<_ACEOF
20539 /* confdefs.h. */
20540 _ACEOF
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544
20545 int
20546 main ()
20547 {
20548
20549 #ifdef __MINGW32__
20550 choke me
20551 #endif
20552
20553 ;
20554 return 0;
20555 }
20556 _ACEOF
20557 rm -f conftest.$ac_objext
20558 if { (ac_try="$ac_compile"
20559 case "(($ac_try" in
20560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20561 *) ac_try_echo=$ac_try;;
20562 esac
20563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20564 (eval "$ac_compile") 2>conftest.er1
20565 ac_status=$?
20566 grep -v '^ *+' conftest.er1 >conftest.err
20567 rm -f conftest.er1
20568 cat conftest.err >&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); } && {
20571 test -z "$ac_c_werror_flag" ||
20572 test ! -s conftest.err
20573 } && test -s conftest.$ac_objext; then
20574 wx_cv_nocygwin=no
20575 else
20576 echo "$as_me: failed program was:" >&5
20577 sed 's/^/| /' conftest.$ac_ext >&5
20578
20579 wx_cv_nocygwin=yes
20580
20581 fi
20582
20583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20584
20585
20586 fi
20587 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
20588 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
20589
20590 if test "$wx_cv_nocygwin" = "yes"; then
20591 wants_win32=1
20592 else
20593 doesnt_want_win32=1
20594 fi
20595 fi
20596 if test "$wants_win32" = 1 ; then
20597 BAKEFILE_FORCE_PLATFORM=win32
20598 fi
20599 ;;
20600 *-*-mingw*)
20601 wants_win32=1
20602 ;;
20603 esac
20604
20605 if test "$wxUSE_WINE" = "yes"; then
20606 wants_win32=1
20607 LDFLAGS_GUI="-mwindows"
20608 fi
20609
20610 if test "$wants_win32" = 1 ; then
20611 USE_UNIX=0
20612 USE_WIN32=1
20613 cat >>confdefs.h <<\_ACEOF
20614 #define __WIN32__ 1
20615 _ACEOF
20616
20617 cat >>confdefs.h <<\_ACEOF
20618 #define __WIN95__ 1
20619 _ACEOF
20620
20621 cat >>confdefs.h <<\_ACEOF
20622 #define __WINDOWS__ 1
20623 _ACEOF
20624
20625 cat >>confdefs.h <<\_ACEOF
20626 #define __GNUWIN32__ 1
20627 _ACEOF
20628
20629 cat >>confdefs.h <<\_ACEOF
20630 #define STRICT 1
20631 _ACEOF
20632
20633 fi
20634 if test "$doesnt_want_win32" = 1 ; then
20635 USE_UNIX=1
20636 USE_WIN32=0
20637 fi
20638
20639 if test "$USE_UNIX" = 1 ; then
20640 wxUSE_UNIX=yes
20641 cat >>confdefs.h <<\_ACEOF
20642 #define __UNIX__ 1
20643 _ACEOF
20644
20645 fi
20646
20647 case "${host}" in
20648 *-pc-os2_emx | *-pc-os2-emx )
20649 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
20650 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
20651 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
20652 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6
20654 else
20655 ac_check_lib_save_LIBS=$LIBS
20656 LIBS="-lcExt $LIBS"
20657 cat >conftest.$ac_ext <<_ACEOF
20658 /* confdefs.h. */
20659 _ACEOF
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20663
20664 /* Override any GCC internal prototype to avoid an error.
20665 Use char because int might match the return type of a GCC
20666 builtin and then its argument prototype would still apply. */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 char drand48 ();
20671 int
20672 main ()
20673 {
20674 return drand48 ();
20675 ;
20676 return 0;
20677 }
20678 _ACEOF
20679 rm -f conftest.$ac_objext conftest$ac_exeext
20680 if { (ac_try="$ac_link"
20681 case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20683 *) ac_try_echo=$ac_try;;
20684 esac
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_link") 2>conftest.er1
20687 ac_status=$?
20688 grep -v '^ *+' conftest.er1 >conftest.err
20689 rm -f conftest.er1
20690 cat conftest.err >&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest$ac_exeext &&
20696 $as_test_x conftest$ac_exeext; then
20697 ac_cv_lib_cExt_drand48=yes
20698 else
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.$ac_ext >&5
20701
20702 ac_cv_lib_cExt_drand48=no
20703 fi
20704
20705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20706 conftest$ac_exeext conftest.$ac_ext
20707 LIBS=$ac_check_lib_save_LIBS
20708 fi
20709 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
20710 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
20711 if test $ac_cv_lib_cExt_drand48 = yes; then
20712 LIBS="$LIBS -lcExt"
20713 fi
20714
20715 else
20716 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
20717 fi
20718 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
20719 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
20720 if test "${wx_cv_gccversion+set}" = set; then
20721 echo $ECHO_N "(cached) $ECHO_C" >&6
20722 else
20723
20724 if test "$cross_compiling" = yes; then
20725 wx_cv_gccversion="EMX2"
20726
20727 else
20728 cat >conftest.$ac_ext <<_ACEOF
20729 /* confdefs.h. */
20730 _ACEOF
20731 cat confdefs.h >>conftest.$ac_ext
20732 cat >>conftest.$ac_ext <<_ACEOF
20733 /* end confdefs.h. */
20734
20735 #include <stdio.h>
20736
20737 int main()
20738 {
20739 FILE *f=fopen("conftestval", "w");
20740 if (!f) exit(1);
20741 fprintf(f,
20742 #if (__GNUC__ < 3)
20743 "EMX2"
20744 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
20745 "EMX3"
20746 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
20747 "Innotek5"
20748 #else
20749 "Innotek6"
20750 #endif
20751 );
20752 exit(0);
20753 }
20754
20755 _ACEOF
20756 rm -f conftest$ac_exeext
20757 if { (ac_try="$ac_link"
20758 case "(($ac_try" in
20759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20760 *) ac_try_echo=$ac_try;;
20761 esac
20762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20763 (eval "$ac_link") 2>&5
20764 ac_status=$?
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20767 { (case "(($ac_try" in
20768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20769 *) ac_try_echo=$ac_try;;
20770 esac
20771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20772 (eval "$ac_try") 2>&5
20773 ac_status=$?
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); }; }; then
20776 wx_cv_gccversion=`cat conftestval`
20777 else
20778 echo "$as_me: program exited with status $ac_status" >&5
20779 echo "$as_me: failed program was:" >&5
20780 sed 's/^/| /' conftest.$ac_ext >&5
20781
20782 ( exit $ac_status )
20783 wx_cv_gccversion="EMX2"
20784 fi
20785 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20786 fi
20787
20788
20789
20790 fi
20791 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20792 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20793 if test "$wx_cv_gccversion" = "EMX2"; then
20794 LIBS="$LIBS -lstdcpp"
20795 LDFLAGS="$LDFLAGS -Zsysv-signals"
20796 else
20797 if test "$wx_cv_gccversion" = "EMX3"; then
20798 LIBS="$LIBS -lstdcxx -lgcc"
20799 LDFLAGS="$LDFLAGS -Zsysv-signals"
20800 else
20801 LIBS="$LIBS -lstdc++"
20802 fi
20803 fi
20804 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20805 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20806 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20807 wxUSE_OMF=yes
20808 enable_omf=yes
20809 fi
20810 ;;
20811 *)
20812
20813 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20814 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20815 if test "${ac_cv_string_strcasecmp+set}" = set; then
20816 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 else
20818
20819 cat >conftest.$ac_ext <<_ACEOF
20820 /* confdefs.h. */
20821 _ACEOF
20822 cat confdefs.h >>conftest.$ac_ext
20823 cat >>conftest.$ac_ext <<_ACEOF
20824 /* end confdefs.h. */
20825
20826 #include <string.h>
20827
20828 int
20829 main ()
20830 {
20831
20832 strcasecmp("foo", "bar");
20833
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext conftest$ac_exeext
20839 if { (ac_try="$ac_link"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_link") 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest$ac_exeext &&
20855 $as_test_x conftest$ac_exeext; then
20856 ac_cv_string_strcasecmp=yes
20857 else
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.$ac_ext >&5
20860
20861 ac_cv_string_strcasecmp=no
20862
20863 fi
20864
20865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20866 conftest$ac_exeext conftest.$ac_ext
20867
20868 fi
20869 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20870 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20871
20872 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20873 cat >>confdefs.h <<\_ACEOF
20874 #define HAVE_STRCASECMP_IN_STRING_H 1
20875 _ACEOF
20876
20877 else
20878 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20879 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20880 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20881 echo $ECHO_N "(cached) $ECHO_C" >&6
20882 else
20883
20884 cat >conftest.$ac_ext <<_ACEOF
20885 /* confdefs.h. */
20886 _ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890
20891 #include <strings.h>
20892
20893 int
20894 main ()
20895 {
20896
20897 strcasecmp("foo", "bar");
20898
20899 ;
20900 return 0;
20901 }
20902 _ACEOF
20903 rm -f conftest.$ac_objext conftest$ac_exeext
20904 if { (ac_try="$ac_link"
20905 case "(($ac_try" in
20906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20907 *) ac_try_echo=$ac_try;;
20908 esac
20909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20910 (eval "$ac_link") 2>conftest.er1
20911 ac_status=$?
20912 grep -v '^ *+' conftest.er1 >conftest.err
20913 rm -f conftest.er1
20914 cat conftest.err >&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); } && {
20917 test -z "$ac_c_werror_flag" ||
20918 test ! -s conftest.err
20919 } && test -s conftest$ac_exeext &&
20920 $as_test_x conftest$ac_exeext; then
20921 ac_cv_strings_strcasecmp=yes
20922 else
20923 echo "$as_me: failed program was:" >&5
20924 sed 's/^/| /' conftest.$ac_ext >&5
20925
20926 ac_cv_strings_strcasecmp=no
20927
20928 fi
20929
20930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20931 conftest$ac_exeext conftest.$ac_ext
20932
20933 fi
20934 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20935 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20936
20937 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20938 cat >>confdefs.h <<\_ACEOF
20939 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20940 _ACEOF
20941
20942 else
20943 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20944 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20945 { (exit 1); exit 1; }; }
20946 fi
20947 fi
20948
20949 ;;
20950 esac
20951
20952
20953 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20954 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20955 if test "${ac_cv_header_stdc+set}" = set; then
20956 echo $ECHO_N "(cached) $ECHO_C" >&6
20957 else
20958 cat >conftest.$ac_ext <<_ACEOF
20959 /* confdefs.h. */
20960 _ACEOF
20961 cat confdefs.h >>conftest.$ac_ext
20962 cat >>conftest.$ac_ext <<_ACEOF
20963 /* end confdefs.h. */
20964 #include <stdlib.h>
20965 #include <stdarg.h>
20966 #include <string.h>
20967 #include <float.h>
20968
20969 int
20970 main ()
20971 {
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_cv_header_stdc=yes
20995 else
20996 echo "$as_me: failed program was:" >&5
20997 sed 's/^/| /' conftest.$ac_ext >&5
20998
20999 ac_cv_header_stdc=no
21000 fi
21001
21002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21003
21004 if test $ac_cv_header_stdc = yes; then
21005 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21006 cat >conftest.$ac_ext <<_ACEOF
21007 /* confdefs.h. */
21008 _ACEOF
21009 cat confdefs.h >>conftest.$ac_ext
21010 cat >>conftest.$ac_ext <<_ACEOF
21011 /* end confdefs.h. */
21012 #include <string.h>
21013
21014 _ACEOF
21015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21016 $EGREP "memchr" >/dev/null 2>&1; then
21017 :
21018 else
21019 ac_cv_header_stdc=no
21020 fi
21021 rm -f conftest*
21022
21023 fi
21024
21025 if test $ac_cv_header_stdc = yes; then
21026 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21027 cat >conftest.$ac_ext <<_ACEOF
21028 /* confdefs.h. */
21029 _ACEOF
21030 cat confdefs.h >>conftest.$ac_ext
21031 cat >>conftest.$ac_ext <<_ACEOF
21032 /* end confdefs.h. */
21033 #include <stdlib.h>
21034
21035 _ACEOF
21036 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21037 $EGREP "free" >/dev/null 2>&1; then
21038 :
21039 else
21040 ac_cv_header_stdc=no
21041 fi
21042 rm -f conftest*
21043
21044 fi
21045
21046 if test $ac_cv_header_stdc = yes; then
21047 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21048 if test "$cross_compiling" = yes; then
21049 :
21050 else
21051 cat >conftest.$ac_ext <<_ACEOF
21052 /* confdefs.h. */
21053 _ACEOF
21054 cat confdefs.h >>conftest.$ac_ext
21055 cat >>conftest.$ac_ext <<_ACEOF
21056 /* end confdefs.h. */
21057 #include <ctype.h>
21058 #include <stdlib.h>
21059 #if ((' ' & 0x0FF) == 0x020)
21060 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21061 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21062 #else
21063 # define ISLOWER(c) \
21064 (('a' <= (c) && (c) <= 'i') \
21065 || ('j' <= (c) && (c) <= 'r') \
21066 || ('s' <= (c) && (c) <= 'z'))
21067 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21068 #endif
21069
21070 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21071 int
21072 main ()
21073 {
21074 int i;
21075 for (i = 0; i < 256; i++)
21076 if (XOR (islower (i), ISLOWER (i))
21077 || toupper (i) != TOUPPER (i))
21078 return 2;
21079 return 0;
21080 }
21081 _ACEOF
21082 rm -f conftest$ac_exeext
21083 if { (ac_try="$ac_link"
21084 case "(($ac_try" in
21085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21086 *) ac_try_echo=$ac_try;;
21087 esac
21088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21089 (eval "$ac_link") 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21093 { (case "(($ac_try" in
21094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21095 *) ac_try_echo=$ac_try;;
21096 esac
21097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21098 (eval "$ac_try") 2>&5
21099 ac_status=$?
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then
21102 :
21103 else
21104 echo "$as_me: program exited with status $ac_status" >&5
21105 echo "$as_me: failed program was:" >&5
21106 sed 's/^/| /' conftest.$ac_ext >&5
21107
21108 ( exit $ac_status )
21109 ac_cv_header_stdc=no
21110 fi
21111 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21112 fi
21113
21114
21115 fi
21116 fi
21117 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
21118 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
21119 if test $ac_cv_header_stdc = yes; then
21120
21121 cat >>confdefs.h <<\_ACEOF
21122 #define STDC_HEADERS 1
21123 _ACEOF
21124
21125 fi
21126
21127 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
21138 inttypes.h stdint.h unistd.h
21139 do
21140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21141 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21142 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21143 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21144 echo $ECHO_N "(cached) $ECHO_C" >&6
21145 else
21146 cat >conftest.$ac_ext <<_ACEOF
21147 /* confdefs.h. */
21148 _ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 $ac_includes_default
21153
21154 #include <$ac_header>
21155 _ACEOF
21156 rm -f conftest.$ac_objext
21157 if { (ac_try="$ac_compile"
21158 case "(($ac_try" in
21159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21160 *) ac_try_echo=$ac_try;;
21161 esac
21162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21163 (eval "$ac_compile") 2>conftest.er1
21164 ac_status=$?
21165 grep -v '^ *+' conftest.er1 >conftest.err
21166 rm -f conftest.er1
21167 cat conftest.err >&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } && {
21170 test -z "$ac_c_werror_flag" ||
21171 test ! -s conftest.err
21172 } && test -s conftest.$ac_objext; then
21173 eval "$as_ac_Header=yes"
21174 else
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21177
21178 eval "$as_ac_Header=no"
21179 fi
21180
21181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21182 fi
21183 ac_res=`eval echo '${'$as_ac_Header'}'`
21184 { echo "$as_me:$LINENO: result: $ac_res" >&5
21185 echo "${ECHO_T}$ac_res" >&6; }
21186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21187 cat >>confdefs.h <<_ACEOF
21188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21189 _ACEOF
21190
21191 fi
21192
21193 done
21194
21195
21196
21197
21198
21199
21200
21201
21202 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
21203 do
21204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21205 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21208 echo $ECHO_N "(cached) $ECHO_C" >&6
21209 else
21210 cat >conftest.$ac_ext <<_ACEOF
21211 /* confdefs.h. */
21212 _ACEOF
21213 cat confdefs.h >>conftest.$ac_ext
21214 cat >>conftest.$ac_ext <<_ACEOF
21215 /* end confdefs.h. */
21216 $ac_includes_default
21217
21218 #include <$ac_header>
21219 _ACEOF
21220 rm -f conftest.$ac_objext
21221 if { (ac_try="$ac_compile"
21222 case "(($ac_try" in
21223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21224 *) ac_try_echo=$ac_try;;
21225 esac
21226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21227 (eval "$ac_compile") 2>conftest.er1
21228 ac_status=$?
21229 grep -v '^ *+' conftest.er1 >conftest.err
21230 rm -f conftest.er1
21231 cat conftest.err >&5
21232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21233 (exit $ac_status); } && {
21234 test -z "$ac_c_werror_flag" ||
21235 test ! -s conftest.err
21236 } && test -s conftest.$ac_objext; then
21237 eval "$as_ac_Header=yes"
21238 else
21239 echo "$as_me: failed program was:" >&5
21240 sed 's/^/| /' conftest.$ac_ext >&5
21241
21242 eval "$as_ac_Header=no"
21243 fi
21244
21245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21246 fi
21247 ac_res=`eval echo '${'$as_ac_Header'}'`
21248 { echo "$as_me:$LINENO: result: $ac_res" >&5
21249 echo "${ECHO_T}$ac_res" >&6; }
21250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21251 cat >>confdefs.h <<_ACEOF
21252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21253 _ACEOF
21254
21255 fi
21256
21257 done
21258
21259
21260 if test "$ac_cv_header_wchar_h" != "yes"; then
21261
21262 for ac_header in wcstr.h
21263 do
21264 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21265 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21268 echo $ECHO_N "(cached) $ECHO_C" >&6
21269 else
21270 cat >conftest.$ac_ext <<_ACEOF
21271 /* confdefs.h. */
21272 _ACEOF
21273 cat confdefs.h >>conftest.$ac_ext
21274 cat >>conftest.$ac_ext <<_ACEOF
21275 /* end confdefs.h. */
21276 $ac_includes_default
21277
21278 #include <$ac_header>
21279 _ACEOF
21280 rm -f conftest.$ac_objext
21281 if { (ac_try="$ac_compile"
21282 case "(($ac_try" in
21283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21284 *) ac_try_echo=$ac_try;;
21285 esac
21286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21287 (eval "$ac_compile") 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } && {
21294 test -z "$ac_c_werror_flag" ||
21295 test ! -s conftest.err
21296 } && test -s conftest.$ac_objext; then
21297 eval "$as_ac_Header=yes"
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21301
21302 eval "$as_ac_Header=no"
21303 fi
21304
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 fi
21307 ac_res=`eval echo '${'$as_ac_Header'}'`
21308 { echo "$as_me:$LINENO: result: $ac_res" >&5
21309 echo "${ECHO_T}$ac_res" >&6; }
21310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21311 cat >>confdefs.h <<_ACEOF
21312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21313 _ACEOF
21314
21315 fi
21316
21317 done
21318
21319 fi
21320
21321 case "${host}" in
21322 *-pc-os2_emx | *-pc-os2-emx )
21323 if test $ac_cv_header_langinfo_h = "yes" \
21324 -a \( "$wx_cv_gccversion" = "EMX2" \
21325 -o "$wx_cv_gccversion" = "EMX3" \
21326 -o "$wx_cv_gccversion" = "Innotek5" \); then
21327 LIBS="$LIBS -lintl"
21328 fi
21329 ;;
21330 esac
21331
21332 if test "$USE_UNIX" = 1 ; then
21333
21334 for ac_header in sys/select.h
21335 do
21336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21337 { echo "$as_me:$LINENO: checking for $ac_header" >&5
21338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
21339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
21340 echo $ECHO_N "(cached) $ECHO_C" >&6
21341 else
21342 cat >conftest.$ac_ext <<_ACEOF
21343 /* confdefs.h. */
21344 _ACEOF
21345 cat confdefs.h >>conftest.$ac_ext
21346 cat >>conftest.$ac_ext <<_ACEOF
21347 /* end confdefs.h. */
21348 $ac_includes_default
21349
21350 #include <$ac_header>
21351 _ACEOF
21352 rm -f conftest.$ac_objext
21353 if { (ac_try="$ac_compile"
21354 case "(($ac_try" in
21355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21356 *) ac_try_echo=$ac_try;;
21357 esac
21358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21359 (eval "$ac_compile") 2>conftest.er1
21360 ac_status=$?
21361 grep -v '^ *+' conftest.er1 >conftest.err
21362 rm -f conftest.er1
21363 cat conftest.err >&5
21364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21365 (exit $ac_status); } && {
21366 test -z "$ac_c_werror_flag" ||
21367 test ! -s conftest.err
21368 } && test -s conftest.$ac_objext; then
21369 eval "$as_ac_Header=yes"
21370 else
21371 echo "$as_me: failed program was:" >&5
21372 sed 's/^/| /' conftest.$ac_ext >&5
21373
21374 eval "$as_ac_Header=no"
21375 fi
21376
21377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21378 fi
21379 ac_res=`eval echo '${'$as_ac_Header'}'`
21380 { echo "$as_me:$LINENO: result: $ac_res" >&5
21381 echo "${ECHO_T}$ac_res" >&6; }
21382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21383 cat >>confdefs.h <<_ACEOF
21384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21385 _ACEOF
21386
21387 fi
21388
21389 done
21390
21391 fi
21392
21393
21394 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
21395 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
21396 if test "${ac_cv_c_const+set}" = set; then
21397 echo $ECHO_N "(cached) $ECHO_C" >&6
21398 else
21399 cat >conftest.$ac_ext <<_ACEOF
21400 /* confdefs.h. */
21401 _ACEOF
21402 cat confdefs.h >>conftest.$ac_ext
21403 cat >>conftest.$ac_ext <<_ACEOF
21404 /* end confdefs.h. */
21405
21406 int
21407 main ()
21408 {
21409 /* FIXME: Include the comments suggested by Paul. */
21410 #ifndef __cplusplus
21411 /* Ultrix mips cc rejects this. */
21412 typedef int charset[2];
21413 const charset cs;
21414 /* SunOS 4.1.1 cc rejects this. */
21415 char const *const *pcpcc;
21416 char **ppc;
21417 /* NEC SVR4.0.2 mips cc rejects this. */
21418 struct point {int x, y;};
21419 static struct point const zero = {0,0};
21420 /* AIX XL C 1.02.0.0 rejects this.
21421 It does not let you subtract one const X* pointer from another in
21422 an arm of an if-expression whose if-part is not a constant
21423 expression */
21424 const char *g = "string";
21425 pcpcc = &g + (g ? g-g : 0);
21426 /* HPUX 7.0 cc rejects these. */
21427 ++pcpcc;
21428 ppc = (char**) pcpcc;
21429 pcpcc = (char const *const *) ppc;
21430 { /* SCO 3.2v4 cc rejects this. */
21431 char *t;
21432 char const *s = 0 ? (char *) 0 : (char const *) 0;
21433
21434 *t++ = 0;
21435 if (s) return 0;
21436 }
21437 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
21438 int x[] = {25, 17};
21439 const int *foo = &x[0];
21440 ++foo;
21441 }
21442 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
21443 typedef const int *iptr;
21444 iptr p = 0;
21445 ++p;
21446 }
21447 { /* AIX XL C 1.02.0.0 rejects this saying
21448 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
21449 struct s { int j; const int *ap[3]; };
21450 struct s *b; b->j = 5;
21451 }
21452 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
21453 const int foo = 10;
21454 if (!foo) return 0;
21455 }
21456 return !cs[0] && !zero.x;
21457 #endif
21458
21459 ;
21460 return 0;
21461 }
21462 _ACEOF
21463 rm -f conftest.$ac_objext
21464 if { (ac_try="$ac_compile"
21465 case "(($ac_try" in
21466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21467 *) ac_try_echo=$ac_try;;
21468 esac
21469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21470 (eval "$ac_compile") 2>conftest.er1
21471 ac_status=$?
21472 grep -v '^ *+' conftest.er1 >conftest.err
21473 rm -f conftest.er1
21474 cat conftest.err >&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); } && {
21477 test -z "$ac_c_werror_flag" ||
21478 test ! -s conftest.err
21479 } && test -s conftest.$ac_objext; then
21480 ac_cv_c_const=yes
21481 else
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.$ac_ext >&5
21484
21485 ac_cv_c_const=no
21486 fi
21487
21488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21489 fi
21490 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
21491 echo "${ECHO_T}$ac_cv_c_const" >&6; }
21492 if test $ac_cv_c_const = no; then
21493
21494 cat >>confdefs.h <<\_ACEOF
21495 #define const
21496 _ACEOF
21497
21498 fi
21499
21500 { echo "$as_me:$LINENO: checking for inline" >&5
21501 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
21502 if test "${ac_cv_c_inline+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21504 else
21505 ac_cv_c_inline=no
21506 for ac_kw in inline __inline__ __inline; do
21507 cat >conftest.$ac_ext <<_ACEOF
21508 /* confdefs.h. */
21509 _ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 #ifndef __cplusplus
21514 typedef int foo_t;
21515 static $ac_kw foo_t static_foo () {return 0; }
21516 $ac_kw foo_t foo () {return 0; }
21517 #endif
21518
21519 _ACEOF
21520 rm -f conftest.$ac_objext
21521 if { (ac_try="$ac_compile"
21522 case "(($ac_try" in
21523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21524 *) ac_try_echo=$ac_try;;
21525 esac
21526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21527 (eval "$ac_compile") 2>conftest.er1
21528 ac_status=$?
21529 grep -v '^ *+' conftest.er1 >conftest.err
21530 rm -f conftest.er1
21531 cat conftest.err >&5
21532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21533 (exit $ac_status); } && {
21534 test -z "$ac_c_werror_flag" ||
21535 test ! -s conftest.err
21536 } && test -s conftest.$ac_objext; then
21537 ac_cv_c_inline=$ac_kw
21538 else
21539 echo "$as_me: failed program was:" >&5
21540 sed 's/^/| /' conftest.$ac_ext >&5
21541
21542
21543 fi
21544
21545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21546 test "$ac_cv_c_inline" != no && break
21547 done
21548
21549 fi
21550 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
21551 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
21552
21553
21554 case $ac_cv_c_inline in
21555 inline | yes) ;;
21556 *)
21557 case $ac_cv_c_inline in
21558 no) ac_val=;;
21559 *) ac_val=$ac_cv_c_inline;;
21560 esac
21561 cat >>confdefs.h <<_ACEOF
21562 #ifndef __cplusplus
21563 #define inline $ac_val
21564 #endif
21565 _ACEOF
21566 ;;
21567 esac
21568
21569
21570 { echo "$as_me:$LINENO: checking for short" >&5
21571 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
21572 if test "${ac_cv_type_short+set}" = set; then
21573 echo $ECHO_N "(cached) $ECHO_C" >&6
21574 else
21575 cat >conftest.$ac_ext <<_ACEOF
21576 /* confdefs.h. */
21577 _ACEOF
21578 cat confdefs.h >>conftest.$ac_ext
21579 cat >>conftest.$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21582 typedef short ac__type_new_;
21583 int
21584 main ()
21585 {
21586 if ((ac__type_new_ *) 0)
21587 return 0;
21588 if (sizeof (ac__type_new_))
21589 return 0;
21590 ;
21591 return 0;
21592 }
21593 _ACEOF
21594 rm -f conftest.$ac_objext
21595 if { (ac_try="$ac_compile"
21596 case "(($ac_try" in
21597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21598 *) ac_try_echo=$ac_try;;
21599 esac
21600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21601 (eval "$ac_compile") 2>conftest.er1
21602 ac_status=$?
21603 grep -v '^ *+' conftest.er1 >conftest.err
21604 rm -f conftest.er1
21605 cat conftest.err >&5
21606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21607 (exit $ac_status); } && {
21608 test -z "$ac_c_werror_flag" ||
21609 test ! -s conftest.err
21610 } && test -s conftest.$ac_objext; then
21611 ac_cv_type_short=yes
21612 else
21613 echo "$as_me: failed program was:" >&5
21614 sed 's/^/| /' conftest.$ac_ext >&5
21615
21616 ac_cv_type_short=no
21617 fi
21618
21619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21620 fi
21621 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
21622 echo "${ECHO_T}$ac_cv_type_short" >&6; }
21623
21624 # The cast to long int works around a bug in the HP C Compiler
21625 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21626 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21627 # This bug is HP SR number 8606223364.
21628 { echo "$as_me:$LINENO: checking size of short" >&5
21629 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
21630 if test "${ac_cv_sizeof_short+set}" = set; then
21631 echo $ECHO_N "(cached) $ECHO_C" >&6
21632 else
21633 if test "$cross_compiling" = yes; then
21634 # Depending upon the size, compute the lo and hi bounds.
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 typedef short ac__type_sizeof_;
21643 int
21644 main ()
21645 {
21646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21647 test_array [0] = 0
21648
21649 ;
21650 return 0;
21651 }
21652 _ACEOF
21653 rm -f conftest.$ac_objext
21654 if { (ac_try="$ac_compile"
21655 case "(($ac_try" in
21656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21657 *) ac_try_echo=$ac_try;;
21658 esac
21659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21660 (eval "$ac_compile") 2>conftest.er1
21661 ac_status=$?
21662 grep -v '^ *+' conftest.er1 >conftest.err
21663 rm -f conftest.er1
21664 cat conftest.err >&5
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); } && {
21667 test -z "$ac_c_werror_flag" ||
21668 test ! -s conftest.err
21669 } && test -s conftest.$ac_objext; then
21670 ac_lo=0 ac_mid=0
21671 while :; do
21672 cat >conftest.$ac_ext <<_ACEOF
21673 /* confdefs.h. */
21674 _ACEOF
21675 cat confdefs.h >>conftest.$ac_ext
21676 cat >>conftest.$ac_ext <<_ACEOF
21677 /* end confdefs.h. */
21678 $ac_includes_default
21679 typedef short ac__type_sizeof_;
21680 int
21681 main ()
21682 {
21683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21684 test_array [0] = 0
21685
21686 ;
21687 return 0;
21688 }
21689 _ACEOF
21690 rm -f conftest.$ac_objext
21691 if { (ac_try="$ac_compile"
21692 case "(($ac_try" in
21693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21694 *) ac_try_echo=$ac_try;;
21695 esac
21696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21697 (eval "$ac_compile") 2>conftest.er1
21698 ac_status=$?
21699 grep -v '^ *+' conftest.er1 >conftest.err
21700 rm -f conftest.er1
21701 cat conftest.err >&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } && {
21704 test -z "$ac_c_werror_flag" ||
21705 test ! -s conftest.err
21706 } && test -s conftest.$ac_objext; then
21707 ac_hi=$ac_mid; break
21708 else
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21711
21712 ac_lo=`expr $ac_mid + 1`
21713 if test $ac_lo -le $ac_mid; then
21714 ac_lo= ac_hi=
21715 break
21716 fi
21717 ac_mid=`expr 2 '*' $ac_mid + 1`
21718 fi
21719
21720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21721 done
21722 else
21723 echo "$as_me: failed program was:" >&5
21724 sed 's/^/| /' conftest.$ac_ext >&5
21725
21726 cat >conftest.$ac_ext <<_ACEOF
21727 /* confdefs.h. */
21728 _ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 $ac_includes_default
21733 typedef short ac__type_sizeof_;
21734 int
21735 main ()
21736 {
21737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21738 test_array [0] = 0
21739
21740 ;
21741 return 0;
21742 }
21743 _ACEOF
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21749 esac
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21752 ac_status=$?
21753 grep -v '^ *+' conftest.er1 >conftest.err
21754 rm -f conftest.er1
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } && {
21758 test -z "$ac_c_werror_flag" ||
21759 test ! -s conftest.err
21760 } && test -s conftest.$ac_objext; then
21761 ac_hi=-1 ac_mid=-1
21762 while :; do
21763 cat >conftest.$ac_ext <<_ACEOF
21764 /* confdefs.h. */
21765 _ACEOF
21766 cat confdefs.h >>conftest.$ac_ext
21767 cat >>conftest.$ac_ext <<_ACEOF
21768 /* end confdefs.h. */
21769 $ac_includes_default
21770 typedef short ac__type_sizeof_;
21771 int
21772 main ()
21773 {
21774 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21775 test_array [0] = 0
21776
21777 ;
21778 return 0;
21779 }
21780 _ACEOF
21781 rm -f conftest.$ac_objext
21782 if { (ac_try="$ac_compile"
21783 case "(($ac_try" in
21784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21785 *) ac_try_echo=$ac_try;;
21786 esac
21787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21788 (eval "$ac_compile") 2>conftest.er1
21789 ac_status=$?
21790 grep -v '^ *+' conftest.er1 >conftest.err
21791 rm -f conftest.er1
21792 cat conftest.err >&5
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); } && {
21795 test -z "$ac_c_werror_flag" ||
21796 test ! -s conftest.err
21797 } && test -s conftest.$ac_objext; then
21798 ac_lo=$ac_mid; break
21799 else
21800 echo "$as_me: failed program was:" >&5
21801 sed 's/^/| /' conftest.$ac_ext >&5
21802
21803 ac_hi=`expr '(' $ac_mid ')' - 1`
21804 if test $ac_mid -le $ac_hi; then
21805 ac_lo= ac_hi=
21806 break
21807 fi
21808 ac_mid=`expr 2 '*' $ac_mid`
21809 fi
21810
21811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21812 done
21813 else
21814 echo "$as_me: failed program was:" >&5
21815 sed 's/^/| /' conftest.$ac_ext >&5
21816
21817 ac_lo= ac_hi=
21818 fi
21819
21820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21821 fi
21822
21823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21824 # Binary search between lo and hi bounds.
21825 while test "x$ac_lo" != "x$ac_hi"; do
21826 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21827 cat >conftest.$ac_ext <<_ACEOF
21828 /* confdefs.h. */
21829 _ACEOF
21830 cat confdefs.h >>conftest.$ac_ext
21831 cat >>conftest.$ac_ext <<_ACEOF
21832 /* end confdefs.h. */
21833 $ac_includes_default
21834 typedef short ac__type_sizeof_;
21835 int
21836 main ()
21837 {
21838 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21839 test_array [0] = 0
21840
21841 ;
21842 return 0;
21843 }
21844 _ACEOF
21845 rm -f conftest.$ac_objext
21846 if { (ac_try="$ac_compile"
21847 case "(($ac_try" in
21848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21849 *) ac_try_echo=$ac_try;;
21850 esac
21851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21852 (eval "$ac_compile") 2>conftest.er1
21853 ac_status=$?
21854 grep -v '^ *+' conftest.er1 >conftest.err
21855 rm -f conftest.er1
21856 cat conftest.err >&5
21857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858 (exit $ac_status); } && {
21859 test -z "$ac_c_werror_flag" ||
21860 test ! -s conftest.err
21861 } && test -s conftest.$ac_objext; then
21862 ac_hi=$ac_mid
21863 else
21864 echo "$as_me: failed program was:" >&5
21865 sed 's/^/| /' conftest.$ac_ext >&5
21866
21867 ac_lo=`expr '(' $ac_mid ')' + 1`
21868 fi
21869
21870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21871 done
21872 case $ac_lo in
21873 ?*) ac_cv_sizeof_short=$ac_lo;;
21874 '') if test "$ac_cv_type_short" = yes; then
21875 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21876 See \`config.log' for more details." >&5
21877 echo "$as_me: error: cannot compute sizeof (short)
21878 See \`config.log' for more details." >&2;}
21879 { (exit 77); exit 77; }; }
21880 else
21881 ac_cv_sizeof_short=0
21882 fi ;;
21883 esac
21884 else
21885 cat >conftest.$ac_ext <<_ACEOF
21886 /* confdefs.h. */
21887 _ACEOF
21888 cat confdefs.h >>conftest.$ac_ext
21889 cat >>conftest.$ac_ext <<_ACEOF
21890 /* end confdefs.h. */
21891 $ac_includes_default
21892 typedef short ac__type_sizeof_;
21893 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21894 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21895 #include <stdio.h>
21896 #include <stdlib.h>
21897 int
21898 main ()
21899 {
21900
21901 FILE *f = fopen ("conftest.val", "w");
21902 if (! f)
21903 return 1;
21904 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21905 {
21906 long int i = longval ();
21907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21908 return 1;
21909 fprintf (f, "%ld\n", i);
21910 }
21911 else
21912 {
21913 unsigned long int i = ulongval ();
21914 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21915 return 1;
21916 fprintf (f, "%lu\n", i);
21917 }
21918 return ferror (f) || fclose (f) != 0;
21919
21920 ;
21921 return 0;
21922 }
21923 _ACEOF
21924 rm -f conftest$ac_exeext
21925 if { (ac_try="$ac_link"
21926 case "(($ac_try" in
21927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21928 *) ac_try_echo=$ac_try;;
21929 esac
21930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21931 (eval "$ac_link") 2>&5
21932 ac_status=$?
21933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21934 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21935 { (case "(($ac_try" in
21936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937 *) ac_try_echo=$ac_try;;
21938 esac
21939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21940 (eval "$ac_try") 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; }; then
21944 ac_cv_sizeof_short=`cat conftest.val`
21945 else
21946 echo "$as_me: program exited with status $ac_status" >&5
21947 echo "$as_me: failed program was:" >&5
21948 sed 's/^/| /' conftest.$ac_ext >&5
21949
21950 ( exit $ac_status )
21951 if test "$ac_cv_type_short" = yes; then
21952 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21953 See \`config.log' for more details." >&5
21954 echo "$as_me: error: cannot compute sizeof (short)
21955 See \`config.log' for more details." >&2;}
21956 { (exit 77); exit 77; }; }
21957 else
21958 ac_cv_sizeof_short=0
21959 fi
21960 fi
21961 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21962 fi
21963 rm -f conftest.val
21964 fi
21965 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21966 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21967
21968
21969
21970 cat >>confdefs.h <<_ACEOF
21971 #define SIZEOF_SHORT $ac_cv_sizeof_short
21972 _ACEOF
21973
21974
21975 { echo "$as_me:$LINENO: checking for void *" >&5
21976 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21977 if test "${ac_cv_type_void_p+set}" = set; then
21978 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 else
21980 cat >conftest.$ac_ext <<_ACEOF
21981 /* confdefs.h. */
21982 _ACEOF
21983 cat confdefs.h >>conftest.$ac_ext
21984 cat >>conftest.$ac_ext <<_ACEOF
21985 /* end confdefs.h. */
21986 $ac_includes_default
21987 typedef void * ac__type_new_;
21988 int
21989 main ()
21990 {
21991 if ((ac__type_new_ *) 0)
21992 return 0;
21993 if (sizeof (ac__type_new_))
21994 return 0;
21995 ;
21996 return 0;
21997 }
21998 _ACEOF
21999 rm -f conftest.$ac_objext
22000 if { (ac_try="$ac_compile"
22001 case "(($ac_try" in
22002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22003 *) ac_try_echo=$ac_try;;
22004 esac
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_compile") 2>conftest.er1
22007 ac_status=$?
22008 grep -v '^ *+' conftest.er1 >conftest.err
22009 rm -f conftest.er1
22010 cat conftest.err >&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } && {
22013 test -z "$ac_c_werror_flag" ||
22014 test ! -s conftest.err
22015 } && test -s conftest.$ac_objext; then
22016 ac_cv_type_void_p=yes
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22020
22021 ac_cv_type_void_p=no
22022 fi
22023
22024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22025 fi
22026 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
22027 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
22028
22029 # The cast to long int works around a bug in the HP C Compiler
22030 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22031 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22032 # This bug is HP SR number 8606223364.
22033 { echo "$as_me:$LINENO: checking size of void *" >&5
22034 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
22035 if test "${ac_cv_sizeof_void_p+set}" = set; then
22036 echo $ECHO_N "(cached) $ECHO_C" >&6
22037 else
22038 if test "$cross_compiling" = yes; then
22039 # Depending upon the size, compute the lo and hi bounds.
22040 cat >conftest.$ac_ext <<_ACEOF
22041 /* confdefs.h. */
22042 _ACEOF
22043 cat confdefs.h >>conftest.$ac_ext
22044 cat >>conftest.$ac_ext <<_ACEOF
22045 /* end confdefs.h. */
22046 $ac_includes_default
22047 typedef void * ac__type_sizeof_;
22048 int
22049 main ()
22050 {
22051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22052 test_array [0] = 0
22053
22054 ;
22055 return 0;
22056 }
22057 _ACEOF
22058 rm -f conftest.$ac_objext
22059 if { (ac_try="$ac_compile"
22060 case "(($ac_try" in
22061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22062 *) ac_try_echo=$ac_try;;
22063 esac
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_compile") 2>conftest.er1
22066 ac_status=$?
22067 grep -v '^ *+' conftest.er1 >conftest.err
22068 rm -f conftest.er1
22069 cat conftest.err >&5
22070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22071 (exit $ac_status); } && {
22072 test -z "$ac_c_werror_flag" ||
22073 test ! -s conftest.err
22074 } && test -s conftest.$ac_objext; then
22075 ac_lo=0 ac_mid=0
22076 while :; do
22077 cat >conftest.$ac_ext <<_ACEOF
22078 /* confdefs.h. */
22079 _ACEOF
22080 cat confdefs.h >>conftest.$ac_ext
22081 cat >>conftest.$ac_ext <<_ACEOF
22082 /* end confdefs.h. */
22083 $ac_includes_default
22084 typedef void * ac__type_sizeof_;
22085 int
22086 main ()
22087 {
22088 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22089 test_array [0] = 0
22090
22091 ;
22092 return 0;
22093 }
22094 _ACEOF
22095 rm -f conftest.$ac_objext
22096 if { (ac_try="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22100 esac
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22103 ac_status=$?
22104 grep -v '^ *+' conftest.er1 >conftest.err
22105 rm -f conftest.er1
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } && {
22109 test -z "$ac_c_werror_flag" ||
22110 test ! -s conftest.err
22111 } && test -s conftest.$ac_objext; then
22112 ac_hi=$ac_mid; break
22113 else
22114 echo "$as_me: failed program was:" >&5
22115 sed 's/^/| /' conftest.$ac_ext >&5
22116
22117 ac_lo=`expr $ac_mid + 1`
22118 if test $ac_lo -le $ac_mid; then
22119 ac_lo= ac_hi=
22120 break
22121 fi
22122 ac_mid=`expr 2 '*' $ac_mid + 1`
22123 fi
22124
22125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22126 done
22127 else
22128 echo "$as_me: failed program was:" >&5
22129 sed 's/^/| /' conftest.$ac_ext >&5
22130
22131 cat >conftest.$ac_ext <<_ACEOF
22132 /* confdefs.h. */
22133 _ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22137 $ac_includes_default
22138 typedef void * ac__type_sizeof_;
22139 int
22140 main ()
22141 {
22142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22143 test_array [0] = 0
22144
22145 ;
22146 return 0;
22147 }
22148 _ACEOF
22149 rm -f conftest.$ac_objext
22150 if { (ac_try="$ac_compile"
22151 case "(($ac_try" in
22152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22153 *) ac_try_echo=$ac_try;;
22154 esac
22155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22156 (eval "$ac_compile") 2>conftest.er1
22157 ac_status=$?
22158 grep -v '^ *+' conftest.er1 >conftest.err
22159 rm -f conftest.er1
22160 cat conftest.err >&5
22161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22162 (exit $ac_status); } && {
22163 test -z "$ac_c_werror_flag" ||
22164 test ! -s conftest.err
22165 } && test -s conftest.$ac_objext; then
22166 ac_hi=-1 ac_mid=-1
22167 while :; do
22168 cat >conftest.$ac_ext <<_ACEOF
22169 /* confdefs.h. */
22170 _ACEOF
22171 cat confdefs.h >>conftest.$ac_ext
22172 cat >>conftest.$ac_ext <<_ACEOF
22173 /* end confdefs.h. */
22174 $ac_includes_default
22175 typedef void * ac__type_sizeof_;
22176 int
22177 main ()
22178 {
22179 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22180 test_array [0] = 0
22181
22182 ;
22183 return 0;
22184 }
22185 _ACEOF
22186 rm -f conftest.$ac_objext
22187 if { (ac_try="$ac_compile"
22188 case "(($ac_try" in
22189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22190 *) ac_try_echo=$ac_try;;
22191 esac
22192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22193 (eval "$ac_compile") 2>conftest.er1
22194 ac_status=$?
22195 grep -v '^ *+' conftest.er1 >conftest.err
22196 rm -f conftest.er1
22197 cat conftest.err >&5
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); } && {
22200 test -z "$ac_c_werror_flag" ||
22201 test ! -s conftest.err
22202 } && test -s conftest.$ac_objext; then
22203 ac_lo=$ac_mid; break
22204 else
22205 echo "$as_me: failed program was:" >&5
22206 sed 's/^/| /' conftest.$ac_ext >&5
22207
22208 ac_hi=`expr '(' $ac_mid ')' - 1`
22209 if test $ac_mid -le $ac_hi; then
22210 ac_lo= ac_hi=
22211 break
22212 fi
22213 ac_mid=`expr 2 '*' $ac_mid`
22214 fi
22215
22216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22217 done
22218 else
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22221
22222 ac_lo= ac_hi=
22223 fi
22224
22225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22226 fi
22227
22228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22229 # Binary search between lo and hi bounds.
22230 while test "x$ac_lo" != "x$ac_hi"; do
22231 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22232 cat >conftest.$ac_ext <<_ACEOF
22233 /* confdefs.h. */
22234 _ACEOF
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 $ac_includes_default
22239 typedef void * ac__type_sizeof_;
22240 int
22241 main ()
22242 {
22243 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22244 test_array [0] = 0
22245
22246 ;
22247 return 0;
22248 }
22249 _ACEOF
22250 rm -f conftest.$ac_objext
22251 if { (ac_try="$ac_compile"
22252 case "(($ac_try" in
22253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22254 *) ac_try_echo=$ac_try;;
22255 esac
22256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22257 (eval "$ac_compile") 2>conftest.er1
22258 ac_status=$?
22259 grep -v '^ *+' conftest.er1 >conftest.err
22260 rm -f conftest.er1
22261 cat conftest.err >&5
22262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22263 (exit $ac_status); } && {
22264 test -z "$ac_c_werror_flag" ||
22265 test ! -s conftest.err
22266 } && test -s conftest.$ac_objext; then
22267 ac_hi=$ac_mid
22268 else
22269 echo "$as_me: failed program was:" >&5
22270 sed 's/^/| /' conftest.$ac_ext >&5
22271
22272 ac_lo=`expr '(' $ac_mid ')' + 1`
22273 fi
22274
22275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22276 done
22277 case $ac_lo in
22278 ?*) ac_cv_sizeof_void_p=$ac_lo;;
22279 '') if test "$ac_cv_type_void_p" = yes; then
22280 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22281 See \`config.log' for more details." >&5
22282 echo "$as_me: error: cannot compute sizeof (void *)
22283 See \`config.log' for more details." >&2;}
22284 { (exit 77); exit 77; }; }
22285 else
22286 ac_cv_sizeof_void_p=0
22287 fi ;;
22288 esac
22289 else
22290 cat >conftest.$ac_ext <<_ACEOF
22291 /* confdefs.h. */
22292 _ACEOF
22293 cat confdefs.h >>conftest.$ac_ext
22294 cat >>conftest.$ac_ext <<_ACEOF
22295 /* end confdefs.h. */
22296 $ac_includes_default
22297 typedef void * ac__type_sizeof_;
22298 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22299 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22300 #include <stdio.h>
22301 #include <stdlib.h>
22302 int
22303 main ()
22304 {
22305
22306 FILE *f = fopen ("conftest.val", "w");
22307 if (! f)
22308 return 1;
22309 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22310 {
22311 long int i = longval ();
22312 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22313 return 1;
22314 fprintf (f, "%ld\n", i);
22315 }
22316 else
22317 {
22318 unsigned long int i = ulongval ();
22319 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22320 return 1;
22321 fprintf (f, "%lu\n", i);
22322 }
22323 return ferror (f) || fclose (f) != 0;
22324
22325 ;
22326 return 0;
22327 }
22328 _ACEOF
22329 rm -f conftest$ac_exeext
22330 if { (ac_try="$ac_link"
22331 case "(($ac_try" in
22332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22333 *) ac_try_echo=$ac_try;;
22334 esac
22335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22336 (eval "$ac_link") 2>&5
22337 ac_status=$?
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22340 { (case "(($ac_try" in
22341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22342 *) ac_try_echo=$ac_try;;
22343 esac
22344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22345 (eval "$ac_try") 2>&5
22346 ac_status=$?
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 ac_cv_sizeof_void_p=`cat conftest.val`
22350 else
22351 echo "$as_me: program exited with status $ac_status" >&5
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.$ac_ext >&5
22354
22355 ( exit $ac_status )
22356 if test "$ac_cv_type_void_p" = yes; then
22357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
22358 See \`config.log' for more details." >&5
22359 echo "$as_me: error: cannot compute sizeof (void *)
22360 See \`config.log' for more details." >&2;}
22361 { (exit 77); exit 77; }; }
22362 else
22363 ac_cv_sizeof_void_p=0
22364 fi
22365 fi
22366 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22367 fi
22368 rm -f conftest.val
22369 fi
22370 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
22371 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
22372
22373
22374
22375 cat >>confdefs.h <<_ACEOF
22376 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
22377 _ACEOF
22378
22379
22380 { echo "$as_me:$LINENO: checking for int" >&5
22381 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
22382 if test "${ac_cv_type_int+set}" = set; then
22383 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 else
22385 cat >conftest.$ac_ext <<_ACEOF
22386 /* confdefs.h. */
22387 _ACEOF
22388 cat confdefs.h >>conftest.$ac_ext
22389 cat >>conftest.$ac_ext <<_ACEOF
22390 /* end confdefs.h. */
22391 $ac_includes_default
22392 typedef int ac__type_new_;
22393 int
22394 main ()
22395 {
22396 if ((ac__type_new_ *) 0)
22397 return 0;
22398 if (sizeof (ac__type_new_))
22399 return 0;
22400 ;
22401 return 0;
22402 }
22403 _ACEOF
22404 rm -f conftest.$ac_objext
22405 if { (ac_try="$ac_compile"
22406 case "(($ac_try" in
22407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22408 *) ac_try_echo=$ac_try;;
22409 esac
22410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22411 (eval "$ac_compile") 2>conftest.er1
22412 ac_status=$?
22413 grep -v '^ *+' conftest.er1 >conftest.err
22414 rm -f conftest.er1
22415 cat conftest.err >&5
22416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22417 (exit $ac_status); } && {
22418 test -z "$ac_c_werror_flag" ||
22419 test ! -s conftest.err
22420 } && test -s conftest.$ac_objext; then
22421 ac_cv_type_int=yes
22422 else
22423 echo "$as_me: failed program was:" >&5
22424 sed 's/^/| /' conftest.$ac_ext >&5
22425
22426 ac_cv_type_int=no
22427 fi
22428
22429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22430 fi
22431 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
22432 echo "${ECHO_T}$ac_cv_type_int" >&6; }
22433
22434 # The cast to long int works around a bug in the HP C Compiler
22435 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22436 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22437 # This bug is HP SR number 8606223364.
22438 { echo "$as_me:$LINENO: checking size of int" >&5
22439 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
22440 if test "${ac_cv_sizeof_int+set}" = set; then
22441 echo $ECHO_N "(cached) $ECHO_C" >&6
22442 else
22443 if test "$cross_compiling" = yes; then
22444 # Depending upon the size, compute the lo and hi bounds.
22445 cat >conftest.$ac_ext <<_ACEOF
22446 /* confdefs.h. */
22447 _ACEOF
22448 cat confdefs.h >>conftest.$ac_ext
22449 cat >>conftest.$ac_ext <<_ACEOF
22450 /* end confdefs.h. */
22451 $ac_includes_default
22452 typedef int ac__type_sizeof_;
22453 int
22454 main ()
22455 {
22456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22457 test_array [0] = 0
22458
22459 ;
22460 return 0;
22461 }
22462 _ACEOF
22463 rm -f conftest.$ac_objext
22464 if { (ac_try="$ac_compile"
22465 case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22468 esac
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_compile") 2>conftest.er1
22471 ac_status=$?
22472 grep -v '^ *+' conftest.er1 >conftest.err
22473 rm -f conftest.er1
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } && {
22477 test -z "$ac_c_werror_flag" ||
22478 test ! -s conftest.err
22479 } && test -s conftest.$ac_objext; then
22480 ac_lo=0 ac_mid=0
22481 while :; do
22482 cat >conftest.$ac_ext <<_ACEOF
22483 /* confdefs.h. */
22484 _ACEOF
22485 cat confdefs.h >>conftest.$ac_ext
22486 cat >>conftest.$ac_ext <<_ACEOF
22487 /* end confdefs.h. */
22488 $ac_includes_default
22489 typedef int ac__type_sizeof_;
22490 int
22491 main ()
22492 {
22493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22494 test_array [0] = 0
22495
22496 ;
22497 return 0;
22498 }
22499 _ACEOF
22500 rm -f conftest.$ac_objext
22501 if { (ac_try="$ac_compile"
22502 case "(($ac_try" in
22503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22504 *) ac_try_echo=$ac_try;;
22505 esac
22506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22507 (eval "$ac_compile") 2>conftest.er1
22508 ac_status=$?
22509 grep -v '^ *+' conftest.er1 >conftest.err
22510 rm -f conftest.er1
22511 cat conftest.err >&5
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); } && {
22514 test -z "$ac_c_werror_flag" ||
22515 test ! -s conftest.err
22516 } && test -s conftest.$ac_objext; then
22517 ac_hi=$ac_mid; break
22518 else
22519 echo "$as_me: failed program was:" >&5
22520 sed 's/^/| /' conftest.$ac_ext >&5
22521
22522 ac_lo=`expr $ac_mid + 1`
22523 if test $ac_lo -le $ac_mid; then
22524 ac_lo= ac_hi=
22525 break
22526 fi
22527 ac_mid=`expr 2 '*' $ac_mid + 1`
22528 fi
22529
22530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22531 done
22532 else
22533 echo "$as_me: failed program was:" >&5
22534 sed 's/^/| /' conftest.$ac_ext >&5
22535
22536 cat >conftest.$ac_ext <<_ACEOF
22537 /* confdefs.h. */
22538 _ACEOF
22539 cat confdefs.h >>conftest.$ac_ext
22540 cat >>conftest.$ac_ext <<_ACEOF
22541 /* end confdefs.h. */
22542 $ac_includes_default
22543 typedef int ac__type_sizeof_;
22544 int
22545 main ()
22546 {
22547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22548 test_array [0] = 0
22549
22550 ;
22551 return 0;
22552 }
22553 _ACEOF
22554 rm -f conftest.$ac_objext
22555 if { (ac_try="$ac_compile"
22556 case "(($ac_try" in
22557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22558 *) ac_try_echo=$ac_try;;
22559 esac
22560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22561 (eval "$ac_compile") 2>conftest.er1
22562 ac_status=$?
22563 grep -v '^ *+' conftest.er1 >conftest.err
22564 rm -f conftest.er1
22565 cat conftest.err >&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); } && {
22568 test -z "$ac_c_werror_flag" ||
22569 test ! -s conftest.err
22570 } && test -s conftest.$ac_objext; then
22571 ac_hi=-1 ac_mid=-1
22572 while :; do
22573 cat >conftest.$ac_ext <<_ACEOF
22574 /* confdefs.h. */
22575 _ACEOF
22576 cat confdefs.h >>conftest.$ac_ext
22577 cat >>conftest.$ac_ext <<_ACEOF
22578 /* end confdefs.h. */
22579 $ac_includes_default
22580 typedef int ac__type_sizeof_;
22581 int
22582 main ()
22583 {
22584 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22585 test_array [0] = 0
22586
22587 ;
22588 return 0;
22589 }
22590 _ACEOF
22591 rm -f conftest.$ac_objext
22592 if { (ac_try="$ac_compile"
22593 case "(($ac_try" in
22594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22595 *) ac_try_echo=$ac_try;;
22596 esac
22597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22598 (eval "$ac_compile") 2>conftest.er1
22599 ac_status=$?
22600 grep -v '^ *+' conftest.er1 >conftest.err
22601 rm -f conftest.er1
22602 cat conftest.err >&5
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); } && {
22605 test -z "$ac_c_werror_flag" ||
22606 test ! -s conftest.err
22607 } && test -s conftest.$ac_objext; then
22608 ac_lo=$ac_mid; break
22609 else
22610 echo "$as_me: failed program was:" >&5
22611 sed 's/^/| /' conftest.$ac_ext >&5
22612
22613 ac_hi=`expr '(' $ac_mid ')' - 1`
22614 if test $ac_mid -le $ac_hi; then
22615 ac_lo= ac_hi=
22616 break
22617 fi
22618 ac_mid=`expr 2 '*' $ac_mid`
22619 fi
22620
22621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22622 done
22623 else
22624 echo "$as_me: failed program was:" >&5
22625 sed 's/^/| /' conftest.$ac_ext >&5
22626
22627 ac_lo= ac_hi=
22628 fi
22629
22630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22631 fi
22632
22633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22634 # Binary search between lo and hi bounds.
22635 while test "x$ac_lo" != "x$ac_hi"; do
22636 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22637 cat >conftest.$ac_ext <<_ACEOF
22638 /* confdefs.h. */
22639 _ACEOF
22640 cat confdefs.h >>conftest.$ac_ext
22641 cat >>conftest.$ac_ext <<_ACEOF
22642 /* end confdefs.h. */
22643 $ac_includes_default
22644 typedef int ac__type_sizeof_;
22645 int
22646 main ()
22647 {
22648 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22649 test_array [0] = 0
22650
22651 ;
22652 return 0;
22653 }
22654 _ACEOF
22655 rm -f conftest.$ac_objext
22656 if { (ac_try="$ac_compile"
22657 case "(($ac_try" in
22658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22659 *) ac_try_echo=$ac_try;;
22660 esac
22661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22662 (eval "$ac_compile") 2>conftest.er1
22663 ac_status=$?
22664 grep -v '^ *+' conftest.er1 >conftest.err
22665 rm -f conftest.er1
22666 cat conftest.err >&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); } && {
22669 test -z "$ac_c_werror_flag" ||
22670 test ! -s conftest.err
22671 } && test -s conftest.$ac_objext; then
22672 ac_hi=$ac_mid
22673 else
22674 echo "$as_me: failed program was:" >&5
22675 sed 's/^/| /' conftest.$ac_ext >&5
22676
22677 ac_lo=`expr '(' $ac_mid ')' + 1`
22678 fi
22679
22680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22681 done
22682 case $ac_lo in
22683 ?*) ac_cv_sizeof_int=$ac_lo;;
22684 '') if test "$ac_cv_type_int" = yes; then
22685 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22686 See \`config.log' for more details." >&5
22687 echo "$as_me: error: cannot compute sizeof (int)
22688 See \`config.log' for more details." >&2;}
22689 { (exit 77); exit 77; }; }
22690 else
22691 ac_cv_sizeof_int=0
22692 fi ;;
22693 esac
22694 else
22695 cat >conftest.$ac_ext <<_ACEOF
22696 /* confdefs.h. */
22697 _ACEOF
22698 cat confdefs.h >>conftest.$ac_ext
22699 cat >>conftest.$ac_ext <<_ACEOF
22700 /* end confdefs.h. */
22701 $ac_includes_default
22702 typedef int ac__type_sizeof_;
22703 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22704 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22705 #include <stdio.h>
22706 #include <stdlib.h>
22707 int
22708 main ()
22709 {
22710
22711 FILE *f = fopen ("conftest.val", "w");
22712 if (! f)
22713 return 1;
22714 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22715 {
22716 long int i = longval ();
22717 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22718 return 1;
22719 fprintf (f, "%ld\n", i);
22720 }
22721 else
22722 {
22723 unsigned long int i = ulongval ();
22724 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22725 return 1;
22726 fprintf (f, "%lu\n", i);
22727 }
22728 return ferror (f) || fclose (f) != 0;
22729
22730 ;
22731 return 0;
22732 }
22733 _ACEOF
22734 rm -f conftest$ac_exeext
22735 if { (ac_try="$ac_link"
22736 case "(($ac_try" in
22737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22738 *) ac_try_echo=$ac_try;;
22739 esac
22740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22741 (eval "$ac_link") 2>&5
22742 ac_status=$?
22743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22744 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22745 { (case "(($ac_try" in
22746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22747 *) ac_try_echo=$ac_try;;
22748 esac
22749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22750 (eval "$ac_try") 2>&5
22751 ac_status=$?
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); }; }; then
22754 ac_cv_sizeof_int=`cat conftest.val`
22755 else
22756 echo "$as_me: program exited with status $ac_status" >&5
22757 echo "$as_me: failed program was:" >&5
22758 sed 's/^/| /' conftest.$ac_ext >&5
22759
22760 ( exit $ac_status )
22761 if test "$ac_cv_type_int" = yes; then
22762 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
22763 See \`config.log' for more details." >&5
22764 echo "$as_me: error: cannot compute sizeof (int)
22765 See \`config.log' for more details." >&2;}
22766 { (exit 77); exit 77; }; }
22767 else
22768 ac_cv_sizeof_int=0
22769 fi
22770 fi
22771 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22772 fi
22773 rm -f conftest.val
22774 fi
22775 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22776 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22777
22778
22779
22780 cat >>confdefs.h <<_ACEOF
22781 #define SIZEOF_INT $ac_cv_sizeof_int
22782 _ACEOF
22783
22784
22785 { echo "$as_me:$LINENO: checking for long" >&5
22786 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22787 if test "${ac_cv_type_long+set}" = set; then
22788 echo $ECHO_N "(cached) $ECHO_C" >&6
22789 else
22790 cat >conftest.$ac_ext <<_ACEOF
22791 /* confdefs.h. */
22792 _ACEOF
22793 cat confdefs.h >>conftest.$ac_ext
22794 cat >>conftest.$ac_ext <<_ACEOF
22795 /* end confdefs.h. */
22796 $ac_includes_default
22797 typedef long ac__type_new_;
22798 int
22799 main ()
22800 {
22801 if ((ac__type_new_ *) 0)
22802 return 0;
22803 if (sizeof (ac__type_new_))
22804 return 0;
22805 ;
22806 return 0;
22807 }
22808 _ACEOF
22809 rm -f conftest.$ac_objext
22810 if { (ac_try="$ac_compile"
22811 case "(($ac_try" in
22812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22813 *) ac_try_echo=$ac_try;;
22814 esac
22815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22816 (eval "$ac_compile") 2>conftest.er1
22817 ac_status=$?
22818 grep -v '^ *+' conftest.er1 >conftest.err
22819 rm -f conftest.er1
22820 cat conftest.err >&5
22821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22822 (exit $ac_status); } && {
22823 test -z "$ac_c_werror_flag" ||
22824 test ! -s conftest.err
22825 } && test -s conftest.$ac_objext; then
22826 ac_cv_type_long=yes
22827 else
22828 echo "$as_me: failed program was:" >&5
22829 sed 's/^/| /' conftest.$ac_ext >&5
22830
22831 ac_cv_type_long=no
22832 fi
22833
22834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22835 fi
22836 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22837 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22838
22839 # The cast to long int works around a bug in the HP C Compiler
22840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22842 # This bug is HP SR number 8606223364.
22843 { echo "$as_me:$LINENO: checking size of long" >&5
22844 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22845 if test "${ac_cv_sizeof_long+set}" = set; then
22846 echo $ECHO_N "(cached) $ECHO_C" >&6
22847 else
22848 if test "$cross_compiling" = yes; then
22849 # Depending upon the size, compute the lo and hi bounds.
22850 cat >conftest.$ac_ext <<_ACEOF
22851 /* confdefs.h. */
22852 _ACEOF
22853 cat confdefs.h >>conftest.$ac_ext
22854 cat >>conftest.$ac_ext <<_ACEOF
22855 /* end confdefs.h. */
22856 $ac_includes_default
22857 typedef long ac__type_sizeof_;
22858 int
22859 main ()
22860 {
22861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22862 test_array [0] = 0
22863
22864 ;
22865 return 0;
22866 }
22867 _ACEOF
22868 rm -f conftest.$ac_objext
22869 if { (ac_try="$ac_compile"
22870 case "(($ac_try" in
22871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22872 *) ac_try_echo=$ac_try;;
22873 esac
22874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22875 (eval "$ac_compile") 2>conftest.er1
22876 ac_status=$?
22877 grep -v '^ *+' conftest.er1 >conftest.err
22878 rm -f conftest.er1
22879 cat conftest.err >&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); } && {
22882 test -z "$ac_c_werror_flag" ||
22883 test ! -s conftest.err
22884 } && test -s conftest.$ac_objext; then
22885 ac_lo=0 ac_mid=0
22886 while :; do
22887 cat >conftest.$ac_ext <<_ACEOF
22888 /* confdefs.h. */
22889 _ACEOF
22890 cat confdefs.h >>conftest.$ac_ext
22891 cat >>conftest.$ac_ext <<_ACEOF
22892 /* end confdefs.h. */
22893 $ac_includes_default
22894 typedef long ac__type_sizeof_;
22895 int
22896 main ()
22897 {
22898 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22899 test_array [0] = 0
22900
22901 ;
22902 return 0;
22903 }
22904 _ACEOF
22905 rm -f conftest.$ac_objext
22906 if { (ac_try="$ac_compile"
22907 case "(($ac_try" in
22908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22909 *) ac_try_echo=$ac_try;;
22910 esac
22911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22912 (eval "$ac_compile") 2>conftest.er1
22913 ac_status=$?
22914 grep -v '^ *+' conftest.er1 >conftest.err
22915 rm -f conftest.er1
22916 cat conftest.err >&5
22917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22918 (exit $ac_status); } && {
22919 test -z "$ac_c_werror_flag" ||
22920 test ! -s conftest.err
22921 } && test -s conftest.$ac_objext; then
22922 ac_hi=$ac_mid; break
22923 else
22924 echo "$as_me: failed program was:" >&5
22925 sed 's/^/| /' conftest.$ac_ext >&5
22926
22927 ac_lo=`expr $ac_mid + 1`
22928 if test $ac_lo -le $ac_mid; then
22929 ac_lo= ac_hi=
22930 break
22931 fi
22932 ac_mid=`expr 2 '*' $ac_mid + 1`
22933 fi
22934
22935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22936 done
22937 else
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.$ac_ext >&5
22940
22941 cat >conftest.$ac_ext <<_ACEOF
22942 /* confdefs.h. */
22943 _ACEOF
22944 cat confdefs.h >>conftest.$ac_ext
22945 cat >>conftest.$ac_ext <<_ACEOF
22946 /* end confdefs.h. */
22947 $ac_includes_default
22948 typedef long ac__type_sizeof_;
22949 int
22950 main ()
22951 {
22952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22953 test_array [0] = 0
22954
22955 ;
22956 return 0;
22957 }
22958 _ACEOF
22959 rm -f conftest.$ac_objext
22960 if { (ac_try="$ac_compile"
22961 case "(($ac_try" in
22962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22963 *) ac_try_echo=$ac_try;;
22964 esac
22965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22966 (eval "$ac_compile") 2>conftest.er1
22967 ac_status=$?
22968 grep -v '^ *+' conftest.er1 >conftest.err
22969 rm -f conftest.er1
22970 cat conftest.err >&5
22971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22972 (exit $ac_status); } && {
22973 test -z "$ac_c_werror_flag" ||
22974 test ! -s conftest.err
22975 } && test -s conftest.$ac_objext; then
22976 ac_hi=-1 ac_mid=-1
22977 while :; do
22978 cat >conftest.$ac_ext <<_ACEOF
22979 /* confdefs.h. */
22980 _ACEOF
22981 cat confdefs.h >>conftest.$ac_ext
22982 cat >>conftest.$ac_ext <<_ACEOF
22983 /* end confdefs.h. */
22984 $ac_includes_default
22985 typedef long ac__type_sizeof_;
22986 int
22987 main ()
22988 {
22989 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22990 test_array [0] = 0
22991
22992 ;
22993 return 0;
22994 }
22995 _ACEOF
22996 rm -f conftest.$ac_objext
22997 if { (ac_try="$ac_compile"
22998 case "(($ac_try" in
22999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23000 *) ac_try_echo=$ac_try;;
23001 esac
23002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23003 (eval "$ac_compile") 2>conftest.er1
23004 ac_status=$?
23005 grep -v '^ *+' conftest.er1 >conftest.err
23006 rm -f conftest.er1
23007 cat conftest.err >&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } && {
23010 test -z "$ac_c_werror_flag" ||
23011 test ! -s conftest.err
23012 } && test -s conftest.$ac_objext; then
23013 ac_lo=$ac_mid; break
23014 else
23015 echo "$as_me: failed program was:" >&5
23016 sed 's/^/| /' conftest.$ac_ext >&5
23017
23018 ac_hi=`expr '(' $ac_mid ')' - 1`
23019 if test $ac_mid -le $ac_hi; then
23020 ac_lo= ac_hi=
23021 break
23022 fi
23023 ac_mid=`expr 2 '*' $ac_mid`
23024 fi
23025
23026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23027 done
23028 else
23029 echo "$as_me: failed program was:" >&5
23030 sed 's/^/| /' conftest.$ac_ext >&5
23031
23032 ac_lo= ac_hi=
23033 fi
23034
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23036 fi
23037
23038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23039 # Binary search between lo and hi bounds.
23040 while test "x$ac_lo" != "x$ac_hi"; do
23041 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23042 cat >conftest.$ac_ext <<_ACEOF
23043 /* confdefs.h. */
23044 _ACEOF
23045 cat confdefs.h >>conftest.$ac_ext
23046 cat >>conftest.$ac_ext <<_ACEOF
23047 /* end confdefs.h. */
23048 $ac_includes_default
23049 typedef long ac__type_sizeof_;
23050 int
23051 main ()
23052 {
23053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23054 test_array [0] = 0
23055
23056 ;
23057 return 0;
23058 }
23059 _ACEOF
23060 rm -f conftest.$ac_objext
23061 if { (ac_try="$ac_compile"
23062 case "(($ac_try" in
23063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23064 *) ac_try_echo=$ac_try;;
23065 esac
23066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23067 (eval "$ac_compile") 2>conftest.er1
23068 ac_status=$?
23069 grep -v '^ *+' conftest.er1 >conftest.err
23070 rm -f conftest.er1
23071 cat conftest.err >&5
23072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23073 (exit $ac_status); } && {
23074 test -z "$ac_c_werror_flag" ||
23075 test ! -s conftest.err
23076 } && test -s conftest.$ac_objext; then
23077 ac_hi=$ac_mid
23078 else
23079 echo "$as_me: failed program was:" >&5
23080 sed 's/^/| /' conftest.$ac_ext >&5
23081
23082 ac_lo=`expr '(' $ac_mid ')' + 1`
23083 fi
23084
23085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23086 done
23087 case $ac_lo in
23088 ?*) ac_cv_sizeof_long=$ac_lo;;
23089 '') if test "$ac_cv_type_long" = yes; then
23090 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23091 See \`config.log' for more details." >&5
23092 echo "$as_me: error: cannot compute sizeof (long)
23093 See \`config.log' for more details." >&2;}
23094 { (exit 77); exit 77; }; }
23095 else
23096 ac_cv_sizeof_long=0
23097 fi ;;
23098 esac
23099 else
23100 cat >conftest.$ac_ext <<_ACEOF
23101 /* confdefs.h. */
23102 _ACEOF
23103 cat confdefs.h >>conftest.$ac_ext
23104 cat >>conftest.$ac_ext <<_ACEOF
23105 /* end confdefs.h. */
23106 $ac_includes_default
23107 typedef long ac__type_sizeof_;
23108 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23109 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23110 #include <stdio.h>
23111 #include <stdlib.h>
23112 int
23113 main ()
23114 {
23115
23116 FILE *f = fopen ("conftest.val", "w");
23117 if (! f)
23118 return 1;
23119 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23120 {
23121 long int i = longval ();
23122 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23123 return 1;
23124 fprintf (f, "%ld\n", i);
23125 }
23126 else
23127 {
23128 unsigned long int i = ulongval ();
23129 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23130 return 1;
23131 fprintf (f, "%lu\n", i);
23132 }
23133 return ferror (f) || fclose (f) != 0;
23134
23135 ;
23136 return 0;
23137 }
23138 _ACEOF
23139 rm -f conftest$ac_exeext
23140 if { (ac_try="$ac_link"
23141 case "(($ac_try" in
23142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23144 esac
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_link") 2>&5
23147 ac_status=$?
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23150 { (case "(($ac_try" in
23151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23152 *) ac_try_echo=$ac_try;;
23153 esac
23154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23155 (eval "$ac_try") 2>&5
23156 ac_status=$?
23157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23158 (exit $ac_status); }; }; then
23159 ac_cv_sizeof_long=`cat conftest.val`
23160 else
23161 echo "$as_me: program exited with status $ac_status" >&5
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ( exit $ac_status )
23166 if test "$ac_cv_type_long" = yes; then
23167 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
23168 See \`config.log' for more details." >&5
23169 echo "$as_me: error: cannot compute sizeof (long)
23170 See \`config.log' for more details." >&2;}
23171 { (exit 77); exit 77; }; }
23172 else
23173 ac_cv_sizeof_long=0
23174 fi
23175 fi
23176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23177 fi
23178 rm -f conftest.val
23179 fi
23180 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
23181 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
23182
23183
23184
23185 cat >>confdefs.h <<_ACEOF
23186 #define SIZEOF_LONG $ac_cv_sizeof_long
23187 _ACEOF
23188
23189
23190 { echo "$as_me:$LINENO: checking for size_t" >&5
23191 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
23192 if test "${ac_cv_type_size_t+set}" = set; then
23193 echo $ECHO_N "(cached) $ECHO_C" >&6
23194 else
23195 cat >conftest.$ac_ext <<_ACEOF
23196 /* confdefs.h. */
23197 _ACEOF
23198 cat confdefs.h >>conftest.$ac_ext
23199 cat >>conftest.$ac_ext <<_ACEOF
23200 /* end confdefs.h. */
23201 $ac_includes_default
23202 typedef size_t ac__type_new_;
23203 int
23204 main ()
23205 {
23206 if ((ac__type_new_ *) 0)
23207 return 0;
23208 if (sizeof (ac__type_new_))
23209 return 0;
23210 ;
23211 return 0;
23212 }
23213 _ACEOF
23214 rm -f conftest.$ac_objext
23215 if { (ac_try="$ac_compile"
23216 case "(($ac_try" in
23217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23218 *) ac_try_echo=$ac_try;;
23219 esac
23220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23221 (eval "$ac_compile") 2>conftest.er1
23222 ac_status=$?
23223 grep -v '^ *+' conftest.er1 >conftest.err
23224 rm -f conftest.er1
23225 cat conftest.err >&5
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); } && {
23228 test -z "$ac_c_werror_flag" ||
23229 test ! -s conftest.err
23230 } && test -s conftest.$ac_objext; then
23231 ac_cv_type_size_t=yes
23232 else
23233 echo "$as_me: failed program was:" >&5
23234 sed 's/^/| /' conftest.$ac_ext >&5
23235
23236 ac_cv_type_size_t=no
23237 fi
23238
23239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240 fi
23241 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
23242 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
23243
23244 # The cast to long int works around a bug in the HP C Compiler
23245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23247 # This bug is HP SR number 8606223364.
23248 { echo "$as_me:$LINENO: checking size of size_t" >&5
23249 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
23250 if test "${ac_cv_sizeof_size_t+set}" = set; then
23251 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 else
23253 if test "$cross_compiling" = yes; then
23254 # Depending upon the size, compute the lo and hi bounds.
23255 cat >conftest.$ac_ext <<_ACEOF
23256 /* confdefs.h. */
23257 _ACEOF
23258 cat confdefs.h >>conftest.$ac_ext
23259 cat >>conftest.$ac_ext <<_ACEOF
23260 /* end confdefs.h. */
23261 $ac_includes_default
23262 typedef size_t ac__type_sizeof_;
23263 int
23264 main ()
23265 {
23266 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23267 test_array [0] = 0
23268
23269 ;
23270 return 0;
23271 }
23272 _ACEOF
23273 rm -f conftest.$ac_objext
23274 if { (ac_try="$ac_compile"
23275 case "(($ac_try" in
23276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23277 *) ac_try_echo=$ac_try;;
23278 esac
23279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23280 (eval "$ac_compile") 2>conftest.er1
23281 ac_status=$?
23282 grep -v '^ *+' conftest.er1 >conftest.err
23283 rm -f conftest.er1
23284 cat conftest.err >&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); } && {
23287 test -z "$ac_c_werror_flag" ||
23288 test ! -s conftest.err
23289 } && test -s conftest.$ac_objext; then
23290 ac_lo=0 ac_mid=0
23291 while :; do
23292 cat >conftest.$ac_ext <<_ACEOF
23293 /* confdefs.h. */
23294 _ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 $ac_includes_default
23299 typedef size_t ac__type_sizeof_;
23300 int
23301 main ()
23302 {
23303 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23304 test_array [0] = 0
23305
23306 ;
23307 return 0;
23308 }
23309 _ACEOF
23310 rm -f conftest.$ac_objext
23311 if { (ac_try="$ac_compile"
23312 case "(($ac_try" in
23313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23314 *) ac_try_echo=$ac_try;;
23315 esac
23316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23317 (eval "$ac_compile") 2>conftest.er1
23318 ac_status=$?
23319 grep -v '^ *+' conftest.er1 >conftest.err
23320 rm -f conftest.er1
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } && {
23324 test -z "$ac_c_werror_flag" ||
23325 test ! -s conftest.err
23326 } && test -s conftest.$ac_objext; then
23327 ac_hi=$ac_mid; break
23328 else
23329 echo "$as_me: failed program was:" >&5
23330 sed 's/^/| /' conftest.$ac_ext >&5
23331
23332 ac_lo=`expr $ac_mid + 1`
23333 if test $ac_lo -le $ac_mid; then
23334 ac_lo= ac_hi=
23335 break
23336 fi
23337 ac_mid=`expr 2 '*' $ac_mid + 1`
23338 fi
23339
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23341 done
23342 else
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23345
23346 cat >conftest.$ac_ext <<_ACEOF
23347 /* confdefs.h. */
23348 _ACEOF
23349 cat confdefs.h >>conftest.$ac_ext
23350 cat >>conftest.$ac_ext <<_ACEOF
23351 /* end confdefs.h. */
23352 $ac_includes_default
23353 typedef size_t ac__type_sizeof_;
23354 int
23355 main ()
23356 {
23357 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23358 test_array [0] = 0
23359
23360 ;
23361 return 0;
23362 }
23363 _ACEOF
23364 rm -f conftest.$ac_objext
23365 if { (ac_try="$ac_compile"
23366 case "(($ac_try" in
23367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23368 *) ac_try_echo=$ac_try;;
23369 esac
23370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23371 (eval "$ac_compile") 2>conftest.er1
23372 ac_status=$?
23373 grep -v '^ *+' conftest.er1 >conftest.err
23374 rm -f conftest.er1
23375 cat conftest.err >&5
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); } && {
23378 test -z "$ac_c_werror_flag" ||
23379 test ! -s conftest.err
23380 } && test -s conftest.$ac_objext; then
23381 ac_hi=-1 ac_mid=-1
23382 while :; do
23383 cat >conftest.$ac_ext <<_ACEOF
23384 /* confdefs.h. */
23385 _ACEOF
23386 cat confdefs.h >>conftest.$ac_ext
23387 cat >>conftest.$ac_ext <<_ACEOF
23388 /* end confdefs.h. */
23389 $ac_includes_default
23390 typedef size_t ac__type_sizeof_;
23391 int
23392 main ()
23393 {
23394 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23395 test_array [0] = 0
23396
23397 ;
23398 return 0;
23399 }
23400 _ACEOF
23401 rm -f conftest.$ac_objext
23402 if { (ac_try="$ac_compile"
23403 case "(($ac_try" in
23404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23405 *) ac_try_echo=$ac_try;;
23406 esac
23407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23408 (eval "$ac_compile") 2>conftest.er1
23409 ac_status=$?
23410 grep -v '^ *+' conftest.er1 >conftest.err
23411 rm -f conftest.er1
23412 cat conftest.err >&5
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); } && {
23415 test -z "$ac_c_werror_flag" ||
23416 test ! -s conftest.err
23417 } && test -s conftest.$ac_objext; then
23418 ac_lo=$ac_mid; break
23419 else
23420 echo "$as_me: failed program was:" >&5
23421 sed 's/^/| /' conftest.$ac_ext >&5
23422
23423 ac_hi=`expr '(' $ac_mid ')' - 1`
23424 if test $ac_mid -le $ac_hi; then
23425 ac_lo= ac_hi=
23426 break
23427 fi
23428 ac_mid=`expr 2 '*' $ac_mid`
23429 fi
23430
23431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23432 done
23433 else
23434 echo "$as_me: failed program was:" >&5
23435 sed 's/^/| /' conftest.$ac_ext >&5
23436
23437 ac_lo= ac_hi=
23438 fi
23439
23440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23441 fi
23442
23443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23444 # Binary search between lo and hi bounds.
23445 while test "x$ac_lo" != "x$ac_hi"; do
23446 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23447 cat >conftest.$ac_ext <<_ACEOF
23448 /* confdefs.h. */
23449 _ACEOF
23450 cat confdefs.h >>conftest.$ac_ext
23451 cat >>conftest.$ac_ext <<_ACEOF
23452 /* end confdefs.h. */
23453 $ac_includes_default
23454 typedef size_t ac__type_sizeof_;
23455 int
23456 main ()
23457 {
23458 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23459 test_array [0] = 0
23460
23461 ;
23462 return 0;
23463 }
23464 _ACEOF
23465 rm -f conftest.$ac_objext
23466 if { (ac_try="$ac_compile"
23467 case "(($ac_try" in
23468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23469 *) ac_try_echo=$ac_try;;
23470 esac
23471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23472 (eval "$ac_compile") 2>conftest.er1
23473 ac_status=$?
23474 grep -v '^ *+' conftest.er1 >conftest.err
23475 rm -f conftest.er1
23476 cat conftest.err >&5
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); } && {
23479 test -z "$ac_c_werror_flag" ||
23480 test ! -s conftest.err
23481 } && test -s conftest.$ac_objext; then
23482 ac_hi=$ac_mid
23483 else
23484 echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487 ac_lo=`expr '(' $ac_mid ')' + 1`
23488 fi
23489
23490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23491 done
23492 case $ac_lo in
23493 ?*) ac_cv_sizeof_size_t=$ac_lo;;
23494 '') if test "$ac_cv_type_size_t" = yes; then
23495 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23496 See \`config.log' for more details." >&5
23497 echo "$as_me: error: cannot compute sizeof (size_t)
23498 See \`config.log' for more details." >&2;}
23499 { (exit 77); exit 77; }; }
23500 else
23501 ac_cv_sizeof_size_t=0
23502 fi ;;
23503 esac
23504 else
23505 cat >conftest.$ac_ext <<_ACEOF
23506 /* confdefs.h. */
23507 _ACEOF
23508 cat confdefs.h >>conftest.$ac_ext
23509 cat >>conftest.$ac_ext <<_ACEOF
23510 /* end confdefs.h. */
23511 $ac_includes_default
23512 typedef size_t ac__type_sizeof_;
23513 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23514 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23515 #include <stdio.h>
23516 #include <stdlib.h>
23517 int
23518 main ()
23519 {
23520
23521 FILE *f = fopen ("conftest.val", "w");
23522 if (! f)
23523 return 1;
23524 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23525 {
23526 long int i = longval ();
23527 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23528 return 1;
23529 fprintf (f, "%ld\n", i);
23530 }
23531 else
23532 {
23533 unsigned long int i = ulongval ();
23534 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23535 return 1;
23536 fprintf (f, "%lu\n", i);
23537 }
23538 return ferror (f) || fclose (f) != 0;
23539
23540 ;
23541 return 0;
23542 }
23543 _ACEOF
23544 rm -f conftest$ac_exeext
23545 if { (ac_try="$ac_link"
23546 case "(($ac_try" in
23547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23548 *) ac_try_echo=$ac_try;;
23549 esac
23550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23551 (eval "$ac_link") 2>&5
23552 ac_status=$?
23553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23554 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23555 { (case "(($ac_try" in
23556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23557 *) ac_try_echo=$ac_try;;
23558 esac
23559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23560 (eval "$ac_try") 2>&5
23561 ac_status=$?
23562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23563 (exit $ac_status); }; }; then
23564 ac_cv_sizeof_size_t=`cat conftest.val`
23565 else
23566 echo "$as_me: program exited with status $ac_status" >&5
23567 echo "$as_me: failed program was:" >&5
23568 sed 's/^/| /' conftest.$ac_ext >&5
23569
23570 ( exit $ac_status )
23571 if test "$ac_cv_type_size_t" = yes; then
23572 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
23573 See \`config.log' for more details." >&5
23574 echo "$as_me: error: cannot compute sizeof (size_t)
23575 See \`config.log' for more details." >&2;}
23576 { (exit 77); exit 77; }; }
23577 else
23578 ac_cv_sizeof_size_t=0
23579 fi
23580 fi
23581 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23582 fi
23583 rm -f conftest.val
23584 fi
23585 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
23586 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
23587
23588
23589
23590 cat >>confdefs.h <<_ACEOF
23591 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
23592 _ACEOF
23593
23594
23595
23596 case "${host}" in
23597 arm-*-linux* )
23598 { echo "$as_me:$LINENO: checking for long long" >&5
23599 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23600 if test "${ac_cv_type_long_long+set}" = set; then
23601 echo $ECHO_N "(cached) $ECHO_C" >&6
23602 else
23603 cat >conftest.$ac_ext <<_ACEOF
23604 /* confdefs.h. */
23605 _ACEOF
23606 cat confdefs.h >>conftest.$ac_ext
23607 cat >>conftest.$ac_ext <<_ACEOF
23608 /* end confdefs.h. */
23609 $ac_includes_default
23610 typedef long long ac__type_new_;
23611 int
23612 main ()
23613 {
23614 if ((ac__type_new_ *) 0)
23615 return 0;
23616 if (sizeof (ac__type_new_))
23617 return 0;
23618 ;
23619 return 0;
23620 }
23621 _ACEOF
23622 rm -f conftest.$ac_objext
23623 if { (ac_try="$ac_compile"
23624 case "(($ac_try" in
23625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23626 *) ac_try_echo=$ac_try;;
23627 esac
23628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23629 (eval "$ac_compile") 2>conftest.er1
23630 ac_status=$?
23631 grep -v '^ *+' conftest.er1 >conftest.err
23632 rm -f conftest.er1
23633 cat conftest.err >&5
23634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23635 (exit $ac_status); } && {
23636 test -z "$ac_c_werror_flag" ||
23637 test ! -s conftest.err
23638 } && test -s conftest.$ac_objext; then
23639 ac_cv_type_long_long=yes
23640 else
23641 echo "$as_me: failed program was:" >&5
23642 sed 's/^/| /' conftest.$ac_ext >&5
23643
23644 ac_cv_type_long_long=no
23645 fi
23646
23647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23648 fi
23649 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23650 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23651
23652 # The cast to long int works around a bug in the HP C Compiler
23653 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23654 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23655 # This bug is HP SR number 8606223364.
23656 { echo "$as_me:$LINENO: checking size of long long" >&5
23657 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23658 if test "${ac_cv_sizeof_long_long+set}" = set; then
23659 echo $ECHO_N "(cached) $ECHO_C" >&6
23660 else
23661 if test "$cross_compiling" = yes; then
23662 # Depending upon the size, compute the lo and hi bounds.
23663 cat >conftest.$ac_ext <<_ACEOF
23664 /* confdefs.h. */
23665 _ACEOF
23666 cat confdefs.h >>conftest.$ac_ext
23667 cat >>conftest.$ac_ext <<_ACEOF
23668 /* end confdefs.h. */
23669 $ac_includes_default
23670 typedef long long ac__type_sizeof_;
23671 int
23672 main ()
23673 {
23674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23675 test_array [0] = 0
23676
23677 ;
23678 return 0;
23679 }
23680 _ACEOF
23681 rm -f conftest.$ac_objext
23682 if { (ac_try="$ac_compile"
23683 case "(($ac_try" in
23684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23685 *) ac_try_echo=$ac_try;;
23686 esac
23687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23688 (eval "$ac_compile") 2>conftest.er1
23689 ac_status=$?
23690 grep -v '^ *+' conftest.er1 >conftest.err
23691 rm -f conftest.er1
23692 cat conftest.err >&5
23693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23694 (exit $ac_status); } && {
23695 test -z "$ac_c_werror_flag" ||
23696 test ! -s conftest.err
23697 } && test -s conftest.$ac_objext; then
23698 ac_lo=0 ac_mid=0
23699 while :; do
23700 cat >conftest.$ac_ext <<_ACEOF
23701 /* confdefs.h. */
23702 _ACEOF
23703 cat confdefs.h >>conftest.$ac_ext
23704 cat >>conftest.$ac_ext <<_ACEOF
23705 /* end confdefs.h. */
23706 $ac_includes_default
23707 typedef long long ac__type_sizeof_;
23708 int
23709 main ()
23710 {
23711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23712 test_array [0] = 0
23713
23714 ;
23715 return 0;
23716 }
23717 _ACEOF
23718 rm -f conftest.$ac_objext
23719 if { (ac_try="$ac_compile"
23720 case "(($ac_try" in
23721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23722 *) ac_try_echo=$ac_try;;
23723 esac
23724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23725 (eval "$ac_compile") 2>conftest.er1
23726 ac_status=$?
23727 grep -v '^ *+' conftest.er1 >conftest.err
23728 rm -f conftest.er1
23729 cat conftest.err >&5
23730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23731 (exit $ac_status); } && {
23732 test -z "$ac_c_werror_flag" ||
23733 test ! -s conftest.err
23734 } && test -s conftest.$ac_objext; then
23735 ac_hi=$ac_mid; break
23736 else
23737 echo "$as_me: failed program was:" >&5
23738 sed 's/^/| /' conftest.$ac_ext >&5
23739
23740 ac_lo=`expr $ac_mid + 1`
23741 if test $ac_lo -le $ac_mid; then
23742 ac_lo= ac_hi=
23743 break
23744 fi
23745 ac_mid=`expr 2 '*' $ac_mid + 1`
23746 fi
23747
23748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23749 done
23750 else
23751 echo "$as_me: failed program was:" >&5
23752 sed 's/^/| /' conftest.$ac_ext >&5
23753
23754 cat >conftest.$ac_ext <<_ACEOF
23755 /* confdefs.h. */
23756 _ACEOF
23757 cat confdefs.h >>conftest.$ac_ext
23758 cat >>conftest.$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23760 $ac_includes_default
23761 typedef long long ac__type_sizeof_;
23762 int
23763 main ()
23764 {
23765 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23766 test_array [0] = 0
23767
23768 ;
23769 return 0;
23770 }
23771 _ACEOF
23772 rm -f conftest.$ac_objext
23773 if { (ac_try="$ac_compile"
23774 case "(($ac_try" in
23775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23776 *) ac_try_echo=$ac_try;;
23777 esac
23778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23779 (eval "$ac_compile") 2>conftest.er1
23780 ac_status=$?
23781 grep -v '^ *+' conftest.er1 >conftest.err
23782 rm -f conftest.er1
23783 cat conftest.err >&5
23784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23785 (exit $ac_status); } && {
23786 test -z "$ac_c_werror_flag" ||
23787 test ! -s conftest.err
23788 } && test -s conftest.$ac_objext; then
23789 ac_hi=-1 ac_mid=-1
23790 while :; do
23791 cat >conftest.$ac_ext <<_ACEOF
23792 /* confdefs.h. */
23793 _ACEOF
23794 cat confdefs.h >>conftest.$ac_ext
23795 cat >>conftest.$ac_ext <<_ACEOF
23796 /* end confdefs.h. */
23797 $ac_includes_default
23798 typedef long long ac__type_sizeof_;
23799 int
23800 main ()
23801 {
23802 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23803 test_array [0] = 0
23804
23805 ;
23806 return 0;
23807 }
23808 _ACEOF
23809 rm -f conftest.$ac_objext
23810 if { (ac_try="$ac_compile"
23811 case "(($ac_try" in
23812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23813 *) ac_try_echo=$ac_try;;
23814 esac
23815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23816 (eval "$ac_compile") 2>conftest.er1
23817 ac_status=$?
23818 grep -v '^ *+' conftest.er1 >conftest.err
23819 rm -f conftest.er1
23820 cat conftest.err >&5
23821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23822 (exit $ac_status); } && {
23823 test -z "$ac_c_werror_flag" ||
23824 test ! -s conftest.err
23825 } && test -s conftest.$ac_objext; then
23826 ac_lo=$ac_mid; break
23827 else
23828 echo "$as_me: failed program was:" >&5
23829 sed 's/^/| /' conftest.$ac_ext >&5
23830
23831 ac_hi=`expr '(' $ac_mid ')' - 1`
23832 if test $ac_mid -le $ac_hi; then
23833 ac_lo= ac_hi=
23834 break
23835 fi
23836 ac_mid=`expr 2 '*' $ac_mid`
23837 fi
23838
23839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23840 done
23841 else
23842 echo "$as_me: failed program was:" >&5
23843 sed 's/^/| /' conftest.$ac_ext >&5
23844
23845 ac_lo= ac_hi=
23846 fi
23847
23848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23849 fi
23850
23851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23852 # Binary search between lo and hi bounds.
23853 while test "x$ac_lo" != "x$ac_hi"; do
23854 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23855 cat >conftest.$ac_ext <<_ACEOF
23856 /* confdefs.h. */
23857 _ACEOF
23858 cat confdefs.h >>conftest.$ac_ext
23859 cat >>conftest.$ac_ext <<_ACEOF
23860 /* end confdefs.h. */
23861 $ac_includes_default
23862 typedef long long ac__type_sizeof_;
23863 int
23864 main ()
23865 {
23866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23867 test_array [0] = 0
23868
23869 ;
23870 return 0;
23871 }
23872 _ACEOF
23873 rm -f conftest.$ac_objext
23874 if { (ac_try="$ac_compile"
23875 case "(($ac_try" in
23876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23877 *) ac_try_echo=$ac_try;;
23878 esac
23879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23880 (eval "$ac_compile") 2>conftest.er1
23881 ac_status=$?
23882 grep -v '^ *+' conftest.er1 >conftest.err
23883 rm -f conftest.er1
23884 cat conftest.err >&5
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); } && {
23887 test -z "$ac_c_werror_flag" ||
23888 test ! -s conftest.err
23889 } && test -s conftest.$ac_objext; then
23890 ac_hi=$ac_mid
23891 else
23892 echo "$as_me: failed program was:" >&5
23893 sed 's/^/| /' conftest.$ac_ext >&5
23894
23895 ac_lo=`expr '(' $ac_mid ')' + 1`
23896 fi
23897
23898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23899 done
23900 case $ac_lo in
23901 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23902 '') if test "$ac_cv_type_long_long" = yes; then
23903 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23904 See \`config.log' for more details." >&5
23905 echo "$as_me: error: cannot compute sizeof (long long)
23906 See \`config.log' for more details." >&2;}
23907 { (exit 77); exit 77; }; }
23908 else
23909 ac_cv_sizeof_long_long=0
23910 fi ;;
23911 esac
23912 else
23913 cat >conftest.$ac_ext <<_ACEOF
23914 /* confdefs.h. */
23915 _ACEOF
23916 cat confdefs.h >>conftest.$ac_ext
23917 cat >>conftest.$ac_ext <<_ACEOF
23918 /* end confdefs.h. */
23919 $ac_includes_default
23920 typedef long long ac__type_sizeof_;
23921 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23922 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23923 #include <stdio.h>
23924 #include <stdlib.h>
23925 int
23926 main ()
23927 {
23928
23929 FILE *f = fopen ("conftest.val", "w");
23930 if (! f)
23931 return 1;
23932 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23933 {
23934 long int i = longval ();
23935 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23936 return 1;
23937 fprintf (f, "%ld\n", i);
23938 }
23939 else
23940 {
23941 unsigned long int i = ulongval ();
23942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23943 return 1;
23944 fprintf (f, "%lu\n", i);
23945 }
23946 return ferror (f) || fclose (f) != 0;
23947
23948 ;
23949 return 0;
23950 }
23951 _ACEOF
23952 rm -f conftest$ac_exeext
23953 if { (ac_try="$ac_link"
23954 case "(($ac_try" in
23955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23956 *) ac_try_echo=$ac_try;;
23957 esac
23958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23959 (eval "$ac_link") 2>&5
23960 ac_status=$?
23961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23962 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23963 { (case "(($ac_try" in
23964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23965 *) ac_try_echo=$ac_try;;
23966 esac
23967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23968 (eval "$ac_try") 2>&5
23969 ac_status=$?
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; }; then
23972 ac_cv_sizeof_long_long=`cat conftest.val`
23973 else
23974 echo "$as_me: program exited with status $ac_status" >&5
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23977
23978 ( exit $ac_status )
23979 if test "$ac_cv_type_long_long" = yes; then
23980 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23981 See \`config.log' for more details." >&5
23982 echo "$as_me: error: cannot compute sizeof (long long)
23983 See \`config.log' for more details." >&2;}
23984 { (exit 77); exit 77; }; }
23985 else
23986 ac_cv_sizeof_long_long=0
23987 fi
23988 fi
23989 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23990 fi
23991 rm -f conftest.val
23992 fi
23993 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23994 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23995
23996
23997
23998 cat >>confdefs.h <<_ACEOF
23999 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24000 _ACEOF
24001
24002
24003 ;;
24004 *-hp-hpux* )
24005 { echo "$as_me:$LINENO: checking for long long" >&5
24006 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24007 if test "${ac_cv_type_long_long+set}" = set; then
24008 echo $ECHO_N "(cached) $ECHO_C" >&6
24009 else
24010 cat >conftest.$ac_ext <<_ACEOF
24011 /* confdefs.h. */
24012 _ACEOF
24013 cat confdefs.h >>conftest.$ac_ext
24014 cat >>conftest.$ac_ext <<_ACEOF
24015 /* end confdefs.h. */
24016 $ac_includes_default
24017 typedef long long ac__type_new_;
24018 int
24019 main ()
24020 {
24021 if ((ac__type_new_ *) 0)
24022 return 0;
24023 if (sizeof (ac__type_new_))
24024 return 0;
24025 ;
24026 return 0;
24027 }
24028 _ACEOF
24029 rm -f conftest.$ac_objext
24030 if { (ac_try="$ac_compile"
24031 case "(($ac_try" in
24032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24033 *) ac_try_echo=$ac_try;;
24034 esac
24035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24036 (eval "$ac_compile") 2>conftest.er1
24037 ac_status=$?
24038 grep -v '^ *+' conftest.er1 >conftest.err
24039 rm -f conftest.er1
24040 cat conftest.err >&5
24041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24042 (exit $ac_status); } && {
24043 test -z "$ac_c_werror_flag" ||
24044 test ! -s conftest.err
24045 } && test -s conftest.$ac_objext; then
24046 ac_cv_type_long_long=yes
24047 else
24048 echo "$as_me: failed program was:" >&5
24049 sed 's/^/| /' conftest.$ac_ext >&5
24050
24051 ac_cv_type_long_long=no
24052 fi
24053
24054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24055 fi
24056 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24057 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24058
24059 # The cast to long int works around a bug in the HP C Compiler
24060 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24061 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24062 # This bug is HP SR number 8606223364.
24063 { echo "$as_me:$LINENO: checking size of long long" >&5
24064 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24065 if test "${ac_cv_sizeof_long_long+set}" = set; then
24066 echo $ECHO_N "(cached) $ECHO_C" >&6
24067 else
24068 if test "$cross_compiling" = yes; then
24069 # Depending upon the size, compute the lo and hi bounds.
24070 cat >conftest.$ac_ext <<_ACEOF
24071 /* confdefs.h. */
24072 _ACEOF
24073 cat confdefs.h >>conftest.$ac_ext
24074 cat >>conftest.$ac_ext <<_ACEOF
24075 /* end confdefs.h. */
24076 $ac_includes_default
24077 typedef long long ac__type_sizeof_;
24078 int
24079 main ()
24080 {
24081 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24082 test_array [0] = 0
24083
24084 ;
24085 return 0;
24086 }
24087 _ACEOF
24088 rm -f conftest.$ac_objext
24089 if { (ac_try="$ac_compile"
24090 case "(($ac_try" in
24091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24092 *) ac_try_echo=$ac_try;;
24093 esac
24094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24095 (eval "$ac_compile") 2>conftest.er1
24096 ac_status=$?
24097 grep -v '^ *+' conftest.er1 >conftest.err
24098 rm -f conftest.er1
24099 cat conftest.err >&5
24100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24101 (exit $ac_status); } && {
24102 test -z "$ac_c_werror_flag" ||
24103 test ! -s conftest.err
24104 } && test -s conftest.$ac_objext; then
24105 ac_lo=0 ac_mid=0
24106 while :; do
24107 cat >conftest.$ac_ext <<_ACEOF
24108 /* confdefs.h. */
24109 _ACEOF
24110 cat confdefs.h >>conftest.$ac_ext
24111 cat >>conftest.$ac_ext <<_ACEOF
24112 /* end confdefs.h. */
24113 $ac_includes_default
24114 typedef long long ac__type_sizeof_;
24115 int
24116 main ()
24117 {
24118 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24119 test_array [0] = 0
24120
24121 ;
24122 return 0;
24123 }
24124 _ACEOF
24125 rm -f conftest.$ac_objext
24126 if { (ac_try="$ac_compile"
24127 case "(($ac_try" in
24128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24129 *) ac_try_echo=$ac_try;;
24130 esac
24131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24132 (eval "$ac_compile") 2>conftest.er1
24133 ac_status=$?
24134 grep -v '^ *+' conftest.er1 >conftest.err
24135 rm -f conftest.er1
24136 cat conftest.err >&5
24137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24138 (exit $ac_status); } && {
24139 test -z "$ac_c_werror_flag" ||
24140 test ! -s conftest.err
24141 } && test -s conftest.$ac_objext; then
24142 ac_hi=$ac_mid; break
24143 else
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.$ac_ext >&5
24146
24147 ac_lo=`expr $ac_mid + 1`
24148 if test $ac_lo -le $ac_mid; then
24149 ac_lo= ac_hi=
24150 break
24151 fi
24152 ac_mid=`expr 2 '*' $ac_mid + 1`
24153 fi
24154
24155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24156 done
24157 else
24158 echo "$as_me: failed program was:" >&5
24159 sed 's/^/| /' conftest.$ac_ext >&5
24160
24161 cat >conftest.$ac_ext <<_ACEOF
24162 /* confdefs.h. */
24163 _ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
24166 /* end confdefs.h. */
24167 $ac_includes_default
24168 typedef long long ac__type_sizeof_;
24169 int
24170 main ()
24171 {
24172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24173 test_array [0] = 0
24174
24175 ;
24176 return 0;
24177 }
24178 _ACEOF
24179 rm -f conftest.$ac_objext
24180 if { (ac_try="$ac_compile"
24181 case "(($ac_try" in
24182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24183 *) ac_try_echo=$ac_try;;
24184 esac
24185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24186 (eval "$ac_compile") 2>conftest.er1
24187 ac_status=$?
24188 grep -v '^ *+' conftest.er1 >conftest.err
24189 rm -f conftest.er1
24190 cat conftest.err >&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } && {
24193 test -z "$ac_c_werror_flag" ||
24194 test ! -s conftest.err
24195 } && test -s conftest.$ac_objext; then
24196 ac_hi=-1 ac_mid=-1
24197 while :; do
24198 cat >conftest.$ac_ext <<_ACEOF
24199 /* confdefs.h. */
24200 _ACEOF
24201 cat confdefs.h >>conftest.$ac_ext
24202 cat >>conftest.$ac_ext <<_ACEOF
24203 /* end confdefs.h. */
24204 $ac_includes_default
24205 typedef long long ac__type_sizeof_;
24206 int
24207 main ()
24208 {
24209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24210 test_array [0] = 0
24211
24212 ;
24213 return 0;
24214 }
24215 _ACEOF
24216 rm -f conftest.$ac_objext
24217 if { (ac_try="$ac_compile"
24218 case "(($ac_try" in
24219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24220 *) ac_try_echo=$ac_try;;
24221 esac
24222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24223 (eval "$ac_compile") 2>conftest.er1
24224 ac_status=$?
24225 grep -v '^ *+' conftest.er1 >conftest.err
24226 rm -f conftest.er1
24227 cat conftest.err >&5
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); } && {
24230 test -z "$ac_c_werror_flag" ||
24231 test ! -s conftest.err
24232 } && test -s conftest.$ac_objext; then
24233 ac_lo=$ac_mid; break
24234 else
24235 echo "$as_me: failed program was:" >&5
24236 sed 's/^/| /' conftest.$ac_ext >&5
24237
24238 ac_hi=`expr '(' $ac_mid ')' - 1`
24239 if test $ac_mid -le $ac_hi; then
24240 ac_lo= ac_hi=
24241 break
24242 fi
24243 ac_mid=`expr 2 '*' $ac_mid`
24244 fi
24245
24246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24247 done
24248 else
24249 echo "$as_me: failed program was:" >&5
24250 sed 's/^/| /' conftest.$ac_ext >&5
24251
24252 ac_lo= ac_hi=
24253 fi
24254
24255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24256 fi
24257
24258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24259 # Binary search between lo and hi bounds.
24260 while test "x$ac_lo" != "x$ac_hi"; do
24261 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 $ac_includes_default
24269 typedef long long ac__type_sizeof_;
24270 int
24271 main ()
24272 {
24273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24274 test_array [0] = 0
24275
24276 ;
24277 return 0;
24278 }
24279 _ACEOF
24280 rm -f conftest.$ac_objext
24281 if { (ac_try="$ac_compile"
24282 case "(($ac_try" in
24283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24285 esac
24286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24287 (eval "$ac_compile") 2>conftest.er1
24288 ac_status=$?
24289 grep -v '^ *+' conftest.er1 >conftest.err
24290 rm -f conftest.er1
24291 cat conftest.err >&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); } && {
24294 test -z "$ac_c_werror_flag" ||
24295 test ! -s conftest.err
24296 } && test -s conftest.$ac_objext; then
24297 ac_hi=$ac_mid
24298 else
24299 echo "$as_me: failed program was:" >&5
24300 sed 's/^/| /' conftest.$ac_ext >&5
24301
24302 ac_lo=`expr '(' $ac_mid ')' + 1`
24303 fi
24304
24305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24306 done
24307 case $ac_lo in
24308 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24309 '') if test "$ac_cv_type_long_long" = yes; then
24310 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24311 See \`config.log' for more details." >&5
24312 echo "$as_me: error: cannot compute sizeof (long long)
24313 See \`config.log' for more details." >&2;}
24314 { (exit 77); exit 77; }; }
24315 else
24316 ac_cv_sizeof_long_long=0
24317 fi ;;
24318 esac
24319 else
24320 cat >conftest.$ac_ext <<_ACEOF
24321 /* confdefs.h. */
24322 _ACEOF
24323 cat confdefs.h >>conftest.$ac_ext
24324 cat >>conftest.$ac_ext <<_ACEOF
24325 /* end confdefs.h. */
24326 $ac_includes_default
24327 typedef long long ac__type_sizeof_;
24328 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24329 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24330 #include <stdio.h>
24331 #include <stdlib.h>
24332 int
24333 main ()
24334 {
24335
24336 FILE *f = fopen ("conftest.val", "w");
24337 if (! f)
24338 return 1;
24339 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24340 {
24341 long int i = longval ();
24342 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24343 return 1;
24344 fprintf (f, "%ld\n", i);
24345 }
24346 else
24347 {
24348 unsigned long int i = ulongval ();
24349 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24350 return 1;
24351 fprintf (f, "%lu\n", i);
24352 }
24353 return ferror (f) || fclose (f) != 0;
24354
24355 ;
24356 return 0;
24357 }
24358 _ACEOF
24359 rm -f conftest$ac_exeext
24360 if { (ac_try="$ac_link"
24361 case "(($ac_try" in
24362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24363 *) ac_try_echo=$ac_try;;
24364 esac
24365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24366 (eval "$ac_link") 2>&5
24367 ac_status=$?
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24370 { (case "(($ac_try" in
24371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24372 *) ac_try_echo=$ac_try;;
24373 esac
24374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24375 (eval "$ac_try") 2>&5
24376 ac_status=$?
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; }; then
24379 ac_cv_sizeof_long_long=`cat conftest.val`
24380 else
24381 echo "$as_me: program exited with status $ac_status" >&5
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.$ac_ext >&5
24384
24385 ( exit $ac_status )
24386 if test "$ac_cv_type_long_long" = yes; then
24387 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24388 See \`config.log' for more details." >&5
24389 echo "$as_me: error: cannot compute sizeof (long long)
24390 See \`config.log' for more details." >&2;}
24391 { (exit 77); exit 77; }; }
24392 else
24393 ac_cv_sizeof_long_long=0
24394 fi
24395 fi
24396 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24397 fi
24398 rm -f conftest.val
24399 fi
24400 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24401 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24402
24403
24404
24405 cat >>confdefs.h <<_ACEOF
24406 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24407 _ACEOF
24408
24409
24410 if test "$ac_cv_sizeof_long_long" != "0"; then
24411 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
24412 fi
24413 ;;
24414 * )
24415 { echo "$as_me:$LINENO: checking for long long" >&5
24416 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
24417 if test "${ac_cv_type_long_long+set}" = set; then
24418 echo $ECHO_N "(cached) $ECHO_C" >&6
24419 else
24420 cat >conftest.$ac_ext <<_ACEOF
24421 /* confdefs.h. */
24422 _ACEOF
24423 cat confdefs.h >>conftest.$ac_ext
24424 cat >>conftest.$ac_ext <<_ACEOF
24425 /* end confdefs.h. */
24426 $ac_includes_default
24427 typedef long long ac__type_new_;
24428 int
24429 main ()
24430 {
24431 if ((ac__type_new_ *) 0)
24432 return 0;
24433 if (sizeof (ac__type_new_))
24434 return 0;
24435 ;
24436 return 0;
24437 }
24438 _ACEOF
24439 rm -f conftest.$ac_objext
24440 if { (ac_try="$ac_compile"
24441 case "(($ac_try" in
24442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24443 *) ac_try_echo=$ac_try;;
24444 esac
24445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24446 (eval "$ac_compile") 2>conftest.er1
24447 ac_status=$?
24448 grep -v '^ *+' conftest.er1 >conftest.err
24449 rm -f conftest.er1
24450 cat conftest.err >&5
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); } && {
24453 test -z "$ac_c_werror_flag" ||
24454 test ! -s conftest.err
24455 } && test -s conftest.$ac_objext; then
24456 ac_cv_type_long_long=yes
24457 else
24458 echo "$as_me: failed program was:" >&5
24459 sed 's/^/| /' conftest.$ac_ext >&5
24460
24461 ac_cv_type_long_long=no
24462 fi
24463
24464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24465 fi
24466 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
24467 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
24468
24469 # The cast to long int works around a bug in the HP C Compiler
24470 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24471 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24472 # This bug is HP SR number 8606223364.
24473 { echo "$as_me:$LINENO: checking size of long long" >&5
24474 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
24475 if test "${ac_cv_sizeof_long_long+set}" = set; then
24476 echo $ECHO_N "(cached) $ECHO_C" >&6
24477 else
24478 if test "$cross_compiling" = yes; then
24479 # Depending upon the size, compute the lo and hi bounds.
24480 cat >conftest.$ac_ext <<_ACEOF
24481 /* confdefs.h. */
24482 _ACEOF
24483 cat confdefs.h >>conftest.$ac_ext
24484 cat >>conftest.$ac_ext <<_ACEOF
24485 /* end confdefs.h. */
24486 $ac_includes_default
24487 typedef long long ac__type_sizeof_;
24488 int
24489 main ()
24490 {
24491 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24492 test_array [0] = 0
24493
24494 ;
24495 return 0;
24496 }
24497 _ACEOF
24498 rm -f conftest.$ac_objext
24499 if { (ac_try="$ac_compile"
24500 case "(($ac_try" in
24501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24502 *) ac_try_echo=$ac_try;;
24503 esac
24504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24505 (eval "$ac_compile") 2>conftest.er1
24506 ac_status=$?
24507 grep -v '^ *+' conftest.er1 >conftest.err
24508 rm -f conftest.er1
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } && {
24512 test -z "$ac_c_werror_flag" ||
24513 test ! -s conftest.err
24514 } && test -s conftest.$ac_objext; then
24515 ac_lo=0 ac_mid=0
24516 while :; do
24517 cat >conftest.$ac_ext <<_ACEOF
24518 /* confdefs.h. */
24519 _ACEOF
24520 cat confdefs.h >>conftest.$ac_ext
24521 cat >>conftest.$ac_ext <<_ACEOF
24522 /* end confdefs.h. */
24523 $ac_includes_default
24524 typedef long long ac__type_sizeof_;
24525 int
24526 main ()
24527 {
24528 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24529 test_array [0] = 0
24530
24531 ;
24532 return 0;
24533 }
24534 _ACEOF
24535 rm -f conftest.$ac_objext
24536 if { (ac_try="$ac_compile"
24537 case "(($ac_try" in
24538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24539 *) ac_try_echo=$ac_try;;
24540 esac
24541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24542 (eval "$ac_compile") 2>conftest.er1
24543 ac_status=$?
24544 grep -v '^ *+' conftest.er1 >conftest.err
24545 rm -f conftest.er1
24546 cat conftest.err >&5
24547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24548 (exit $ac_status); } && {
24549 test -z "$ac_c_werror_flag" ||
24550 test ! -s conftest.err
24551 } && test -s conftest.$ac_objext; then
24552 ac_hi=$ac_mid; break
24553 else
24554 echo "$as_me: failed program was:" >&5
24555 sed 's/^/| /' conftest.$ac_ext >&5
24556
24557 ac_lo=`expr $ac_mid + 1`
24558 if test $ac_lo -le $ac_mid; then
24559 ac_lo= ac_hi=
24560 break
24561 fi
24562 ac_mid=`expr 2 '*' $ac_mid + 1`
24563 fi
24564
24565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24566 done
24567 else
24568 echo "$as_me: failed program was:" >&5
24569 sed 's/^/| /' conftest.$ac_ext >&5
24570
24571 cat >conftest.$ac_ext <<_ACEOF
24572 /* confdefs.h. */
24573 _ACEOF
24574 cat confdefs.h >>conftest.$ac_ext
24575 cat >>conftest.$ac_ext <<_ACEOF
24576 /* end confdefs.h. */
24577 $ac_includes_default
24578 typedef long long ac__type_sizeof_;
24579 int
24580 main ()
24581 {
24582 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24583 test_array [0] = 0
24584
24585 ;
24586 return 0;
24587 }
24588 _ACEOF
24589 rm -f conftest.$ac_objext
24590 if { (ac_try="$ac_compile"
24591 case "(($ac_try" in
24592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24593 *) ac_try_echo=$ac_try;;
24594 esac
24595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24596 (eval "$ac_compile") 2>conftest.er1
24597 ac_status=$?
24598 grep -v '^ *+' conftest.er1 >conftest.err
24599 rm -f conftest.er1
24600 cat conftest.err >&5
24601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24602 (exit $ac_status); } && {
24603 test -z "$ac_c_werror_flag" ||
24604 test ! -s conftest.err
24605 } && test -s conftest.$ac_objext; then
24606 ac_hi=-1 ac_mid=-1
24607 while :; do
24608 cat >conftest.$ac_ext <<_ACEOF
24609 /* confdefs.h. */
24610 _ACEOF
24611 cat confdefs.h >>conftest.$ac_ext
24612 cat >>conftest.$ac_ext <<_ACEOF
24613 /* end confdefs.h. */
24614 $ac_includes_default
24615 typedef long long ac__type_sizeof_;
24616 int
24617 main ()
24618 {
24619 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24620 test_array [0] = 0
24621
24622 ;
24623 return 0;
24624 }
24625 _ACEOF
24626 rm -f conftest.$ac_objext
24627 if { (ac_try="$ac_compile"
24628 case "(($ac_try" in
24629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24630 *) ac_try_echo=$ac_try;;
24631 esac
24632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24633 (eval "$ac_compile") 2>conftest.er1
24634 ac_status=$?
24635 grep -v '^ *+' conftest.er1 >conftest.err
24636 rm -f conftest.er1
24637 cat conftest.err >&5
24638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24639 (exit $ac_status); } && {
24640 test -z "$ac_c_werror_flag" ||
24641 test ! -s conftest.err
24642 } && test -s conftest.$ac_objext; then
24643 ac_lo=$ac_mid; break
24644 else
24645 echo "$as_me: failed program was:" >&5
24646 sed 's/^/| /' conftest.$ac_ext >&5
24647
24648 ac_hi=`expr '(' $ac_mid ')' - 1`
24649 if test $ac_mid -le $ac_hi; then
24650 ac_lo= ac_hi=
24651 break
24652 fi
24653 ac_mid=`expr 2 '*' $ac_mid`
24654 fi
24655
24656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24657 done
24658 else
24659 echo "$as_me: failed program was:" >&5
24660 sed 's/^/| /' conftest.$ac_ext >&5
24661
24662 ac_lo= ac_hi=
24663 fi
24664
24665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24666 fi
24667
24668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24669 # Binary search between lo and hi bounds.
24670 while test "x$ac_lo" != "x$ac_hi"; do
24671 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24672 cat >conftest.$ac_ext <<_ACEOF
24673 /* confdefs.h. */
24674 _ACEOF
24675 cat confdefs.h >>conftest.$ac_ext
24676 cat >>conftest.$ac_ext <<_ACEOF
24677 /* end confdefs.h. */
24678 $ac_includes_default
24679 typedef long long ac__type_sizeof_;
24680 int
24681 main ()
24682 {
24683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24684 test_array [0] = 0
24685
24686 ;
24687 return 0;
24688 }
24689 _ACEOF
24690 rm -f conftest.$ac_objext
24691 if { (ac_try="$ac_compile"
24692 case "(($ac_try" in
24693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24694 *) ac_try_echo=$ac_try;;
24695 esac
24696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24697 (eval "$ac_compile") 2>conftest.er1
24698 ac_status=$?
24699 grep -v '^ *+' conftest.er1 >conftest.err
24700 rm -f conftest.er1
24701 cat conftest.err >&5
24702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24703 (exit $ac_status); } && {
24704 test -z "$ac_c_werror_flag" ||
24705 test ! -s conftest.err
24706 } && test -s conftest.$ac_objext; then
24707 ac_hi=$ac_mid
24708 else
24709 echo "$as_me: failed program was:" >&5
24710 sed 's/^/| /' conftest.$ac_ext >&5
24711
24712 ac_lo=`expr '(' $ac_mid ')' + 1`
24713 fi
24714
24715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24716 done
24717 case $ac_lo in
24718 ?*) ac_cv_sizeof_long_long=$ac_lo;;
24719 '') if test "$ac_cv_type_long_long" = yes; then
24720 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24721 See \`config.log' for more details." >&5
24722 echo "$as_me: error: cannot compute sizeof (long long)
24723 See \`config.log' for more details." >&2;}
24724 { (exit 77); exit 77; }; }
24725 else
24726 ac_cv_sizeof_long_long=0
24727 fi ;;
24728 esac
24729 else
24730 cat >conftest.$ac_ext <<_ACEOF
24731 /* confdefs.h. */
24732 _ACEOF
24733 cat confdefs.h >>conftest.$ac_ext
24734 cat >>conftest.$ac_ext <<_ACEOF
24735 /* end confdefs.h. */
24736 $ac_includes_default
24737 typedef long long ac__type_sizeof_;
24738 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24739 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24740 #include <stdio.h>
24741 #include <stdlib.h>
24742 int
24743 main ()
24744 {
24745
24746 FILE *f = fopen ("conftest.val", "w");
24747 if (! f)
24748 return 1;
24749 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24750 {
24751 long int i = longval ();
24752 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24753 return 1;
24754 fprintf (f, "%ld\n", i);
24755 }
24756 else
24757 {
24758 unsigned long int i = ulongval ();
24759 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24760 return 1;
24761 fprintf (f, "%lu\n", i);
24762 }
24763 return ferror (f) || fclose (f) != 0;
24764
24765 ;
24766 return 0;
24767 }
24768 _ACEOF
24769 rm -f conftest$ac_exeext
24770 if { (ac_try="$ac_link"
24771 case "(($ac_try" in
24772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24773 *) ac_try_echo=$ac_try;;
24774 esac
24775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24776 (eval "$ac_link") 2>&5
24777 ac_status=$?
24778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24780 { (case "(($ac_try" in
24781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24782 *) ac_try_echo=$ac_try;;
24783 esac
24784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24785 (eval "$ac_try") 2>&5
24786 ac_status=$?
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); }; }; then
24789 ac_cv_sizeof_long_long=`cat conftest.val`
24790 else
24791 echo "$as_me: program exited with status $ac_status" >&5
24792 echo "$as_me: failed program was:" >&5
24793 sed 's/^/| /' conftest.$ac_ext >&5
24794
24795 ( exit $ac_status )
24796 if test "$ac_cv_type_long_long" = yes; then
24797 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24798 See \`config.log' for more details." >&5
24799 echo "$as_me: error: cannot compute sizeof (long long)
24800 See \`config.log' for more details." >&2;}
24801 { (exit 77); exit 77; }; }
24802 else
24803 ac_cv_sizeof_long_long=0
24804 fi
24805 fi
24806 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24807 fi
24808 rm -f conftest.val
24809 fi
24810 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24811 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24812
24813
24814
24815 cat >>confdefs.h <<_ACEOF
24816 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24817 _ACEOF
24818
24819
24820 esac
24821
24822 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24823 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24824 if test "${ac_cv_type_wchar_t+set}" = set; then
24825 echo $ECHO_N "(cached) $ECHO_C" >&6
24826 else
24827 cat >conftest.$ac_ext <<_ACEOF
24828 /* confdefs.h. */
24829 _ACEOF
24830 cat confdefs.h >>conftest.$ac_ext
24831 cat >>conftest.$ac_ext <<_ACEOF
24832 /* end confdefs.h. */
24833
24834 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24835 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24836 # error "fake wchar_t"
24837 #endif
24838 #ifdef HAVE_WCHAR_H
24839 # ifdef __CYGWIN__
24840 # include <stddef.h>
24841 # endif
24842 # include <wchar.h>
24843 #endif
24844 #ifdef HAVE_STDLIB_H
24845 # include <stdlib.h>
24846 #endif
24847 #include <stdio.h>
24848
24849
24850
24851 typedef wchar_t ac__type_new_;
24852 int
24853 main ()
24854 {
24855 if ((ac__type_new_ *) 0)
24856 return 0;
24857 if (sizeof (ac__type_new_))
24858 return 0;
24859 ;
24860 return 0;
24861 }
24862 _ACEOF
24863 rm -f conftest.$ac_objext
24864 if { (ac_try="$ac_compile"
24865 case "(($ac_try" in
24866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24867 *) ac_try_echo=$ac_try;;
24868 esac
24869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24870 (eval "$ac_compile") 2>conftest.er1
24871 ac_status=$?
24872 grep -v '^ *+' conftest.er1 >conftest.err
24873 rm -f conftest.er1
24874 cat conftest.err >&5
24875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24876 (exit $ac_status); } && {
24877 test -z "$ac_c_werror_flag" ||
24878 test ! -s conftest.err
24879 } && test -s conftest.$ac_objext; then
24880 ac_cv_type_wchar_t=yes
24881 else
24882 echo "$as_me: failed program was:" >&5
24883 sed 's/^/| /' conftest.$ac_ext >&5
24884
24885 ac_cv_type_wchar_t=no
24886 fi
24887
24888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24889 fi
24890 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24891 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24892
24893 # The cast to long int works around a bug in the HP C Compiler
24894 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24895 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24896 # This bug is HP SR number 8606223364.
24897 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24898 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24899 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24900 echo $ECHO_N "(cached) $ECHO_C" >&6
24901 else
24902 if test "$cross_compiling" = yes; then
24903 # Depending upon the size, compute the lo and hi bounds.
24904 cat >conftest.$ac_ext <<_ACEOF
24905 /* confdefs.h. */
24906 _ACEOF
24907 cat confdefs.h >>conftest.$ac_ext
24908 cat >>conftest.$ac_ext <<_ACEOF
24909 /* end confdefs.h. */
24910
24911 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24912 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24913 # error "fake wchar_t"
24914 #endif
24915 #ifdef HAVE_WCHAR_H
24916 # ifdef __CYGWIN__
24917 # include <stddef.h>
24918 # endif
24919 # include <wchar.h>
24920 #endif
24921 #ifdef HAVE_STDLIB_H
24922 # include <stdlib.h>
24923 #endif
24924 #include <stdio.h>
24925
24926
24927
24928 typedef wchar_t ac__type_sizeof_;
24929 int
24930 main ()
24931 {
24932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24933 test_array [0] = 0
24934
24935 ;
24936 return 0;
24937 }
24938 _ACEOF
24939 rm -f conftest.$ac_objext
24940 if { (ac_try="$ac_compile"
24941 case "(($ac_try" in
24942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24943 *) ac_try_echo=$ac_try;;
24944 esac
24945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24946 (eval "$ac_compile") 2>conftest.er1
24947 ac_status=$?
24948 grep -v '^ *+' conftest.er1 >conftest.err
24949 rm -f conftest.er1
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } && {
24953 test -z "$ac_c_werror_flag" ||
24954 test ! -s conftest.err
24955 } && test -s conftest.$ac_objext; then
24956 ac_lo=0 ac_mid=0
24957 while :; do
24958 cat >conftest.$ac_ext <<_ACEOF
24959 /* confdefs.h. */
24960 _ACEOF
24961 cat confdefs.h >>conftest.$ac_ext
24962 cat >>conftest.$ac_ext <<_ACEOF
24963 /* end confdefs.h. */
24964
24965 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24966 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24967 # error "fake wchar_t"
24968 #endif
24969 #ifdef HAVE_WCHAR_H
24970 # ifdef __CYGWIN__
24971 # include <stddef.h>
24972 # endif
24973 # include <wchar.h>
24974 #endif
24975 #ifdef HAVE_STDLIB_H
24976 # include <stdlib.h>
24977 #endif
24978 #include <stdio.h>
24979
24980
24981
24982 typedef wchar_t ac__type_sizeof_;
24983 int
24984 main ()
24985 {
24986 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24987 test_array [0] = 0
24988
24989 ;
24990 return 0;
24991 }
24992 _ACEOF
24993 rm -f conftest.$ac_objext
24994 if { (ac_try="$ac_compile"
24995 case "(($ac_try" in
24996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24997 *) ac_try_echo=$ac_try;;
24998 esac
24999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25000 (eval "$ac_compile") 2>conftest.er1
25001 ac_status=$?
25002 grep -v '^ *+' conftest.er1 >conftest.err
25003 rm -f conftest.er1
25004 cat conftest.err >&5
25005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25006 (exit $ac_status); } && {
25007 test -z "$ac_c_werror_flag" ||
25008 test ! -s conftest.err
25009 } && test -s conftest.$ac_objext; then
25010 ac_hi=$ac_mid; break
25011 else
25012 echo "$as_me: failed program was:" >&5
25013 sed 's/^/| /' conftest.$ac_ext >&5
25014
25015 ac_lo=`expr $ac_mid + 1`
25016 if test $ac_lo -le $ac_mid; then
25017 ac_lo= ac_hi=
25018 break
25019 fi
25020 ac_mid=`expr 2 '*' $ac_mid + 1`
25021 fi
25022
25023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25024 done
25025 else
25026 echo "$as_me: failed program was:" >&5
25027 sed 's/^/| /' conftest.$ac_ext >&5
25028
25029 cat >conftest.$ac_ext <<_ACEOF
25030 /* confdefs.h. */
25031 _ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035
25036 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25037 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25038 # error "fake wchar_t"
25039 #endif
25040 #ifdef HAVE_WCHAR_H
25041 # ifdef __CYGWIN__
25042 # include <stddef.h>
25043 # endif
25044 # include <wchar.h>
25045 #endif
25046 #ifdef HAVE_STDLIB_H
25047 # include <stdlib.h>
25048 #endif
25049 #include <stdio.h>
25050
25051
25052
25053 typedef wchar_t ac__type_sizeof_;
25054 int
25055 main ()
25056 {
25057 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25058 test_array [0] = 0
25059
25060 ;
25061 return 0;
25062 }
25063 _ACEOF
25064 rm -f conftest.$ac_objext
25065 if { (ac_try="$ac_compile"
25066 case "(($ac_try" in
25067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25068 *) ac_try_echo=$ac_try;;
25069 esac
25070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25071 (eval "$ac_compile") 2>conftest.er1
25072 ac_status=$?
25073 grep -v '^ *+' conftest.er1 >conftest.err
25074 rm -f conftest.er1
25075 cat conftest.err >&5
25076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25077 (exit $ac_status); } && {
25078 test -z "$ac_c_werror_flag" ||
25079 test ! -s conftest.err
25080 } && test -s conftest.$ac_objext; then
25081 ac_hi=-1 ac_mid=-1
25082 while :; do
25083 cat >conftest.$ac_ext <<_ACEOF
25084 /* confdefs.h. */
25085 _ACEOF
25086 cat confdefs.h >>conftest.$ac_ext
25087 cat >>conftest.$ac_ext <<_ACEOF
25088 /* end confdefs.h. */
25089
25090 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25091 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25092 # error "fake wchar_t"
25093 #endif
25094 #ifdef HAVE_WCHAR_H
25095 # ifdef __CYGWIN__
25096 # include <stddef.h>
25097 # endif
25098 # include <wchar.h>
25099 #endif
25100 #ifdef HAVE_STDLIB_H
25101 # include <stdlib.h>
25102 #endif
25103 #include <stdio.h>
25104
25105
25106
25107 typedef wchar_t ac__type_sizeof_;
25108 int
25109 main ()
25110 {
25111 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25112 test_array [0] = 0
25113
25114 ;
25115 return 0;
25116 }
25117 _ACEOF
25118 rm -f conftest.$ac_objext
25119 if { (ac_try="$ac_compile"
25120 case "(($ac_try" in
25121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25122 *) ac_try_echo=$ac_try;;
25123 esac
25124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25125 (eval "$ac_compile") 2>conftest.er1
25126 ac_status=$?
25127 grep -v '^ *+' conftest.er1 >conftest.err
25128 rm -f conftest.er1
25129 cat conftest.err >&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } && {
25132 test -z "$ac_c_werror_flag" ||
25133 test ! -s conftest.err
25134 } && test -s conftest.$ac_objext; then
25135 ac_lo=$ac_mid; break
25136 else
25137 echo "$as_me: failed program was:" >&5
25138 sed 's/^/| /' conftest.$ac_ext >&5
25139
25140 ac_hi=`expr '(' $ac_mid ')' - 1`
25141 if test $ac_mid -le $ac_hi; then
25142 ac_lo= ac_hi=
25143 break
25144 fi
25145 ac_mid=`expr 2 '*' $ac_mid`
25146 fi
25147
25148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25149 done
25150 else
25151 echo "$as_me: failed program was:" >&5
25152 sed 's/^/| /' conftest.$ac_ext >&5
25153
25154 ac_lo= ac_hi=
25155 fi
25156
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 fi
25159
25160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25161 # Binary search between lo and hi bounds.
25162 while test "x$ac_lo" != "x$ac_hi"; do
25163 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25164 cat >conftest.$ac_ext <<_ACEOF
25165 /* confdefs.h. */
25166 _ACEOF
25167 cat confdefs.h >>conftest.$ac_ext
25168 cat >>conftest.$ac_ext <<_ACEOF
25169 /* end confdefs.h. */
25170
25171 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25172 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25173 # error "fake wchar_t"
25174 #endif
25175 #ifdef HAVE_WCHAR_H
25176 # ifdef __CYGWIN__
25177 # include <stddef.h>
25178 # endif
25179 # include <wchar.h>
25180 #endif
25181 #ifdef HAVE_STDLIB_H
25182 # include <stdlib.h>
25183 #endif
25184 #include <stdio.h>
25185
25186
25187
25188 typedef wchar_t ac__type_sizeof_;
25189 int
25190 main ()
25191 {
25192 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25193 test_array [0] = 0
25194
25195 ;
25196 return 0;
25197 }
25198 _ACEOF
25199 rm -f conftest.$ac_objext
25200 if { (ac_try="$ac_compile"
25201 case "(($ac_try" in
25202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25203 *) ac_try_echo=$ac_try;;
25204 esac
25205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25206 (eval "$ac_compile") 2>conftest.er1
25207 ac_status=$?
25208 grep -v '^ *+' conftest.er1 >conftest.err
25209 rm -f conftest.er1
25210 cat conftest.err >&5
25211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25212 (exit $ac_status); } && {
25213 test -z "$ac_c_werror_flag" ||
25214 test ! -s conftest.err
25215 } && test -s conftest.$ac_objext; then
25216 ac_hi=$ac_mid
25217 else
25218 echo "$as_me: failed program was:" >&5
25219 sed 's/^/| /' conftest.$ac_ext >&5
25220
25221 ac_lo=`expr '(' $ac_mid ')' + 1`
25222 fi
25223
25224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25225 done
25226 case $ac_lo in
25227 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
25228 '') if test "$ac_cv_type_wchar_t" = yes; then
25229 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25230 See \`config.log' for more details." >&5
25231 echo "$as_me: error: cannot compute sizeof (wchar_t)
25232 See \`config.log' for more details." >&2;}
25233 { (exit 77); exit 77; }; }
25234 else
25235 ac_cv_sizeof_wchar_t=0
25236 fi ;;
25237 esac
25238 else
25239 cat >conftest.$ac_ext <<_ACEOF
25240 /* confdefs.h. */
25241 _ACEOF
25242 cat confdefs.h >>conftest.$ac_ext
25243 cat >>conftest.$ac_ext <<_ACEOF
25244 /* end confdefs.h. */
25245
25246 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
25247 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
25248 # error "fake wchar_t"
25249 #endif
25250 #ifdef HAVE_WCHAR_H
25251 # ifdef __CYGWIN__
25252 # include <stddef.h>
25253 # endif
25254 # include <wchar.h>
25255 #endif
25256 #ifdef HAVE_STDLIB_H
25257 # include <stdlib.h>
25258 #endif
25259 #include <stdio.h>
25260
25261
25262
25263 typedef wchar_t ac__type_sizeof_;
25264 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25265 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25266 #include <stdio.h>
25267 #include <stdlib.h>
25268 int
25269 main ()
25270 {
25271
25272 FILE *f = fopen ("conftest.val", "w");
25273 if (! f)
25274 return 1;
25275 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25276 {
25277 long int i = longval ();
25278 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25279 return 1;
25280 fprintf (f, "%ld\n", i);
25281 }
25282 else
25283 {
25284 unsigned long int i = ulongval ();
25285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25286 return 1;
25287 fprintf (f, "%lu\n", i);
25288 }
25289 return ferror (f) || fclose (f) != 0;
25290
25291 ;
25292 return 0;
25293 }
25294 _ACEOF
25295 rm -f conftest$ac_exeext
25296 if { (ac_try="$ac_link"
25297 case "(($ac_try" in
25298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25299 *) ac_try_echo=$ac_try;;
25300 esac
25301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25302 (eval "$ac_link") 2>&5
25303 ac_status=$?
25304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25306 { (case "(($ac_try" in
25307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25308 *) ac_try_echo=$ac_try;;
25309 esac
25310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25311 (eval "$ac_try") 2>&5
25312 ac_status=$?
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); }; }; then
25315 ac_cv_sizeof_wchar_t=`cat conftest.val`
25316 else
25317 echo "$as_me: program exited with status $ac_status" >&5
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.$ac_ext >&5
25320
25321 ( exit $ac_status )
25322 if test "$ac_cv_type_wchar_t" = yes; then
25323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
25324 See \`config.log' for more details." >&5
25325 echo "$as_me: error: cannot compute sizeof (wchar_t)
25326 See \`config.log' for more details." >&2;}
25327 { (exit 77); exit 77; }; }
25328 else
25329 ac_cv_sizeof_wchar_t=0
25330 fi
25331 fi
25332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25333 fi
25334 rm -f conftest.val
25335 fi
25336 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
25337 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
25338
25339
25340
25341 cat >>confdefs.h <<_ACEOF
25342 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
25343 _ACEOF
25344
25345
25346 if test "$ac_cv_sizeof_wchar_t" != "0"; then
25347 wxUSE_WCHAR_T=yes
25348 else
25349 wxUSE_WCHAR_T=no
25350 fi
25351
25352 { echo "$as_me:$LINENO: checking for va_copy" >&5
25353 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
25354 if test "${wx_cv_func_va_copy+set}" = set; then
25355 echo $ECHO_N "(cached) $ECHO_C" >&6
25356 else
25357
25358 ac_ext=cpp
25359 ac_cpp='$CXXCPP $CPPFLAGS'
25360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25363
25364 cat >conftest.$ac_ext <<_ACEOF
25365
25366 #include <stdarg.h>
25367 void foo(char *f, ...)
25368 {
25369 va_list ap1, ap2;
25370 va_start(ap1, f);
25371 va_copy(ap2, ap1);
25372 va_end(ap2);
25373 va_end(ap1);
25374 }
25375 int main()
25376 {
25377 foo("hi", 17);
25378 return 0;
25379 }
25380 _ACEOF
25381 rm -f conftest.$ac_objext conftest$ac_exeext
25382 if { (ac_try="$ac_link"
25383 case "(($ac_try" in
25384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25385 *) ac_try_echo=$ac_try;;
25386 esac
25387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25388 (eval "$ac_link") 2>conftest.er1
25389 ac_status=$?
25390 grep -v '^ *+' conftest.er1 >conftest.err
25391 rm -f conftest.er1
25392 cat conftest.err >&5
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); } && {
25395 test -z "$ac_cxx_werror_flag" ||
25396 test ! -s conftest.err
25397 } && test -s conftest$ac_exeext &&
25398 $as_test_x conftest$ac_exeext; then
25399 wx_cv_func_va_copy=yes
25400 else
25401 echo "$as_me: failed program was:" >&5
25402 sed 's/^/| /' conftest.$ac_ext >&5
25403
25404 wx_cv_func_va_copy=no
25405
25406 fi
25407
25408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25409 conftest$ac_exeext conftest.$ac_ext
25410 ac_ext=c
25411 ac_cpp='$CPP $CPPFLAGS'
25412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25415
25416
25417
25418 fi
25419 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
25420 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
25421
25422 if test $wx_cv_func_va_copy = "yes"; then
25423 cat >>confdefs.h <<\_ACEOF
25424 #define HAVE_VA_COPY 1
25425 _ACEOF
25426
25427 else
25428 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
25429 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
25430 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
25431 echo $ECHO_N "(cached) $ECHO_C" >&6
25432 else
25433
25434 if test "$cross_compiling" = yes; then
25435 wx_cv_type_va_list_lvalue=yes
25436
25437 else
25438 cat >conftest.$ac_ext <<_ACEOF
25439
25440 #include <stdarg.h>
25441 int foo(char *f, ...)
25442 {
25443 va_list ap1, ap2;
25444 va_start(ap1, f);
25445 ap2 = ap1;
25446 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
25447 return 1;
25448 va_end(ap2);
25449 va_end(ap1);
25450 return 0;
25451 }
25452 int main()
25453 {
25454 return foo("hi", 17);
25455 }
25456 _ACEOF
25457 rm -f conftest$ac_exeext
25458 if { (ac_try="$ac_link"
25459 case "(($ac_try" in
25460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25461 *) ac_try_echo=$ac_try;;
25462 esac
25463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25464 (eval "$ac_link") 2>&5
25465 ac_status=$?
25466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25467 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25468 { (case "(($ac_try" in
25469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25470 *) ac_try_echo=$ac_try;;
25471 esac
25472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25473 (eval "$ac_try") 2>&5
25474 ac_status=$?
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; }; then
25477 wx_cv_type_va_list_lvalue=yes
25478 else
25479 echo "$as_me: program exited with status $ac_status" >&5
25480 echo "$as_me: failed program was:" >&5
25481 sed 's/^/| /' conftest.$ac_ext >&5
25482
25483 ( exit $ac_status )
25484 wx_cv_type_va_list_lvalue=no
25485 fi
25486 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25487 fi
25488
25489
25490
25491
25492 fi
25493 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
25494 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
25495
25496 if test $wx_cv_type_va_list_lvalue != "yes"; then
25497 cat >>confdefs.h <<\_ACEOF
25498 #define VA_LIST_IS_ARRAY 1
25499 _ACEOF
25500
25501 fi
25502 fi
25503
25504 if test "$wxUSE_VARARG_MACROS" = "yes"; then
25505
25506 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
25507 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
25508 if test "${wx_cv_have_variadic_macros+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25510 else
25511
25512 ac_ext=cpp
25513 ac_cpp='$CXXCPP $CPPFLAGS'
25514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25517
25518 cat >conftest.$ac_ext <<_ACEOF
25519 /* confdefs.h. */
25520 _ACEOF
25521 cat confdefs.h >>conftest.$ac_ext
25522 cat >>conftest.$ac_ext <<_ACEOF
25523 /* end confdefs.h. */
25524
25525 #include <stdio.h>
25526 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
25527
25528 int
25529 main ()
25530 {
25531
25532 test("%s %d %p", "test", 1, 0);
25533
25534
25535 ;
25536 return 0;
25537 }
25538 _ACEOF
25539 rm -f conftest.$ac_objext
25540 if { (ac_try="$ac_compile"
25541 case "(($ac_try" in
25542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25543 *) ac_try_echo=$ac_try;;
25544 esac
25545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25546 (eval "$ac_compile") 2>conftest.er1
25547 ac_status=$?
25548 grep -v '^ *+' conftest.er1 >conftest.err
25549 rm -f conftest.er1
25550 cat conftest.err >&5
25551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25552 (exit $ac_status); } && {
25553 test -z "$ac_cxx_werror_flag" ||
25554 test ! -s conftest.err
25555 } && test -s conftest.$ac_objext; then
25556 wx_cv_have_variadic_macros=yes
25557 else
25558 echo "$as_me: failed program was:" >&5
25559 sed 's/^/| /' conftest.$ac_ext >&5
25560
25561 wx_cv_have_variadic_macros=no
25562
25563 fi
25564
25565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25566 ac_ext=c
25567 ac_cpp='$CPP $CPPFLAGS'
25568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25571
25572
25573
25574 fi
25575 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
25576 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
25577
25578 if test $wx_cv_have_variadic_macros = "yes"; then
25579 cat >>confdefs.h <<\_ACEOF
25580 #define HAVE_VARIADIC_MACROS 1
25581 _ACEOF
25582
25583 fi
25584
25585 fi
25586 # Check whether --enable-largefile was given.
25587 if test "${enable_largefile+set}" = set; then
25588 enableval=$enable_largefile;
25589 fi
25590
25591 if test "$enable_largefile" != no; then
25592 wx_largefile=no
25593
25594 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
25595 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
25596 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 else
25599
25600 cat >conftest.$ac_ext <<_ACEOF
25601 /* confdefs.h. */
25602 _ACEOF
25603 cat confdefs.h >>conftest.$ac_ext
25604 cat >>conftest.$ac_ext <<_ACEOF
25605 /* end confdefs.h. */
25606 #define _FILE_OFFSET_BITS 64
25607 #include <sys/types.h>
25608 int
25609 main ()
25610 {
25611 typedef struct {
25612 unsigned int field: sizeof(off_t) == 8;
25613 } wxlf;
25614
25615 ;
25616 return 0;
25617 }
25618 _ACEOF
25619 rm -f conftest.$ac_objext
25620 if { (ac_try="$ac_compile"
25621 case "(($ac_try" in
25622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25623 *) ac_try_echo=$ac_try;;
25624 esac
25625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25626 (eval "$ac_compile") 2>conftest.er1
25627 ac_status=$?
25628 grep -v '^ *+' conftest.er1 >conftest.err
25629 rm -f conftest.er1
25630 cat conftest.err >&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); } && {
25633 test -z "$ac_c_werror_flag" ||
25634 test ! -s conftest.err
25635 } && test -s conftest.$ac_objext; then
25636 ac_cv_sys_file_offset_bits=64
25637 else
25638 echo "$as_me: failed program was:" >&5
25639 sed 's/^/| /' conftest.$ac_ext >&5
25640
25641 ac_cv_sys_file_offset_bits=no
25642 fi
25643
25644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25645
25646
25647 fi
25648 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
25649 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
25650
25651 if test "$ac_cv_sys_file_offset_bits" != no; then
25652 wx_largefile=yes
25653 cat >>confdefs.h <<_ACEOF
25654 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
25655 _ACEOF
25656
25657 fi
25658
25659 if test "x$wx_largefile" != "xyes"; then
25660
25661 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
25662 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
25663 if test "${ac_cv_sys_large_files+set}" = set; then
25664 echo $ECHO_N "(cached) $ECHO_C" >&6
25665 else
25666
25667 cat >conftest.$ac_ext <<_ACEOF
25668 /* confdefs.h. */
25669 _ACEOF
25670 cat confdefs.h >>conftest.$ac_ext
25671 cat >>conftest.$ac_ext <<_ACEOF
25672 /* end confdefs.h. */
25673 #define _LARGE_FILES 1
25674 #include <sys/types.h>
25675 int
25676 main ()
25677 {
25678 typedef struct {
25679 unsigned int field: sizeof(off_t) == 8;
25680 } wxlf;
25681
25682 ;
25683 return 0;
25684 }
25685 _ACEOF
25686 rm -f conftest.$ac_objext
25687 if { (ac_try="$ac_compile"
25688 case "(($ac_try" in
25689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25690 *) ac_try_echo=$ac_try;;
25691 esac
25692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25693 (eval "$ac_compile") 2>conftest.er1
25694 ac_status=$?
25695 grep -v '^ *+' conftest.er1 >conftest.err
25696 rm -f conftest.er1
25697 cat conftest.err >&5
25698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25699 (exit $ac_status); } && {
25700 test -z "$ac_c_werror_flag" ||
25701 test ! -s conftest.err
25702 } && test -s conftest.$ac_objext; then
25703 ac_cv_sys_large_files=1
25704 else
25705 echo "$as_me: failed program was:" >&5
25706 sed 's/^/| /' conftest.$ac_ext >&5
25707
25708 ac_cv_sys_large_files=no
25709 fi
25710
25711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25712
25713
25714 fi
25715 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
25716 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
25717
25718 if test "$ac_cv_sys_large_files" != no; then
25719 wx_largefile=yes
25720 cat >>confdefs.h <<_ACEOF
25721 #define _LARGE_FILES $ac_cv_sys_large_files
25722 _ACEOF
25723
25724 fi
25725
25726 fi
25727
25728 { echo "$as_me:$LINENO: checking if large file support is available" >&5
25729 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
25730 if test "x$wx_largefile" = "xyes"; then
25731 cat >>confdefs.h <<\_ACEOF
25732 #define HAVE_LARGEFILE_SUPPORT 1
25733 _ACEOF
25734
25735 fi
25736 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
25737 echo "${ECHO_T}$wx_largefile" >&6; }
25738 fi
25739
25740
25741 if test "x$wx_largefile" = "xyes"; then
25742 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
25743 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
25744
25745 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
25746 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25747 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25748 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25749 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 else
25751
25752 ac_ext=cpp
25753 ac_cpp='$CXXCPP $CPPFLAGS'
25754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25757
25758 cat >conftest.$ac_ext <<_ACEOF
25759 /* confdefs.h. */
25760 _ACEOF
25761 cat confdefs.h >>conftest.$ac_ext
25762 cat >>conftest.$ac_ext <<_ACEOF
25763 /* end confdefs.h. */
25764
25765 int
25766 main ()
25767 {
25768
25769 #ifndef __STDC_EXT__
25770 choke me
25771 #endif
25772
25773 ;
25774 return 0;
25775 }
25776 _ACEOF
25777 rm -f conftest.$ac_objext
25778 if { (ac_try="$ac_compile"
25779 case "(($ac_try" in
25780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25781 *) ac_try_echo=$ac_try;;
25782 esac
25783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25784 (eval "$ac_compile") 2>conftest.er1
25785 ac_status=$?
25786 grep -v '^ *+' conftest.er1 >conftest.err
25787 rm -f conftest.er1
25788 cat conftest.err >&5
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); } && {
25791 test -z "$ac_cxx_werror_flag" ||
25792 test ! -s conftest.err
25793 } && test -s conftest.$ac_objext; then
25794 wx_cv_STDC_EXT_required=no
25795 else
25796 echo "$as_me: failed program was:" >&5
25797 sed 's/^/| /' conftest.$ac_ext >&5
25798
25799 wx_cv_STDC_EXT_required=yes
25800
25801 fi
25802
25803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25804 ac_ext=c
25805 ac_cpp='$CPP $CPPFLAGS'
25806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25809
25810
25811
25812 fi
25813 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25814 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25815 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25816 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25817 fi
25818 fi
25819 else
25820 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
25821 fi
25822 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25823 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25824 if test "${ac_cv_sys_largefile_source+set}" = set; then
25825 echo $ECHO_N "(cached) $ECHO_C" >&6
25826 else
25827 while :; do
25828 cat >conftest.$ac_ext <<_ACEOF
25829 /* confdefs.h. */
25830 _ACEOF
25831 cat confdefs.h >>conftest.$ac_ext
25832 cat >>conftest.$ac_ext <<_ACEOF
25833 /* end confdefs.h. */
25834 #include <sys/types.h> /* for off_t */
25835 #include <stdio.h>
25836 int
25837 main ()
25838 {
25839 int (*fp) (FILE *, off_t, int) = fseeko;
25840 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25841 ;
25842 return 0;
25843 }
25844 _ACEOF
25845 rm -f conftest.$ac_objext conftest$ac_exeext
25846 if { (ac_try="$ac_link"
25847 case "(($ac_try" in
25848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25849 *) ac_try_echo=$ac_try;;
25850 esac
25851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25852 (eval "$ac_link") 2>conftest.er1
25853 ac_status=$?
25854 grep -v '^ *+' conftest.er1 >conftest.err
25855 rm -f conftest.er1
25856 cat conftest.err >&5
25857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25858 (exit $ac_status); } && {
25859 test -z "$ac_c_werror_flag" ||
25860 test ! -s conftest.err
25861 } && test -s conftest$ac_exeext &&
25862 $as_test_x conftest$ac_exeext; then
25863 ac_cv_sys_largefile_source=no; break
25864 else
25865 echo "$as_me: failed program was:" >&5
25866 sed 's/^/| /' conftest.$ac_ext >&5
25867
25868
25869 fi
25870
25871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25872 conftest$ac_exeext conftest.$ac_ext
25873 cat >conftest.$ac_ext <<_ACEOF
25874 /* confdefs.h. */
25875 _ACEOF
25876 cat confdefs.h >>conftest.$ac_ext
25877 cat >>conftest.$ac_ext <<_ACEOF
25878 /* end confdefs.h. */
25879 #define _LARGEFILE_SOURCE 1
25880 #include <sys/types.h> /* for off_t */
25881 #include <stdio.h>
25882 int
25883 main ()
25884 {
25885 int (*fp) (FILE *, off_t, int) = fseeko;
25886 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25887 ;
25888 return 0;
25889 }
25890 _ACEOF
25891 rm -f conftest.$ac_objext conftest$ac_exeext
25892 if { (ac_try="$ac_link"
25893 case "(($ac_try" in
25894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25895 *) ac_try_echo=$ac_try;;
25896 esac
25897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25898 (eval "$ac_link") 2>conftest.er1
25899 ac_status=$?
25900 grep -v '^ *+' conftest.er1 >conftest.err
25901 rm -f conftest.er1
25902 cat conftest.err >&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); } && {
25905 test -z "$ac_c_werror_flag" ||
25906 test ! -s conftest.err
25907 } && test -s conftest$ac_exeext &&
25908 $as_test_x conftest$ac_exeext; then
25909 ac_cv_sys_largefile_source=1; break
25910 else
25911 echo "$as_me: failed program was:" >&5
25912 sed 's/^/| /' conftest.$ac_ext >&5
25913
25914
25915 fi
25916
25917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25918 conftest$ac_exeext conftest.$ac_ext
25919 ac_cv_sys_largefile_source=unknown
25920 break
25921 done
25922 fi
25923 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25924 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25925 case $ac_cv_sys_largefile_source in #(
25926 no | unknown) ;;
25927 *)
25928 cat >>confdefs.h <<_ACEOF
25929 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25930 _ACEOF
25931 ;;
25932 esac
25933 rm -f conftest*
25934
25935 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25936 # in glibc 2.1.3, but that breaks too many other things.
25937 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25938 if test $ac_cv_sys_largefile_source != unknown; then
25939
25940 cat >>confdefs.h <<\_ACEOF
25941 #define HAVE_FSEEKO 1
25942 _ACEOF
25943
25944 fi
25945
25946 if test "$ac_cv_sys_largefile_source" != no; then
25947 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25948 fi
25949 fi
25950
25951 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25952 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25953 if test "${ac_cv_c_bigendian+set}" = set; then
25954 echo $ECHO_N "(cached) $ECHO_C" >&6
25955 else
25956 ac_cv_c_bigendian=unknown
25957 # See if sys/param.h defines the BYTE_ORDER macro.
25958 cat >conftest.$ac_ext <<_ACEOF
25959 /* confdefs.h. */
25960 _ACEOF
25961 cat confdefs.h >>conftest.$ac_ext
25962 cat >>conftest.$ac_ext <<_ACEOF
25963 /* end confdefs.h. */
25964 #include <sys/types.h>
25965 #include <sys/param.h>
25966 int
25967 main ()
25968 {
25969
25970 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25971 bogus endian macros
25972 #endif
25973 ;
25974 return 0;
25975 }
25976 _ACEOF
25977 rm -f conftest.$ac_objext
25978 if { (ac_try="$ac_compile"
25979 case "(($ac_try" in
25980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25981 *) ac_try_echo=$ac_try;;
25982 esac
25983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25984 (eval "$ac_compile") 2>conftest.er1
25985 ac_status=$?
25986 grep -v '^ *+' conftest.er1 >conftest.err
25987 rm -f conftest.er1
25988 cat conftest.err >&5
25989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25990 (exit $ac_status); } && {
25991 test -z "$ac_c_werror_flag" ||
25992 test ! -s conftest.err
25993 } && test -s conftest.$ac_objext; then
25994 # It does; now see whether it defined to BIG_ENDIAN or not.
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 <sys/types.h>
26002 #include <sys/param.h>
26003 int
26004 main ()
26005 {
26006
26007 #if BYTE_ORDER != BIG_ENDIAN
26008 not big endian
26009 #endif
26010 ;
26011 return 0;
26012 }
26013 _ACEOF
26014 rm -f conftest.$ac_objext
26015 if { (ac_try="$ac_compile"
26016 case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26019 esac
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_compile") 2>conftest.er1
26022 ac_status=$?
26023 grep -v '^ *+' conftest.er1 >conftest.err
26024 rm -f conftest.er1
26025 cat conftest.err >&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } && {
26028 test -z "$ac_c_werror_flag" ||
26029 test ! -s conftest.err
26030 } && test -s conftest.$ac_objext; then
26031 ac_cv_c_bigendian=yes
26032 else
26033 echo "$as_me: failed program was:" >&5
26034 sed 's/^/| /' conftest.$ac_ext >&5
26035
26036 ac_cv_c_bigendian=no
26037 fi
26038
26039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26040 else
26041 echo "$as_me: failed program was:" >&5
26042 sed 's/^/| /' conftest.$ac_ext >&5
26043
26044
26045 fi
26046
26047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26048 if test $ac_cv_c_bigendian = unknown; then
26049 if test "$cross_compiling" = yes; then
26050 ac_cv_c_bigendian=unknown
26051 else
26052 cat >conftest.$ac_ext <<_ACEOF
26053 /* confdefs.h. */
26054 _ACEOF
26055 cat confdefs.h >>conftest.$ac_ext
26056 cat >>conftest.$ac_ext <<_ACEOF
26057 /* end confdefs.h. */
26058 main () {
26059 /* Are we little or big endian? From Harbison&Steele. */
26060 union
26061 {
26062 long l;
26063 char c[sizeof (long)];
26064 } u;
26065 u.l = 1;
26066 exit (u.c[sizeof (long) - 1] == 1);
26067 }
26068 _ACEOF
26069 rm -f conftest$ac_exeext
26070 if { (ac_try="$ac_link"
26071 case "(($ac_try" in
26072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26073 *) ac_try_echo=$ac_try;;
26074 esac
26075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26076 (eval "$ac_link") 2>&5
26077 ac_status=$?
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26080 { (case "(($ac_try" in
26081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26082 *) ac_try_echo=$ac_try;;
26083 esac
26084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26085 (eval "$ac_try") 2>&5
26086 ac_status=$?
26087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088 (exit $ac_status); }; }; then
26089 ac_cv_c_bigendian=no
26090 else
26091 echo "$as_me: program exited with status $ac_status" >&5
26092 echo "$as_me: failed program was:" >&5
26093 sed 's/^/| /' conftest.$ac_ext >&5
26094
26095 ( exit $ac_status )
26096 ac_cv_c_bigendian=yes
26097 fi
26098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26099 fi
26100
26101
26102 fi
26103 fi
26104 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
26105 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
26106 if test $ac_cv_c_bigendian = unknown; then
26107 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
26108 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overriden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
26109 fi
26110 if test $ac_cv_c_bigendian = yes; then
26111 cat >>confdefs.h <<\_ACEOF
26112 #define WORDS_BIGENDIAN 1
26113 _ACEOF
26114
26115 fi
26116
26117
26118
26119
26120 ac_ext=cpp
26121 ac_cpp='$CXXCPP $CPPFLAGS'
26122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26125
26126
26127
26128 for ac_header in iostream
26129 do
26130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26131 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26134 echo $ECHO_N "(cached) $ECHO_C" >&6
26135 else
26136 cat >conftest.$ac_ext <<_ACEOF
26137 /* confdefs.h. */
26138 _ACEOF
26139 cat confdefs.h >>conftest.$ac_ext
26140 cat >>conftest.$ac_ext <<_ACEOF
26141 /* end confdefs.h. */
26142
26143
26144 #include <$ac_header>
26145 _ACEOF
26146 rm -f conftest.$ac_objext
26147 if { (ac_try="$ac_compile"
26148 case "(($ac_try" in
26149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26150 *) ac_try_echo=$ac_try;;
26151 esac
26152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26153 (eval "$ac_compile") 2>conftest.er1
26154 ac_status=$?
26155 grep -v '^ *+' conftest.er1 >conftest.err
26156 rm -f conftest.er1
26157 cat conftest.err >&5
26158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26159 (exit $ac_status); } && {
26160 test -z "$ac_cxx_werror_flag" ||
26161 test ! -s conftest.err
26162 } && test -s conftest.$ac_objext; then
26163 eval "$as_ac_Header=yes"
26164 else
26165 echo "$as_me: failed program was:" >&5
26166 sed 's/^/| /' conftest.$ac_ext >&5
26167
26168 eval "$as_ac_Header=no"
26169 fi
26170
26171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26172 fi
26173 ac_res=`eval echo '${'$as_ac_Header'}'`
26174 { echo "$as_me:$LINENO: result: $ac_res" >&5
26175 echo "${ECHO_T}$ac_res" >&6; }
26176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26177 cat >>confdefs.h <<_ACEOF
26178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26179 _ACEOF
26180
26181 fi
26182
26183 done
26184
26185
26186 if test "$ac_cv_header_iostream" = "yes" ; then
26187 :
26188 else
26189 cat >>confdefs.h <<\_ACEOF
26190 #define wxUSE_IOSTREAMH 1
26191 _ACEOF
26192
26193 fi
26194
26195 ac_ext=c
26196 ac_cpp='$CPP $CPPFLAGS'
26197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26200
26201
26202
26203
26204 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
26205 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
26206 if test "${wx_cv_cpp_bool+set}" = set; then
26207 echo $ECHO_N "(cached) $ECHO_C" >&6
26208 else
26209
26210
26211 ac_ext=cpp
26212 ac_cpp='$CXXCPP $CPPFLAGS'
26213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26216
26217
26218 cat >conftest.$ac_ext <<_ACEOF
26219 /* confdefs.h. */
26220 _ACEOF
26221 cat confdefs.h >>conftest.$ac_ext
26222 cat >>conftest.$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26224
26225
26226 int
26227 main ()
26228 {
26229
26230 bool b = true;
26231
26232 return 0;
26233
26234 ;
26235 return 0;
26236 }
26237 _ACEOF
26238 rm -f conftest.$ac_objext
26239 if { (ac_try="$ac_compile"
26240 case "(($ac_try" in
26241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26242 *) ac_try_echo=$ac_try;;
26243 esac
26244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26245 (eval "$ac_compile") 2>conftest.er1
26246 ac_status=$?
26247 grep -v '^ *+' conftest.er1 >conftest.err
26248 rm -f conftest.er1
26249 cat conftest.err >&5
26250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26251 (exit $ac_status); } && {
26252 test -z "$ac_cxx_werror_flag" ||
26253 test ! -s conftest.err
26254 } && test -s conftest.$ac_objext; then
26255
26256 wx_cv_cpp_bool=yes
26257
26258 else
26259 echo "$as_me: failed program was:" >&5
26260 sed 's/^/| /' conftest.$ac_ext >&5
26261
26262
26263 wx_cv_cpp_bool=no
26264
26265
26266 fi
26267
26268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26269
26270 ac_ext=c
26271 ac_cpp='$CPP $CPPFLAGS'
26272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26275
26276
26277 fi
26278 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
26279 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
26280
26281 if test "$wx_cv_cpp_bool" = "yes"; then
26282 cat >>confdefs.h <<\_ACEOF
26283 #define HAVE_BOOL 1
26284 _ACEOF
26285
26286 fi
26287
26288
26289
26290 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
26291 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
26292 if test "${wx_cv_explicit+set}" = set; then
26293 echo $ECHO_N "(cached) $ECHO_C" >&6
26294 else
26295
26296
26297 ac_ext=cpp
26298 ac_cpp='$CXXCPP $CPPFLAGS'
26299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26302
26303
26304 cat >conftest.$ac_ext <<_ACEOF
26305 /* confdefs.h. */
26306 _ACEOF
26307 cat confdefs.h >>conftest.$ac_ext
26308 cat >>conftest.$ac_ext <<_ACEOF
26309 /* end confdefs.h. */
26310
26311 class Foo { public: explicit Foo(int) {} };
26312
26313 int
26314 main ()
26315 {
26316
26317 return 0;
26318
26319 ;
26320 return 0;
26321 }
26322 _ACEOF
26323 rm -f conftest.$ac_objext
26324 if { (ac_try="$ac_compile"
26325 case "(($ac_try" in
26326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26327 *) ac_try_echo=$ac_try;;
26328 esac
26329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26330 (eval "$ac_compile") 2>conftest.er1
26331 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } && {
26337 test -z "$ac_cxx_werror_flag" ||
26338 test ! -s conftest.err
26339 } && test -s conftest.$ac_objext; then
26340
26341 cat >conftest.$ac_ext <<_ACEOF
26342 /* confdefs.h. */
26343 _ACEOF
26344 cat confdefs.h >>conftest.$ac_ext
26345 cat >>conftest.$ac_ext <<_ACEOF
26346 /* end confdefs.h. */
26347
26348 class Foo { public: explicit Foo(int) {} };
26349 static void TakeFoo(const Foo& foo) { }
26350
26351 int
26352 main ()
26353 {
26354
26355 TakeFoo(17);
26356 return 0;
26357
26358 ;
26359 return 0;
26360 }
26361 _ACEOF
26362 rm -f conftest.$ac_objext
26363 if { (ac_try="$ac_compile"
26364 case "(($ac_try" in
26365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26366 *) ac_try_echo=$ac_try;;
26367 esac
26368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26369 (eval "$ac_compile") 2>conftest.er1
26370 ac_status=$?
26371 grep -v '^ *+' conftest.er1 >conftest.err
26372 rm -f conftest.er1
26373 cat conftest.err >&5
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); } && {
26376 test -z "$ac_cxx_werror_flag" ||
26377 test ! -s conftest.err
26378 } && test -s conftest.$ac_objext; then
26379 wx_cv_explicit=no
26380 else
26381 echo "$as_me: failed program was:" >&5
26382 sed 's/^/| /' conftest.$ac_ext >&5
26383
26384 wx_cv_explicit=yes
26385
26386 fi
26387
26388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26389
26390 else
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.$ac_ext >&5
26393
26394 wx_cv_explicit=no
26395
26396 fi
26397
26398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26399
26400 ac_ext=c
26401 ac_cpp='$CPP $CPPFLAGS'
26402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26405
26406
26407 fi
26408 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
26409 echo "${ECHO_T}$wx_cv_explicit" >&6; }
26410
26411 if test "$wx_cv_explicit" = "yes"; then
26412 cat >>confdefs.h <<\_ACEOF
26413 #define HAVE_EXPLICIT 1
26414 _ACEOF
26415
26416 fi
26417
26418
26419 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
26420 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
26421 if test "${ac_cv_cxx_const_cast+set}" = set; then
26422 echo $ECHO_N "(cached) $ECHO_C" >&6
26423 else
26424
26425 ac_ext=cpp
26426 ac_cpp='$CXXCPP $CPPFLAGS'
26427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26430
26431 cat >conftest.$ac_ext <<_ACEOF
26432 /* confdefs.h. */
26433 _ACEOF
26434 cat confdefs.h >>conftest.$ac_ext
26435 cat >>conftest.$ac_ext <<_ACEOF
26436 /* end confdefs.h. */
26437
26438 int
26439 main ()
26440 {
26441 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
26442 ;
26443 return 0;
26444 }
26445 _ACEOF
26446 rm -f conftest.$ac_objext
26447 if { (ac_try="$ac_compile"
26448 case "(($ac_try" in
26449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26450 *) ac_try_echo=$ac_try;;
26451 esac
26452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26453 (eval "$ac_compile") 2>conftest.er1
26454 ac_status=$?
26455 grep -v '^ *+' conftest.er1 >conftest.err
26456 rm -f conftest.er1
26457 cat conftest.err >&5
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); } && {
26460 test -z "$ac_cxx_werror_flag" ||
26461 test ! -s conftest.err
26462 } && test -s conftest.$ac_objext; then
26463 ac_cv_cxx_const_cast=yes
26464 else
26465 echo "$as_me: failed program was:" >&5
26466 sed 's/^/| /' conftest.$ac_ext >&5
26467
26468 ac_cv_cxx_const_cast=no
26469 fi
26470
26471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26472 ac_ext=c
26473 ac_cpp='$CPP $CPPFLAGS'
26474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26477
26478
26479 fi
26480 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
26481 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
26482 if test "$ac_cv_cxx_const_cast" = yes; then
26483
26484 cat >>confdefs.h <<\_ACEOF
26485 #define HAVE_CONST_CAST
26486 _ACEOF
26487
26488 fi
26489
26490 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
26491 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
26492 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
26493 echo $ECHO_N "(cached) $ECHO_C" >&6
26494 else
26495
26496 ac_ext=cpp
26497 ac_cpp='$CXXCPP $CPPFLAGS'
26498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26501
26502 cat >conftest.$ac_ext <<_ACEOF
26503 /* confdefs.h. */
26504 _ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h. */
26508 #include <typeinfo>
26509 class Base { public : Base () {} virtual void f () = 0;};
26510 class Derived : public Base { public : Derived () {} virtual void f () {} };
26511 class Unrelated { public : Unrelated () {} };
26512 int g (Unrelated&) { return 0; }
26513 int
26514 main ()
26515 {
26516
26517 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
26518 ;
26519 return 0;
26520 }
26521 _ACEOF
26522 rm -f conftest.$ac_objext
26523 if { (ac_try="$ac_compile"
26524 case "(($ac_try" in
26525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26526 *) ac_try_echo=$ac_try;;
26527 esac
26528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26529 (eval "$ac_compile") 2>conftest.er1
26530 ac_status=$?
26531 grep -v '^ *+' conftest.er1 >conftest.err
26532 rm -f conftest.er1
26533 cat conftest.err >&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } && {
26536 test -z "$ac_cxx_werror_flag" ||
26537 test ! -s conftest.err
26538 } && test -s conftest.$ac_objext; then
26539 ac_cv_cxx_reinterpret_cast=yes
26540 else
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.$ac_ext >&5
26543
26544 ac_cv_cxx_reinterpret_cast=no
26545 fi
26546
26547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26548 ac_ext=c
26549 ac_cpp='$CPP $CPPFLAGS'
26550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26553
26554
26555 fi
26556 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
26557 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
26558 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
26559
26560 cat >>confdefs.h <<\_ACEOF
26561 #define HAVE_REINTERPRET_CAST
26562 _ACEOF
26563
26564 fi
26565
26566 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
26567 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
26568 if test "${ac_cv_cxx_static_cast+set}" = set; then
26569 echo $ECHO_N "(cached) $ECHO_C" >&6
26570 else
26571
26572 ac_ext=cpp
26573 ac_cpp='$CXXCPP $CPPFLAGS'
26574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26577
26578 cat >conftest.$ac_ext <<_ACEOF
26579 /* confdefs.h. */
26580 _ACEOF
26581 cat confdefs.h >>conftest.$ac_ext
26582 cat >>conftest.$ac_ext <<_ACEOF
26583 /* end confdefs.h. */
26584 #include <typeinfo>
26585 class Base { public : Base () {} virtual void f () = 0; };
26586 class Derived : public Base { public : Derived () {} virtual void f () {} };
26587 int g (Derived&) { return 0; }
26588 int
26589 main ()
26590 {
26591
26592 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
26593 ;
26594 return 0;
26595 }
26596 _ACEOF
26597 rm -f conftest.$ac_objext
26598 if { (ac_try="$ac_compile"
26599 case "(($ac_try" in
26600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26601 *) ac_try_echo=$ac_try;;
26602 esac
26603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26604 (eval "$ac_compile") 2>conftest.er1
26605 ac_status=$?
26606 grep -v '^ *+' conftest.er1 >conftest.err
26607 rm -f conftest.er1
26608 cat conftest.err >&5
26609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26610 (exit $ac_status); } && {
26611 test -z "$ac_cxx_werror_flag" ||
26612 test ! -s conftest.err
26613 } && test -s conftest.$ac_objext; then
26614 ac_cv_cxx_static_cast=yes
26615 else
26616 echo "$as_me: failed program was:" >&5
26617 sed 's/^/| /' conftest.$ac_ext >&5
26618
26619 ac_cv_cxx_static_cast=no
26620 fi
26621
26622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26623 ac_ext=c
26624 ac_cpp='$CPP $CPPFLAGS'
26625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26628
26629
26630 fi
26631 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
26632 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
26633 if test "$ac_cv_cxx_static_cast" = yes; then
26634
26635 cat >>confdefs.h <<\_ACEOF
26636 #define HAVE_STATIC_CAST
26637 _ACEOF
26638
26639 fi
26640
26641
26642 if test "x$SUNCXX" = xyes; then
26643 CXXFLAGS="-features=tmplife $CXXFLAGS"
26644 fi
26645
26646 if test "x$SUNCC" = xyes; then
26647 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
26648 fi
26649
26650 if test "x$SGICC" = "xyes"; then
26651 CFLAGS="-woff 3970 $CFLAGS"
26652 fi
26653 if test "x$SGICXX" = "xyes"; then
26654 CXXFLAGS="-woff 3970 $CXXFLAGS"
26655 fi
26656
26657 if test "x$HPCC" = "xyes"; then
26658 CFLAGS="+W 2011,2450 $CFLAGS"
26659 fi
26660 if test "x$HPCXX" = "xyes"; then
26661 CXXFLAGS="+W 2340 $CXXFLAGS"
26662 fi
26663
26664 if test "x$COMPAQCXX" = "xyes"; then
26665 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
26666 fi
26667
26668 ac_ext=cpp
26669 ac_cpp='$CXXCPP $CPPFLAGS'
26670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26673
26674
26675 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
26676 if test "$wxUSE_UNICODE" = "yes"; then
26677 std_string="std::wstring"
26678 char_type="wchar_t"
26679 else
26680 std_string="std::string"
26681 char_type="char"
26682 fi
26683
26684 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
26685 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
26686 if test "${wx_cv_class_stdstring+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26688 else
26689
26690 cat >conftest.$ac_ext <<_ACEOF
26691 /* confdefs.h. */
26692 _ACEOF
26693 cat confdefs.h >>conftest.$ac_ext
26694 cat >>conftest.$ac_ext <<_ACEOF
26695 /* end confdefs.h. */
26696 #include <string>
26697 int
26698 main ()
26699 {
26700 $std_string foo;
26701 ;
26702 return 0;
26703 }
26704 _ACEOF
26705 rm -f conftest.$ac_objext
26706 if { (ac_try="$ac_compile"
26707 case "(($ac_try" in
26708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26709 *) ac_try_echo=$ac_try;;
26710 esac
26711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26712 (eval "$ac_compile") 2>conftest.er1
26713 ac_status=$?
26714 grep -v '^ *+' conftest.er1 >conftest.err
26715 rm -f conftest.er1
26716 cat conftest.err >&5
26717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26718 (exit $ac_status); } && {
26719 test -z "$ac_cxx_werror_flag" ||
26720 test ! -s conftest.err
26721 } && test -s conftest.$ac_objext; then
26722 wx_cv_class_stdstring=yes
26723 else
26724 echo "$as_me: failed program was:" >&5
26725 sed 's/^/| /' conftest.$ac_ext >&5
26726
26727 wx_cv_class_stdstring=no
26728
26729 fi
26730
26731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26732
26733
26734 fi
26735 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
26736 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
26737
26738 if test "$wx_cv_class_stdstring" = yes; then
26739 if test "$wxUSE_UNICODE" = "yes"; then
26740 cat >>confdefs.h <<\_ACEOF
26741 #define HAVE_STD_WSTRING 1
26742 _ACEOF
26743
26744 fi
26745 else
26746 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
26747 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
26748 if test "${wx_cv_class_stdbasicstring+set}" = set; then
26749 echo $ECHO_N "(cached) $ECHO_C" >&6
26750 else
26751
26752 cat >conftest.$ac_ext <<_ACEOF
26753 /* confdefs.h. */
26754 _ACEOF
26755 cat confdefs.h >>conftest.$ac_ext
26756 cat >>conftest.$ac_ext <<_ACEOF
26757 /* end confdefs.h. */
26758
26759 #ifdef HAVE_WCHAR_H
26760 # ifdef __CYGWIN__
26761 # include <stddef.h>
26762 # endif
26763 # include <wchar.h>
26764 #endif
26765 #ifdef HAVE_STDLIB_H
26766 # include <stdlib.h>
26767 #endif
26768 #include <stdio.h>
26769 #include <string>
26770
26771 int
26772 main ()
26773 {
26774 std::basic_string<$char_type> foo;
26775 const $char_type* dummy = foo.c_str();
26776 ;
26777 return 0;
26778 }
26779 _ACEOF
26780 rm -f conftest.$ac_objext
26781 if { (ac_try="$ac_compile"
26782 case "(($ac_try" in
26783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26784 *) ac_try_echo=$ac_try;;
26785 esac
26786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26787 (eval "$ac_compile") 2>conftest.er1
26788 ac_status=$?
26789 grep -v '^ *+' conftest.er1 >conftest.err
26790 rm -f conftest.er1
26791 cat conftest.err >&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); } && {
26794 test -z "$ac_cxx_werror_flag" ||
26795 test ! -s conftest.err
26796 } && test -s conftest.$ac_objext; then
26797 wx_cv_class_stdbasicstring=yes
26798 else
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802 wx_cv_class_stdbasicstring=no
26803
26804 fi
26805
26806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26807
26808
26809 fi
26810 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
26811 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
26812
26813 if test "$wx_cv_class_stdbasicstring" != yes; then
26814 if test "$wxUSE_STL" = "yes"; then
26815 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
26816 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
26817 { (exit 1); exit 1; }; }
26818 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
26819 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
26820 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
26821 { (exit 1); exit 1; }; }
26822 else
26823 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
26824 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
26825 wxUSE_STD_STRING=no
26826 fi
26827 fi
26828 fi
26829 fi
26830
26831 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26832 { echo "$as_me:$LINENO: checking for std::istream" >&5
26833 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
26834 if test "${ac_cv_type_std__istream+set}" = set; then
26835 echo $ECHO_N "(cached) $ECHO_C" >&6
26836 else
26837 cat >conftest.$ac_ext <<_ACEOF
26838 /* confdefs.h. */
26839 _ACEOF
26840 cat confdefs.h >>conftest.$ac_ext
26841 cat >>conftest.$ac_ext <<_ACEOF
26842 /* end confdefs.h. */
26843 #include <iostream>
26844
26845 typedef std::istream ac__type_new_;
26846 int
26847 main ()
26848 {
26849 if ((ac__type_new_ *) 0)
26850 return 0;
26851 if (sizeof (ac__type_new_))
26852 return 0;
26853 ;
26854 return 0;
26855 }
26856 _ACEOF
26857 rm -f conftest.$ac_objext
26858 if { (ac_try="$ac_compile"
26859 case "(($ac_try" in
26860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26861 *) ac_try_echo=$ac_try;;
26862 esac
26863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26864 (eval "$ac_compile") 2>conftest.er1
26865 ac_status=$?
26866 grep -v '^ *+' conftest.er1 >conftest.err
26867 rm -f conftest.er1
26868 cat conftest.err >&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); } && {
26871 test -z "$ac_cxx_werror_flag" ||
26872 test ! -s conftest.err
26873 } && test -s conftest.$ac_objext; then
26874 ac_cv_type_std__istream=yes
26875 else
26876 echo "$as_me: failed program was:" >&5
26877 sed 's/^/| /' conftest.$ac_ext >&5
26878
26879 ac_cv_type_std__istream=no
26880 fi
26881
26882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26883 fi
26884 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
26885 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
26886 if test $ac_cv_type_std__istream = yes; then
26887
26888 cat >>confdefs.h <<_ACEOF
26889 #define HAVE_STD__ISTREAM 1
26890 _ACEOF
26891
26892
26893 else
26894 wxUSE_STD_IOSTREAM=no
26895 fi
26896 { echo "$as_me:$LINENO: checking for std::ostream" >&5
26897 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
26898 if test "${ac_cv_type_std__ostream+set}" = set; then
26899 echo $ECHO_N "(cached) $ECHO_C" >&6
26900 else
26901 cat >conftest.$ac_ext <<_ACEOF
26902 /* confdefs.h. */
26903 _ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26907 #include <iostream>
26908
26909 typedef std::ostream ac__type_new_;
26910 int
26911 main ()
26912 {
26913 if ((ac__type_new_ *) 0)
26914 return 0;
26915 if (sizeof (ac__type_new_))
26916 return 0;
26917 ;
26918 return 0;
26919 }
26920 _ACEOF
26921 rm -f conftest.$ac_objext
26922 if { (ac_try="$ac_compile"
26923 case "(($ac_try" in
26924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26925 *) ac_try_echo=$ac_try;;
26926 esac
26927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26928 (eval "$ac_compile") 2>conftest.er1
26929 ac_status=$?
26930 grep -v '^ *+' conftest.er1 >conftest.err
26931 rm -f conftest.er1
26932 cat conftest.err >&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); } && {
26935 test -z "$ac_cxx_werror_flag" ||
26936 test ! -s conftest.err
26937 } && test -s conftest.$ac_objext; then
26938 ac_cv_type_std__ostream=yes
26939 else
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.$ac_ext >&5
26942
26943 ac_cv_type_std__ostream=no
26944 fi
26945
26946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26947 fi
26948 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26949 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26950 if test $ac_cv_type_std__ostream = yes; then
26951
26952 cat >>confdefs.h <<_ACEOF
26953 #define HAVE_STD__OSTREAM 1
26954 _ACEOF
26955
26956
26957 else
26958 wxUSE_STD_IOSTREAM=no
26959 fi
26960
26961
26962 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26963 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
26964 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26965 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26966 { (exit 1); exit 1; }; }
26967 else
26968 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26969 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26970 fi
26971 fi
26972 fi
26973
26974 if test "$wxUSE_STL" = "yes"; then
26975 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26976 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26977 if test "${wx_cv_lib_stl+set}" = set; then
26978 echo $ECHO_N "(cached) $ECHO_C" >&6
26979 else
26980 cat >conftest.$ac_ext <<_ACEOF
26981 /* confdefs.h. */
26982 _ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986 #include <string>
26987 #include <functional>
26988 #include <algorithm>
26989 #include <vector>
26990 #include <list>
26991 int
26992 main ()
26993 {
26994 std::vector<int> moo;
26995 std::list<int> foo;
26996 std::vector<int>::iterator it =
26997 std::find_if(moo.begin(), moo.end(),
26998 std::bind2nd(std::less<int>(), 3));
26999 ;
27000 return 0;
27001 }
27002 _ACEOF
27003 rm -f conftest.$ac_objext
27004 if { (ac_try="$ac_compile"
27005 case "(($ac_try" in
27006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27007 *) ac_try_echo=$ac_try;;
27008 esac
27009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27010 (eval "$ac_compile") 2>conftest.er1
27011 ac_status=$?
27012 grep -v '^ *+' conftest.er1 >conftest.err
27013 rm -f conftest.er1
27014 cat conftest.err >&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } && {
27017 test -z "$ac_cxx_werror_flag" ||
27018 test ! -s conftest.err
27019 } && test -s conftest.$ac_objext; then
27020 wx_cv_lib_stl=yes
27021 else
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.$ac_ext >&5
27024
27025 wx_cv_lib_stl=no
27026
27027 fi
27028
27029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27030
27031 fi
27032 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
27033 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
27034
27035 if test "$wx_cv_lib_stl" != yes; then
27036 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
27037 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
27038 { (exit 1); exit 1; }; }
27039 fi
27040
27041 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
27042 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
27043 if test "${wx_cv_func_stdstring_compare+set}" = set; then
27044 echo $ECHO_N "(cached) $ECHO_C" >&6
27045 else
27046 cat >conftest.$ac_ext <<_ACEOF
27047 /* confdefs.h. */
27048 _ACEOF
27049 cat confdefs.h >>conftest.$ac_ext
27050 cat >>conftest.$ac_ext <<_ACEOF
27051 /* end confdefs.h. */
27052 #include <string>
27053 int
27054 main ()
27055 {
27056 std::string foo, bar;
27057 foo.compare(bar);
27058 foo.compare(1, 1, bar);
27059 foo.compare(1, 1, bar, 1, 1);
27060 foo.compare("");
27061 foo.compare(1, 1, "");
27062 foo.compare(1, 1, "", 2);
27063 ;
27064 return 0;
27065 }
27066 _ACEOF
27067 rm -f conftest.$ac_objext
27068 if { (ac_try="$ac_compile"
27069 case "(($ac_try" in
27070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27071 *) ac_try_echo=$ac_try;;
27072 esac
27073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27074 (eval "$ac_compile") 2>conftest.er1
27075 ac_status=$?
27076 grep -v '^ *+' conftest.er1 >conftest.err
27077 rm -f conftest.er1
27078 cat conftest.err >&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); } && {
27081 test -z "$ac_cxx_werror_flag" ||
27082 test ! -s conftest.err
27083 } && test -s conftest.$ac_objext; then
27084 wx_cv_func_stdstring_compare=yes
27085 else
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.$ac_ext >&5
27088
27089 wx_cv_func_stdstring_compare=no
27090
27091 fi
27092
27093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27094
27095 fi
27096 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
27097 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
27098
27099 if test "$wx_cv_func_stdstring_compare" = yes; then
27100 cat >>confdefs.h <<\_ACEOF
27101 #define HAVE_STD_STRING_COMPARE 1
27102 _ACEOF
27103
27104 fi
27105
27106 { echo "$as_me:$LINENO: checking for hash_map" >&5
27107 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
27108 if test "${ac_cv_header_hash_map+set}" = set; then
27109 echo $ECHO_N "(cached) $ECHO_C" >&6
27110 else
27111 cat >conftest.$ac_ext <<_ACEOF
27112 /* confdefs.h. */
27113 _ACEOF
27114 cat confdefs.h >>conftest.$ac_ext
27115 cat >>conftest.$ac_ext <<_ACEOF
27116 /* end confdefs.h. */
27117
27118
27119
27120 #include <hash_map>
27121 _ACEOF
27122 rm -f conftest.$ac_objext
27123 if { (ac_try="$ac_compile"
27124 case "(($ac_try" in
27125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27126 *) ac_try_echo=$ac_try;;
27127 esac
27128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27129 (eval "$ac_compile") 2>conftest.er1
27130 ac_status=$?
27131 grep -v '^ *+' conftest.er1 >conftest.err
27132 rm -f conftest.er1
27133 cat conftest.err >&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); } && {
27136 test -z "$ac_cxx_werror_flag" ||
27137 test ! -s conftest.err
27138 } && test -s conftest.$ac_objext; then
27139 ac_cv_header_hash_map=yes
27140 else
27141 echo "$as_me: failed program was:" >&5
27142 sed 's/^/| /' conftest.$ac_ext >&5
27143
27144 ac_cv_header_hash_map=no
27145 fi
27146
27147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27148 fi
27149 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
27150 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
27151 if test $ac_cv_header_hash_map = yes; then
27152 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
27153 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
27154 if test "${wx_cv_class_stdhashmapset+set}" = set; then
27155 echo $ECHO_N "(cached) $ECHO_C" >&6
27156 else
27157 cat >conftest.$ac_ext <<_ACEOF
27158 /* confdefs.h. */
27159 _ACEOF
27160 cat confdefs.h >>conftest.$ac_ext
27161 cat >>conftest.$ac_ext <<_ACEOF
27162 /* end confdefs.h. */
27163 #include <hash_map>
27164 #include <hash_set>
27165 int
27166 main ()
27167 {
27168 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
27169 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
27170 ;
27171 return 0;
27172 }
27173 _ACEOF
27174 rm -f conftest.$ac_objext
27175 if { (ac_try="$ac_compile"
27176 case "(($ac_try" in
27177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27178 *) ac_try_echo=$ac_try;;
27179 esac
27180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27181 (eval "$ac_compile") 2>conftest.er1
27182 ac_status=$?
27183 grep -v '^ *+' conftest.er1 >conftest.err
27184 rm -f conftest.er1
27185 cat conftest.err >&5
27186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27187 (exit $ac_status); } && {
27188 test -z "$ac_cxx_werror_flag" ||
27189 test ! -s conftest.err
27190 } && test -s conftest.$ac_objext; then
27191 wx_cv_class_stdhashmapset=yes
27192 else
27193 echo "$as_me: failed program was:" >&5
27194 sed 's/^/| /' conftest.$ac_ext >&5
27195
27196 wx_cv_class_stdhashmapset=no
27197 fi
27198
27199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27200
27201
27202 fi
27203 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
27204 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
27205 fi
27206
27207
27208
27209 if test "$wx_cv_class_stdhashmapset" = yes; then
27210 cat >>confdefs.h <<\_ACEOF
27211 #define HAVE_HASH_MAP 1
27212 _ACEOF
27213
27214 cat >>confdefs.h <<\_ACEOF
27215 #define HAVE_STD_HASH_MAP 1
27216 _ACEOF
27217
27218 fi
27219
27220 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
27221 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
27222 if test "${ac_cv_header_ext_hash_map+set}" = set; then
27223 echo $ECHO_N "(cached) $ECHO_C" >&6
27224 else
27225 cat >conftest.$ac_ext <<_ACEOF
27226 /* confdefs.h. */
27227 _ACEOF
27228 cat confdefs.h >>conftest.$ac_ext
27229 cat >>conftest.$ac_ext <<_ACEOF
27230 /* end confdefs.h. */
27231
27232
27233
27234 #include <ext/hash_map>
27235 _ACEOF
27236 rm -f conftest.$ac_objext
27237 if { (ac_try="$ac_compile"
27238 case "(($ac_try" in
27239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27240 *) ac_try_echo=$ac_try;;
27241 esac
27242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27243 (eval "$ac_compile") 2>conftest.er1
27244 ac_status=$?
27245 grep -v '^ *+' conftest.er1 >conftest.err
27246 rm -f conftest.er1
27247 cat conftest.err >&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); } && {
27250 test -z "$ac_cxx_werror_flag" ||
27251 test ! -s conftest.err
27252 } && test -s conftest.$ac_objext; then
27253 ac_cv_header_ext_hash_map=yes
27254 else
27255 echo "$as_me: failed program was:" >&5
27256 sed 's/^/| /' conftest.$ac_ext >&5
27257
27258 ac_cv_header_ext_hash_map=no
27259 fi
27260
27261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27262 fi
27263 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
27264 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
27265 if test $ac_cv_header_ext_hash_map = yes; then
27266 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
27267 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
27268 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
27269 echo $ECHO_N "(cached) $ECHO_C" >&6
27270 else
27271 cat >conftest.$ac_ext <<_ACEOF
27272 /* confdefs.h. */
27273 _ACEOF
27274 cat confdefs.h >>conftest.$ac_ext
27275 cat >>conftest.$ac_ext <<_ACEOF
27276 /* end confdefs.h. */
27277 #include <ext/hash_map>
27278 #include <ext/hash_set>
27279 int
27280 main ()
27281 {
27282 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
27283 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
27284 ;
27285 return 0;
27286 }
27287 _ACEOF
27288 rm -f conftest.$ac_objext
27289 if { (ac_try="$ac_compile"
27290 case "(($ac_try" in
27291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27292 *) ac_try_echo=$ac_try;;
27293 esac
27294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27295 (eval "$ac_compile") 2>conftest.er1
27296 ac_status=$?
27297 grep -v '^ *+' conftest.er1 >conftest.err
27298 rm -f conftest.er1
27299 cat conftest.err >&5
27300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27301 (exit $ac_status); } && {
27302 test -z "$ac_cxx_werror_flag" ||
27303 test ! -s conftest.err
27304 } && test -s conftest.$ac_objext; then
27305 wx_cv_class_gnuhashmapset=yes
27306 else
27307 echo "$as_me: failed program was:" >&5
27308 sed 's/^/| /' conftest.$ac_ext >&5
27309
27310 wx_cv_class_gnuhashmapset=no
27311 fi
27312
27313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27314
27315
27316 fi
27317 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
27318 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
27319 fi
27320
27321
27322
27323 if test "$wx_cv_class_gnuhashmapset" = yes; then
27324 cat >>confdefs.h <<\_ACEOF
27325 #define HAVE_EXT_HASH_MAP 1
27326 _ACEOF
27327
27328 cat >>confdefs.h <<\_ACEOF
27329 #define HAVE_GNU_CXX_HASH_MAP 1
27330 _ACEOF
27331
27332 fi
27333 fi
27334
27335 ac_ext=c
27336 ac_cpp='$CPP $CPPFLAGS'
27337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27340
27341
27342
27343 SEARCH_INCLUDE="\
27344 /usr/local/include \
27345 \
27346 /usr/Motif-2.1/include \
27347 /usr/Motif-1.2/include \
27348 /usr/include/Motif1.2 \
27349 \
27350 /usr/dt/include \
27351 /usr/openwin/include \
27352 \
27353 /usr/include/Xm \
27354 \
27355 /usr/X11R6/include \
27356 /usr/X11R6.4/include \
27357 /usr/X11R5/include \
27358 /usr/X11R4/include \
27359 \
27360 /usr/include/X11R6 \
27361 /usr/include/X11R5 \
27362 /usr/include/X11R4 \
27363 \
27364 /usr/local/X11R6/include \
27365 /usr/local/X11R5/include \
27366 /usr/local/X11R4/include \
27367 \
27368 /usr/local/include/X11R6 \
27369 /usr/local/include/X11R5 \
27370 /usr/local/include/X11R4 \
27371 \
27372 /usr/X11/include \
27373 /usr/include/X11 \
27374 /usr/local/X11/include \
27375 /usr/local/include/X11 \
27376 \
27377 /usr/XFree86/include/X11 \
27378 /usr/pkg/include \
27379 \
27380 /usr/openwin/share/include"
27381
27382 { echo "$as_me:$LINENO: checking for libraries directory" >&5
27383 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
27384
27385 case "${host}" in
27386 *-*-irix6* )
27387 if test "${wx_cv_std_libpath+set}" = set; then
27388 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 else
27390
27391 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27392 for e in a so sl dylib dll.a; do
27393 libc="$d/libc.$e"
27394 if test -f $libc; then
27395 save_LIBS="$LIBS"
27396 LIBS="$libc"
27397 cat >conftest.$ac_ext <<_ACEOF
27398 int main() { return 0; }
27399 _ACEOF
27400 rm -f conftest.$ac_objext conftest$ac_exeext
27401 if { (ac_try="$ac_link"
27402 case "(($ac_try" in
27403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27404 *) ac_try_echo=$ac_try;;
27405 esac
27406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27407 (eval "$ac_link") 2>conftest.er1
27408 ac_status=$?
27409 grep -v '^ *+' conftest.er1 >conftest.err
27410 rm -f conftest.er1
27411 cat conftest.err >&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); } && {
27414 test -z "$ac_c_werror_flag" ||
27415 test ! -s conftest.err
27416 } && test -s conftest$ac_exeext &&
27417 $as_test_x conftest$ac_exeext; then
27418 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27419 else
27420 echo "$as_me: failed program was:" >&5
27421 sed 's/^/| /' conftest.$ac_ext >&5
27422
27423
27424 fi
27425
27426 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27427 conftest$ac_exeext conftest.$ac_ext
27428 LIBS="$save_LIBS"
27429 if test "x$wx_cv_std_libpath" != "x"; then
27430 break 2
27431 fi
27432 fi
27433 done
27434 done
27435 if test "x$wx_cv_std_libpath" = "x"; then
27436 wx_cv_std_libpath="lib"
27437 fi
27438
27439
27440 fi
27441
27442 ;;
27443
27444 *-*-solaris2* )
27445 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27446 wx_cv_std_libpath="lib/64"
27447 else
27448 wx_cv_std_libpath="lib"
27449 fi
27450 ;;
27451
27452 *-*-linux* )
27453 if test "$ac_cv_sizeof_void_p" = 8 -a \
27454 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27455 wx_cv_std_libpath="lib64"
27456 else
27457 wx_cv_std_libpath="lib"
27458 fi
27459 ;;
27460
27461 *)
27462 wx_cv_std_libpath="lib";
27463 ;;
27464 esac
27465
27466 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
27467 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
27468
27469 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
27470
27471 if test "$build" != "$host" -a "$GCC" = yes; then
27472 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27473 cross_root=`dirname $cross_root`
27474 cross_root=`dirname $cross_root`
27475
27476 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27477 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27478 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27479
27480 if test -z "$PKG_CONFIG_PATH"; then
27481 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27482 export PKG_CONFIG_PATH
27483 fi
27484
27485 if test -z "$x_includes" -o "$x_includes" = NONE; then
27486
27487 ac_find_includes=
27488 for ac_dir in $SEARCH_INCLUDE /usr/include;
27489 do
27490 if test -f "$ac_dir/X11/Intrinsic.h"; then
27491 ac_find_includes=$ac_dir
27492 break
27493 fi
27494 done
27495
27496 x_includes=$ac_find_includes
27497 fi
27498 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27499
27500 ac_find_libraries=
27501 for ac_dir in $SEARCH_LIB;
27502 do
27503 for ac_extension in a so sl dylib dll.a; do
27504 if test -f "$ac_dir/libXt.$ac_extension"; then
27505 ac_find_libraries=$ac_dir
27506 break 2
27507 fi
27508 done
27509 done
27510
27511 x_libraries=$ac_find_libraries
27512 fi
27513 fi
27514 fi
27515
27516
27517 cat >confcache <<\_ACEOF
27518 # This file is a shell script that caches the results of configure
27519 # tests run on this system so they can be shared between configure
27520 # scripts and configure runs, see configure's option --config-cache.
27521 # It is not useful on other systems. If it contains results you don't
27522 # want to keep, you may remove or edit it.
27523 #
27524 # config.status only pays attention to the cache file if you give it
27525 # the --recheck option to rerun configure.
27526 #
27527 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27528 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27529 # following values.
27530
27531 _ACEOF
27532
27533 # The following way of writing the cache mishandles newlines in values,
27534 # but we know of no workaround that is simple, portable, and efficient.
27535 # So, we kill variables containing newlines.
27536 # Ultrix sh set writes to stderr and can't be redirected directly,
27537 # and sets the high bit in the cache file unless we assign to the vars.
27538 (
27539 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27540 eval ac_val=\$$ac_var
27541 case $ac_val in #(
27542 *${as_nl}*)
27543 case $ac_var in #(
27544 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27545 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27546 esac
27547 case $ac_var in #(
27548 _ | IFS | as_nl) ;; #(
27549 *) $as_unset $ac_var ;;
27550 esac ;;
27551 esac
27552 done
27553
27554 (set) 2>&1 |
27555 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27556 *${as_nl}ac_space=\ *)
27557 # `set' does not quote correctly, so add quotes (double-quote
27558 # substitution turns \\\\ into \\, and sed turns \\ into \).
27559 sed -n \
27560 "s/'/'\\\\''/g;
27561 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27562 ;; #(
27563 *)
27564 # `set' quotes correctly as required by POSIX, so do not add quotes.
27565 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27566 ;;
27567 esac |
27568 sort
27569 ) |
27570 sed '
27571 /^ac_cv_env_/b end
27572 t clear
27573 :clear
27574 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27575 t end
27576 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27577 :end' >>confcache
27578 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27579 if test -w "$cache_file"; then
27580 test "x$cache_file" != "x/dev/null" &&
27581 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27582 echo "$as_me: updating cache $cache_file" >&6;}
27583 cat confcache >$cache_file
27584 else
27585 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27586 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27587 fi
27588 fi
27589 rm -f confcache
27590
27591 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27592 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27593 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27594 if test "${wx_cv_lib_glibc21+set}" = set; then
27595 echo $ECHO_N "(cached) $ECHO_C" >&6
27596 else
27597
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 #include <features.h>
27605 int
27606 main ()
27607 {
27608
27609 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27610 not glibc 2.1
27611 #endif
27612
27613 ;
27614 return 0;
27615 }
27616 _ACEOF
27617 rm -f conftest.$ac_objext
27618 if { (ac_try="$ac_compile"
27619 case "(($ac_try" in
27620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27621 *) ac_try_echo=$ac_try;;
27622 esac
27623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27624 (eval "$ac_compile") 2>conftest.er1
27625 ac_status=$?
27626 grep -v '^ *+' conftest.er1 >conftest.err
27627 rm -f conftest.er1
27628 cat conftest.err >&5
27629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27630 (exit $ac_status); } && {
27631 test -z "$ac_c_werror_flag" ||
27632 test ! -s conftest.err
27633 } && test -s conftest.$ac_objext; then
27634
27635 wx_cv_lib_glibc21=yes
27636
27637 else
27638 echo "$as_me: failed program was:" >&5
27639 sed 's/^/| /' conftest.$ac_ext >&5
27640
27641
27642 wx_cv_lib_glibc21=no
27643
27644
27645 fi
27646
27647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27648
27649 fi
27650 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27651 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27652 if test "$wx_cv_lib_glibc21" = "yes"; then
27653 cat >>confdefs.h <<\_ACEOF
27654 #define wxHAVE_GLIBC2 1
27655 _ACEOF
27656
27657 fi
27658 fi
27659
27660 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27661 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27662 cat >>confdefs.h <<\_ACEOF
27663 #define _GNU_SOURCE 1
27664 _ACEOF
27665
27666 fi
27667 fi
27668
27669 have_cos=0
27670 have_floor=0
27671
27672 for ac_func in cos
27673 do
27674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27675 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27677 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27678 echo $ECHO_N "(cached) $ECHO_C" >&6
27679 else
27680 cat >conftest.$ac_ext <<_ACEOF
27681 /* confdefs.h. */
27682 _ACEOF
27683 cat confdefs.h >>conftest.$ac_ext
27684 cat >>conftest.$ac_ext <<_ACEOF
27685 /* end confdefs.h. */
27686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27688 #define $ac_func innocuous_$ac_func
27689
27690 /* System header to define __stub macros and hopefully few prototypes,
27691 which can conflict with char $ac_func (); below.
27692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27693 <limits.h> exists even on freestanding compilers. */
27694
27695 #ifdef __STDC__
27696 # include <limits.h>
27697 #else
27698 # include <assert.h>
27699 #endif
27700
27701 #undef $ac_func
27702
27703 /* Override any GCC internal prototype to avoid an error.
27704 Use char because int might match the return type of a GCC
27705 builtin and then its argument prototype would still apply. */
27706 #ifdef __cplusplus
27707 extern "C"
27708 #endif
27709 char $ac_func ();
27710 /* The GNU C library defines this for functions which it implements
27711 to always fail with ENOSYS. Some functions are actually named
27712 something starting with __ and the normal name is an alias. */
27713 #if defined __stub_$ac_func || defined __stub___$ac_func
27714 choke me
27715 #endif
27716
27717 int
27718 main ()
27719 {
27720 return $ac_func ();
27721 ;
27722 return 0;
27723 }
27724 _ACEOF
27725 rm -f conftest.$ac_objext conftest$ac_exeext
27726 if { (ac_try="$ac_link"
27727 case "(($ac_try" in
27728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27729 *) ac_try_echo=$ac_try;;
27730 esac
27731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27732 (eval "$ac_link") 2>conftest.er1
27733 ac_status=$?
27734 grep -v '^ *+' conftest.er1 >conftest.err
27735 rm -f conftest.er1
27736 cat conftest.err >&5
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); } && {
27739 test -z "$ac_c_werror_flag" ||
27740 test ! -s conftest.err
27741 } && test -s conftest$ac_exeext &&
27742 $as_test_x conftest$ac_exeext; then
27743 eval "$as_ac_var=yes"
27744 else
27745 echo "$as_me: failed program was:" >&5
27746 sed 's/^/| /' conftest.$ac_ext >&5
27747
27748 eval "$as_ac_var=no"
27749 fi
27750
27751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27752 conftest$ac_exeext conftest.$ac_ext
27753 fi
27754 ac_res=`eval echo '${'$as_ac_var'}'`
27755 { echo "$as_me:$LINENO: result: $ac_res" >&5
27756 echo "${ECHO_T}$ac_res" >&6; }
27757 if test `eval echo '${'$as_ac_var'}'` = yes; then
27758 cat >>confdefs.h <<_ACEOF
27759 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27760 _ACEOF
27761 have_cos=1
27762 fi
27763 done
27764
27765
27766 for ac_func in floor
27767 do
27768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27772 echo $ECHO_N "(cached) $ECHO_C" >&6
27773 else
27774 cat >conftest.$ac_ext <<_ACEOF
27775 /* confdefs.h. */
27776 _ACEOF
27777 cat confdefs.h >>conftest.$ac_ext
27778 cat >>conftest.$ac_ext <<_ACEOF
27779 /* end confdefs.h. */
27780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27782 #define $ac_func innocuous_$ac_func
27783
27784 /* System header to define __stub macros and hopefully few prototypes,
27785 which can conflict with char $ac_func (); below.
27786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27787 <limits.h> exists even on freestanding compilers. */
27788
27789 #ifdef __STDC__
27790 # include <limits.h>
27791 #else
27792 # include <assert.h>
27793 #endif
27794
27795 #undef $ac_func
27796
27797 /* Override any GCC internal prototype to avoid an error.
27798 Use char because int might match the return type of a GCC
27799 builtin and then its argument prototype would still apply. */
27800 #ifdef __cplusplus
27801 extern "C"
27802 #endif
27803 char $ac_func ();
27804 /* The GNU C library defines this for functions which it implements
27805 to always fail with ENOSYS. Some functions are actually named
27806 something starting with __ and the normal name is an alias. */
27807 #if defined __stub_$ac_func || defined __stub___$ac_func
27808 choke me
27809 #endif
27810
27811 int
27812 main ()
27813 {
27814 return $ac_func ();
27815 ;
27816 return 0;
27817 }
27818 _ACEOF
27819 rm -f conftest.$ac_objext conftest$ac_exeext
27820 if { (ac_try="$ac_link"
27821 case "(($ac_try" in
27822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27823 *) ac_try_echo=$ac_try;;
27824 esac
27825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27826 (eval "$ac_link") 2>conftest.er1
27827 ac_status=$?
27828 grep -v '^ *+' conftest.er1 >conftest.err
27829 rm -f conftest.er1
27830 cat conftest.err >&5
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); } && {
27833 test -z "$ac_c_werror_flag" ||
27834 test ! -s conftest.err
27835 } && test -s conftest$ac_exeext &&
27836 $as_test_x conftest$ac_exeext; then
27837 eval "$as_ac_var=yes"
27838 else
27839 echo "$as_me: failed program was:" >&5
27840 sed 's/^/| /' conftest.$ac_ext >&5
27841
27842 eval "$as_ac_var=no"
27843 fi
27844
27845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27846 conftest$ac_exeext conftest.$ac_ext
27847 fi
27848 ac_res=`eval echo '${'$as_ac_var'}'`
27849 { echo "$as_me:$LINENO: result: $ac_res" >&5
27850 echo "${ECHO_T}$ac_res" >&6; }
27851 if test `eval echo '${'$as_ac_var'}'` = yes; then
27852 cat >>confdefs.h <<_ACEOF
27853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27854 _ACEOF
27855 have_floor=1
27856 fi
27857 done
27858
27859 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27860 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27861 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27862 { echo "$as_me:$LINENO: result: yes" >&5
27863 echo "${ECHO_T}yes" >&6; }
27864 else
27865 { echo "$as_me:$LINENO: result: no" >&5
27866 echo "${ECHO_T}no" >&6; }
27867 LIBS="$LIBS -lm"
27868 # use different functions to avoid configure caching
27869 have_sin=0
27870 have_ceil=0
27871
27872 for ac_func in sin
27873 do
27874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27875 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27878 echo $ECHO_N "(cached) $ECHO_C" >&6
27879 else
27880 cat >conftest.$ac_ext <<_ACEOF
27881 /* confdefs.h. */
27882 _ACEOF
27883 cat confdefs.h >>conftest.$ac_ext
27884 cat >>conftest.$ac_ext <<_ACEOF
27885 /* end confdefs.h. */
27886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27888 #define $ac_func innocuous_$ac_func
27889
27890 /* System header to define __stub macros and hopefully few prototypes,
27891 which can conflict with char $ac_func (); below.
27892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27893 <limits.h> exists even on freestanding compilers. */
27894
27895 #ifdef __STDC__
27896 # include <limits.h>
27897 #else
27898 # include <assert.h>
27899 #endif
27900
27901 #undef $ac_func
27902
27903 /* Override any GCC internal prototype to avoid an error.
27904 Use char because int might match the return type of a GCC
27905 builtin and then its argument prototype would still apply. */
27906 #ifdef __cplusplus
27907 extern "C"
27908 #endif
27909 char $ac_func ();
27910 /* The GNU C library defines this for functions which it implements
27911 to always fail with ENOSYS. Some functions are actually named
27912 something starting with __ and the normal name is an alias. */
27913 #if defined __stub_$ac_func || defined __stub___$ac_func
27914 choke me
27915 #endif
27916
27917 int
27918 main ()
27919 {
27920 return $ac_func ();
27921 ;
27922 return 0;
27923 }
27924 _ACEOF
27925 rm -f conftest.$ac_objext conftest$ac_exeext
27926 if { (ac_try="$ac_link"
27927 case "(($ac_try" in
27928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27929 *) ac_try_echo=$ac_try;;
27930 esac
27931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27932 (eval "$ac_link") 2>conftest.er1
27933 ac_status=$?
27934 grep -v '^ *+' conftest.er1 >conftest.err
27935 rm -f conftest.er1
27936 cat conftest.err >&5
27937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27938 (exit $ac_status); } && {
27939 test -z "$ac_c_werror_flag" ||
27940 test ! -s conftest.err
27941 } && test -s conftest$ac_exeext &&
27942 $as_test_x conftest$ac_exeext; then
27943 eval "$as_ac_var=yes"
27944 else
27945 echo "$as_me: failed program was:" >&5
27946 sed 's/^/| /' conftest.$ac_ext >&5
27947
27948 eval "$as_ac_var=no"
27949 fi
27950
27951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27952 conftest$ac_exeext conftest.$ac_ext
27953 fi
27954 ac_res=`eval echo '${'$as_ac_var'}'`
27955 { echo "$as_me:$LINENO: result: $ac_res" >&5
27956 echo "${ECHO_T}$ac_res" >&6; }
27957 if test `eval echo '${'$as_ac_var'}'` = yes; then
27958 cat >>confdefs.h <<_ACEOF
27959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27960 _ACEOF
27961 have_sin=1
27962 fi
27963 done
27964
27965
27966 for ac_func in ceil
27967 do
27968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27969 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27971 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27972 echo $ECHO_N "(cached) $ECHO_C" >&6
27973 else
27974 cat >conftest.$ac_ext <<_ACEOF
27975 /* confdefs.h. */
27976 _ACEOF
27977 cat confdefs.h >>conftest.$ac_ext
27978 cat >>conftest.$ac_ext <<_ACEOF
27979 /* end confdefs.h. */
27980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27982 #define $ac_func innocuous_$ac_func
27983
27984 /* System header to define __stub macros and hopefully few prototypes,
27985 which can conflict with char $ac_func (); below.
27986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27987 <limits.h> exists even on freestanding compilers. */
27988
27989 #ifdef __STDC__
27990 # include <limits.h>
27991 #else
27992 # include <assert.h>
27993 #endif
27994
27995 #undef $ac_func
27996
27997 /* Override any GCC internal prototype to avoid an error.
27998 Use char because int might match the return type of a GCC
27999 builtin and then its argument prototype would still apply. */
28000 #ifdef __cplusplus
28001 extern "C"
28002 #endif
28003 char $ac_func ();
28004 /* The GNU C library defines this for functions which it implements
28005 to always fail with ENOSYS. Some functions are actually named
28006 something starting with __ and the normal name is an alias. */
28007 #if defined __stub_$ac_func || defined __stub___$ac_func
28008 choke me
28009 #endif
28010
28011 int
28012 main ()
28013 {
28014 return $ac_func ();
28015 ;
28016 return 0;
28017 }
28018 _ACEOF
28019 rm -f conftest.$ac_objext conftest$ac_exeext
28020 if { (ac_try="$ac_link"
28021 case "(($ac_try" in
28022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28023 *) ac_try_echo=$ac_try;;
28024 esac
28025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28026 (eval "$ac_link") 2>conftest.er1
28027 ac_status=$?
28028 grep -v '^ *+' conftest.er1 >conftest.err
28029 rm -f conftest.er1
28030 cat conftest.err >&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } && {
28033 test -z "$ac_c_werror_flag" ||
28034 test ! -s conftest.err
28035 } && test -s conftest$ac_exeext &&
28036 $as_test_x conftest$ac_exeext; then
28037 eval "$as_ac_var=yes"
28038 else
28039 echo "$as_me: failed program was:" >&5
28040 sed 's/^/| /' conftest.$ac_ext >&5
28041
28042 eval "$as_ac_var=no"
28043 fi
28044
28045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28046 conftest$ac_exeext conftest.$ac_ext
28047 fi
28048 ac_res=`eval echo '${'$as_ac_var'}'`
28049 { echo "$as_me:$LINENO: result: $ac_res" >&5
28050 echo "${ECHO_T}$ac_res" >&6; }
28051 if test `eval echo '${'$as_ac_var'}'` = yes; then
28052 cat >>confdefs.h <<_ACEOF
28053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28054 _ACEOF
28055 have_ceil=1
28056 fi
28057 done
28058
28059 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
28060 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
28061 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
28062 { echo "$as_me:$LINENO: result: yes" >&5
28063 echo "${ECHO_T}yes" >&6; }
28064 else
28065 { echo "$as_me:$LINENO: result: no" >&5
28066 echo "${ECHO_T}no" >&6; }
28067 # not sure we should warn the user, crash, etc.
28068 fi
28069 fi
28070
28071 ac_ext=cpp
28072 ac_cpp='$CXXCPP $CPPFLAGS'
28073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28076
28077 if test "wxUSE_UNICODE" = "yes"; then
28078
28079 for wx_func in wcstoull
28080 do
28081 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28082 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28083 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28084 echo $ECHO_N "(cached) $ECHO_C" >&6
28085 else
28086
28087 cat >conftest.$ac_ext <<_ACEOF
28088
28089 /* confdefs.h. */
28090 _ACEOF
28091 cat confdefs.h >>conftest.$ac_ext
28092 cat >>conftest.$ac_ext <<_ACEOF
28093 /* end confdefs.h. */
28094
28095
28096 $ac_includes_default
28097
28098 int
28099 main ()
28100 {
28101
28102 #ifndef $wx_func
28103 &$wx_func;
28104 #endif
28105
28106
28107 ;
28108 return 0;
28109 }
28110
28111 _ACEOF
28112 rm -f conftest.$ac_objext conftest$ac_exeext
28113 if { (ac_try="$ac_link"
28114 case "(($ac_try" in
28115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28116 *) ac_try_echo=$ac_try;;
28117 esac
28118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28119 (eval "$ac_link") 2>conftest.er1
28120 ac_status=$?
28121 grep -v '^ *+' conftest.er1 >conftest.err
28122 rm -f conftest.er1
28123 cat conftest.err >&5
28124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28125 (exit $ac_status); } && {
28126 test -z "$ac_cxx_werror_flag" ||
28127 test ! -s conftest.err
28128 } && test -s conftest$ac_exeext &&
28129 $as_test_x conftest$ac_exeext; then
28130 eval wx_cv_func_$wx_func=yes
28131 else
28132 echo "$as_me: failed program was:" >&5
28133 sed 's/^/| /' conftest.$ac_ext >&5
28134
28135 eval wx_cv_func_$wx_func=no
28136 fi
28137
28138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28139 conftest$ac_exeext conftest.$ac_ext
28140
28141 fi
28142 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28143 { echo "$as_me:$LINENO: result: $ac_res" >&5
28144 echo "${ECHO_T}$ac_res" >&6; }
28145
28146 if eval test \$wx_cv_func_$wx_func = yes
28147 then
28148 cat >>confdefs.h <<_ACEOF
28149 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28150 _ACEOF
28151
28152
28153 else
28154 :
28155
28156 fi
28157 done
28158
28159 else
28160
28161 for wx_func in strtoull
28162 do
28163 { echo "$as_me:$LINENO: checking for $wx_func" >&5
28164 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
28165 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
28166 echo $ECHO_N "(cached) $ECHO_C" >&6
28167 else
28168
28169 cat >conftest.$ac_ext <<_ACEOF
28170
28171 /* confdefs.h. */
28172 _ACEOF
28173 cat confdefs.h >>conftest.$ac_ext
28174 cat >>conftest.$ac_ext <<_ACEOF
28175 /* end confdefs.h. */
28176
28177
28178 $ac_includes_default
28179
28180 int
28181 main ()
28182 {
28183
28184 #ifndef $wx_func
28185 &$wx_func;
28186 #endif
28187
28188
28189 ;
28190 return 0;
28191 }
28192
28193 _ACEOF
28194 rm -f conftest.$ac_objext conftest$ac_exeext
28195 if { (ac_try="$ac_link"
28196 case "(($ac_try" in
28197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28198 *) ac_try_echo=$ac_try;;
28199 esac
28200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28201 (eval "$ac_link") 2>conftest.er1
28202 ac_status=$?
28203 grep -v '^ *+' conftest.er1 >conftest.err
28204 rm -f conftest.er1
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } && {
28208 test -z "$ac_cxx_werror_flag" ||
28209 test ! -s conftest.err
28210 } && test -s conftest$ac_exeext &&
28211 $as_test_x conftest$ac_exeext; then
28212 eval wx_cv_func_$wx_func=yes
28213 else
28214 echo "$as_me: failed program was:" >&5
28215 sed 's/^/| /' conftest.$ac_ext >&5
28216
28217 eval wx_cv_func_$wx_func=no
28218 fi
28219
28220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28221 conftest$ac_exeext conftest.$ac_ext
28222
28223 fi
28224 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28225 { echo "$as_me:$LINENO: result: $ac_res" >&5
28226 echo "${ECHO_T}$ac_res" >&6; }
28227
28228 if eval test \$wx_cv_func_$wx_func = yes
28229 then
28230 cat >>confdefs.h <<_ACEOF
28231 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
28232 _ACEOF
28233
28234
28235 else
28236 :
28237
28238 fi
28239 done
28240
28241 fi
28242 ac_ext=c
28243 ac_cpp='$CPP $CPPFLAGS'
28244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28247
28248
28249
28250
28251 if test "$wxUSE_REGEX" != "no"; then
28252 cat >>confdefs.h <<\_ACEOF
28253 #define wxUSE_REGEX 1
28254 _ACEOF
28255
28256
28257 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28258 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
28259 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
28260 wxUSE_REGEX=builtin
28261 fi
28262
28263 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28264 { echo "$as_me:$LINENO: checking for regex.h" >&5
28265 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28266 if test "${ac_cv_header_regex_h+set}" = set; then
28267 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 else
28269 cat >conftest.$ac_ext <<_ACEOF
28270 /* confdefs.h. */
28271 _ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28275
28276
28277 #include <regex.h>
28278 _ACEOF
28279 rm -f conftest.$ac_objext
28280 if { (ac_try="$ac_compile"
28281 case "(($ac_try" in
28282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28283 *) ac_try_echo=$ac_try;;
28284 esac
28285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28286 (eval "$ac_compile") 2>conftest.er1
28287 ac_status=$?
28288 grep -v '^ *+' conftest.er1 >conftest.err
28289 rm -f conftest.er1
28290 cat conftest.err >&5
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); } && {
28293 test -z "$ac_c_werror_flag" ||
28294 test ! -s conftest.err
28295 } && test -s conftest.$ac_objext; then
28296 ac_cv_header_regex_h=yes
28297 else
28298 echo "$as_me: failed program was:" >&5
28299 sed 's/^/| /' conftest.$ac_ext >&5
28300
28301 ac_cv_header_regex_h=no
28302 fi
28303
28304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28305 fi
28306 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28307 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28308 if test $ac_cv_header_regex_h = yes; then
28309
28310
28311 for ac_func in regcomp re_search
28312 do
28313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28314 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28316 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28317 echo $ECHO_N "(cached) $ECHO_C" >&6
28318 else
28319 cat >conftest.$ac_ext <<_ACEOF
28320 /* confdefs.h. */
28321 _ACEOF
28322 cat confdefs.h >>conftest.$ac_ext
28323 cat >>conftest.$ac_ext <<_ACEOF
28324 /* end confdefs.h. */
28325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28327 #define $ac_func innocuous_$ac_func
28328
28329 /* System header to define __stub macros and hopefully few prototypes,
28330 which can conflict with char $ac_func (); below.
28331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28332 <limits.h> exists even on freestanding compilers. */
28333
28334 #ifdef __STDC__
28335 # include <limits.h>
28336 #else
28337 # include <assert.h>
28338 #endif
28339
28340 #undef $ac_func
28341
28342 /* Override any GCC internal prototype to avoid an error.
28343 Use char because int might match the return type of a GCC
28344 builtin and then its argument prototype would still apply. */
28345 #ifdef __cplusplus
28346 extern "C"
28347 #endif
28348 char $ac_func ();
28349 /* The GNU C library defines this for functions which it implements
28350 to always fail with ENOSYS. Some functions are actually named
28351 something starting with __ and the normal name is an alias. */
28352 #if defined __stub_$ac_func || defined __stub___$ac_func
28353 choke me
28354 #endif
28355
28356 int
28357 main ()
28358 {
28359 return $ac_func ();
28360 ;
28361 return 0;
28362 }
28363 _ACEOF
28364 rm -f conftest.$ac_objext conftest$ac_exeext
28365 if { (ac_try="$ac_link"
28366 case "(($ac_try" in
28367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28368 *) ac_try_echo=$ac_try;;
28369 esac
28370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28371 (eval "$ac_link") 2>conftest.er1
28372 ac_status=$?
28373 grep -v '^ *+' conftest.er1 >conftest.err
28374 rm -f conftest.er1
28375 cat conftest.err >&5
28376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28377 (exit $ac_status); } && {
28378 test -z "$ac_c_werror_flag" ||
28379 test ! -s conftest.err
28380 } && test -s conftest$ac_exeext &&
28381 $as_test_x conftest$ac_exeext; then
28382 eval "$as_ac_var=yes"
28383 else
28384 echo "$as_me: failed program was:" >&5
28385 sed 's/^/| /' conftest.$ac_ext >&5
28386
28387 eval "$as_ac_var=no"
28388 fi
28389
28390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28391 conftest$ac_exeext conftest.$ac_ext
28392 fi
28393 ac_res=`eval echo '${'$as_ac_var'}'`
28394 { echo "$as_me:$LINENO: result: $ac_res" >&5
28395 echo "${ECHO_T}$ac_res" >&6; }
28396 if test `eval echo '${'$as_ac_var'}'` = yes; then
28397 cat >>confdefs.h <<_ACEOF
28398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28399 _ACEOF
28400
28401 fi
28402 done
28403
28404 fi
28405
28406
28407
28408 if test "x$ac_cv_func_regcomp" != "xyes"; then
28409 if test "$wxUSE_REGEX" = "sys" ; then
28410 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28411 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28412 { (exit 1); exit 1; }; }
28413 else
28414 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28415 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28416 wxUSE_REGEX=builtin
28417 fi
28418 else
28419 wxUSE_REGEX=sys
28420 cat >>confdefs.h <<\_ACEOF
28421 #define WX_NO_REGEX_ADVANCED 1
28422 _ACEOF
28423
28424 fi
28425 fi
28426 fi
28427
28428
28429 ZLIB_LINK=
28430 if test "$wxUSE_ZLIB" != "no" ; then
28431 cat >>confdefs.h <<\_ACEOF
28432 #define wxUSE_ZLIB 1
28433 _ACEOF
28434
28435
28436 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28437 if test "$USE_DARWIN" = 1; then
28438 system_zlib_h_ok="yes"
28439 else
28440 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28441 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28442 if test "${ac_cv_header_zlib_h+set}" = set; then
28443 echo $ECHO_N "(cached) $ECHO_C" >&6
28444 else
28445 if test "$cross_compiling" = yes; then
28446 unset ac_cv_header_zlib_h
28447
28448 else
28449 cat >conftest.$ac_ext <<_ACEOF
28450 /* confdefs.h. */
28451 _ACEOF
28452 cat confdefs.h >>conftest.$ac_ext
28453 cat >>conftest.$ac_ext <<_ACEOF
28454 /* end confdefs.h. */
28455
28456 #include <zlib.h>
28457 #include <stdio.h>
28458
28459 int main()
28460 {
28461 FILE *f=fopen("conftestval", "w");
28462 if (!f) exit(1);
28463 fprintf(f, "%s",
28464 ZLIB_VERSION[0] == '1' &&
28465 (ZLIB_VERSION[2] > '1' ||
28466 (ZLIB_VERSION[2] == '1' &&
28467 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28468 exit(0);
28469 }
28470
28471 _ACEOF
28472 rm -f conftest$ac_exeext
28473 if { (ac_try="$ac_link"
28474 case "(($ac_try" in
28475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28476 *) ac_try_echo=$ac_try;;
28477 esac
28478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28479 (eval "$ac_link") 2>&5
28480 ac_status=$?
28481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28482 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28483 { (case "(($ac_try" in
28484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28485 *) ac_try_echo=$ac_try;;
28486 esac
28487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28488 (eval "$ac_try") 2>&5
28489 ac_status=$?
28490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28491 (exit $ac_status); }; }; then
28492 ac_cv_header_zlib_h=`cat conftestval`
28493 else
28494 echo "$as_me: program exited with status $ac_status" >&5
28495 echo "$as_me: failed program was:" >&5
28496 sed 's/^/| /' conftest.$ac_ext >&5
28497
28498 ( exit $ac_status )
28499 ac_cv_header_zlib_h=no
28500 fi
28501 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28502 fi
28503
28504
28505
28506 fi
28507 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28508 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28509 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28510 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28511 if test "${ac_cv_header_zlib_h+set}" = set; then
28512 echo $ECHO_N "(cached) $ECHO_C" >&6
28513 else
28514 cat >conftest.$ac_ext <<_ACEOF
28515 /* confdefs.h. */
28516 _ACEOF
28517 cat confdefs.h >>conftest.$ac_ext
28518 cat >>conftest.$ac_ext <<_ACEOF
28519 /* end confdefs.h. */
28520
28521
28522 #include <zlib.h>
28523 _ACEOF
28524 rm -f conftest.$ac_objext
28525 if { (ac_try="$ac_compile"
28526 case "(($ac_try" in
28527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28528 *) ac_try_echo=$ac_try;;
28529 esac
28530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28531 (eval "$ac_compile") 2>conftest.er1
28532 ac_status=$?
28533 grep -v '^ *+' conftest.er1 >conftest.err
28534 rm -f conftest.er1
28535 cat conftest.err >&5
28536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28537 (exit $ac_status); } && {
28538 test -z "$ac_c_werror_flag" ||
28539 test ! -s conftest.err
28540 } && test -s conftest.$ac_objext; then
28541 ac_cv_header_zlib_h=yes
28542 else
28543 echo "$as_me: failed program was:" >&5
28544 sed 's/^/| /' conftest.$ac_ext >&5
28545
28546 ac_cv_header_zlib_h=no
28547 fi
28548
28549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28550 fi
28551 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28552 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28553
28554
28555
28556 system_zlib_h_ok=$ac_cv_header_zlib_h
28557 fi
28558
28559 if test "$system_zlib_h_ok" = "yes"; then
28560 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28561 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28562 if test "${ac_cv_lib_z_deflate+set}" = set; then
28563 echo $ECHO_N "(cached) $ECHO_C" >&6
28564 else
28565 ac_check_lib_save_LIBS=$LIBS
28566 LIBS="-lz $LIBS"
28567 cat >conftest.$ac_ext <<_ACEOF
28568 /* confdefs.h. */
28569 _ACEOF
28570 cat confdefs.h >>conftest.$ac_ext
28571 cat >>conftest.$ac_ext <<_ACEOF
28572 /* end confdefs.h. */
28573
28574 /* Override any GCC internal prototype to avoid an error.
28575 Use char because int might match the return type of a GCC
28576 builtin and then its argument prototype would still apply. */
28577 #ifdef __cplusplus
28578 extern "C"
28579 #endif
28580 char deflate ();
28581 int
28582 main ()
28583 {
28584 return deflate ();
28585 ;
28586 return 0;
28587 }
28588 _ACEOF
28589 rm -f conftest.$ac_objext conftest$ac_exeext
28590 if { (ac_try="$ac_link"
28591 case "(($ac_try" in
28592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28593 *) ac_try_echo=$ac_try;;
28594 esac
28595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28596 (eval "$ac_link") 2>conftest.er1
28597 ac_status=$?
28598 grep -v '^ *+' conftest.er1 >conftest.err
28599 rm -f conftest.er1
28600 cat conftest.err >&5
28601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28602 (exit $ac_status); } && {
28603 test -z "$ac_c_werror_flag" ||
28604 test ! -s conftest.err
28605 } && test -s conftest$ac_exeext &&
28606 $as_test_x conftest$ac_exeext; then
28607 ac_cv_lib_z_deflate=yes
28608 else
28609 echo "$as_me: failed program was:" >&5
28610 sed 's/^/| /' conftest.$ac_ext >&5
28611
28612 ac_cv_lib_z_deflate=no
28613 fi
28614
28615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28616 conftest$ac_exeext conftest.$ac_ext
28617 LIBS=$ac_check_lib_save_LIBS
28618 fi
28619 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28620 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28621 if test $ac_cv_lib_z_deflate = yes; then
28622 ZLIB_LINK=" -lz"
28623 fi
28624
28625 fi
28626
28627 if test "x$ZLIB_LINK" = "x" ; then
28628 if test "$wxUSE_ZLIB" = "sys" ; then
28629 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28630 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28631 { (exit 1); exit 1; }; }
28632 else
28633 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28634 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28635 wxUSE_ZLIB=builtin
28636 fi
28637 else
28638 wxUSE_ZLIB=sys
28639 fi
28640 fi
28641 fi
28642
28643
28644 PNG_LINK=
28645 if test "$wxUSE_LIBPNG" != "no" ; then
28646 cat >>confdefs.h <<\_ACEOF
28647 #define wxUSE_LIBPNG 1
28648 _ACEOF
28649
28650
28651 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28652 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28653 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28654 wxUSE_LIBPNG=sys
28655 fi
28656
28657 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28658 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28659 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28660 wxUSE_LIBPNG=builtin
28661 fi
28662
28663 if test "$wxUSE_MGL" != 1 ; then
28664 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28665 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28666 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28667 if test "${ac_cv_header_png_h+set}" = set; then
28668 echo $ECHO_N "(cached) $ECHO_C" >&6
28669 else
28670 if test "$cross_compiling" = yes; then
28671 unset ac_cv_header_png_h
28672
28673 else
28674 cat >conftest.$ac_ext <<_ACEOF
28675 /* confdefs.h. */
28676 _ACEOF
28677 cat confdefs.h >>conftest.$ac_ext
28678 cat >>conftest.$ac_ext <<_ACEOF
28679 /* end confdefs.h. */
28680
28681 #include <png.h>
28682 #include <stdio.h>
28683
28684 int main()
28685 {
28686 FILE *f=fopen("conftestval", "w");
28687 if (!f) exit(1);
28688 fprintf(f, "%s",
28689 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28690 exit(0);
28691 }
28692
28693 _ACEOF
28694 rm -f conftest$ac_exeext
28695 if { (ac_try="$ac_link"
28696 case "(($ac_try" in
28697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28698 *) ac_try_echo=$ac_try;;
28699 esac
28700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28701 (eval "$ac_link") 2>&5
28702 ac_status=$?
28703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28705 { (case "(($ac_try" in
28706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28707 *) ac_try_echo=$ac_try;;
28708 esac
28709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28710 (eval "$ac_try") 2>&5
28711 ac_status=$?
28712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28713 (exit $ac_status); }; }; then
28714 ac_cv_header_png_h=`cat conftestval`
28715 else
28716 echo "$as_me: program exited with status $ac_status" >&5
28717 echo "$as_me: failed program was:" >&5
28718 sed 's/^/| /' conftest.$ac_ext >&5
28719
28720 ( exit $ac_status )
28721 ac_cv_header_png_h=no
28722 fi
28723 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28724 fi
28725
28726
28727
28728 fi
28729 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28730 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28731 { echo "$as_me:$LINENO: checking for png.h" >&5
28732 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28733 if test "${ac_cv_header_png_h+set}" = set; then
28734 echo $ECHO_N "(cached) $ECHO_C" >&6
28735 else
28736 cat >conftest.$ac_ext <<_ACEOF
28737 /* confdefs.h. */
28738 _ACEOF
28739 cat confdefs.h >>conftest.$ac_ext
28740 cat >>conftest.$ac_ext <<_ACEOF
28741 /* end confdefs.h. */
28742
28743
28744 #include <png.h>
28745 _ACEOF
28746 rm -f conftest.$ac_objext
28747 if { (ac_try="$ac_compile"
28748 case "(($ac_try" in
28749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28750 *) ac_try_echo=$ac_try;;
28751 esac
28752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28753 (eval "$ac_compile") 2>conftest.er1
28754 ac_status=$?
28755 grep -v '^ *+' conftest.er1 >conftest.err
28756 rm -f conftest.er1
28757 cat conftest.err >&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); } && {
28760 test -z "$ac_c_werror_flag" ||
28761 test ! -s conftest.err
28762 } && test -s conftest.$ac_objext; then
28763 ac_cv_header_png_h=yes
28764 else
28765 echo "$as_me: failed program was:" >&5
28766 sed 's/^/| /' conftest.$ac_ext >&5
28767
28768 ac_cv_header_png_h=no
28769 fi
28770
28771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28772 fi
28773 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28774 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28775
28776
28777
28778 if test "$ac_cv_header_png_h" = "yes"; then
28779 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
28780 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
28781 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28783 else
28784 ac_check_lib_save_LIBS=$LIBS
28785 LIBS="-lpng -lz -lm $LIBS"
28786 cat >conftest.$ac_ext <<_ACEOF
28787 /* confdefs.h. */
28788 _ACEOF
28789 cat confdefs.h >>conftest.$ac_ext
28790 cat >>conftest.$ac_ext <<_ACEOF
28791 /* end confdefs.h. */
28792
28793 /* Override any GCC internal prototype to avoid an error.
28794 Use char because int might match the return type of a GCC
28795 builtin and then its argument prototype would still apply. */
28796 #ifdef __cplusplus
28797 extern "C"
28798 #endif
28799 char png_check_sig ();
28800 int
28801 main ()
28802 {
28803 return png_check_sig ();
28804 ;
28805 return 0;
28806 }
28807 _ACEOF
28808 rm -f conftest.$ac_objext conftest$ac_exeext
28809 if { (ac_try="$ac_link"
28810 case "(($ac_try" in
28811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28812 *) ac_try_echo=$ac_try;;
28813 esac
28814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28815 (eval "$ac_link") 2>conftest.er1
28816 ac_status=$?
28817 grep -v '^ *+' conftest.er1 >conftest.err
28818 rm -f conftest.er1
28819 cat conftest.err >&5
28820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821 (exit $ac_status); } && {
28822 test -z "$ac_c_werror_flag" ||
28823 test ! -s conftest.err
28824 } && test -s conftest$ac_exeext &&
28825 $as_test_x conftest$ac_exeext; then
28826 ac_cv_lib_png_png_check_sig=yes
28827 else
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28830
28831 ac_cv_lib_png_png_check_sig=no
28832 fi
28833
28834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28835 conftest$ac_exeext conftest.$ac_ext
28836 LIBS=$ac_check_lib_save_LIBS
28837 fi
28838 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
28839 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
28840 if test $ac_cv_lib_png_png_check_sig = yes; then
28841 PNG_LINK=" -lpng -lz"
28842 fi
28843
28844 fi
28845
28846 if test "x$PNG_LINK" = "x" ; then
28847 if test "$wxUSE_LIBPNG" = "sys" ; then
28848 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28849 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28850 { (exit 1); exit 1; }; }
28851 else
28852 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28853 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28854 wxUSE_LIBPNG=builtin
28855 fi
28856 else
28857 wxUSE_LIBPNG=sys
28858 fi
28859 fi
28860 fi
28861
28862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
28863 fi
28864
28865
28866 JPEG_LINK=
28867 if test "$wxUSE_LIBJPEG" != "no" ; then
28868 cat >>confdefs.h <<\_ACEOF
28869 #define wxUSE_LIBJPEG 1
28870 _ACEOF
28871
28872
28873 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28874 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28875 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28876 wxUSE_LIBJPEG=sys
28877 fi
28878
28879 if test "$wxUSE_MGL" != 1 ; then
28880 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28881 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28882 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28883 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28884 echo $ECHO_N "(cached) $ECHO_C" >&6
28885 else
28886 cat >conftest.$ac_ext <<_ACEOF
28887 /* confdefs.h. */
28888 _ACEOF
28889 cat confdefs.h >>conftest.$ac_ext
28890 cat >>conftest.$ac_ext <<_ACEOF
28891 /* end confdefs.h. */
28892
28893 #undef HAVE_STDLIB_H
28894 #include <stdio.h>
28895 #include <jpeglib.h>
28896
28897 int
28898 main ()
28899 {
28900
28901
28902 ;
28903 return 0;
28904 }
28905 _ACEOF
28906 rm -f conftest.$ac_objext
28907 if { (ac_try="$ac_compile"
28908 case "(($ac_try" in
28909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28910 *) ac_try_echo=$ac_try;;
28911 esac
28912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28913 (eval "$ac_compile") 2>conftest.er1
28914 ac_status=$?
28915 grep -v '^ *+' conftest.er1 >conftest.err
28916 rm -f conftest.er1
28917 cat conftest.err >&5
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); } && {
28920 test -z "$ac_c_werror_flag" ||
28921 test ! -s conftest.err
28922 } && test -s conftest.$ac_objext; then
28923 ac_cv_header_jpeglib_h=yes
28924 else
28925 echo "$as_me: failed program was:" >&5
28926 sed 's/^/| /' conftest.$ac_ext >&5
28927
28928 ac_cv_header_jpeglib_h=no
28929
28930 fi
28931
28932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28933
28934 fi
28935
28936 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28937 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28938
28939 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28940 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28941 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28942 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28943 echo $ECHO_N "(cached) $ECHO_C" >&6
28944 else
28945 ac_check_lib_save_LIBS=$LIBS
28946 LIBS="-ljpeg $LIBS"
28947 cat >conftest.$ac_ext <<_ACEOF
28948 /* confdefs.h. */
28949 _ACEOF
28950 cat confdefs.h >>conftest.$ac_ext
28951 cat >>conftest.$ac_ext <<_ACEOF
28952 /* end confdefs.h. */
28953
28954 /* Override any GCC internal prototype to avoid an error.
28955 Use char because int might match the return type of a GCC
28956 builtin and then its argument prototype would still apply. */
28957 #ifdef __cplusplus
28958 extern "C"
28959 #endif
28960 char jpeg_read_header ();
28961 int
28962 main ()
28963 {
28964 return jpeg_read_header ();
28965 ;
28966 return 0;
28967 }
28968 _ACEOF
28969 rm -f conftest.$ac_objext conftest$ac_exeext
28970 if { (ac_try="$ac_link"
28971 case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28974 esac
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_link") 2>conftest.er1
28977 ac_status=$?
28978 grep -v '^ *+' conftest.er1 >conftest.err
28979 rm -f conftest.er1
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } && {
28983 test -z "$ac_c_werror_flag" ||
28984 test ! -s conftest.err
28985 } && test -s conftest$ac_exeext &&
28986 $as_test_x conftest$ac_exeext; then
28987 ac_cv_lib_jpeg_jpeg_read_header=yes
28988 else
28989 echo "$as_me: failed program was:" >&5
28990 sed 's/^/| /' conftest.$ac_ext >&5
28991
28992 ac_cv_lib_jpeg_jpeg_read_header=no
28993 fi
28994
28995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28996 conftest$ac_exeext conftest.$ac_ext
28997 LIBS=$ac_check_lib_save_LIBS
28998 fi
28999 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
29000 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
29001 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
29002 JPEG_LINK=" -ljpeg"
29003 fi
29004
29005 fi
29006
29007 if test "x$JPEG_LINK" = "x" ; then
29008 if test "$wxUSE_LIBJPEG" = "sys" ; then
29009 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
29010 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
29011 { (exit 1); exit 1; }; }
29012 else
29013 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
29014 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
29015 wxUSE_LIBJPEG=builtin
29016 fi
29017 else
29018 wxUSE_LIBJPEG=sys
29019
29020 if test "$wxUSE_MSW" = 1; then
29021 { echo "$as_me:$LINENO: checking for boolean" >&5
29022 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29023 if test "${ac_cv_type_boolean+set}" = set; then
29024 echo $ECHO_N "(cached) $ECHO_C" >&6
29025 else
29026 cat >conftest.$ac_ext <<_ACEOF
29027 /* confdefs.h. */
29028 _ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29032 #include <windows.h>
29033
29034 typedef boolean ac__type_new_;
29035 int
29036 main ()
29037 {
29038 if ((ac__type_new_ *) 0)
29039 return 0;
29040 if (sizeof (ac__type_new_))
29041 return 0;
29042 ;
29043 return 0;
29044 }
29045 _ACEOF
29046 rm -f conftest.$ac_objext
29047 if { (ac_try="$ac_compile"
29048 case "(($ac_try" in
29049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29050 *) ac_try_echo=$ac_try;;
29051 esac
29052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29053 (eval "$ac_compile") 2>conftest.er1
29054 ac_status=$?
29055 grep -v '^ *+' conftest.er1 >conftest.err
29056 rm -f conftest.er1
29057 cat conftest.err >&5
29058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29059 (exit $ac_status); } && {
29060 test -z "$ac_c_werror_flag" ||
29061 test ! -s conftest.err
29062 } && test -s conftest.$ac_objext; then
29063 ac_cv_type_boolean=yes
29064 else
29065 echo "$as_me: failed program was:" >&5
29066 sed 's/^/| /' conftest.$ac_ext >&5
29067
29068 ac_cv_type_boolean=no
29069 fi
29070
29071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29072 fi
29073 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29074 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29075 if test $ac_cv_type_boolean = yes; then
29076
29077 cat >>confdefs.h <<_ACEOF
29078 #define HAVE_BOOLEAN 1
29079 _ACEOF
29080
29081
29082 { echo "$as_me:$LINENO: checking for boolean" >&5
29083 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
29084 if test "${ac_cv_type_boolean+set}" = set; then
29085 echo $ECHO_N "(cached) $ECHO_C" >&6
29086 else
29087 cat >conftest.$ac_ext <<_ACEOF
29088 /* confdefs.h. */
29089 _ACEOF
29090 cat confdefs.h >>conftest.$ac_ext
29091 cat >>conftest.$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29093
29094 #undef HAVE_BOOLEAN
29095 #include <stdio.h>
29096 #include <jpeglib.h>
29097
29098
29099 typedef boolean ac__type_new_;
29100 int
29101 main ()
29102 {
29103 if ((ac__type_new_ *) 0)
29104 return 0;
29105 if (sizeof (ac__type_new_))
29106 return 0;
29107 ;
29108 return 0;
29109 }
29110 _ACEOF
29111 rm -f conftest.$ac_objext
29112 if { (ac_try="$ac_compile"
29113 case "(($ac_try" in
29114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29115 *) ac_try_echo=$ac_try;;
29116 esac
29117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29118 (eval "$ac_compile") 2>conftest.er1
29119 ac_status=$?
29120 grep -v '^ *+' conftest.er1 >conftest.err
29121 rm -f conftest.er1
29122 cat conftest.err >&5
29123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29124 (exit $ac_status); } && {
29125 test -z "$ac_c_werror_flag" ||
29126 test ! -s conftest.err
29127 } && test -s conftest.$ac_objext; then
29128 ac_cv_type_boolean=yes
29129 else
29130 echo "$as_me: failed program was:" >&5
29131 sed 's/^/| /' conftest.$ac_ext >&5
29132
29133 ac_cv_type_boolean=no
29134 fi
29135
29136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29137 fi
29138 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
29139 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
29140
29141 # The cast to long int works around a bug in the HP C Compiler
29142 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
29143 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
29144 # This bug is HP SR number 8606223364.
29145 { echo "$as_me:$LINENO: checking size of boolean" >&5
29146 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
29147 if test "${ac_cv_sizeof_boolean+set}" = set; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29149 else
29150 if test "$cross_compiling" = yes; then
29151 # Depending upon the size, compute the lo and hi bounds.
29152 cat >conftest.$ac_ext <<_ACEOF
29153 /* confdefs.h. */
29154 _ACEOF
29155 cat confdefs.h >>conftest.$ac_ext
29156 cat >>conftest.$ac_ext <<_ACEOF
29157 /* end confdefs.h. */
29158
29159 #undef HAVE_BOOLEAN
29160 #include <stdio.h>
29161 #include <jpeglib.h>
29162
29163
29164 typedef boolean ac__type_sizeof_;
29165 int
29166 main ()
29167 {
29168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
29169 test_array [0] = 0
29170
29171 ;
29172 return 0;
29173 }
29174 _ACEOF
29175 rm -f conftest.$ac_objext
29176 if { (ac_try="$ac_compile"
29177 case "(($ac_try" in
29178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29179 *) ac_try_echo=$ac_try;;
29180 esac
29181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29182 (eval "$ac_compile") 2>conftest.er1
29183 ac_status=$?
29184 grep -v '^ *+' conftest.er1 >conftest.err
29185 rm -f conftest.er1
29186 cat conftest.err >&5
29187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188 (exit $ac_status); } && {
29189 test -z "$ac_c_werror_flag" ||
29190 test ! -s conftest.err
29191 } && test -s conftest.$ac_objext; then
29192 ac_lo=0 ac_mid=0
29193 while :; do
29194 cat >conftest.$ac_ext <<_ACEOF
29195 /* confdefs.h. */
29196 _ACEOF
29197 cat confdefs.h >>conftest.$ac_ext
29198 cat >>conftest.$ac_ext <<_ACEOF
29199 /* end confdefs.h. */
29200
29201 #undef HAVE_BOOLEAN
29202 #include <stdio.h>
29203 #include <jpeglib.h>
29204
29205
29206 typedef boolean ac__type_sizeof_;
29207 int
29208 main ()
29209 {
29210 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29211 test_array [0] = 0
29212
29213 ;
29214 return 0;
29215 }
29216 _ACEOF
29217 rm -f conftest.$ac_objext
29218 if { (ac_try="$ac_compile"
29219 case "(($ac_try" in
29220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29221 *) ac_try_echo=$ac_try;;
29222 esac
29223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29224 (eval "$ac_compile") 2>conftest.er1
29225 ac_status=$?
29226 grep -v '^ *+' conftest.er1 >conftest.err
29227 rm -f conftest.er1
29228 cat conftest.err >&5
29229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29230 (exit $ac_status); } && {
29231 test -z "$ac_c_werror_flag" ||
29232 test ! -s conftest.err
29233 } && test -s conftest.$ac_objext; then
29234 ac_hi=$ac_mid; break
29235 else
29236 echo "$as_me: failed program was:" >&5
29237 sed 's/^/| /' conftest.$ac_ext >&5
29238
29239 ac_lo=`expr $ac_mid + 1`
29240 if test $ac_lo -le $ac_mid; then
29241 ac_lo= ac_hi=
29242 break
29243 fi
29244 ac_mid=`expr 2 '*' $ac_mid + 1`
29245 fi
29246
29247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29248 done
29249 else
29250 echo "$as_me: failed program was:" >&5
29251 sed 's/^/| /' conftest.$ac_ext >&5
29252
29253 cat >conftest.$ac_ext <<_ACEOF
29254 /* confdefs.h. */
29255 _ACEOF
29256 cat confdefs.h >>conftest.$ac_ext
29257 cat >>conftest.$ac_ext <<_ACEOF
29258 /* end confdefs.h. */
29259
29260 #undef HAVE_BOOLEAN
29261 #include <stdio.h>
29262 #include <jpeglib.h>
29263
29264
29265 typedef boolean ac__type_sizeof_;
29266 int
29267 main ()
29268 {
29269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29270 test_array [0] = 0
29271
29272 ;
29273 return 0;
29274 }
29275 _ACEOF
29276 rm -f conftest.$ac_objext
29277 if { (ac_try="$ac_compile"
29278 case "(($ac_try" in
29279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29280 *) ac_try_echo=$ac_try;;
29281 esac
29282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29283 (eval "$ac_compile") 2>conftest.er1
29284 ac_status=$?
29285 grep -v '^ *+' conftest.er1 >conftest.err
29286 rm -f conftest.er1
29287 cat conftest.err >&5
29288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289 (exit $ac_status); } && {
29290 test -z "$ac_c_werror_flag" ||
29291 test ! -s conftest.err
29292 } && test -s conftest.$ac_objext; then
29293 ac_hi=-1 ac_mid=-1
29294 while :; do
29295 cat >conftest.$ac_ext <<_ACEOF
29296 /* confdefs.h. */
29297 _ACEOF
29298 cat confdefs.h >>conftest.$ac_ext
29299 cat >>conftest.$ac_ext <<_ACEOF
29300 /* end confdefs.h. */
29301
29302 #undef HAVE_BOOLEAN
29303 #include <stdio.h>
29304 #include <jpeglib.h>
29305
29306
29307 typedef boolean ac__type_sizeof_;
29308 int
29309 main ()
29310 {
29311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29312 test_array [0] = 0
29313
29314 ;
29315 return 0;
29316 }
29317 _ACEOF
29318 rm -f conftest.$ac_objext
29319 if { (ac_try="$ac_compile"
29320 case "(($ac_try" in
29321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29322 *) ac_try_echo=$ac_try;;
29323 esac
29324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29325 (eval "$ac_compile") 2>conftest.er1
29326 ac_status=$?
29327 grep -v '^ *+' conftest.er1 >conftest.err
29328 rm -f conftest.er1
29329 cat conftest.err >&5
29330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29331 (exit $ac_status); } && {
29332 test -z "$ac_c_werror_flag" ||
29333 test ! -s conftest.err
29334 } && test -s conftest.$ac_objext; then
29335 ac_lo=$ac_mid; break
29336 else
29337 echo "$as_me: failed program was:" >&5
29338 sed 's/^/| /' conftest.$ac_ext >&5
29339
29340 ac_hi=`expr '(' $ac_mid ')' - 1`
29341 if test $ac_mid -le $ac_hi; then
29342 ac_lo= ac_hi=
29343 break
29344 fi
29345 ac_mid=`expr 2 '*' $ac_mid`
29346 fi
29347
29348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29349 done
29350 else
29351 echo "$as_me: failed program was:" >&5
29352 sed 's/^/| /' conftest.$ac_ext >&5
29353
29354 ac_lo= ac_hi=
29355 fi
29356
29357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29358 fi
29359
29360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29361 # Binary search between lo and hi bounds.
29362 while test "x$ac_lo" != "x$ac_hi"; do
29363 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29364 cat >conftest.$ac_ext <<_ACEOF
29365 /* confdefs.h. */
29366 _ACEOF
29367 cat confdefs.h >>conftest.$ac_ext
29368 cat >>conftest.$ac_ext <<_ACEOF
29369 /* end confdefs.h. */
29370
29371 #undef HAVE_BOOLEAN
29372 #include <stdio.h>
29373 #include <jpeglib.h>
29374
29375
29376 typedef boolean ac__type_sizeof_;
29377 int
29378 main ()
29379 {
29380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29381 test_array [0] = 0
29382
29383 ;
29384 return 0;
29385 }
29386 _ACEOF
29387 rm -f conftest.$ac_objext
29388 if { (ac_try="$ac_compile"
29389 case "(($ac_try" in
29390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29391 *) ac_try_echo=$ac_try;;
29392 esac
29393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29394 (eval "$ac_compile") 2>conftest.er1
29395 ac_status=$?
29396 grep -v '^ *+' conftest.er1 >conftest.err
29397 rm -f conftest.er1
29398 cat conftest.err >&5
29399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29400 (exit $ac_status); } && {
29401 test -z "$ac_c_werror_flag" ||
29402 test ! -s conftest.err
29403 } && test -s conftest.$ac_objext; then
29404 ac_hi=$ac_mid
29405 else
29406 echo "$as_me: failed program was:" >&5
29407 sed 's/^/| /' conftest.$ac_ext >&5
29408
29409 ac_lo=`expr '(' $ac_mid ')' + 1`
29410 fi
29411
29412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29413 done
29414 case $ac_lo in
29415 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29416 '') if test "$ac_cv_type_boolean" = yes; then
29417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29418 See \`config.log' for more details." >&5
29419 echo "$as_me: error: cannot compute sizeof (boolean)
29420 See \`config.log' for more details." >&2;}
29421 { (exit 77); exit 77; }; }
29422 else
29423 ac_cv_sizeof_boolean=0
29424 fi ;;
29425 esac
29426 else
29427 cat >conftest.$ac_ext <<_ACEOF
29428 /* confdefs.h. */
29429 _ACEOF
29430 cat confdefs.h >>conftest.$ac_ext
29431 cat >>conftest.$ac_ext <<_ACEOF
29432 /* end confdefs.h. */
29433
29434 #undef HAVE_BOOLEAN
29435 #include <stdio.h>
29436 #include <jpeglib.h>
29437
29438
29439 typedef boolean ac__type_sizeof_;
29440 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29441 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29442 #include <stdio.h>
29443 #include <stdlib.h>
29444 int
29445 main ()
29446 {
29447
29448 FILE *f = fopen ("conftest.val", "w");
29449 if (! f)
29450 return 1;
29451 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29452 {
29453 long int i = longval ();
29454 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29455 return 1;
29456 fprintf (f, "%ld\n", i);
29457 }
29458 else
29459 {
29460 unsigned long int i = ulongval ();
29461 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29462 return 1;
29463 fprintf (f, "%lu\n", i);
29464 }
29465 return ferror (f) || fclose (f) != 0;
29466
29467 ;
29468 return 0;
29469 }
29470 _ACEOF
29471 rm -f conftest$ac_exeext
29472 if { (ac_try="$ac_link"
29473 case "(($ac_try" in
29474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29475 *) ac_try_echo=$ac_try;;
29476 esac
29477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29478 (eval "$ac_link") 2>&5
29479 ac_status=$?
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29482 { (case "(($ac_try" in
29483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29484 *) ac_try_echo=$ac_try;;
29485 esac
29486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29487 (eval "$ac_try") 2>&5
29488 ac_status=$?
29489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29490 (exit $ac_status); }; }; then
29491 ac_cv_sizeof_boolean=`cat conftest.val`
29492 else
29493 echo "$as_me: program exited with status $ac_status" >&5
29494 echo "$as_me: failed program was:" >&5
29495 sed 's/^/| /' conftest.$ac_ext >&5
29496
29497 ( exit $ac_status )
29498 if test "$ac_cv_type_boolean" = yes; then
29499 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29500 See \`config.log' for more details." >&5
29501 echo "$as_me: error: cannot compute sizeof (boolean)
29502 See \`config.log' for more details." >&2;}
29503 { (exit 77); exit 77; }; }
29504 else
29505 ac_cv_sizeof_boolean=0
29506 fi
29507 fi
29508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29509 fi
29510 rm -f conftest.val
29511 fi
29512 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29513 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29514
29515
29516
29517 cat >>confdefs.h <<_ACEOF
29518 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29519 _ACEOF
29520
29521
29522 cat >>confdefs.h <<_ACEOF
29523 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29524 _ACEOF
29525
29526
29527 fi
29528
29529 fi
29530 fi
29531 fi
29532 fi
29533 fi
29534
29535
29536 TIFF_LINK=
29537 TIFF_PREREQ_LINKS=-lm
29538 if test "$wxUSE_LIBTIFF" != "no" ; then
29539 cat >>confdefs.h <<\_ACEOF
29540 #define wxUSE_LIBTIFF 1
29541 _ACEOF
29542
29543
29544 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29545 if test "$wxUSE_LIBJPEG" = "sys"; then
29546 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29547 fi
29548 if test "$wxUSE_ZLIB" = "sys"; then
29549 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29550 fi
29551 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29552 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29553 if test "${ac_cv_header_tiffio_h+set}" = set; then
29554 echo $ECHO_N "(cached) $ECHO_C" >&6
29555 else
29556 cat >conftest.$ac_ext <<_ACEOF
29557 /* confdefs.h. */
29558 _ACEOF
29559 cat confdefs.h >>conftest.$ac_ext
29560 cat >>conftest.$ac_ext <<_ACEOF
29561 /* end confdefs.h. */
29562
29563
29564
29565 #include <tiffio.h>
29566 _ACEOF
29567 rm -f conftest.$ac_objext
29568 if { (ac_try="$ac_compile"
29569 case "(($ac_try" in
29570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29571 *) ac_try_echo=$ac_try;;
29572 esac
29573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29574 (eval "$ac_compile") 2>conftest.er1
29575 ac_status=$?
29576 grep -v '^ *+' conftest.er1 >conftest.err
29577 rm -f conftest.er1
29578 cat conftest.err >&5
29579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29580 (exit $ac_status); } && {
29581 test -z "$ac_c_werror_flag" ||
29582 test ! -s conftest.err
29583 } && test -s conftest.$ac_objext; then
29584 ac_cv_header_tiffio_h=yes
29585 else
29586 echo "$as_me: failed program was:" >&5
29587 sed 's/^/| /' conftest.$ac_ext >&5
29588
29589 ac_cv_header_tiffio_h=no
29590 fi
29591
29592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29593 fi
29594 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29595 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29596 if test $ac_cv_header_tiffio_h = yes; then
29597
29598 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29599 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29600 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29601 echo $ECHO_N "(cached) $ECHO_C" >&6
29602 else
29603 ac_check_lib_save_LIBS=$LIBS
29604 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29605 cat >conftest.$ac_ext <<_ACEOF
29606 /* confdefs.h. */
29607 _ACEOF
29608 cat confdefs.h >>conftest.$ac_ext
29609 cat >>conftest.$ac_ext <<_ACEOF
29610 /* end confdefs.h. */
29611
29612 /* Override any GCC internal prototype to avoid an error.
29613 Use char because int might match the return type of a GCC
29614 builtin and then its argument prototype would still apply. */
29615 #ifdef __cplusplus
29616 extern "C"
29617 #endif
29618 char TIFFError ();
29619 int
29620 main ()
29621 {
29622 return TIFFError ();
29623 ;
29624 return 0;
29625 }
29626 _ACEOF
29627 rm -f conftest.$ac_objext conftest$ac_exeext
29628 if { (ac_try="$ac_link"
29629 case "(($ac_try" in
29630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29631 *) ac_try_echo=$ac_try;;
29632 esac
29633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29634 (eval "$ac_link") 2>conftest.er1
29635 ac_status=$?
29636 grep -v '^ *+' conftest.er1 >conftest.err
29637 rm -f conftest.er1
29638 cat conftest.err >&5
29639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29640 (exit $ac_status); } && {
29641 test -z "$ac_c_werror_flag" ||
29642 test ! -s conftest.err
29643 } && test -s conftest$ac_exeext &&
29644 $as_test_x conftest$ac_exeext; then
29645 ac_cv_lib_tiff_TIFFError=yes
29646 else
29647 echo "$as_me: failed program was:" >&5
29648 sed 's/^/| /' conftest.$ac_ext >&5
29649
29650 ac_cv_lib_tiff_TIFFError=no
29651 fi
29652
29653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29654 conftest$ac_exeext conftest.$ac_ext
29655 LIBS=$ac_check_lib_save_LIBS
29656 fi
29657 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29658 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29659 if test $ac_cv_lib_tiff_TIFFError = yes; then
29660 TIFF_LINK=" -ltiff"
29661 fi
29662
29663
29664 fi
29665
29666
29667
29668 if test "x$TIFF_LINK" = "x" ; then
29669 if test "$wxUSE_LIBTIFF" = "sys" ; then
29670 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29671 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29672 { (exit 1); exit 1; }; }
29673 else
29674 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29675 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29676 wxUSE_LIBTIFF=builtin
29677 fi
29678 else
29679 wxUSE_LIBTIFF=sys
29680 fi
29681 fi
29682 fi
29683
29684
29685 if test "$wxUSE_WCHAR_T" != "yes"; then
29686 if test "$wxUSE_EXPAT" != "no"; then
29687 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
29688 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
29689 wxUSE_EXPAT=no
29690 fi
29691 if test "$wxUSE_XML" != "no"; then
29692 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
29693 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
29694 wxUSE_XML=no
29695 fi
29696 fi
29697
29698 if test "$wxUSE_EXPAT" != "no"; then
29699 wxUSE_XML=yes
29700 cat >>confdefs.h <<\_ACEOF
29701 #define wxUSE_EXPAT 1
29702 _ACEOF
29703
29704 cat >>confdefs.h <<\_ACEOF
29705 #define wxUSE_XML 1
29706 _ACEOF
29707
29708
29709 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29710 { echo "$as_me:$LINENO: checking for expat.h" >&5
29711 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29712 if test "${ac_cv_header_expat_h+set}" = set; then
29713 echo $ECHO_N "(cached) $ECHO_C" >&6
29714 else
29715 cat >conftest.$ac_ext <<_ACEOF
29716 /* confdefs.h. */
29717 _ACEOF
29718 cat confdefs.h >>conftest.$ac_ext
29719 cat >>conftest.$ac_ext <<_ACEOF
29720 /* end confdefs.h. */
29721
29722
29723 #include <expat.h>
29724 _ACEOF
29725 rm -f conftest.$ac_objext
29726 if { (ac_try="$ac_compile"
29727 case "(($ac_try" in
29728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29729 *) ac_try_echo=$ac_try;;
29730 esac
29731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29732 (eval "$ac_compile") 2>conftest.er1
29733 ac_status=$?
29734 grep -v '^ *+' conftest.er1 >conftest.err
29735 rm -f conftest.er1
29736 cat conftest.err >&5
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); } && {
29739 test -z "$ac_c_werror_flag" ||
29740 test ! -s conftest.err
29741 } && test -s conftest.$ac_objext; then
29742 ac_cv_header_expat_h=yes
29743 else
29744 echo "$as_me: failed program was:" >&5
29745 sed 's/^/| /' conftest.$ac_ext >&5
29746
29747 ac_cv_header_expat_h=no
29748 fi
29749
29750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29751 fi
29752 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29753 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29754 if test $ac_cv_header_expat_h = yes; then
29755 found_expat_h=1
29756 fi
29757
29758
29759 if test "x$found_expat_h" = "x1"; then
29760 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29761 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29762 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29763 echo $ECHO_N "(cached) $ECHO_C" >&6
29764 else
29765
29766 ac_ext=cpp
29767 ac_cpp='$CXXCPP $CPPFLAGS'
29768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29771
29772 cat >conftest.$ac_ext <<_ACEOF
29773 /* confdefs.h. */
29774 _ACEOF
29775 cat confdefs.h >>conftest.$ac_ext
29776 cat >>conftest.$ac_ext <<_ACEOF
29777 /* end confdefs.h. */
29778 #include <expat.h>
29779 int
29780 main ()
29781 {
29782
29783 ;
29784 return 0;
29785 }
29786 _ACEOF
29787 rm -f conftest.$ac_objext
29788 if { (ac_try="$ac_compile"
29789 case "(($ac_try" in
29790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29791 *) ac_try_echo=$ac_try;;
29792 esac
29793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29794 (eval "$ac_compile") 2>conftest.er1
29795 ac_status=$?
29796 grep -v '^ *+' conftest.er1 >conftest.err
29797 rm -f conftest.er1
29798 cat conftest.err >&5
29799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29800 (exit $ac_status); } && {
29801 test -z "$ac_cxx_werror_flag" ||
29802 test ! -s conftest.err
29803 } && test -s conftest.$ac_objext; then
29804 wx_cv_expat_is_not_broken=yes
29805 else
29806 echo "$as_me: failed program was:" >&5
29807 sed 's/^/| /' conftest.$ac_ext >&5
29808
29809 wx_cv_expat_is_not_broken=no
29810
29811 fi
29812
29813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29814 ac_ext=c
29815 ac_cpp='$CPP $CPPFLAGS'
29816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29819
29820
29821
29822 fi
29823 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29824 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29825 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29826 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29827 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29828 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29829 echo $ECHO_N "(cached) $ECHO_C" >&6
29830 else
29831 ac_check_lib_save_LIBS=$LIBS
29832 LIBS="-lexpat $LIBS"
29833 cat >conftest.$ac_ext <<_ACEOF
29834 /* confdefs.h. */
29835 _ACEOF
29836 cat confdefs.h >>conftest.$ac_ext
29837 cat >>conftest.$ac_ext <<_ACEOF
29838 /* end confdefs.h. */
29839
29840 /* Override any GCC internal prototype to avoid an error.
29841 Use char because int might match the return type of a GCC
29842 builtin and then its argument prototype would still apply. */
29843 #ifdef __cplusplus
29844 extern "C"
29845 #endif
29846 char XML_ParserCreate ();
29847 int
29848 main ()
29849 {
29850 return XML_ParserCreate ();
29851 ;
29852 return 0;
29853 }
29854 _ACEOF
29855 rm -f conftest.$ac_objext conftest$ac_exeext
29856 if { (ac_try="$ac_link"
29857 case "(($ac_try" in
29858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29859 *) ac_try_echo=$ac_try;;
29860 esac
29861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29862 (eval "$ac_link") 2>conftest.er1
29863 ac_status=$?
29864 grep -v '^ *+' conftest.er1 >conftest.err
29865 rm -f conftest.er1
29866 cat conftest.err >&5
29867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29868 (exit $ac_status); } && {
29869 test -z "$ac_c_werror_flag" ||
29870 test ! -s conftest.err
29871 } && test -s conftest$ac_exeext &&
29872 $as_test_x conftest$ac_exeext; then
29873 ac_cv_lib_expat_XML_ParserCreate=yes
29874 else
29875 echo "$as_me: failed program was:" >&5
29876 sed 's/^/| /' conftest.$ac_ext >&5
29877
29878 ac_cv_lib_expat_XML_ParserCreate=no
29879 fi
29880
29881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29882 conftest$ac_exeext conftest.$ac_ext
29883 LIBS=$ac_check_lib_save_LIBS
29884 fi
29885 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29886 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29887 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29888 EXPAT_LINK=" -lexpat"
29889 fi
29890
29891 fi
29892 fi
29893 if test "x$EXPAT_LINK" = "x" ; then
29894 if test "$wxUSE_EXPAT" = "sys" ; then
29895 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29896 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29897 { (exit 1); exit 1; }; }
29898 else
29899 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29900 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29901 wxUSE_EXPAT=builtin
29902 fi
29903 else
29904 wxUSE_EXPAT=sys
29905 fi
29906 fi
29907 if test "$wxUSE_EXPAT" = "builtin" ; then
29908 subdirs="$subdirs src/expat"
29909
29910 fi
29911 fi
29912
29913
29914
29915 if test "$wxUSE_LIBMSPACK" != "no"; then
29916 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29917 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29918 if test "${ac_cv_header_mspack_h+set}" = set; then
29919 echo $ECHO_N "(cached) $ECHO_C" >&6
29920 else
29921 cat >conftest.$ac_ext <<_ACEOF
29922 /* confdefs.h. */
29923 _ACEOF
29924 cat confdefs.h >>conftest.$ac_ext
29925 cat >>conftest.$ac_ext <<_ACEOF
29926 /* end confdefs.h. */
29927
29928
29929 #include <mspack.h>
29930 _ACEOF
29931 rm -f conftest.$ac_objext
29932 if { (ac_try="$ac_compile"
29933 case "(($ac_try" in
29934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29935 *) ac_try_echo=$ac_try;;
29936 esac
29937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29938 (eval "$ac_compile") 2>conftest.er1
29939 ac_status=$?
29940 grep -v '^ *+' conftest.er1 >conftest.err
29941 rm -f conftest.er1
29942 cat conftest.err >&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); } && {
29945 test -z "$ac_c_werror_flag" ||
29946 test ! -s conftest.err
29947 } && test -s conftest.$ac_objext; then
29948 ac_cv_header_mspack_h=yes
29949 else
29950 echo "$as_me: failed program was:" >&5
29951 sed 's/^/| /' conftest.$ac_ext >&5
29952
29953 ac_cv_header_mspack_h=no
29954 fi
29955
29956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29957 fi
29958 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29959 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29960 if test $ac_cv_header_mspack_h = yes; then
29961 found_mspack_h=1
29962 fi
29963
29964
29965 if test "x$found_mspack_h" = "x1"; then
29966 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29967 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29968 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29969 echo $ECHO_N "(cached) $ECHO_C" >&6
29970 else
29971 ac_check_lib_save_LIBS=$LIBS
29972 LIBS="-lmspack $LIBS"
29973 cat >conftest.$ac_ext <<_ACEOF
29974 /* confdefs.h. */
29975 _ACEOF
29976 cat confdefs.h >>conftest.$ac_ext
29977 cat >>conftest.$ac_ext <<_ACEOF
29978 /* end confdefs.h. */
29979
29980 /* Override any GCC internal prototype to avoid an error.
29981 Use char because int might match the return type of a GCC
29982 builtin and then its argument prototype would still apply. */
29983 #ifdef __cplusplus
29984 extern "C"
29985 #endif
29986 char mspack_create_chm_decompressor ();
29987 int
29988 main ()
29989 {
29990 return mspack_create_chm_decompressor ();
29991 ;
29992 return 0;
29993 }
29994 _ACEOF
29995 rm -f conftest.$ac_objext conftest$ac_exeext
29996 if { (ac_try="$ac_link"
29997 case "(($ac_try" in
29998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29999 *) ac_try_echo=$ac_try;;
30000 esac
30001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30002 (eval "$ac_link") 2>conftest.er1
30003 ac_status=$?
30004 grep -v '^ *+' conftest.er1 >conftest.err
30005 rm -f conftest.er1
30006 cat conftest.err >&5
30007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30008 (exit $ac_status); } && {
30009 test -z "$ac_c_werror_flag" ||
30010 test ! -s conftest.err
30011 } && test -s conftest$ac_exeext &&
30012 $as_test_x conftest$ac_exeext; then
30013 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
30014 else
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.$ac_ext >&5
30017
30018 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
30019 fi
30020
30021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30022 conftest$ac_exeext conftest.$ac_ext
30023 LIBS=$ac_check_lib_save_LIBS
30024 fi
30025 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
30026 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
30027 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
30028 MSPACK_LINK=" -lmspack"
30029 fi
30030
30031 fi
30032 if test "x$MSPACK_LINK" = "x" ; then
30033 wxUSE_LIBMSPACK=no
30034 fi
30035 fi
30036
30037 if test "$wxUSE_LIBMSPACK" != "no"; then
30038 cat >>confdefs.h <<\_ACEOF
30039 #define wxUSE_LIBMSPACK 1
30040 _ACEOF
30041
30042 fi
30043
30044
30045
30046 AFMINSTALL=
30047 WIN32INSTALL=
30048
30049 TOOLKIT=
30050 TOOLKIT_INCLUDE=
30051 WIDGET_SET=
30052
30053 if test "$USE_WIN32" = 1 ; then
30054
30055 for ac_header in w32api.h
30056 do
30057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
30059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
30060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30062 else
30063 cat >conftest.$ac_ext <<_ACEOF
30064 /* confdefs.h. */
30065 _ACEOF
30066 cat confdefs.h >>conftest.$ac_ext
30067 cat >>conftest.$ac_ext <<_ACEOF
30068 /* end confdefs.h. */
30069
30070
30071 #include <$ac_header>
30072 _ACEOF
30073 rm -f conftest.$ac_objext
30074 if { (ac_try="$ac_compile"
30075 case "(($ac_try" in
30076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30077 *) ac_try_echo=$ac_try;;
30078 esac
30079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30080 (eval "$ac_compile") 2>conftest.er1
30081 ac_status=$?
30082 grep -v '^ *+' conftest.er1 >conftest.err
30083 rm -f conftest.er1
30084 cat conftest.err >&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } && {
30087 test -z "$ac_c_werror_flag" ||
30088 test ! -s conftest.err
30089 } && test -s conftest.$ac_objext; then
30090 eval "$as_ac_Header=yes"
30091 else
30092 echo "$as_me: failed program was:" >&5
30093 sed 's/^/| /' conftest.$ac_ext >&5
30094
30095 eval "$as_ac_Header=no"
30096 fi
30097
30098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30099 fi
30100 ac_res=`eval echo '${'$as_ac_Header'}'`
30101 { echo "$as_me:$LINENO: result: $ac_res" >&5
30102 echo "${ECHO_T}$ac_res" >&6; }
30103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30104 cat >>confdefs.h <<_ACEOF
30105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30106 _ACEOF
30107
30108 fi
30109
30110 done
30111
30112 { echo "$as_me:$LINENO: checking for windows.h" >&5
30113 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
30114 if test "${ac_cv_header_windows_h+set}" = set; then
30115 echo $ECHO_N "(cached) $ECHO_C" >&6
30116 else
30117 cat >conftest.$ac_ext <<_ACEOF
30118 /* confdefs.h. */
30119 _ACEOF
30120 cat confdefs.h >>conftest.$ac_ext
30121 cat >>conftest.$ac_ext <<_ACEOF
30122 /* end confdefs.h. */
30123
30124
30125 #include <windows.h>
30126 _ACEOF
30127 rm -f conftest.$ac_objext
30128 if { (ac_try="$ac_compile"
30129 case "(($ac_try" in
30130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30131 *) ac_try_echo=$ac_try;;
30132 esac
30133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30134 (eval "$ac_compile") 2>conftest.er1
30135 ac_status=$?
30136 grep -v '^ *+' conftest.er1 >conftest.err
30137 rm -f conftest.er1
30138 cat conftest.err >&5
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); } && {
30141 test -z "$ac_c_werror_flag" ||
30142 test ! -s conftest.err
30143 } && test -s conftest.$ac_objext; then
30144 ac_cv_header_windows_h=yes
30145 else
30146 echo "$as_me: failed program was:" >&5
30147 sed 's/^/| /' conftest.$ac_ext >&5
30148
30149 ac_cv_header_windows_h=no
30150 fi
30151
30152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30153 fi
30154 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
30155 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
30156 if test $ac_cv_header_windows_h = yes; then
30157 :
30158 else
30159
30160 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
30161 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
30162 { (exit 1); exit 1; }; }
30163
30164 fi
30165
30166
30167
30168 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
30169
30170 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
30171 LIBS="$LIBS -loleacc"
30172 fi
30173
30174 case "${host}" in
30175 *-*-cygwin* )
30176 LIBS="$LIBS -lkernel32 -luser32"
30177 esac
30178
30179 if test "$wxUSE_ODBC" = "sys" ; then
30180 wxUSE_ODBC = "yes"
30181 fi
30182 if test "$wxUSE_ODBC" = "yes" ; then
30183 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
30184 cat >>confdefs.h <<\_ACEOF
30185 #define wxUSE_ODBC 1
30186 _ACEOF
30187
30188 fi
30189
30190 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30191 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
30192
30193 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
30194
30195 WIN32INSTALL=win32install
30196
30197 { echo "$as_me:$LINENO: checking for pbt.h" >&5
30198 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
30199 if test "${ac_cv_header_pbt_h+set}" = set; then
30200 echo $ECHO_N "(cached) $ECHO_C" >&6
30201 else
30202 cat >conftest.$ac_ext <<_ACEOF
30203 /* confdefs.h. */
30204 _ACEOF
30205 cat confdefs.h >>conftest.$ac_ext
30206 cat >>conftest.$ac_ext <<_ACEOF
30207 /* end confdefs.h. */
30208
30209
30210 #include <pbt.h>
30211 _ACEOF
30212 rm -f conftest.$ac_objext
30213 if { (ac_try="$ac_compile"
30214 case "(($ac_try" in
30215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30216 *) ac_try_echo=$ac_try;;
30217 esac
30218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30219 (eval "$ac_compile") 2>conftest.er1
30220 ac_status=$?
30221 grep -v '^ *+' conftest.er1 >conftest.err
30222 rm -f conftest.er1
30223 cat conftest.err >&5
30224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30225 (exit $ac_status); } && {
30226 test -z "$ac_c_werror_flag" ||
30227 test ! -s conftest.err
30228 } && test -s conftest.$ac_objext; then
30229 ac_cv_header_pbt_h=yes
30230 else
30231 echo "$as_me: failed program was:" >&5
30232 sed 's/^/| /' conftest.$ac_ext >&5
30233
30234 ac_cv_header_pbt_h=no
30235 fi
30236
30237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238 fi
30239 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30240 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30241 if test $ac_cv_header_pbt_h = yes; then
30242 :
30243 else
30244 cat >>confdefs.h <<\_ACEOF
30245 #define NEED_PBT_H 1
30246 _ACEOF
30247
30248 fi
30249
30250
30251 fi
30252
30253 if test "$wxUSE_GUI" = "yes"; then
30254 USE_GUI=1
30255
30256 GUI_TK_LIBRARY=
30257
30258 WXGTK12=
30259 WXGTK127=
30260 WXGTK20=
30261 WXGPE=
30262
30263 if test "$wxUSE_COCOA" = 1 ; then
30264 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30265 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30266 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30267 wxUSE_PRINTING_ARCHITECTURE=no
30268 fi
30269 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30270 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30271 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30272 wxUSE_DRAG_AND_DROP=no
30273 fi
30274 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30275 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30276 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30277 wxUSE_DRAGIMAGE=no
30278 fi
30279 fi
30280
30281 if test "$wxUSE_MSW" = 1 ; then
30282 TOOLKIT=MSW
30283 GUIDIST=MSW_DIST
30284
30285 case "${host}" in
30286 *-*-mingw32* )
30287 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30288 esac
30289 fi
30290
30291 if test "$wxUSE_GTK" = 1; then
30292 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30293 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30294
30295 gtk_version_cached=1
30296 if test "${wx_cv_lib_gtk+set}" = set; then
30297 echo $ECHO_N "(cached) $ECHO_C" >&6
30298 else
30299
30300 gtk_version_cached=0
30301 { echo "$as_me:$LINENO: result: " >&5
30302 echo "${ECHO_T}" >&6; }
30303
30304 GTK_MODULES=
30305 if test "$wxUSE_THREADS" = "yes"; then
30306 GTK_MODULES=gthread
30307 fi
30308
30309 wx_cv_lib_gtk=
30310 if test "x$wxGTK_VERSION" != "x1"
30311 then
30312 case "${host}" in
30313 *-*-solaris2* )
30314 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30315 enable_gtktest=no
30316 fi
30317 esac
30318
30319 # Check whether --enable-gtktest was given.
30320 if test "${enable_gtktest+set}" = set; then
30321 enableval=$enable_gtktest;
30322 else
30323 enable_gtktest=yes
30324 fi
30325
30326
30327 pkg_config_args=gtk+-2.0
30328 for module in . $GTK_MODULES
30329 do
30330 case "$module" in
30331 gthread)
30332 pkg_config_args="$pkg_config_args gthread-2.0"
30333 ;;
30334 esac
30335 done
30336
30337 no_gtk=""
30338
30339 # Extract the first word of "pkg-config", so it can be a program name with args.
30340 set dummy pkg-config; ac_word=$2
30341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30343 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30344 echo $ECHO_N "(cached) $ECHO_C" >&6
30345 else
30346 case $PKG_CONFIG in
30347 [\\/]* | ?:[\\/]*)
30348 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30349 ;;
30350 *)
30351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30352 for as_dir in $PATH
30353 do
30354 IFS=$as_save_IFS
30355 test -z "$as_dir" && as_dir=.
30356 for ac_exec_ext in '' $ac_executable_extensions; do
30357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30358 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30360 break 2
30361 fi
30362 done
30363 done
30364 IFS=$as_save_IFS
30365
30366 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30367 ;;
30368 esac
30369 fi
30370 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30371 if test -n "$PKG_CONFIG"; then
30372 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30373 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30374 else
30375 { echo "$as_me:$LINENO: result: no" >&5
30376 echo "${ECHO_T}no" >&6; }
30377 fi
30378
30379
30380
30381 if test x$PKG_CONFIG != xno ; then
30382 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30383 :
30384 else
30385 echo "*** pkg-config too old; version 0.7 or better required."
30386 no_gtk=yes
30387 PKG_CONFIG=no
30388 fi
30389 else
30390 no_gtk=yes
30391 fi
30392
30393 min_gtk_version=2.0.0
30394 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30395 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30396
30397 if test x$PKG_CONFIG != xno ; then
30398 ## don't try to run the test against uninstalled libtool libs
30399 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30400 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30401 enable_gtktest=no
30402 fi
30403
30404 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30405 :
30406 else
30407 no_gtk=yes
30408 fi
30409 fi
30410
30411 if test x"$no_gtk" = x ; then
30412 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30413 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30414 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30415 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30416 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30417 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30418 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30419 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30420 if test "x$enable_gtktest" = "xyes" ; then
30421 ac_save_CFLAGS="$CFLAGS"
30422 ac_save_LIBS="$LIBS"
30423 CFLAGS="$CFLAGS $GTK_CFLAGS"
30424 LIBS="$GTK_LIBS $LIBS"
30425 rm -f conf.gtktest
30426 if test "$cross_compiling" = yes; then
30427 echo $ac_n "cross compiling; assumed OK... $ac_c"
30428 else
30429 cat >conftest.$ac_ext <<_ACEOF
30430 /* confdefs.h. */
30431 _ACEOF
30432 cat confdefs.h >>conftest.$ac_ext
30433 cat >>conftest.$ac_ext <<_ACEOF
30434 /* end confdefs.h. */
30435
30436 #include <gtk/gtk.h>
30437 #include <stdio.h>
30438 #include <stdlib.h>
30439
30440 int
30441 main ()
30442 {
30443 int major, minor, micro;
30444 char *tmp_version;
30445
30446 system ("touch conf.gtktest");
30447
30448 /* HP/UX 9 (%@#!) writes to sscanf strings */
30449 tmp_version = g_strdup("$min_gtk_version");
30450 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30451 printf("%s, bad version string\n", "$min_gtk_version");
30452 exit(1);
30453 }
30454
30455 if ((gtk_major_version != $gtk_config_major_version) ||
30456 (gtk_minor_version != $gtk_config_minor_version) ||
30457 (gtk_micro_version != $gtk_config_micro_version))
30458 {
30459 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30460 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30461 gtk_major_version, gtk_minor_version, gtk_micro_version);
30462 printf ("*** was found! If pkg-config was correct, then it is best\n");
30463 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30464 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30465 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30466 printf("*** required on your system.\n");
30467 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30468 printf("*** to point to the correct configuration files\n");
30469 }
30470 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30471 (gtk_minor_version != GTK_MINOR_VERSION) ||
30472 (gtk_micro_version != GTK_MICRO_VERSION))
30473 {
30474 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30475 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30476 printf("*** library (version %d.%d.%d)\n",
30477 gtk_major_version, gtk_minor_version, gtk_micro_version);
30478 }
30479 else
30480 {
30481 if ((gtk_major_version > major) ||
30482 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30483 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30484 {
30485 return 0;
30486 }
30487 else
30488 {
30489 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30490 gtk_major_version, gtk_minor_version, gtk_micro_version);
30491 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30492 major, minor, micro);
30493 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30494 printf("***\n");
30495 printf("*** If you have already installed a sufficiently new version, this error\n");
30496 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30497 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30498 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30499 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30500 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30501 printf("*** so that the correct libraries are found at run-time))\n");
30502 }
30503 }
30504 return 1;
30505 }
30506
30507 _ACEOF
30508 rm -f conftest$ac_exeext
30509 if { (ac_try="$ac_link"
30510 case "(($ac_try" in
30511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30512 *) ac_try_echo=$ac_try;;
30513 esac
30514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30515 (eval "$ac_link") 2>&5
30516 ac_status=$?
30517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30518 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30519 { (case "(($ac_try" in
30520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30521 *) ac_try_echo=$ac_try;;
30522 esac
30523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30524 (eval "$ac_try") 2>&5
30525 ac_status=$?
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); }; }; then
30528 :
30529 else
30530 echo "$as_me: program exited with status $ac_status" >&5
30531 echo "$as_me: failed program was:" >&5
30532 sed 's/^/| /' conftest.$ac_ext >&5
30533
30534 ( exit $ac_status )
30535 no_gtk=yes
30536 fi
30537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30538 fi
30539
30540
30541 CFLAGS="$ac_save_CFLAGS"
30542 LIBS="$ac_save_LIBS"
30543 fi
30544 fi
30545 if test "x$no_gtk" = x ; then
30546 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30547 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30548 wx_cv_lib_gtk=2.0
30549 else
30550 { echo "$as_me:$LINENO: result: no" >&5
30551 echo "${ECHO_T}no" >&6; }
30552 if test "$PKG_CONFIG" = "no" ; then
30553 echo "*** A new enough version of pkg-config was not found."
30554 echo "*** See http://pkgconfig.sourceforge.net"
30555 else
30556 if test -f conf.gtktest ; then
30557 :
30558 else
30559 echo "*** Could not run GTK+ test program, checking why..."
30560 ac_save_CFLAGS="$CFLAGS"
30561 ac_save_LIBS="$LIBS"
30562 CFLAGS="$CFLAGS $GTK_CFLAGS"
30563 LIBS="$LIBS $GTK_LIBS"
30564 cat >conftest.$ac_ext <<_ACEOF
30565 /* confdefs.h. */
30566 _ACEOF
30567 cat confdefs.h >>conftest.$ac_ext
30568 cat >>conftest.$ac_ext <<_ACEOF
30569 /* end confdefs.h. */
30570
30571 #include <gtk/gtk.h>
30572 #include <stdio.h>
30573
30574 int
30575 main ()
30576 {
30577 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30578 ;
30579 return 0;
30580 }
30581 _ACEOF
30582 rm -f conftest.$ac_objext conftest$ac_exeext
30583 if { (ac_try="$ac_link"
30584 case "(($ac_try" in
30585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30586 *) ac_try_echo=$ac_try;;
30587 esac
30588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30589 (eval "$ac_link") 2>conftest.er1
30590 ac_status=$?
30591 grep -v '^ *+' conftest.er1 >conftest.err
30592 rm -f conftest.er1
30593 cat conftest.err >&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } && {
30596 test -z "$ac_c_werror_flag" ||
30597 test ! -s conftest.err
30598 } && test -s conftest$ac_exeext &&
30599 $as_test_x conftest$ac_exeext; then
30600 echo "*** The test program compiled, but did not run. This usually means"
30601 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30602 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30603 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30604 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30605 echo "*** is required on your system"
30606 echo "***"
30607 echo "*** If you have an old version installed, it is best to remove it, although"
30608 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30609 else
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30612
30613 echo "*** The test program failed to compile or link. See the file config.log for the"
30614 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30615 fi
30616
30617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30618 conftest$ac_exeext conftest.$ac_ext
30619 CFLAGS="$ac_save_CFLAGS"
30620 LIBS="$ac_save_LIBS"
30621 fi
30622 fi
30623 GTK_CFLAGS=""
30624 GTK_LIBS=""
30625 :
30626 fi
30627
30628
30629 rm -f conf.gtktest
30630
30631
30632 case "${host}" in
30633 *-*-solaris2* )
30634 if test "$wxUSE_SHARED" != "yes"; then
30635 GTK_LIBS="$GTK_LIBS -lX11"
30636 fi
30637 esac
30638 fi
30639
30640 if test -z "$wx_cv_lib_gtk"; then
30641 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30642
30643 # Check whether --with-gtk-prefix was given.
30644 if test "${with_gtk_prefix+set}" = set; then
30645 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30646 else
30647 gtk_config_prefix=""
30648 fi
30649
30650
30651 # Check whether --with-gtk-exec-prefix was given.
30652 if test "${with_gtk_exec_prefix+set}" = set; then
30653 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30654 else
30655 gtk_config_exec_prefix=""
30656 fi
30657
30658 # Check whether --enable-gtktest was given.
30659 if test "${enable_gtktest+set}" = set; then
30660 enableval=$enable_gtktest;
30661 else
30662 enable_gtktest=yes
30663 fi
30664
30665
30666 for module in . $GTK_MODULES
30667 do
30668 case "$module" in
30669 gthread)
30670 gtk_config_args="$gtk_config_args gthread"
30671 ;;
30672 esac
30673 done
30674
30675 if test x$gtk_config_exec_prefix != x ; then
30676 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30677 if test x${GTK_CONFIG+set} != xset ; then
30678 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30679 fi
30680 fi
30681 if test x$gtk_config_prefix != x ; then
30682 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30683 if test x${GTK_CONFIG+set} != xset ; then
30684 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30685 fi
30686 fi
30687
30688 # Extract the first word of "gtk-config", so it can be a program name with args.
30689 set dummy gtk-config; ac_word=$2
30690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30692 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30693 echo $ECHO_N "(cached) $ECHO_C" >&6
30694 else
30695 case $GTK_CONFIG in
30696 [\\/]* | ?:[\\/]*)
30697 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30698 ;;
30699 *)
30700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30701 for as_dir in $PATH
30702 do
30703 IFS=$as_save_IFS
30704 test -z "$as_dir" && as_dir=.
30705 for ac_exec_ext in '' $ac_executable_extensions; do
30706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30707 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30709 break 2
30710 fi
30711 done
30712 done
30713 IFS=$as_save_IFS
30714
30715 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30716 ;;
30717 esac
30718 fi
30719 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30720 if test -n "$GTK_CONFIG"; then
30721 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30722 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30723 else
30724 { echo "$as_me:$LINENO: result: no" >&5
30725 echo "${ECHO_T}no" >&6; }
30726 fi
30727
30728
30729 min_gtk_version=1.2.7
30730 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30731 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30732 no_gtk=""
30733 if test "$GTK_CONFIG" = "no" ; then
30734 no_gtk=yes
30735 else
30736 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30737 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30738 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30739 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30740 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30741 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30742 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30743 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30744 if test "x$enable_gtktest" = "xyes" ; then
30745 ac_save_CFLAGS="$CFLAGS"
30746 ac_save_LIBS="$LIBS"
30747 CFLAGS="$CFLAGS $GTK_CFLAGS"
30748 LIBS="$GTK_LIBS $LIBS"
30749 rm -f conf.gtktest
30750 if test "$cross_compiling" = yes; then
30751 echo $ac_n "cross compiling; assumed OK... $ac_c"
30752 else
30753 cat >conftest.$ac_ext <<_ACEOF
30754 /* confdefs.h. */
30755 _ACEOF
30756 cat confdefs.h >>conftest.$ac_ext
30757 cat >>conftest.$ac_ext <<_ACEOF
30758 /* end confdefs.h. */
30759
30760 #include <gtk/gtk.h>
30761 #include <stdio.h>
30762 #include <stdlib.h>
30763
30764 int
30765 main ()
30766 {
30767 int major, minor, micro;
30768 char *tmp_version;
30769
30770 system ("touch conf.gtktest");
30771
30772 /* HP/UX 9 (%@#!) writes to sscanf strings */
30773 tmp_version = g_strdup("$min_gtk_version");
30774 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30775 printf("%s, bad version string\n", "$min_gtk_version");
30776 exit(1);
30777 }
30778
30779 if ((gtk_major_version != $gtk_config_major_version) ||
30780 (gtk_minor_version != $gtk_config_minor_version) ||
30781 (gtk_micro_version != $gtk_config_micro_version))
30782 {
30783 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30784 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30785 gtk_major_version, gtk_minor_version, gtk_micro_version);
30786 printf ("*** was found! If gtk-config was correct, then it is best\n");
30787 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30788 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30789 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30790 printf("*** required on your system.\n");
30791 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30792 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30793 printf("*** before re-running configure\n");
30794 }
30795 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30796 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30797 (gtk_minor_version != GTK_MINOR_VERSION) ||
30798 (gtk_micro_version != GTK_MICRO_VERSION))
30799 {
30800 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30801 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30802 printf("*** library (version %d.%d.%d)\n",
30803 gtk_major_version, gtk_minor_version, gtk_micro_version);
30804 }
30805 #endif /* defined (GTK_MAJOR_VERSION) ... */
30806 else
30807 {
30808 if ((gtk_major_version > major) ||
30809 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30810 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30811 {
30812 return 0;
30813 }
30814 else
30815 {
30816 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30817 gtk_major_version, gtk_minor_version, gtk_micro_version);
30818 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30819 major, minor, micro);
30820 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30821 printf("***\n");
30822 printf("*** If you have already installed a sufficiently new version, this error\n");
30823 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30824 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30825 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30826 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30827 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30828 printf("*** so that the correct libraries are found at run-time))\n");
30829 }
30830 }
30831 return 1;
30832 }
30833
30834 _ACEOF
30835 rm -f conftest$ac_exeext
30836 if { (ac_try="$ac_link"
30837 case "(($ac_try" in
30838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30839 *) ac_try_echo=$ac_try;;
30840 esac
30841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30842 (eval "$ac_link") 2>&5
30843 ac_status=$?
30844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30845 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30846 { (case "(($ac_try" in
30847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30848 *) ac_try_echo=$ac_try;;
30849 esac
30850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30851 (eval "$ac_try") 2>&5
30852 ac_status=$?
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); }; }; then
30855 :
30856 else
30857 echo "$as_me: program exited with status $ac_status" >&5
30858 echo "$as_me: failed program was:" >&5
30859 sed 's/^/| /' conftest.$ac_ext >&5
30860
30861 ( exit $ac_status )
30862 no_gtk=yes
30863 fi
30864 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30865 fi
30866
30867
30868 CFLAGS="$ac_save_CFLAGS"
30869 LIBS="$ac_save_LIBS"
30870 fi
30871 fi
30872 if test "x$no_gtk" = x ; then
30873 { echo "$as_me:$LINENO: result: yes" >&5
30874 echo "${ECHO_T}yes" >&6; }
30875 wx_cv_lib_gtk=1.2.7
30876 else
30877 { echo "$as_me:$LINENO: result: no" >&5
30878 echo "${ECHO_T}no" >&6; }
30879 if test "$GTK_CONFIG" = "no" ; then
30880 echo "*** The gtk-config script installed by GTK could not be found"
30881 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30882 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30883 echo "*** full path to gtk-config."
30884 else
30885 if test -f conf.gtktest ; then
30886 :
30887 else
30888 echo "*** Could not run GTK test program, checking why..."
30889 CFLAGS="$CFLAGS $GTK_CFLAGS"
30890 LIBS="$LIBS $GTK_LIBS"
30891 cat >conftest.$ac_ext <<_ACEOF
30892 /* confdefs.h. */
30893 _ACEOF
30894 cat confdefs.h >>conftest.$ac_ext
30895 cat >>conftest.$ac_ext <<_ACEOF
30896 /* end confdefs.h. */
30897
30898 #include <gtk/gtk.h>
30899 #include <stdio.h>
30900
30901 int
30902 main ()
30903 {
30904 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30905 ;
30906 return 0;
30907 }
30908 _ACEOF
30909 rm -f conftest.$ac_objext conftest$ac_exeext
30910 if { (ac_try="$ac_link"
30911 case "(($ac_try" in
30912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30913 *) ac_try_echo=$ac_try;;
30914 esac
30915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30916 (eval "$ac_link") 2>conftest.er1
30917 ac_status=$?
30918 grep -v '^ *+' conftest.er1 >conftest.err
30919 rm -f conftest.er1
30920 cat conftest.err >&5
30921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30922 (exit $ac_status); } && {
30923 test -z "$ac_c_werror_flag" ||
30924 test ! -s conftest.err
30925 } && test -s conftest$ac_exeext &&
30926 $as_test_x conftest$ac_exeext; then
30927 echo "*** The test program compiled, but did not run. This usually means"
30928 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30929 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30930 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30931 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30932 echo "*** is required on your system"
30933 echo "***"
30934 echo "*** If you have an old version installed, it is best to remove it, although"
30935 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30936 echo "***"
30937 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30938 echo "*** came with the system with the command"
30939 echo "***"
30940 echo "*** rpm --erase --nodeps gtk gtk-devel"
30941 else
30942 echo "$as_me: failed program was:" >&5
30943 sed 's/^/| /' conftest.$ac_ext >&5
30944
30945 echo "*** The test program failed to compile or link. See the file config.log for the"
30946 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30947 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30948 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30949 fi
30950
30951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30952 conftest$ac_exeext conftest.$ac_ext
30953 CFLAGS="$ac_save_CFLAGS"
30954 LIBS="$ac_save_LIBS"
30955 fi
30956 fi
30957 GTK_CFLAGS=""
30958 GTK_LIBS=""
30959 :
30960 fi
30961
30962
30963 rm -f conf.gtktest
30964
30965
30966 if test -z "$wx_cv_lib_gtk"; then
30967
30968 # Check whether --with-gtk-prefix was given.
30969 if test "${with_gtk_prefix+set}" = set; then
30970 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30971 else
30972 gtk_config_prefix=""
30973 fi
30974
30975
30976 # Check whether --with-gtk-exec-prefix was given.
30977 if test "${with_gtk_exec_prefix+set}" = set; then
30978 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30979 else
30980 gtk_config_exec_prefix=""
30981 fi
30982
30983 # Check whether --enable-gtktest was given.
30984 if test "${enable_gtktest+set}" = set; then
30985 enableval=$enable_gtktest;
30986 else
30987 enable_gtktest=yes
30988 fi
30989
30990
30991 for module in . $GTK_MODULES
30992 do
30993 case "$module" in
30994 gthread)
30995 gtk_config_args="$gtk_config_args gthread"
30996 ;;
30997 esac
30998 done
30999
31000 if test x$gtk_config_exec_prefix != x ; then
31001 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
31002 if test x${GTK_CONFIG+set} != xset ; then
31003 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
31004 fi
31005 fi
31006 if test x$gtk_config_prefix != x ; then
31007 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
31008 if test x${GTK_CONFIG+set} != xset ; then
31009 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
31010 fi
31011 fi
31012
31013 # Extract the first word of "gtk-config", so it can be a program name with args.
31014 set dummy gtk-config; ac_word=$2
31015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31017 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
31018 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 else
31020 case $GTK_CONFIG in
31021 [\\/]* | ?:[\\/]*)
31022 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
31023 ;;
31024 *)
31025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31026 for as_dir in $PATH
31027 do
31028 IFS=$as_save_IFS
31029 test -z "$as_dir" && as_dir=.
31030 for ac_exec_ext in '' $ac_executable_extensions; do
31031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31032 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31034 break 2
31035 fi
31036 done
31037 done
31038 IFS=$as_save_IFS
31039
31040 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
31041 ;;
31042 esac
31043 fi
31044 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
31045 if test -n "$GTK_CONFIG"; then
31046 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
31047 echo "${ECHO_T}$GTK_CONFIG" >&6; }
31048 else
31049 { echo "$as_me:$LINENO: result: no" >&5
31050 echo "${ECHO_T}no" >&6; }
31051 fi
31052
31053
31054 min_gtk_version=1.2.3
31055 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
31056 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
31057 no_gtk=""
31058 if test "$GTK_CONFIG" = "no" ; then
31059 no_gtk=yes
31060 else
31061 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
31062 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
31063 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
31064 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
31065 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
31066 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
31067 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
31068 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
31069 if test "x$enable_gtktest" = "xyes" ; then
31070 ac_save_CFLAGS="$CFLAGS"
31071 ac_save_LIBS="$LIBS"
31072 CFLAGS="$CFLAGS $GTK_CFLAGS"
31073 LIBS="$GTK_LIBS $LIBS"
31074 rm -f conf.gtktest
31075 if test "$cross_compiling" = yes; then
31076 echo $ac_n "cross compiling; assumed OK... $ac_c"
31077 else
31078 cat >conftest.$ac_ext <<_ACEOF
31079 /* confdefs.h. */
31080 _ACEOF
31081 cat confdefs.h >>conftest.$ac_ext
31082 cat >>conftest.$ac_ext <<_ACEOF
31083 /* end confdefs.h. */
31084
31085 #include <gtk/gtk.h>
31086 #include <stdio.h>
31087 #include <stdlib.h>
31088
31089 int
31090 main ()
31091 {
31092 int major, minor, micro;
31093 char *tmp_version;
31094
31095 system ("touch conf.gtktest");
31096
31097 /* HP/UX 9 (%@#!) writes to sscanf strings */
31098 tmp_version = g_strdup("$min_gtk_version");
31099 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
31100 printf("%s, bad version string\n", "$min_gtk_version");
31101 exit(1);
31102 }
31103
31104 if ((gtk_major_version != $gtk_config_major_version) ||
31105 (gtk_minor_version != $gtk_config_minor_version) ||
31106 (gtk_micro_version != $gtk_config_micro_version))
31107 {
31108 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
31109 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
31110 gtk_major_version, gtk_minor_version, gtk_micro_version);
31111 printf ("*** was found! If gtk-config was correct, then it is best\n");
31112 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
31113 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
31114 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
31115 printf("*** required on your system.\n");
31116 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
31117 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
31118 printf("*** before re-running configure\n");
31119 }
31120 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
31121 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
31122 (gtk_minor_version != GTK_MINOR_VERSION) ||
31123 (gtk_micro_version != GTK_MICRO_VERSION))
31124 {
31125 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
31126 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
31127 printf("*** library (version %d.%d.%d)\n",
31128 gtk_major_version, gtk_minor_version, gtk_micro_version);
31129 }
31130 #endif /* defined (GTK_MAJOR_VERSION) ... */
31131 else
31132 {
31133 if ((gtk_major_version > major) ||
31134 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
31135 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
31136 {
31137 return 0;
31138 }
31139 else
31140 {
31141 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
31142 gtk_major_version, gtk_minor_version, gtk_micro_version);
31143 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
31144 major, minor, micro);
31145 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
31146 printf("***\n");
31147 printf("*** If you have already installed a sufficiently new version, this error\n");
31148 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
31149 printf("*** being found. The easiest way to fix this is to remove the old version\n");
31150 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
31151 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
31152 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
31153 printf("*** so that the correct libraries are found at run-time))\n");
31154 }
31155 }
31156 return 1;
31157 }
31158
31159 _ACEOF
31160 rm -f conftest$ac_exeext
31161 if { (ac_try="$ac_link"
31162 case "(($ac_try" in
31163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31164 *) ac_try_echo=$ac_try;;
31165 esac
31166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31167 (eval "$ac_link") 2>&5
31168 ac_status=$?
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31171 { (case "(($ac_try" in
31172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31173 *) ac_try_echo=$ac_try;;
31174 esac
31175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31176 (eval "$ac_try") 2>&5
31177 ac_status=$?
31178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31179 (exit $ac_status); }; }; then
31180 :
31181 else
31182 echo "$as_me: program exited with status $ac_status" >&5
31183 echo "$as_me: failed program was:" >&5
31184 sed 's/^/| /' conftest.$ac_ext >&5
31185
31186 ( exit $ac_status )
31187 no_gtk=yes
31188 fi
31189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31190 fi
31191
31192
31193 CFLAGS="$ac_save_CFLAGS"
31194 LIBS="$ac_save_LIBS"
31195 fi
31196 fi
31197 if test "x$no_gtk" = x ; then
31198 { echo "$as_me:$LINENO: result: yes" >&5
31199 echo "${ECHO_T}yes" >&6; }
31200 wx_cv_lib_gtk=1.2.3
31201 else
31202 { echo "$as_me:$LINENO: result: no" >&5
31203 echo "${ECHO_T}no" >&6; }
31204 if test "$GTK_CONFIG" = "no" ; then
31205 echo "*** The gtk-config script installed by GTK could not be found"
31206 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
31207 echo "*** your path, or set the GTK_CONFIG environment variable to the"
31208 echo "*** full path to gtk-config."
31209 else
31210 if test -f conf.gtktest ; then
31211 :
31212 else
31213 echo "*** Could not run GTK test program, checking why..."
31214 CFLAGS="$CFLAGS $GTK_CFLAGS"
31215 LIBS="$LIBS $GTK_LIBS"
31216 cat >conftest.$ac_ext <<_ACEOF
31217 /* confdefs.h. */
31218 _ACEOF
31219 cat confdefs.h >>conftest.$ac_ext
31220 cat >>conftest.$ac_ext <<_ACEOF
31221 /* end confdefs.h. */
31222
31223 #include <gtk/gtk.h>
31224 #include <stdio.h>
31225
31226 int
31227 main ()
31228 {
31229 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
31230 ;
31231 return 0;
31232 }
31233 _ACEOF
31234 rm -f conftest.$ac_objext conftest$ac_exeext
31235 if { (ac_try="$ac_link"
31236 case "(($ac_try" in
31237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31238 *) ac_try_echo=$ac_try;;
31239 esac
31240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31241 (eval "$ac_link") 2>conftest.er1
31242 ac_status=$?
31243 grep -v '^ *+' conftest.er1 >conftest.err
31244 rm -f conftest.er1
31245 cat conftest.err >&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); } && {
31248 test -z "$ac_c_werror_flag" ||
31249 test ! -s conftest.err
31250 } && test -s conftest$ac_exeext &&
31251 $as_test_x conftest$ac_exeext; then
31252 echo "*** The test program compiled, but did not run. This usually means"
31253 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31254 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31255 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31256 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31257 echo "*** is required on your system"
31258 echo "***"
31259 echo "*** If you have an old version installed, it is best to remove it, although"
31260 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31261 echo "***"
31262 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31263 echo "*** came with the system with the command"
31264 echo "***"
31265 echo "*** rpm --erase --nodeps gtk gtk-devel"
31266 else
31267 echo "$as_me: failed program was:" >&5
31268 sed 's/^/| /' conftest.$ac_ext >&5
31269
31270 echo "*** The test program failed to compile or link. See the file config.log for the"
31271 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31272 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31273 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31274 fi
31275
31276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31277 conftest$ac_exeext conftest.$ac_ext
31278 CFLAGS="$ac_save_CFLAGS"
31279 LIBS="$ac_save_LIBS"
31280 fi
31281 fi
31282 GTK_CFLAGS=""
31283 GTK_LIBS=""
31284 :
31285 fi
31286
31287
31288 rm -f conf.gtktest
31289
31290 fi
31291 fi
31292 fi
31293
31294 if test -z "$wx_cv_lib_gtk"; then
31295 wx_cv_lib_gtk=none
31296 else
31297 wx_cv_cflags_gtk=$GTK_CFLAGS
31298 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
31299 fi
31300
31301
31302 fi
31303
31304
31305 if test "$gtk_version_cached" = 1; then
31306 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31307 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31308 fi
31309
31310 case "$wx_cv_lib_gtk" in
31311 2.0) WXGTK20=1
31312 TOOLKIT_VERSION=2
31313 ;;
31314 1.2.7) WXGTK127=1
31315 WXGTK12=1
31316 ;;
31317 1.2.3) WXGTK12=1
31318 ;;
31319 *) { { echo "$as_me:$LINENO: error:
31320 The development files for GTK+ were not found. For GTK+ 2, please
31321 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31322 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31323 and that the version is 1.2.3 or above. Also check that the
31324 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31325 --libs' are in the LD_LIBRARY_PATH or equivalent.
31326 " >&5
31327 echo "$as_me: error:
31328 The development files for GTK+ were not found. For GTK+ 2, please
31329 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31330 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31331 and that the version is 1.2.3 or above. Also check that the
31332 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31333 --libs' are in the LD_LIBRARY_PATH or equivalent.
31334 " >&2;}
31335 { (exit 1); exit 1; }; }
31336 ;;
31337 esac
31338
31339 if test "$WXGTK20" = 1; then
31340 save_CFLAGS="$CFLAGS"
31341 save_LIBS="$LIBS"
31342 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31343 LIBS="$LIBS $wx_cv_libs_gtk"
31344
31345 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
31346 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
31347 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
31348 echo $ECHO_N "(cached) $ECHO_C" >&6
31349 else
31350 cat >conftest.$ac_ext <<_ACEOF
31351 /* confdefs.h. */
31352 _ACEOF
31353 cat confdefs.h >>conftest.$ac_ext
31354 cat >>conftest.$ac_ext <<_ACEOF
31355 /* end confdefs.h. */
31356 #include <gtk/gtk.h>
31357
31358 int
31359 main ()
31360 {
31361 #ifndef gtk_icon_size_lookup
31362 (void) gtk_icon_size_lookup;
31363 #endif
31364
31365 ;
31366 return 0;
31367 }
31368 _ACEOF
31369 rm -f conftest.$ac_objext
31370 if { (ac_try="$ac_compile"
31371 case "(($ac_try" in
31372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31373 *) ac_try_echo=$ac_try;;
31374 esac
31375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31376 (eval "$ac_compile") 2>conftest.er1
31377 ac_status=$?
31378 grep -v '^ *+' conftest.er1 >conftest.err
31379 rm -f conftest.er1
31380 cat conftest.err >&5
31381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31382 (exit $ac_status); } && {
31383 test -z "$ac_c_werror_flag" ||
31384 test ! -s conftest.err
31385 } && test -s conftest.$ac_objext; then
31386 ac_cv_have_decl_gtk_icon_size_lookup=yes
31387 else
31388 echo "$as_me: failed program was:" >&5
31389 sed 's/^/| /' conftest.$ac_ext >&5
31390
31391 ac_cv_have_decl_gtk_icon_size_lookup=no
31392 fi
31393
31394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31395 fi
31396 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
31397 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
31398 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
31399
31400 cat >>confdefs.h <<_ACEOF
31401 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
31402 _ACEOF
31403
31404
31405 else
31406 cat >>confdefs.h <<_ACEOF
31407 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
31408 _ACEOF
31409
31410 cat >>confdefs.h <<\_ACEOF
31411 #define NEED_GTK_ICON_SIZE_LOOKUP 1
31412 _ACEOF
31413
31414 fi
31415
31416
31417
31418
31419 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31420 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31421 cat >conftest.$ac_ext <<_ACEOF
31422 /* confdefs.h. */
31423 _ACEOF
31424 cat confdefs.h >>conftest.$ac_ext
31425 cat >>conftest.$ac_ext <<_ACEOF
31426 /* end confdefs.h. */
31427
31428 #include <gtk/gtk.h>
31429
31430 int
31431 main ()
31432 {
31433
31434 #if !GTK_CHECK_VERSION(2,10,0)
31435 Not GTK+ 2.10
31436 #endif
31437
31438 ;
31439 return 0;
31440 }
31441 _ACEOF
31442 rm -f conftest.$ac_objext
31443 if { (ac_try="$ac_compile"
31444 case "(($ac_try" in
31445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31446 *) ac_try_echo=$ac_try;;
31447 esac
31448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31449 (eval "$ac_compile") 2>conftest.er1
31450 ac_status=$?
31451 grep -v '^ *+' conftest.er1 >conftest.err
31452 rm -f conftest.er1
31453 cat conftest.err >&5
31454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31455 (exit $ac_status); } && {
31456 test -z "$ac_c_werror_flag" ||
31457 test ! -s conftest.err
31458 } && test -s conftest.$ac_objext; then
31459
31460 cat >>confdefs.h <<\_ACEOF
31461 #define __WXGTK210__ 1
31462 _ACEOF
31463
31464 cat >>confdefs.h <<\_ACEOF
31465 #define __WXGTK26__ 1
31466 _ACEOF
31467
31468 cat >>confdefs.h <<\_ACEOF
31469 #define __WXGTK24__ 1
31470 _ACEOF
31471
31472 { echo "$as_me:$LINENO: result: yes" >&5
31473 echo "${ECHO_T}yes" >&6; }
31474 ac_wxgtk210=1
31475
31476 else
31477 echo "$as_me: failed program was:" >&5
31478 sed 's/^/| /' conftest.$ac_ext >&5
31479
31480
31481 { echo "$as_me:$LINENO: result: no" >&5
31482 echo "${ECHO_T}no" >&6; }
31483 ac_wxgtk210=0
31484
31485 fi
31486
31487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31488
31489 if test "$ac_wxgtk210" = 0; then
31490 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31491 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31492 cat >conftest.$ac_ext <<_ACEOF
31493 /* confdefs.h. */
31494 _ACEOF
31495 cat confdefs.h >>conftest.$ac_ext
31496 cat >>conftest.$ac_ext <<_ACEOF
31497 /* end confdefs.h. */
31498
31499 #include <gtk/gtk.h>
31500
31501 int
31502 main ()
31503 {
31504
31505 #if !GTK_CHECK_VERSION(2,6,0)
31506 Not GTK+ 2.6
31507 #endif
31508
31509 ;
31510 return 0;
31511 }
31512 _ACEOF
31513 rm -f conftest.$ac_objext
31514 if { (ac_try="$ac_compile"
31515 case "(($ac_try" in
31516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31517 *) ac_try_echo=$ac_try;;
31518 esac
31519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31520 (eval "$ac_compile") 2>conftest.er1
31521 ac_status=$?
31522 grep -v '^ *+' conftest.er1 >conftest.err
31523 rm -f conftest.er1
31524 cat conftest.err >&5
31525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526 (exit $ac_status); } && {
31527 test -z "$ac_c_werror_flag" ||
31528 test ! -s conftest.err
31529 } && test -s conftest.$ac_objext; then
31530
31531 cat >>confdefs.h <<\_ACEOF
31532 #define __WXGTK26__ 1
31533 _ACEOF
31534
31535 cat >>confdefs.h <<\_ACEOF
31536 #define __WXGTK24__ 1
31537 _ACEOF
31538
31539 { echo "$as_me:$LINENO: result: yes" >&5
31540 echo "${ECHO_T}yes" >&6; }
31541 ac_wxgtk26=1
31542
31543 else
31544 echo "$as_me: failed program was:" >&5
31545 sed 's/^/| /' conftest.$ac_ext >&5
31546
31547
31548 { echo "$as_me:$LINENO: result: no" >&5
31549 echo "${ECHO_T}no" >&6; }
31550 ac_wxgtk26=0
31551
31552 fi
31553
31554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31555 fi
31556
31557 if test "$ac_wxgtk26" = 0; then
31558 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
31559 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
31560 cat >conftest.$ac_ext <<_ACEOF
31561 /* confdefs.h. */
31562 _ACEOF
31563 cat confdefs.h >>conftest.$ac_ext
31564 cat >>conftest.$ac_ext <<_ACEOF
31565 /* end confdefs.h. */
31566
31567 #include <gtk/gtk.h>
31568
31569 int
31570 main ()
31571 {
31572
31573 #if !GTK_CHECK_VERSION(2,4,0)
31574 Not GTK+ 2.4
31575 #endif
31576
31577 ;
31578 return 0;
31579 }
31580 _ACEOF
31581 rm -f conftest.$ac_objext
31582 if { (ac_try="$ac_compile"
31583 case "(($ac_try" in
31584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31585 *) ac_try_echo=$ac_try;;
31586 esac
31587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31588 (eval "$ac_compile") 2>conftest.er1
31589 ac_status=$?
31590 grep -v '^ *+' conftest.er1 >conftest.err
31591 rm -f conftest.er1
31592 cat conftest.err >&5
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); } && {
31595 test -z "$ac_c_werror_flag" ||
31596 test ! -s conftest.err
31597 } && test -s conftest.$ac_objext; then
31598
31599 cat >>confdefs.h <<\_ACEOF
31600 #define __WXGTK24__ 1
31601 _ACEOF
31602
31603 { echo "$as_me:$LINENO: result: yes" >&5
31604 echo "${ECHO_T}yes" >&6; }
31605
31606 else
31607 echo "$as_me: failed program was:" >&5
31608 sed 's/^/| /' conftest.$ac_ext >&5
31609
31610
31611 { echo "$as_me:$LINENO: result: no" >&5
31612 echo "${ECHO_T}no" >&6; }
31613
31614 fi
31615
31616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31617 fi
31618
31619 CFLAGS="$save_CFLAGS"
31620 LIBS="$save_LIBS"
31621 else
31622 if test "$wxUSE_UNICODE" = "yes"; then
31623 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31624 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31625 wxUSE_UNICODE=no
31626 fi
31627
31628 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31629 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31630 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31631 echo $ECHO_N "(cached) $ECHO_C" >&6
31632 else
31633 ac_check_lib_save_LIBS=$LIBS
31634 LIBS="-lgdk $LIBS"
31635 cat >conftest.$ac_ext <<_ACEOF
31636 /* confdefs.h. */
31637 _ACEOF
31638 cat confdefs.h >>conftest.$ac_ext
31639 cat >>conftest.$ac_ext <<_ACEOF
31640 /* end confdefs.h. */
31641
31642 /* Override any GCC internal prototype to avoid an error.
31643 Use char because int might match the return type of a GCC
31644 builtin and then its argument prototype would still apply. */
31645 #ifdef __cplusplus
31646 extern "C"
31647 #endif
31648 char gdk_im_open ();
31649 int
31650 main ()
31651 {
31652 return gdk_im_open ();
31653 ;
31654 return 0;
31655 }
31656 _ACEOF
31657 rm -f conftest.$ac_objext conftest$ac_exeext
31658 if { (ac_try="$ac_link"
31659 case "(($ac_try" in
31660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31661 *) ac_try_echo=$ac_try;;
31662 esac
31663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31664 (eval "$ac_link") 2>conftest.er1
31665 ac_status=$?
31666 grep -v '^ *+' conftest.er1 >conftest.err
31667 rm -f conftest.er1
31668 cat conftest.err >&5
31669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31670 (exit $ac_status); } && {
31671 test -z "$ac_c_werror_flag" ||
31672 test ! -s conftest.err
31673 } && test -s conftest$ac_exeext &&
31674 $as_test_x conftest$ac_exeext; then
31675 ac_cv_lib_gdk_gdk_im_open=yes
31676 else
31677 echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.$ac_ext >&5
31679
31680 ac_cv_lib_gdk_gdk_im_open=no
31681 fi
31682
31683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31684 conftest$ac_exeext conftest.$ac_ext
31685 LIBS=$ac_check_lib_save_LIBS
31686 fi
31687 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31688 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31689 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31690 cat >>confdefs.h <<\_ACEOF
31691 #define HAVE_XIM 1
31692 _ACEOF
31693
31694 fi
31695
31696
31697 if test "$USE_DARWIN" != 1; then
31698
31699 for ac_func in poll
31700 do
31701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31702 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31704 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31705 echo $ECHO_N "(cached) $ECHO_C" >&6
31706 else
31707 cat >conftest.$ac_ext <<_ACEOF
31708 /* confdefs.h. */
31709 _ACEOF
31710 cat confdefs.h >>conftest.$ac_ext
31711 cat >>conftest.$ac_ext <<_ACEOF
31712 /* end confdefs.h. */
31713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31715 #define $ac_func innocuous_$ac_func
31716
31717 /* System header to define __stub macros and hopefully few prototypes,
31718 which can conflict with char $ac_func (); below.
31719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31720 <limits.h> exists even on freestanding compilers. */
31721
31722 #ifdef __STDC__
31723 # include <limits.h>
31724 #else
31725 # include <assert.h>
31726 #endif
31727
31728 #undef $ac_func
31729
31730 /* Override any GCC internal prototype to avoid an error.
31731 Use char because int might match the return type of a GCC
31732 builtin and then its argument prototype would still apply. */
31733 #ifdef __cplusplus
31734 extern "C"
31735 #endif
31736 char $ac_func ();
31737 /* The GNU C library defines this for functions which it implements
31738 to always fail with ENOSYS. Some functions are actually named
31739 something starting with __ and the normal name is an alias. */
31740 #if defined __stub_$ac_func || defined __stub___$ac_func
31741 choke me
31742 #endif
31743
31744 int
31745 main ()
31746 {
31747 return $ac_func ();
31748 ;
31749 return 0;
31750 }
31751 _ACEOF
31752 rm -f conftest.$ac_objext conftest$ac_exeext
31753 if { (ac_try="$ac_link"
31754 case "(($ac_try" in
31755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31756 *) ac_try_echo=$ac_try;;
31757 esac
31758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31759 (eval "$ac_link") 2>conftest.er1
31760 ac_status=$?
31761 grep -v '^ *+' conftest.er1 >conftest.err
31762 rm -f conftest.er1
31763 cat conftest.err >&5
31764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31765 (exit $ac_status); } && {
31766 test -z "$ac_c_werror_flag" ||
31767 test ! -s conftest.err
31768 } && test -s conftest$ac_exeext &&
31769 $as_test_x conftest$ac_exeext; then
31770 eval "$as_ac_var=yes"
31771 else
31772 echo "$as_me: failed program was:" >&5
31773 sed 's/^/| /' conftest.$ac_ext >&5
31774
31775 eval "$as_ac_var=no"
31776 fi
31777
31778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31779 conftest$ac_exeext conftest.$ac_ext
31780 fi
31781 ac_res=`eval echo '${'$as_ac_var'}'`
31782 { echo "$as_me:$LINENO: result: $ac_res" >&5
31783 echo "${ECHO_T}$ac_res" >&6; }
31784 if test `eval echo '${'$as_ac_var'}'` = yes; then
31785 cat >>confdefs.h <<_ACEOF
31786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31787 _ACEOF
31788
31789 fi
31790 done
31791
31792 fi
31793 fi
31794
31795 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31796 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31797
31798 AFMINSTALL=afminstall
31799 TOOLKIT=GTK
31800 GUIDIST=GTK_DIST
31801
31802 if test "$wxUSE_GPE" = "yes"; then
31803 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31804 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31805
31806 ac_find_libraries=
31807 for ac_dir in $SEARCH_LIB;
31808 do
31809 for ac_extension in a so sl dylib dll.a; do
31810 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31811 ac_find_libraries=$ac_dir
31812 break 2
31813 fi
31814 done
31815 done
31816
31817 if test "$ac_find_libraries" != "" ; then
31818
31819 if test "$ac_find_libraries" = "default location"; then
31820 ac_path_to_link=""
31821 else
31822 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31823 result=$?
31824 if test $result = 0; then
31825 ac_path_to_link=""
31826 else
31827 ac_path_to_link=" -L$ac_find_libraries"
31828 fi
31829 fi
31830
31831 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31832 WXGPE=1
31833 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31834 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31835 else
31836 { echo "$as_me:$LINENO: result: not found" >&5
31837 echo "${ECHO_T}not found" >&6; }
31838 fi
31839
31840 fi
31841 fi
31842
31843 if test "$wxUSE_MGL" = 1; then
31844 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31845 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31846 if test "x$MGL_ROOT" = x ; then
31847 { echo "$as_me:$LINENO: result: not found" >&5
31848 echo "${ECHO_T}not found" >&6; }
31849 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31850 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31851 { (exit 1); exit 1; }; }
31852 else
31853 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31854 echo "${ECHO_T}$MGL_ROOT" >&6; }
31855 fi
31856
31857 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31858 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31859 case "${host}" in
31860 *-*-linux* )
31861 if test "x$wxUSE_SHARED" = xyes ; then
31862 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31863 else
31864 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31865 fi
31866 ;;
31867 *-pc-msdosdjgpp )
31868 mgl_os_candidates="dos32/dj2"
31869 ;;
31870 *)
31871 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31872 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31873 { (exit 1); exit 1; }; }
31874 esac
31875
31876 mgl_lib_type=""
31877 mgl_os=""
31878
31879 for mgl_os_i in $mgl_os_candidates ; do
31880 if test "x$mgl_os" = x ; then
31881 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31882 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31883 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31884 mgl_lib_type=debug
31885 mgl_os=$mgl_os_i
31886 fi
31887 fi
31888 if test "x$mgl_lib_type" = x ; then
31889 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31890 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31891 mgl_lib_type=release
31892 mgl_os=$mgl_os_i
31893 fi
31894 fi
31895 fi
31896 done
31897
31898 if test "x$mgl_os" = x ; then
31899 { echo "$as_me:$LINENO: result: not found" >&5
31900 echo "${ECHO_T}not found" >&6; }
31901 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31902 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31903 { (exit 1); exit 1; }; }
31904 fi
31905 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31906 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31907
31908 wxUSE_UNIVERSAL="yes"
31909
31910 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31911 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31912
31913 AFMINSTALL=afminstall
31914 TOOLKIT=MGL
31915 GUIDIST=MGL_DIST
31916 fi
31917
31918 if test "$wxUSE_DFB" = 1; then
31919
31920
31921 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31922 if test -n "$ac_tool_prefix"; then
31923 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31924 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31927 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31928 echo $ECHO_N "(cached) $ECHO_C" >&6
31929 else
31930 case $PKG_CONFIG in
31931 [\\/]* | ?:[\\/]*)
31932 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31933 ;;
31934 *)
31935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31936 for as_dir in $PATH
31937 do
31938 IFS=$as_save_IFS
31939 test -z "$as_dir" && as_dir=.
31940 for ac_exec_ext in '' $ac_executable_extensions; do
31941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31942 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31943 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31944 break 2
31945 fi
31946 done
31947 done
31948 IFS=$as_save_IFS
31949
31950 ;;
31951 esac
31952 fi
31953 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31954 if test -n "$PKG_CONFIG"; then
31955 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31956 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31957 else
31958 { echo "$as_me:$LINENO: result: no" >&5
31959 echo "${ECHO_T}no" >&6; }
31960 fi
31961
31962
31963 fi
31964 if test -z "$ac_cv_path_PKG_CONFIG"; then
31965 ac_pt_PKG_CONFIG=$PKG_CONFIG
31966 # Extract the first word of "pkg-config", so it can be a program name with args.
31967 set dummy pkg-config; ac_word=$2
31968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31970 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31971 echo $ECHO_N "(cached) $ECHO_C" >&6
31972 else
31973 case $ac_pt_PKG_CONFIG in
31974 [\\/]* | ?:[\\/]*)
31975 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31976 ;;
31977 *)
31978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31979 for as_dir in $PATH
31980 do
31981 IFS=$as_save_IFS
31982 test -z "$as_dir" && as_dir=.
31983 for ac_exec_ext in '' $ac_executable_extensions; do
31984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31985 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31987 break 2
31988 fi
31989 done
31990 done
31991 IFS=$as_save_IFS
31992
31993 ;;
31994 esac
31995 fi
31996 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31997 if test -n "$ac_pt_PKG_CONFIG"; then
31998 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31999 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
32000 else
32001 { echo "$as_me:$LINENO: result: no" >&5
32002 echo "${ECHO_T}no" >&6; }
32003 fi
32004
32005 if test "x$ac_pt_PKG_CONFIG" = x; then
32006 PKG_CONFIG=""
32007 else
32008 case $cross_compiling:$ac_tool_warned in
32009 yes:)
32010 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
32011 whose name does not start with the host triplet. If you think this
32012 configuration is useful to you, please write to autoconf@gnu.org." >&5
32013 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
32014 whose name does not start with the host triplet. If you think this
32015 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
32016 ac_tool_warned=yes ;;
32017 esac
32018 PKG_CONFIG=$ac_pt_PKG_CONFIG
32019 fi
32020 else
32021 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
32022 fi
32023
32024 fi
32025 if test -n "$PKG_CONFIG"; then
32026 _pkg_min_version=0.9.0
32027 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
32028 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
32029 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
32030 { echo "$as_me:$LINENO: result: yes" >&5
32031 echo "${ECHO_T}yes" >&6; }
32032 else
32033 { echo "$as_me:$LINENO: result: no" >&5
32034 echo "${ECHO_T}no" >&6; }
32035 PKG_CONFIG=""
32036 fi
32037
32038 fi
32039
32040
32041 pkg_failed=no
32042 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
32043 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
32044
32045 if test -n "$PKG_CONFIG"; then
32046 if test -n "$DIRECTFB_CFLAGS"; then
32047 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
32048 else
32049 if test -n "$PKG_CONFIG" && \
32050 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32051 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32052 ac_status=$?
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); }; then
32055 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
32056 else
32057 pkg_failed=yes
32058 fi
32059 fi
32060 else
32061 pkg_failed=untried
32062 fi
32063 if test -n "$PKG_CONFIG"; then
32064 if test -n "$DIRECTFB_LIBS"; then
32065 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
32066 else
32067 if test -n "$PKG_CONFIG" && \
32068 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
32069 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
32070 ac_status=$?
32071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32072 (exit $ac_status); }; then
32073 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
32074 else
32075 pkg_failed=yes
32076 fi
32077 fi
32078 else
32079 pkg_failed=untried
32080 fi
32081
32082
32083
32084 if test $pkg_failed = yes; then
32085
32086 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
32087 _pkg_short_errors_supported=yes
32088 else
32089 _pkg_short_errors_supported=no
32090 fi
32091 if test $_pkg_short_errors_supported = yes; then
32092 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32093 else
32094 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
32095 fi
32096 # Put the nasty error message in config.log where it belongs
32097 echo "$DIRECTFB_PKG_ERRORS" >&5
32098
32099
32100 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32101 echo "$as_me: error: DirectFB not found." >&2;}
32102 { (exit 1); exit 1; }; }
32103
32104
32105 elif test $pkg_failed = untried; then
32106
32107 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
32108 echo "$as_me: error: DirectFB not found." >&2;}
32109 { (exit 1); exit 1; }; }
32110
32111
32112 else
32113 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
32114 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
32115 { echo "$as_me:$LINENO: result: yes" >&5
32116 echo "${ECHO_T}yes" >&6; }
32117
32118 wxUSE_UNIVERSAL="yes"
32119 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
32120 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
32121 TOOLKIT=DFB
32122 GUIDIST=DFB_DIST
32123
32124 fi
32125 fi
32126
32127 if test "$wxUSE_MICROWIN" = 1; then
32128 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
32129 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
32130 if test "x$MICROWINDOWS" = x ; then
32131 { echo "$as_me:$LINENO: result: not found" >&5
32132 echo "${ECHO_T}not found" >&6; }
32133 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
32134 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
32135 { (exit 1); exit 1; }; }
32136 else
32137 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
32138 echo "${ECHO_T}$MICROWINDOWS" >&6; }
32139 fi
32140
32141 if test -f $MICROWINDOWS/lib/libmwin.a; then
32142 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
32143 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
32144 else
32145 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
32146 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
32147 { (exit 1); exit 1; }; }
32148 fi
32149
32150 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
32151 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
32152
32153 wxUSE_UNIVERSAL="yes"
32154
32155 AFMINSTALL=afminstall
32156 TOOLKIT=MICROWIN
32157 GUIDIST=MICROWIN_DIST
32158
32159 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
32160 fi
32161
32162 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32163 { echo "$as_me:$LINENO: checking for X" >&5
32164 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
32165
32166
32167 # Check whether --with-x was given.
32168 if test "${with_x+set}" = set; then
32169 withval=$with_x;
32170 fi
32171
32172 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
32173 if test "x$with_x" = xno; then
32174 # The user explicitly disabled X.
32175 have_x=disabled
32176 else
32177 case $x_includes,$x_libraries in #(
32178 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
32179 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
32180 { (exit 1); exit 1; }; };; #(
32181 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
32182 echo $ECHO_N "(cached) $ECHO_C" >&6
32183 else
32184 # One or both of the vars are not set, and there is no cached value.
32185 ac_x_includes=no ac_x_libraries=no
32186 rm -f -r conftest.dir
32187 if mkdir conftest.dir; then
32188 cd conftest.dir
32189 cat >Imakefile <<'_ACEOF'
32190 incroot:
32191 @echo incroot='${INCROOT}'
32192 usrlibdir:
32193 @echo usrlibdir='${USRLIBDIR}'
32194 libdir:
32195 @echo libdir='${LIBDIR}'
32196 _ACEOF
32197 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
32198 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
32199 for ac_var in incroot usrlibdir libdir; do
32200 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
32201 done
32202 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
32203 for ac_extension in a so sl; do
32204 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
32205 test -f "$ac_im_libdir/libX11.$ac_extension"; then
32206 ac_im_usrlibdir=$ac_im_libdir; break
32207 fi
32208 done
32209 # Screen out bogus values from the imake configuration. They are
32210 # bogus both because they are the default anyway, and because
32211 # using them would break gcc on systems where it needs fixed includes.
32212 case $ac_im_incroot in
32213 /usr/include) ac_x_includes= ;;
32214 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
32215 esac
32216 case $ac_im_usrlibdir in
32217 /usr/lib | /lib) ;;
32218 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
32219 esac
32220 fi
32221 cd ..
32222 rm -f -r conftest.dir
32223 fi
32224
32225 # Standard set of common directories for X headers.
32226 # Check X11 before X11Rn because it is often a symlink to the current release.
32227 ac_x_header_dirs='
32228 /usr/X11/include
32229 /usr/X11R6/include
32230 /usr/X11R5/include
32231 /usr/X11R4/include
32232
32233 /usr/include/X11
32234 /usr/include/X11R6
32235 /usr/include/X11R5
32236 /usr/include/X11R4
32237
32238 /usr/local/X11/include
32239 /usr/local/X11R6/include
32240 /usr/local/X11R5/include
32241 /usr/local/X11R4/include
32242
32243 /usr/local/include/X11
32244 /usr/local/include/X11R6
32245 /usr/local/include/X11R5
32246 /usr/local/include/X11R4
32247
32248 /usr/X386/include
32249 /usr/x386/include
32250 /usr/XFree86/include/X11
32251
32252 /usr/include
32253 /usr/local/include
32254 /usr/unsupported/include
32255 /usr/athena/include
32256 /usr/local/x11r5/include
32257 /usr/lpp/Xamples/include
32258
32259 /usr/openwin/include
32260 /usr/openwin/share/include'
32261
32262 if test "$ac_x_includes" = no; then
32263 # Guess where to find include files, by looking for Xlib.h.
32264 # First, try using that file with no special directory specified.
32265 cat >conftest.$ac_ext <<_ACEOF
32266 /* confdefs.h. */
32267 _ACEOF
32268 cat confdefs.h >>conftest.$ac_ext
32269 cat >>conftest.$ac_ext <<_ACEOF
32270 /* end confdefs.h. */
32271 #include <X11/Xlib.h>
32272 _ACEOF
32273 if { (ac_try="$ac_cpp conftest.$ac_ext"
32274 case "(($ac_try" in
32275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32276 *) ac_try_echo=$ac_try;;
32277 esac
32278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32279 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32280 ac_status=$?
32281 grep -v '^ *+' conftest.er1 >conftest.err
32282 rm -f conftest.er1
32283 cat conftest.err >&5
32284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32285 (exit $ac_status); } >/dev/null && {
32286 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32287 test ! -s conftest.err
32288 }; then
32289 # We can compile using X headers with no special include directory.
32290 ac_x_includes=
32291 else
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.$ac_ext >&5
32294
32295 for ac_dir in $ac_x_header_dirs; do
32296 if test -r "$ac_dir/X11/Xlib.h"; then
32297 ac_x_includes=$ac_dir
32298 break
32299 fi
32300 done
32301 fi
32302
32303 rm -f conftest.err conftest.$ac_ext
32304 fi # $ac_x_includes = no
32305
32306 if test "$ac_x_libraries" = no; then
32307 # Check for the libraries.
32308 # See if we find them without any special options.
32309 # Don't add to $LIBS permanently.
32310 ac_save_LIBS=$LIBS
32311 LIBS="-lX11 $LIBS"
32312 cat >conftest.$ac_ext <<_ACEOF
32313 /* confdefs.h. */
32314 _ACEOF
32315 cat confdefs.h >>conftest.$ac_ext
32316 cat >>conftest.$ac_ext <<_ACEOF
32317 /* end confdefs.h. */
32318 #include <X11/Xlib.h>
32319 int
32320 main ()
32321 {
32322 XrmInitialize ()
32323 ;
32324 return 0;
32325 }
32326 _ACEOF
32327 rm -f conftest.$ac_objext conftest$ac_exeext
32328 if { (ac_try="$ac_link"
32329 case "(($ac_try" in
32330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32331 *) ac_try_echo=$ac_try;;
32332 esac
32333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32334 (eval "$ac_link") 2>conftest.er1
32335 ac_status=$?
32336 grep -v '^ *+' conftest.er1 >conftest.err
32337 rm -f conftest.er1
32338 cat conftest.err >&5
32339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32340 (exit $ac_status); } && {
32341 test -z "$ac_c_werror_flag" ||
32342 test ! -s conftest.err
32343 } && test -s conftest$ac_exeext &&
32344 $as_test_x conftest$ac_exeext; then
32345 LIBS=$ac_save_LIBS
32346 # We can link X programs with no special library path.
32347 ac_x_libraries=
32348 else
32349 echo "$as_me: failed program was:" >&5
32350 sed 's/^/| /' conftest.$ac_ext >&5
32351
32352 LIBS=$ac_save_LIBS
32353 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32354 do
32355 # Don't even attempt the hair of trying to link an X program!
32356 for ac_extension in a so sl; do
32357 if test -r "$ac_dir/libX11.$ac_extension"; then
32358 ac_x_libraries=$ac_dir
32359 break 2
32360 fi
32361 done
32362 done
32363 fi
32364
32365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32366 conftest$ac_exeext conftest.$ac_ext
32367 fi # $ac_x_libraries = no
32368
32369 case $ac_x_includes,$ac_x_libraries in #(
32370 no,* | *,no | *\'*)
32371 # Didn't find X, or a directory has "'" in its name.
32372 ac_cv_have_x="have_x=no";; #(
32373 *)
32374 # Record where we found X for the cache.
32375 ac_cv_have_x="have_x=yes\
32376 ac_x_includes='$ac_x_includes'\
32377 ac_x_libraries='$ac_x_libraries'"
32378 esac
32379 fi
32380 ;; #(
32381 *) have_x=yes;;
32382 esac
32383 eval "$ac_cv_have_x"
32384 fi # $with_x != no
32385
32386 if test "$have_x" != yes; then
32387 { echo "$as_me:$LINENO: result: $have_x" >&5
32388 echo "${ECHO_T}$have_x" >&6; }
32389 no_x=yes
32390 else
32391 # If each of the values was on the command line, it overrides each guess.
32392 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32393 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32394 # Update the cache value to reflect the command line values.
32395 ac_cv_have_x="have_x=yes\
32396 ac_x_includes='$x_includes'\
32397 ac_x_libraries='$x_libraries'"
32398 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32399 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32400 fi
32401
32402 if test "$no_x" = yes; then
32403 # Not all programs may use this symbol, but it does not hurt to define it.
32404
32405 cat >>confdefs.h <<\_ACEOF
32406 #define X_DISPLAY_MISSING 1
32407 _ACEOF
32408
32409 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32410 else
32411 if test -n "$x_includes"; then
32412 X_CFLAGS="$X_CFLAGS -I$x_includes"
32413 fi
32414
32415 # It would also be nice to do this for all -L options, not just this one.
32416 if test -n "$x_libraries"; then
32417 X_LIBS="$X_LIBS -L$x_libraries"
32418 # For Solaris; some versions of Sun CC require a space after -R and
32419 # others require no space. Words are not sufficient . . . .
32420 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32421 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32422 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32423 ac_xsave_c_werror_flag=$ac_c_werror_flag
32424 ac_c_werror_flag=yes
32425 cat >conftest.$ac_ext <<_ACEOF
32426 /* confdefs.h. */
32427 _ACEOF
32428 cat confdefs.h >>conftest.$ac_ext
32429 cat >>conftest.$ac_ext <<_ACEOF
32430 /* end confdefs.h. */
32431
32432 int
32433 main ()
32434 {
32435
32436 ;
32437 return 0;
32438 }
32439 _ACEOF
32440 rm -f conftest.$ac_objext conftest$ac_exeext
32441 if { (ac_try="$ac_link"
32442 case "(($ac_try" in
32443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32444 *) ac_try_echo=$ac_try;;
32445 esac
32446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32447 (eval "$ac_link") 2>conftest.er1
32448 ac_status=$?
32449 grep -v '^ *+' conftest.er1 >conftest.err
32450 rm -f conftest.er1
32451 cat conftest.err >&5
32452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32453 (exit $ac_status); } && {
32454 test -z "$ac_c_werror_flag" ||
32455 test ! -s conftest.err
32456 } && test -s conftest$ac_exeext &&
32457 $as_test_x conftest$ac_exeext; then
32458 { echo "$as_me:$LINENO: result: no" >&5
32459 echo "${ECHO_T}no" >&6; }
32460 X_LIBS="$X_LIBS -R$x_libraries"
32461 else
32462 echo "$as_me: failed program was:" >&5
32463 sed 's/^/| /' conftest.$ac_ext >&5
32464
32465 LIBS="$ac_xsave_LIBS -R $x_libraries"
32466 cat >conftest.$ac_ext <<_ACEOF
32467 /* confdefs.h. */
32468 _ACEOF
32469 cat confdefs.h >>conftest.$ac_ext
32470 cat >>conftest.$ac_ext <<_ACEOF
32471 /* end confdefs.h. */
32472
32473 int
32474 main ()
32475 {
32476
32477 ;
32478 return 0;
32479 }
32480 _ACEOF
32481 rm -f conftest.$ac_objext conftest$ac_exeext
32482 if { (ac_try="$ac_link"
32483 case "(($ac_try" in
32484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32485 *) ac_try_echo=$ac_try;;
32486 esac
32487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32488 (eval "$ac_link") 2>conftest.er1
32489 ac_status=$?
32490 grep -v '^ *+' conftest.er1 >conftest.err
32491 rm -f conftest.er1
32492 cat conftest.err >&5
32493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32494 (exit $ac_status); } && {
32495 test -z "$ac_c_werror_flag" ||
32496 test ! -s conftest.err
32497 } && test -s conftest$ac_exeext &&
32498 $as_test_x conftest$ac_exeext; then
32499 { echo "$as_me:$LINENO: result: yes" >&5
32500 echo "${ECHO_T}yes" >&6; }
32501 X_LIBS="$X_LIBS -R $x_libraries"
32502 else
32503 echo "$as_me: failed program was:" >&5
32504 sed 's/^/| /' conftest.$ac_ext >&5
32505
32506 { echo "$as_me:$LINENO: result: neither works" >&5
32507 echo "${ECHO_T}neither works" >&6; }
32508 fi
32509
32510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32511 conftest$ac_exeext conftest.$ac_ext
32512 fi
32513
32514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32515 conftest$ac_exeext conftest.$ac_ext
32516 ac_c_werror_flag=$ac_xsave_c_werror_flag
32517 LIBS=$ac_xsave_LIBS
32518 fi
32519
32520 # Check for system-dependent libraries X programs must link with.
32521 # Do this before checking for the system-independent R6 libraries
32522 # (-lICE), since we may need -lsocket or whatever for X linking.
32523
32524 if test "$ISC" = yes; then
32525 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32526 else
32527 # Martyn Johnson says this is needed for Ultrix, if the X
32528 # libraries were built with DECnet support. And Karl Berry says
32529 # the Alpha needs dnet_stub (dnet does not exist).
32530 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32531 cat >conftest.$ac_ext <<_ACEOF
32532 /* confdefs.h. */
32533 _ACEOF
32534 cat confdefs.h >>conftest.$ac_ext
32535 cat >>conftest.$ac_ext <<_ACEOF
32536 /* end confdefs.h. */
32537
32538 /* Override any GCC internal prototype to avoid an error.
32539 Use char because int might match the return type of a GCC
32540 builtin and then its argument prototype would still apply. */
32541 #ifdef __cplusplus
32542 extern "C"
32543 #endif
32544 char XOpenDisplay ();
32545 int
32546 main ()
32547 {
32548 return XOpenDisplay ();
32549 ;
32550 return 0;
32551 }
32552 _ACEOF
32553 rm -f conftest.$ac_objext conftest$ac_exeext
32554 if { (ac_try="$ac_link"
32555 case "(($ac_try" in
32556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32557 *) ac_try_echo=$ac_try;;
32558 esac
32559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32560 (eval "$ac_link") 2>conftest.er1
32561 ac_status=$?
32562 grep -v '^ *+' conftest.er1 >conftest.err
32563 rm -f conftest.er1
32564 cat conftest.err >&5
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); } && {
32567 test -z "$ac_c_werror_flag" ||
32568 test ! -s conftest.err
32569 } && test -s conftest$ac_exeext &&
32570 $as_test_x conftest$ac_exeext; then
32571 :
32572 else
32573 echo "$as_me: failed program was:" >&5
32574 sed 's/^/| /' conftest.$ac_ext >&5
32575
32576 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32577 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32578 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32579 echo $ECHO_N "(cached) $ECHO_C" >&6
32580 else
32581 ac_check_lib_save_LIBS=$LIBS
32582 LIBS="-ldnet $LIBS"
32583 cat >conftest.$ac_ext <<_ACEOF
32584 /* confdefs.h. */
32585 _ACEOF
32586 cat confdefs.h >>conftest.$ac_ext
32587 cat >>conftest.$ac_ext <<_ACEOF
32588 /* end confdefs.h. */
32589
32590 /* Override any GCC internal prototype to avoid an error.
32591 Use char because int might match the return type of a GCC
32592 builtin and then its argument prototype would still apply. */
32593 #ifdef __cplusplus
32594 extern "C"
32595 #endif
32596 char dnet_ntoa ();
32597 int
32598 main ()
32599 {
32600 return dnet_ntoa ();
32601 ;
32602 return 0;
32603 }
32604 _ACEOF
32605 rm -f conftest.$ac_objext conftest$ac_exeext
32606 if { (ac_try="$ac_link"
32607 case "(($ac_try" in
32608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32609 *) ac_try_echo=$ac_try;;
32610 esac
32611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32612 (eval "$ac_link") 2>conftest.er1
32613 ac_status=$?
32614 grep -v '^ *+' conftest.er1 >conftest.err
32615 rm -f conftest.er1
32616 cat conftest.err >&5
32617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618 (exit $ac_status); } && {
32619 test -z "$ac_c_werror_flag" ||
32620 test ! -s conftest.err
32621 } && test -s conftest$ac_exeext &&
32622 $as_test_x conftest$ac_exeext; then
32623 ac_cv_lib_dnet_dnet_ntoa=yes
32624 else
32625 echo "$as_me: failed program was:" >&5
32626 sed 's/^/| /' conftest.$ac_ext >&5
32627
32628 ac_cv_lib_dnet_dnet_ntoa=no
32629 fi
32630
32631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32632 conftest$ac_exeext conftest.$ac_ext
32633 LIBS=$ac_check_lib_save_LIBS
32634 fi
32635 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32636 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32637 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32638 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32639 fi
32640
32641 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32642 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32643 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32644 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32645 echo $ECHO_N "(cached) $ECHO_C" >&6
32646 else
32647 ac_check_lib_save_LIBS=$LIBS
32648 LIBS="-ldnet_stub $LIBS"
32649 cat >conftest.$ac_ext <<_ACEOF
32650 /* confdefs.h. */
32651 _ACEOF
32652 cat confdefs.h >>conftest.$ac_ext
32653 cat >>conftest.$ac_ext <<_ACEOF
32654 /* end confdefs.h. */
32655
32656 /* Override any GCC internal prototype to avoid an error.
32657 Use char because int might match the return type of a GCC
32658 builtin and then its argument prototype would still apply. */
32659 #ifdef __cplusplus
32660 extern "C"
32661 #endif
32662 char dnet_ntoa ();
32663 int
32664 main ()
32665 {
32666 return dnet_ntoa ();
32667 ;
32668 return 0;
32669 }
32670 _ACEOF
32671 rm -f conftest.$ac_objext conftest$ac_exeext
32672 if { (ac_try="$ac_link"
32673 case "(($ac_try" in
32674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32675 *) ac_try_echo=$ac_try;;
32676 esac
32677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32678 (eval "$ac_link") 2>conftest.er1
32679 ac_status=$?
32680 grep -v '^ *+' conftest.er1 >conftest.err
32681 rm -f conftest.er1
32682 cat conftest.err >&5
32683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32684 (exit $ac_status); } && {
32685 test -z "$ac_c_werror_flag" ||
32686 test ! -s conftest.err
32687 } && test -s conftest$ac_exeext &&
32688 $as_test_x conftest$ac_exeext; then
32689 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32690 else
32691 echo "$as_me: failed program was:" >&5
32692 sed 's/^/| /' conftest.$ac_ext >&5
32693
32694 ac_cv_lib_dnet_stub_dnet_ntoa=no
32695 fi
32696
32697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32698 conftest$ac_exeext conftest.$ac_ext
32699 LIBS=$ac_check_lib_save_LIBS
32700 fi
32701 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32702 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32703 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32704 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32705 fi
32706
32707 fi
32708 fi
32709
32710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32711 conftest$ac_exeext conftest.$ac_ext
32712 LIBS="$ac_xsave_LIBS"
32713
32714 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32715 # to get the SysV transport functions.
32716 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32717 # needs -lnsl.
32718 # The nsl library prevents programs from opening the X display
32719 # on Irix 5.2, according to T.E. Dickey.
32720 # The functions gethostbyname, getservbyname, and inet_addr are
32721 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32722 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32723 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32724 if test "${ac_cv_func_gethostbyname+set}" = set; then
32725 echo $ECHO_N "(cached) $ECHO_C" >&6
32726 else
32727 cat >conftest.$ac_ext <<_ACEOF
32728 /* confdefs.h. */
32729 _ACEOF
32730 cat confdefs.h >>conftest.$ac_ext
32731 cat >>conftest.$ac_ext <<_ACEOF
32732 /* end confdefs.h. */
32733 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32735 #define gethostbyname innocuous_gethostbyname
32736
32737 /* System header to define __stub macros and hopefully few prototypes,
32738 which can conflict with char gethostbyname (); below.
32739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32740 <limits.h> exists even on freestanding compilers. */
32741
32742 #ifdef __STDC__
32743 # include <limits.h>
32744 #else
32745 # include <assert.h>
32746 #endif
32747
32748 #undef gethostbyname
32749
32750 /* Override any GCC internal prototype to avoid an error.
32751 Use char because int might match the return type of a GCC
32752 builtin and then its argument prototype would still apply. */
32753 #ifdef __cplusplus
32754 extern "C"
32755 #endif
32756 char gethostbyname ();
32757 /* The GNU C library defines this for functions which it implements
32758 to always fail with ENOSYS. Some functions are actually named
32759 something starting with __ and the normal name is an alias. */
32760 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32761 choke me
32762 #endif
32763
32764 int
32765 main ()
32766 {
32767 return gethostbyname ();
32768 ;
32769 return 0;
32770 }
32771 _ACEOF
32772 rm -f conftest.$ac_objext conftest$ac_exeext
32773 if { (ac_try="$ac_link"
32774 case "(($ac_try" in
32775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32776 *) ac_try_echo=$ac_try;;
32777 esac
32778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32779 (eval "$ac_link") 2>conftest.er1
32780 ac_status=$?
32781 grep -v '^ *+' conftest.er1 >conftest.err
32782 rm -f conftest.er1
32783 cat conftest.err >&5
32784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32785 (exit $ac_status); } && {
32786 test -z "$ac_c_werror_flag" ||
32787 test ! -s conftest.err
32788 } && test -s conftest$ac_exeext &&
32789 $as_test_x conftest$ac_exeext; then
32790 ac_cv_func_gethostbyname=yes
32791 else
32792 echo "$as_me: failed program was:" >&5
32793 sed 's/^/| /' conftest.$ac_ext >&5
32794
32795 ac_cv_func_gethostbyname=no
32796 fi
32797
32798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32799 conftest$ac_exeext conftest.$ac_ext
32800 fi
32801 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32802 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32803
32804 if test $ac_cv_func_gethostbyname = no; then
32805 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32806 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32807 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32808 echo $ECHO_N "(cached) $ECHO_C" >&6
32809 else
32810 ac_check_lib_save_LIBS=$LIBS
32811 LIBS="-lnsl $LIBS"
32812 cat >conftest.$ac_ext <<_ACEOF
32813 /* confdefs.h. */
32814 _ACEOF
32815 cat confdefs.h >>conftest.$ac_ext
32816 cat >>conftest.$ac_ext <<_ACEOF
32817 /* end confdefs.h. */
32818
32819 /* Override any GCC internal prototype to avoid an error.
32820 Use char because int might match the return type of a GCC
32821 builtin and then its argument prototype would still apply. */
32822 #ifdef __cplusplus
32823 extern "C"
32824 #endif
32825 char gethostbyname ();
32826 int
32827 main ()
32828 {
32829 return gethostbyname ();
32830 ;
32831 return 0;
32832 }
32833 _ACEOF
32834 rm -f conftest.$ac_objext conftest$ac_exeext
32835 if { (ac_try="$ac_link"
32836 case "(($ac_try" in
32837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32838 *) ac_try_echo=$ac_try;;
32839 esac
32840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32841 (eval "$ac_link") 2>conftest.er1
32842 ac_status=$?
32843 grep -v '^ *+' conftest.er1 >conftest.err
32844 rm -f conftest.er1
32845 cat conftest.err >&5
32846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32847 (exit $ac_status); } && {
32848 test -z "$ac_c_werror_flag" ||
32849 test ! -s conftest.err
32850 } && test -s conftest$ac_exeext &&
32851 $as_test_x conftest$ac_exeext; then
32852 ac_cv_lib_nsl_gethostbyname=yes
32853 else
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32856
32857 ac_cv_lib_nsl_gethostbyname=no
32858 fi
32859
32860 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32861 conftest$ac_exeext conftest.$ac_ext
32862 LIBS=$ac_check_lib_save_LIBS
32863 fi
32864 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32865 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32866 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32867 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32868 fi
32869
32870 if test $ac_cv_lib_nsl_gethostbyname = no; then
32871 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32872 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32873 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32874 echo $ECHO_N "(cached) $ECHO_C" >&6
32875 else
32876 ac_check_lib_save_LIBS=$LIBS
32877 LIBS="-lbsd $LIBS"
32878 cat >conftest.$ac_ext <<_ACEOF
32879 /* confdefs.h. */
32880 _ACEOF
32881 cat confdefs.h >>conftest.$ac_ext
32882 cat >>conftest.$ac_ext <<_ACEOF
32883 /* end confdefs.h. */
32884
32885 /* Override any GCC internal prototype to avoid an error.
32886 Use char because int might match the return type of a GCC
32887 builtin and then its argument prototype would still apply. */
32888 #ifdef __cplusplus
32889 extern "C"
32890 #endif
32891 char gethostbyname ();
32892 int
32893 main ()
32894 {
32895 return gethostbyname ();
32896 ;
32897 return 0;
32898 }
32899 _ACEOF
32900 rm -f conftest.$ac_objext conftest$ac_exeext
32901 if { (ac_try="$ac_link"
32902 case "(($ac_try" in
32903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32904 *) ac_try_echo=$ac_try;;
32905 esac
32906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32907 (eval "$ac_link") 2>conftest.er1
32908 ac_status=$?
32909 grep -v '^ *+' conftest.er1 >conftest.err
32910 rm -f conftest.er1
32911 cat conftest.err >&5
32912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32913 (exit $ac_status); } && {
32914 test -z "$ac_c_werror_flag" ||
32915 test ! -s conftest.err
32916 } && test -s conftest$ac_exeext &&
32917 $as_test_x conftest$ac_exeext; then
32918 ac_cv_lib_bsd_gethostbyname=yes
32919 else
32920 echo "$as_me: failed program was:" >&5
32921 sed 's/^/| /' conftest.$ac_ext >&5
32922
32923 ac_cv_lib_bsd_gethostbyname=no
32924 fi
32925
32926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32927 conftest$ac_exeext conftest.$ac_ext
32928 LIBS=$ac_check_lib_save_LIBS
32929 fi
32930 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32931 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32932 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32933 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32934 fi
32935
32936 fi
32937 fi
32938
32939 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32940 # socket/setsockopt and other routines are undefined under SCO ODT
32941 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32942 # on later versions), says Simon Leinen: it contains gethostby*
32943 # variants that don't use the name server (or something). -lsocket
32944 # must be given before -lnsl if both are needed. We assume that
32945 # if connect needs -lnsl, so does gethostbyname.
32946 { echo "$as_me:$LINENO: checking for connect" >&5
32947 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32948 if test "${ac_cv_func_connect+set}" = set; then
32949 echo $ECHO_N "(cached) $ECHO_C" >&6
32950 else
32951 cat >conftest.$ac_ext <<_ACEOF
32952 /* confdefs.h. */
32953 _ACEOF
32954 cat confdefs.h >>conftest.$ac_ext
32955 cat >>conftest.$ac_ext <<_ACEOF
32956 /* end confdefs.h. */
32957 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32959 #define connect innocuous_connect
32960
32961 /* System header to define __stub macros and hopefully few prototypes,
32962 which can conflict with char connect (); below.
32963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32964 <limits.h> exists even on freestanding compilers. */
32965
32966 #ifdef __STDC__
32967 # include <limits.h>
32968 #else
32969 # include <assert.h>
32970 #endif
32971
32972 #undef connect
32973
32974 /* Override any GCC internal prototype to avoid an error.
32975 Use char because int might match the return type of a GCC
32976 builtin and then its argument prototype would still apply. */
32977 #ifdef __cplusplus
32978 extern "C"
32979 #endif
32980 char connect ();
32981 /* The GNU C library defines this for functions which it implements
32982 to always fail with ENOSYS. Some functions are actually named
32983 something starting with __ and the normal name is an alias. */
32984 #if defined __stub_connect || defined __stub___connect
32985 choke me
32986 #endif
32987
32988 int
32989 main ()
32990 {
32991 return connect ();
32992 ;
32993 return 0;
32994 }
32995 _ACEOF
32996 rm -f conftest.$ac_objext conftest$ac_exeext
32997 if { (ac_try="$ac_link"
32998 case "(($ac_try" in
32999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33000 *) ac_try_echo=$ac_try;;
33001 esac
33002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33003 (eval "$ac_link") 2>conftest.er1
33004 ac_status=$?
33005 grep -v '^ *+' conftest.er1 >conftest.err
33006 rm -f conftest.er1
33007 cat conftest.err >&5
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); } && {
33010 test -z "$ac_c_werror_flag" ||
33011 test ! -s conftest.err
33012 } && test -s conftest$ac_exeext &&
33013 $as_test_x conftest$ac_exeext; then
33014 ac_cv_func_connect=yes
33015 else
33016 echo "$as_me: failed program was:" >&5
33017 sed 's/^/| /' conftest.$ac_ext >&5
33018
33019 ac_cv_func_connect=no
33020 fi
33021
33022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33023 conftest$ac_exeext conftest.$ac_ext
33024 fi
33025 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
33026 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
33027
33028 if test $ac_cv_func_connect = no; then
33029 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
33030 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
33031 if test "${ac_cv_lib_socket_connect+set}" = set; then
33032 echo $ECHO_N "(cached) $ECHO_C" >&6
33033 else
33034 ac_check_lib_save_LIBS=$LIBS
33035 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
33036 cat >conftest.$ac_ext <<_ACEOF
33037 /* confdefs.h. */
33038 _ACEOF
33039 cat confdefs.h >>conftest.$ac_ext
33040 cat >>conftest.$ac_ext <<_ACEOF
33041 /* end confdefs.h. */
33042
33043 /* Override any GCC internal prototype to avoid an error.
33044 Use char because int might match the return type of a GCC
33045 builtin and then its argument prototype would still apply. */
33046 #ifdef __cplusplus
33047 extern "C"
33048 #endif
33049 char connect ();
33050 int
33051 main ()
33052 {
33053 return connect ();
33054 ;
33055 return 0;
33056 }
33057 _ACEOF
33058 rm -f conftest.$ac_objext conftest$ac_exeext
33059 if { (ac_try="$ac_link"
33060 case "(($ac_try" in
33061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33062 *) ac_try_echo=$ac_try;;
33063 esac
33064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33065 (eval "$ac_link") 2>conftest.er1
33066 ac_status=$?
33067 grep -v '^ *+' conftest.er1 >conftest.err
33068 rm -f conftest.er1
33069 cat conftest.err >&5
33070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33071 (exit $ac_status); } && {
33072 test -z "$ac_c_werror_flag" ||
33073 test ! -s conftest.err
33074 } && test -s conftest$ac_exeext &&
33075 $as_test_x conftest$ac_exeext; then
33076 ac_cv_lib_socket_connect=yes
33077 else
33078 echo "$as_me: failed program was:" >&5
33079 sed 's/^/| /' conftest.$ac_ext >&5
33080
33081 ac_cv_lib_socket_connect=no
33082 fi
33083
33084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33085 conftest$ac_exeext conftest.$ac_ext
33086 LIBS=$ac_check_lib_save_LIBS
33087 fi
33088 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
33089 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
33090 if test $ac_cv_lib_socket_connect = yes; then
33091 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
33092 fi
33093
33094 fi
33095
33096 # Guillermo Gomez says -lposix is necessary on A/UX.
33097 { echo "$as_me:$LINENO: checking for remove" >&5
33098 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
33099 if test "${ac_cv_func_remove+set}" = set; then
33100 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 else
33102 cat >conftest.$ac_ext <<_ACEOF
33103 /* confdefs.h. */
33104 _ACEOF
33105 cat confdefs.h >>conftest.$ac_ext
33106 cat >>conftest.$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33108 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
33109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33110 #define remove innocuous_remove
33111
33112 /* System header to define __stub macros and hopefully few prototypes,
33113 which can conflict with char remove (); below.
33114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33115 <limits.h> exists even on freestanding compilers. */
33116
33117 #ifdef __STDC__
33118 # include <limits.h>
33119 #else
33120 # include <assert.h>
33121 #endif
33122
33123 #undef remove
33124
33125 /* Override any GCC internal prototype to avoid an error.
33126 Use char because int might match the return type of a GCC
33127 builtin and then its argument prototype would still apply. */
33128 #ifdef __cplusplus
33129 extern "C"
33130 #endif
33131 char remove ();
33132 /* The GNU C library defines this for functions which it implements
33133 to always fail with ENOSYS. Some functions are actually named
33134 something starting with __ and the normal name is an alias. */
33135 #if defined __stub_remove || defined __stub___remove
33136 choke me
33137 #endif
33138
33139 int
33140 main ()
33141 {
33142 return remove ();
33143 ;
33144 return 0;
33145 }
33146 _ACEOF
33147 rm -f conftest.$ac_objext conftest$ac_exeext
33148 if { (ac_try="$ac_link"
33149 case "(($ac_try" in
33150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33151 *) ac_try_echo=$ac_try;;
33152 esac
33153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33154 (eval "$ac_link") 2>conftest.er1
33155 ac_status=$?
33156 grep -v '^ *+' conftest.er1 >conftest.err
33157 rm -f conftest.er1
33158 cat conftest.err >&5
33159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33160 (exit $ac_status); } && {
33161 test -z "$ac_c_werror_flag" ||
33162 test ! -s conftest.err
33163 } && test -s conftest$ac_exeext &&
33164 $as_test_x conftest$ac_exeext; then
33165 ac_cv_func_remove=yes
33166 else
33167 echo "$as_me: failed program was:" >&5
33168 sed 's/^/| /' conftest.$ac_ext >&5
33169
33170 ac_cv_func_remove=no
33171 fi
33172
33173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33174 conftest$ac_exeext conftest.$ac_ext
33175 fi
33176 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
33177 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
33178
33179 if test $ac_cv_func_remove = no; then
33180 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
33181 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
33182 if test "${ac_cv_lib_posix_remove+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185 ac_check_lib_save_LIBS=$LIBS
33186 LIBS="-lposix $LIBS"
33187 cat >conftest.$ac_ext <<_ACEOF
33188 /* confdefs.h. */
33189 _ACEOF
33190 cat confdefs.h >>conftest.$ac_ext
33191 cat >>conftest.$ac_ext <<_ACEOF
33192 /* end confdefs.h. */
33193
33194 /* Override any GCC internal prototype to avoid an error.
33195 Use char because int might match the return type of a GCC
33196 builtin and then its argument prototype would still apply. */
33197 #ifdef __cplusplus
33198 extern "C"
33199 #endif
33200 char remove ();
33201 int
33202 main ()
33203 {
33204 return remove ();
33205 ;
33206 return 0;
33207 }
33208 _ACEOF
33209 rm -f conftest.$ac_objext conftest$ac_exeext
33210 if { (ac_try="$ac_link"
33211 case "(($ac_try" in
33212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33213 *) ac_try_echo=$ac_try;;
33214 esac
33215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33216 (eval "$ac_link") 2>conftest.er1
33217 ac_status=$?
33218 grep -v '^ *+' conftest.er1 >conftest.err
33219 rm -f conftest.er1
33220 cat conftest.err >&5
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); } && {
33223 test -z "$ac_c_werror_flag" ||
33224 test ! -s conftest.err
33225 } && test -s conftest$ac_exeext &&
33226 $as_test_x conftest$ac_exeext; then
33227 ac_cv_lib_posix_remove=yes
33228 else
33229 echo "$as_me: failed program was:" >&5
33230 sed 's/^/| /' conftest.$ac_ext >&5
33231
33232 ac_cv_lib_posix_remove=no
33233 fi
33234
33235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33236 conftest$ac_exeext conftest.$ac_ext
33237 LIBS=$ac_check_lib_save_LIBS
33238 fi
33239 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
33240 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
33241 if test $ac_cv_lib_posix_remove = yes; then
33242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
33243 fi
33244
33245 fi
33246
33247 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
33248 { echo "$as_me:$LINENO: checking for shmat" >&5
33249 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
33250 if test "${ac_cv_func_shmat+set}" = set; then
33251 echo $ECHO_N "(cached) $ECHO_C" >&6
33252 else
33253 cat >conftest.$ac_ext <<_ACEOF
33254 /* confdefs.h. */
33255 _ACEOF
33256 cat confdefs.h >>conftest.$ac_ext
33257 cat >>conftest.$ac_ext <<_ACEOF
33258 /* end confdefs.h. */
33259 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
33260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33261 #define shmat innocuous_shmat
33262
33263 /* System header to define __stub macros and hopefully few prototypes,
33264 which can conflict with char shmat (); below.
33265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33266 <limits.h> exists even on freestanding compilers. */
33267
33268 #ifdef __STDC__
33269 # include <limits.h>
33270 #else
33271 # include <assert.h>
33272 #endif
33273
33274 #undef shmat
33275
33276 /* Override any GCC internal prototype to avoid an error.
33277 Use char because int might match the return type of a GCC
33278 builtin and then its argument prototype would still apply. */
33279 #ifdef __cplusplus
33280 extern "C"
33281 #endif
33282 char shmat ();
33283 /* The GNU C library defines this for functions which it implements
33284 to always fail with ENOSYS. Some functions are actually named
33285 something starting with __ and the normal name is an alias. */
33286 #if defined __stub_shmat || defined __stub___shmat
33287 choke me
33288 #endif
33289
33290 int
33291 main ()
33292 {
33293 return shmat ();
33294 ;
33295 return 0;
33296 }
33297 _ACEOF
33298 rm -f conftest.$ac_objext conftest$ac_exeext
33299 if { (ac_try="$ac_link"
33300 case "(($ac_try" in
33301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33302 *) ac_try_echo=$ac_try;;
33303 esac
33304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33305 (eval "$ac_link") 2>conftest.er1
33306 ac_status=$?
33307 grep -v '^ *+' conftest.er1 >conftest.err
33308 rm -f conftest.er1
33309 cat conftest.err >&5
33310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33311 (exit $ac_status); } && {
33312 test -z "$ac_c_werror_flag" ||
33313 test ! -s conftest.err
33314 } && test -s conftest$ac_exeext &&
33315 $as_test_x conftest$ac_exeext; then
33316 ac_cv_func_shmat=yes
33317 else
33318 echo "$as_me: failed program was:" >&5
33319 sed 's/^/| /' conftest.$ac_ext >&5
33320
33321 ac_cv_func_shmat=no
33322 fi
33323
33324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33325 conftest$ac_exeext conftest.$ac_ext
33326 fi
33327 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33328 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33329
33330 if test $ac_cv_func_shmat = no; then
33331 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33332 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33333 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33334 echo $ECHO_N "(cached) $ECHO_C" >&6
33335 else
33336 ac_check_lib_save_LIBS=$LIBS
33337 LIBS="-lipc $LIBS"
33338 cat >conftest.$ac_ext <<_ACEOF
33339 /* confdefs.h. */
33340 _ACEOF
33341 cat confdefs.h >>conftest.$ac_ext
33342 cat >>conftest.$ac_ext <<_ACEOF
33343 /* end confdefs.h. */
33344
33345 /* Override any GCC internal prototype to avoid an error.
33346 Use char because int might match the return type of a GCC
33347 builtin and then its argument prototype would still apply. */
33348 #ifdef __cplusplus
33349 extern "C"
33350 #endif
33351 char shmat ();
33352 int
33353 main ()
33354 {
33355 return shmat ();
33356 ;
33357 return 0;
33358 }
33359 _ACEOF
33360 rm -f conftest.$ac_objext conftest$ac_exeext
33361 if { (ac_try="$ac_link"
33362 case "(($ac_try" in
33363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33364 *) ac_try_echo=$ac_try;;
33365 esac
33366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33367 (eval "$ac_link") 2>conftest.er1
33368 ac_status=$?
33369 grep -v '^ *+' conftest.er1 >conftest.err
33370 rm -f conftest.er1
33371 cat conftest.err >&5
33372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33373 (exit $ac_status); } && {
33374 test -z "$ac_c_werror_flag" ||
33375 test ! -s conftest.err
33376 } && test -s conftest$ac_exeext &&
33377 $as_test_x conftest$ac_exeext; then
33378 ac_cv_lib_ipc_shmat=yes
33379 else
33380 echo "$as_me: failed program was:" >&5
33381 sed 's/^/| /' conftest.$ac_ext >&5
33382
33383 ac_cv_lib_ipc_shmat=no
33384 fi
33385
33386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33387 conftest$ac_exeext conftest.$ac_ext
33388 LIBS=$ac_check_lib_save_LIBS
33389 fi
33390 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33391 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33392 if test $ac_cv_lib_ipc_shmat = yes; then
33393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33394 fi
33395
33396 fi
33397 fi
33398
33399 # Check for libraries that X11R6 Xt/Xaw programs need.
33400 ac_save_LDFLAGS=$LDFLAGS
33401 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33402 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33403 # check for ICE first), but we must link in the order -lSM -lICE or
33404 # we get undefined symbols. So assume we have SM if we have ICE.
33405 # These have to be linked with before -lX11, unlike the other
33406 # libraries we check for below, so use a different variable.
33407 # John Interrante, Karl Berry
33408 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33409 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33410 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33411 echo $ECHO_N "(cached) $ECHO_C" >&6
33412 else
33413 ac_check_lib_save_LIBS=$LIBS
33414 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33415 cat >conftest.$ac_ext <<_ACEOF
33416 /* confdefs.h. */
33417 _ACEOF
33418 cat confdefs.h >>conftest.$ac_ext
33419 cat >>conftest.$ac_ext <<_ACEOF
33420 /* end confdefs.h. */
33421
33422 /* Override any GCC internal prototype to avoid an error.
33423 Use char because int might match the return type of a GCC
33424 builtin and then its argument prototype would still apply. */
33425 #ifdef __cplusplus
33426 extern "C"
33427 #endif
33428 char IceConnectionNumber ();
33429 int
33430 main ()
33431 {
33432 return IceConnectionNumber ();
33433 ;
33434 return 0;
33435 }
33436 _ACEOF
33437 rm -f conftest.$ac_objext conftest$ac_exeext
33438 if { (ac_try="$ac_link"
33439 case "(($ac_try" in
33440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33441 *) ac_try_echo=$ac_try;;
33442 esac
33443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33444 (eval "$ac_link") 2>conftest.er1
33445 ac_status=$?
33446 grep -v '^ *+' conftest.er1 >conftest.err
33447 rm -f conftest.er1
33448 cat conftest.err >&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); } && {
33451 test -z "$ac_c_werror_flag" ||
33452 test ! -s conftest.err
33453 } && test -s conftest$ac_exeext &&
33454 $as_test_x conftest$ac_exeext; then
33455 ac_cv_lib_ICE_IceConnectionNumber=yes
33456 else
33457 echo "$as_me: failed program was:" >&5
33458 sed 's/^/| /' conftest.$ac_ext >&5
33459
33460 ac_cv_lib_ICE_IceConnectionNumber=no
33461 fi
33462
33463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33464 conftest$ac_exeext conftest.$ac_ext
33465 LIBS=$ac_check_lib_save_LIBS
33466 fi
33467 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33468 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33469 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33470 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33471 fi
33472
33473 LDFLAGS=$ac_save_LDFLAGS
33474
33475 fi
33476
33477
33478 if test "$no_x" = "yes"; then
33479 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33480 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33481 { (exit 1); exit 1; }; }
33482 fi
33483
33484 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33485 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33486 AFMINSTALL=afminstall
33487 COMPILED_X_PROGRAM=0
33488
33489 fi
33490
33491 if test "$wxUSE_X11" = 1; then
33492 if test "$wxUSE_NANOX" = "yes"; then
33493 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33494 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33495 if test "x$MICROWIN" = x ; then
33496 { echo "$as_me:$LINENO: result: not found" >&5
33497 echo "${ECHO_T}not found" >&6; }
33498 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33499 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33500 { (exit 1); exit 1; }; }
33501 else
33502 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33503 echo "${ECHO_T}$MICROWIN" >&6; }
33504 cat >>confdefs.h <<\_ACEOF
33505 #define wxUSE_NANOX 1
33506 _ACEOF
33507
33508 fi
33509 fi
33510
33511 if test "$wxUSE_UNICODE" = "yes"; then
33512
33513
33514 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33515 if test -n "$ac_tool_prefix"; then
33516 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33517 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33520 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33521 echo $ECHO_N "(cached) $ECHO_C" >&6
33522 else
33523 case $PKG_CONFIG in
33524 [\\/]* | ?:[\\/]*)
33525 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33526 ;;
33527 *)
33528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33529 for as_dir in $PATH
33530 do
33531 IFS=$as_save_IFS
33532 test -z "$as_dir" && as_dir=.
33533 for ac_exec_ext in '' $ac_executable_extensions; do
33534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33535 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33537 break 2
33538 fi
33539 done
33540 done
33541 IFS=$as_save_IFS
33542
33543 ;;
33544 esac
33545 fi
33546 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33547 if test -n "$PKG_CONFIG"; then
33548 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33549 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33550 else
33551 { echo "$as_me:$LINENO: result: no" >&5
33552 echo "${ECHO_T}no" >&6; }
33553 fi
33554
33555
33556 fi
33557 if test -z "$ac_cv_path_PKG_CONFIG"; then
33558 ac_pt_PKG_CONFIG=$PKG_CONFIG
33559 # Extract the first word of "pkg-config", so it can be a program name with args.
33560 set dummy pkg-config; ac_word=$2
33561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33563 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33564 echo $ECHO_N "(cached) $ECHO_C" >&6
33565 else
33566 case $ac_pt_PKG_CONFIG in
33567 [\\/]* | ?:[\\/]*)
33568 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33569 ;;
33570 *)
33571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33572 for as_dir in $PATH
33573 do
33574 IFS=$as_save_IFS
33575 test -z "$as_dir" && as_dir=.
33576 for ac_exec_ext in '' $ac_executable_extensions; do
33577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33578 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33580 break 2
33581 fi
33582 done
33583 done
33584 IFS=$as_save_IFS
33585
33586 ;;
33587 esac
33588 fi
33589 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33590 if test -n "$ac_pt_PKG_CONFIG"; then
33591 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33592 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33593 else
33594 { echo "$as_me:$LINENO: result: no" >&5
33595 echo "${ECHO_T}no" >&6; }
33596 fi
33597
33598 if test "x$ac_pt_PKG_CONFIG" = x; then
33599 PKG_CONFIG=""
33600 else
33601 case $cross_compiling:$ac_tool_warned in
33602 yes:)
33603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33604 whose name does not start with the host triplet. If you think this
33605 configuration is useful to you, please write to autoconf@gnu.org." >&5
33606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33607 whose name does not start with the host triplet. If you think this
33608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33609 ac_tool_warned=yes ;;
33610 esac
33611 PKG_CONFIG=$ac_pt_PKG_CONFIG
33612 fi
33613 else
33614 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33615 fi
33616
33617 fi
33618 if test -n "$PKG_CONFIG"; then
33619 _pkg_min_version=0.9.0
33620 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33621 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33622 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33623 { echo "$as_me:$LINENO: result: yes" >&5
33624 echo "${ECHO_T}yes" >&6; }
33625 else
33626 { echo "$as_me:$LINENO: result: no" >&5
33627 echo "${ECHO_T}no" >&6; }
33628 PKG_CONFIG=""
33629 fi
33630
33631 fi
33632
33633
33634 pkg_failed=no
33635 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33636 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33637
33638 if test -n "$PKG_CONFIG"; then
33639 if test -n "$PANGOX_CFLAGS"; then
33640 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33641 else
33642 if test -n "$PKG_CONFIG" && \
33643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33644 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33645 ac_status=$?
33646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33647 (exit $ac_status); }; then
33648 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33649 else
33650 pkg_failed=yes
33651 fi
33652 fi
33653 else
33654 pkg_failed=untried
33655 fi
33656 if test -n "$PKG_CONFIG"; then
33657 if test -n "$PANGOX_LIBS"; then
33658 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33659 else
33660 if test -n "$PKG_CONFIG" && \
33661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33662 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33663 ac_status=$?
33664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33665 (exit $ac_status); }; then
33666 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33667 else
33668 pkg_failed=yes
33669 fi
33670 fi
33671 else
33672 pkg_failed=untried
33673 fi
33674
33675
33676
33677 if test $pkg_failed = yes; then
33678
33679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33680 _pkg_short_errors_supported=yes
33681 else
33682 _pkg_short_errors_supported=no
33683 fi
33684 if test $_pkg_short_errors_supported = yes; then
33685 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33686 else
33687 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33688 fi
33689 # Put the nasty error message in config.log where it belongs
33690 echo "$PANGOX_PKG_ERRORS" >&5
33691
33692
33693 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33694 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33695 { (exit 1); exit 1; }; }
33696
33697
33698 elif test $pkg_failed = untried; then
33699
33700 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33701 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33702 { (exit 1); exit 1; }; }
33703
33704
33705 else
33706 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33707 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33708 { echo "$as_me:$LINENO: result: yes" >&5
33709 echo "${ECHO_T}yes" >&6; }
33710
33711 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33712 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33713 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33714
33715 fi
33716
33717 pkg_failed=no
33718 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33719 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33720
33721 if test -n "$PKG_CONFIG"; then
33722 if test -n "$PANGOFT2_CFLAGS"; then
33723 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33724 else
33725 if test -n "$PKG_CONFIG" && \
33726 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33727 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33728 ac_status=$?
33729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33730 (exit $ac_status); }; then
33731 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33732 else
33733 pkg_failed=yes
33734 fi
33735 fi
33736 else
33737 pkg_failed=untried
33738 fi
33739 if test -n "$PKG_CONFIG"; then
33740 if test -n "$PANGOFT2_LIBS"; then
33741 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33742 else
33743 if test -n "$PKG_CONFIG" && \
33744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33745 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33746 ac_status=$?
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); }; then
33749 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33750 else
33751 pkg_failed=yes
33752 fi
33753 fi
33754 else
33755 pkg_failed=untried
33756 fi
33757
33758
33759
33760 if test $pkg_failed = yes; then
33761
33762 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33763 _pkg_short_errors_supported=yes
33764 else
33765 _pkg_short_errors_supported=no
33766 fi
33767 if test $_pkg_short_errors_supported = yes; then
33768 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33769 else
33770 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33771 fi
33772 # Put the nasty error message in config.log where it belongs
33773 echo "$PANGOFT2_PKG_ERRORS" >&5
33774
33775
33776 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33777 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33778 wxUSE_PRINTING_ARCHITECTURE="no"
33779
33780
33781 elif test $pkg_failed = untried; then
33782
33783 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33784 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33785 wxUSE_PRINTING_ARCHITECTURE="no"
33786
33787
33788 else
33789 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33790 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33791 { echo "$as_me:$LINENO: result: yes" >&5
33792 echo "${ECHO_T}yes" >&6; }
33793
33794 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33795 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33796 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33797
33798 fi
33799
33800 pkg_failed=no
33801 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33802 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33803
33804 if test -n "$PKG_CONFIG"; then
33805 if test -n "$PANGOXFT_CFLAGS"; then
33806 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33807 else
33808 if test -n "$PKG_CONFIG" && \
33809 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33810 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33811 ac_status=$?
33812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33813 (exit $ac_status); }; then
33814 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33815 else
33816 pkg_failed=yes
33817 fi
33818 fi
33819 else
33820 pkg_failed=untried
33821 fi
33822 if test -n "$PKG_CONFIG"; then
33823 if test -n "$PANGOXFT_LIBS"; then
33824 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33825 else
33826 if test -n "$PKG_CONFIG" && \
33827 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33828 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33829 ac_status=$?
33830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33831 (exit $ac_status); }; then
33832 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33833 else
33834 pkg_failed=yes
33835 fi
33836 fi
33837 else
33838 pkg_failed=untried
33839 fi
33840
33841
33842
33843 if test $pkg_failed = yes; then
33844
33845 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33846 _pkg_short_errors_supported=yes
33847 else
33848 _pkg_short_errors_supported=no
33849 fi
33850 if test $_pkg_short_errors_supported = yes; then
33851 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33852 else
33853 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33854 fi
33855 # Put the nasty error message in config.log where it belongs
33856 echo "$PANGOXFT_PKG_ERRORS" >&5
33857
33858
33859 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33860 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33861
33862
33863 elif test $pkg_failed = untried; then
33864
33865 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33866 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33867
33868
33869 else
33870 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33871 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33872 { echo "$as_me:$LINENO: result: yes" >&5
33873 echo "${ECHO_T}yes" >&6; }
33874
33875 cat >>confdefs.h <<\_ACEOF
33876 #define HAVE_PANGO_XFT 1
33877 _ACEOF
33878
33879 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33880 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33881 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33882
33883 fi
33884 save_LIBS="$LIBS"
33885 LIBS="$LIBS $PANGOX_LIBS"
33886
33887 for ac_func in pango_font_family_is_monospace
33888 do
33889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33893 echo $ECHO_N "(cached) $ECHO_C" >&6
33894 else
33895 cat >conftest.$ac_ext <<_ACEOF
33896 /* confdefs.h. */
33897 _ACEOF
33898 cat confdefs.h >>conftest.$ac_ext
33899 cat >>conftest.$ac_ext <<_ACEOF
33900 /* end confdefs.h. */
33901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33903 #define $ac_func innocuous_$ac_func
33904
33905 /* System header to define __stub macros and hopefully few prototypes,
33906 which can conflict with char $ac_func (); below.
33907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33908 <limits.h> exists even on freestanding compilers. */
33909
33910 #ifdef __STDC__
33911 # include <limits.h>
33912 #else
33913 # include <assert.h>
33914 #endif
33915
33916 #undef $ac_func
33917
33918 /* Override any GCC internal prototype to avoid an error.
33919 Use char because int might match the return type of a GCC
33920 builtin and then its argument prototype would still apply. */
33921 #ifdef __cplusplus
33922 extern "C"
33923 #endif
33924 char $ac_func ();
33925 /* The GNU C library defines this for functions which it implements
33926 to always fail with ENOSYS. Some functions are actually named
33927 something starting with __ and the normal name is an alias. */
33928 #if defined __stub_$ac_func || defined __stub___$ac_func
33929 choke me
33930 #endif
33931
33932 int
33933 main ()
33934 {
33935 return $ac_func ();
33936 ;
33937 return 0;
33938 }
33939 _ACEOF
33940 rm -f conftest.$ac_objext conftest$ac_exeext
33941 if { (ac_try="$ac_link"
33942 case "(($ac_try" in
33943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33944 *) ac_try_echo=$ac_try;;
33945 esac
33946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33947 (eval "$ac_link") 2>conftest.er1
33948 ac_status=$?
33949 grep -v '^ *+' conftest.er1 >conftest.err
33950 rm -f conftest.er1
33951 cat conftest.err >&5
33952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33953 (exit $ac_status); } && {
33954 test -z "$ac_c_werror_flag" ||
33955 test ! -s conftest.err
33956 } && test -s conftest$ac_exeext &&
33957 $as_test_x conftest$ac_exeext; then
33958 eval "$as_ac_var=yes"
33959 else
33960 echo "$as_me: failed program was:" >&5
33961 sed 's/^/| /' conftest.$ac_ext >&5
33962
33963 eval "$as_ac_var=no"
33964 fi
33965
33966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33967 conftest$ac_exeext conftest.$ac_ext
33968 fi
33969 ac_res=`eval echo '${'$as_ac_var'}'`
33970 { echo "$as_me:$LINENO: result: $ac_res" >&5
33971 echo "${ECHO_T}$ac_res" >&6; }
33972 if test `eval echo '${'$as_ac_var'}'` = yes; then
33973 cat >>confdefs.h <<_ACEOF
33974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33975 _ACEOF
33976
33977 fi
33978 done
33979
33980 LIBS="$save_LIBS"
33981 fi
33982
33983 wxUSE_UNIVERSAL="yes"
33984
33985 if test "$wxUSE_NANOX" = "yes"; then
33986 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33987 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"
33988 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33989 else
33990 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33991 fi
33992
33993 TOOLKIT=X11
33994 GUIDIST=X11_DIST
33995 fi
33996
33997 if test "$wxUSE_MOTIF" = 1; then
33998 if test "$wxUSE_UNICODE" = "yes"; then
33999 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
34000 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
34001 { (exit 1); exit 1; }; }
34002 fi
34003
34004 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
34005 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
34006
34007 ac_find_includes=
34008 for ac_dir in $SEARCH_INCLUDE /usr/include;
34009 do
34010 if test -f "$ac_dir/Xm/Xm.h"; then
34011 ac_find_includes=$ac_dir
34012 break
34013 fi
34014 done
34015
34016 if test "$ac_find_includes" != "" ; then
34017 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34018 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34019
34020 if test "x$ac_find_includes" = "x/usr/include"; then
34021 ac_path_to_include=""
34022 else
34023 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
34024 result=$?
34025 if test $result = 0; then
34026 ac_path_to_include=""
34027 else
34028 ac_path_to_include=" -I$ac_find_includes"
34029 fi
34030 fi
34031
34032 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
34033 else
34034 save_CFLAGS=$CFLAGS
34035 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34036
34037 cat >conftest.$ac_ext <<_ACEOF
34038 /* confdefs.h. */
34039 _ACEOF
34040 cat confdefs.h >>conftest.$ac_ext
34041 cat >>conftest.$ac_ext <<_ACEOF
34042 /* end confdefs.h. */
34043
34044 #include <Xm/Xm.h>
34045
34046 int
34047 main ()
34048 {
34049
34050 int version;
34051 version = xmUseVersion;
34052
34053 ;
34054 return 0;
34055 }
34056 _ACEOF
34057 rm -f conftest.$ac_objext
34058 if { (ac_try="$ac_compile"
34059 case "(($ac_try" in
34060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34061 *) ac_try_echo=$ac_try;;
34062 esac
34063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34064 (eval "$ac_compile") 2>conftest.er1
34065 ac_status=$?
34066 grep -v '^ *+' conftest.er1 >conftest.err
34067 rm -f conftest.er1
34068 cat conftest.err >&5
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); } && {
34071 test -z "$ac_c_werror_flag" ||
34072 test ! -s conftest.err
34073 } && test -s conftest.$ac_objext; then
34074
34075 { echo "$as_me:$LINENO: result: found in default search path" >&5
34076 echo "${ECHO_T}found in default search path" >&6; }
34077 COMPILED_X_PROGRAM=1
34078
34079 else
34080 echo "$as_me: failed program was:" >&5
34081 sed 's/^/| /' conftest.$ac_ext >&5
34082
34083
34084 { echo "$as_me:$LINENO: result: no" >&5
34085 echo "${ECHO_T}no" >&6; }
34086 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
34087 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
34088 { (exit 1); exit 1; }; }
34089
34090
34091 fi
34092
34093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34094
34095 CFLAGS=$save_CFLAGS
34096 fi
34097
34098
34099 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
34100 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
34101
34102 ac_find_libraries=
34103 for ac_dir in $SEARCH_LIB;
34104 do
34105 for ac_extension in a so sl dylib dll.a; do
34106 if test -f "$ac_dir/libXm.$ac_extension"; then
34107 ac_find_libraries=$ac_dir
34108 break 2
34109 fi
34110 done
34111 done
34112
34113
34114 if test "x$ac_find_libraries" != "x" ; then
34115 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34116 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34117
34118
34119 if test "$ac_find_libraries" = "default location"; then
34120 ac_path_to_link=""
34121 else
34122 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34123 result=$?
34124 if test $result = 0; then
34125 ac_path_to_link=""
34126 else
34127 ac_path_to_link=" -L$ac_find_libraries"
34128 fi
34129 fi
34130
34131 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34132 else
34133 save_CFLAGS=$CFLAGS
34134 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34135 save_LIBS="$LIBS"
34136 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
34137
34138 cat >conftest.$ac_ext <<_ACEOF
34139 /* confdefs.h. */
34140 _ACEOF
34141 cat confdefs.h >>conftest.$ac_ext
34142 cat >>conftest.$ac_ext <<_ACEOF
34143 /* end confdefs.h. */
34144
34145 #include <Xm/Xm.h>
34146
34147 int
34148 main ()
34149 {
34150
34151 int version;
34152 version = xmUseVersion;
34153
34154 ;
34155 return 0;
34156 }
34157 _ACEOF
34158 rm -f conftest.$ac_objext conftest$ac_exeext
34159 if { (ac_try="$ac_link"
34160 case "(($ac_try" in
34161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34162 *) ac_try_echo=$ac_try;;
34163 esac
34164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34165 (eval "$ac_link") 2>conftest.er1
34166 ac_status=$?
34167 grep -v '^ *+' conftest.er1 >conftest.err
34168 rm -f conftest.er1
34169 cat conftest.err >&5
34170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34171 (exit $ac_status); } && {
34172 test -z "$ac_c_werror_flag" ||
34173 test ! -s conftest.err
34174 } && test -s conftest$ac_exeext &&
34175 $as_test_x conftest$ac_exeext; then
34176
34177 { echo "$as_me:$LINENO: result: found in default search path" >&5
34178 echo "${ECHO_T}found in default search path" >&6; }
34179 COMPILED_X_PROGRAM=1
34180
34181 else
34182 echo "$as_me: failed program was:" >&5
34183 sed 's/^/| /' conftest.$ac_ext >&5
34184
34185
34186 { echo "$as_me:$LINENO: result: no" >&5
34187 echo "${ECHO_T}no" >&6; }
34188 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
34189 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
34190 { (exit 1); exit 1; }; }
34191
34192
34193 fi
34194
34195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34196 conftest$ac_exeext conftest.$ac_ext
34197
34198 CFLAGS=$save_CFLAGS
34199 LIBS="$save_LIBS"
34200 fi
34201
34202 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
34203 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
34204 libp_link=""
34205 libsm_ice_link=""
34206 libs_found=0
34207 for libp in "" " -lXp"; do
34208 if test "$libs_found" = "0"; then
34209 for libsm_ice in "" " -lSM -lICE"; do
34210 if test "$libs_found" = "0"; then
34211 save_LIBS="$LIBS"
34212 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
34213 save_CFLAGS=$CFLAGS
34214 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34215
34216 cat >conftest.$ac_ext <<_ACEOF
34217 /* confdefs.h. */
34218 _ACEOF
34219 cat confdefs.h >>conftest.$ac_ext
34220 cat >>conftest.$ac_ext <<_ACEOF
34221 /* end confdefs.h. */
34222
34223 #include <Xm/Xm.h>
34224 #include <Xm/List.h>
34225
34226 int
34227 main ()
34228 {
34229
34230 XmString string = NULL;
34231 Widget w = NULL;
34232 int position = 0;
34233 XmListAddItem(w, string, position);
34234
34235 ;
34236 return 0;
34237 }
34238 _ACEOF
34239 rm -f conftest.$ac_objext conftest$ac_exeext
34240 if { (ac_try="$ac_link"
34241 case "(($ac_try" in
34242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34243 *) ac_try_echo=$ac_try;;
34244 esac
34245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34246 (eval "$ac_link") 2>conftest.er1
34247 ac_status=$?
34248 grep -v '^ *+' conftest.er1 >conftest.err
34249 rm -f conftest.er1
34250 cat conftest.err >&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } && {
34253 test -z "$ac_c_werror_flag" ||
34254 test ! -s conftest.err
34255 } && test -s conftest$ac_exeext &&
34256 $as_test_x conftest$ac_exeext; then
34257
34258 libp_link="$libp"
34259 libsm_ice_link="$libsm_ice"
34260 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
34261 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
34262 libs_found=1
34263
34264 else
34265 echo "$as_me: failed program was:" >&5
34266 sed 's/^/| /' conftest.$ac_ext >&5
34267
34268
34269
34270 fi
34271
34272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34273 conftest$ac_exeext conftest.$ac_ext
34274
34275 LIBS="$save_LIBS"
34276 CFLAGS=$save_CFLAGS
34277 fi
34278 done
34279 fi
34280 done
34281
34282 if test "$libs_found" = "0"; then
34283 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
34284 echo "${ECHO_T}can't find the right libraries" >&6; }
34285 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
34286 echo "$as_me: error: can't link a simple motif program" >&2;}
34287 { (exit 1); exit 1; }; }
34288 fi
34289
34290 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
34291 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
34292 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
34293 echo $ECHO_N "(cached) $ECHO_C" >&6
34294 else
34295 ac_check_lib_save_LIBS=$LIBS
34296 LIBS="-lSgm $LIBS"
34297 cat >conftest.$ac_ext <<_ACEOF
34298 /* confdefs.h. */
34299 _ACEOF
34300 cat confdefs.h >>conftest.$ac_ext
34301 cat >>conftest.$ac_ext <<_ACEOF
34302 /* end confdefs.h. */
34303
34304 /* Override any GCC internal prototype to avoid an error.
34305 Use char because int might match the return type of a GCC
34306 builtin and then its argument prototype would still apply. */
34307 #ifdef __cplusplus
34308 extern "C"
34309 #endif
34310 char SgCreateList ();
34311 int
34312 main ()
34313 {
34314 return SgCreateList ();
34315 ;
34316 return 0;
34317 }
34318 _ACEOF
34319 rm -f conftest.$ac_objext conftest$ac_exeext
34320 if { (ac_try="$ac_link"
34321 case "(($ac_try" in
34322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34323 *) ac_try_echo=$ac_try;;
34324 esac
34325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34326 (eval "$ac_link") 2>conftest.er1
34327 ac_status=$?
34328 grep -v '^ *+' conftest.er1 >conftest.err
34329 rm -f conftest.er1
34330 cat conftest.err >&5
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); } && {
34333 test -z "$ac_c_werror_flag" ||
34334 test ! -s conftest.err
34335 } && test -s conftest$ac_exeext &&
34336 $as_test_x conftest$ac_exeext; then
34337 ac_cv_lib_Sgm_SgCreateList=yes
34338 else
34339 echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.$ac_ext >&5
34341
34342 ac_cv_lib_Sgm_SgCreateList=no
34343 fi
34344
34345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34346 conftest$ac_exeext conftest.$ac_ext
34347 LIBS=$ac_check_lib_save_LIBS
34348 fi
34349 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34350 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34351 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34352 libsgm_link=" -lSgm"
34353 fi
34354
34355
34356 save_CFLAGS=$CFLAGS
34357 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34358
34359 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34360 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34361 if test "${wx_cv_lib_motif2+set}" = set; then
34362 echo $ECHO_N "(cached) $ECHO_C" >&6
34363 else
34364 cat >conftest.$ac_ext <<_ACEOF
34365 /* confdefs.h. */
34366 _ACEOF
34367 cat confdefs.h >>conftest.$ac_ext
34368 cat >>conftest.$ac_ext <<_ACEOF
34369 /* end confdefs.h. */
34370
34371 #include <Xm/Xm.h>
34372
34373 int
34374 main ()
34375 {
34376
34377 #if XmVersion < 2000
34378 Not Motif 2
34379 #endif
34380
34381 ;
34382 return 0;
34383 }
34384 _ACEOF
34385 rm -f conftest.$ac_objext
34386 if { (ac_try="$ac_compile"
34387 case "(($ac_try" in
34388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34389 *) ac_try_echo=$ac_try;;
34390 esac
34391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34392 (eval "$ac_compile") 2>conftest.er1
34393 ac_status=$?
34394 grep -v '^ *+' conftest.er1 >conftest.err
34395 rm -f conftest.er1
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } && {
34399 test -z "$ac_c_werror_flag" ||
34400 test ! -s conftest.err
34401 } && test -s conftest.$ac_objext; then
34402 wx_cv_lib_motif2="yes"
34403 else
34404 echo "$as_me: failed program was:" >&5
34405 sed 's/^/| /' conftest.$ac_ext >&5
34406
34407 wx_cv_lib_motif2="no"
34408 fi
34409
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411 fi
34412 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34413 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34414 if test "$wx_cv_lib_motif2" = "yes"; then
34415 cat >>confdefs.h <<\_ACEOF
34416 #define __WXMOTIF20__ 1
34417 _ACEOF
34418
34419 else
34420 cat >>confdefs.h <<\_ACEOF
34421 #define __WXMOTIF20__ 0
34422 _ACEOF
34423
34424 fi
34425
34426 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34427 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34428 if test "${wx_cv_lib_lesstif+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 cat >conftest.$ac_ext <<_ACEOF
34432 /* confdefs.h. */
34433 _ACEOF
34434 cat confdefs.h >>conftest.$ac_ext
34435 cat >>conftest.$ac_ext <<_ACEOF
34436 /* end confdefs.h. */
34437
34438 #include <Xm/Xm.h>
34439
34440 int
34441 main ()
34442 {
34443
34444 #if !defined(LesstifVersion) || LesstifVersion <= 0
34445 Not Lesstif
34446 #endif
34447
34448 ;
34449 return 0;
34450 }
34451 _ACEOF
34452 rm -f conftest.$ac_objext
34453 if { (ac_try="$ac_compile"
34454 case "(($ac_try" in
34455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34456 *) ac_try_echo=$ac_try;;
34457 esac
34458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34459 (eval "$ac_compile") 2>conftest.er1
34460 ac_status=$?
34461 grep -v '^ *+' conftest.er1 >conftest.err
34462 rm -f conftest.er1
34463 cat conftest.err >&5
34464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34465 (exit $ac_status); } && {
34466 test -z "$ac_c_werror_flag" ||
34467 test ! -s conftest.err
34468 } && test -s conftest.$ac_objext; then
34469 wx_cv_lib_lesstif="yes"
34470 else
34471 echo "$as_me: failed program was:" >&5
34472 sed 's/^/| /' conftest.$ac_ext >&5
34473
34474 wx_cv_lib_lesstif="no"
34475 fi
34476
34477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34478
34479 fi
34480 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34481 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34482 if test "$wx_cv_lib_lesstif" = "yes"; then
34483 cat >>confdefs.h <<\_ACEOF
34484 #define __WXLESSTIF__ 1
34485 _ACEOF
34486
34487 else
34488 cat >>confdefs.h <<\_ACEOF
34489 #define __WXLESSTIF__ 0
34490 _ACEOF
34491
34492 fi
34493
34494 CFLAGS=$save_CFLAGS
34495
34496 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34497 TOOLKIT=MOTIF
34498 GUIDIST=MOTIF_DIST
34499 fi
34500
34501 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34502 if test "$wxUSE_LIBXPM" = "sys"; then
34503 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34504 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34505
34506 ac_find_libraries=
34507 for ac_dir in $SEARCH_LIB;
34508 do
34509 for ac_extension in a so sl dylib dll.a; do
34510 if test -f "$ac_dir/libXpm.$ac_extension"; then
34511 ac_find_libraries=$ac_dir
34512 break 2
34513 fi
34514 done
34515 done
34516
34517 if test "$ac_find_libraries" != "" ; then
34518
34519 if test "$ac_find_libraries" = "default location"; then
34520 ac_path_to_link=""
34521 else
34522 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34523 result=$?
34524 if test $result = 0; then
34525 ac_path_to_link=""
34526 else
34527 ac_path_to_link=" -L$ac_find_libraries"
34528 fi
34529 fi
34530
34531 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34532 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34533 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34534
34535 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34536 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34537 if test "${wx_cv_x11_xpm_h+set}" = set; then
34538 echo $ECHO_N "(cached) $ECHO_C" >&6
34539 else
34540
34541 save_CFLAGS=$CFLAGS
34542 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34543
34544 cat >conftest.$ac_ext <<_ACEOF
34545 /* confdefs.h. */
34546 _ACEOF
34547 cat confdefs.h >>conftest.$ac_ext
34548 cat >>conftest.$ac_ext <<_ACEOF
34549 /* end confdefs.h. */
34550
34551 #include <X11/xpm.h>
34552
34553 int
34554 main ()
34555 {
34556
34557 int version;
34558 version = XpmLibraryVersion();
34559
34560 ;
34561 return 0;
34562 }
34563 _ACEOF
34564 rm -f conftest.$ac_objext
34565 if { (ac_try="$ac_compile"
34566 case "(($ac_try" in
34567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34568 *) ac_try_echo=$ac_try;;
34569 esac
34570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34571 (eval "$ac_compile") 2>conftest.er1
34572 ac_status=$?
34573 grep -v '^ *+' conftest.er1 >conftest.err
34574 rm -f conftest.er1
34575 cat conftest.err >&5
34576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577 (exit $ac_status); } && {
34578 test -z "$ac_c_werror_flag" ||
34579 test ! -s conftest.err
34580 } && test -s conftest.$ac_objext; then
34581 wx_cv_x11_xpm_h=yes
34582 else
34583 echo "$as_me: failed program was:" >&5
34584 sed 's/^/| /' conftest.$ac_ext >&5
34585
34586 wx_cv_x11_xpm_h=no
34587
34588 fi
34589
34590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591
34592 CFLAGS=$save_CFLAGS
34593
34594
34595 fi
34596 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34597 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34598
34599 if test $wx_cv_x11_xpm_h = "yes"; then
34600 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34601 cat >>confdefs.h <<\_ACEOF
34602 #define wxHAVE_LIB_XPM 1
34603 _ACEOF
34604
34605 else
34606 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34607 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34608 fi
34609 fi
34610
34611 fi
34612
34613 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34614 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34615 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34616 echo $ECHO_N "(cached) $ECHO_C" >&6
34617 else
34618 ac_check_lib_save_LIBS=$LIBS
34619 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34620 cat >conftest.$ac_ext <<_ACEOF
34621 /* confdefs.h. */
34622 _ACEOF
34623 cat confdefs.h >>conftest.$ac_ext
34624 cat >>conftest.$ac_ext <<_ACEOF
34625 /* end confdefs.h. */
34626
34627 /* Override any GCC internal prototype to avoid an error.
34628 Use char because int might match the return type of a GCC
34629 builtin and then its argument prototype would still apply. */
34630 #ifdef __cplusplus
34631 extern "C"
34632 #endif
34633 char XShapeQueryExtension ();
34634 int
34635 main ()
34636 {
34637 return XShapeQueryExtension ();
34638 ;
34639 return 0;
34640 }
34641 _ACEOF
34642 rm -f conftest.$ac_objext conftest$ac_exeext
34643 if { (ac_try="$ac_link"
34644 case "(($ac_try" in
34645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34646 *) ac_try_echo=$ac_try;;
34647 esac
34648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34649 (eval "$ac_link") 2>conftest.er1
34650 ac_status=$?
34651 grep -v '^ *+' conftest.er1 >conftest.err
34652 rm -f conftest.er1
34653 cat conftest.err >&5
34654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34655 (exit $ac_status); } && {
34656 test -z "$ac_c_werror_flag" ||
34657 test ! -s conftest.err
34658 } && test -s conftest$ac_exeext &&
34659 $as_test_x conftest$ac_exeext; then
34660 ac_cv_lib_Xext_XShapeQueryExtension=yes
34661 else
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34664
34665 ac_cv_lib_Xext_XShapeQueryExtension=no
34666 fi
34667
34668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34669 conftest$ac_exeext conftest.$ac_ext
34670 LIBS=$ac_check_lib_save_LIBS
34671 fi
34672 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34673 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34674 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34675
34676 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34677 wxHAVE_XEXT_LIB=1
34678
34679 fi
34680
34681
34682 if test "$wxHAVE_XEXT_LIB" = 1; then
34683 save_CFLAGS="$CFLAGS"
34684 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34685
34686 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34687 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34688 cat >conftest.$ac_ext <<_ACEOF
34689 /* confdefs.h. */
34690 _ACEOF
34691 cat confdefs.h >>conftest.$ac_ext
34692 cat >>conftest.$ac_ext <<_ACEOF
34693 /* end confdefs.h. */
34694
34695 #include <X11/Xlib.h>
34696 #include <X11/extensions/shape.h>
34697
34698 int
34699 main ()
34700 {
34701
34702 int dummy1, dummy2;
34703 XShapeQueryExtension((Display*)NULL,
34704 (int*)NULL, (int*)NULL);
34705
34706 ;
34707 return 0;
34708 }
34709 _ACEOF
34710 rm -f conftest.$ac_objext
34711 if { (ac_try="$ac_compile"
34712 case "(($ac_try" in
34713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34714 *) ac_try_echo=$ac_try;;
34715 esac
34716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34717 (eval "$ac_compile") 2>conftest.er1
34718 ac_status=$?
34719 grep -v '^ *+' conftest.er1 >conftest.err
34720 rm -f conftest.er1
34721 cat conftest.err >&5
34722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34723 (exit $ac_status); } && {
34724 test -z "$ac_c_werror_flag" ||
34725 test ! -s conftest.err
34726 } && test -s conftest.$ac_objext; then
34727
34728 cat >>confdefs.h <<\_ACEOF
34729 #define HAVE_XSHAPE 1
34730 _ACEOF
34731
34732 { echo "$as_me:$LINENO: result: found" >&5
34733 echo "${ECHO_T}found" >&6; }
34734
34735 else
34736 echo "$as_me: failed program was:" >&5
34737 sed 's/^/| /' conftest.$ac_ext >&5
34738
34739
34740 { echo "$as_me:$LINENO: result: not found" >&5
34741 echo "${ECHO_T}not found" >&6; }
34742
34743 fi
34744
34745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34746 CFLAGS="$save_CFLAGS"
34747
34748 fi
34749 fi
34750
34751 if test "$wxUSE_MAC" = 1; then
34752 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34753 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34754 if test "$GCC" = yes; then
34755 { echo "$as_me:$LINENO: result: gcc" >&5
34756 echo "${ECHO_T}gcc" >&6; }
34757 CPPFLAGS_PASCAL="-fpascal-strings"
34758 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34759 { echo "$as_me:$LINENO: result: xlc" >&5
34760 echo "${ECHO_T}xlc" >&6; }
34761 CPPFLAGS_PASCAL="-qmacpstr"
34762 else
34763 { echo "$as_me:$LINENO: result: none" >&5
34764 echo "${ECHO_T}none" >&6; }
34765 fi
34766
34767 if test "x$wxUSE_UNIX" = "xyes"; then
34768 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34769 else
34770 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
34771 fi
34772
34773 TOOLKIT=MAC
34774 GUIDIST=MACX_DIST
34775 WXBASEPORT="_carbon"
34776 fi
34777
34778 if test "$wxUSE_COCOA" = 1; then
34779 TOOLKIT=COCOA
34780 GUIDIST=COCOA_DIST
34781 fi
34782
34783 if test "$wxUSE_PM" = 1; then
34784 TOOLKIT=PM
34785 GUIDIST=PM_DIST
34786 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34787 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34788 if test "${wx_cv_spbcdata+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 else
34791
34792 cat >conftest.$ac_ext <<_ACEOF
34793 /* confdefs.h. */
34794 _ACEOF
34795 cat confdefs.h >>conftest.$ac_ext
34796 cat >>conftest.$ac_ext <<_ACEOF
34797 /* end confdefs.h. */
34798
34799 #define INCL_PM
34800 #include <os2.h>
34801
34802 int
34803 main ()
34804 {
34805
34806 SPBCDATA test;
34807
34808 ;
34809 return 0;
34810 }
34811 _ACEOF
34812 rm -f conftest.$ac_objext
34813 if { (ac_try="$ac_compile"
34814 case "(($ac_try" in
34815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34816 *) ac_try_echo=$ac_try;;
34817 esac
34818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34819 (eval "$ac_compile") 2>conftest.er1
34820 ac_status=$?
34821 grep -v '^ *+' conftest.er1 >conftest.err
34822 rm -f conftest.er1
34823 cat conftest.err >&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); } && {
34826 test -z "$ac_c_werror_flag" ||
34827 test ! -s conftest.err
34828 } && test -s conftest.$ac_objext; then
34829 wx_cv_spbcdata=yes
34830 else
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.$ac_ext >&5
34833
34834 wx_cv_spbcdata=no
34835
34836 fi
34837
34838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34839
34840
34841 fi
34842 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34843 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34844
34845 if test $wx_cv_spbcdata = "yes"; then
34846 cat >>confdefs.h <<\_ACEOF
34847 #define HAVE_SPBCDATA 1
34848 _ACEOF
34849
34850 fi
34851 fi
34852
34853 if test "$TOOLKIT" = "PM" ; then
34854 TOOLKIT_DIR="os2"
34855 else
34856 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
34857 fi
34858
34859 if test "$wxUSE_UNIVERSAL" = "yes"; then
34860 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34861 WIDGET_SET=univ
34862 fi
34863
34864 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34865 DISTDIR="wx\$(TOOLKIT)"
34866 else
34867 USE_GUI=0
34868
34869 TOOLKIT_DIR="base"
34870
34871 if test "$USE_WIN32" = 1 ; then
34872 TOOLKIT="MSW"
34873 fi
34874
34875 GUIDIST="BASE_DIST"
34876 DISTDIR="wxBase"
34877 fi
34878
34879
34880
34881 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34882 if test "$TOOLKIT" = "DFB" ; then
34883 wxUSE_UNICODE_UTF8=yes
34884 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
34885 wxUSE_UNICODE_UTF8=yes
34886 elif test "$USE_OS2" = "1" ; then
34887 wxUSE_UNICODE_UTF8=yes
34888 else
34889 wxUSE_UNICODE_UTF8=no
34890 fi
34891 fi
34892
34893
34894 if test "$wxUSE_GUI" = "yes"; then
34895 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34896
34897 for ac_header in X11/Xlib.h
34898 do
34899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34900 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34903 echo $ECHO_N "(cached) $ECHO_C" >&6
34904 else
34905 cat >conftest.$ac_ext <<_ACEOF
34906 /* confdefs.h. */
34907 _ACEOF
34908 cat confdefs.h >>conftest.$ac_ext
34909 cat >>conftest.$ac_ext <<_ACEOF
34910 /* end confdefs.h. */
34911
34912
34913 #include <$ac_header>
34914 _ACEOF
34915 rm -f conftest.$ac_objext
34916 if { (ac_try="$ac_compile"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34920 esac
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_compile") 2>conftest.er1
34923 ac_status=$?
34924 grep -v '^ *+' conftest.er1 >conftest.err
34925 rm -f conftest.er1
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_c_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest.$ac_objext; then
34932 eval "$as_ac_Header=yes"
34933 else
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34936
34937 eval "$as_ac_Header=no"
34938 fi
34939
34940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34941 fi
34942 ac_res=`eval echo '${'$as_ac_Header'}'`
34943 { echo "$as_me:$LINENO: result: $ac_res" >&5
34944 echo "${ECHO_T}$ac_res" >&6; }
34945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34946 cat >>confdefs.h <<_ACEOF
34947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34948 _ACEOF
34949
34950 fi
34951
34952 done
34953
34954
34955 for ac_header in X11/XKBlib.h
34956 do
34957 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34958 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34959 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34960 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34961 echo $ECHO_N "(cached) $ECHO_C" >&6
34962 else
34963 cat >conftest.$ac_ext <<_ACEOF
34964 /* confdefs.h. */
34965 _ACEOF
34966 cat confdefs.h >>conftest.$ac_ext
34967 cat >>conftest.$ac_ext <<_ACEOF
34968 /* end confdefs.h. */
34969
34970 #if HAVE_X11_XLIB_H
34971 #include <X11/Xlib.h>
34972 #endif
34973
34974
34975 #include <$ac_header>
34976 _ACEOF
34977 rm -f conftest.$ac_objext
34978 if { (ac_try="$ac_compile"
34979 case "(($ac_try" in
34980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34981 *) ac_try_echo=$ac_try;;
34982 esac
34983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34984 (eval "$ac_compile") 2>conftest.er1
34985 ac_status=$?
34986 grep -v '^ *+' conftest.er1 >conftest.err
34987 rm -f conftest.er1
34988 cat conftest.err >&5
34989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34990 (exit $ac_status); } && {
34991 test -z "$ac_c_werror_flag" ||
34992 test ! -s conftest.err
34993 } && test -s conftest.$ac_objext; then
34994 eval "$as_ac_Header=yes"
34995 else
34996 echo "$as_me: failed program was:" >&5
34997 sed 's/^/| /' conftest.$ac_ext >&5
34998
34999 eval "$as_ac_Header=no"
35000 fi
35001
35002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35003 fi
35004 ac_res=`eval echo '${'$as_ac_Header'}'`
35005 { echo "$as_me:$LINENO: result: $ac_res" >&5
35006 echo "${ECHO_T}$ac_res" >&6; }
35007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35008 cat >>confdefs.h <<_ACEOF
35009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35010 _ACEOF
35011
35012 fi
35013
35014 done
35015
35016 fi
35017 fi
35018
35019
35020
35021 IODBC_C_SRC=""
35022
35023
35024 if test "$TOOLKIT" != "MSW" ; then
35025
35026 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
35027
35028 { echo "$as_me:$LINENO: checking for sql.h" >&5
35029 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
35030 if test "${ac_cv_header_sql_h+set}" = set; then
35031 echo $ECHO_N "(cached) $ECHO_C" >&6
35032 else
35033 cat >conftest.$ac_ext <<_ACEOF
35034 /* confdefs.h. */
35035 _ACEOF
35036 cat confdefs.h >>conftest.$ac_ext
35037 cat >>conftest.$ac_ext <<_ACEOF
35038 /* end confdefs.h. */
35039
35040
35041 #include <sql.h>
35042 _ACEOF
35043 rm -f conftest.$ac_objext
35044 if { (ac_try="$ac_compile"
35045 case "(($ac_try" in
35046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35047 *) ac_try_echo=$ac_try;;
35048 esac
35049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35050 (eval "$ac_compile") 2>conftest.er1
35051 ac_status=$?
35052 grep -v '^ *+' conftest.er1 >conftest.err
35053 rm -f conftest.er1
35054 cat conftest.err >&5
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); } && {
35057 test -z "$ac_c_werror_flag" ||
35058 test ! -s conftest.err
35059 } && test -s conftest.$ac_objext; then
35060 ac_cv_header_sql_h=yes
35061 else
35062 echo "$as_me: failed program was:" >&5
35063 sed 's/^/| /' conftest.$ac_ext >&5
35064
35065 ac_cv_header_sql_h=no
35066 fi
35067
35068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35069 fi
35070 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
35071 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
35072 if test $ac_cv_header_sql_h = yes; then
35073 found_sql_h=1
35074 fi
35075
35076
35077 if test "x$found_sql_h" = "x1" ; then
35078 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
35079 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
35080 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
35081 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 else
35083 ac_check_lib_save_LIBS=$LIBS
35084 LIBS="-liodbc $LIBS"
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091
35092 /* Override any GCC internal prototype to avoid an error.
35093 Use char because int might match the return type of a GCC
35094 builtin and then its argument prototype would still apply. */
35095 #ifdef __cplusplus
35096 extern "C"
35097 #endif
35098 char SQLAllocEnv ();
35099 int
35100 main ()
35101 {
35102 return SQLAllocEnv ();
35103 ;
35104 return 0;
35105 }
35106 _ACEOF
35107 rm -f conftest.$ac_objext conftest$ac_exeext
35108 if { (ac_try="$ac_link"
35109 case "(($ac_try" in
35110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35111 *) ac_try_echo=$ac_try;;
35112 esac
35113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35114 (eval "$ac_link") 2>conftest.er1
35115 ac_status=$?
35116 grep -v '^ *+' conftest.er1 >conftest.err
35117 rm -f conftest.er1
35118 cat conftest.err >&5
35119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35120 (exit $ac_status); } && {
35121 test -z "$ac_c_werror_flag" ||
35122 test ! -s conftest.err
35123 } && test -s conftest$ac_exeext &&
35124 $as_test_x conftest$ac_exeext; then
35125 ac_cv_lib_iodbc_SQLAllocEnv=yes
35126 else
35127 echo "$as_me: failed program was:" >&5
35128 sed 's/^/| /' conftest.$ac_ext >&5
35129
35130 ac_cv_lib_iodbc_SQLAllocEnv=no
35131 fi
35132
35133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35134 conftest$ac_exeext conftest.$ac_ext
35135 LIBS=$ac_check_lib_save_LIBS
35136 fi
35137 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
35138 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
35139 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
35140 ODBC_LINK=" -liodbc"
35141 else
35142
35143 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
35144 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
35145 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
35146 echo $ECHO_N "(cached) $ECHO_C" >&6
35147 else
35148 ac_check_lib_save_LIBS=$LIBS
35149 LIBS="-lunixodbc $LIBS"
35150 cat >conftest.$ac_ext <<_ACEOF
35151 /* confdefs.h. */
35152 _ACEOF
35153 cat confdefs.h >>conftest.$ac_ext
35154 cat >>conftest.$ac_ext <<_ACEOF
35155 /* end confdefs.h. */
35156
35157 /* Override any GCC internal prototype to avoid an error.
35158 Use char because int might match the return type of a GCC
35159 builtin and then its argument prototype would still apply. */
35160 #ifdef __cplusplus
35161 extern "C"
35162 #endif
35163 char SQLAllocEnv ();
35164 int
35165 main ()
35166 {
35167 return SQLAllocEnv ();
35168 ;
35169 return 0;
35170 }
35171 _ACEOF
35172 rm -f conftest.$ac_objext conftest$ac_exeext
35173 if { (ac_try="$ac_link"
35174 case "(($ac_try" in
35175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35176 *) ac_try_echo=$ac_try;;
35177 esac
35178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35179 (eval "$ac_link") 2>conftest.er1
35180 ac_status=$?
35181 grep -v '^ *+' conftest.er1 >conftest.err
35182 rm -f conftest.er1
35183 cat conftest.err >&5
35184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35185 (exit $ac_status); } && {
35186 test -z "$ac_c_werror_flag" ||
35187 test ! -s conftest.err
35188 } && test -s conftest$ac_exeext &&
35189 $as_test_x conftest$ac_exeext; then
35190 ac_cv_lib_unixodbc_SQLAllocEnv=yes
35191 else
35192 echo "$as_me: failed program was:" >&5
35193 sed 's/^/| /' conftest.$ac_ext >&5
35194
35195 ac_cv_lib_unixodbc_SQLAllocEnv=no
35196 fi
35197
35198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35199 conftest$ac_exeext conftest.$ac_ext
35200 LIBS=$ac_check_lib_save_LIBS
35201 fi
35202 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
35203 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
35204 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
35205 ODBC_LINK=" -lunixodbc"
35206 else
35207
35208 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
35209 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
35210 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
35211 echo $ECHO_N "(cached) $ECHO_C" >&6
35212 else
35213 ac_check_lib_save_LIBS=$LIBS
35214 LIBS="-lodbc $LIBS"
35215 cat >conftest.$ac_ext <<_ACEOF
35216 /* confdefs.h. */
35217 _ACEOF
35218 cat confdefs.h >>conftest.$ac_ext
35219 cat >>conftest.$ac_ext <<_ACEOF
35220 /* end confdefs.h. */
35221
35222 /* Override any GCC internal prototype to avoid an error.
35223 Use char because int might match the return type of a GCC
35224 builtin and then its argument prototype would still apply. */
35225 #ifdef __cplusplus
35226 extern "C"
35227 #endif
35228 char SQLAllocEnv ();
35229 int
35230 main ()
35231 {
35232 return SQLAllocEnv ();
35233 ;
35234 return 0;
35235 }
35236 _ACEOF
35237 rm -f conftest.$ac_objext conftest$ac_exeext
35238 if { (ac_try="$ac_link"
35239 case "(($ac_try" in
35240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35241 *) ac_try_echo=$ac_try;;
35242 esac
35243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35244 (eval "$ac_link") 2>conftest.er1
35245 ac_status=$?
35246 grep -v '^ *+' conftest.er1 >conftest.err
35247 rm -f conftest.er1
35248 cat conftest.err >&5
35249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35250 (exit $ac_status); } && {
35251 test -z "$ac_c_werror_flag" ||
35252 test ! -s conftest.err
35253 } && test -s conftest$ac_exeext &&
35254 $as_test_x conftest$ac_exeext; then
35255 ac_cv_lib_odbc_SQLAllocEnv=yes
35256 else
35257 echo "$as_me: failed program was:" >&5
35258 sed 's/^/| /' conftest.$ac_ext >&5
35259
35260 ac_cv_lib_odbc_SQLAllocEnv=no
35261 fi
35262
35263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35264 conftest$ac_exeext conftest.$ac_ext
35265 LIBS=$ac_check_lib_save_LIBS
35266 fi
35267 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
35268 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
35269 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
35270 ODBC_LINK=" -lodbc"
35271 fi
35272
35273
35274 fi
35275
35276
35277 fi
35278
35279 fi
35280 if test "x$ODBC_LINK" = "x" ; then
35281 if test "$wxUSE_ODBC" = "sys" ; then
35282 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
35283 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
35284 { (exit 1); exit 1; }; }
35285 else
35286 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
35287 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
35288 wxUSE_ODBC=builtin
35289 fi
35290 else
35291 wxUSE_ODBC=sys
35292 fi
35293 fi
35294
35295 if test "$wxUSE_ODBC" = "builtin" ; then
35296 cat >>confdefs.h <<\_ACEOF
35297 #define wxUSE_BUILTIN_IODBC 1
35298 _ACEOF
35299
35300 fi
35301 fi
35302
35303 if test "$wxUSE_ODBC" != "no" ; then
35304 cat >>confdefs.h <<\_ACEOF
35305 #define wxUSE_ODBC 1
35306 _ACEOF
35307
35308 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
35309
35310 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
35311 fi
35312
35313
35314 if test "$wxUSE_DISPLAY" = "yes"; then
35315 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35316 { echo "$as_me:$LINENO: checking for Xinerama" >&5
35317 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
35318
35319 ac_find_libraries=
35320 for ac_dir in $SEARCH_LIB;
35321 do
35322 for ac_extension in a so sl dylib dll.a; do
35323 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35324 ac_find_libraries=$ac_dir
35325 break 2
35326 fi
35327 done
35328 done
35329
35330 if test "$ac_find_libraries" != "" ; then
35331
35332 if test "$ac_find_libraries" = "default location"; then
35333 ac_path_to_link=""
35334 else
35335 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35336 result=$?
35337 if test $result = 0; then
35338 ac_path_to_link=""
35339 else
35340 ac_path_to_link=" -L$ac_find_libraries"
35341 fi
35342 fi
35343
35344 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35345 LDFLAGS="$LDFLAGS $ac_path_to_link"
35346 fi
35347 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35348 { echo "$as_me:$LINENO: result: yes" >&5
35349 echo "${ECHO_T}yes" >&6; }
35350
35351 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
35352 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
35353
35354 ac_find_libraries=
35355 for ac_dir in $SEARCH_LIB;
35356 do
35357 for ac_extension in a so sl dylib dll.a; do
35358 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35359 ac_find_libraries=$ac_dir
35360 break 2
35361 fi
35362 done
35363 done
35364
35365 if test "$ac_find_libraries" != "" ; then
35366 { echo "$as_me:$LINENO: result: yes" >&5
35367 echo "${ECHO_T}yes" >&6; }
35368
35369 for ac_header in X11/extensions/xf86vmode.h
35370 do
35371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35372 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35374 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35375 echo $ECHO_N "(cached) $ECHO_C" >&6
35376 else
35377 cat >conftest.$ac_ext <<_ACEOF
35378 /* confdefs.h. */
35379 _ACEOF
35380 cat confdefs.h >>conftest.$ac_ext
35381 cat >>conftest.$ac_ext <<_ACEOF
35382 /* end confdefs.h. */
35383
35384 #if HAVE_X11_XLIB_H
35385 #include <X11/Xlib.h>
35386 #endif
35387
35388
35389 #include <$ac_header>
35390 _ACEOF
35391 rm -f conftest.$ac_objext
35392 if { (ac_try="$ac_compile"
35393 case "(($ac_try" in
35394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35395 *) ac_try_echo=$ac_try;;
35396 esac
35397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35398 (eval "$ac_compile") 2>conftest.er1
35399 ac_status=$?
35400 grep -v '^ *+' conftest.er1 >conftest.err
35401 rm -f conftest.er1
35402 cat conftest.err >&5
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); } && {
35405 test -z "$ac_c_werror_flag" ||
35406 test ! -s conftest.err
35407 } && test -s conftest.$ac_objext; then
35408 eval "$as_ac_Header=yes"
35409 else
35410 echo "$as_me: failed program was:" >&5
35411 sed 's/^/| /' conftest.$ac_ext >&5
35412
35413 eval "$as_ac_Header=no"
35414 fi
35415
35416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35417 fi
35418 ac_res=`eval echo '${'$as_ac_Header'}'`
35419 { echo "$as_me:$LINENO: result: $ac_res" >&5
35420 echo "${ECHO_T}$ac_res" >&6; }
35421 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35422 cat >>confdefs.h <<_ACEOF
35423 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35424 _ACEOF
35425
35426 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35427
35428 fi
35429
35430 done
35431
35432 else
35433 { echo "$as_me:$LINENO: result: no" >&5
35434 echo "${ECHO_T}no" >&6; }
35435 fi
35436
35437 else
35438 { echo "$as_me:$LINENO: result: no" >&5
35439 echo "${ECHO_T}no" >&6; }
35440 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35441 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35442 wxUSE_DISPLAY="no"
35443 fi
35444 elif test "$wxUSE_MSW" = 1; then
35445 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35446 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35447 if test "${ac_cv_header_ddraw_h+set}" = set; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35449 else
35450 cat >conftest.$ac_ext <<_ACEOF
35451 /* confdefs.h. */
35452 _ACEOF
35453 cat confdefs.h >>conftest.$ac_ext
35454 cat >>conftest.$ac_ext <<_ACEOF
35455 /* end confdefs.h. */
35456 #include <windows.h>
35457
35458 #include <ddraw.h>
35459 _ACEOF
35460 rm -f conftest.$ac_objext
35461 if { (ac_try="$ac_compile"
35462 case "(($ac_try" in
35463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35464 *) ac_try_echo=$ac_try;;
35465 esac
35466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35467 (eval "$ac_compile") 2>conftest.er1
35468 ac_status=$?
35469 grep -v '^ *+' conftest.er1 >conftest.err
35470 rm -f conftest.er1
35471 cat conftest.err >&5
35472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35473 (exit $ac_status); } && {
35474 test -z "$ac_c_werror_flag" ||
35475 test ! -s conftest.err
35476 } && test -s conftest.$ac_objext; then
35477 ac_cv_header_ddraw_h=yes
35478 else
35479 echo "$as_me: failed program was:" >&5
35480 sed 's/^/| /' conftest.$ac_ext >&5
35481
35482 ac_cv_header_ddraw_h=no
35483 fi
35484
35485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35486 fi
35487 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35488 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35489
35490
35491 fi
35492 fi
35493
35494 if test "$wxUSE_DETECT_SM" = "yes"; then
35495 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
35496 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
35497 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
35498
35499 ac_find_libraries=
35500 for ac_dir in $SEARCH_LIB;
35501 do
35502 for ac_extension in a so sl dylib dll.a; do
35503 if test -f "$ac_dir/libSM.$ac_extension"; then
35504 ac_find_libraries=$ac_dir
35505 break 2
35506 fi
35507 done
35508 done
35509
35510 if test "$ac_find_libraries" != "" ; then
35511
35512 if test "$ac_find_libraries" = "default location"; then
35513 ac_path_to_link=""
35514 else
35515 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35516 result=$?
35517 if test $result = 0; then
35518 ac_path_to_link=""
35519 else
35520 ac_path_to_link=" -L$ac_find_libraries"
35521 fi
35522 fi
35523
35524 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35525 LDFLAGS="$LDFLAGS $ac_path_to_link"
35526 fi
35527 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
35528 { echo "$as_me:$LINENO: result: yes" >&5
35529 echo "${ECHO_T}yes" >&6; }
35530 else
35531 { echo "$as_me:$LINENO: result: no" >&5
35532 echo "${ECHO_T}no" >&6; }
35533 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35534 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35535 wxUSE_DETECT_SM="no"
35536 fi
35537 else
35538 wxUSE_DETECT_SM="no"
35539 fi
35540 fi
35541
35542
35543
35544 USE_OPENGL=0
35545 if test "$wxUSE_OPENGL" = "yes"; then
35546 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
35547 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35548 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35549 wxUSE_OPENGL="no"
35550 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
35551 OPENGL_LIBS="-framework OpenGL -framework AGL"
35552 elif test "$wxUSE_MSW" = 1; then
35553 OPENGL_LIBS="-lopengl32 -lglu32"
35554 else
35555 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35556 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35557
35558 ac_find_includes=
35559 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
35560 do
35561 if test -f "$ac_dir/GL/gl.h"; then
35562 ac_find_includes=$ac_dir
35563 break
35564 fi
35565 done
35566
35567 if test "$ac_find_includes" != "" ; then
35568 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35569 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35570
35571 if test "x$ac_find_includes" = "x/usr/include"; then
35572 ac_path_to_include=""
35573 else
35574 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
35575 result=$?
35576 if test $result = 0; then
35577 ac_path_to_include=""
35578 else
35579 ac_path_to_include=" -I$ac_find_includes"
35580 fi
35581 fi
35582
35583 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
35584 else
35585 { echo "$as_me:$LINENO: result: not found" >&5
35586 echo "${ECHO_T}not found" >&6; }
35587 fi
35588
35589 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35590 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35591 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35592 echo $ECHO_N "(cached) $ECHO_C" >&6
35593 else
35594 cat >conftest.$ac_ext <<_ACEOF
35595 /* confdefs.h. */
35596 _ACEOF
35597 cat confdefs.h >>conftest.$ac_ext
35598 cat >>conftest.$ac_ext <<_ACEOF
35599 /* end confdefs.h. */
35600
35601
35602 #include <GL/gl.h>
35603 _ACEOF
35604 rm -f conftest.$ac_objext
35605 if { (ac_try="$ac_compile"
35606 case "(($ac_try" in
35607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35608 *) ac_try_echo=$ac_try;;
35609 esac
35610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35611 (eval "$ac_compile") 2>conftest.er1
35612 ac_status=$?
35613 grep -v '^ *+' conftest.er1 >conftest.err
35614 rm -f conftest.er1
35615 cat conftest.err >&5
35616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35617 (exit $ac_status); } && {
35618 test -z "$ac_c_werror_flag" ||
35619 test ! -s conftest.err
35620 } && test -s conftest.$ac_objext; then
35621 ac_cv_header_GL_gl_h=yes
35622 else
35623 echo "$as_me: failed program was:" >&5
35624 sed 's/^/| /' conftest.$ac_ext >&5
35625
35626 ac_cv_header_GL_gl_h=no
35627 fi
35628
35629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35630 fi
35631 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35632 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35633 if test $ac_cv_header_GL_gl_h = yes; then
35634
35635 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35636 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35637 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35638 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35639 echo $ECHO_N "(cached) $ECHO_C" >&6
35640 fi
35641 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35642 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35643 else
35644 # Is the header compilable?
35645 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
35646 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
35647 cat >conftest.$ac_ext <<_ACEOF
35648 /* confdefs.h. */
35649 _ACEOF
35650 cat confdefs.h >>conftest.$ac_ext
35651 cat >>conftest.$ac_ext <<_ACEOF
35652 /* end confdefs.h. */
35653 $ac_includes_default
35654 #include <GL/glu.h>
35655 _ACEOF
35656 rm -f conftest.$ac_objext
35657 if { (ac_try="$ac_compile"
35658 case "(($ac_try" in
35659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35660 *) ac_try_echo=$ac_try;;
35661 esac
35662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35663 (eval "$ac_compile") 2>conftest.er1
35664 ac_status=$?
35665 grep -v '^ *+' conftest.er1 >conftest.err
35666 rm -f conftest.er1
35667 cat conftest.err >&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); } && {
35670 test -z "$ac_c_werror_flag" ||
35671 test ! -s conftest.err
35672 } && test -s conftest.$ac_objext; then
35673 ac_header_compiler=yes
35674 else
35675 echo "$as_me: failed program was:" >&5
35676 sed 's/^/| /' conftest.$ac_ext >&5
35677
35678 ac_header_compiler=no
35679 fi
35680
35681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35682 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
35683 echo "${ECHO_T}$ac_header_compiler" >&6; }
35684
35685 # Is the header present?
35686 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
35687 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
35688 cat >conftest.$ac_ext <<_ACEOF
35689 /* confdefs.h. */
35690 _ACEOF
35691 cat confdefs.h >>conftest.$ac_ext
35692 cat >>conftest.$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694 #include <GL/glu.h>
35695 _ACEOF
35696 if { (ac_try="$ac_cpp conftest.$ac_ext"
35697 case "(($ac_try" in
35698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35699 *) ac_try_echo=$ac_try;;
35700 esac
35701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
35703 ac_status=$?
35704 grep -v '^ *+' conftest.er1 >conftest.err
35705 rm -f conftest.er1
35706 cat conftest.err >&5
35707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35708 (exit $ac_status); } >/dev/null && {
35709 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
35710 test ! -s conftest.err
35711 }; then
35712 ac_header_preproc=yes
35713 else
35714 echo "$as_me: failed program was:" >&5
35715 sed 's/^/| /' conftest.$ac_ext >&5
35716
35717 ac_header_preproc=no
35718 fi
35719
35720 rm -f conftest.err conftest.$ac_ext
35721 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
35722 echo "${ECHO_T}$ac_header_preproc" >&6; }
35723
35724 # So? What about this header?
35725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
35726 yes:no: )
35727 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
35728 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
35729 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
35730 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
35731 ac_header_preproc=yes
35732 ;;
35733 no:yes:* )
35734 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
35735 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
35736 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
35737 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
35738 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
35739 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
35740 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
35741 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
35742 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
35743 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
35744 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
35745 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
35746 ( cat <<\_ASBOX
35747 ## ----------------------------------------- ##
35748 ## Report this to wx-dev@lists.wxwidgets.org ##
35749 ## ----------------------------------------- ##
35750 _ASBOX
35751 ) | sed "s/^/$as_me: WARNING: /" >&2
35752 ;;
35753 esac
35754 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35755 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35756 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 else
35759 ac_cv_header_GL_glu_h=$ac_header_preproc
35760 fi
35761 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35762 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35763
35764 fi
35765 if test $ac_cv_header_GL_glu_h = yes; then
35766
35767 found_gl=0
35768
35769 { echo "$as_me:$LINENO: checking for -lGL" >&5
35770 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
35771
35772 ac_find_libraries=
35773 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
35774 do
35775 for ac_extension in a so sl dylib dll.a; do
35776 if test -f "$ac_dir/libGL.$ac_extension"; then
35777 ac_find_libraries=$ac_dir
35778 break 2
35779 fi
35780 done
35781 done
35782
35783 if test "$ac_find_libraries" != "" ; then
35784 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
35785 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35786
35787
35788 if test "$ac_find_libraries" = "default location"; then
35789 ac_path_to_link=""
35790 else
35791 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35792 result=$?
35793 if test $result = 0; then
35794 ac_path_to_link=""
35795 else
35796 ac_path_to_link=" -L$ac_find_libraries"
35797 fi
35798 fi
35799
35800 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35801 LDFLAGS_GL="$ac_path_to_link"
35802 fi
35803
35804 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35805 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35806
35807 ac_find_libraries=
35808 for ac_dir in $SEARCH_LIB;
35809 do
35810 for ac_extension in a so sl dylib dll.a; do
35811 if test -f "$ac_dir/libGLU.$ac_extension"; then
35812 ac_find_libraries=$ac_dir
35813 break 2
35814 fi
35815 done
35816 done
35817
35818 if test "$ac_find_libraries" != "" ; then
35819
35820 if test "$ac_find_libraries" = "default location"; then
35821 ac_path_to_link=""
35822 else
35823 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35824 result=$?
35825 if test $result = 0; then
35826 ac_path_to_link=""
35827 else
35828 ac_path_to_link=" -L$ac_find_libraries"
35829 fi
35830 fi
35831
35832 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35833 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35834 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35835 fi
35836
35837 found_gl=1
35838 OPENGL_LIBS="-lGL -lGLU"
35839 { echo "$as_me:$LINENO: result: yes" >&5
35840 echo "${ECHO_T}yes" >&6; }
35841 else
35842 { echo "$as_me:$LINENO: result: no" >&5
35843 echo "${ECHO_T}no" >&6; }
35844 fi
35845 else
35846 { echo "$as_me:$LINENO: result: no" >&5
35847 echo "${ECHO_T}no" >&6; }
35848 fi
35849
35850 if test "$found_gl" != 1; then
35851 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35852 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35853
35854 ac_find_libraries=
35855 for ac_dir in $SEARCH_LIB;
35856 do
35857 for ac_extension in a so sl dylib dll.a; do
35858 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35859 ac_find_libraries=$ac_dir
35860 break 2
35861 fi
35862 done
35863 done
35864
35865 if test "$ac_find_libraries" != "" ; then
35866
35867 if test "$ac_find_libraries" = "default location"; then
35868 ac_path_to_link=""
35869 else
35870 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35871 result=$?
35872 if test $result = 0; then
35873 ac_path_to_link=""
35874 else
35875 ac_path_to_link=" -L$ac_find_libraries"
35876 fi
35877 fi
35878
35879 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35880 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35881 { echo "$as_me:$LINENO: result: yes" >&5
35882 echo "${ECHO_T}yes" >&6; }
35883 else
35884 { echo "$as_me:$LINENO: result: no" >&5
35885 echo "${ECHO_T}no" >&6; }
35886 fi
35887 fi
35888
35889 fi
35890
35891
35892
35893 fi
35894
35895
35896
35897 if test "x$OPENGL_LIBS" = "x"; then
35898 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35899 echo "$as_me: error: OpenGL libraries not available" >&2;}
35900 { (exit 1); exit 1; }; }
35901 fi
35902 fi
35903
35904 if test "$wxUSE_OPENGL" = "yes"; then
35905 USE_OPENGL=1
35906 cat >>confdefs.h <<\_ACEOF
35907 #define wxUSE_OPENGL 1
35908 _ACEOF
35909
35910 cat >>confdefs.h <<\_ACEOF
35911 #define wxUSE_GLCANVAS 1
35912 _ACEOF
35913
35914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35915 fi
35916 fi
35917
35918
35919 if test -n "$TOOLKIT" ; then
35920 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35921 fi
35922
35923
35924
35925 if test "$wxUSE_SHARED" = "yes"; then
35926 case "${host}" in
35927 *-pc-msdosdjgpp )
35928 wxUSE_SHARED=no
35929 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35930 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35931 ;;
35932 esac
35933 fi
35934
35935 if test "$wxUSE_SHARED" = "yes"; then
35936
35937
35938 case "${host}" in
35939 *-*-cygwin* | *-*-mingw* )
35940 wx_cv_version_script=no
35941 ;;
35942
35943 *)
35944 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35945 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35946 if test "${wx_cv_version_script+set}" = set; then
35947 echo $ECHO_N "(cached) $ECHO_C" >&6
35948 else
35949
35950 echo "VER_1 { *; };" >conftest.sym
35951 echo "int main() { return 0; }" >conftest.cpp
35952
35953 if { ac_try='
35954 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35955 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35957 (eval $ac_try) 2>&5
35958 ac_status=$?
35959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35960 (exit $ac_status); }; } ; then
35961 if test -s conftest.stderr ; then
35962 wx_cv_version_script=no
35963 else
35964 wx_cv_version_script=yes
35965 fi
35966 else
35967 wx_cv_version_script=no
35968 fi
35969
35970 if test $wx_cv_version_script = yes
35971 then
35972 echo "struct B { virtual ~B() { } }; \
35973 struct D : public B { }; \
35974 void F() { D d; }" > conftest.cpp
35975
35976 if { ac_try='
35977 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35978 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35980 (eval $ac_try) 2>&5
35981 ac_status=$?
35982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35983 (exit $ac_status); }; } &&
35984 { ac_try='
35985 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35986 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35988 (eval $ac_try) 2>&5
35989 ac_status=$?
35990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35991 (exit $ac_status); }; }
35992 then
35993 if { ac_try='
35994 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35995 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35997 (eval $ac_try) 2>&5
35998 ac_status=$?
35999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36000 (exit $ac_status); }; }
36001 then
36002 wx_cv_version_script=yes
36003 else
36004 wx_cv_version_script=no
36005 fi
36006 fi
36007 fi
36008
36009 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
36010 rm -f conftest1.output conftest2.output conftest3.output
36011
36012 fi
36013 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
36014 echo "${ECHO_T}$wx_cv_version_script" >&6; }
36015
36016 if test $wx_cv_version_script = yes ; then
36017 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
36018 fi
36019 ;;
36020 esac
36021
36022
36023 if test "$wxUSE_VISIBILITY" != "no"; then
36024
36025
36026 if test -n "$GCC"; then
36027 CFLAGS_VISIBILITY="-fvisibility=hidden"
36028 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
36029 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
36030 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
36031 if test "${wx_cv_cc_visibility+set}" = set; then
36032 echo $ECHO_N "(cached) $ECHO_C" >&6
36033 else
36034
36035 wx_save_CXXFLAGS="$CXXFLAGS"
36036 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
36037 ac_ext=cpp
36038 ac_cpp='$CXXCPP $CPPFLAGS'
36039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36042
36043 cat >conftest.$ac_ext <<_ACEOF
36044 /* confdefs.h. */
36045 _ACEOF
36046 cat confdefs.h >>conftest.$ac_ext
36047 cat >>conftest.$ac_ext <<_ACEOF
36048 /* end confdefs.h. */
36049
36050 /* we need gcc >= 4.0, older versions with visibility support
36051 didn't have class visibility: */
36052 #if defined(__GNUC__) && __GNUC__ < 4
36053 error this gcc is too old;
36054 #endif
36055
36056 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
36057 extern __attribute__((__visibility__("default"))) int exportedvar;
36058 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
36059 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
36060 class __attribute__((__visibility__("default"))) Foo {
36061 Foo() {}
36062 };
36063
36064 int
36065 main ()
36066 {
36067
36068 ;
36069 return 0;
36070 }
36071 _ACEOF
36072 rm -f conftest.$ac_objext
36073 if { (ac_try="$ac_compile"
36074 case "(($ac_try" in
36075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36076 *) ac_try_echo=$ac_try;;
36077 esac
36078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36079 (eval "$ac_compile") 2>conftest.er1
36080 ac_status=$?
36081 grep -v '^ *+' conftest.er1 >conftest.err
36082 rm -f conftest.er1
36083 cat conftest.err >&5
36084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36085 (exit $ac_status); } && {
36086 test -z "$ac_cxx_werror_flag" ||
36087 test ! -s conftest.err
36088 } && test -s conftest.$ac_objext; then
36089 wx_cv_cc_visibility=yes
36090 else
36091 echo "$as_me: failed program was:" >&5
36092 sed 's/^/| /' conftest.$ac_ext >&5
36093
36094 wx_cv_cc_visibility=no
36095 fi
36096
36097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36098 ac_ext=c
36099 ac_cpp='$CPP $CPPFLAGS'
36100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36103
36104 CXXFLAGS="$wx_save_CXXFLAGS"
36105 fi
36106
36107 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
36108 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
36109 if test $wx_cv_cc_visibility = yes; then
36110 cat >>confdefs.h <<\_ACEOF
36111 #define HAVE_VISIBILITY 1
36112 _ACEOF
36113
36114 else
36115 CFLAGS_VISIBILITY=""
36116 CXXFLAGS_VISIBILITY=""
36117 fi
36118
36119
36120 fi
36121
36122 fi
36123
36124 if test "x$SUNCXX" = xyes; then
36125 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
36126 WXCONFIG_RPATH="-R\$libdir"
36127 else
36128 case "${host}" in
36129 *-*-linux* | *-*-gnu* )
36130 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36131 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36132 ;;
36133
36134 *-*-solaris2* )
36135
36136 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
36137
36138 saveLdflags="$LDFLAGS"
36139 LDFLAGS="$saveLdflags -Wl,-rpath,/"
36140 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
36141 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
36142 cat >conftest.$ac_ext <<_ACEOF
36143 /* confdefs.h. */
36144 _ACEOF
36145 cat confdefs.h >>conftest.$ac_ext
36146 cat >>conftest.$ac_ext <<_ACEOF
36147 /* end confdefs.h. */
36148
36149 int
36150 main ()
36151 {
36152
36153 ;
36154 return 0;
36155 }
36156 _ACEOF
36157 rm -f conftest.$ac_objext conftest$ac_exeext
36158 if { (ac_try="$ac_link"
36159 case "(($ac_try" in
36160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36161 *) ac_try_echo=$ac_try;;
36162 esac
36163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36164 (eval "$ac_link") 2>conftest.er1
36165 ac_status=$?
36166 grep -v '^ *+' conftest.er1 >conftest.err
36167 rm -f conftest.er1
36168 cat conftest.err >&5
36169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 (exit $ac_status); } && {
36171 test -z "$ac_c_werror_flag" ||
36172 test ! -s conftest.err
36173 } && test -s conftest$ac_exeext &&
36174 $as_test_x conftest$ac_exeext; then
36175
36176 { echo "$as_me:$LINENO: result: yes" >&5
36177 echo "${ECHO_T}yes" >&6; }
36178 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
36179 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
36180
36181 else
36182 echo "$as_me: failed program was:" >&5
36183 sed 's/^/| /' conftest.$ac_ext >&5
36184
36185
36186 { echo "$as_me:$LINENO: result: no" >&5
36187 echo "${ECHO_T}no" >&6; }
36188 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
36189 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
36190 LDFLAGS="$saveLdflags -Wl,-R,/"
36191 cat >conftest.$ac_ext <<_ACEOF
36192 /* confdefs.h. */
36193 _ACEOF
36194 cat confdefs.h >>conftest.$ac_ext
36195 cat >>conftest.$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36197
36198 int
36199 main ()
36200 {
36201
36202 ;
36203 return 0;
36204 }
36205 _ACEOF
36206 rm -f conftest.$ac_objext conftest$ac_exeext
36207 if { (ac_try="$ac_link"
36208 case "(($ac_try" in
36209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36210 *) ac_try_echo=$ac_try;;
36211 esac
36212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36213 (eval "$ac_link") 2>conftest.er1
36214 ac_status=$?
36215 grep -v '^ *+' conftest.er1 >conftest.err
36216 rm -f conftest.er1
36217 cat conftest.err >&5
36218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36219 (exit $ac_status); } && {
36220 test -z "$ac_c_werror_flag" ||
36221 test ! -s conftest.err
36222 } && test -s conftest$ac_exeext &&
36223 $as_test_x conftest$ac_exeext; then
36224
36225 { echo "$as_me:$LINENO: result: yes" >&5
36226 echo "${ECHO_T}yes" >&6; }
36227 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
36228 WXCONFIG_RPATH="-Wl,-R,\$libdir"
36229
36230 else
36231 echo "$as_me: failed program was:" >&5
36232 sed 's/^/| /' conftest.$ac_ext >&5
36233
36234
36235 { echo "$as_me:$LINENO: result: no" >&5
36236 echo "${ECHO_T}no" >&6; }
36237
36238 fi
36239
36240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36241 conftest$ac_exeext conftest.$ac_ext
36242
36243 fi
36244
36245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36246 conftest$ac_exeext conftest.$ac_ext
36247 LDFLAGS="$saveLdflags"
36248 ;;
36249
36250 *-*-darwin* )
36251 install_name_tool=`which install_name_tool`
36252 if test "$install_name_tool" -a -x "$install_name_tool"; then
36253 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
36254 cat <<EOF >change-install-names
36255 #!/bin/sh
36256 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
36257 inst_cmd="install_name_tool "
36258 for i in \${libnames} ; do
36259 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
36260 done
36261 \${inst_cmd} \${3}
36262 EOF
36263 chmod +x change-install-names
36264 fi
36265 ;;
36266
36267 *-*-cygwin* | *-*-mingw32* )
36268 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
36269 ;;
36270
36271 *-*-hpux* )
36272 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
36273 WXCONFIG_RPATH="-Wl,+b,\$libdir"
36274 ;;
36275
36276 esac
36277 fi
36278
36279 if test $wxUSE_RPATH = "no"; then
36280 SAMPLES_RPATH_FLAG=''
36281 SAMPLES_RPATH_POSTLINK=''
36282 WXCONFIG_RPATH=''
36283 fi
36284
36285 SHARED=1
36286
36287 else
36288
36289 config_linkage_component="-static"
36290 SHARED=0
36291
36292 fi
36293
36294
36295 UNICODE=0
36296 lib_unicode_suffix=
36297 WX_CHARTYPE="ansi"
36298 if test "$wxUSE_UNICODE" = "yes"; then
36299 lib_unicode_suffix=u
36300 WX_CHARTYPE="unicode"
36301 UNICODE=1
36302 fi
36303
36304 lib_debug_suffix=
36305 WX_DEBUGTYPE="release"
36306 DEBUG_FLAG=0
36307 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
36308 lib_debug_suffix=d
36309 WX_DEBUGTYPE="debug"
36310 DEBUG_FLAG=1
36311 fi
36312
36313 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
36314 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
36315
36316 DEBUG_INFO=0
36317 if test "$wxUSE_DEBUG_INFO" = "yes"; then
36318 DEBUG_INFO=1
36319 fi
36320
36321 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
36322
36323 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
36324
36325 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
36326
36327 if test "$cross_compiling" = "yes"; then
36328 HOST_SUFFIX="-$host_alias"
36329 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
36330 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
36331 fi
36332
36333 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36334 if test "${TOOLKIT_DIR}" = "os2"; then
36335 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36336 else
36337 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
36338 fi
36339
36340
36341
36342 if test "$wxUSE_COCOA" = 1; then
36343
36344 ac_ext=c
36345 ac_cpp='$CPP $CPPFLAGS'
36346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36349
36350 ac_ext=m
36351
36352 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
36353 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
36354 cat >conftest.$ac_ext <<_ACEOF
36355 /* confdefs.h. */
36356 _ACEOF
36357 cat confdefs.h >>conftest.$ac_ext
36358 cat >>conftest.$ac_ext <<_ACEOF
36359 /* end confdefs.h. */
36360 #include <AppKit/NSEvent.h>
36361 #include <CoreFoundation/CoreFoundation.h>
36362
36363 int
36364 main ()
36365 {
36366
36367 ;
36368 return 0;
36369 }
36370 _ACEOF
36371 rm -f conftest.$ac_objext
36372 if { (ac_try="$ac_compile"
36373 case "(($ac_try" in
36374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36375 *) ac_try_echo=$ac_try;;
36376 esac
36377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36378 (eval "$ac_compile") 2>conftest.er1
36379 ac_status=$?
36380 grep -v '^ *+' conftest.er1 >conftest.err
36381 rm -f conftest.er1
36382 cat conftest.err >&5
36383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36384 (exit $ac_status); } && {
36385 test -z "$ac_c_werror_flag" ||
36386 test ! -s conftest.err
36387 } && test -s conftest.$ac_objext; then
36388 { echo "$as_me:$LINENO: result: no" >&5
36389 echo "${ECHO_T}no" >&6; }
36390 else
36391 echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36393
36394 { echo "$as_me:$LINENO: result: yes" >&5
36395 echo "${ECHO_T}yes" >&6; }
36396 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
36397 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
36398 cat >conftest.$ac_ext <<_ACEOF
36399 /* confdefs.h. */
36400 _ACEOF
36401 cat confdefs.h >>conftest.$ac_ext
36402 cat >>conftest.$ac_ext <<_ACEOF
36403 /* end confdefs.h. */
36404 #define __Point__ 1
36405 #include <AppKit/NSEvent.h>
36406 #include <CoreFoundation/CoreFoundation.h>
36407
36408 int
36409 main ()
36410 {
36411
36412 ;
36413 return 0;
36414 }
36415 _ACEOF
36416 rm -f conftest.$ac_objext
36417 if { (ac_try="$ac_compile"
36418 case "(($ac_try" in
36419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36420 *) ac_try_echo=$ac_try;;
36421 esac
36422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36423 (eval "$ac_compile") 2>conftest.er1
36424 ac_status=$?
36425 grep -v '^ *+' conftest.er1 >conftest.err
36426 rm -f conftest.er1
36427 cat conftest.err >&5
36428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36429 (exit $ac_status); } && {
36430 test -z "$ac_c_werror_flag" ||
36431 test ! -s conftest.err
36432 } && test -s conftest.$ac_objext; then
36433 { echo "$as_me:$LINENO: result: yes" >&5
36434 echo "${ECHO_T}yes" >&6; }
36435 cat >>confdefs.h <<\_ACEOF
36436 #define __Point__ 1
36437 _ACEOF
36438
36439
36440 else
36441 echo "$as_me: failed program was:" >&5
36442 sed 's/^/| /' conftest.$ac_ext >&5
36443
36444 { { echo "$as_me:$LINENO: error: no
36445 See \`config.log' for more details." >&5
36446 echo "$as_me: error: no
36447 See \`config.log' for more details." >&2;}
36448 { (exit 1); exit 1; }; }
36449
36450 fi
36451
36452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36453
36454 fi
36455
36456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36457 ac_ext=c
36458 ac_cpp='$CPP $CPPFLAGS'
36459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462
36463 fi
36464
36465 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
36466 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
36467 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
36468
36469 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
36470
36471 # Extract the first word of "Rez", so it can be a program name with args.
36472 set dummy Rez; 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_prog_REZ+set}" = set; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36477 else
36478 if test -n "$REZ"; then
36479 ac_cv_prog_REZ="$REZ" # Let the user override the test.
36480 else
36481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36482 for as_dir in $PATH
36483 do
36484 IFS=$as_save_IFS
36485 test -z "$as_dir" && as_dir=.
36486 for ac_exec_ext in '' $ac_executable_extensions; do
36487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36488 ac_cv_prog_REZ="Rez"
36489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36490 break 2
36491 fi
36492 done
36493 done
36494 IFS=$as_save_IFS
36495
36496 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
36497 fi
36498 fi
36499 REZ=$ac_cv_prog_REZ
36500 if test -n "$REZ"; then
36501 { echo "$as_me:$LINENO: result: $REZ" >&5
36502 echo "${ECHO_T}$REZ" >&6; }
36503 else
36504 { echo "$as_me:$LINENO: result: no" >&5
36505 echo "${ECHO_T}no" >&6; }
36506 fi
36507
36508
36509 # Extract the first word of "DeRez", so it can be a program name with args.
36510 set dummy DeRez; ac_word=$2
36511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36513 if test "${ac_cv_prog_DEREZ+set}" = set; then
36514 echo $ECHO_N "(cached) $ECHO_C" >&6
36515 else
36516 if test -n "$DEREZ"; then
36517 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
36518 else
36519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36520 for as_dir in $PATH
36521 do
36522 IFS=$as_save_IFS
36523 test -z "$as_dir" && as_dir=.
36524 for ac_exec_ext in '' $ac_executable_extensions; do
36525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36526 ac_cv_prog_DEREZ="DeRez"
36527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36528 break 2
36529 fi
36530 done
36531 done
36532 IFS=$as_save_IFS
36533
36534 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
36535 fi
36536 fi
36537 DEREZ=$ac_cv_prog_DEREZ
36538 if test -n "$DEREZ"; then
36539 { echo "$as_me:$LINENO: result: $DEREZ" >&5
36540 echo "${ECHO_T}$DEREZ" >&6; }
36541 else
36542 { echo "$as_me:$LINENO: result: no" >&5
36543 echo "${ECHO_T}no" >&6; }
36544 fi
36545
36546
36547 # Extract the first word of "SetFile", so it can be a program name with args.
36548 set dummy SetFile; ac_word=$2
36549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36551 if test "${ac_cv_prog_SETFILE+set}" = set; then
36552 echo $ECHO_N "(cached) $ECHO_C" >&6
36553 else
36554 if test -n "$SETFILE"; then
36555 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
36556 else
36557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36558 for as_dir in $PATH
36559 do
36560 IFS=$as_save_IFS
36561 test -z "$as_dir" && as_dir=.
36562 for ac_exec_ext in '' $ac_executable_extensions; do
36563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36564 ac_cv_prog_SETFILE="SetFile"
36565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36566 break 2
36567 fi
36568 done
36569 done
36570 IFS=$as_save_IFS
36571
36572 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
36573 fi
36574 fi
36575 SETFILE=$ac_cv_prog_SETFILE
36576 if test -n "$SETFILE"; then
36577 { echo "$as_me:$LINENO: result: $SETFILE" >&5
36578 echo "${ECHO_T}$SETFILE" >&6; }
36579 else
36580 { echo "$as_me:$LINENO: result: no" >&5
36581 echo "${ECHO_T}no" >&6; }
36582 fi
36583
36584
36585
36586 MACSETFILE="\$(SETFILE)"
36587
36588 if test "$wxUSE_MAC" = 1; then
36589 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
36590 RESCOMP="$REZ"
36591 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
36592 else
36593 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
36594 RESCOMP="echo -n \| $REZ"
36595 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
36596 fi
36597
36598 else
36599 MACSETFILE="@true"
36600
36601 if test "$wxUSE_PM" = 1; then
36602 RESCOMP="emxbind"
36603 WXCONFIG_RESFLAGS="-ep"
36604
36605 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
36606 else
36607 POSTLINK_COMMAND="@true"
36608 fi
36609
36610 fi
36611
36612
36613
36614 { echo "$as_me:$LINENO: checking for mode_t" >&5
36615 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
36616 if test "${ac_cv_type_mode_t+set}" = set; then
36617 echo $ECHO_N "(cached) $ECHO_C" >&6
36618 else
36619 cat >conftest.$ac_ext <<_ACEOF
36620 /* confdefs.h. */
36621 _ACEOF
36622 cat confdefs.h >>conftest.$ac_ext
36623 cat >>conftest.$ac_ext <<_ACEOF
36624 /* end confdefs.h. */
36625 $ac_includes_default
36626 typedef mode_t ac__type_new_;
36627 int
36628 main ()
36629 {
36630 if ((ac__type_new_ *) 0)
36631 return 0;
36632 if (sizeof (ac__type_new_))
36633 return 0;
36634 ;
36635 return 0;
36636 }
36637 _ACEOF
36638 rm -f conftest.$ac_objext
36639 if { (ac_try="$ac_compile"
36640 case "(($ac_try" in
36641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36642 *) ac_try_echo=$ac_try;;
36643 esac
36644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36645 (eval "$ac_compile") 2>conftest.er1
36646 ac_status=$?
36647 grep -v '^ *+' conftest.er1 >conftest.err
36648 rm -f conftest.er1
36649 cat conftest.err >&5
36650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36651 (exit $ac_status); } && {
36652 test -z "$ac_c_werror_flag" ||
36653 test ! -s conftest.err
36654 } && test -s conftest.$ac_objext; then
36655 ac_cv_type_mode_t=yes
36656 else
36657 echo "$as_me: failed program was:" >&5
36658 sed 's/^/| /' conftest.$ac_ext >&5
36659
36660 ac_cv_type_mode_t=no
36661 fi
36662
36663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36664 fi
36665 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
36666 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
36667 if test $ac_cv_type_mode_t = yes; then
36668 :
36669 else
36670
36671 cat >>confdefs.h <<_ACEOF
36672 #define mode_t int
36673 _ACEOF
36674
36675 fi
36676
36677 { echo "$as_me:$LINENO: checking for off_t" >&5
36678 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
36679 if test "${ac_cv_type_off_t+set}" = set; then
36680 echo $ECHO_N "(cached) $ECHO_C" >&6
36681 else
36682 cat >conftest.$ac_ext <<_ACEOF
36683 /* confdefs.h. */
36684 _ACEOF
36685 cat confdefs.h >>conftest.$ac_ext
36686 cat >>conftest.$ac_ext <<_ACEOF
36687 /* end confdefs.h. */
36688 $ac_includes_default
36689 typedef off_t ac__type_new_;
36690 int
36691 main ()
36692 {
36693 if ((ac__type_new_ *) 0)
36694 return 0;
36695 if (sizeof (ac__type_new_))
36696 return 0;
36697 ;
36698 return 0;
36699 }
36700 _ACEOF
36701 rm -f conftest.$ac_objext
36702 if { (ac_try="$ac_compile"
36703 case "(($ac_try" in
36704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36705 *) ac_try_echo=$ac_try;;
36706 esac
36707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36708 (eval "$ac_compile") 2>conftest.er1
36709 ac_status=$?
36710 grep -v '^ *+' conftest.er1 >conftest.err
36711 rm -f conftest.er1
36712 cat conftest.err >&5
36713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36714 (exit $ac_status); } && {
36715 test -z "$ac_c_werror_flag" ||
36716 test ! -s conftest.err
36717 } && test -s conftest.$ac_objext; then
36718 ac_cv_type_off_t=yes
36719 else
36720 echo "$as_me: failed program was:" >&5
36721 sed 's/^/| /' conftest.$ac_ext >&5
36722
36723 ac_cv_type_off_t=no
36724 fi
36725
36726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36727 fi
36728 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
36729 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
36730 if test $ac_cv_type_off_t = yes; then
36731 :
36732 else
36733
36734 cat >>confdefs.h <<_ACEOF
36735 #define off_t long int
36736 _ACEOF
36737
36738 fi
36739
36740 { echo "$as_me:$LINENO: checking for pid_t" >&5
36741 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
36742 if test "${ac_cv_type_pid_t+set}" = set; then
36743 echo $ECHO_N "(cached) $ECHO_C" >&6
36744 else
36745 cat >conftest.$ac_ext <<_ACEOF
36746 /* confdefs.h. */
36747 _ACEOF
36748 cat confdefs.h >>conftest.$ac_ext
36749 cat >>conftest.$ac_ext <<_ACEOF
36750 /* end confdefs.h. */
36751 $ac_includes_default
36752 typedef pid_t ac__type_new_;
36753 int
36754 main ()
36755 {
36756 if ((ac__type_new_ *) 0)
36757 return 0;
36758 if (sizeof (ac__type_new_))
36759 return 0;
36760 ;
36761 return 0;
36762 }
36763 _ACEOF
36764 rm -f conftest.$ac_objext
36765 if { (ac_try="$ac_compile"
36766 case "(($ac_try" in
36767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36768 *) ac_try_echo=$ac_try;;
36769 esac
36770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36771 (eval "$ac_compile") 2>conftest.er1
36772 ac_status=$?
36773 grep -v '^ *+' conftest.er1 >conftest.err
36774 rm -f conftest.er1
36775 cat conftest.err >&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } && {
36778 test -z "$ac_c_werror_flag" ||
36779 test ! -s conftest.err
36780 } && test -s conftest.$ac_objext; then
36781 ac_cv_type_pid_t=yes
36782 else
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36785
36786 ac_cv_type_pid_t=no
36787 fi
36788
36789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36790 fi
36791 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36792 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36793 if test $ac_cv_type_pid_t = yes; then
36794 :
36795 else
36796
36797 cat >>confdefs.h <<_ACEOF
36798 #define pid_t int
36799 _ACEOF
36800
36801 fi
36802
36803 { echo "$as_me:$LINENO: checking for size_t" >&5
36804 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36805 if test "${ac_cv_type_size_t+set}" = set; then
36806 echo $ECHO_N "(cached) $ECHO_C" >&6
36807 else
36808 cat >conftest.$ac_ext <<_ACEOF
36809 /* confdefs.h. */
36810 _ACEOF
36811 cat confdefs.h >>conftest.$ac_ext
36812 cat >>conftest.$ac_ext <<_ACEOF
36813 /* end confdefs.h. */
36814 $ac_includes_default
36815 typedef size_t ac__type_new_;
36816 int
36817 main ()
36818 {
36819 if ((ac__type_new_ *) 0)
36820 return 0;
36821 if (sizeof (ac__type_new_))
36822 return 0;
36823 ;
36824 return 0;
36825 }
36826 _ACEOF
36827 rm -f conftest.$ac_objext
36828 if { (ac_try="$ac_compile"
36829 case "(($ac_try" in
36830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36831 *) ac_try_echo=$ac_try;;
36832 esac
36833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36834 (eval "$ac_compile") 2>conftest.er1
36835 ac_status=$?
36836 grep -v '^ *+' conftest.er1 >conftest.err
36837 rm -f conftest.er1
36838 cat conftest.err >&5
36839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36840 (exit $ac_status); } && {
36841 test -z "$ac_c_werror_flag" ||
36842 test ! -s conftest.err
36843 } && test -s conftest.$ac_objext; then
36844 ac_cv_type_size_t=yes
36845 else
36846 echo "$as_me: failed program was:" >&5
36847 sed 's/^/| /' conftest.$ac_ext >&5
36848
36849 ac_cv_type_size_t=no
36850 fi
36851
36852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36853 fi
36854 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36855 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36856 if test $ac_cv_type_size_t = yes; then
36857 :
36858 else
36859
36860 cat >>confdefs.h <<_ACEOF
36861 #define size_t unsigned int
36862 _ACEOF
36863
36864 fi
36865
36866 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
36867 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
36868 if test "${ac_cv_type_uid_t+set}" = set; then
36869 echo $ECHO_N "(cached) $ECHO_C" >&6
36870 else
36871 cat >conftest.$ac_ext <<_ACEOF
36872 /* confdefs.h. */
36873 _ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h. */
36877 #include <sys/types.h>
36878
36879 _ACEOF
36880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
36881 $EGREP "uid_t" >/dev/null 2>&1; then
36882 ac_cv_type_uid_t=yes
36883 else
36884 ac_cv_type_uid_t=no
36885 fi
36886 rm -f conftest*
36887
36888 fi
36889 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
36890 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
36891 if test $ac_cv_type_uid_t = no; then
36892
36893 cat >>confdefs.h <<\_ACEOF
36894 #define uid_t int
36895 _ACEOF
36896
36897
36898 cat >>confdefs.h <<\_ACEOF
36899 #define gid_t int
36900 _ACEOF
36901
36902 fi
36903
36904
36905 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36906 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36907 if test "${ac_cv_type_ssize_t+set}" = set; then
36908 echo $ECHO_N "(cached) $ECHO_C" >&6
36909 else
36910 cat >conftest.$ac_ext <<_ACEOF
36911 /* confdefs.h. */
36912 _ACEOF
36913 cat confdefs.h >>conftest.$ac_ext
36914 cat >>conftest.$ac_ext <<_ACEOF
36915 /* end confdefs.h. */
36916 $ac_includes_default
36917 typedef ssize_t ac__type_new_;
36918 int
36919 main ()
36920 {
36921 if ((ac__type_new_ *) 0)
36922 return 0;
36923 if (sizeof (ac__type_new_))
36924 return 0;
36925 ;
36926 return 0;
36927 }
36928 _ACEOF
36929 rm -f conftest.$ac_objext
36930 if { (ac_try="$ac_compile"
36931 case "(($ac_try" in
36932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36933 *) ac_try_echo=$ac_try;;
36934 esac
36935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36936 (eval "$ac_compile") 2>conftest.er1
36937 ac_status=$?
36938 grep -v '^ *+' conftest.er1 >conftest.err
36939 rm -f conftest.er1
36940 cat conftest.err >&5
36941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36942 (exit $ac_status); } && {
36943 test -z "$ac_c_werror_flag" ||
36944 test ! -s conftest.err
36945 } && test -s conftest.$ac_objext; then
36946 ac_cv_type_ssize_t=yes
36947 else
36948 echo "$as_me: failed program was:" >&5
36949 sed 's/^/| /' conftest.$ac_ext >&5
36950
36951 ac_cv_type_ssize_t=no
36952 fi
36953
36954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36955 fi
36956 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36957 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36958 if test $ac_cv_type_ssize_t = yes; then
36959
36960 cat >>confdefs.h <<_ACEOF
36961 #define HAVE_SSIZE_T 1
36962 _ACEOF
36963
36964
36965 fi
36966
36967
36968 ac_ext=cpp
36969 ac_cpp='$CXXCPP $CPPFLAGS'
36970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36973 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36974 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36975 if test "${wx_cv_size_t_is_uint+set}" = set; then
36976 echo $ECHO_N "(cached) $ECHO_C" >&6
36977 else
36978
36979 cat >conftest.$ac_ext <<_ACEOF
36980 /* confdefs.h. */
36981 _ACEOF
36982 cat confdefs.h >>conftest.$ac_ext
36983 cat >>conftest.$ac_ext <<_ACEOF
36984 /* end confdefs.h. */
36985 #include <stddef.h>
36986 int
36987 main ()
36988 {
36989
36990 return 0; }
36991
36992 struct Foo { void foo(size_t); void foo(unsigned int); };
36993
36994 int bar() {
36995
36996 ;
36997 return 0;
36998 }
36999 _ACEOF
37000 rm -f conftest.$ac_objext
37001 if { (ac_try="$ac_compile"
37002 case "(($ac_try" in
37003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37004 *) ac_try_echo=$ac_try;;
37005 esac
37006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37007 (eval "$ac_compile") 2>conftest.er1
37008 ac_status=$?
37009 grep -v '^ *+' conftest.er1 >conftest.err
37010 rm -f conftest.er1
37011 cat conftest.err >&5
37012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37013 (exit $ac_status); } && {
37014 test -z "$ac_cxx_werror_flag" ||
37015 test ! -s conftest.err
37016 } && test -s conftest.$ac_objext; then
37017 wx_cv_size_t_is_uint=no
37018 else
37019 echo "$as_me: failed program was:" >&5
37020 sed 's/^/| /' conftest.$ac_ext >&5
37021
37022 wx_cv_size_t_is_uint=yes
37023
37024 fi
37025
37026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37027
37028
37029 fi
37030 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
37031 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
37032
37033 if test "$wx_cv_size_t_is_uint" = "yes"; then
37034 cat >>confdefs.h <<\_ACEOF
37035 #define wxSIZE_T_IS_UINT 1
37036 _ACEOF
37037
37038 else
37039 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
37040 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
37041 if test "${wx_cv_size_t_is_ulong+set}" = set; then
37042 echo $ECHO_N "(cached) $ECHO_C" >&6
37043 else
37044 cat >conftest.$ac_ext <<_ACEOF
37045 /* confdefs.h. */
37046 _ACEOF
37047 cat confdefs.h >>conftest.$ac_ext
37048 cat >>conftest.$ac_ext <<_ACEOF
37049 /* end confdefs.h. */
37050 #include <stddef.h>
37051 int
37052 main ()
37053 {
37054
37055 return 0; }
37056
37057 struct Foo { void foo(size_t); void foo(unsigned long); };
37058
37059 int bar() {
37060
37061 ;
37062 return 0;
37063 }
37064 _ACEOF
37065 rm -f conftest.$ac_objext
37066 if { (ac_try="$ac_compile"
37067 case "(($ac_try" in
37068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37069 *) ac_try_echo=$ac_try;;
37070 esac
37071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37072 (eval "$ac_compile") 2>conftest.er1
37073 ac_status=$?
37074 grep -v '^ *+' conftest.er1 >conftest.err
37075 rm -f conftest.er1
37076 cat conftest.err >&5
37077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37078 (exit $ac_status); } && {
37079 test -z "$ac_cxx_werror_flag" ||
37080 test ! -s conftest.err
37081 } && test -s conftest.$ac_objext; then
37082 wx_cv_size_t_is_ulong=no
37083 else
37084 echo "$as_me: failed program was:" >&5
37085 sed 's/^/| /' conftest.$ac_ext >&5
37086
37087 wx_cv_size_t_is_ulong=yes
37088
37089 fi
37090
37091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37092
37093 fi
37094 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
37095 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
37096
37097 if test "$wx_cv_size_t_is_ulong" = "yes"; then
37098 cat >>confdefs.h <<\_ACEOF
37099 #define wxSIZE_T_IS_ULONG 1
37100 _ACEOF
37101
37102 fi
37103 fi
37104
37105 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
37106 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
37107 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
37108 echo $ECHO_N "(cached) $ECHO_C" >&6
37109 else
37110 cat >conftest.$ac_ext <<_ACEOF
37111 /* confdefs.h. */
37112 _ACEOF
37113 cat confdefs.h >>conftest.$ac_ext
37114 cat >>conftest.$ac_ext <<_ACEOF
37115 /* end confdefs.h. */
37116 #include <wchar.h>
37117 int
37118 main ()
37119 {
37120
37121 return 0; }
37122
37123 struct Foo { void foo(wchar_t);
37124 void foo(unsigned short);
37125 void foo(unsigned int);
37126 void foo(unsigned long); };
37127
37128 int bar() {
37129
37130 ;
37131 return 0;
37132 }
37133 _ACEOF
37134 rm -f conftest.$ac_objext
37135 if { (ac_try="$ac_compile"
37136 case "(($ac_try" in
37137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37138 *) ac_try_echo=$ac_try;;
37139 esac
37140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37141 (eval "$ac_compile") 2>conftest.er1
37142 ac_status=$?
37143 grep -v '^ *+' conftest.er1 >conftest.err
37144 rm -f conftest.er1
37145 cat conftest.err >&5
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); } && {
37148 test -z "$ac_cxx_werror_flag" ||
37149 test ! -s conftest.err
37150 } && test -s conftest.$ac_objext; then
37151 wx_cv_wchar_t_is_separate_type=yes
37152 else
37153 echo "$as_me: failed program was:" >&5
37154 sed 's/^/| /' conftest.$ac_ext >&5
37155
37156 wx_cv_wchar_t_is_separate_type=no
37157
37158 fi
37159
37160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37161
37162 fi
37163 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
37164 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
37165
37166 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
37167 cat >>confdefs.h <<\_ACEOF
37168 #define wxWCHAR_T_IS_REAL_TYPE 1
37169 _ACEOF
37170
37171 else
37172 cat >>confdefs.h <<\_ACEOF
37173 #define wxWCHAR_T_IS_REAL_TYPE 0
37174 _ACEOF
37175
37176 fi
37177
37178 ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37183
37184
37185 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
37186 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
37187 if test "${wx_cv_struct_pw_gecos+set}" = set; then
37188 echo $ECHO_N "(cached) $ECHO_C" >&6
37189 else
37190
37191 cat >conftest.$ac_ext <<_ACEOF
37192 /* confdefs.h. */
37193 _ACEOF
37194 cat confdefs.h >>conftest.$ac_ext
37195 cat >>conftest.$ac_ext <<_ACEOF
37196 /* end confdefs.h. */
37197 #include <pwd.h>
37198 int
37199 main ()
37200 {
37201
37202 char *p;
37203 struct passwd *pw;
37204 p = pw->pw_gecos;
37205
37206 ;
37207 return 0;
37208 }
37209 _ACEOF
37210 rm -f conftest.$ac_objext
37211 if { (ac_try="$ac_compile"
37212 case "(($ac_try" in
37213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37214 *) ac_try_echo=$ac_try;;
37215 esac
37216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37217 (eval "$ac_compile") 2>conftest.er1
37218 ac_status=$?
37219 grep -v '^ *+' conftest.er1 >conftest.err
37220 rm -f conftest.er1
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } && {
37224 test -z "$ac_c_werror_flag" ||
37225 test ! -s conftest.err
37226 } && test -s conftest.$ac_objext; then
37227
37228 wx_cv_struct_pw_gecos=yes
37229
37230 else
37231 echo "$as_me: failed program was:" >&5
37232 sed 's/^/| /' conftest.$ac_ext >&5
37233
37234
37235 wx_cv_struct_pw_gecos=no
37236
37237
37238 fi
37239
37240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37241
37242
37243 fi
37244 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
37245 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
37246
37247 if test "$wx_cv_struct_pw_gecos" = "yes"; then
37248 cat >>confdefs.h <<\_ACEOF
37249 #define HAVE_PW_GECOS 1
37250 _ACEOF
37251
37252 fi
37253
37254
37255 if test "$wxUSE_WCHAR_T" = "yes"; then
37256 cat >>confdefs.h <<\_ACEOF
37257 #define wxUSE_WCHAR_T 1
37258 _ACEOF
37259
37260
37261 WCSLEN_FOUND=0
37262 WCHAR_LINK=
37263
37264 for ac_func in wcslen
37265 do
37266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37267 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37269 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37270 echo $ECHO_N "(cached) $ECHO_C" >&6
37271 else
37272 cat >conftest.$ac_ext <<_ACEOF
37273 /* confdefs.h. */
37274 _ACEOF
37275 cat confdefs.h >>conftest.$ac_ext
37276 cat >>conftest.$ac_ext <<_ACEOF
37277 /* end confdefs.h. */
37278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37280 #define $ac_func innocuous_$ac_func
37281
37282 /* System header to define __stub macros and hopefully few prototypes,
37283 which can conflict with char $ac_func (); below.
37284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37285 <limits.h> exists even on freestanding compilers. */
37286
37287 #ifdef __STDC__
37288 # include <limits.h>
37289 #else
37290 # include <assert.h>
37291 #endif
37292
37293 #undef $ac_func
37294
37295 /* Override any GCC internal prototype to avoid an error.
37296 Use char because int might match the return type of a GCC
37297 builtin and then its argument prototype would still apply. */
37298 #ifdef __cplusplus
37299 extern "C"
37300 #endif
37301 char $ac_func ();
37302 /* The GNU C library defines this for functions which it implements
37303 to always fail with ENOSYS. Some functions are actually named
37304 something starting with __ and the normal name is an alias. */
37305 #if defined __stub_$ac_func || defined __stub___$ac_func
37306 choke me
37307 #endif
37308
37309 int
37310 main ()
37311 {
37312 return $ac_func ();
37313 ;
37314 return 0;
37315 }
37316 _ACEOF
37317 rm -f conftest.$ac_objext conftest$ac_exeext
37318 if { (ac_try="$ac_link"
37319 case "(($ac_try" in
37320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37321 *) ac_try_echo=$ac_try;;
37322 esac
37323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37324 (eval "$ac_link") 2>conftest.er1
37325 ac_status=$?
37326 grep -v '^ *+' conftest.er1 >conftest.err
37327 rm -f conftest.er1
37328 cat conftest.err >&5
37329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330 (exit $ac_status); } && {
37331 test -z "$ac_c_werror_flag" ||
37332 test ! -s conftest.err
37333 } && test -s conftest$ac_exeext &&
37334 $as_test_x conftest$ac_exeext; then
37335 eval "$as_ac_var=yes"
37336 else
37337 echo "$as_me: failed program was:" >&5
37338 sed 's/^/| /' conftest.$ac_ext >&5
37339
37340 eval "$as_ac_var=no"
37341 fi
37342
37343 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37344 conftest$ac_exeext conftest.$ac_ext
37345 fi
37346 ac_res=`eval echo '${'$as_ac_var'}'`
37347 { echo "$as_me:$LINENO: result: $ac_res" >&5
37348 echo "${ECHO_T}$ac_res" >&6; }
37349 if test `eval echo '${'$as_ac_var'}'` = yes; then
37350 cat >>confdefs.h <<_ACEOF
37351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37352 _ACEOF
37353 WCSLEN_FOUND=1
37354 fi
37355 done
37356
37357
37358 if test "$WCSLEN_FOUND" = 0; then
37359 if test "$TOOLKIT" = "MSW"; then
37360 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
37361 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
37362 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
37363 echo $ECHO_N "(cached) $ECHO_C" >&6
37364 else
37365 ac_check_lib_save_LIBS=$LIBS
37366 LIBS="-lmsvcrt $LIBS"
37367 cat >conftest.$ac_ext <<_ACEOF
37368 /* confdefs.h. */
37369 _ACEOF
37370 cat confdefs.h >>conftest.$ac_ext
37371 cat >>conftest.$ac_ext <<_ACEOF
37372 /* end confdefs.h. */
37373
37374 /* Override any GCC internal prototype to avoid an error.
37375 Use char because int might match the return type of a GCC
37376 builtin and then its argument prototype would still apply. */
37377 #ifdef __cplusplus
37378 extern "C"
37379 #endif
37380 char wcslen ();
37381 int
37382 main ()
37383 {
37384 return wcslen ();
37385 ;
37386 return 0;
37387 }
37388 _ACEOF
37389 rm -f conftest.$ac_objext conftest$ac_exeext
37390 if { (ac_try="$ac_link"
37391 case "(($ac_try" in
37392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37393 *) ac_try_echo=$ac_try;;
37394 esac
37395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37396 (eval "$ac_link") 2>conftest.er1
37397 ac_status=$?
37398 grep -v '^ *+' conftest.er1 >conftest.err
37399 rm -f conftest.er1
37400 cat conftest.err >&5
37401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37402 (exit $ac_status); } && {
37403 test -z "$ac_c_werror_flag" ||
37404 test ! -s conftest.err
37405 } && test -s conftest$ac_exeext &&
37406 $as_test_x conftest$ac_exeext; then
37407 ac_cv_lib_msvcrt_wcslen=yes
37408 else
37409 echo "$as_me: failed program was:" >&5
37410 sed 's/^/| /' conftest.$ac_ext >&5
37411
37412 ac_cv_lib_msvcrt_wcslen=no
37413 fi
37414
37415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37416 conftest$ac_exeext conftest.$ac_ext
37417 LIBS=$ac_check_lib_save_LIBS
37418 fi
37419 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
37420 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
37421 if test $ac_cv_lib_msvcrt_wcslen = yes; then
37422 WCHAR_OK=1
37423 fi
37424
37425 else
37426 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
37427 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
37428 if test "${ac_cv_lib_w_wcslen+set}" = set; then
37429 echo $ECHO_N "(cached) $ECHO_C" >&6
37430 else
37431 ac_check_lib_save_LIBS=$LIBS
37432 LIBS="-lw $LIBS"
37433 cat >conftest.$ac_ext <<_ACEOF
37434 /* confdefs.h. */
37435 _ACEOF
37436 cat confdefs.h >>conftest.$ac_ext
37437 cat >>conftest.$ac_ext <<_ACEOF
37438 /* end confdefs.h. */
37439
37440 /* Override any GCC internal prototype to avoid an error.
37441 Use char because int might match the return type of a GCC
37442 builtin and then its argument prototype would still apply. */
37443 #ifdef __cplusplus
37444 extern "C"
37445 #endif
37446 char wcslen ();
37447 int
37448 main ()
37449 {
37450 return wcslen ();
37451 ;
37452 return 0;
37453 }
37454 _ACEOF
37455 rm -f conftest.$ac_objext conftest$ac_exeext
37456 if { (ac_try="$ac_link"
37457 case "(($ac_try" in
37458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37459 *) ac_try_echo=$ac_try;;
37460 esac
37461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37462 (eval "$ac_link") 2>conftest.er1
37463 ac_status=$?
37464 grep -v '^ *+' conftest.er1 >conftest.err
37465 rm -f conftest.er1
37466 cat conftest.err >&5
37467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37468 (exit $ac_status); } && {
37469 test -z "$ac_c_werror_flag" ||
37470 test ! -s conftest.err
37471 } && test -s conftest$ac_exeext &&
37472 $as_test_x conftest$ac_exeext; then
37473 ac_cv_lib_w_wcslen=yes
37474 else
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37477
37478 ac_cv_lib_w_wcslen=no
37479 fi
37480
37481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37482 conftest$ac_exeext conftest.$ac_ext
37483 LIBS=$ac_check_lib_save_LIBS
37484 fi
37485 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
37486 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
37487 if test $ac_cv_lib_w_wcslen = yes; then
37488
37489 WCHAR_LINK=" -lw"
37490 WCSLEN_FOUND=1
37491
37492 fi
37493
37494 fi
37495 fi
37496
37497 if test "$WCSLEN_FOUND" = 1; then
37498 cat >>confdefs.h <<\_ACEOF
37499 #define HAVE_WCSLEN 1
37500 _ACEOF
37501
37502 fi
37503
37504
37505 for ac_func in wcsdup
37506 do
37507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37508 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37510 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37511 echo $ECHO_N "(cached) $ECHO_C" >&6
37512 else
37513 cat >conftest.$ac_ext <<_ACEOF
37514 /* confdefs.h. */
37515 _ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37521 #define $ac_func innocuous_$ac_func
37522
37523 /* System header to define __stub macros and hopefully few prototypes,
37524 which can conflict with char $ac_func (); below.
37525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37526 <limits.h> exists even on freestanding compilers. */
37527
37528 #ifdef __STDC__
37529 # include <limits.h>
37530 #else
37531 # include <assert.h>
37532 #endif
37533
37534 #undef $ac_func
37535
37536 /* Override any GCC internal prototype to avoid an error.
37537 Use char because int might match the return type of a GCC
37538 builtin and then its argument prototype would still apply. */
37539 #ifdef __cplusplus
37540 extern "C"
37541 #endif
37542 char $ac_func ();
37543 /* The GNU C library defines this for functions which it implements
37544 to always fail with ENOSYS. Some functions are actually named
37545 something starting with __ and the normal name is an alias. */
37546 #if defined __stub_$ac_func || defined __stub___$ac_func
37547 choke me
37548 #endif
37549
37550 int
37551 main ()
37552 {
37553 return $ac_func ();
37554 ;
37555 return 0;
37556 }
37557 _ACEOF
37558 rm -f conftest.$ac_objext conftest$ac_exeext
37559 if { (ac_try="$ac_link"
37560 case "(($ac_try" in
37561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37562 *) ac_try_echo=$ac_try;;
37563 esac
37564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37565 (eval "$ac_link") 2>conftest.er1
37566 ac_status=$?
37567 grep -v '^ *+' conftest.er1 >conftest.err
37568 rm -f conftest.er1
37569 cat conftest.err >&5
37570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37571 (exit $ac_status); } && {
37572 test -z "$ac_c_werror_flag" ||
37573 test ! -s conftest.err
37574 } && test -s conftest$ac_exeext &&
37575 $as_test_x conftest$ac_exeext; then
37576 eval "$as_ac_var=yes"
37577 else
37578 echo "$as_me: failed program was:" >&5
37579 sed 's/^/| /' conftest.$ac_ext >&5
37580
37581 eval "$as_ac_var=no"
37582 fi
37583
37584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37585 conftest$ac_exeext conftest.$ac_ext
37586 fi
37587 ac_res=`eval echo '${'$as_ac_var'}'`
37588 { echo "$as_me:$LINENO: result: $ac_res" >&5
37589 echo "${ECHO_T}$ac_res" >&6; }
37590 if test `eval echo '${'$as_ac_var'}'` = yes; then
37591 cat >>confdefs.h <<_ACEOF
37592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37593 _ACEOF
37594
37595 fi
37596 done
37597
37598
37599 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
37600 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
37601 fi
37602
37603 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
37604 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
37605 if test "${ac_cv_type_mbstate_t+set}" = set; then
37606 echo $ECHO_N "(cached) $ECHO_C" >&6
37607 else
37608 cat >conftest.$ac_ext <<_ACEOF
37609 /* confdefs.h. */
37610 _ACEOF
37611 cat confdefs.h >>conftest.$ac_ext
37612 cat >>conftest.$ac_ext <<_ACEOF
37613 /* end confdefs.h. */
37614 #include <wchar.h>
37615
37616 typedef mbstate_t ac__type_new_;
37617 int
37618 main ()
37619 {
37620 if ((ac__type_new_ *) 0)
37621 return 0;
37622 if (sizeof (ac__type_new_))
37623 return 0;
37624 ;
37625 return 0;
37626 }
37627 _ACEOF
37628 rm -f conftest.$ac_objext
37629 if { (ac_try="$ac_compile"
37630 case "(($ac_try" in
37631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37632 *) ac_try_echo=$ac_try;;
37633 esac
37634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37635 (eval "$ac_compile") 2>conftest.er1
37636 ac_status=$?
37637 grep -v '^ *+' conftest.er1 >conftest.err
37638 rm -f conftest.er1
37639 cat conftest.err >&5
37640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37641 (exit $ac_status); } && {
37642 test -z "$ac_c_werror_flag" ||
37643 test ! -s conftest.err
37644 } && test -s conftest.$ac_objext; then
37645 ac_cv_type_mbstate_t=yes
37646 else
37647 echo "$as_me: failed program was:" >&5
37648 sed 's/^/| /' conftest.$ac_ext >&5
37649
37650 ac_cv_type_mbstate_t=no
37651 fi
37652
37653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37654 fi
37655 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
37656 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
37657 if test $ac_cv_type_mbstate_t = yes; then
37658
37659 cat >>confdefs.h <<_ACEOF
37660 #define HAVE_MBSTATE_T 1
37661 _ACEOF
37662
37663
37664 for ac_func in wcsrtombs
37665 do
37666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37670 echo $ECHO_N "(cached) $ECHO_C" >&6
37671 else
37672 cat >conftest.$ac_ext <<_ACEOF
37673 /* confdefs.h. */
37674 _ACEOF
37675 cat confdefs.h >>conftest.$ac_ext
37676 cat >>conftest.$ac_ext <<_ACEOF
37677 /* end confdefs.h. */
37678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37680 #define $ac_func innocuous_$ac_func
37681
37682 /* System header to define __stub macros and hopefully few prototypes,
37683 which can conflict with char $ac_func (); below.
37684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37685 <limits.h> exists even on freestanding compilers. */
37686
37687 #ifdef __STDC__
37688 # include <limits.h>
37689 #else
37690 # include <assert.h>
37691 #endif
37692
37693 #undef $ac_func
37694
37695 /* Override any GCC internal prototype to avoid an error.
37696 Use char because int might match the return type of a GCC
37697 builtin and then its argument prototype would still apply. */
37698 #ifdef __cplusplus
37699 extern "C"
37700 #endif
37701 char $ac_func ();
37702 /* The GNU C library defines this for functions which it implements
37703 to always fail with ENOSYS. Some functions are actually named
37704 something starting with __ and the normal name is an alias. */
37705 #if defined __stub_$ac_func || defined __stub___$ac_func
37706 choke me
37707 #endif
37708
37709 int
37710 main ()
37711 {
37712 return $ac_func ();
37713 ;
37714 return 0;
37715 }
37716 _ACEOF
37717 rm -f conftest.$ac_objext conftest$ac_exeext
37718 if { (ac_try="$ac_link"
37719 case "(($ac_try" in
37720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37721 *) ac_try_echo=$ac_try;;
37722 esac
37723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37724 (eval "$ac_link") 2>conftest.er1
37725 ac_status=$?
37726 grep -v '^ *+' conftest.er1 >conftest.err
37727 rm -f conftest.er1
37728 cat conftest.err >&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); } && {
37731 test -z "$ac_c_werror_flag" ||
37732 test ! -s conftest.err
37733 } && test -s conftest$ac_exeext &&
37734 $as_test_x conftest$ac_exeext; then
37735 eval "$as_ac_var=yes"
37736 else
37737 echo "$as_me: failed program was:" >&5
37738 sed 's/^/| /' conftest.$ac_ext >&5
37739
37740 eval "$as_ac_var=no"
37741 fi
37742
37743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37744 conftest$ac_exeext conftest.$ac_ext
37745 fi
37746 ac_res=`eval echo '${'$as_ac_var'}'`
37747 { echo "$as_me:$LINENO: result: $ac_res" >&5
37748 echo "${ECHO_T}$ac_res" >&6; }
37749 if test `eval echo '${'$as_ac_var'}'` = yes; then
37750 cat >>confdefs.h <<_ACEOF
37751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37752 _ACEOF
37753
37754 fi
37755 done
37756
37757 fi
37758
37759 else
37760 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
37761 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
37762 fi
37763
37764
37765
37766 for ac_func in snprintf vsnprintf
37767 do
37768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37769 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37771 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37772 echo $ECHO_N "(cached) $ECHO_C" >&6
37773 else
37774 cat >conftest.$ac_ext <<_ACEOF
37775 /* confdefs.h. */
37776 _ACEOF
37777 cat confdefs.h >>conftest.$ac_ext
37778 cat >>conftest.$ac_ext <<_ACEOF
37779 /* end confdefs.h. */
37780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37782 #define $ac_func innocuous_$ac_func
37783
37784 /* System header to define __stub macros and hopefully few prototypes,
37785 which can conflict with char $ac_func (); below.
37786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37787 <limits.h> exists even on freestanding compilers. */
37788
37789 #ifdef __STDC__
37790 # include <limits.h>
37791 #else
37792 # include <assert.h>
37793 #endif
37794
37795 #undef $ac_func
37796
37797 /* Override any GCC internal prototype to avoid an error.
37798 Use char because int might match the return type of a GCC
37799 builtin and then its argument prototype would still apply. */
37800 #ifdef __cplusplus
37801 extern "C"
37802 #endif
37803 char $ac_func ();
37804 /* The GNU C library defines this for functions which it implements
37805 to always fail with ENOSYS. Some functions are actually named
37806 something starting with __ and the normal name is an alias. */
37807 #if defined __stub_$ac_func || defined __stub___$ac_func
37808 choke me
37809 #endif
37810
37811 int
37812 main ()
37813 {
37814 return $ac_func ();
37815 ;
37816 return 0;
37817 }
37818 _ACEOF
37819 rm -f conftest.$ac_objext conftest$ac_exeext
37820 if { (ac_try="$ac_link"
37821 case "(($ac_try" in
37822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37823 *) ac_try_echo=$ac_try;;
37824 esac
37825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37826 (eval "$ac_link") 2>conftest.er1
37827 ac_status=$?
37828 grep -v '^ *+' conftest.er1 >conftest.err
37829 rm -f conftest.er1
37830 cat conftest.err >&5
37831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37832 (exit $ac_status); } && {
37833 test -z "$ac_c_werror_flag" ||
37834 test ! -s conftest.err
37835 } && test -s conftest$ac_exeext &&
37836 $as_test_x conftest$ac_exeext; then
37837 eval "$as_ac_var=yes"
37838 else
37839 echo "$as_me: failed program was:" >&5
37840 sed 's/^/| /' conftest.$ac_ext >&5
37841
37842 eval "$as_ac_var=no"
37843 fi
37844
37845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37846 conftest$ac_exeext conftest.$ac_ext
37847 fi
37848 ac_res=`eval echo '${'$as_ac_var'}'`
37849 { echo "$as_me:$LINENO: result: $ac_res" >&5
37850 echo "${ECHO_T}$ac_res" >&6; }
37851 if test `eval echo '${'$as_ac_var'}'` = yes; then
37852 cat >>confdefs.h <<_ACEOF
37853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37854 _ACEOF
37855
37856 fi
37857 done
37858
37859
37860 if test "$ac_cv_func_vsnprintf" = "yes"; then
37861 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37862 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37863 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37864 echo $ECHO_N "(cached) $ECHO_C" >&6
37865 else
37866
37867 cat >conftest.$ac_ext <<_ACEOF
37868 /* confdefs.h. */
37869 _ACEOF
37870 cat confdefs.h >>conftest.$ac_ext
37871 cat >>conftest.$ac_ext <<_ACEOF
37872 /* end confdefs.h. */
37873
37874 #include <stdio.h>
37875 #include <stdarg.h>
37876 #ifdef __MSL__
37877 #if __MSL__ >= 0x6000
37878 namespace std {}
37879 using namespace std;
37880 #endif
37881 #endif
37882
37883 int
37884 main ()
37885 {
37886
37887 char *buf;
37888 va_list ap;
37889 vsnprintf(buf, 10u, "%s", ap);
37890
37891 ;
37892 return 0;
37893 }
37894 _ACEOF
37895 rm -f conftest.$ac_objext
37896 if { (ac_try="$ac_compile"
37897 case "(($ac_try" in
37898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37899 *) ac_try_echo=$ac_try;;
37900 esac
37901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37902 (eval "$ac_compile") 2>conftest.er1
37903 ac_status=$?
37904 grep -v '^ *+' conftest.er1 >conftest.err
37905 rm -f conftest.er1
37906 cat conftest.err >&5
37907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37908 (exit $ac_status); } && {
37909 test -z "$ac_c_werror_flag" ||
37910 test ! -s conftest.err
37911 } && test -s conftest.$ac_objext; then
37912 wx_cv_func_vsnprintf_decl=yes
37913 else
37914 echo "$as_me: failed program was:" >&5
37915 sed 's/^/| /' conftest.$ac_ext >&5
37916
37917 wx_cv_func_vsnprintf_decl=no
37918
37919 fi
37920
37921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37922
37923
37924 fi
37925 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37926 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37927
37928 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37929 cat >>confdefs.h <<\_ACEOF
37930 #define HAVE_VSNPRINTF_DECL 1
37931 _ACEOF
37932
37933
37934 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37935 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37936 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37937 echo $ECHO_N "(cached) $ECHO_C" >&6
37938 else
37939
37940 cat >conftest.$ac_ext <<_ACEOF
37941 /* confdefs.h. */
37942 _ACEOF
37943 cat confdefs.h >>conftest.$ac_ext
37944 cat >>conftest.$ac_ext <<_ACEOF
37945 /* end confdefs.h. */
37946
37947 #include <stdio.h>
37948 #include <stdarg.h>
37949 #ifdef __MSL__
37950 #if __MSL__ >= 0x6000
37951 namespace std {}
37952 using namespace std;
37953 #endif
37954 #endif
37955
37956 int
37957 main ()
37958 {
37959
37960 char *buf;
37961 va_list ap;
37962 const char *fmt = "%s";
37963 vsnprintf(buf, 10u, fmt, ap);
37964
37965 ;
37966 return 0;
37967 }
37968 _ACEOF
37969 rm -f conftest.$ac_objext
37970 if { (ac_try="$ac_compile"
37971 case "(($ac_try" in
37972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37973 *) ac_try_echo=$ac_try;;
37974 esac
37975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37976 (eval "$ac_compile") 2>conftest.er1
37977 ac_status=$?
37978 grep -v '^ *+' conftest.er1 >conftest.err
37979 rm -f conftest.er1
37980 cat conftest.err >&5
37981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37982 (exit $ac_status); } && {
37983 test -z "$ac_c_werror_flag" ||
37984 test ! -s conftest.err
37985 } && test -s conftest.$ac_objext; then
37986 wx_cv_func_broken_vsnprintf_decl=no
37987 else
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37990
37991 wx_cv_func_broken_vsnprintf_decl=yes
37992
37993 fi
37994
37995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37996
37997
37998 fi
37999 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
38000 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
38001
38002 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
38003 cat >>confdefs.h <<\_ACEOF
38004 #define HAVE_BROKEN_VSNPRINTF_DECL 1
38005 _ACEOF
38006
38007 fi
38008 fi
38009 fi
38010
38011 if test "$ac_cv_func_snprintf" = "yes"; then
38012 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
38013 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
38014 if test "${wx_cv_func_snprintf_decl+set}" = set; then
38015 echo $ECHO_N "(cached) $ECHO_C" >&6
38016 else
38017
38018 cat >conftest.$ac_ext <<_ACEOF
38019 /* confdefs.h. */
38020 _ACEOF
38021 cat confdefs.h >>conftest.$ac_ext
38022 cat >>conftest.$ac_ext <<_ACEOF
38023 /* end confdefs.h. */
38024
38025 #include <stdio.h>
38026 #include <stdarg.h>
38027 #ifdef __MSL__
38028 #if __MSL__ >= 0x6000
38029 namespace std {}
38030 using namespace std;
38031 #endif
38032 #endif
38033
38034 int
38035 main ()
38036 {
38037
38038 char *buf;
38039 snprintf(buf, 10u, "%s", "wx");
38040
38041 ;
38042 return 0;
38043 }
38044 _ACEOF
38045 rm -f conftest.$ac_objext
38046 if { (ac_try="$ac_compile"
38047 case "(($ac_try" in
38048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38049 *) ac_try_echo=$ac_try;;
38050 esac
38051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38052 (eval "$ac_compile") 2>conftest.er1
38053 ac_status=$?
38054 grep -v '^ *+' conftest.er1 >conftest.err
38055 rm -f conftest.er1
38056 cat conftest.err >&5
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); } && {
38059 test -z "$ac_c_werror_flag" ||
38060 test ! -s conftest.err
38061 } && test -s conftest.$ac_objext; then
38062 wx_cv_func_snprintf_decl=yes
38063 else
38064 echo "$as_me: failed program was:" >&5
38065 sed 's/^/| /' conftest.$ac_ext >&5
38066
38067 wx_cv_func_snprintf_decl=no
38068
38069 fi
38070
38071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38072
38073
38074 fi
38075 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
38076 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
38077
38078 if test "$wx_cv_func_snprintf_decl" = "yes"; then
38079 cat >>confdefs.h <<\_ACEOF
38080 #define HAVE_SNPRINTF_DECL 1
38081 _ACEOF
38082
38083
38084 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
38085 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
38086 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
38087 echo $ECHO_N "(cached) $ECHO_C" >&6
38088 else
38089
38090 cat >conftest.$ac_ext <<_ACEOF
38091 /* confdefs.h. */
38092 _ACEOF
38093 cat confdefs.h >>conftest.$ac_ext
38094 cat >>conftest.$ac_ext <<_ACEOF
38095 /* end confdefs.h. */
38096
38097 #include <stdio.h>
38098 #include <stdarg.h>
38099 #ifdef __MSL__
38100 #if __MSL__ >= 0x6000
38101 namespace std {}
38102 using namespace std;
38103 #endif
38104 #endif
38105
38106 int
38107 main ()
38108 {
38109
38110 char *buf;
38111 const char *fmt = "%s";
38112 snprintf(buf, 10u, fmt, "wx");
38113
38114 ;
38115 return 0;
38116 }
38117 _ACEOF
38118 rm -f conftest.$ac_objext
38119 if { (ac_try="$ac_compile"
38120 case "(($ac_try" in
38121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38122 *) ac_try_echo=$ac_try;;
38123 esac
38124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38125 (eval "$ac_compile") 2>conftest.er1
38126 ac_status=$?
38127 grep -v '^ *+' conftest.er1 >conftest.err
38128 rm -f conftest.er1
38129 cat conftest.err >&5
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); } && {
38132 test -z "$ac_c_werror_flag" ||
38133 test ! -s conftest.err
38134 } && test -s conftest.$ac_objext; then
38135 wx_cv_func_broken_snprintf_decl=no
38136 else
38137 echo "$as_me: failed program was:" >&5
38138 sed 's/^/| /' conftest.$ac_ext >&5
38139
38140 wx_cv_func_broken_snprintf_decl=yes
38141
38142 fi
38143
38144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38145
38146
38147 fi
38148 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
38149 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
38150
38151 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
38152 cat >>confdefs.h <<\_ACEOF
38153 #define HAVE_BROKEN_SNPRINTF_DECL 1
38154 _ACEOF
38155
38156 fi
38157 fi
38158
38159 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
38160
38161 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
38162 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
38163 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
38164 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 else
38166
38167 if test "$cross_compiling" = yes; then
38168
38169 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
38170 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
38171 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
38172 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
38173 wx_cv_func_snprintf_pos_params=no
38174
38175
38176 else
38177 cat >conftest.$ac_ext <<_ACEOF
38178 /* confdefs.h. */
38179 _ACEOF
38180 cat confdefs.h >>conftest.$ac_ext
38181 cat >>conftest.$ac_ext <<_ACEOF
38182 /* end confdefs.h. */
38183
38184 #include <stdio.h>
38185
38186 int main (void)
38187 {
38188 char buffer[128];
38189 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
38190 if (strcmp ("2 3 1", buffer) == 0)
38191 exit (0);
38192 exit (1);
38193 }
38194
38195 _ACEOF
38196 rm -f conftest$ac_exeext
38197 if { (ac_try="$ac_link"
38198 case "(($ac_try" in
38199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38200 *) ac_try_echo=$ac_try;;
38201 esac
38202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38203 (eval "$ac_link") 2>&5
38204 ac_status=$?
38205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38206 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
38207 { (case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38210 esac
38211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_try") 2>&5
38213 ac_status=$?
38214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38215 (exit $ac_status); }; }; then
38216 wx_cv_func_snprintf_pos_params=no
38217 else
38218 echo "$as_me: program exited with status $ac_status" >&5
38219 echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.$ac_ext >&5
38221
38222 ( exit $ac_status )
38223 wx_cv_func_snprintf_pos_params=yes
38224 fi
38225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
38226 fi
38227
38228
38229
38230
38231 fi
38232 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
38233 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
38234
38235 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
38236 cat >>confdefs.h <<\_ACEOF
38237 #define HAVE_UNIX98_PRINTF 1
38238 _ACEOF
38239
38240 fi
38241 fi
38242 fi
38243
38244 if test "$wxUSE_UNICODE" = yes; then
38245
38246
38247 for ac_func in swprintf
38248 do
38249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38253 echo $ECHO_N "(cached) $ECHO_C" >&6
38254 else
38255 cat >conftest.$ac_ext <<_ACEOF
38256 /* confdefs.h. */
38257 _ACEOF
38258 cat confdefs.h >>conftest.$ac_ext
38259 cat >>conftest.$ac_ext <<_ACEOF
38260 /* end confdefs.h. */
38261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38263 #define $ac_func innocuous_$ac_func
38264
38265 /* System header to define __stub macros and hopefully few prototypes,
38266 which can conflict with char $ac_func (); below.
38267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38268 <limits.h> exists even on freestanding compilers. */
38269
38270 #ifdef __STDC__
38271 # include <limits.h>
38272 #else
38273 # include <assert.h>
38274 #endif
38275
38276 #undef $ac_func
38277
38278 /* Override any GCC internal prototype to avoid an error.
38279 Use char because int might match the return type of a GCC
38280 builtin and then its argument prototype would still apply. */
38281 #ifdef __cplusplus
38282 extern "C"
38283 #endif
38284 char $ac_func ();
38285 /* The GNU C library defines this for functions which it implements
38286 to always fail with ENOSYS. Some functions are actually named
38287 something starting with __ and the normal name is an alias. */
38288 #if defined __stub_$ac_func || defined __stub___$ac_func
38289 choke me
38290 #endif
38291
38292 int
38293 main ()
38294 {
38295 return $ac_func ();
38296 ;
38297 return 0;
38298 }
38299 _ACEOF
38300 rm -f conftest.$ac_objext conftest$ac_exeext
38301 if { (ac_try="$ac_link"
38302 case "(($ac_try" in
38303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38304 *) ac_try_echo=$ac_try;;
38305 esac
38306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38307 (eval "$ac_link") 2>conftest.er1
38308 ac_status=$?
38309 grep -v '^ *+' conftest.er1 >conftest.err
38310 rm -f conftest.er1
38311 cat conftest.err >&5
38312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38313 (exit $ac_status); } && {
38314 test -z "$ac_c_werror_flag" ||
38315 test ! -s conftest.err
38316 } && test -s conftest$ac_exeext &&
38317 $as_test_x conftest$ac_exeext; then
38318 eval "$as_ac_var=yes"
38319 else
38320 echo "$as_me: failed program was:" >&5
38321 sed 's/^/| /' conftest.$ac_ext >&5
38322
38323 eval "$as_ac_var=no"
38324 fi
38325
38326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38327 conftest$ac_exeext conftest.$ac_ext
38328 fi
38329 ac_res=`eval echo '${'$as_ac_var'}'`
38330 { echo "$as_me:$LINENO: result: $ac_res" >&5
38331 echo "${ECHO_T}$ac_res" >&6; }
38332 if test `eval echo '${'$as_ac_var'}'` = yes; then
38333 cat >>confdefs.h <<_ACEOF
38334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38335 _ACEOF
38336
38337 fi
38338 done
38339
38340
38341 if test "$ac_cv_func_swprintf" = "yes"; then
38342 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
38343 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
38344 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
38345 echo $ECHO_N "(cached) $ECHO_C" >&6
38346 else
38347
38348 cat >conftest.$ac_ext <<_ACEOF
38349 /* confdefs.h. */
38350 _ACEOF
38351 cat confdefs.h >>conftest.$ac_ext
38352 cat >>conftest.$ac_ext <<_ACEOF
38353 /* end confdefs.h. */
38354
38355 #include <stdio.h>
38356 #include <stdarg.h>
38357 #include <wchar.h>
38358
38359 int
38360 main ()
38361 {
38362
38363 wchar_t *buf;
38364 const wchar_t *fmt = L"test";
38365 swprintf(buf, 10u, fmt);
38366
38367 ;
38368 return 0;
38369 }
38370 _ACEOF
38371 rm -f conftest.$ac_objext
38372 if { (ac_try="$ac_compile"
38373 case "(($ac_try" in
38374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38375 *) ac_try_echo=$ac_try;;
38376 esac
38377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38378 (eval "$ac_compile") 2>conftest.er1
38379 ac_status=$?
38380 grep -v '^ *+' conftest.er1 >conftest.err
38381 rm -f conftest.er1
38382 cat conftest.err >&5
38383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38384 (exit $ac_status); } && {
38385 test -z "$ac_c_werror_flag" ||
38386 test ! -s conftest.err
38387 } && test -s conftest.$ac_objext; then
38388 wx_cv_func_broken_swprintf_decl=no
38389 else
38390 echo "$as_me: failed program was:" >&5
38391 sed 's/^/| /' conftest.$ac_ext >&5
38392
38393 wx_cv_func_broken_swprintf_decl=yes
38394
38395 fi
38396
38397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38398
38399
38400 fi
38401 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
38402 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
38403
38404 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
38405 cat >>confdefs.h <<\_ACEOF
38406 #define HAVE_BROKEN_SWPRINTF_DECL 1
38407 _ACEOF
38408
38409 fi
38410 fi
38411
38412 wchar_headers="#include <stdio.h>
38413 #include <wchar.h>"
38414 case "${host}" in
38415 *-*-solaris2* )
38416
38417 for ac_header in widec.h
38418 do
38419 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38420 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38421 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38422 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38423 echo $ECHO_N "(cached) $ECHO_C" >&6
38424 else
38425 cat >conftest.$ac_ext <<_ACEOF
38426 /* confdefs.h. */
38427 _ACEOF
38428 cat confdefs.h >>conftest.$ac_ext
38429 cat >>conftest.$ac_ext <<_ACEOF
38430 /* end confdefs.h. */
38431 $ac_includes_default
38432
38433 #include <$ac_header>
38434 _ACEOF
38435 rm -f conftest.$ac_objext
38436 if { (ac_try="$ac_compile"
38437 case "(($ac_try" in
38438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38439 *) ac_try_echo=$ac_try;;
38440 esac
38441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38442 (eval "$ac_compile") 2>conftest.er1
38443 ac_status=$?
38444 grep -v '^ *+' conftest.er1 >conftest.err
38445 rm -f conftest.er1
38446 cat conftest.err >&5
38447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448 (exit $ac_status); } && {
38449 test -z "$ac_c_werror_flag" ||
38450 test ! -s conftest.err
38451 } && test -s conftest.$ac_objext; then
38452 eval "$as_ac_Header=yes"
38453 else
38454 echo "$as_me: failed program was:" >&5
38455 sed 's/^/| /' conftest.$ac_ext >&5
38456
38457 eval "$as_ac_Header=no"
38458 fi
38459
38460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38461 fi
38462 ac_res=`eval echo '${'$as_ac_Header'}'`
38463 { echo "$as_me:$LINENO: result: $ac_res" >&5
38464 echo "${ECHO_T}$ac_res" >&6; }
38465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38466 cat >>confdefs.h <<_ACEOF
38467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38468 _ACEOF
38469
38470 fi
38471
38472 done
38473
38474 if test "$ac_cv_header_widec_h" = "yes"; then
38475 wchar_headers="$wchar_headers
38476 #include <widec.h>"
38477 fi
38478 esac
38479
38480
38481 for wx_func in wputc wputchar putws fputws wprintf vswprintf
38482 do
38483 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38484 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38485 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38486 echo $ECHO_N "(cached) $ECHO_C" >&6
38487 else
38488
38489 cat >conftest.$ac_ext <<_ACEOF
38490
38491 /* confdefs.h. */
38492 _ACEOF
38493 cat confdefs.h >>conftest.$ac_ext
38494 cat >>conftest.$ac_ext <<_ACEOF
38495 /* end confdefs.h. */
38496
38497 $wchar_headers
38498 $ac_includes_default
38499
38500 int
38501 main ()
38502 {
38503
38504 #ifndef $wx_func
38505 &$wx_func;
38506 #endif
38507
38508
38509 ;
38510 return 0;
38511 }
38512
38513 _ACEOF
38514 rm -f conftest.$ac_objext conftest$ac_exeext
38515 if { (ac_try="$ac_link"
38516 case "(($ac_try" in
38517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38518 *) ac_try_echo=$ac_try;;
38519 esac
38520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38521 (eval "$ac_link") 2>conftest.er1
38522 ac_status=$?
38523 grep -v '^ *+' conftest.er1 >conftest.err
38524 rm -f conftest.er1
38525 cat conftest.err >&5
38526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38527 (exit $ac_status); } && {
38528 test -z "$ac_c_werror_flag" ||
38529 test ! -s conftest.err
38530 } && test -s conftest$ac_exeext &&
38531 $as_test_x conftest$ac_exeext; then
38532 eval wx_cv_func_$wx_func=yes
38533 else
38534 echo "$as_me: failed program was:" >&5
38535 sed 's/^/| /' conftest.$ac_ext >&5
38536
38537 eval wx_cv_func_$wx_func=no
38538 fi
38539
38540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38541 conftest$ac_exeext conftest.$ac_ext
38542
38543 fi
38544 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38545 { echo "$as_me:$LINENO: result: $ac_res" >&5
38546 echo "${ECHO_T}$ac_res" >&6; }
38547
38548 if eval test \$wx_cv_func_$wx_func = yes
38549 then
38550 cat >>confdefs.h <<_ACEOF
38551 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38552 _ACEOF
38553
38554
38555 else
38556 :
38557
38558 fi
38559 done
38560
38561
38562 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
38563 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
38564 cat >conftest.$ac_ext <<_ACEOF
38565 /* confdefs.h. */
38566 _ACEOF
38567 cat confdefs.h >>conftest.$ac_ext
38568 cat >>conftest.$ac_ext <<_ACEOF
38569 /* end confdefs.h. */
38570 #include <wchar.h>
38571 int
38572 main ()
38573 {
38574 &_vsnwprintf;
38575 ;
38576 return 0;
38577 }
38578 _ACEOF
38579 rm -f conftest.$ac_objext
38580 if { (ac_try="$ac_compile"
38581 case "(($ac_try" in
38582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38583 *) ac_try_echo=$ac_try;;
38584 esac
38585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38586 (eval "$ac_compile") 2>conftest.er1
38587 ac_status=$?
38588 grep -v '^ *+' conftest.er1 >conftest.err
38589 rm -f conftest.er1
38590 cat conftest.err >&5
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); } && {
38593 test -z "$ac_c_werror_flag" ||
38594 test ! -s conftest.err
38595 } && test -s conftest.$ac_objext; then
38596 { echo "$as_me:$LINENO: result: yes" >&5
38597 echo "${ECHO_T}yes" >&6; }
38598 cat >>confdefs.h <<\_ACEOF
38599 #define HAVE__VSNWPRINTF 1
38600 _ACEOF
38601
38602 else
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.$ac_ext >&5
38605
38606 { echo "$as_me:$LINENO: result: no" >&5
38607 echo "${ECHO_T}no" >&6; }
38608 fi
38609
38610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
38611 fi
38612
38613 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
38614
38615 for wx_func in fnmatch
38616 do
38617 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38618 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38619 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38620 echo $ECHO_N "(cached) $ECHO_C" >&6
38621 else
38622
38623 cat >conftest.$ac_ext <<_ACEOF
38624
38625 /* confdefs.h. */
38626 _ACEOF
38627 cat confdefs.h >>conftest.$ac_ext
38628 cat >>conftest.$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630
38631 #include <fnmatch.h>
38632 $ac_includes_default
38633
38634 int
38635 main ()
38636 {
38637
38638 #ifndef $wx_func
38639 &$wx_func;
38640 #endif
38641
38642
38643 ;
38644 return 0;
38645 }
38646
38647 _ACEOF
38648 rm -f conftest.$ac_objext conftest$ac_exeext
38649 if { (ac_try="$ac_link"
38650 case "(($ac_try" in
38651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38652 *) ac_try_echo=$ac_try;;
38653 esac
38654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38655 (eval "$ac_link") 2>conftest.er1
38656 ac_status=$?
38657 grep -v '^ *+' conftest.er1 >conftest.err
38658 rm -f conftest.er1
38659 cat conftest.err >&5
38660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661 (exit $ac_status); } && {
38662 test -z "$ac_c_werror_flag" ||
38663 test ! -s conftest.err
38664 } && test -s conftest$ac_exeext &&
38665 $as_test_x conftest$ac_exeext; then
38666 eval wx_cv_func_$wx_func=yes
38667 else
38668 echo "$as_me: failed program was:" >&5
38669 sed 's/^/| /' conftest.$ac_ext >&5
38670
38671 eval wx_cv_func_$wx_func=no
38672 fi
38673
38674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38675 conftest$ac_exeext conftest.$ac_ext
38676
38677 fi
38678 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38679 { echo "$as_me:$LINENO: result: $ac_res" >&5
38680 echo "${ECHO_T}$ac_res" >&6; }
38681
38682 if eval test \$wx_cv_func_$wx_func = yes
38683 then
38684 cat >>confdefs.h <<_ACEOF
38685 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38686 _ACEOF
38687
38688
38689 else
38690 :
38691
38692 fi
38693 done
38694
38695 fi
38696
38697 if test "$wxUSE_FILE" = "yes"; then
38698
38699 for wx_func in fsync
38700 do
38701 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38702 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38703 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38704 echo $ECHO_N "(cached) $ECHO_C" >&6
38705 else
38706
38707 cat >conftest.$ac_ext <<_ACEOF
38708
38709 /* confdefs.h. */
38710 _ACEOF
38711 cat confdefs.h >>conftest.$ac_ext
38712 cat >>conftest.$ac_ext <<_ACEOF
38713 /* end confdefs.h. */
38714
38715
38716 $ac_includes_default
38717
38718 int
38719 main ()
38720 {
38721
38722 #ifndef $wx_func
38723 &$wx_func;
38724 #endif
38725
38726
38727 ;
38728 return 0;
38729 }
38730
38731 _ACEOF
38732 rm -f conftest.$ac_objext conftest$ac_exeext
38733 if { (ac_try="$ac_link"
38734 case "(($ac_try" in
38735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38736 *) ac_try_echo=$ac_try;;
38737 esac
38738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38739 (eval "$ac_link") 2>conftest.er1
38740 ac_status=$?
38741 grep -v '^ *+' conftest.er1 >conftest.err
38742 rm -f conftest.er1
38743 cat conftest.err >&5
38744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38745 (exit $ac_status); } && {
38746 test -z "$ac_c_werror_flag" ||
38747 test ! -s conftest.err
38748 } && test -s conftest$ac_exeext &&
38749 $as_test_x conftest$ac_exeext; then
38750 eval wx_cv_func_$wx_func=yes
38751 else
38752 echo "$as_me: failed program was:" >&5
38753 sed 's/^/| /' conftest.$ac_ext >&5
38754
38755 eval wx_cv_func_$wx_func=no
38756 fi
38757
38758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38759 conftest$ac_exeext conftest.$ac_ext
38760
38761 fi
38762 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38763 { echo "$as_me:$LINENO: result: $ac_res" >&5
38764 echo "${ECHO_T}$ac_res" >&6; }
38765
38766 if eval test \$wx_cv_func_$wx_func = yes
38767 then
38768 cat >>confdefs.h <<_ACEOF
38769 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38770 _ACEOF
38771
38772
38773 else
38774 :
38775
38776 fi
38777 done
38778
38779 fi
38780
38781 ac_ext=cpp
38782 ac_cpp='$CXXCPP $CPPFLAGS'
38783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38786
38787
38788 for wx_func in round
38789 do
38790 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38791 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38792 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38793 echo $ECHO_N "(cached) $ECHO_C" >&6
38794 else
38795
38796 cat >conftest.$ac_ext <<_ACEOF
38797
38798 /* confdefs.h. */
38799 _ACEOF
38800 cat confdefs.h >>conftest.$ac_ext
38801 cat >>conftest.$ac_ext <<_ACEOF
38802 /* end confdefs.h. */
38803
38804 #include <math.h>
38805 $ac_includes_default
38806
38807 int
38808 main ()
38809 {
38810
38811 #ifndef $wx_func
38812 &$wx_func;
38813 #endif
38814
38815
38816 ;
38817 return 0;
38818 }
38819
38820 _ACEOF
38821 rm -f conftest.$ac_objext conftest$ac_exeext
38822 if { (ac_try="$ac_link"
38823 case "(($ac_try" in
38824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38825 *) ac_try_echo=$ac_try;;
38826 esac
38827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38828 (eval "$ac_link") 2>conftest.er1
38829 ac_status=$?
38830 grep -v '^ *+' conftest.er1 >conftest.err
38831 rm -f conftest.er1
38832 cat conftest.err >&5
38833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38834 (exit $ac_status); } && {
38835 test -z "$ac_cxx_werror_flag" ||
38836 test ! -s conftest.err
38837 } && test -s conftest$ac_exeext &&
38838 $as_test_x conftest$ac_exeext; then
38839 eval wx_cv_func_$wx_func=yes
38840 else
38841 echo "$as_me: failed program was:" >&5
38842 sed 's/^/| /' conftest.$ac_ext >&5
38843
38844 eval wx_cv_func_$wx_func=no
38845 fi
38846
38847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38848 conftest$ac_exeext conftest.$ac_ext
38849
38850 fi
38851 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38852 { echo "$as_me:$LINENO: result: $ac_res" >&5
38853 echo "${ECHO_T}$ac_res" >&6; }
38854
38855 if eval test \$wx_cv_func_$wx_func = yes
38856 then
38857 cat >>confdefs.h <<_ACEOF
38858 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38859 _ACEOF
38860
38861
38862 else
38863 :
38864
38865 fi
38866 done
38867
38868 ac_ext=c
38869 ac_cpp='$CPP $CPPFLAGS'
38870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38873
38874
38875 if test "$TOOLKIT" != "MSW"; then
38876
38877
38878
38879
38880
38881 # Check whether --with-libiconv-prefix was given.
38882 if test "${with_libiconv_prefix+set}" = set; then
38883 withval=$with_libiconv_prefix;
38884 for dir in `echo "$withval" | tr : ' '`; do
38885 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
38886 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
38887 done
38888
38889 fi
38890
38891
38892 { echo "$as_me:$LINENO: checking for iconv" >&5
38893 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
38894 if test "${am_cv_func_iconv+set}" = set; then
38895 echo $ECHO_N "(cached) $ECHO_C" >&6
38896 else
38897
38898 am_cv_func_iconv="no, consider installing GNU libiconv"
38899 am_cv_lib_iconv=no
38900 cat >conftest.$ac_ext <<_ACEOF
38901 /* confdefs.h. */
38902 _ACEOF
38903 cat confdefs.h >>conftest.$ac_ext
38904 cat >>conftest.$ac_ext <<_ACEOF
38905 /* end confdefs.h. */
38906 #include <stdlib.h>
38907 #include <iconv.h>
38908 int
38909 main ()
38910 {
38911 iconv_t cd = iconv_open("","");
38912 iconv(cd,NULL,NULL,NULL,NULL);
38913 iconv_close(cd);
38914 ;
38915 return 0;
38916 }
38917 _ACEOF
38918 rm -f conftest.$ac_objext conftest$ac_exeext
38919 if { (ac_try="$ac_link"
38920 case "(($ac_try" in
38921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38922 *) ac_try_echo=$ac_try;;
38923 esac
38924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38925 (eval "$ac_link") 2>conftest.er1
38926 ac_status=$?
38927 grep -v '^ *+' conftest.er1 >conftest.err
38928 rm -f conftest.er1
38929 cat conftest.err >&5
38930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38931 (exit $ac_status); } && {
38932 test -z "$ac_c_werror_flag" ||
38933 test ! -s conftest.err
38934 } && test -s conftest$ac_exeext &&
38935 $as_test_x conftest$ac_exeext; then
38936 am_cv_func_iconv=yes
38937 else
38938 echo "$as_me: failed program was:" >&5
38939 sed 's/^/| /' conftest.$ac_ext >&5
38940
38941
38942 fi
38943
38944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38945 conftest$ac_exeext conftest.$ac_ext
38946 if test "$am_cv_func_iconv" != yes; then
38947 am_save_LIBS="$LIBS"
38948 LIBS="$LIBS -liconv"
38949 cat >conftest.$ac_ext <<_ACEOF
38950 /* confdefs.h. */
38951 _ACEOF
38952 cat confdefs.h >>conftest.$ac_ext
38953 cat >>conftest.$ac_ext <<_ACEOF
38954 /* end confdefs.h. */
38955 #include <stdlib.h>
38956 #include <iconv.h>
38957 int
38958 main ()
38959 {
38960 iconv_t cd = iconv_open("","");
38961 iconv(cd,NULL,NULL,NULL,NULL);
38962 iconv_close(cd);
38963 ;
38964 return 0;
38965 }
38966 _ACEOF
38967 rm -f conftest.$ac_objext conftest$ac_exeext
38968 if { (ac_try="$ac_link"
38969 case "(($ac_try" in
38970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38971 *) ac_try_echo=$ac_try;;
38972 esac
38973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38974 (eval "$ac_link") 2>conftest.er1
38975 ac_status=$?
38976 grep -v '^ *+' conftest.er1 >conftest.err
38977 rm -f conftest.er1
38978 cat conftest.err >&5
38979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38980 (exit $ac_status); } && {
38981 test -z "$ac_c_werror_flag" ||
38982 test ! -s conftest.err
38983 } && test -s conftest$ac_exeext &&
38984 $as_test_x conftest$ac_exeext; then
38985 am_cv_lib_iconv=yes
38986 am_cv_func_iconv=yes
38987 else
38988 echo "$as_me: failed program was:" >&5
38989 sed 's/^/| /' conftest.$ac_ext >&5
38990
38991
38992 fi
38993
38994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38995 conftest$ac_exeext conftest.$ac_ext
38996 LIBS="$am_save_LIBS"
38997 fi
38998
38999 fi
39000 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
39001 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
39002 if test "$am_cv_func_iconv" = yes; then
39003
39004 cat >>confdefs.h <<\_ACEOF
39005 #define HAVE_ICONV 1
39006 _ACEOF
39007
39008 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
39009 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
39010 if test "${wx_cv_func_iconv_const+set}" = set; then
39011 echo $ECHO_N "(cached) $ECHO_C" >&6
39012 else
39013 cat >conftest.$ac_ext <<_ACEOF
39014 /* confdefs.h. */
39015 _ACEOF
39016 cat confdefs.h >>conftest.$ac_ext
39017 cat >>conftest.$ac_ext <<_ACEOF
39018 /* end confdefs.h. */
39019
39020 #include <stdlib.h>
39021 #include <iconv.h>
39022 extern
39023 #ifdef __cplusplus
39024 "C"
39025 #endif
39026 #if defined(__STDC__) || defined(__cplusplus)
39027 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39028 #else
39029 size_t iconv();
39030 #endif
39031
39032 int
39033 main ()
39034 {
39035
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 rm -f conftest.$ac_objext
39041 if { (ac_try="$ac_compile"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39045 esac
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_compile") 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest.$ac_objext; then
39057 wx_cv_func_iconv_const="no"
39058 else
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39061
39062 wx_cv_func_iconv_const="yes"
39063
39064 fi
39065
39066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39067
39068 fi
39069 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
39070 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
39071
39072 iconv_const=
39073 if test "x$wx_cv_func_iconv_const" = "xyes"; then
39074 iconv_const="const"
39075 fi
39076
39077
39078 cat >>confdefs.h <<_ACEOF
39079 #define ICONV_CONST $iconv_const
39080 _ACEOF
39081
39082 fi
39083 LIBICONV=
39084 if test "$am_cv_lib_iconv" = yes; then
39085 LIBICONV="-liconv"
39086 fi
39087
39088
39089 LIBS="$LIBICONV $LIBS"
39090
39091 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39092
39093 for ac_func in sigaction
39094 do
39095 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39096 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39097 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39098 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39099 echo $ECHO_N "(cached) $ECHO_C" >&6
39100 else
39101 cat >conftest.$ac_ext <<_ACEOF
39102 /* confdefs.h. */
39103 _ACEOF
39104 cat confdefs.h >>conftest.$ac_ext
39105 cat >>conftest.$ac_ext <<_ACEOF
39106 /* end confdefs.h. */
39107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39109 #define $ac_func innocuous_$ac_func
39110
39111 /* System header to define __stub macros and hopefully few prototypes,
39112 which can conflict with char $ac_func (); below.
39113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39114 <limits.h> exists even on freestanding compilers. */
39115
39116 #ifdef __STDC__
39117 # include <limits.h>
39118 #else
39119 # include <assert.h>
39120 #endif
39121
39122 #undef $ac_func
39123
39124 /* Override any GCC internal prototype to avoid an error.
39125 Use char because int might match the return type of a GCC
39126 builtin and then its argument prototype would still apply. */
39127 #ifdef __cplusplus
39128 extern "C"
39129 #endif
39130 char $ac_func ();
39131 /* The GNU C library defines this for functions which it implements
39132 to always fail with ENOSYS. Some functions are actually named
39133 something starting with __ and the normal name is an alias. */
39134 #if defined __stub_$ac_func || defined __stub___$ac_func
39135 choke me
39136 #endif
39137
39138 int
39139 main ()
39140 {
39141 return $ac_func ();
39142 ;
39143 return 0;
39144 }
39145 _ACEOF
39146 rm -f conftest.$ac_objext conftest$ac_exeext
39147 if { (ac_try="$ac_link"
39148 case "(($ac_try" in
39149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39150 *) ac_try_echo=$ac_try;;
39151 esac
39152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39153 (eval "$ac_link") 2>conftest.er1
39154 ac_status=$?
39155 grep -v '^ *+' conftest.er1 >conftest.err
39156 rm -f conftest.er1
39157 cat conftest.err >&5
39158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39159 (exit $ac_status); } && {
39160 test -z "$ac_c_werror_flag" ||
39161 test ! -s conftest.err
39162 } && test -s conftest$ac_exeext &&
39163 $as_test_x conftest$ac_exeext; then
39164 eval "$as_ac_var=yes"
39165 else
39166 echo "$as_me: failed program was:" >&5
39167 sed 's/^/| /' conftest.$ac_ext >&5
39168
39169 eval "$as_ac_var=no"
39170 fi
39171
39172 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39173 conftest$ac_exeext conftest.$ac_ext
39174 fi
39175 ac_res=`eval echo '${'$as_ac_var'}'`
39176 { echo "$as_me:$LINENO: result: $ac_res" >&5
39177 echo "${ECHO_T}$ac_res" >&6; }
39178 if test `eval echo '${'$as_ac_var'}'` = yes; then
39179 cat >>confdefs.h <<_ACEOF
39180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39181 _ACEOF
39182
39183 fi
39184 done
39185
39186
39187 if test "$ac_cv_func_sigaction" = "no"; then
39188 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
39189 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
39190 wxUSE_ON_FATAL_EXCEPTION=no
39191 fi
39192
39193 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
39194 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
39195 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
39196 if test "${wx_cv_type_sa_handler+set}" = set; then
39197 echo $ECHO_N "(cached) $ECHO_C" >&6
39198 else
39199
39200 ac_ext=cpp
39201 ac_cpp='$CXXCPP $CPPFLAGS'
39202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39205
39206 cat >conftest.$ac_ext <<_ACEOF
39207 /* confdefs.h. */
39208 _ACEOF
39209 cat confdefs.h >>conftest.$ac_ext
39210 cat >>conftest.$ac_ext <<_ACEOF
39211 /* end confdefs.h. */
39212 #include <signal.h>
39213 int
39214 main ()
39215 {
39216
39217 extern void testSigHandler(int);
39218
39219 struct sigaction sa;
39220 sa.sa_handler = testSigHandler;
39221
39222 ;
39223 return 0;
39224 }
39225 _ACEOF
39226 rm -f conftest.$ac_objext
39227 if { (ac_try="$ac_compile"
39228 case "(($ac_try" in
39229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39230 *) ac_try_echo=$ac_try;;
39231 esac
39232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39233 (eval "$ac_compile") 2>conftest.er1
39234 ac_status=$?
39235 grep -v '^ *+' conftest.er1 >conftest.err
39236 rm -f conftest.er1
39237 cat conftest.err >&5
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); } && {
39240 test -z "$ac_cxx_werror_flag" ||
39241 test ! -s conftest.err
39242 } && test -s conftest.$ac_objext; then
39243
39244 wx_cv_type_sa_handler=int
39245
39246 else
39247 echo "$as_me: failed program was:" >&5
39248 sed 's/^/| /' conftest.$ac_ext >&5
39249
39250
39251 wx_cv_type_sa_handler=void
39252
39253 fi
39254
39255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39256 ac_ext=c
39257 ac_cpp='$CPP $CPPFLAGS'
39258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39261
39262
39263 fi
39264 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
39265 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
39266
39267 cat >>confdefs.h <<_ACEOF
39268 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
39269 _ACEOF
39270
39271 fi
39272 fi
39273
39274 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
39275 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
39276 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
39277 if test "${wx_cv_func_backtrace+set}" = set; then
39278 echo $ECHO_N "(cached) $ECHO_C" >&6
39279 else
39280
39281 ac_ext=cpp
39282 ac_cpp='$CXXCPP $CPPFLAGS'
39283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39286
39287 cat >conftest.$ac_ext <<_ACEOF
39288 /* confdefs.h. */
39289 _ACEOF
39290 cat confdefs.h >>conftest.$ac_ext
39291 cat >>conftest.$ac_ext <<_ACEOF
39292 /* end confdefs.h. */
39293 #include <execinfo.h>
39294 int
39295 main ()
39296 {
39297
39298 void *trace[1];
39299 char **messages;
39300
39301 backtrace(trace, 1);
39302 messages = backtrace_symbols(trace, 1);
39303
39304 ;
39305 return 0;
39306 }
39307 _ACEOF
39308 rm -f conftest.$ac_objext
39309 if { (ac_try="$ac_compile"
39310 case "(($ac_try" in
39311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39312 *) ac_try_echo=$ac_try;;
39313 esac
39314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39315 (eval "$ac_compile") 2>conftest.er1
39316 ac_status=$?
39317 grep -v '^ *+' conftest.er1 >conftest.err
39318 rm -f conftest.er1
39319 cat conftest.err >&5
39320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39321 (exit $ac_status); } && {
39322 test -z "$ac_cxx_werror_flag" ||
39323 test ! -s conftest.err
39324 } && test -s conftest.$ac_objext; then
39325 wx_cv_func_backtrace=yes
39326 else
39327 echo "$as_me: failed program was:" >&5
39328 sed 's/^/| /' conftest.$ac_ext >&5
39329
39330 wx_cv_func_backtrace=no
39331
39332 fi
39333
39334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39335 ac_ext=c
39336 ac_cpp='$CPP $CPPFLAGS'
39337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39340
39341
39342
39343 fi
39344 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
39345 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
39346
39347
39348 if test "$wx_cv_func_backtrace" = "no"; then
39349 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
39350 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
39351 wxUSE_STACKWALKER=no
39352 else
39353 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
39354 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
39355 if test "${wx_cv_func_cxa_demangle+set}" = set; then
39356 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 else
39358
39359 ac_ext=cpp
39360 ac_cpp='$CXXCPP $CPPFLAGS'
39361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39364
39365 cat >conftest.$ac_ext <<_ACEOF
39366 /* confdefs.h. */
39367 _ACEOF
39368 cat confdefs.h >>conftest.$ac_ext
39369 cat >>conftest.$ac_ext <<_ACEOF
39370 /* end confdefs.h. */
39371 #include <cxxabi.h>
39372 int
39373 main ()
39374 {
39375
39376 int rc;
39377 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
39378
39379 ;
39380 return 0;
39381 }
39382 _ACEOF
39383 rm -f conftest.$ac_objext conftest$ac_exeext
39384 if { (ac_try="$ac_link"
39385 case "(($ac_try" in
39386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39387 *) ac_try_echo=$ac_try;;
39388 esac
39389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39390 (eval "$ac_link") 2>conftest.er1
39391 ac_status=$?
39392 grep -v '^ *+' conftest.er1 >conftest.err
39393 rm -f conftest.er1
39394 cat conftest.err >&5
39395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39396 (exit $ac_status); } && {
39397 test -z "$ac_cxx_werror_flag" ||
39398 test ! -s conftest.err
39399 } && test -s conftest$ac_exeext &&
39400 $as_test_x conftest$ac_exeext; then
39401 wx_cv_func_cxa_demangle=yes
39402 else
39403 echo "$as_me: failed program was:" >&5
39404 sed 's/^/| /' conftest.$ac_ext >&5
39405
39406 wx_cv_func_cxa_demangle=no
39407
39408 fi
39409
39410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39411 conftest$ac_exeext conftest.$ac_ext
39412 ac_ext=c
39413 ac_cpp='$CPP $CPPFLAGS'
39414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39417
39418
39419
39420 fi
39421 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
39422 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
39423
39424 if test "$wx_cv_func_cxa_demangle" = "yes"; then
39425 cat >>confdefs.h <<\_ACEOF
39426 #define HAVE_CXA_DEMANGLE 1
39427 _ACEOF
39428
39429 fi
39430 fi
39431 fi
39432
39433 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
39434 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
39435 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
39436 wxUSE_STACKWALKER=no
39437 fi
39438
39439
39440
39441
39442 for ac_func in mkstemp mktemp
39443 do
39444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39445 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39447 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39448 echo $ECHO_N "(cached) $ECHO_C" >&6
39449 else
39450 cat >conftest.$ac_ext <<_ACEOF
39451 /* confdefs.h. */
39452 _ACEOF
39453 cat confdefs.h >>conftest.$ac_ext
39454 cat >>conftest.$ac_ext <<_ACEOF
39455 /* end confdefs.h. */
39456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39458 #define $ac_func innocuous_$ac_func
39459
39460 /* System header to define __stub macros and hopefully few prototypes,
39461 which can conflict with char $ac_func (); below.
39462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39463 <limits.h> exists even on freestanding compilers. */
39464
39465 #ifdef __STDC__
39466 # include <limits.h>
39467 #else
39468 # include <assert.h>
39469 #endif
39470
39471 #undef $ac_func
39472
39473 /* Override any GCC internal prototype to avoid an error.
39474 Use char because int might match the return type of a GCC
39475 builtin and then its argument prototype would still apply. */
39476 #ifdef __cplusplus
39477 extern "C"
39478 #endif
39479 char $ac_func ();
39480 /* The GNU C library defines this for functions which it implements
39481 to always fail with ENOSYS. Some functions are actually named
39482 something starting with __ and the normal name is an alias. */
39483 #if defined __stub_$ac_func || defined __stub___$ac_func
39484 choke me
39485 #endif
39486
39487 int
39488 main ()
39489 {
39490 return $ac_func ();
39491 ;
39492 return 0;
39493 }
39494 _ACEOF
39495 rm -f conftest.$ac_objext conftest$ac_exeext
39496 if { (ac_try="$ac_link"
39497 case "(($ac_try" in
39498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39499 *) ac_try_echo=$ac_try;;
39500 esac
39501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39502 (eval "$ac_link") 2>conftest.er1
39503 ac_status=$?
39504 grep -v '^ *+' conftest.er1 >conftest.err
39505 rm -f conftest.er1
39506 cat conftest.err >&5
39507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39508 (exit $ac_status); } && {
39509 test -z "$ac_c_werror_flag" ||
39510 test ! -s conftest.err
39511 } && test -s conftest$ac_exeext &&
39512 $as_test_x conftest$ac_exeext; then
39513 eval "$as_ac_var=yes"
39514 else
39515 echo "$as_me: failed program was:" >&5
39516 sed 's/^/| /' conftest.$ac_ext >&5
39517
39518 eval "$as_ac_var=no"
39519 fi
39520
39521 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39522 conftest$ac_exeext conftest.$ac_ext
39523 fi
39524 ac_res=`eval echo '${'$as_ac_var'}'`
39525 { echo "$as_me:$LINENO: result: $ac_res" >&5
39526 echo "${ECHO_T}$ac_res" >&6; }
39527 if test `eval echo '${'$as_ac_var'}'` = yes; then
39528 cat >>confdefs.h <<_ACEOF
39529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39530 _ACEOF
39531 break
39532 fi
39533 done
39534
39535
39536 { echo "$as_me:$LINENO: checking for statfs" >&5
39537 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
39538 if test "${wx_cv_func_statfs+set}" = set; then
39539 echo $ECHO_N "(cached) $ECHO_C" >&6
39540 else
39541 cat >conftest.$ac_ext <<_ACEOF
39542 /* confdefs.h. */
39543 _ACEOF
39544 cat confdefs.h >>conftest.$ac_ext
39545 cat >>conftest.$ac_ext <<_ACEOF
39546 /* end confdefs.h. */
39547
39548 #if defined(__BSD__)
39549 #include <sys/param.h>
39550 #include <sys/mount.h>
39551 #else
39552 #include <sys/vfs.h>
39553 #endif
39554
39555 int
39556 main ()
39557 {
39558
39559 long l;
39560 struct statfs fs;
39561 statfs("/", &fs);
39562 l = fs.f_bsize;
39563 l += fs.f_blocks;
39564 l += fs.f_bavail;
39565
39566 ;
39567 return 0;
39568 }
39569 _ACEOF
39570 rm -f conftest.$ac_objext
39571 if { (ac_try="$ac_compile"
39572 case "(($ac_try" in
39573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39574 *) ac_try_echo=$ac_try;;
39575 esac
39576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39577 (eval "$ac_compile") 2>conftest.er1
39578 ac_status=$?
39579 grep -v '^ *+' conftest.er1 >conftest.err
39580 rm -f conftest.er1
39581 cat conftest.err >&5
39582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39583 (exit $ac_status); } && {
39584 test -z "$ac_c_werror_flag" ||
39585 test ! -s conftest.err
39586 } && test -s conftest.$ac_objext; then
39587 wx_cv_func_statfs=yes
39588 else
39589 echo "$as_me: failed program was:" >&5
39590 sed 's/^/| /' conftest.$ac_ext >&5
39591
39592 wx_cv_func_statfs=no
39593
39594 fi
39595
39596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39597
39598 fi
39599 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
39600 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
39601
39602 if test "$wx_cv_func_statfs" = "yes"; then
39603 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
39604 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
39605 if test "${wx_cv_func_statfs_decl+set}" = set; then
39606 echo $ECHO_N "(cached) $ECHO_C" >&6
39607 else
39608 ac_ext=cpp
39609 ac_cpp='$CXXCPP $CPPFLAGS'
39610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39613
39614 cat >conftest.$ac_ext <<_ACEOF
39615 /* confdefs.h. */
39616 _ACEOF
39617 cat confdefs.h >>conftest.$ac_ext
39618 cat >>conftest.$ac_ext <<_ACEOF
39619 /* end confdefs.h. */
39620
39621 #if defined(__BSD__)
39622 #include <sys/param.h>
39623 #include <sys/mount.h>
39624 #else
39625 #include <sys/vfs.h>
39626 #endif
39627
39628 int
39629 main ()
39630 {
39631
39632 struct statfs fs;
39633 statfs("", &fs);
39634
39635 ;
39636 return 0;
39637 }
39638 _ACEOF
39639 rm -f conftest.$ac_objext
39640 if { (ac_try="$ac_compile"
39641 case "(($ac_try" in
39642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39643 *) ac_try_echo=$ac_try;;
39644 esac
39645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39646 (eval "$ac_compile") 2>conftest.er1
39647 ac_status=$?
39648 grep -v '^ *+' conftest.er1 >conftest.err
39649 rm -f conftest.er1
39650 cat conftest.err >&5
39651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39652 (exit $ac_status); } && {
39653 test -z "$ac_cxx_werror_flag" ||
39654 test ! -s conftest.err
39655 } && test -s conftest.$ac_objext; then
39656 wx_cv_func_statfs_decl=yes
39657 else
39658 echo "$as_me: failed program was:" >&5
39659 sed 's/^/| /' conftest.$ac_ext >&5
39660
39661 wx_cv_func_statfs_decl=no
39662
39663 fi
39664
39665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39666 ac_ext=c
39667 ac_cpp='$CPP $CPPFLAGS'
39668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39671
39672
39673 fi
39674 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
39675 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
39676
39677 if test "$wx_cv_func_statfs_decl" = "yes"; then
39678 cat >>confdefs.h <<\_ACEOF
39679 #define HAVE_STATFS_DECL 1
39680 _ACEOF
39681
39682 fi
39683
39684 wx_cv_type_statvfs_t="struct statfs"
39685 cat >>confdefs.h <<\_ACEOF
39686 #define HAVE_STATFS 1
39687 _ACEOF
39688
39689 else
39690 { echo "$as_me:$LINENO: checking for statvfs" >&5
39691 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
39692 if test "${wx_cv_func_statvfs+set}" = set; then
39693 echo $ECHO_N "(cached) $ECHO_C" >&6
39694 else
39695 cat >conftest.$ac_ext <<_ACEOF
39696 /* confdefs.h. */
39697 _ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h. */
39701
39702 #include <stddef.h>
39703 #include <sys/statvfs.h>
39704
39705 int
39706 main ()
39707 {
39708
39709 statvfs("/", NULL);
39710
39711 ;
39712 return 0;
39713 }
39714 _ACEOF
39715 rm -f conftest.$ac_objext
39716 if { (ac_try="$ac_compile"
39717 case "(($ac_try" in
39718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39719 *) ac_try_echo=$ac_try;;
39720 esac
39721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39722 (eval "$ac_compile") 2>conftest.er1
39723 ac_status=$?
39724 grep -v '^ *+' conftest.er1 >conftest.err
39725 rm -f conftest.er1
39726 cat conftest.err >&5
39727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39728 (exit $ac_status); } && {
39729 test -z "$ac_c_werror_flag" ||
39730 test ! -s conftest.err
39731 } && test -s conftest.$ac_objext; then
39732 wx_cv_func_statvfs=yes
39733 else
39734 echo "$as_me: failed program was:" >&5
39735 sed 's/^/| /' conftest.$ac_ext >&5
39736
39737 wx_cv_func_statvfs=no
39738
39739 fi
39740
39741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39742
39743 fi
39744 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
39745 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
39746
39747 if test "$wx_cv_func_statvfs" = "yes"; then
39748 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
39749 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
39750 if test "${wx_cv_type_statvfs_t+set}" = set; then
39751 echo $ECHO_N "(cached) $ECHO_C" >&6
39752 else
39753 ac_ext=cpp
39754 ac_cpp='$CXXCPP $CPPFLAGS'
39755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39758
39759 cat >conftest.$ac_ext <<_ACEOF
39760 /* confdefs.h. */
39761 _ACEOF
39762 cat confdefs.h >>conftest.$ac_ext
39763 cat >>conftest.$ac_ext <<_ACEOF
39764 /* end confdefs.h. */
39765
39766 #include <sys/statvfs.h>
39767
39768 int
39769 main ()
39770 {
39771
39772 long l;
39773 statvfs_t fs;
39774 statvfs("/", &fs);
39775 l = fs.f_bsize;
39776 l += fs.f_blocks;
39777 l += fs.f_bavail;
39778
39779 ;
39780 return 0;
39781 }
39782 _ACEOF
39783 rm -f conftest.$ac_objext
39784 if { (ac_try="$ac_compile"
39785 case "(($ac_try" in
39786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39787 *) ac_try_echo=$ac_try;;
39788 esac
39789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39790 (eval "$ac_compile") 2>conftest.er1
39791 ac_status=$?
39792 grep -v '^ *+' conftest.er1 >conftest.err
39793 rm -f conftest.er1
39794 cat conftest.err >&5
39795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39796 (exit $ac_status); } && {
39797 test -z "$ac_cxx_werror_flag" ||
39798 test ! -s conftest.err
39799 } && test -s conftest.$ac_objext; then
39800 wx_cv_type_statvfs_t=statvfs_t
39801 else
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.$ac_ext >&5
39804
39805
39806 cat >conftest.$ac_ext <<_ACEOF
39807 /* confdefs.h. */
39808 _ACEOF
39809 cat confdefs.h >>conftest.$ac_ext
39810 cat >>conftest.$ac_ext <<_ACEOF
39811 /* end confdefs.h. */
39812
39813 #include <sys/statvfs.h>
39814
39815 int
39816 main ()
39817 {
39818
39819 long l;
39820 struct statvfs fs;
39821 statvfs("/", &fs);
39822 l = fs.f_bsize;
39823 l += fs.f_blocks;
39824 l += fs.f_bavail;
39825
39826 ;
39827 return 0;
39828 }
39829 _ACEOF
39830 rm -f conftest.$ac_objext
39831 if { (ac_try="$ac_compile"
39832 case "(($ac_try" in
39833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39834 *) ac_try_echo=$ac_try;;
39835 esac
39836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39837 (eval "$ac_compile") 2>conftest.er1
39838 ac_status=$?
39839 grep -v '^ *+' conftest.er1 >conftest.err
39840 rm -f conftest.er1
39841 cat conftest.err >&5
39842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39843 (exit $ac_status); } && {
39844 test -z "$ac_cxx_werror_flag" ||
39845 test ! -s conftest.err
39846 } && test -s conftest.$ac_objext; then
39847 wx_cv_type_statvfs_t="struct statvfs"
39848 else
39849 echo "$as_me: failed program was:" >&5
39850 sed 's/^/| /' conftest.$ac_ext >&5
39851
39852 wx_cv_type_statvfs_t="unknown"
39853
39854 fi
39855
39856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39857
39858
39859 fi
39860
39861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39862 ac_ext=c
39863 ac_cpp='$CPP $CPPFLAGS'
39864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39867
39868
39869 fi
39870 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
39871 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
39872
39873 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39874 cat >>confdefs.h <<\_ACEOF
39875 #define HAVE_STATVFS 1
39876 _ACEOF
39877
39878 fi
39879 else
39880 wx_cv_type_statvfs_t="unknown"
39881 fi
39882 fi
39883
39884 if test "$wx_cv_type_statvfs_t" != "unknown"; then
39885 cat >>confdefs.h <<_ACEOF
39886 #define WX_STATFS_T $wx_cv_type_statvfs_t
39887 _ACEOF
39888
39889 else
39890 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
39891 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
39892 fi
39893
39894 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
39895
39896
39897 for ac_func in fcntl flock
39898 do
39899 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39900 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39901 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39902 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39903 echo $ECHO_N "(cached) $ECHO_C" >&6
39904 else
39905 cat >conftest.$ac_ext <<_ACEOF
39906 /* confdefs.h. */
39907 _ACEOF
39908 cat confdefs.h >>conftest.$ac_ext
39909 cat >>conftest.$ac_ext <<_ACEOF
39910 /* end confdefs.h. */
39911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39913 #define $ac_func innocuous_$ac_func
39914
39915 /* System header to define __stub macros and hopefully few prototypes,
39916 which can conflict with char $ac_func (); below.
39917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39918 <limits.h> exists even on freestanding compilers. */
39919
39920 #ifdef __STDC__
39921 # include <limits.h>
39922 #else
39923 # include <assert.h>
39924 #endif
39925
39926 #undef $ac_func
39927
39928 /* Override any GCC internal prototype to avoid an error.
39929 Use char because int might match the return type of a GCC
39930 builtin and then its argument prototype would still apply. */
39931 #ifdef __cplusplus
39932 extern "C"
39933 #endif
39934 char $ac_func ();
39935 /* The GNU C library defines this for functions which it implements
39936 to always fail with ENOSYS. Some functions are actually named
39937 something starting with __ and the normal name is an alias. */
39938 #if defined __stub_$ac_func || defined __stub___$ac_func
39939 choke me
39940 #endif
39941
39942 int
39943 main ()
39944 {
39945 return $ac_func ();
39946 ;
39947 return 0;
39948 }
39949 _ACEOF
39950 rm -f conftest.$ac_objext conftest$ac_exeext
39951 if { (ac_try="$ac_link"
39952 case "(($ac_try" in
39953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39954 *) ac_try_echo=$ac_try;;
39955 esac
39956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39957 (eval "$ac_link") 2>conftest.er1
39958 ac_status=$?
39959 grep -v '^ *+' conftest.er1 >conftest.err
39960 rm -f conftest.er1
39961 cat conftest.err >&5
39962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39963 (exit $ac_status); } && {
39964 test -z "$ac_c_werror_flag" ||
39965 test ! -s conftest.err
39966 } && test -s conftest$ac_exeext &&
39967 $as_test_x conftest$ac_exeext; then
39968 eval "$as_ac_var=yes"
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39972
39973 eval "$as_ac_var=no"
39974 fi
39975
39976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39977 conftest$ac_exeext conftest.$ac_ext
39978 fi
39979 ac_res=`eval echo '${'$as_ac_var'}'`
39980 { echo "$as_me:$LINENO: result: $ac_res" >&5
39981 echo "${ECHO_T}$ac_res" >&6; }
39982 if test `eval echo '${'$as_ac_var'}'` = yes; then
39983 cat >>confdefs.h <<_ACEOF
39984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39985 _ACEOF
39986 break
39987 fi
39988 done
39989
39990
39991 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
39992 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
39993 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
39994 wxUSE_SNGLINST_CHECKER=no
39995 fi
39996 fi
39997
39998
39999 for ac_func in timegm
40000 do
40001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40002 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40004 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40005 echo $ECHO_N "(cached) $ECHO_C" >&6
40006 else
40007 cat >conftest.$ac_ext <<_ACEOF
40008 /* confdefs.h. */
40009 _ACEOF
40010 cat confdefs.h >>conftest.$ac_ext
40011 cat >>conftest.$ac_ext <<_ACEOF
40012 /* end confdefs.h. */
40013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40015 #define $ac_func innocuous_$ac_func
40016
40017 /* System header to define __stub macros and hopefully few prototypes,
40018 which can conflict with char $ac_func (); below.
40019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40020 <limits.h> exists even on freestanding compilers. */
40021
40022 #ifdef __STDC__
40023 # include <limits.h>
40024 #else
40025 # include <assert.h>
40026 #endif
40027
40028 #undef $ac_func
40029
40030 /* Override any GCC internal prototype to avoid an error.
40031 Use char because int might match the return type of a GCC
40032 builtin and then its argument prototype would still apply. */
40033 #ifdef __cplusplus
40034 extern "C"
40035 #endif
40036 char $ac_func ();
40037 /* The GNU C library defines this for functions which it implements
40038 to always fail with ENOSYS. Some functions are actually named
40039 something starting with __ and the normal name is an alias. */
40040 #if defined __stub_$ac_func || defined __stub___$ac_func
40041 choke me
40042 #endif
40043
40044 int
40045 main ()
40046 {
40047 return $ac_func ();
40048 ;
40049 return 0;
40050 }
40051 _ACEOF
40052 rm -f conftest.$ac_objext conftest$ac_exeext
40053 if { (ac_try="$ac_link"
40054 case "(($ac_try" in
40055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40056 *) ac_try_echo=$ac_try;;
40057 esac
40058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40059 (eval "$ac_link") 2>conftest.er1
40060 ac_status=$?
40061 grep -v '^ *+' conftest.er1 >conftest.err
40062 rm -f conftest.er1
40063 cat conftest.err >&5
40064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40065 (exit $ac_status); } && {
40066 test -z "$ac_c_werror_flag" ||
40067 test ! -s conftest.err
40068 } && test -s conftest$ac_exeext &&
40069 $as_test_x conftest$ac_exeext; then
40070 eval "$as_ac_var=yes"
40071 else
40072 echo "$as_me: failed program was:" >&5
40073 sed 's/^/| /' conftest.$ac_ext >&5
40074
40075 eval "$as_ac_var=no"
40076 fi
40077
40078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40079 conftest$ac_exeext conftest.$ac_ext
40080 fi
40081 ac_res=`eval echo '${'$as_ac_var'}'`
40082 { echo "$as_me:$LINENO: result: $ac_res" >&5
40083 echo "${ECHO_T}$ac_res" >&6; }
40084 if test `eval echo '${'$as_ac_var'}'` = yes; then
40085 cat >>confdefs.h <<_ACEOF
40086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40087 _ACEOF
40088
40089 fi
40090 done
40091
40092
40093
40094
40095 for ac_func in setenv putenv
40096 do
40097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40098 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40100 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40101 echo $ECHO_N "(cached) $ECHO_C" >&6
40102 else
40103 cat >conftest.$ac_ext <<_ACEOF
40104 /* confdefs.h. */
40105 _ACEOF
40106 cat confdefs.h >>conftest.$ac_ext
40107 cat >>conftest.$ac_ext <<_ACEOF
40108 /* end confdefs.h. */
40109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40111 #define $ac_func innocuous_$ac_func
40112
40113 /* System header to define __stub macros and hopefully few prototypes,
40114 which can conflict with char $ac_func (); below.
40115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40116 <limits.h> exists even on freestanding compilers. */
40117
40118 #ifdef __STDC__
40119 # include <limits.h>
40120 #else
40121 # include <assert.h>
40122 #endif
40123
40124 #undef $ac_func
40125
40126 /* Override any GCC internal prototype to avoid an error.
40127 Use char because int might match the return type of a GCC
40128 builtin and then its argument prototype would still apply. */
40129 #ifdef __cplusplus
40130 extern "C"
40131 #endif
40132 char $ac_func ();
40133 /* The GNU C library defines this for functions which it implements
40134 to always fail with ENOSYS. Some functions are actually named
40135 something starting with __ and the normal name is an alias. */
40136 #if defined __stub_$ac_func || defined __stub___$ac_func
40137 choke me
40138 #endif
40139
40140 int
40141 main ()
40142 {
40143 return $ac_func ();
40144 ;
40145 return 0;
40146 }
40147 _ACEOF
40148 rm -f conftest.$ac_objext conftest$ac_exeext
40149 if { (ac_try="$ac_link"
40150 case "(($ac_try" in
40151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40152 *) ac_try_echo=$ac_try;;
40153 esac
40154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40155 (eval "$ac_link") 2>conftest.er1
40156 ac_status=$?
40157 grep -v '^ *+' conftest.er1 >conftest.err
40158 rm -f conftest.er1
40159 cat conftest.err >&5
40160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161 (exit $ac_status); } && {
40162 test -z "$ac_c_werror_flag" ||
40163 test ! -s conftest.err
40164 } && test -s conftest$ac_exeext &&
40165 $as_test_x conftest$ac_exeext; then
40166 eval "$as_ac_var=yes"
40167 else
40168 echo "$as_me: failed program was:" >&5
40169 sed 's/^/| /' conftest.$ac_ext >&5
40170
40171 eval "$as_ac_var=no"
40172 fi
40173
40174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40175 conftest$ac_exeext conftest.$ac_ext
40176 fi
40177 ac_res=`eval echo '${'$as_ac_var'}'`
40178 { echo "$as_me:$LINENO: result: $ac_res" >&5
40179 echo "${ECHO_T}$ac_res" >&6; }
40180 if test `eval echo '${'$as_ac_var'}'` = yes; then
40181 cat >>confdefs.h <<_ACEOF
40182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40183 _ACEOF
40184 break
40185 fi
40186 done
40187
40188
40189 HAVE_SOME_SLEEP_FUNC=0
40190 if test "$USE_BEOS" = 1; then
40191 cat >>confdefs.h <<\_ACEOF
40192 #define HAVE_SLEEP 1
40193 _ACEOF
40194
40195 HAVE_SOME_SLEEP_FUNC=1
40196 fi
40197
40198 if test "$USE_DARWIN" = 1; then
40199 cat >>confdefs.h <<\_ACEOF
40200 #define HAVE_USLEEP 1
40201 _ACEOF
40202
40203 HAVE_SOME_SLEEP_FUNC=1
40204 fi
40205
40206 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
40207 POSIX4_LINK=
40208
40209 for ac_func in nanosleep
40210 do
40211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40215 echo $ECHO_N "(cached) $ECHO_C" >&6
40216 else
40217 cat >conftest.$ac_ext <<_ACEOF
40218 /* confdefs.h. */
40219 _ACEOF
40220 cat confdefs.h >>conftest.$ac_ext
40221 cat >>conftest.$ac_ext <<_ACEOF
40222 /* end confdefs.h. */
40223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40225 #define $ac_func innocuous_$ac_func
40226
40227 /* System header to define __stub macros and hopefully few prototypes,
40228 which can conflict with char $ac_func (); below.
40229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40230 <limits.h> exists even on freestanding compilers. */
40231
40232 #ifdef __STDC__
40233 # include <limits.h>
40234 #else
40235 # include <assert.h>
40236 #endif
40237
40238 #undef $ac_func
40239
40240 /* Override any GCC internal prototype to avoid an error.
40241 Use char because int might match the return type of a GCC
40242 builtin and then its argument prototype would still apply. */
40243 #ifdef __cplusplus
40244 extern "C"
40245 #endif
40246 char $ac_func ();
40247 /* The GNU C library defines this for functions which it implements
40248 to always fail with ENOSYS. Some functions are actually named
40249 something starting with __ and the normal name is an alias. */
40250 #if defined __stub_$ac_func || defined __stub___$ac_func
40251 choke me
40252 #endif
40253
40254 int
40255 main ()
40256 {
40257 return $ac_func ();
40258 ;
40259 return 0;
40260 }
40261 _ACEOF
40262 rm -f conftest.$ac_objext conftest$ac_exeext
40263 if { (ac_try="$ac_link"
40264 case "(($ac_try" in
40265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40266 *) ac_try_echo=$ac_try;;
40267 esac
40268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40269 (eval "$ac_link") 2>conftest.er1
40270 ac_status=$?
40271 grep -v '^ *+' conftest.er1 >conftest.err
40272 rm -f conftest.er1
40273 cat conftest.err >&5
40274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40275 (exit $ac_status); } && {
40276 test -z "$ac_c_werror_flag" ||
40277 test ! -s conftest.err
40278 } && test -s conftest$ac_exeext &&
40279 $as_test_x conftest$ac_exeext; then
40280 eval "$as_ac_var=yes"
40281 else
40282 echo "$as_me: failed program was:" >&5
40283 sed 's/^/| /' conftest.$ac_ext >&5
40284
40285 eval "$as_ac_var=no"
40286 fi
40287
40288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40289 conftest$ac_exeext conftest.$ac_ext
40290 fi
40291 ac_res=`eval echo '${'$as_ac_var'}'`
40292 { echo "$as_me:$LINENO: result: $ac_res" >&5
40293 echo "${ECHO_T}$ac_res" >&6; }
40294 if test `eval echo '${'$as_ac_var'}'` = yes; then
40295 cat >>confdefs.h <<_ACEOF
40296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40297 _ACEOF
40298 cat >>confdefs.h <<\_ACEOF
40299 #define HAVE_NANOSLEEP 1
40300 _ACEOF
40301
40302 else
40303
40304 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
40305 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
40306 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40308 else
40309 ac_check_lib_save_LIBS=$LIBS
40310 LIBS="-lposix4 $LIBS"
40311 cat >conftest.$ac_ext <<_ACEOF
40312 /* confdefs.h. */
40313 _ACEOF
40314 cat confdefs.h >>conftest.$ac_ext
40315 cat >>conftest.$ac_ext <<_ACEOF
40316 /* end confdefs.h. */
40317
40318 /* Override any GCC internal prototype to avoid an error.
40319 Use char because int might match the return type of a GCC
40320 builtin and then its argument prototype would still apply. */
40321 #ifdef __cplusplus
40322 extern "C"
40323 #endif
40324 char nanosleep ();
40325 int
40326 main ()
40327 {
40328 return nanosleep ();
40329 ;
40330 return 0;
40331 }
40332 _ACEOF
40333 rm -f conftest.$ac_objext conftest$ac_exeext
40334 if { (ac_try="$ac_link"
40335 case "(($ac_try" in
40336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40337 *) ac_try_echo=$ac_try;;
40338 esac
40339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40340 (eval "$ac_link") 2>conftest.er1
40341 ac_status=$?
40342 grep -v '^ *+' conftest.er1 >conftest.err
40343 rm -f conftest.er1
40344 cat conftest.err >&5
40345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40346 (exit $ac_status); } && {
40347 test -z "$ac_c_werror_flag" ||
40348 test ! -s conftest.err
40349 } && test -s conftest$ac_exeext &&
40350 $as_test_x conftest$ac_exeext; then
40351 ac_cv_lib_posix4_nanosleep=yes
40352 else
40353 echo "$as_me: failed program was:" >&5
40354 sed 's/^/| /' conftest.$ac_ext >&5
40355
40356 ac_cv_lib_posix4_nanosleep=no
40357 fi
40358
40359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40360 conftest$ac_exeext conftest.$ac_ext
40361 LIBS=$ac_check_lib_save_LIBS
40362 fi
40363 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
40364 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
40365 if test $ac_cv_lib_posix4_nanosleep = yes; then
40366
40367 cat >>confdefs.h <<\_ACEOF
40368 #define HAVE_NANOSLEEP 1
40369 _ACEOF
40370
40371 POSIX4_LINK=" -lposix4"
40372
40373 else
40374
40375
40376 for wx_func in usleep
40377 do
40378 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40379 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40380 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40381 echo $ECHO_N "(cached) $ECHO_C" >&6
40382 else
40383
40384 cat >conftest.$ac_ext <<_ACEOF
40385
40386 /* confdefs.h. */
40387 _ACEOF
40388 cat confdefs.h >>conftest.$ac_ext
40389 cat >>conftest.$ac_ext <<_ACEOF
40390 /* end confdefs.h. */
40391
40392
40393 $ac_includes_default
40394
40395 int
40396 main ()
40397 {
40398
40399 #ifndef $wx_func
40400 &$wx_func;
40401 #endif
40402
40403
40404 ;
40405 return 0;
40406 }
40407
40408 _ACEOF
40409 rm -f conftest.$ac_objext conftest$ac_exeext
40410 if { (ac_try="$ac_link"
40411 case "(($ac_try" in
40412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40413 *) ac_try_echo=$ac_try;;
40414 esac
40415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40416 (eval "$ac_link") 2>conftest.er1
40417 ac_status=$?
40418 grep -v '^ *+' conftest.er1 >conftest.err
40419 rm -f conftest.er1
40420 cat conftest.err >&5
40421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40422 (exit $ac_status); } && {
40423 test -z "$ac_c_werror_flag" ||
40424 test ! -s conftest.err
40425 } && test -s conftest$ac_exeext &&
40426 $as_test_x conftest$ac_exeext; then
40427 eval wx_cv_func_$wx_func=yes
40428 else
40429 echo "$as_me: failed program was:" >&5
40430 sed 's/^/| /' conftest.$ac_ext >&5
40431
40432 eval wx_cv_func_$wx_func=no
40433 fi
40434
40435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40436 conftest$ac_exeext conftest.$ac_ext
40437
40438 fi
40439 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40440 { echo "$as_me:$LINENO: result: $ac_res" >&5
40441 echo "${ECHO_T}$ac_res" >&6; }
40442
40443 if eval test \$wx_cv_func_$wx_func = yes
40444 then
40445 cat >>confdefs.h <<_ACEOF
40446 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40447 _ACEOF
40448
40449
40450 else
40451 :
40452 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
40453 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
40454
40455 fi
40456 done
40457
40458
40459
40460 fi
40461
40462
40463
40464 fi
40465 done
40466
40467 fi
40468
40469
40470 for wx_func in uname
40471 do
40472 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40473 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40474 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40475 echo $ECHO_N "(cached) $ECHO_C" >&6
40476 else
40477
40478 cat >conftest.$ac_ext <<_ACEOF
40479
40480 /* confdefs.h. */
40481 _ACEOF
40482 cat confdefs.h >>conftest.$ac_ext
40483 cat >>conftest.$ac_ext <<_ACEOF
40484 /* end confdefs.h. */
40485
40486 #include <sys/utsname.h>
40487 $ac_includes_default
40488
40489 int
40490 main ()
40491 {
40492
40493 #ifndef $wx_func
40494 &$wx_func;
40495 #endif
40496
40497
40498 ;
40499 return 0;
40500 }
40501
40502 _ACEOF
40503 rm -f conftest.$ac_objext conftest$ac_exeext
40504 if { (ac_try="$ac_link"
40505 case "(($ac_try" in
40506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40507 *) ac_try_echo=$ac_try;;
40508 esac
40509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40510 (eval "$ac_link") 2>conftest.er1
40511 ac_status=$?
40512 grep -v '^ *+' conftest.er1 >conftest.err
40513 rm -f conftest.er1
40514 cat conftest.err >&5
40515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40516 (exit $ac_status); } && {
40517 test -z "$ac_c_werror_flag" ||
40518 test ! -s conftest.err
40519 } && test -s conftest$ac_exeext &&
40520 $as_test_x conftest$ac_exeext; then
40521 eval wx_cv_func_$wx_func=yes
40522 else
40523 echo "$as_me: failed program was:" >&5
40524 sed 's/^/| /' conftest.$ac_ext >&5
40525
40526 eval wx_cv_func_$wx_func=no
40527 fi
40528
40529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40530 conftest$ac_exeext conftest.$ac_ext
40531
40532 fi
40533 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40534 { echo "$as_me:$LINENO: result: $ac_res" >&5
40535 echo "${ECHO_T}$ac_res" >&6; }
40536
40537 if eval test \$wx_cv_func_$wx_func = yes
40538 then
40539 cat >>confdefs.h <<_ACEOF
40540 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40541 _ACEOF
40542
40543
40544 else
40545 :
40546
40547 fi
40548 done
40549
40550 if test "$wx_cv_func_uname" != yes; then
40551
40552 for wx_func in gethostname
40553 do
40554 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40555 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40556 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40557 echo $ECHO_N "(cached) $ECHO_C" >&6
40558 else
40559
40560 cat >conftest.$ac_ext <<_ACEOF
40561
40562 /* confdefs.h. */
40563 _ACEOF
40564 cat confdefs.h >>conftest.$ac_ext
40565 cat >>conftest.$ac_ext <<_ACEOF
40566 /* end confdefs.h. */
40567
40568
40569 $ac_includes_default
40570
40571 int
40572 main ()
40573 {
40574
40575 #ifndef $wx_func
40576 &$wx_func;
40577 #endif
40578
40579
40580 ;
40581 return 0;
40582 }
40583
40584 _ACEOF
40585 rm -f conftest.$ac_objext conftest$ac_exeext
40586 if { (ac_try="$ac_link"
40587 case "(($ac_try" in
40588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40589 *) ac_try_echo=$ac_try;;
40590 esac
40591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40592 (eval "$ac_link") 2>conftest.er1
40593 ac_status=$?
40594 grep -v '^ *+' conftest.er1 >conftest.err
40595 rm -f conftest.er1
40596 cat conftest.err >&5
40597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40598 (exit $ac_status); } && {
40599 test -z "$ac_c_werror_flag" ||
40600 test ! -s conftest.err
40601 } && test -s conftest$ac_exeext &&
40602 $as_test_x conftest$ac_exeext; then
40603 eval wx_cv_func_$wx_func=yes
40604 else
40605 echo "$as_me: failed program was:" >&5
40606 sed 's/^/| /' conftest.$ac_ext >&5
40607
40608 eval wx_cv_func_$wx_func=no
40609 fi
40610
40611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40612 conftest$ac_exeext conftest.$ac_ext
40613
40614 fi
40615 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40616 { echo "$as_me:$LINENO: result: $ac_res" >&5
40617 echo "${ECHO_T}$ac_res" >&6; }
40618
40619 if eval test \$wx_cv_func_$wx_func = yes
40620 then
40621 cat >>confdefs.h <<_ACEOF
40622 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40623 _ACEOF
40624
40625
40626 else
40627 :
40628
40629 fi
40630 done
40631
40632 fi
40633
40634
40635 for wx_func in strtok_r
40636 do
40637 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40638 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40639 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40640 echo $ECHO_N "(cached) $ECHO_C" >&6
40641 else
40642
40643 cat >conftest.$ac_ext <<_ACEOF
40644
40645 /* confdefs.h. */
40646 _ACEOF
40647 cat confdefs.h >>conftest.$ac_ext
40648 cat >>conftest.$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40650
40651 #define _REENTRANT
40652 $ac_includes_default
40653
40654 int
40655 main ()
40656 {
40657
40658 #ifndef $wx_func
40659 &$wx_func;
40660 #endif
40661
40662
40663 ;
40664 return 0;
40665 }
40666
40667 _ACEOF
40668 rm -f conftest.$ac_objext conftest$ac_exeext
40669 if { (ac_try="$ac_link"
40670 case "(($ac_try" in
40671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40672 *) ac_try_echo=$ac_try;;
40673 esac
40674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40675 (eval "$ac_link") 2>conftest.er1
40676 ac_status=$?
40677 grep -v '^ *+' conftest.er1 >conftest.err
40678 rm -f conftest.er1
40679 cat conftest.err >&5
40680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40681 (exit $ac_status); } && {
40682 test -z "$ac_c_werror_flag" ||
40683 test ! -s conftest.err
40684 } && test -s conftest$ac_exeext &&
40685 $as_test_x conftest$ac_exeext; then
40686 eval wx_cv_func_$wx_func=yes
40687 else
40688 echo "$as_me: failed program was:" >&5
40689 sed 's/^/| /' conftest.$ac_ext >&5
40690
40691 eval wx_cv_func_$wx_func=no
40692 fi
40693
40694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40695 conftest$ac_exeext conftest.$ac_ext
40696
40697 fi
40698 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40699 { echo "$as_me:$LINENO: result: $ac_res" >&5
40700 echo "${ECHO_T}$ac_res" >&6; }
40701
40702 if eval test \$wx_cv_func_$wx_func = yes
40703 then
40704 cat >>confdefs.h <<_ACEOF
40705 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
40706 _ACEOF
40707
40708
40709 else
40710 :
40711
40712 fi
40713 done
40714
40715
40716 INET_LINK=
40717
40718 for ac_func in inet_addr
40719 do
40720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40721 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40723 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40724 echo $ECHO_N "(cached) $ECHO_C" >&6
40725 else
40726 cat >conftest.$ac_ext <<_ACEOF
40727 /* confdefs.h. */
40728 _ACEOF
40729 cat confdefs.h >>conftest.$ac_ext
40730 cat >>conftest.$ac_ext <<_ACEOF
40731 /* end confdefs.h. */
40732 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40733 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40734 #define $ac_func innocuous_$ac_func
40735
40736 /* System header to define __stub macros and hopefully few prototypes,
40737 which can conflict with char $ac_func (); below.
40738 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40739 <limits.h> exists even on freestanding compilers. */
40740
40741 #ifdef __STDC__
40742 # include <limits.h>
40743 #else
40744 # include <assert.h>
40745 #endif
40746
40747 #undef $ac_func
40748
40749 /* Override any GCC internal prototype to avoid an error.
40750 Use char because int might match the return type of a GCC
40751 builtin and then its argument prototype would still apply. */
40752 #ifdef __cplusplus
40753 extern "C"
40754 #endif
40755 char $ac_func ();
40756 /* The GNU C library defines this for functions which it implements
40757 to always fail with ENOSYS. Some functions are actually named
40758 something starting with __ and the normal name is an alias. */
40759 #if defined __stub_$ac_func || defined __stub___$ac_func
40760 choke me
40761 #endif
40762
40763 int
40764 main ()
40765 {
40766 return $ac_func ();
40767 ;
40768 return 0;
40769 }
40770 _ACEOF
40771 rm -f conftest.$ac_objext conftest$ac_exeext
40772 if { (ac_try="$ac_link"
40773 case "(($ac_try" in
40774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40775 *) ac_try_echo=$ac_try;;
40776 esac
40777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40778 (eval "$ac_link") 2>conftest.er1
40779 ac_status=$?
40780 grep -v '^ *+' conftest.er1 >conftest.err
40781 rm -f conftest.er1
40782 cat conftest.err >&5
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); } && {
40785 test -z "$ac_c_werror_flag" ||
40786 test ! -s conftest.err
40787 } && test -s conftest$ac_exeext &&
40788 $as_test_x conftest$ac_exeext; then
40789 eval "$as_ac_var=yes"
40790 else
40791 echo "$as_me: failed program was:" >&5
40792 sed 's/^/| /' conftest.$ac_ext >&5
40793
40794 eval "$as_ac_var=no"
40795 fi
40796
40797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40798 conftest$ac_exeext conftest.$ac_ext
40799 fi
40800 ac_res=`eval echo '${'$as_ac_var'}'`
40801 { echo "$as_me:$LINENO: result: $ac_res" >&5
40802 echo "${ECHO_T}$ac_res" >&6; }
40803 if test `eval echo '${'$as_ac_var'}'` = yes; then
40804 cat >>confdefs.h <<_ACEOF
40805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40806 _ACEOF
40807 cat >>confdefs.h <<\_ACEOF
40808 #define HAVE_INET_ADDR 1
40809 _ACEOF
40810
40811 else
40812
40813 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
40814 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
40815 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
40816 echo $ECHO_N "(cached) $ECHO_C" >&6
40817 else
40818 ac_check_lib_save_LIBS=$LIBS
40819 LIBS="-lnsl $LIBS"
40820 cat >conftest.$ac_ext <<_ACEOF
40821 /* confdefs.h. */
40822 _ACEOF
40823 cat confdefs.h >>conftest.$ac_ext
40824 cat >>conftest.$ac_ext <<_ACEOF
40825 /* end confdefs.h. */
40826
40827 /* Override any GCC internal prototype to avoid an error.
40828 Use char because int might match the return type of a GCC
40829 builtin and then its argument prototype would still apply. */
40830 #ifdef __cplusplus
40831 extern "C"
40832 #endif
40833 char inet_addr ();
40834 int
40835 main ()
40836 {
40837 return inet_addr ();
40838 ;
40839 return 0;
40840 }
40841 _ACEOF
40842 rm -f conftest.$ac_objext conftest$ac_exeext
40843 if { (ac_try="$ac_link"
40844 case "(($ac_try" in
40845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40846 *) ac_try_echo=$ac_try;;
40847 esac
40848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40849 (eval "$ac_link") 2>conftest.er1
40850 ac_status=$?
40851 grep -v '^ *+' conftest.er1 >conftest.err
40852 rm -f conftest.er1
40853 cat conftest.err >&5
40854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40855 (exit $ac_status); } && {
40856 test -z "$ac_c_werror_flag" ||
40857 test ! -s conftest.err
40858 } && test -s conftest$ac_exeext &&
40859 $as_test_x conftest$ac_exeext; then
40860 ac_cv_lib_nsl_inet_addr=yes
40861 else
40862 echo "$as_me: failed program was:" >&5
40863 sed 's/^/| /' conftest.$ac_ext >&5
40864
40865 ac_cv_lib_nsl_inet_addr=no
40866 fi
40867
40868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40869 conftest$ac_exeext conftest.$ac_ext
40870 LIBS=$ac_check_lib_save_LIBS
40871 fi
40872 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
40873 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
40874 if test $ac_cv_lib_nsl_inet_addr = yes; then
40875 INET_LINK="nsl"
40876 else
40877
40878 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
40879 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
40880 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
40881 echo $ECHO_N "(cached) $ECHO_C" >&6
40882 else
40883 ac_check_lib_save_LIBS=$LIBS
40884 LIBS="-lresolv $LIBS"
40885 cat >conftest.$ac_ext <<_ACEOF
40886 /* confdefs.h. */
40887 _ACEOF
40888 cat confdefs.h >>conftest.$ac_ext
40889 cat >>conftest.$ac_ext <<_ACEOF
40890 /* end confdefs.h. */
40891
40892 /* Override any GCC internal prototype to avoid an error.
40893 Use char because int might match the return type of a GCC
40894 builtin and then its argument prototype would still apply. */
40895 #ifdef __cplusplus
40896 extern "C"
40897 #endif
40898 char inet_addr ();
40899 int
40900 main ()
40901 {
40902 return inet_addr ();
40903 ;
40904 return 0;
40905 }
40906 _ACEOF
40907 rm -f conftest.$ac_objext conftest$ac_exeext
40908 if { (ac_try="$ac_link"
40909 case "(($ac_try" in
40910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40911 *) ac_try_echo=$ac_try;;
40912 esac
40913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40914 (eval "$ac_link") 2>conftest.er1
40915 ac_status=$?
40916 grep -v '^ *+' conftest.er1 >conftest.err
40917 rm -f conftest.er1
40918 cat conftest.err >&5
40919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920 (exit $ac_status); } && {
40921 test -z "$ac_c_werror_flag" ||
40922 test ! -s conftest.err
40923 } && test -s conftest$ac_exeext &&
40924 $as_test_x conftest$ac_exeext; then
40925 ac_cv_lib_resolv_inet_addr=yes
40926 else
40927 echo "$as_me: failed program was:" >&5
40928 sed 's/^/| /' conftest.$ac_ext >&5
40929
40930 ac_cv_lib_resolv_inet_addr=no
40931 fi
40932
40933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40934 conftest$ac_exeext conftest.$ac_ext
40935 LIBS=$ac_check_lib_save_LIBS
40936 fi
40937 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
40938 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
40939 if test $ac_cv_lib_resolv_inet_addr = yes; then
40940 INET_LINK="resolv"
40941 else
40942
40943 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
40944 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
40945 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
40946 echo $ECHO_N "(cached) $ECHO_C" >&6
40947 else
40948 ac_check_lib_save_LIBS=$LIBS
40949 LIBS="-lsocket $LIBS"
40950 cat >conftest.$ac_ext <<_ACEOF
40951 /* confdefs.h. */
40952 _ACEOF
40953 cat confdefs.h >>conftest.$ac_ext
40954 cat >>conftest.$ac_ext <<_ACEOF
40955 /* end confdefs.h. */
40956
40957 /* Override any GCC internal prototype to avoid an error.
40958 Use char because int might match the return type of a GCC
40959 builtin and then its argument prototype would still apply. */
40960 #ifdef __cplusplus
40961 extern "C"
40962 #endif
40963 char inet_addr ();
40964 int
40965 main ()
40966 {
40967 return inet_addr ();
40968 ;
40969 return 0;
40970 }
40971 _ACEOF
40972 rm -f conftest.$ac_objext conftest$ac_exeext
40973 if { (ac_try="$ac_link"
40974 case "(($ac_try" in
40975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40976 *) ac_try_echo=$ac_try;;
40977 esac
40978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40979 (eval "$ac_link") 2>conftest.er1
40980 ac_status=$?
40981 grep -v '^ *+' conftest.er1 >conftest.err
40982 rm -f conftest.er1
40983 cat conftest.err >&5
40984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40985 (exit $ac_status); } && {
40986 test -z "$ac_c_werror_flag" ||
40987 test ! -s conftest.err
40988 } && test -s conftest$ac_exeext &&
40989 $as_test_x conftest$ac_exeext; then
40990 ac_cv_lib_socket_inet_addr=yes
40991 else
40992 echo "$as_me: failed program was:" >&5
40993 sed 's/^/| /' conftest.$ac_ext >&5
40994
40995 ac_cv_lib_socket_inet_addr=no
40996 fi
40997
40998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40999 conftest$ac_exeext conftest.$ac_ext
41000 LIBS=$ac_check_lib_save_LIBS
41001 fi
41002 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
41003 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
41004 if test $ac_cv_lib_socket_inet_addr = yes; then
41005 INET_LINK="socket"
41006
41007 fi
41008
41009
41010
41011 fi
41012
41013
41014
41015 fi
41016
41017
41018
41019 fi
41020 done
41021
41022
41023
41024 for ac_func in inet_aton
41025 do
41026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41027 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41029 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41030 echo $ECHO_N "(cached) $ECHO_C" >&6
41031 else
41032 cat >conftest.$ac_ext <<_ACEOF
41033 /* confdefs.h. */
41034 _ACEOF
41035 cat confdefs.h >>conftest.$ac_ext
41036 cat >>conftest.$ac_ext <<_ACEOF
41037 /* end confdefs.h. */
41038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41040 #define $ac_func innocuous_$ac_func
41041
41042 /* System header to define __stub macros and hopefully few prototypes,
41043 which can conflict with char $ac_func (); below.
41044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41045 <limits.h> exists even on freestanding compilers. */
41046
41047 #ifdef __STDC__
41048 # include <limits.h>
41049 #else
41050 # include <assert.h>
41051 #endif
41052
41053 #undef $ac_func
41054
41055 /* Override any GCC internal prototype to avoid an error.
41056 Use char because int might match the return type of a GCC
41057 builtin and then its argument prototype would still apply. */
41058 #ifdef __cplusplus
41059 extern "C"
41060 #endif
41061 char $ac_func ();
41062 /* The GNU C library defines this for functions which it implements
41063 to always fail with ENOSYS. Some functions are actually named
41064 something starting with __ and the normal name is an alias. */
41065 #if defined __stub_$ac_func || defined __stub___$ac_func
41066 choke me
41067 #endif
41068
41069 int
41070 main ()
41071 {
41072 return $ac_func ();
41073 ;
41074 return 0;
41075 }
41076 _ACEOF
41077 rm -f conftest.$ac_objext conftest$ac_exeext
41078 if { (ac_try="$ac_link"
41079 case "(($ac_try" in
41080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41081 *) ac_try_echo=$ac_try;;
41082 esac
41083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41084 (eval "$ac_link") 2>conftest.er1
41085 ac_status=$?
41086 grep -v '^ *+' conftest.er1 >conftest.err
41087 rm -f conftest.er1
41088 cat conftest.err >&5
41089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41090 (exit $ac_status); } && {
41091 test -z "$ac_c_werror_flag" ||
41092 test ! -s conftest.err
41093 } && test -s conftest$ac_exeext &&
41094 $as_test_x conftest$ac_exeext; then
41095 eval "$as_ac_var=yes"
41096 else
41097 echo "$as_me: failed program was:" >&5
41098 sed 's/^/| /' conftest.$ac_ext >&5
41099
41100 eval "$as_ac_var=no"
41101 fi
41102
41103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41104 conftest$ac_exeext conftest.$ac_ext
41105 fi
41106 ac_res=`eval echo '${'$as_ac_var'}'`
41107 { echo "$as_me:$LINENO: result: $ac_res" >&5
41108 echo "${ECHO_T}$ac_res" >&6; }
41109 if test `eval echo '${'$as_ac_var'}'` = yes; then
41110 cat >>confdefs.h <<_ACEOF
41111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41112 _ACEOF
41113 cat >>confdefs.h <<\_ACEOF
41114 #define HAVE_INET_ATON 1
41115 _ACEOF
41116
41117 else
41118
41119 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
41120 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
41121 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
41122 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
41123 echo $ECHO_N "(cached) $ECHO_C" >&6
41124 else
41125 ac_check_lib_save_LIBS=$LIBS
41126 LIBS="-l$INET_LINK $LIBS"
41127 cat >conftest.$ac_ext <<_ACEOF
41128 /* confdefs.h. */
41129 _ACEOF
41130 cat confdefs.h >>conftest.$ac_ext
41131 cat >>conftest.$ac_ext <<_ACEOF
41132 /* end confdefs.h. */
41133
41134 /* Override any GCC internal prototype to avoid an error.
41135 Use char because int might match the return type of a GCC
41136 builtin and then its argument prototype would still apply. */
41137 #ifdef __cplusplus
41138 extern "C"
41139 #endif
41140 char inet_aton ();
41141 int
41142 main ()
41143 {
41144 return inet_aton ();
41145 ;
41146 return 0;
41147 }
41148 _ACEOF
41149 rm -f conftest.$ac_objext conftest$ac_exeext
41150 if { (ac_try="$ac_link"
41151 case "(($ac_try" in
41152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41153 *) ac_try_echo=$ac_try;;
41154 esac
41155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41156 (eval "$ac_link") 2>conftest.er1
41157 ac_status=$?
41158 grep -v '^ *+' conftest.er1 >conftest.err
41159 rm -f conftest.er1
41160 cat conftest.err >&5
41161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41162 (exit $ac_status); } && {
41163 test -z "$ac_c_werror_flag" ||
41164 test ! -s conftest.err
41165 } && test -s conftest$ac_exeext &&
41166 $as_test_x conftest$ac_exeext; then
41167 eval "$as_ac_Lib=yes"
41168 else
41169 echo "$as_me: failed program was:" >&5
41170 sed 's/^/| /' conftest.$ac_ext >&5
41171
41172 eval "$as_ac_Lib=no"
41173 fi
41174
41175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41176 conftest$ac_exeext conftest.$ac_ext
41177 LIBS=$ac_check_lib_save_LIBS
41178 fi
41179 ac_res=`eval echo '${'$as_ac_Lib'}'`
41180 { echo "$as_me:$LINENO: result: $ac_res" >&5
41181 echo "${ECHO_T}$ac_res" >&6; }
41182 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
41183 cat >>confdefs.h <<\_ACEOF
41184 #define HAVE_INET_ATON 1
41185 _ACEOF
41186
41187 fi
41188
41189
41190 fi
41191 done
41192
41193
41194 if test "x$INET_LINK" != "x"; then
41195 cat >>confdefs.h <<\_ACEOF
41196 #define HAVE_INET_ADDR 1
41197 _ACEOF
41198
41199 INET_LINK=" -l$INET_LINK"
41200 fi
41201
41202
41203 for wx_func in fdopen
41204 do
41205 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41206 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41207 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41208 echo $ECHO_N "(cached) $ECHO_C" >&6
41209 else
41210
41211 cat >conftest.$ac_ext <<_ACEOF
41212
41213 /* confdefs.h. */
41214 _ACEOF
41215 cat confdefs.h >>conftest.$ac_ext
41216 cat >>conftest.$ac_ext <<_ACEOF
41217 /* end confdefs.h. */
41218
41219
41220 $ac_includes_default
41221
41222 int
41223 main ()
41224 {
41225
41226 #ifndef $wx_func
41227 &$wx_func;
41228 #endif
41229
41230
41231 ;
41232 return 0;
41233 }
41234
41235 _ACEOF
41236 rm -f conftest.$ac_objext conftest$ac_exeext
41237 if { (ac_try="$ac_link"
41238 case "(($ac_try" in
41239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41240 *) ac_try_echo=$ac_try;;
41241 esac
41242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41243 (eval "$ac_link") 2>conftest.er1
41244 ac_status=$?
41245 grep -v '^ *+' conftest.er1 >conftest.err
41246 rm -f conftest.er1
41247 cat conftest.err >&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); } && {
41250 test -z "$ac_c_werror_flag" ||
41251 test ! -s conftest.err
41252 } && test -s conftest$ac_exeext &&
41253 $as_test_x conftest$ac_exeext; then
41254 eval wx_cv_func_$wx_func=yes
41255 else
41256 echo "$as_me: failed program was:" >&5
41257 sed 's/^/| /' conftest.$ac_ext >&5
41258
41259 eval wx_cv_func_$wx_func=no
41260 fi
41261
41262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41263 conftest$ac_exeext conftest.$ac_ext
41264
41265 fi
41266 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41267 { echo "$as_me:$LINENO: result: $ac_res" >&5
41268 echo "${ECHO_T}$ac_res" >&6; }
41269
41270 if eval test \$wx_cv_func_$wx_func = yes
41271 then
41272 cat >>confdefs.h <<_ACEOF
41273 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
41274 _ACEOF
41275
41276
41277 else
41278 :
41279
41280 fi
41281 done
41282
41283
41284 fi
41285
41286
41287
41288 cat >confcache <<\_ACEOF
41289 # This file is a shell script that caches the results of configure
41290 # tests run on this system so they can be shared between configure
41291 # scripts and configure runs, see configure's option --config-cache.
41292 # It is not useful on other systems. If it contains results you don't
41293 # want to keep, you may remove or edit it.
41294 #
41295 # config.status only pays attention to the cache file if you give it
41296 # the --recheck option to rerun configure.
41297 #
41298 # `ac_cv_env_foo' variables (set or unset) will be overridden when
41299 # loading this file, other *unset* `ac_cv_foo' will be assigned the
41300 # following values.
41301
41302 _ACEOF
41303
41304 # The following way of writing the cache mishandles newlines in values,
41305 # but we know of no workaround that is simple, portable, and efficient.
41306 # So, we kill variables containing newlines.
41307 # Ultrix sh set writes to stderr and can't be redirected directly,
41308 # and sets the high bit in the cache file unless we assign to the vars.
41309 (
41310 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
41311 eval ac_val=\$$ac_var
41312 case $ac_val in #(
41313 *${as_nl}*)
41314 case $ac_var in #(
41315 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
41316 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
41317 esac
41318 case $ac_var in #(
41319 _ | IFS | as_nl) ;; #(
41320 *) $as_unset $ac_var ;;
41321 esac ;;
41322 esac
41323 done
41324
41325 (set) 2>&1 |
41326 case $as_nl`(ac_space=' '; set) 2>&1` in #(
41327 *${as_nl}ac_space=\ *)
41328 # `set' does not quote correctly, so add quotes (double-quote
41329 # substitution turns \\\\ into \\, and sed turns \\ into \).
41330 sed -n \
41331 "s/'/'\\\\''/g;
41332 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
41333 ;; #(
41334 *)
41335 # `set' quotes correctly as required by POSIX, so do not add quotes.
41336 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
41337 ;;
41338 esac |
41339 sort
41340 ) |
41341 sed '
41342 /^ac_cv_env_/b end
41343 t clear
41344 :clear
41345 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
41346 t end
41347 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
41348 :end' >>confcache
41349 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
41350 if test -w "$cache_file"; then
41351 test "x$cache_file" != "x/dev/null" &&
41352 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
41353 echo "$as_me: updating cache $cache_file" >&6;}
41354 cat confcache >$cache_file
41355 else
41356 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
41357 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
41358 fi
41359 fi
41360 rm -f confcache
41361
41362
41363 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41364
41365
41366 THREADS_LINK=
41367 THREADS_CFLAGS=
41368
41369 if test "$wxUSE_THREADS" = "yes" ; then
41370 if test "$USE_BEOS" = 1; then
41371 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
41372 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
41373 wxUSE_THREADS="no"
41374 fi
41375 fi
41376
41377 if test "$wxUSE_THREADS" = "yes" ; then
41378
41379
41380 THREAD_OPTS="-pthread"
41381 if test "x$SUNCXX" = xyes; then
41382 THREAD_OPTS="-mt lthread $THREAD_OPTS"
41383 fi
41384
41385 case "${host}" in
41386 *-*-solaris2* | *-*-sunos4* )
41387 if test "x$GCC" = "xyes"; then
41388 THREAD_OPTS="-pthreads $THREAD_OPTS"
41389 fi
41390 ;;
41391 *-*-freebsd*)
41392 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
41393 ;;
41394 *-*-darwin* | *-*-cygwin* )
41395 THREAD_OPTS=""
41396 ;;
41397 *-*-aix*)
41398 THREAD_OPTS="pthreads"
41399 ;;
41400 *-hp-hpux* )
41401 if test "x$GCC" = "xyes"; then
41402 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
41403 THREAD_OPTS=""
41404 else
41405 THREAD_OPTS="-mt"
41406 fi
41407 ;;
41408
41409 *-*-irix* )
41410 if test "x$GCC" = "xyes"; then
41411 THREAD_OPTS=""
41412 fi
41413 ;;
41414
41415 *-*-*UnixWare*)
41416 if test "x$GCC" != "xyes"; then
41417 THREAD_OPTS="-Ethread"
41418 fi
41419 ;;
41420 esac
41421
41422 THREAD_OPTS="$THREAD_OPTS pthread none"
41423
41424 THREADS_OK=no
41425 for flag in $THREAD_OPTS; do
41426 case $flag in
41427 none)
41428 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
41429 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
41430 ;;
41431
41432 -*)
41433 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
41434 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
41435 THREADS_CFLAGS="$flag"
41436 ;;
41437
41438 *)
41439 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
41440 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
41441 THREADS_LINK="-l$flag"
41442 ;;
41443 esac
41444
41445 save_LIBS="$LIBS"
41446 save_CFLAGS="$CFLAGS"
41447 LIBS="$THREADS_LINK $LIBS"
41448 CFLAGS="$THREADS_CFLAGS $CFLAGS"
41449
41450 cat >conftest.$ac_ext <<_ACEOF
41451 /* confdefs.h. */
41452 _ACEOF
41453 cat confdefs.h >>conftest.$ac_ext
41454 cat >>conftest.$ac_ext <<_ACEOF
41455 /* end confdefs.h. */
41456 #include <pthread.h>
41457 int
41458 main ()
41459 {
41460 pthread_create(0,0,0,0);
41461 ;
41462 return 0;
41463 }
41464 _ACEOF
41465 rm -f conftest.$ac_objext conftest$ac_exeext
41466 if { (ac_try="$ac_link"
41467 case "(($ac_try" in
41468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41469 *) ac_try_echo=$ac_try;;
41470 esac
41471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41472 (eval "$ac_link") 2>conftest.er1
41473 ac_status=$?
41474 grep -v '^ *+' conftest.er1 >conftest.err
41475 rm -f conftest.er1
41476 cat conftest.err >&5
41477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41478 (exit $ac_status); } && {
41479 test -z "$ac_c_werror_flag" ||
41480 test ! -s conftest.err
41481 } && test -s conftest$ac_exeext &&
41482 $as_test_x conftest$ac_exeext; then
41483 THREADS_OK=yes
41484 else
41485 echo "$as_me: failed program was:" >&5
41486 sed 's/^/| /' conftest.$ac_ext >&5
41487
41488
41489 fi
41490
41491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41492 conftest$ac_exeext conftest.$ac_ext
41493
41494 LIBS="$save_LIBS"
41495 CFLAGS="$save_CFLAGS"
41496
41497 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
41498 echo "${ECHO_T}$THREADS_OK" >&6; }
41499 if test "x$THREADS_OK" = "xyes"; then
41500 break;
41501 fi
41502
41503 THREADS_LINK=""
41504 THREADS_CFLAGS=""
41505 done
41506
41507 if test "x$THREADS_OK" != "xyes"; then
41508 wxUSE_THREADS=no
41509 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
41510 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
41511 else
41512 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
41513 LIBS="$THREADS_LINK $LIBS"
41514
41515 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
41516 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
41517 flag=no
41518 case "${host}" in
41519 *-aix*)
41520 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
41521 flag="-D_THREAD_SAFE"
41522 ;;
41523 *-freebsd*)
41524 flag="-D_THREAD_SAFE"
41525 ;;
41526 *-hp-hpux* )
41527 flag="-D_REENTRANT"
41528 if test "x$GCC" != "xyes"; then
41529 flag="$flag -D_RWSTD_MULTI_THREAD"
41530 fi
41531 ;;
41532 *solaris* | alpha*-osf*)
41533 flag="-D_REENTRANT"
41534 ;;
41535 esac
41536 { echo "$as_me:$LINENO: result: ${flag}" >&5
41537 echo "${ECHO_T}${flag}" >&6; }
41538 if test "x$flag" != xno; then
41539 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
41540 fi
41541
41542 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
41543 fi
41544 fi
41545
41546 if test "$wxUSE_THREADS" = "yes" ; then
41547
41548 for ac_func in thr_setconcurrency
41549 do
41550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41551 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41553 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41554 echo $ECHO_N "(cached) $ECHO_C" >&6
41555 else
41556 cat >conftest.$ac_ext <<_ACEOF
41557 /* confdefs.h. */
41558 _ACEOF
41559 cat confdefs.h >>conftest.$ac_ext
41560 cat >>conftest.$ac_ext <<_ACEOF
41561 /* end confdefs.h. */
41562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41564 #define $ac_func innocuous_$ac_func
41565
41566 /* System header to define __stub macros and hopefully few prototypes,
41567 which can conflict with char $ac_func (); below.
41568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41569 <limits.h> exists even on freestanding compilers. */
41570
41571 #ifdef __STDC__
41572 # include <limits.h>
41573 #else
41574 # include <assert.h>
41575 #endif
41576
41577 #undef $ac_func
41578
41579 /* Override any GCC internal prototype to avoid an error.
41580 Use char because int might match the return type of a GCC
41581 builtin and then its argument prototype would still apply. */
41582 #ifdef __cplusplus
41583 extern "C"
41584 #endif
41585 char $ac_func ();
41586 /* The GNU C library defines this for functions which it implements
41587 to always fail with ENOSYS. Some functions are actually named
41588 something starting with __ and the normal name is an alias. */
41589 #if defined __stub_$ac_func || defined __stub___$ac_func
41590 choke me
41591 #endif
41592
41593 int
41594 main ()
41595 {
41596 return $ac_func ();
41597 ;
41598 return 0;
41599 }
41600 _ACEOF
41601 rm -f conftest.$ac_objext conftest$ac_exeext
41602 if { (ac_try="$ac_link"
41603 case "(($ac_try" in
41604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41605 *) ac_try_echo=$ac_try;;
41606 esac
41607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41608 (eval "$ac_link") 2>conftest.er1
41609 ac_status=$?
41610 grep -v '^ *+' conftest.er1 >conftest.err
41611 rm -f conftest.er1
41612 cat conftest.err >&5
41613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614 (exit $ac_status); } && {
41615 test -z "$ac_c_werror_flag" ||
41616 test ! -s conftest.err
41617 } && test -s conftest$ac_exeext &&
41618 $as_test_x conftest$ac_exeext; then
41619 eval "$as_ac_var=yes"
41620 else
41621 echo "$as_me: failed program was:" >&5
41622 sed 's/^/| /' conftest.$ac_ext >&5
41623
41624 eval "$as_ac_var=no"
41625 fi
41626
41627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41628 conftest$ac_exeext conftest.$ac_ext
41629 fi
41630 ac_res=`eval echo '${'$as_ac_var'}'`
41631 { echo "$as_me:$LINENO: result: $ac_res" >&5
41632 echo "${ECHO_T}$ac_res" >&6; }
41633 if test `eval echo '${'$as_ac_var'}'` = yes; then
41634 cat >>confdefs.h <<_ACEOF
41635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41636 _ACEOF
41637
41638 fi
41639 done
41640
41641
41642 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
41643 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
41644 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
41645 echo $ECHO_N "(cached) $ECHO_C" >&6
41646 else
41647
41648 ac_ext=cpp
41649 ac_cpp='$CXXCPP $CPPFLAGS'
41650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653
41654 cat >conftest.$ac_ext <<_ACEOF
41655 /* confdefs.h. */
41656 _ACEOF
41657 cat confdefs.h >>conftest.$ac_ext
41658 cat >>conftest.$ac_ext <<_ACEOF
41659 /* end confdefs.h. */
41660 #include <pthread.h>
41661 void ThreadCleanupFunc(void *p);
41662
41663 int
41664 main ()
41665 {
41666
41667 void *p;
41668 pthread_cleanup_push(ThreadCleanupFunc, p);
41669 pthread_cleanup_pop(0);
41670
41671 ;
41672 return 0;
41673 }
41674 _ACEOF
41675 rm -f conftest.$ac_objext
41676 if { (ac_try="$ac_compile"
41677 case "(($ac_try" in
41678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41679 *) ac_try_echo=$ac_try;;
41680 esac
41681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41682 (eval "$ac_compile") 2>conftest.er1
41683 ac_status=$?
41684 grep -v '^ *+' conftest.er1 >conftest.err
41685 rm -f conftest.er1
41686 cat conftest.err >&5
41687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41688 (exit $ac_status); } && {
41689 test -z "$ac_cxx_werror_flag" ||
41690 test ! -s conftest.err
41691 } && test -s conftest.$ac_objext; then
41692
41693 wx_cv_func_pthread_cleanup=yes
41694
41695 else
41696 echo "$as_me: failed program was:" >&5
41697 sed 's/^/| /' conftest.$ac_ext >&5
41698
41699
41700 wx_cv_func_pthread_cleanup=no
41701
41702
41703 fi
41704
41705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41706 ac_ext=c
41707 ac_cpp='$CPP $CPPFLAGS'
41708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41711
41712
41713 fi
41714 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
41715 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
41716 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
41717 cat >>confdefs.h <<\_ACEOF
41718 #define wxHAVE_PTHREAD_CLEANUP 1
41719 _ACEOF
41720
41721 fi
41722
41723
41724 for ac_header in sched.h
41725 do
41726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41727 { echo "$as_me:$LINENO: checking for $ac_header" >&5
41728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
41729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
41730 echo $ECHO_N "(cached) $ECHO_C" >&6
41731 else
41732 cat >conftest.$ac_ext <<_ACEOF
41733 /* confdefs.h. */
41734 _ACEOF
41735 cat confdefs.h >>conftest.$ac_ext
41736 cat >>conftest.$ac_ext <<_ACEOF
41737 /* end confdefs.h. */
41738 $ac_includes_default
41739
41740 #include <$ac_header>
41741 _ACEOF
41742 rm -f conftest.$ac_objext
41743 if { (ac_try="$ac_compile"
41744 case "(($ac_try" in
41745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41746 *) ac_try_echo=$ac_try;;
41747 esac
41748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41749 (eval "$ac_compile") 2>conftest.er1
41750 ac_status=$?
41751 grep -v '^ *+' conftest.er1 >conftest.err
41752 rm -f conftest.er1
41753 cat conftest.err >&5
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); } && {
41756 test -z "$ac_c_werror_flag" ||
41757 test ! -s conftest.err
41758 } && test -s conftest.$ac_objext; then
41759 eval "$as_ac_Header=yes"
41760 else
41761 echo "$as_me: failed program was:" >&5
41762 sed 's/^/| /' conftest.$ac_ext >&5
41763
41764 eval "$as_ac_Header=no"
41765 fi
41766
41767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41768 fi
41769 ac_res=`eval echo '${'$as_ac_Header'}'`
41770 { echo "$as_me:$LINENO: result: $ac_res" >&5
41771 echo "${ECHO_T}$ac_res" >&6; }
41772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41773 cat >>confdefs.h <<_ACEOF
41774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41775 _ACEOF
41776
41777 fi
41778
41779 done
41780
41781 if test "$ac_cv_header_sched_h" = "yes"; then
41782 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41783 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41784 if test "${ac_cv_func_sched_yield+set}" = set; then
41785 echo $ECHO_N "(cached) $ECHO_C" >&6
41786 else
41787 cat >conftest.$ac_ext <<_ACEOF
41788 /* confdefs.h. */
41789 _ACEOF
41790 cat confdefs.h >>conftest.$ac_ext
41791 cat >>conftest.$ac_ext <<_ACEOF
41792 /* end confdefs.h. */
41793 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41795 #define sched_yield innocuous_sched_yield
41796
41797 /* System header to define __stub macros and hopefully few prototypes,
41798 which can conflict with char sched_yield (); below.
41799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41800 <limits.h> exists even on freestanding compilers. */
41801
41802 #ifdef __STDC__
41803 # include <limits.h>
41804 #else
41805 # include <assert.h>
41806 #endif
41807
41808 #undef sched_yield
41809
41810 /* Override any GCC internal prototype to avoid an error.
41811 Use char because int might match the return type of a GCC
41812 builtin and then its argument prototype would still apply. */
41813 #ifdef __cplusplus
41814 extern "C"
41815 #endif
41816 char sched_yield ();
41817 /* The GNU C library defines this for functions which it implements
41818 to always fail with ENOSYS. Some functions are actually named
41819 something starting with __ and the normal name is an alias. */
41820 #if defined __stub_sched_yield || defined __stub___sched_yield
41821 choke me
41822 #endif
41823
41824 int
41825 main ()
41826 {
41827 return sched_yield ();
41828 ;
41829 return 0;
41830 }
41831 _ACEOF
41832 rm -f conftest.$ac_objext conftest$ac_exeext
41833 if { (ac_try="$ac_link"
41834 case "(($ac_try" in
41835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41836 *) ac_try_echo=$ac_try;;
41837 esac
41838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41839 (eval "$ac_link") 2>conftest.er1
41840 ac_status=$?
41841 grep -v '^ *+' conftest.er1 >conftest.err
41842 rm -f conftest.er1
41843 cat conftest.err >&5
41844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41845 (exit $ac_status); } && {
41846 test -z "$ac_c_werror_flag" ||
41847 test ! -s conftest.err
41848 } && test -s conftest$ac_exeext &&
41849 $as_test_x conftest$ac_exeext; then
41850 ac_cv_func_sched_yield=yes
41851 else
41852 echo "$as_me: failed program was:" >&5
41853 sed 's/^/| /' conftest.$ac_ext >&5
41854
41855 ac_cv_func_sched_yield=no
41856 fi
41857
41858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41859 conftest$ac_exeext conftest.$ac_ext
41860 fi
41861 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41862 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41863 if test $ac_cv_func_sched_yield = yes; then
41864 cat >>confdefs.h <<\_ACEOF
41865 #define HAVE_SCHED_YIELD 1
41866 _ACEOF
41867
41868 else
41869
41870 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41871 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41872 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41873 echo $ECHO_N "(cached) $ECHO_C" >&6
41874 else
41875 ac_check_lib_save_LIBS=$LIBS
41876 LIBS="-lposix4 $LIBS"
41877 cat >conftest.$ac_ext <<_ACEOF
41878 /* confdefs.h. */
41879 _ACEOF
41880 cat confdefs.h >>conftest.$ac_ext
41881 cat >>conftest.$ac_ext <<_ACEOF
41882 /* end confdefs.h. */
41883
41884 /* Override any GCC internal prototype to avoid an error.
41885 Use char because int might match the return type of a GCC
41886 builtin and then its argument prototype would still apply. */
41887 #ifdef __cplusplus
41888 extern "C"
41889 #endif
41890 char sched_yield ();
41891 int
41892 main ()
41893 {
41894 return sched_yield ();
41895 ;
41896 return 0;
41897 }
41898 _ACEOF
41899 rm -f conftest.$ac_objext conftest$ac_exeext
41900 if { (ac_try="$ac_link"
41901 case "(($ac_try" in
41902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41903 *) ac_try_echo=$ac_try;;
41904 esac
41905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41906 (eval "$ac_link") 2>conftest.er1
41907 ac_status=$?
41908 grep -v '^ *+' conftest.er1 >conftest.err
41909 rm -f conftest.er1
41910 cat conftest.err >&5
41911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41912 (exit $ac_status); } && {
41913 test -z "$ac_c_werror_flag" ||
41914 test ! -s conftest.err
41915 } && test -s conftest$ac_exeext &&
41916 $as_test_x conftest$ac_exeext; then
41917 ac_cv_lib_posix4_sched_yield=yes
41918 else
41919 echo "$as_me: failed program was:" >&5
41920 sed 's/^/| /' conftest.$ac_ext >&5
41921
41922 ac_cv_lib_posix4_sched_yield=no
41923 fi
41924
41925 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41926 conftest$ac_exeext conftest.$ac_ext
41927 LIBS=$ac_check_lib_save_LIBS
41928 fi
41929 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41930 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41931 if test $ac_cv_lib_posix4_sched_yield = yes; then
41932 cat >>confdefs.h <<\_ACEOF
41933 #define HAVE_SCHED_YIELD 1
41934 _ACEOF
41935 POSIX4_LINK=" -lposix4"
41936 else
41937 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41938 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41939
41940 fi
41941
41942
41943
41944 fi
41945
41946 fi
41947
41948 HAVE_PRIOR_FUNCS=0
41949 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41950 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41951 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41952 echo $ECHO_N "(cached) $ECHO_C" >&6
41953 else
41954 cat >conftest.$ac_ext <<_ACEOF
41955 /* confdefs.h. */
41956 _ACEOF
41957 cat confdefs.h >>conftest.$ac_ext
41958 cat >>conftest.$ac_ext <<_ACEOF
41959 /* end confdefs.h. */
41960 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41962 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41963
41964 /* System header to define __stub macros and hopefully few prototypes,
41965 which can conflict with char pthread_attr_getschedpolicy (); below.
41966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41967 <limits.h> exists even on freestanding compilers. */
41968
41969 #ifdef __STDC__
41970 # include <limits.h>
41971 #else
41972 # include <assert.h>
41973 #endif
41974
41975 #undef pthread_attr_getschedpolicy
41976
41977 /* Override any GCC internal prototype to avoid an error.
41978 Use char because int might match the return type of a GCC
41979 builtin and then its argument prototype would still apply. */
41980 #ifdef __cplusplus
41981 extern "C"
41982 #endif
41983 char pthread_attr_getschedpolicy ();
41984 /* The GNU C library defines this for functions which it implements
41985 to always fail with ENOSYS. Some functions are actually named
41986 something starting with __ and the normal name is an alias. */
41987 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41988 choke me
41989 #endif
41990
41991 int
41992 main ()
41993 {
41994 return pthread_attr_getschedpolicy ();
41995 ;
41996 return 0;
41997 }
41998 _ACEOF
41999 rm -f conftest.$ac_objext conftest$ac_exeext
42000 if { (ac_try="$ac_link"
42001 case "(($ac_try" in
42002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42003 *) ac_try_echo=$ac_try;;
42004 esac
42005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42006 (eval "$ac_link") 2>conftest.er1
42007 ac_status=$?
42008 grep -v '^ *+' conftest.er1 >conftest.err
42009 rm -f conftest.er1
42010 cat conftest.err >&5
42011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012 (exit $ac_status); } && {
42013 test -z "$ac_c_werror_flag" ||
42014 test ! -s conftest.err
42015 } && test -s conftest$ac_exeext &&
42016 $as_test_x conftest$ac_exeext; then
42017 ac_cv_func_pthread_attr_getschedpolicy=yes
42018 else
42019 echo "$as_me: failed program was:" >&5
42020 sed 's/^/| /' conftest.$ac_ext >&5
42021
42022 ac_cv_func_pthread_attr_getschedpolicy=no
42023 fi
42024
42025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42026 conftest$ac_exeext conftest.$ac_ext
42027 fi
42028 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
42029 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
42030 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
42031 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
42032 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
42033 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
42034 echo $ECHO_N "(cached) $ECHO_C" >&6
42035 else
42036 cat >conftest.$ac_ext <<_ACEOF
42037 /* confdefs.h. */
42038 _ACEOF
42039 cat confdefs.h >>conftest.$ac_ext
42040 cat >>conftest.$ac_ext <<_ACEOF
42041 /* end confdefs.h. */
42042 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
42043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42044 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
42045
42046 /* System header to define __stub macros and hopefully few prototypes,
42047 which can conflict with char pthread_attr_setschedparam (); below.
42048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42049 <limits.h> exists even on freestanding compilers. */
42050
42051 #ifdef __STDC__
42052 # include <limits.h>
42053 #else
42054 # include <assert.h>
42055 #endif
42056
42057 #undef pthread_attr_setschedparam
42058
42059 /* Override any GCC internal prototype to avoid an error.
42060 Use char because int might match the return type of a GCC
42061 builtin and then its argument prototype would still apply. */
42062 #ifdef __cplusplus
42063 extern "C"
42064 #endif
42065 char pthread_attr_setschedparam ();
42066 /* The GNU C library defines this for functions which it implements
42067 to always fail with ENOSYS. Some functions are actually named
42068 something starting with __ and the normal name is an alias. */
42069 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
42070 choke me
42071 #endif
42072
42073 int
42074 main ()
42075 {
42076 return pthread_attr_setschedparam ();
42077 ;
42078 return 0;
42079 }
42080 _ACEOF
42081 rm -f conftest.$ac_objext conftest$ac_exeext
42082 if { (ac_try="$ac_link"
42083 case "(($ac_try" in
42084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42085 *) ac_try_echo=$ac_try;;
42086 esac
42087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42088 (eval "$ac_link") 2>conftest.er1
42089 ac_status=$?
42090 grep -v '^ *+' conftest.er1 >conftest.err
42091 rm -f conftest.er1
42092 cat conftest.err >&5
42093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42094 (exit $ac_status); } && {
42095 test -z "$ac_c_werror_flag" ||
42096 test ! -s conftest.err
42097 } && test -s conftest$ac_exeext &&
42098 $as_test_x conftest$ac_exeext; then
42099 ac_cv_func_pthread_attr_setschedparam=yes
42100 else
42101 echo "$as_me: failed program was:" >&5
42102 sed 's/^/| /' conftest.$ac_ext >&5
42103
42104 ac_cv_func_pthread_attr_setschedparam=no
42105 fi
42106
42107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42108 conftest$ac_exeext conftest.$ac_ext
42109 fi
42110 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
42111 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
42112 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
42113 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
42114 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
42115 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
42116 echo $ECHO_N "(cached) $ECHO_C" >&6
42117 else
42118 cat >conftest.$ac_ext <<_ACEOF
42119 /* confdefs.h. */
42120 _ACEOF
42121 cat confdefs.h >>conftest.$ac_ext
42122 cat >>conftest.$ac_ext <<_ACEOF
42123 /* end confdefs.h. */
42124 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
42125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42126 #define sched_get_priority_max innocuous_sched_get_priority_max
42127
42128 /* System header to define __stub macros and hopefully few prototypes,
42129 which can conflict with char sched_get_priority_max (); below.
42130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42131 <limits.h> exists even on freestanding compilers. */
42132
42133 #ifdef __STDC__
42134 # include <limits.h>
42135 #else
42136 # include <assert.h>
42137 #endif
42138
42139 #undef sched_get_priority_max
42140
42141 /* Override any GCC internal prototype to avoid an error.
42142 Use char because int might match the return type of a GCC
42143 builtin and then its argument prototype would still apply. */
42144 #ifdef __cplusplus
42145 extern "C"
42146 #endif
42147 char sched_get_priority_max ();
42148 /* The GNU C library defines this for functions which it implements
42149 to always fail with ENOSYS. Some functions are actually named
42150 something starting with __ and the normal name is an alias. */
42151 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
42152 choke me
42153 #endif
42154
42155 int
42156 main ()
42157 {
42158 return sched_get_priority_max ();
42159 ;
42160 return 0;
42161 }
42162 _ACEOF
42163 rm -f conftest.$ac_objext conftest$ac_exeext
42164 if { (ac_try="$ac_link"
42165 case "(($ac_try" in
42166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42167 *) ac_try_echo=$ac_try;;
42168 esac
42169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42170 (eval "$ac_link") 2>conftest.er1
42171 ac_status=$?
42172 grep -v '^ *+' conftest.er1 >conftest.err
42173 rm -f conftest.er1
42174 cat conftest.err >&5
42175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42176 (exit $ac_status); } && {
42177 test -z "$ac_c_werror_flag" ||
42178 test ! -s conftest.err
42179 } && test -s conftest$ac_exeext &&
42180 $as_test_x conftest$ac_exeext; then
42181 ac_cv_func_sched_get_priority_max=yes
42182 else
42183 echo "$as_me: failed program was:" >&5
42184 sed 's/^/| /' conftest.$ac_ext >&5
42185
42186 ac_cv_func_sched_get_priority_max=no
42187 fi
42188
42189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42190 conftest$ac_exeext conftest.$ac_ext
42191 fi
42192 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
42193 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
42194 if test $ac_cv_func_sched_get_priority_max = yes; then
42195 HAVE_PRIOR_FUNCS=1
42196 else
42197 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
42198 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
42199 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
42200 echo $ECHO_N "(cached) $ECHO_C" >&6
42201 else
42202 ac_check_lib_save_LIBS=$LIBS
42203 LIBS="-lposix4 $LIBS"
42204 cat >conftest.$ac_ext <<_ACEOF
42205 /* confdefs.h. */
42206 _ACEOF
42207 cat confdefs.h >>conftest.$ac_ext
42208 cat >>conftest.$ac_ext <<_ACEOF
42209 /* end confdefs.h. */
42210
42211 /* Override any GCC internal prototype to avoid an error.
42212 Use char because int might match the return type of a GCC
42213 builtin and then its argument prototype would still apply. */
42214 #ifdef __cplusplus
42215 extern "C"
42216 #endif
42217 char sched_get_priority_max ();
42218 int
42219 main ()
42220 {
42221 return sched_get_priority_max ();
42222 ;
42223 return 0;
42224 }
42225 _ACEOF
42226 rm -f conftest.$ac_objext conftest$ac_exeext
42227 if { (ac_try="$ac_link"
42228 case "(($ac_try" in
42229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42230 *) ac_try_echo=$ac_try;;
42231 esac
42232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42233 (eval "$ac_link") 2>conftest.er1
42234 ac_status=$?
42235 grep -v '^ *+' conftest.er1 >conftest.err
42236 rm -f conftest.er1
42237 cat conftest.err >&5
42238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42239 (exit $ac_status); } && {
42240 test -z "$ac_c_werror_flag" ||
42241 test ! -s conftest.err
42242 } && test -s conftest$ac_exeext &&
42243 $as_test_x conftest$ac_exeext; then
42244 ac_cv_lib_posix4_sched_get_priority_max=yes
42245 else
42246 echo "$as_me: failed program was:" >&5
42247 sed 's/^/| /' conftest.$ac_ext >&5
42248
42249 ac_cv_lib_posix4_sched_get_priority_max=no
42250 fi
42251
42252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42253 conftest$ac_exeext conftest.$ac_ext
42254 LIBS=$ac_check_lib_save_LIBS
42255 fi
42256 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
42257 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
42258 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
42259
42260 HAVE_PRIOR_FUNCS=1
42261 POSIX4_LINK=" -lposix4"
42262
42263 fi
42264
42265
42266 fi
42267
42268
42269 fi
42270
42271
42272 fi
42273
42274
42275 if test "$HAVE_PRIOR_FUNCS" = 1; then
42276 cat >>confdefs.h <<\_ACEOF
42277 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
42278 _ACEOF
42279
42280 else
42281 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
42282 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
42283 fi
42284
42285 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
42286 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
42287 if test "${ac_cv_func_pthread_cancel+set}" = set; then
42288 echo $ECHO_N "(cached) $ECHO_C" >&6
42289 else
42290 cat >conftest.$ac_ext <<_ACEOF
42291 /* confdefs.h. */
42292 _ACEOF
42293 cat confdefs.h >>conftest.$ac_ext
42294 cat >>conftest.$ac_ext <<_ACEOF
42295 /* end confdefs.h. */
42296 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
42297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42298 #define pthread_cancel innocuous_pthread_cancel
42299
42300 /* System header to define __stub macros and hopefully few prototypes,
42301 which can conflict with char pthread_cancel (); below.
42302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42303 <limits.h> exists even on freestanding compilers. */
42304
42305 #ifdef __STDC__
42306 # include <limits.h>
42307 #else
42308 # include <assert.h>
42309 #endif
42310
42311 #undef pthread_cancel
42312
42313 /* Override any GCC internal prototype to avoid an error.
42314 Use char because int might match the return type of a GCC
42315 builtin and then its argument prototype would still apply. */
42316 #ifdef __cplusplus
42317 extern "C"
42318 #endif
42319 char pthread_cancel ();
42320 /* The GNU C library defines this for functions which it implements
42321 to always fail with ENOSYS. Some functions are actually named
42322 something starting with __ and the normal name is an alias. */
42323 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
42324 choke me
42325 #endif
42326
42327 int
42328 main ()
42329 {
42330 return pthread_cancel ();
42331 ;
42332 return 0;
42333 }
42334 _ACEOF
42335 rm -f conftest.$ac_objext conftest$ac_exeext
42336 if { (ac_try="$ac_link"
42337 case "(($ac_try" in
42338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42339 *) ac_try_echo=$ac_try;;
42340 esac
42341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42342 (eval "$ac_link") 2>conftest.er1
42343 ac_status=$?
42344 grep -v '^ *+' conftest.er1 >conftest.err
42345 rm -f conftest.er1
42346 cat conftest.err >&5
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); } && {
42349 test -z "$ac_c_werror_flag" ||
42350 test ! -s conftest.err
42351 } && test -s conftest$ac_exeext &&
42352 $as_test_x conftest$ac_exeext; then
42353 ac_cv_func_pthread_cancel=yes
42354 else
42355 echo "$as_me: failed program was:" >&5
42356 sed 's/^/| /' conftest.$ac_ext >&5
42357
42358 ac_cv_func_pthread_cancel=no
42359 fi
42360
42361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42362 conftest$ac_exeext conftest.$ac_ext
42363 fi
42364 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
42365 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
42366 if test $ac_cv_func_pthread_cancel = yes; then
42367 cat >>confdefs.h <<\_ACEOF
42368 #define HAVE_PTHREAD_CANCEL 1
42369 _ACEOF
42370
42371 else
42372 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
42373 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
42374 fi
42375
42376
42377 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
42378 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
42379 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
42380 echo $ECHO_N "(cached) $ECHO_C" >&6
42381 else
42382 cat >conftest.$ac_ext <<_ACEOF
42383 /* confdefs.h. */
42384 _ACEOF
42385 cat confdefs.h >>conftest.$ac_ext
42386 cat >>conftest.$ac_ext <<_ACEOF
42387 /* end confdefs.h. */
42388 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
42389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42390 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
42391
42392 /* System header to define __stub macros and hopefully few prototypes,
42393 which can conflict with char pthread_mutex_timedlock (); below.
42394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42395 <limits.h> exists even on freestanding compilers. */
42396
42397 #ifdef __STDC__
42398 # include <limits.h>
42399 #else
42400 # include <assert.h>
42401 #endif
42402
42403 #undef pthread_mutex_timedlock
42404
42405 /* Override any GCC internal prototype to avoid an error.
42406 Use char because int might match the return type of a GCC
42407 builtin and then its argument prototype would still apply. */
42408 #ifdef __cplusplus
42409 extern "C"
42410 #endif
42411 char pthread_mutex_timedlock ();
42412 /* The GNU C library defines this for functions which it implements
42413 to always fail with ENOSYS. Some functions are actually named
42414 something starting with __ and the normal name is an alias. */
42415 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
42416 choke me
42417 #endif
42418
42419 int
42420 main ()
42421 {
42422 return pthread_mutex_timedlock ();
42423 ;
42424 return 0;
42425 }
42426 _ACEOF
42427 rm -f conftest.$ac_objext conftest$ac_exeext
42428 if { (ac_try="$ac_link"
42429 case "(($ac_try" in
42430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42431 *) ac_try_echo=$ac_try;;
42432 esac
42433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42434 (eval "$ac_link") 2>conftest.er1
42435 ac_status=$?
42436 grep -v '^ *+' conftest.er1 >conftest.err
42437 rm -f conftest.er1
42438 cat conftest.err >&5
42439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42440 (exit $ac_status); } && {
42441 test -z "$ac_c_werror_flag" ||
42442 test ! -s conftest.err
42443 } && test -s conftest$ac_exeext &&
42444 $as_test_x conftest$ac_exeext; then
42445 ac_cv_func_pthread_mutex_timedlock=yes
42446 else
42447 echo "$as_me: failed program was:" >&5
42448 sed 's/^/| /' conftest.$ac_ext >&5
42449
42450 ac_cv_func_pthread_mutex_timedlock=no
42451 fi
42452
42453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42454 conftest$ac_exeext conftest.$ac_ext
42455 fi
42456 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
42457 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
42458 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
42459 cat >>confdefs.h <<\_ACEOF
42460 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
42461 _ACEOF
42462
42463 else
42464 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
42465 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
42466 fi
42467
42468
42469 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
42470 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
42471 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
42472 echo $ECHO_N "(cached) $ECHO_C" >&6
42473 else
42474 cat >conftest.$ac_ext <<_ACEOF
42475 /* confdefs.h. */
42476 _ACEOF
42477 cat confdefs.h >>conftest.$ac_ext
42478 cat >>conftest.$ac_ext <<_ACEOF
42479 /* end confdefs.h. */
42480 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
42481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42482 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
42483
42484 /* System header to define __stub macros and hopefully few prototypes,
42485 which can conflict with char pthread_attr_setstacksize (); below.
42486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42487 <limits.h> exists even on freestanding compilers. */
42488
42489 #ifdef __STDC__
42490 # include <limits.h>
42491 #else
42492 # include <assert.h>
42493 #endif
42494
42495 #undef pthread_attr_setstacksize
42496
42497 /* Override any GCC internal prototype to avoid an error.
42498 Use char because int might match the return type of a GCC
42499 builtin and then its argument prototype would still apply. */
42500 #ifdef __cplusplus
42501 extern "C"
42502 #endif
42503 char pthread_attr_setstacksize ();
42504 /* The GNU C library defines this for functions which it implements
42505 to always fail with ENOSYS. Some functions are actually named
42506 something starting with __ and the normal name is an alias. */
42507 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
42508 choke me
42509 #endif
42510
42511 int
42512 main ()
42513 {
42514 return pthread_attr_setstacksize ();
42515 ;
42516 return 0;
42517 }
42518 _ACEOF
42519 rm -f conftest.$ac_objext conftest$ac_exeext
42520 if { (ac_try="$ac_link"
42521 case "(($ac_try" in
42522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42523 *) ac_try_echo=$ac_try;;
42524 esac
42525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42526 (eval "$ac_link") 2>conftest.er1
42527 ac_status=$?
42528 grep -v '^ *+' conftest.er1 >conftest.err
42529 rm -f conftest.er1
42530 cat conftest.err >&5
42531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42532 (exit $ac_status); } && {
42533 test -z "$ac_c_werror_flag" ||
42534 test ! -s conftest.err
42535 } && test -s conftest$ac_exeext &&
42536 $as_test_x conftest$ac_exeext; then
42537 ac_cv_func_pthread_attr_setstacksize=yes
42538 else
42539 echo "$as_me: failed program was:" >&5
42540 sed 's/^/| /' conftest.$ac_ext >&5
42541
42542 ac_cv_func_pthread_attr_setstacksize=no
42543 fi
42544
42545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42546 conftest$ac_exeext conftest.$ac_ext
42547 fi
42548 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
42549 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
42550 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
42551 cat >>confdefs.h <<\_ACEOF
42552 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
42553 _ACEOF
42554
42555 fi
42556
42557
42558
42559 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
42560 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
42561 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
42562 echo $ECHO_N "(cached) $ECHO_C" >&6
42563 else
42564
42565 cat >conftest.$ac_ext <<_ACEOF
42566 /* confdefs.h. */
42567 _ACEOF
42568 cat confdefs.h >>conftest.$ac_ext
42569 cat >>conftest.$ac_ext <<_ACEOF
42570 /* end confdefs.h. */
42571 #include <pthread.h>
42572 int
42573 main ()
42574 {
42575
42576 pthread_mutexattr_t attr;
42577 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42578
42579 ;
42580 return 0;
42581 }
42582 _ACEOF
42583 rm -f conftest.$ac_objext
42584 if { (ac_try="$ac_compile"
42585 case "(($ac_try" in
42586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42587 *) ac_try_echo=$ac_try;;
42588 esac
42589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42590 (eval "$ac_compile") 2>conftest.er1
42591 ac_status=$?
42592 grep -v '^ *+' conftest.er1 >conftest.err
42593 rm -f conftest.er1
42594 cat conftest.err >&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } && {
42597 test -z "$ac_c_werror_flag" ||
42598 test ! -s conftest.err
42599 } && test -s conftest.$ac_objext; then
42600 wx_cv_type_pthread_mutexattr_t=yes
42601 else
42602 echo "$as_me: failed program was:" >&5
42603 sed 's/^/| /' conftest.$ac_ext >&5
42604
42605 wx_cv_type_pthread_mutexattr_t=no
42606
42607 fi
42608
42609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42610
42611 fi
42612 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
42613 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
42614
42615 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
42616 cat >>confdefs.h <<\_ACEOF
42617 #define HAVE_PTHREAD_MUTEXATTR_T 1
42618 _ACEOF
42619
42620
42621 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
42622 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
42623 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
42624 echo $ECHO_N "(cached) $ECHO_C" >&6
42625 else
42626
42627 cat >conftest.$ac_ext <<_ACEOF
42628 /* confdefs.h. */
42629 _ACEOF
42630 cat confdefs.h >>conftest.$ac_ext
42631 cat >>conftest.$ac_ext <<_ACEOF
42632 /* end confdefs.h. */
42633 #include <pthread.h>
42634 int
42635 main ()
42636 {
42637
42638 pthread_mutexattr_t attr;
42639 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
42640
42641 ;
42642 return 0;
42643 }
42644 _ACEOF
42645 rm -f conftest.$ac_objext
42646 if { (ac_try="$ac_compile"
42647 case "(($ac_try" in
42648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42649 *) ac_try_echo=$ac_try;;
42650 esac
42651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42652 (eval "$ac_compile") 2>conftest.er1
42653 ac_status=$?
42654 grep -v '^ *+' conftest.er1 >conftest.err
42655 rm -f conftest.er1
42656 cat conftest.err >&5
42657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42658 (exit $ac_status); } && {
42659 test -z "$ac_c_werror_flag" ||
42660 test ! -s conftest.err
42661 } && test -s conftest.$ac_objext; then
42662 wx_cv_func_pthread_mutexattr_settype_decl=yes
42663 else
42664 echo "$as_me: failed program was:" >&5
42665 sed 's/^/| /' conftest.$ac_ext >&5
42666
42667 wx_cv_func_pthread_mutexattr_settype_decl=no
42668
42669 fi
42670
42671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42672
42673 fi
42674 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
42675 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
42676 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
42677 cat >>confdefs.h <<\_ACEOF
42678 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
42679 _ACEOF
42680
42681 fi
42682 else
42683 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
42684 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
42685 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
42686 echo $ECHO_N "(cached) $ECHO_C" >&6
42687 else
42688
42689 cat >conftest.$ac_ext <<_ACEOF
42690 /* confdefs.h. */
42691 _ACEOF
42692 cat confdefs.h >>conftest.$ac_ext
42693 cat >>conftest.$ac_ext <<_ACEOF
42694 /* end confdefs.h. */
42695 #include <pthread.h>
42696 int
42697 main ()
42698 {
42699
42700 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
42701
42702 ;
42703 return 0;
42704 }
42705 _ACEOF
42706 rm -f conftest.$ac_objext
42707 if { (ac_try="$ac_compile"
42708 case "(($ac_try" in
42709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42710 *) ac_try_echo=$ac_try;;
42711 esac
42712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42713 (eval "$ac_compile") 2>conftest.er1
42714 ac_status=$?
42715 grep -v '^ *+' conftest.er1 >conftest.err
42716 rm -f conftest.er1
42717 cat conftest.err >&5
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); } && {
42720 test -z "$ac_c_werror_flag" ||
42721 test ! -s conftest.err
42722 } && test -s conftest.$ac_objext; then
42723
42724 wx_cv_type_pthread_rec_mutex_init=yes
42725
42726 else
42727 echo "$as_me: failed program was:" >&5
42728 sed 's/^/| /' conftest.$ac_ext >&5
42729
42730
42731 wx_cv_type_pthread_rec_mutex_init=no
42732
42733
42734 fi
42735
42736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42737
42738 fi
42739 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
42740 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
42741 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
42742 cat >>confdefs.h <<\_ACEOF
42743 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
42744 _ACEOF
42745
42746 else
42747 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
42748 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42749 fi
42750 fi
42751 fi
42752
42753 else
42754 if test "$wxUSE_THREADS" = "yes" ; then
42755 case "${host}" in
42756 *-*-mingw32* )
42757 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42758 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42759 if test "${wx_cv_cflags_mthread+set}" = set; then
42760 echo $ECHO_N "(cached) $ECHO_C" >&6
42761 else
42762
42763 CFLAGS_OLD="$CFLAGS"
42764 CFLAGS="-mthreads $CFLAGS"
42765 cat >conftest.$ac_ext <<_ACEOF
42766 /* confdefs.h. */
42767 _ACEOF
42768 cat confdefs.h >>conftest.$ac_ext
42769 cat >>conftest.$ac_ext <<_ACEOF
42770 /* end confdefs.h. */
42771
42772 int
42773 main ()
42774 {
42775
42776 ;
42777 return 0;
42778 }
42779 _ACEOF
42780 rm -f conftest.$ac_objext
42781 if { (ac_try="$ac_compile"
42782 case "(($ac_try" in
42783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42784 *) ac_try_echo=$ac_try;;
42785 esac
42786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42787 (eval "$ac_compile") 2>conftest.er1
42788 ac_status=$?
42789 grep -v '^ *+' conftest.er1 >conftest.err
42790 rm -f conftest.er1
42791 cat conftest.err >&5
42792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42793 (exit $ac_status); } && {
42794 test -z "$ac_c_werror_flag" ||
42795 test ! -s conftest.err
42796 } && test -s conftest.$ac_objext; then
42797 wx_cv_cflags_mthread=yes
42798 else
42799 echo "$as_me: failed program was:" >&5
42800 sed 's/^/| /' conftest.$ac_ext >&5
42801
42802 wx_cv_cflags_mthread=no
42803
42804 fi
42805
42806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42807
42808
42809 fi
42810 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42811 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42812
42813 if test "$wx_cv_cflags_mthread" = "yes"; then
42814 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
42815 LDFLAGS="$LDFLAGS -mthreads"
42816 else
42817 CFLAGS="$CFLAGS_OLD"
42818 fi
42819 ;;
42820 *-pc-os2*emx )
42821 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42822 LDFLAGS="$LDFLAGS -Zmt"
42823 ;;
42824 esac
42825 fi
42826 fi
42827
42828 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42829 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42830 if test "${ac_cv_func_localtime_r+set}" = set; then
42831 echo $ECHO_N "(cached) $ECHO_C" >&6
42832 else
42833 cat >conftest.$ac_ext <<_ACEOF
42834 /* confdefs.h. */
42835 _ACEOF
42836 cat confdefs.h >>conftest.$ac_ext
42837 cat >>conftest.$ac_ext <<_ACEOF
42838 /* end confdefs.h. */
42839 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42841 #define localtime_r innocuous_localtime_r
42842
42843 /* System header to define __stub macros and hopefully few prototypes,
42844 which can conflict with char localtime_r (); below.
42845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42846 <limits.h> exists even on freestanding compilers. */
42847
42848 #ifdef __STDC__
42849 # include <limits.h>
42850 #else
42851 # include <assert.h>
42852 #endif
42853
42854 #undef localtime_r
42855
42856 /* Override any GCC internal prototype to avoid an error.
42857 Use char because int might match the return type of a GCC
42858 builtin and then its argument prototype would still apply. */
42859 #ifdef __cplusplus
42860 extern "C"
42861 #endif
42862 char localtime_r ();
42863 /* The GNU C library defines this for functions which it implements
42864 to always fail with ENOSYS. Some functions are actually named
42865 something starting with __ and the normal name is an alias. */
42866 #if defined __stub_localtime_r || defined __stub___localtime_r
42867 choke me
42868 #endif
42869
42870 int
42871 main ()
42872 {
42873 return localtime_r ();
42874 ;
42875 return 0;
42876 }
42877 _ACEOF
42878 rm -f conftest.$ac_objext conftest$ac_exeext
42879 if { (ac_try="$ac_link"
42880 case "(($ac_try" in
42881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42882 *) ac_try_echo=$ac_try;;
42883 esac
42884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42885 (eval "$ac_link") 2>conftest.er1
42886 ac_status=$?
42887 grep -v '^ *+' conftest.er1 >conftest.err
42888 rm -f conftest.er1
42889 cat conftest.err >&5
42890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42891 (exit $ac_status); } && {
42892 test -z "$ac_c_werror_flag" ||
42893 test ! -s conftest.err
42894 } && test -s conftest$ac_exeext &&
42895 $as_test_x conftest$ac_exeext; then
42896 ac_cv_func_localtime_r=yes
42897 else
42898 echo "$as_me: failed program was:" >&5
42899 sed 's/^/| /' conftest.$ac_ext >&5
42900
42901 ac_cv_func_localtime_r=no
42902 fi
42903
42904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42905 conftest$ac_exeext conftest.$ac_ext
42906 fi
42907 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42908 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42909 if test $ac_cv_func_localtime_r = yes; then
42910 cat >>confdefs.h <<\_ACEOF
42911 #define HAVE_LOCALTIME_R 1
42912 _ACEOF
42913
42914 fi
42915
42916 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42917 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42918 if test "${ac_cv_func_gmtime_r+set}" = set; then
42919 echo $ECHO_N "(cached) $ECHO_C" >&6
42920 else
42921 cat >conftest.$ac_ext <<_ACEOF
42922 /* confdefs.h. */
42923 _ACEOF
42924 cat confdefs.h >>conftest.$ac_ext
42925 cat >>conftest.$ac_ext <<_ACEOF
42926 /* end confdefs.h. */
42927 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42929 #define gmtime_r innocuous_gmtime_r
42930
42931 /* System header to define __stub macros and hopefully few prototypes,
42932 which can conflict with char gmtime_r (); below.
42933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42934 <limits.h> exists even on freestanding compilers. */
42935
42936 #ifdef __STDC__
42937 # include <limits.h>
42938 #else
42939 # include <assert.h>
42940 #endif
42941
42942 #undef gmtime_r
42943
42944 /* Override any GCC internal prototype to avoid an error.
42945 Use char because int might match the return type of a GCC
42946 builtin and then its argument prototype would still apply. */
42947 #ifdef __cplusplus
42948 extern "C"
42949 #endif
42950 char gmtime_r ();
42951 /* The GNU C library defines this for functions which it implements
42952 to always fail with ENOSYS. Some functions are actually named
42953 something starting with __ and the normal name is an alias. */
42954 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42955 choke me
42956 #endif
42957
42958 int
42959 main ()
42960 {
42961 return gmtime_r ();
42962 ;
42963 return 0;
42964 }
42965 _ACEOF
42966 rm -f conftest.$ac_objext conftest$ac_exeext
42967 if { (ac_try="$ac_link"
42968 case "(($ac_try" in
42969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42970 *) ac_try_echo=$ac_try;;
42971 esac
42972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42973 (eval "$ac_link") 2>conftest.er1
42974 ac_status=$?
42975 grep -v '^ *+' conftest.er1 >conftest.err
42976 rm -f conftest.er1
42977 cat conftest.err >&5
42978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42979 (exit $ac_status); } && {
42980 test -z "$ac_c_werror_flag" ||
42981 test ! -s conftest.err
42982 } && test -s conftest$ac_exeext &&
42983 $as_test_x conftest$ac_exeext; then
42984 ac_cv_func_gmtime_r=yes
42985 else
42986 echo "$as_me: failed program was:" >&5
42987 sed 's/^/| /' conftest.$ac_ext >&5
42988
42989 ac_cv_func_gmtime_r=no
42990 fi
42991
42992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42993 conftest$ac_exeext conftest.$ac_ext
42994 fi
42995 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42996 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42997 if test $ac_cv_func_gmtime_r = yes; then
42998 cat >>confdefs.h <<\_ACEOF
42999 #define HAVE_GMTIME_R 1
43000 _ACEOF
43001
43002 fi
43003
43004 { echo "$as_me:$LINENO: checking for readdir_r" >&5
43005 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
43006 if test "${ac_cv_func_readdir_r+set}" = set; then
43007 echo $ECHO_N "(cached) $ECHO_C" >&6
43008 else
43009 cat >conftest.$ac_ext <<_ACEOF
43010 /* confdefs.h. */
43011 _ACEOF
43012 cat confdefs.h >>conftest.$ac_ext
43013 cat >>conftest.$ac_ext <<_ACEOF
43014 /* end confdefs.h. */
43015 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
43016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43017 #define readdir_r innocuous_readdir_r
43018
43019 /* System header to define __stub macros and hopefully few prototypes,
43020 which can conflict with char readdir_r (); below.
43021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43022 <limits.h> exists even on freestanding compilers. */
43023
43024 #ifdef __STDC__
43025 # include <limits.h>
43026 #else
43027 # include <assert.h>
43028 #endif
43029
43030 #undef readdir_r
43031
43032 /* Override any GCC internal prototype to avoid an error.
43033 Use char because int might match the return type of a GCC
43034 builtin and then its argument prototype would still apply. */
43035 #ifdef __cplusplus
43036 extern "C"
43037 #endif
43038 char readdir_r ();
43039 /* The GNU C library defines this for functions which it implements
43040 to always fail with ENOSYS. Some functions are actually named
43041 something starting with __ and the normal name is an alias. */
43042 #if defined __stub_readdir_r || defined __stub___readdir_r
43043 choke me
43044 #endif
43045
43046 int
43047 main ()
43048 {
43049 return readdir_r ();
43050 ;
43051 return 0;
43052 }
43053 _ACEOF
43054 rm -f conftest.$ac_objext conftest$ac_exeext
43055 if { (ac_try="$ac_link"
43056 case "(($ac_try" in
43057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43058 *) ac_try_echo=$ac_try;;
43059 esac
43060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43061 (eval "$ac_link") 2>conftest.er1
43062 ac_status=$?
43063 grep -v '^ *+' conftest.er1 >conftest.err
43064 rm -f conftest.er1
43065 cat conftest.err >&5
43066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43067 (exit $ac_status); } && {
43068 test -z "$ac_c_werror_flag" ||
43069 test ! -s conftest.err
43070 } && test -s conftest$ac_exeext &&
43071 $as_test_x conftest$ac_exeext; then
43072 ac_cv_func_readdir_r=yes
43073 else
43074 echo "$as_me: failed program was:" >&5
43075 sed 's/^/| /' conftest.$ac_ext >&5
43076
43077 ac_cv_func_readdir_r=no
43078 fi
43079
43080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43081 conftest$ac_exeext conftest.$ac_ext
43082 fi
43083 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
43084 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
43085 if test $ac_cv_func_readdir_r = yes; then
43086 cat >>confdefs.h <<\_ACEOF
43087 #define HAVE_READDIR_R 1
43088 _ACEOF
43089
43090 fi
43091
43092
43093
43094
43095 ac_ext=c
43096 ac_cpp='$CPP $CPPFLAGS'
43097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43100
43101 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
43102 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
43103
43104 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
43105 echo $ECHO_N "(cached) $ECHO_C" >&6
43106 else
43107
43108
43109 ################################################################
43110
43111 ac_cv_func_which_gethostbyname_r=unknown
43112
43113 #
43114 # ONE ARGUMENT (sanity check)
43115 #
43116
43117 # This should fail, as there is no variant of gethostbyname_r() that takes
43118 # a single argument. If it actually compiles, then we can assume that
43119 # netdb.h is not declaring the function, and the compiler is thereby
43120 # assuming an implicit prototype. In which case, we're out of luck.
43121 #
43122 cat >conftest.$ac_ext <<_ACEOF
43123 /* confdefs.h. */
43124 _ACEOF
43125 cat confdefs.h >>conftest.$ac_ext
43126 cat >>conftest.$ac_ext <<_ACEOF
43127 /* end confdefs.h. */
43128 #include <netdb.h>
43129 int
43130 main ()
43131 {
43132
43133 char *name = "www.gnu.org";
43134 (void)gethostbyname_r(name) /* ; */
43135
43136 ;
43137 return 0;
43138 }
43139 _ACEOF
43140 rm -f conftest.$ac_objext
43141 if { (ac_try="$ac_compile"
43142 case "(($ac_try" in
43143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43144 *) ac_try_echo=$ac_try;;
43145 esac
43146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43147 (eval "$ac_compile") 2>conftest.er1
43148 ac_status=$?
43149 grep -v '^ *+' conftest.er1 >conftest.err
43150 rm -f conftest.er1
43151 cat conftest.err >&5
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); } && {
43154 test -z "$ac_c_werror_flag" ||
43155 test ! -s conftest.err
43156 } && test -s conftest.$ac_objext; then
43157 ac_cv_func_which_gethostbyname_r=no
43158 else
43159 echo "$as_me: failed program was:" >&5
43160 sed 's/^/| /' conftest.$ac_ext >&5
43161
43162
43163 fi
43164
43165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43166
43167 #
43168 # SIX ARGUMENTS
43169 # (e.g. Linux)
43170 #
43171
43172 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43173
43174 cat >conftest.$ac_ext <<_ACEOF
43175 /* confdefs.h. */
43176 _ACEOF
43177 cat confdefs.h >>conftest.$ac_ext
43178 cat >>conftest.$ac_ext <<_ACEOF
43179 /* end confdefs.h. */
43180 #include <netdb.h>
43181 int
43182 main ()
43183 {
43184
43185 char *name = "www.gnu.org";
43186 struct hostent ret, *retp;
43187 char buf[1024];
43188 int buflen = 1024;
43189 int my_h_errno;
43190 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
43191
43192 ;
43193 return 0;
43194 }
43195 _ACEOF
43196 rm -f conftest.$ac_objext
43197 if { (ac_try="$ac_compile"
43198 case "(($ac_try" in
43199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43200 *) ac_try_echo=$ac_try;;
43201 esac
43202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43203 (eval "$ac_compile") 2>conftest.er1
43204 ac_status=$?
43205 grep -v '^ *+' conftest.er1 >conftest.err
43206 rm -f conftest.er1
43207 cat conftest.err >&5
43208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 (exit $ac_status); } && {
43210 test -z "$ac_c_werror_flag" ||
43211 test ! -s conftest.err
43212 } && test -s conftest.$ac_objext; then
43213 ac_cv_func_which_gethostbyname_r=six
43214 else
43215 echo "$as_me: failed program was:" >&5
43216 sed 's/^/| /' conftest.$ac_ext >&5
43217
43218
43219 fi
43220
43221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43222
43223 fi
43224
43225 #
43226 # FIVE ARGUMENTS
43227 # (e.g. Solaris)
43228 #
43229
43230 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43231
43232 cat >conftest.$ac_ext <<_ACEOF
43233 /* confdefs.h. */
43234 _ACEOF
43235 cat confdefs.h >>conftest.$ac_ext
43236 cat >>conftest.$ac_ext <<_ACEOF
43237 /* end confdefs.h. */
43238 #include <netdb.h>
43239 int
43240 main ()
43241 {
43242
43243 char *name = "www.gnu.org";
43244 struct hostent ret;
43245 char buf[1024];
43246 int buflen = 1024;
43247 int my_h_errno;
43248 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
43249
43250 ;
43251 return 0;
43252 }
43253 _ACEOF
43254 rm -f conftest.$ac_objext
43255 if { (ac_try="$ac_compile"
43256 case "(($ac_try" in
43257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43258 *) ac_try_echo=$ac_try;;
43259 esac
43260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43261 (eval "$ac_compile") 2>conftest.er1
43262 ac_status=$?
43263 grep -v '^ *+' conftest.er1 >conftest.err
43264 rm -f conftest.er1
43265 cat conftest.err >&5
43266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43267 (exit $ac_status); } && {
43268 test -z "$ac_c_werror_flag" ||
43269 test ! -s conftest.err
43270 } && test -s conftest.$ac_objext; then
43271 ac_cv_func_which_gethostbyname_r=five
43272 else
43273 echo "$as_me: failed program was:" >&5
43274 sed 's/^/| /' conftest.$ac_ext >&5
43275
43276
43277 fi
43278
43279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43280
43281 fi
43282
43283 #
43284 # THREE ARGUMENTS
43285 # (e.g. AIX, HP-UX, Tru64)
43286 #
43287
43288 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
43289
43290 cat >conftest.$ac_ext <<_ACEOF
43291 /* confdefs.h. */
43292 _ACEOF
43293 cat confdefs.h >>conftest.$ac_ext
43294 cat >>conftest.$ac_ext <<_ACEOF
43295 /* end confdefs.h. */
43296 #include <netdb.h>
43297 int
43298 main ()
43299 {
43300
43301 char *name = "www.gnu.org";
43302 struct hostent ret;
43303 struct hostent_data data;
43304 (void)gethostbyname_r(name, &ret, &data) /* ; */
43305
43306 ;
43307 return 0;
43308 }
43309 _ACEOF
43310 rm -f conftest.$ac_objext
43311 if { (ac_try="$ac_compile"
43312 case "(($ac_try" in
43313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43314 *) ac_try_echo=$ac_try;;
43315 esac
43316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43317 (eval "$ac_compile") 2>conftest.er1
43318 ac_status=$?
43319 grep -v '^ *+' conftest.er1 >conftest.err
43320 rm -f conftest.er1
43321 cat conftest.err >&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } && {
43324 test -z "$ac_c_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest.$ac_objext; then
43327 ac_cv_func_which_gethostbyname_r=three
43328 else
43329 echo "$as_me: failed program was:" >&5
43330 sed 's/^/| /' conftest.$ac_ext >&5
43331
43332
43333 fi
43334
43335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43336
43337 fi
43338
43339 ################################################################
43340
43341
43342 fi
43343
43344 case "$ac_cv_func_which_gethostbyname_r" in
43345 three)
43346 { echo "$as_me:$LINENO: result: three" >&5
43347 echo "${ECHO_T}three" >&6; }
43348 cat >>confdefs.h <<\_ACEOF
43349 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
43350 _ACEOF
43351
43352 ;;
43353
43354 five)
43355 { echo "$as_me:$LINENO: result: five" >&5
43356 echo "${ECHO_T}five" >&6; }
43357 cat >>confdefs.h <<\_ACEOF
43358 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
43359 _ACEOF
43360
43361 ;;
43362
43363 six)
43364 { echo "$as_me:$LINENO: result: six" >&5
43365 echo "${ECHO_T}six" >&6; }
43366 cat >>confdefs.h <<\_ACEOF
43367 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
43368 _ACEOF
43369
43370 ;;
43371
43372 no)
43373 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
43374 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
43375 ;;
43376
43377 unknown)
43378 { echo "$as_me:$LINENO: result: can't tell" >&5
43379 echo "${ECHO_T}can't tell" >&6; }
43380 ;;
43381
43382 *)
43383 { { echo "$as_me:$LINENO: error: internal error" >&5
43384 echo "$as_me: error: internal error" >&2;}
43385 { (exit 1); exit 1; }; }
43386 ;;
43387 esac
43388
43389 ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43394
43395
43396
43397 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
43398 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
43399 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
43400 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
43401 if test "${ac_cv_func_gethostbyname+set}" = set; then
43402 echo $ECHO_N "(cached) $ECHO_C" >&6
43403 else
43404 cat >conftest.$ac_ext <<_ACEOF
43405 /* confdefs.h. */
43406 _ACEOF
43407 cat confdefs.h >>conftest.$ac_ext
43408 cat >>conftest.$ac_ext <<_ACEOF
43409 /* end confdefs.h. */
43410 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
43411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43412 #define gethostbyname innocuous_gethostbyname
43413
43414 /* System header to define __stub macros and hopefully few prototypes,
43415 which can conflict with char gethostbyname (); below.
43416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43417 <limits.h> exists even on freestanding compilers. */
43418
43419 #ifdef __STDC__
43420 # include <limits.h>
43421 #else
43422 # include <assert.h>
43423 #endif
43424
43425 #undef gethostbyname
43426
43427 /* Override any GCC internal prototype to avoid an error.
43428 Use char because int might match the return type of a GCC
43429 builtin and then its argument prototype would still apply. */
43430 #ifdef __cplusplus
43431 extern "C"
43432 #endif
43433 char gethostbyname ();
43434 /* The GNU C library defines this for functions which it implements
43435 to always fail with ENOSYS. Some functions are actually named
43436 something starting with __ and the normal name is an alias. */
43437 #if defined __stub_gethostbyname || defined __stub___gethostbyname
43438 choke me
43439 #endif
43440
43441 int
43442 main ()
43443 {
43444 return gethostbyname ();
43445 ;
43446 return 0;
43447 }
43448 _ACEOF
43449 rm -f conftest.$ac_objext conftest$ac_exeext
43450 if { (ac_try="$ac_link"
43451 case "(($ac_try" in
43452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43453 *) ac_try_echo=$ac_try;;
43454 esac
43455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43456 (eval "$ac_link") 2>conftest.er1
43457 ac_status=$?
43458 grep -v '^ *+' conftest.er1 >conftest.err
43459 rm -f conftest.er1
43460 cat conftest.err >&5
43461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43462 (exit $ac_status); } && {
43463 test -z "$ac_c_werror_flag" ||
43464 test ! -s conftest.err
43465 } && test -s conftest$ac_exeext &&
43466 $as_test_x conftest$ac_exeext; then
43467 ac_cv_func_gethostbyname=yes
43468 else
43469 echo "$as_me: failed program was:" >&5
43470 sed 's/^/| /' conftest.$ac_ext >&5
43471
43472 ac_cv_func_gethostbyname=no
43473 fi
43474
43475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43476 conftest$ac_exeext conftest.$ac_ext
43477 fi
43478 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
43479 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
43480 if test $ac_cv_func_gethostbyname = yes; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define HAVE_GETHOSTBYNAME 1
43483 _ACEOF
43484
43485 fi
43486
43487 fi
43488
43489 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
43490 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
43491 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
43492 echo $ECHO_N "(cached) $ECHO_C" >&6
43493 else
43494
43495 ac_ext=cpp
43496 ac_cpp='$CXXCPP $CPPFLAGS'
43497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43500
43501
43502 cat >conftest.$ac_ext <<_ACEOF
43503 /* confdefs.h. */
43504 _ACEOF
43505 cat confdefs.h >>conftest.$ac_ext
43506 cat >>conftest.$ac_ext <<_ACEOF
43507 /* end confdefs.h. */
43508 #include <netdb.h>
43509 int
43510 main ()
43511 {
43512
43513 char *name;
43514 char *proto;
43515 struct servent *se, *res;
43516 char buffer[2048];
43517 int buflen = 2048;
43518 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
43519
43520 ;
43521 return 0;
43522 }
43523 _ACEOF
43524 rm -f conftest.$ac_objext
43525 if { (ac_try="$ac_compile"
43526 case "(($ac_try" in
43527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43528 *) ac_try_echo=$ac_try;;
43529 esac
43530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43531 (eval "$ac_compile") 2>conftest.er1
43532 ac_status=$?
43533 grep -v '^ *+' conftest.er1 >conftest.err
43534 rm -f conftest.er1
43535 cat conftest.err >&5
43536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43537 (exit $ac_status); } && {
43538 test -z "$ac_cxx_werror_flag" ||
43539 test ! -s conftest.err
43540 } && test -s conftest.$ac_objext; then
43541 ac_cv_func_which_getservbyname_r=six
43542 else
43543 echo "$as_me: failed program was:" >&5
43544 sed 's/^/| /' conftest.$ac_ext >&5
43545
43546
43547 cat >conftest.$ac_ext <<_ACEOF
43548 /* confdefs.h. */
43549 _ACEOF
43550 cat confdefs.h >>conftest.$ac_ext
43551 cat >>conftest.$ac_ext <<_ACEOF
43552 /* end confdefs.h. */
43553 #include <netdb.h>
43554 int
43555 main ()
43556 {
43557
43558 char *name;
43559 char *proto;
43560 struct servent *se;
43561 char buffer[2048];
43562 int buflen = 2048;
43563 (void) getservbyname_r(name, proto, se, buffer, buflen)
43564
43565 ;
43566 return 0;
43567 }
43568 _ACEOF
43569 rm -f conftest.$ac_objext
43570 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
43584 test ! -s conftest.err
43585 } && test -s conftest.$ac_objext; then
43586 ac_cv_func_which_getservbyname_r=five
43587 else
43588 echo "$as_me: failed program was:" >&5
43589 sed 's/^/| /' conftest.$ac_ext >&5
43590
43591
43592 cat >conftest.$ac_ext <<_ACEOF
43593 /* confdefs.h. */
43594 _ACEOF
43595 cat confdefs.h >>conftest.$ac_ext
43596 cat >>conftest.$ac_ext <<_ACEOF
43597 /* end confdefs.h. */
43598 #include <netdb.h>
43599 int
43600 main ()
43601 {
43602
43603 char *name;
43604 char *proto;
43605 struct servent *se;
43606 struct servent_data data;
43607 (void) getservbyname_r(name, proto, se, &data);
43608
43609 ;
43610 return 0;
43611 }
43612 _ACEOF
43613 rm -f conftest.$ac_objext
43614 if { (ac_try="$ac_compile"
43615 case "(($ac_try" in
43616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43617 *) ac_try_echo=$ac_try;;
43618 esac
43619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43620 (eval "$ac_compile") 2>conftest.er1
43621 ac_status=$?
43622 grep -v '^ *+' conftest.er1 >conftest.err
43623 rm -f conftest.er1
43624 cat conftest.err >&5
43625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43626 (exit $ac_status); } && {
43627 test -z "$ac_cxx_werror_flag" ||
43628 test ! -s conftest.err
43629 } && test -s conftest.$ac_objext; then
43630 ac_cv_func_which_getservbyname_r=four
43631 else
43632 echo "$as_me: failed program was:" >&5
43633 sed 's/^/| /' conftest.$ac_ext >&5
43634
43635 ac_cv_func_which_getservbyname_r=no
43636
43637 fi
43638
43639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43640
43641
43642 fi
43643
43644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43645
43646
43647 fi
43648
43649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43650 ac_ext=c
43651 ac_cpp='$CPP $CPPFLAGS'
43652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43655
43656
43657
43658 fi
43659 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43660 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43661
43662 if test $ac_cv_func_which_getservbyname_r = six; then
43663 cat >>confdefs.h <<\_ACEOF
43664 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43665 _ACEOF
43666
43667 elif test $ac_cv_func_which_getservbyname_r = five; then
43668 cat >>confdefs.h <<\_ACEOF
43669 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43670 _ACEOF
43671
43672 elif test $ac_cv_func_which_getservbyname_r = four; then
43673 cat >>confdefs.h <<\_ACEOF
43674 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43675 _ACEOF
43676
43677 fi
43678
43679
43680 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43681 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43682
43683 for ac_func in getservbyname
43684 do
43685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43689 echo $ECHO_N "(cached) $ECHO_C" >&6
43690 else
43691 cat >conftest.$ac_ext <<_ACEOF
43692 /* confdefs.h. */
43693 _ACEOF
43694 cat confdefs.h >>conftest.$ac_ext
43695 cat >>conftest.$ac_ext <<_ACEOF
43696 /* end confdefs.h. */
43697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43699 #define $ac_func innocuous_$ac_func
43700
43701 /* System header to define __stub macros and hopefully few prototypes,
43702 which can conflict with char $ac_func (); below.
43703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43704 <limits.h> exists even on freestanding compilers. */
43705
43706 #ifdef __STDC__
43707 # include <limits.h>
43708 #else
43709 # include <assert.h>
43710 #endif
43711
43712 #undef $ac_func
43713
43714 /* Override any GCC internal prototype to avoid an error.
43715 Use char because int might match the return type of a GCC
43716 builtin and then its argument prototype would still apply. */
43717 #ifdef __cplusplus
43718 extern "C"
43719 #endif
43720 char $ac_func ();
43721 /* The GNU C library defines this for functions which it implements
43722 to always fail with ENOSYS. Some functions are actually named
43723 something starting with __ and the normal name is an alias. */
43724 #if defined __stub_$ac_func || defined __stub___$ac_func
43725 choke me
43726 #endif
43727
43728 int
43729 main ()
43730 {
43731 return $ac_func ();
43732 ;
43733 return 0;
43734 }
43735 _ACEOF
43736 rm -f conftest.$ac_objext conftest$ac_exeext
43737 if { (ac_try="$ac_link"
43738 case "(($ac_try" in
43739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43740 *) ac_try_echo=$ac_try;;
43741 esac
43742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43743 (eval "$ac_link") 2>conftest.er1
43744 ac_status=$?
43745 grep -v '^ *+' conftest.er1 >conftest.err
43746 rm -f conftest.er1
43747 cat conftest.err >&5
43748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43749 (exit $ac_status); } && {
43750 test -z "$ac_c_werror_flag" ||
43751 test ! -s conftest.err
43752 } && test -s conftest$ac_exeext &&
43753 $as_test_x conftest$ac_exeext; then
43754 eval "$as_ac_var=yes"
43755 else
43756 echo "$as_me: failed program was:" >&5
43757 sed 's/^/| /' conftest.$ac_ext >&5
43758
43759 eval "$as_ac_var=no"
43760 fi
43761
43762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43763 conftest$ac_exeext conftest.$ac_ext
43764 fi
43765 ac_res=`eval echo '${'$as_ac_var'}'`
43766 { echo "$as_me:$LINENO: result: $ac_res" >&5
43767 echo "${ECHO_T}$ac_res" >&6; }
43768 if test `eval echo '${'$as_ac_var'}'` = yes; then
43769 cat >>confdefs.h <<_ACEOF
43770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43771 _ACEOF
43772 cat >>confdefs.h <<\_ACEOF
43773 #define HAVE_GETSERVBYNAME 1
43774 _ACEOF
43775
43776 fi
43777 done
43778
43779 fi
43780
43781 if test "$wxUSE_THREADS" = "yes"; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define wxUSE_THREADS 1
43784 _ACEOF
43785
43786
43787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43788 else
43789 if test "$wx_cv_func_strtok_r" = "yes"; then
43790 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43791 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43792 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43793 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43794 { echo "$as_me:$LINENO: result: yes" >&5
43795 echo "${ECHO_T}yes" >&6; }
43796 else
43797 { echo "$as_me:$LINENO: result: no" >&5
43798 echo "${ECHO_T}no" >&6; }
43799 fi
43800 fi
43801 fi
43802
43803 if test "$WXGTK20" = 1 ; then
43804 cat >>confdefs.h <<_ACEOF
43805 #define __WXGTK20__ $WXGTK20
43806 _ACEOF
43807
43808 WXGTK12=1
43809 fi
43810
43811 if test "$WXGTK12" = 1 ; then
43812 cat >>confdefs.h <<_ACEOF
43813 #define __WXGTK12__ $WXGTK12
43814 _ACEOF
43815
43816 fi
43817
43818 if test "$WXGTK127" = 1 ; then
43819 cat >>confdefs.h <<_ACEOF
43820 #define __WXGTK127__ $WXGTK127
43821 _ACEOF
43822
43823 fi
43824
43825 if test "$WXGPE" = 1 ; then
43826 cat >>confdefs.h <<_ACEOF
43827 #define __WXGPE__ $WXGPE
43828 _ACEOF
43829
43830 fi
43831
43832 DEBUG_CFLAGS=
43833 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
43834 DEBUG_CFLAGS="-g"
43835 wxUSE_OPTIMISE=no
43836 fi
43837
43838 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43839 wxUSE_DEBUG_INFO=yes
43840 if test "$GCC" = yes; then
43841 DEBUG_CFLAGS="-ggdb"
43842 fi
43843 fi
43844
43845 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
43846 cat >>confdefs.h <<\_ACEOF
43847 #define WXDEBUG 1
43848 _ACEOF
43849
43850 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
43851 else
43852 if test "$wxUSE_GTK" = 1 ; then
43853 if test "x$wxGTK_VERSION" = "x1" ; then
43854 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43855 fi
43856 fi
43857 fi
43858
43859 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43860 cat >>confdefs.h <<\_ACEOF
43861 #define wxUSE_MEMORY_TRACING 1
43862 _ACEOF
43863
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43866 _ACEOF
43867
43868 cat >>confdefs.h <<\_ACEOF
43869 #define wxUSE_DEBUG_NEW_ALWAYS 1
43870 _ACEOF
43871
43872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43873 fi
43874
43875 if test "$wxUSE_DMALLOC" = "yes" ; then
43876 DMALLOC_LIBS="-ldmallocthcxx"
43877 fi
43878
43879 PROFILE_FLAGS=
43880 if test "$wxUSE_PROFILE" = "yes" ; then
43881 PROFILE_FLAGS=" -pg"
43882 fi
43883
43884 if test "$GCC" = "yes" ; then
43885 if test "$wxUSE_NO_RTTI" = "yes" ; then
43886 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
43887 fi
43888 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43889 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43890 fi
43891 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43892 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43893 fi
43894
43895 case "${host}" in
43896 powerpc*-*-aix* )
43897 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43898 ;;
43899 *-hppa* )
43900 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43901 ;;
43902 esac
43903 fi
43904
43905 OPTIMISE_CFLAGS=
43906 if test "$wxUSE_OPTIMISE" = "no" ; then
43907 if test "$GCC" = yes ; then
43908 OPTIMISE_CFLAGS="-O0"
43909 fi
43910 else
43911 if test "$GCC" = yes ; then
43912 case "${host}" in
43913 *-pc-os2_emx | *-pc-os2-emx )
43914 OPTIMISE_CFLAGS="-O2"
43915 ;;
43916 *)
43917 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43918 ;;
43919 esac
43920 else
43921 OPTIMISE_CFLAGS="-O"
43922 fi
43923 fi
43924
43925
43926 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43927 cat >>confdefs.h <<\_ACEOF
43928 #define WXWIN_COMPATIBILITY_2_6 1
43929 _ACEOF
43930
43931
43932 WXWIN_COMPATIBILITY_2_8="yes"
43933 fi
43934
43935 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43936 cat >>confdefs.h <<\_ACEOF
43937 #define WXWIN_COMPATIBILITY_2_8 1
43938 _ACEOF
43939
43940 fi
43941
43942
43943 if test "$wxUSE_GUI" = "yes"; then
43944 cat >>confdefs.h <<\_ACEOF
43945 #define wxUSE_GUI 1
43946 _ACEOF
43947
43948
43949 fi
43950
43951
43952 if test "$wxUSE_UNIX" = "yes"; then
43953 cat >>confdefs.h <<\_ACEOF
43954 #define wxUSE_UNIX 1
43955 _ACEOF
43956
43957 fi
43958
43959
43960 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43961
43962 HAVE_DL_FUNCS=0
43963 HAVE_SHL_FUNCS=0
43964 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43965 if test "$USE_DARWIN" = 1; then
43966 HAVE_DL_FUNCS=1
43967 elif test "$USE_DOS" = 1; then
43968 HAVE_DL_FUNCS=0
43969 else
43970
43971 for ac_func in dlopen
43972 do
43973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43974 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43976 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43977 echo $ECHO_N "(cached) $ECHO_C" >&6
43978 else
43979 cat >conftest.$ac_ext <<_ACEOF
43980 /* confdefs.h. */
43981 _ACEOF
43982 cat confdefs.h >>conftest.$ac_ext
43983 cat >>conftest.$ac_ext <<_ACEOF
43984 /* end confdefs.h. */
43985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43987 #define $ac_func innocuous_$ac_func
43988
43989 /* System header to define __stub macros and hopefully few prototypes,
43990 which can conflict with char $ac_func (); below.
43991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43992 <limits.h> exists even on freestanding compilers. */
43993
43994 #ifdef __STDC__
43995 # include <limits.h>
43996 #else
43997 # include <assert.h>
43998 #endif
43999
44000 #undef $ac_func
44001
44002 /* Override any GCC internal prototype to avoid an error.
44003 Use char because int might match the return type of a GCC
44004 builtin and then its argument prototype would still apply. */
44005 #ifdef __cplusplus
44006 extern "C"
44007 #endif
44008 char $ac_func ();
44009 /* The GNU C library defines this for functions which it implements
44010 to always fail with ENOSYS. Some functions are actually named
44011 something starting with __ and the normal name is an alias. */
44012 #if defined __stub_$ac_func || defined __stub___$ac_func
44013 choke me
44014 #endif
44015
44016 int
44017 main ()
44018 {
44019 return $ac_func ();
44020 ;
44021 return 0;
44022 }
44023 _ACEOF
44024 rm -f conftest.$ac_objext conftest$ac_exeext
44025 if { (ac_try="$ac_link"
44026 case "(($ac_try" in
44027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44028 *) ac_try_echo=$ac_try;;
44029 esac
44030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44031 (eval "$ac_link") 2>conftest.er1
44032 ac_status=$?
44033 grep -v '^ *+' conftest.er1 >conftest.err
44034 rm -f conftest.er1
44035 cat conftest.err >&5
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); } && {
44038 test -z "$ac_c_werror_flag" ||
44039 test ! -s conftest.err
44040 } && test -s conftest$ac_exeext &&
44041 $as_test_x conftest$ac_exeext; then
44042 eval "$as_ac_var=yes"
44043 else
44044 echo "$as_me: failed program was:" >&5
44045 sed 's/^/| /' conftest.$ac_ext >&5
44046
44047 eval "$as_ac_var=no"
44048 fi
44049
44050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44051 conftest$ac_exeext conftest.$ac_ext
44052 fi
44053 ac_res=`eval echo '${'$as_ac_var'}'`
44054 { echo "$as_me:$LINENO: result: $ac_res" >&5
44055 echo "${ECHO_T}$ac_res" >&6; }
44056 if test `eval echo '${'$as_ac_var'}'` = yes; then
44057 cat >>confdefs.h <<_ACEOF
44058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44059 _ACEOF
44060
44061 cat >>confdefs.h <<\_ACEOF
44062 #define HAVE_DLOPEN 1
44063 _ACEOF
44064
44065 HAVE_DL_FUNCS=1
44066
44067 else
44068
44069 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
44070 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
44071 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
44072 echo $ECHO_N "(cached) $ECHO_C" >&6
44073 else
44074 ac_check_lib_save_LIBS=$LIBS
44075 LIBS="-ldl $LIBS"
44076 cat >conftest.$ac_ext <<_ACEOF
44077 /* confdefs.h. */
44078 _ACEOF
44079 cat confdefs.h >>conftest.$ac_ext
44080 cat >>conftest.$ac_ext <<_ACEOF
44081 /* end confdefs.h. */
44082
44083 /* Override any GCC internal prototype to avoid an error.
44084 Use char because int might match the return type of a GCC
44085 builtin and then its argument prototype would still apply. */
44086 #ifdef __cplusplus
44087 extern "C"
44088 #endif
44089 char dlopen ();
44090 int
44091 main ()
44092 {
44093 return dlopen ();
44094 ;
44095 return 0;
44096 }
44097 _ACEOF
44098 rm -f conftest.$ac_objext conftest$ac_exeext
44099 if { (ac_try="$ac_link"
44100 case "(($ac_try" in
44101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44102 *) ac_try_echo=$ac_try;;
44103 esac
44104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44105 (eval "$ac_link") 2>conftest.er1
44106 ac_status=$?
44107 grep -v '^ *+' conftest.er1 >conftest.err
44108 rm -f conftest.er1
44109 cat conftest.err >&5
44110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44111 (exit $ac_status); } && {
44112 test -z "$ac_c_werror_flag" ||
44113 test ! -s conftest.err
44114 } && test -s conftest$ac_exeext &&
44115 $as_test_x conftest$ac_exeext; then
44116 ac_cv_lib_dl_dlopen=yes
44117 else
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.$ac_ext >&5
44120
44121 ac_cv_lib_dl_dlopen=no
44122 fi
44123
44124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44125 conftest$ac_exeext conftest.$ac_ext
44126 LIBS=$ac_check_lib_save_LIBS
44127 fi
44128 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
44129 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
44130 if test $ac_cv_lib_dl_dlopen = yes; then
44131
44132 cat >>confdefs.h <<\_ACEOF
44133 #define HAVE_DLOPEN 1
44134 _ACEOF
44135
44136 HAVE_DL_FUNCS=1
44137 DL_LINK=" -ldl$DL_LINK"
44138
44139 else
44140
44141
44142 for ac_func in shl_load
44143 do
44144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44145 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44147 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44148 echo $ECHO_N "(cached) $ECHO_C" >&6
44149 else
44150 cat >conftest.$ac_ext <<_ACEOF
44151 /* confdefs.h. */
44152 _ACEOF
44153 cat confdefs.h >>conftest.$ac_ext
44154 cat >>conftest.$ac_ext <<_ACEOF
44155 /* end confdefs.h. */
44156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44158 #define $ac_func innocuous_$ac_func
44159
44160 /* System header to define __stub macros and hopefully few prototypes,
44161 which can conflict with char $ac_func (); below.
44162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44163 <limits.h> exists even on freestanding compilers. */
44164
44165 #ifdef __STDC__
44166 # include <limits.h>
44167 #else
44168 # include <assert.h>
44169 #endif
44170
44171 #undef $ac_func
44172
44173 /* Override any GCC internal prototype to avoid an error.
44174 Use char because int might match the return type of a GCC
44175 builtin and then its argument prototype would still apply. */
44176 #ifdef __cplusplus
44177 extern "C"
44178 #endif
44179 char $ac_func ();
44180 /* The GNU C library defines this for functions which it implements
44181 to always fail with ENOSYS. Some functions are actually named
44182 something starting with __ and the normal name is an alias. */
44183 #if defined __stub_$ac_func || defined __stub___$ac_func
44184 choke me
44185 #endif
44186
44187 int
44188 main ()
44189 {
44190 return $ac_func ();
44191 ;
44192 return 0;
44193 }
44194 _ACEOF
44195 rm -f conftest.$ac_objext conftest$ac_exeext
44196 if { (ac_try="$ac_link"
44197 case "(($ac_try" in
44198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44199 *) ac_try_echo=$ac_try;;
44200 esac
44201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44202 (eval "$ac_link") 2>conftest.er1
44203 ac_status=$?
44204 grep -v '^ *+' conftest.er1 >conftest.err
44205 rm -f conftest.er1
44206 cat conftest.err >&5
44207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44208 (exit $ac_status); } && {
44209 test -z "$ac_c_werror_flag" ||
44210 test ! -s conftest.err
44211 } && test -s conftest$ac_exeext &&
44212 $as_test_x conftest$ac_exeext; then
44213 eval "$as_ac_var=yes"
44214 else
44215 echo "$as_me: failed program was:" >&5
44216 sed 's/^/| /' conftest.$ac_ext >&5
44217
44218 eval "$as_ac_var=no"
44219 fi
44220
44221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44222 conftest$ac_exeext conftest.$ac_ext
44223 fi
44224 ac_res=`eval echo '${'$as_ac_var'}'`
44225 { echo "$as_me:$LINENO: result: $ac_res" >&5
44226 echo "${ECHO_T}$ac_res" >&6; }
44227 if test `eval echo '${'$as_ac_var'}'` = yes; then
44228 cat >>confdefs.h <<_ACEOF
44229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44230 _ACEOF
44231
44232 cat >>confdefs.h <<\_ACEOF
44233 #define HAVE_SHL_LOAD 1
44234 _ACEOF
44235
44236 HAVE_SHL_FUNCS=1
44237
44238 else
44239
44240 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
44241 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
44242 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
44243 echo $ECHO_N "(cached) $ECHO_C" >&6
44244 else
44245 ac_check_lib_save_LIBS=$LIBS
44246 LIBS="-lshl_load $LIBS"
44247 cat >conftest.$ac_ext <<_ACEOF
44248 /* confdefs.h. */
44249 _ACEOF
44250 cat confdefs.h >>conftest.$ac_ext
44251 cat >>conftest.$ac_ext <<_ACEOF
44252 /* end confdefs.h. */
44253
44254 /* Override any GCC internal prototype to avoid an error.
44255 Use char because int might match the return type of a GCC
44256 builtin and then its argument prototype would still apply. */
44257 #ifdef __cplusplus
44258 extern "C"
44259 #endif
44260 char dld ();
44261 int
44262 main ()
44263 {
44264 return dld ();
44265 ;
44266 return 0;
44267 }
44268 _ACEOF
44269 rm -f conftest.$ac_objext conftest$ac_exeext
44270 if { (ac_try="$ac_link"
44271 case "(($ac_try" in
44272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44273 *) ac_try_echo=$ac_try;;
44274 esac
44275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44276 (eval "$ac_link") 2>conftest.er1
44277 ac_status=$?
44278 grep -v '^ *+' conftest.er1 >conftest.err
44279 rm -f conftest.er1
44280 cat conftest.err >&5
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); } && {
44283 test -z "$ac_c_werror_flag" ||
44284 test ! -s conftest.err
44285 } && test -s conftest$ac_exeext &&
44286 $as_test_x conftest$ac_exeext; then
44287 ac_cv_lib_shl_load_dld=yes
44288 else
44289 echo "$as_me: failed program was:" >&5
44290 sed 's/^/| /' conftest.$ac_ext >&5
44291
44292 ac_cv_lib_shl_load_dld=no
44293 fi
44294
44295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44296 conftest$ac_exeext conftest.$ac_ext
44297 LIBS=$ac_check_lib_save_LIBS
44298 fi
44299 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
44300 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
44301 if test $ac_cv_lib_shl_load_dld = yes; then
44302
44303 HAVE_SHL_FUNCS=1
44304 DL_LINK=" -ldld$DL_LINK"
44305
44306 fi
44307
44308
44309 fi
44310 done
44311
44312
44313 fi
44314
44315
44316 fi
44317 done
44318
44319
44320 if test "$HAVE_DL_FUNCS" = 1; then
44321
44322 for ac_func in dlerror
44323 do
44324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
44326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44328 echo $ECHO_N "(cached) $ECHO_C" >&6
44329 else
44330 cat >conftest.$ac_ext <<_ACEOF
44331 /* confdefs.h. */
44332 _ACEOF
44333 cat confdefs.h >>conftest.$ac_ext
44334 cat >>conftest.$ac_ext <<_ACEOF
44335 /* end confdefs.h. */
44336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44338 #define $ac_func innocuous_$ac_func
44339
44340 /* System header to define __stub macros and hopefully few prototypes,
44341 which can conflict with char $ac_func (); below.
44342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44343 <limits.h> exists even on freestanding compilers. */
44344
44345 #ifdef __STDC__
44346 # include <limits.h>
44347 #else
44348 # include <assert.h>
44349 #endif
44350
44351 #undef $ac_func
44352
44353 /* Override any GCC internal prototype to avoid an error.
44354 Use char because int might match the return type of a GCC
44355 builtin and then its argument prototype would still apply. */
44356 #ifdef __cplusplus
44357 extern "C"
44358 #endif
44359 char $ac_func ();
44360 /* The GNU C library defines this for functions which it implements
44361 to always fail with ENOSYS. Some functions are actually named
44362 something starting with __ and the normal name is an alias. */
44363 #if defined __stub_$ac_func || defined __stub___$ac_func
44364 choke me
44365 #endif
44366
44367 int
44368 main ()
44369 {
44370 return $ac_func ();
44371 ;
44372 return 0;
44373 }
44374 _ACEOF
44375 rm -f conftest.$ac_objext conftest$ac_exeext
44376 if { (ac_try="$ac_link"
44377 case "(($ac_try" in
44378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44379 *) ac_try_echo=$ac_try;;
44380 esac
44381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44382 (eval "$ac_link") 2>conftest.er1
44383 ac_status=$?
44384 grep -v '^ *+' conftest.er1 >conftest.err
44385 rm -f conftest.er1
44386 cat conftest.err >&5
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); } && {
44389 test -z "$ac_c_werror_flag" ||
44390 test ! -s conftest.err
44391 } && test -s conftest$ac_exeext &&
44392 $as_test_x conftest$ac_exeext; then
44393 eval "$as_ac_var=yes"
44394 else
44395 echo "$as_me: failed program was:" >&5
44396 sed 's/^/| /' conftest.$ac_ext >&5
44397
44398 eval "$as_ac_var=no"
44399 fi
44400
44401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44402 conftest$ac_exeext conftest.$ac_ext
44403 fi
44404 ac_res=`eval echo '${'$as_ac_var'}'`
44405 { echo "$as_me:$LINENO: result: $ac_res" >&5
44406 echo "${ECHO_T}$ac_res" >&6; }
44407 if test `eval echo '${'$as_ac_var'}'` = yes; then
44408 cat >>confdefs.h <<_ACEOF
44409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44410 _ACEOF
44411 cat >>confdefs.h <<\_ACEOF
44412 #define HAVE_DLERROR 1
44413 _ACEOF
44414
44415 else
44416
44417 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
44418 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
44419 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
44420 echo $ECHO_N "(cached) $ECHO_C" >&6
44421 else
44422 ac_check_lib_save_LIBS=$LIBS
44423 LIBS="-ldl $LIBS"
44424 cat >conftest.$ac_ext <<_ACEOF
44425 /* confdefs.h. */
44426 _ACEOF
44427 cat confdefs.h >>conftest.$ac_ext
44428 cat >>conftest.$ac_ext <<_ACEOF
44429 /* end confdefs.h. */
44430
44431 /* Override any GCC internal prototype to avoid an error.
44432 Use char because int might match the return type of a GCC
44433 builtin and then its argument prototype would still apply. */
44434 #ifdef __cplusplus
44435 extern "C"
44436 #endif
44437 char dlerror ();
44438 int
44439 main ()
44440 {
44441 return dlerror ();
44442 ;
44443 return 0;
44444 }
44445 _ACEOF
44446 rm -f conftest.$ac_objext conftest$ac_exeext
44447 if { (ac_try="$ac_link"
44448 case "(($ac_try" in
44449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44450 *) ac_try_echo=$ac_try;;
44451 esac
44452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44453 (eval "$ac_link") 2>conftest.er1
44454 ac_status=$?
44455 grep -v '^ *+' conftest.er1 >conftest.err
44456 rm -f conftest.er1
44457 cat conftest.err >&5
44458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44459 (exit $ac_status); } && {
44460 test -z "$ac_c_werror_flag" ||
44461 test ! -s conftest.err
44462 } && test -s conftest$ac_exeext &&
44463 $as_test_x conftest$ac_exeext; then
44464 ac_cv_lib_dl_dlerror=yes
44465 else
44466 echo "$as_me: failed program was:" >&5
44467 sed 's/^/| /' conftest.$ac_ext >&5
44468
44469 ac_cv_lib_dl_dlerror=no
44470 fi
44471
44472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44473 conftest$ac_exeext conftest.$ac_ext
44474 LIBS=$ac_check_lib_save_LIBS
44475 fi
44476 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
44477 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
44478 if test $ac_cv_lib_dl_dlerror = yes; then
44479 cat >>confdefs.h <<\_ACEOF
44480 #define HAVE_DLERROR 1
44481 _ACEOF
44482
44483 fi
44484
44485
44486
44487 fi
44488 done
44489
44490 fi
44491 fi
44492
44493 if test "$HAVE_DL_FUNCS" = 0; then
44494 if test "$HAVE_SHL_FUNCS" = 0; then
44495 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
44496 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
44497 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
44498 wxUSE_DYNAMIC_LOADER=no
44499 wxUSE_DYNLIB_CLASS=no
44500 else
44501 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
44502 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
44503 fi
44504 fi
44505 fi
44506 fi
44507 fi
44508
44509 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
44510 cat >>confdefs.h <<\_ACEOF
44511 #define wxUSE_DYNAMIC_LOADER 1
44512 _ACEOF
44513
44514 fi
44515 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
44516 cat >>confdefs.h <<\_ACEOF
44517 #define wxUSE_DYNLIB_CLASS 1
44518 _ACEOF
44519
44520 fi
44521
44522
44523
44524 if test "$wxUSE_PLUGINS" = "yes" ; then
44525 if test "$wxUSE_SHARED" = "no" ; then
44526 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
44527 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
44528 wxUSE_PLUGINS=no
44529 fi
44530 if test "$wxUSE_MONOLITHIC" = "yes" ; then
44531 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
44532 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
44533 wxUSE_PLUGINS=no
44534 fi
44535 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
44536 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
44537 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
44538 wxUSE_PLUGINS=no
44539 fi
44540 if test "$wxUSE_PLUGINS" = "yes" ; then
44541 cat >>confdefs.h <<\_ACEOF
44542 #define wxUSE_PLUGINS 1
44543 _ACEOF
44544
44545 fi
44546 fi
44547
44548
44549 if test "$wxUSE_STL" = "yes"; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_STL 1
44552 _ACEOF
44553
44554 fi
44555
44556 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_EXTENDED_RTTI 1
44559 _ACEOF
44560
44561 fi
44562
44563 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_APPLE_IEEE 1
44566 _ACEOF
44567
44568 fi
44569
44570 if test "$wxUSE_TIMER" = "yes"; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_TIMER 1
44573 _ACEOF
44574
44575 fi
44576
44577 if test "$USE_UNIX" = "1" ; then
44578 if test "$wxUSE_MGL" != 1; then
44579 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44580 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44581 if test "${ac_cv_header_sys_soundcard+set}" = set; then
44582 echo $ECHO_N "(cached) $ECHO_C" >&6
44583 else
44584
44585 cat >conftest.$ac_ext <<_ACEOF
44586 /* confdefs.h. */
44587 _ACEOF
44588 cat confdefs.h >>conftest.$ac_ext
44589 cat >>conftest.$ac_ext <<_ACEOF
44590 /* end confdefs.h. */
44591
44592 #include <sys/ioctl.h>
44593 #include <sys/soundcard.h>
44594
44595 int
44596 main ()
44597 {
44598
44599 ioctl(0, SNDCTL_DSP_SPEED, 0);
44600
44601 ;
44602 return 0;
44603 }
44604 _ACEOF
44605 rm -f conftest.$ac_objext conftest$ac_exeext
44606 if { (ac_try="$ac_link"
44607 case "(($ac_try" in
44608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44609 *) ac_try_echo=$ac_try;;
44610 esac
44611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44612 (eval "$ac_link") 2>conftest.er1
44613 ac_status=$?
44614 grep -v '^ *+' conftest.er1 >conftest.err
44615 rm -f conftest.er1
44616 cat conftest.err >&5
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); } && {
44619 test -z "$ac_c_werror_flag" ||
44620 test ! -s conftest.err
44621 } && test -s conftest$ac_exeext &&
44622 $as_test_x conftest$ac_exeext; then
44623 ac_cv_header_sys_soundcard=yes
44624 else
44625 echo "$as_me: failed program was:" >&5
44626 sed 's/^/| /' conftest.$ac_ext >&5
44627
44628
44629 saveLibs="$LIBS"
44630 LIBS="$saveLibs -lossaudio"
44631 cat >conftest.$ac_ext <<_ACEOF
44632 /* confdefs.h. */
44633 _ACEOF
44634 cat confdefs.h >>conftest.$ac_ext
44635 cat >>conftest.$ac_ext <<_ACEOF
44636 /* end confdefs.h. */
44637
44638 #include <sys/ioctl.h>
44639 #include <sys/soundcard.h>
44640
44641 int
44642 main ()
44643 {
44644
44645 ioctl(0, SNDCTL_DSP_SPEED, 0);
44646
44647 ;
44648 return 0;
44649 }
44650 _ACEOF
44651 rm -f conftest.$ac_objext conftest$ac_exeext
44652 if { (ac_try="$ac_link"
44653 case "(($ac_try" in
44654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44655 *) ac_try_echo=$ac_try;;
44656 esac
44657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44658 (eval "$ac_link") 2>conftest.er1
44659 ac_status=$?
44660 grep -v '^ *+' conftest.er1 >conftest.err
44661 rm -f conftest.er1
44662 cat conftest.err >&5
44663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44664 (exit $ac_status); } && {
44665 test -z "$ac_c_werror_flag" ||
44666 test ! -s conftest.err
44667 } && test -s conftest$ac_exeext &&
44668 $as_test_x conftest$ac_exeext; then
44669 ac_cv_header_sys_soundcard=yes
44670 else
44671 echo "$as_me: failed program was:" >&5
44672 sed 's/^/| /' conftest.$ac_ext >&5
44673
44674
44675 LIBS="$saveLibs"
44676 ac_cv_header_sys_soundcard=no
44677
44678
44679 fi
44680
44681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44682 conftest$ac_exeext conftest.$ac_ext
44683
44684
44685 fi
44686
44687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44688 conftest$ac_exeext conftest.$ac_ext
44689
44690 fi
44691 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44692 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44693 fi
44694
44695 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44696 cat >>confdefs.h <<\_ACEOF
44697 #define HAVE_SYS_SOUNDCARD_H 1
44698 _ACEOF
44699
44700 fi
44701 fi
44702
44703 WITH_PLUGIN_SDL=0
44704 if test "$wxUSE_SOUND" = "yes"; then
44705 if test "$USE_UNIX" = "1" ; then
44706 if test "$wxUSE_LIBSDL" != "no"; then
44707
44708 # Check whether --with-sdl-prefix was given.
44709 if test "${with_sdl_prefix+set}" = set; then
44710 withval=$with_sdl_prefix; sdl_prefix="$withval"
44711 else
44712 sdl_prefix=""
44713 fi
44714
44715
44716 # Check whether --with-sdl-exec-prefix was given.
44717 if test "${with_sdl_exec_prefix+set}" = set; then
44718 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44719 else
44720 sdl_exec_prefix=""
44721 fi
44722
44723 # Check whether --enable-sdltest was given.
44724 if test "${enable_sdltest+set}" = set; then
44725 enableval=$enable_sdltest;
44726 else
44727 enable_sdltest=yes
44728 fi
44729
44730
44731 if test x$sdl_exec_prefix != x ; then
44732 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44733 if test x${SDL_CONFIG+set} != xset ; then
44734 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44735 fi
44736 fi
44737 if test x$sdl_prefix != x ; then
44738 sdl_args="$sdl_args --prefix=$sdl_prefix"
44739 if test x${SDL_CONFIG+set} != xset ; then
44740 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44741 fi
44742 fi
44743
44744 if test "x$prefix" != xNONE; then
44745 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44746 fi
44747 # Extract the first word of "sdl-config", so it can be a program name with args.
44748 set dummy sdl-config; ac_word=$2
44749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44751 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44752 echo $ECHO_N "(cached) $ECHO_C" >&6
44753 else
44754 case $SDL_CONFIG in
44755 [\\/]* | ?:[\\/]*)
44756 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44757 ;;
44758 *)
44759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44760 for as_dir in $PATH
44761 do
44762 IFS=$as_save_IFS
44763 test -z "$as_dir" && as_dir=.
44764 for ac_exec_ext in '' $ac_executable_extensions; do
44765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44766 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44768 break 2
44769 fi
44770 done
44771 done
44772 IFS=$as_save_IFS
44773
44774 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44775 ;;
44776 esac
44777 fi
44778 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44779 if test -n "$SDL_CONFIG"; then
44780 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44781 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44782 else
44783 { echo "$as_me:$LINENO: result: no" >&5
44784 echo "${ECHO_T}no" >&6; }
44785 fi
44786
44787
44788 min_sdl_version=1.2.0
44789 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44790 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44791 no_sdl=""
44792 if test "$SDL_CONFIG" = "no" ; then
44793 no_sdl=yes
44794 else
44795 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44796 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44797
44798 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44799 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44800 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44801 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44802 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44803 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44804 if test "x$enable_sdltest" = "xyes" ; then
44805 ac_save_CFLAGS="$CFLAGS"
44806 ac_save_CXXFLAGS="$CXXFLAGS"
44807 ac_save_LIBS="$LIBS"
44808 CFLAGS="$CFLAGS $SDL_CFLAGS"
44809 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44810 LIBS="$LIBS $SDL_LIBS"
44811 rm -f conf.sdltest
44812 if test "$cross_compiling" = yes; then
44813 echo $ac_n "cross compiling; assumed OK... $ac_c"
44814 else
44815 cat >conftest.$ac_ext <<_ACEOF
44816 /* confdefs.h. */
44817 _ACEOF
44818 cat confdefs.h >>conftest.$ac_ext
44819 cat >>conftest.$ac_ext <<_ACEOF
44820 /* end confdefs.h. */
44821
44822 #include <stdio.h>
44823 #include <stdlib.h>
44824 #include <string.h>
44825 #include "SDL.h"
44826
44827 char*
44828 my_strdup (char *str)
44829 {
44830 char *new_str;
44831
44832 if (str)
44833 {
44834 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44835 strcpy (new_str, str);
44836 }
44837 else
44838 new_str = NULL;
44839
44840 return new_str;
44841 }
44842
44843 int main (int argc, char *argv[])
44844 {
44845 int major, minor, micro;
44846 char *tmp_version;
44847
44848 /* This hangs on some systems (?)
44849 system ("touch conf.sdltest");
44850 */
44851 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44852
44853 /* HP/UX 9 (%@#!) writes to sscanf strings */
44854 tmp_version = my_strdup("$min_sdl_version");
44855 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
44856 printf("%s, bad version string\n", "$min_sdl_version");
44857 exit(1);
44858 }
44859
44860 if (($sdl_major_version > major) ||
44861 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44862 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44863 {
44864 return 0;
44865 }
44866 else
44867 {
44868 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44869 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44870 printf("*** best to upgrade to the required version.\n");
44871 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44872 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44873 printf("*** config.cache before re-running configure\n");
44874 return 1;
44875 }
44876 }
44877
44878
44879 _ACEOF
44880 rm -f conftest$ac_exeext
44881 if { (ac_try="$ac_link"
44882 case "(($ac_try" in
44883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44884 *) ac_try_echo=$ac_try;;
44885 esac
44886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44887 (eval "$ac_link") 2>&5
44888 ac_status=$?
44889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
44891 { (case "(($ac_try" in
44892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44893 *) ac_try_echo=$ac_try;;
44894 esac
44895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44896 (eval "$ac_try") 2>&5
44897 ac_status=$?
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); }; }; then
44900 :
44901 else
44902 echo "$as_me: program exited with status $ac_status" >&5
44903 echo "$as_me: failed program was:" >&5
44904 sed 's/^/| /' conftest.$ac_ext >&5
44905
44906 ( exit $ac_status )
44907 no_sdl=yes
44908 fi
44909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44910 fi
44911
44912
44913 CFLAGS="$ac_save_CFLAGS"
44914 CXXFLAGS="$ac_save_CXXFLAGS"
44915 LIBS="$ac_save_LIBS"
44916 fi
44917 fi
44918 if test "x$no_sdl" = x ; then
44919 { echo "$as_me:$LINENO: result: yes" >&5
44920 echo "${ECHO_T}yes" >&6; }
44921
44922 EXTRALIBS_SDL="$SDL_LIBS"
44923 CFLAGS="$SDL_CFLAGS $CFLAGS"
44924 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44925 cat >>confdefs.h <<\_ACEOF
44926 #define wxUSE_LIBSDL 1
44927 _ACEOF
44928
44929
44930 else
44931 { echo "$as_me:$LINENO: result: no" >&5
44932 echo "${ECHO_T}no" >&6; }
44933 if test "$SDL_CONFIG" = "no" ; then
44934 echo "*** The sdl-config script installed by SDL could not be found"
44935 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44936 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44937 echo "*** full path to sdl-config."
44938 else
44939 if test -f conf.sdltest ; then
44940 :
44941 else
44942 echo "*** Could not run SDL test program, checking why..."
44943 CFLAGS="$CFLAGS $SDL_CFLAGS"
44944 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44945 LIBS="$LIBS $SDL_LIBS"
44946 cat >conftest.$ac_ext <<_ACEOF
44947 /* confdefs.h. */
44948 _ACEOF
44949 cat confdefs.h >>conftest.$ac_ext
44950 cat >>conftest.$ac_ext <<_ACEOF
44951 /* end confdefs.h. */
44952
44953 #include <stdio.h>
44954 #include "SDL.h"
44955
44956 int main(int argc, char *argv[])
44957 { return 0; }
44958 #undef main
44959 #define main K_and_R_C_main
44960
44961 int
44962 main ()
44963 {
44964 return 0;
44965 ;
44966 return 0;
44967 }
44968 _ACEOF
44969 rm -f conftest.$ac_objext conftest$ac_exeext
44970 if { (ac_try="$ac_link"
44971 case "(($ac_try" in
44972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44973 *) ac_try_echo=$ac_try;;
44974 esac
44975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44976 (eval "$ac_link") 2>conftest.er1
44977 ac_status=$?
44978 grep -v '^ *+' conftest.er1 >conftest.err
44979 rm -f conftest.er1
44980 cat conftest.err >&5
44981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44982 (exit $ac_status); } && {
44983 test -z "$ac_c_werror_flag" ||
44984 test ! -s conftest.err
44985 } && test -s conftest$ac_exeext &&
44986 $as_test_x conftest$ac_exeext; then
44987 echo "*** The test program compiled, but did not run. This usually means"
44988 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44989 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44990 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44991 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44992 echo "*** is required on your system"
44993 echo "***"
44994 echo "*** If you have an old version installed, it is best to remove it, although"
44995 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44996 else
44997 echo "$as_me: failed program was:" >&5
44998 sed 's/^/| /' conftest.$ac_ext >&5
44999
45000 echo "*** The test program failed to compile or link. See the file config.log for the"
45001 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
45002 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
45003 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
45004 fi
45005
45006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45007 conftest$ac_exeext conftest.$ac_ext
45008 CFLAGS="$ac_save_CFLAGS"
45009 CXXFLAGS="$ac_save_CXXFLAGS"
45010 LIBS="$ac_save_LIBS"
45011 fi
45012 fi
45013 SDL_CFLAGS=""
45014 SDL_LIBS=""
45015 wxUSE_LIBSDL="no"
45016 fi
45017
45018
45019 rm -f conf.sdltest
45020
45021 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
45022 WITH_PLUGIN_SDL=1
45023 fi
45024 fi
45025 else
45026 if test "$wxUSE_MGL" = 1; then
45027 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
45028 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
45029 wxUSE_SOUND="no"
45030 fi
45031 fi
45032 fi
45033
45034 if test "$wxUSE_SOUND" = "yes"; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_SOUND 1
45037 _ACEOF
45038
45039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
45040 fi
45041
45042 if test "$WXGTK20" = 1; then
45043
45044
45045 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
45046 if test -n "$ac_tool_prefix"; then
45047 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
45048 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
45049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45051 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
45052 echo $ECHO_N "(cached) $ECHO_C" >&6
45053 else
45054 case $PKG_CONFIG in
45055 [\\/]* | ?:[\\/]*)
45056 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
45057 ;;
45058 *)
45059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45060 for as_dir in $PATH
45061 do
45062 IFS=$as_save_IFS
45063 test -z "$as_dir" && as_dir=.
45064 for ac_exec_ext in '' $ac_executable_extensions; do
45065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45066 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45068 break 2
45069 fi
45070 done
45071 done
45072 IFS=$as_save_IFS
45073
45074 ;;
45075 esac
45076 fi
45077 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
45078 if test -n "$PKG_CONFIG"; then
45079 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
45080 echo "${ECHO_T}$PKG_CONFIG" >&6; }
45081 else
45082 { echo "$as_me:$LINENO: result: no" >&5
45083 echo "${ECHO_T}no" >&6; }
45084 fi
45085
45086
45087 fi
45088 if test -z "$ac_cv_path_PKG_CONFIG"; then
45089 ac_pt_PKG_CONFIG=$PKG_CONFIG
45090 # Extract the first word of "pkg-config", so it can be a program name with args.
45091 set dummy pkg-config; ac_word=$2
45092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45094 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
45095 echo $ECHO_N "(cached) $ECHO_C" >&6
45096 else
45097 case $ac_pt_PKG_CONFIG in
45098 [\\/]* | ?:[\\/]*)
45099 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
45100 ;;
45101 *)
45102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45103 for as_dir in $PATH
45104 do
45105 IFS=$as_save_IFS
45106 test -z "$as_dir" && as_dir=.
45107 for ac_exec_ext in '' $ac_executable_extensions; do
45108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45109 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
45110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45111 break 2
45112 fi
45113 done
45114 done
45115 IFS=$as_save_IFS
45116
45117 ;;
45118 esac
45119 fi
45120 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
45121 if test -n "$ac_pt_PKG_CONFIG"; then
45122 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
45123 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
45124 else
45125 { echo "$as_me:$LINENO: result: no" >&5
45126 echo "${ECHO_T}no" >&6; }
45127 fi
45128
45129 if test "x$ac_pt_PKG_CONFIG" = x; then
45130 PKG_CONFIG=""
45131 else
45132 case $cross_compiling:$ac_tool_warned in
45133 yes:)
45134 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45135 whose name does not start with the host triplet. If you think this
45136 configuration is useful to you, please write to autoconf@gnu.org." >&5
45137 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45138 whose name does not start with the host triplet. If you think this
45139 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45140 ac_tool_warned=yes ;;
45141 esac
45142 PKG_CONFIG=$ac_pt_PKG_CONFIG
45143 fi
45144 else
45145 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
45146 fi
45147
45148 fi
45149 if test -n "$PKG_CONFIG"; then
45150 _pkg_min_version=0.9.0
45151 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
45152 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
45153 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
45154 { echo "$as_me:$LINENO: result: yes" >&5
45155 echo "${ECHO_T}yes" >&6; }
45156 else
45157 { echo "$as_me:$LINENO: result: no" >&5
45158 echo "${ECHO_T}no" >&6; }
45159 PKG_CONFIG=""
45160 fi
45161
45162 fi
45163
45164 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45165 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45166
45167
45168 pkg_failed=no
45169 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
45170 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
45171
45172 if test -n "$PKG_CONFIG"; then
45173 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
45174 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
45175 else
45176 if test -n "$PKG_CONFIG" && \
45177 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45178 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45179 ac_status=$?
45180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45181 (exit $ac_status); }; then
45182 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45183 else
45184 pkg_failed=yes
45185 fi
45186 fi
45187 else
45188 pkg_failed=untried
45189 fi
45190 if test -n "$PKG_CONFIG"; then
45191 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
45192 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
45193 else
45194 if test -n "$PKG_CONFIG" && \
45195 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
45196 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
45197 ac_status=$?
45198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45199 (exit $ac_status); }; then
45200 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
45201 else
45202 pkg_failed=yes
45203 fi
45204 fi
45205 else
45206 pkg_failed=untried
45207 fi
45208
45209
45210
45211 if test $pkg_failed = yes; then
45212
45213 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45214 _pkg_short_errors_supported=yes
45215 else
45216 _pkg_short_errors_supported=no
45217 fi
45218 if test $_pkg_short_errors_supported = yes; then
45219 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45220 else
45221 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
45222 fi
45223 # Put the nasty error message in config.log where it belongs
45224 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
45225
45226
45227 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45228 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45229 wxUSE_LIBGNOMEPRINT="no"
45230
45231
45232 elif test $pkg_failed = untried; then
45233
45234 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
45235 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
45236 wxUSE_LIBGNOMEPRINT="no"
45237
45238
45239 else
45240 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
45241 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
45242 { echo "$as_me:$LINENO: result: yes" >&5
45243 echo "${ECHO_T}yes" >&6; }
45244
45245 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
45246 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
45247 cat >>confdefs.h <<\_ACEOF
45248 #define wxUSE_LIBGNOMEPRINT 1
45249 _ACEOF
45250
45251
45252 fi
45253 fi
45254 fi
45255
45256 if test "$wxUSE_MIMETYPE" = "yes" ; then
45257 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45258
45259
45260 pkg_failed=no
45261 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
45262 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
45263
45264 if test -n "$PKG_CONFIG"; then
45265 if test -n "$GNOMEVFS_CFLAGS"; then
45266 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
45267 else
45268 if test -n "$PKG_CONFIG" && \
45269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45270 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45271 ac_status=$?
45272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45273 (exit $ac_status); }; then
45274 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45275 else
45276 pkg_failed=yes
45277 fi
45278 fi
45279 else
45280 pkg_failed=untried
45281 fi
45282 if test -n "$PKG_CONFIG"; then
45283 if test -n "$GNOMEVFS_LIBS"; then
45284 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
45285 else
45286 if test -n "$PKG_CONFIG" && \
45287 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
45288 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
45289 ac_status=$?
45290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45291 (exit $ac_status); }; then
45292 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
45293 else
45294 pkg_failed=yes
45295 fi
45296 fi
45297 else
45298 pkg_failed=untried
45299 fi
45300
45301
45302
45303 if test $pkg_failed = yes; then
45304
45305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45306 _pkg_short_errors_supported=yes
45307 else
45308 _pkg_short_errors_supported=no
45309 fi
45310 if test $_pkg_short_errors_supported = yes; then
45311 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45312 else
45313 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
45314 fi
45315 # Put the nasty error message in config.log where it belongs
45316 echo "$GNOMEVFS_PKG_ERRORS" >&5
45317
45318
45319 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45320 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45321 wxUSE_LIBGNOMEVFS="no"
45322
45323
45324 elif test $pkg_failed = untried; then
45325
45326 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
45327 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
45328 wxUSE_LIBGNOMEVFS="no"
45329
45330
45331 else
45332 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
45333 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
45334 { echo "$as_me:$LINENO: result: yes" >&5
45335 echo "${ECHO_T}yes" >&6; }
45336
45337 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
45338 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
45339 cat >>confdefs.h <<\_ACEOF
45340 #define wxUSE_LIBGNOMEVFS 1
45341 _ACEOF
45342
45343
45344 fi
45345 fi
45346 fi
45347
45348 if test "$wxUSE_LIBHILDON" = "yes" ; then
45349
45350 pkg_failed=no
45351 { echo "$as_me:$LINENO: checking for HILDON" >&5
45352 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
45353
45354 if test -n "$PKG_CONFIG"; then
45355 if test -n "$HILDON_CFLAGS"; then
45356 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
45357 else
45358 if test -n "$PKG_CONFIG" && \
45359 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45360 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45361 ac_status=$?
45362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45363 (exit $ac_status); }; then
45364 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
45365 else
45366 pkg_failed=yes
45367 fi
45368 fi
45369 else
45370 pkg_failed=untried
45371 fi
45372 if test -n "$PKG_CONFIG"; then
45373 if test -n "$HILDON_LIBS"; then
45374 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
45375 else
45376 if test -n "$PKG_CONFIG" && \
45377 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
45378 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
45379 ac_status=$?
45380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45381 (exit $ac_status); }; then
45382 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45383 else
45384 pkg_failed=yes
45385 fi
45386 fi
45387 else
45388 pkg_failed=untried
45389 fi
45390
45391
45392
45393 if test $pkg_failed = yes; then
45394
45395 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45396 _pkg_short_errors_supported=yes
45397 else
45398 _pkg_short_errors_supported=no
45399 fi
45400 if test $_pkg_short_errors_supported = yes; then
45401 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45402 else
45403 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45404 fi
45405 # Put the nasty error message in config.log where it belongs
45406 echo "$HILDON_PKG_ERRORS" >&5
45407
45408
45409 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45410 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45411 wxUSE_LIBHILDON="no"
45412
45413
45414 elif test $pkg_failed = untried; then
45415
45416 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45417 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45418 wxUSE_LIBHILDON="no"
45419
45420
45421 else
45422 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
45423 HILDON_LIBS=$pkg_cv_HILDON_LIBS
45424 { echo "$as_me:$LINENO: result: yes" >&5
45425 echo "${ECHO_T}yes" >&6; }
45426
45427 EXTRALIBS_HILDON="$HILDON_LIBS"
45428 CFLAGS="$CFLAGS $HILDON_CFLAGS"
45429 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_LIBHILDON 1
45432 _ACEOF
45433
45434
45435 fi
45436 fi
45437 fi
45438
45439 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45440 cat >>confdefs.h <<\_ACEOF
45441 #define wxUSE_CMDLINE_PARSER 1
45442 _ACEOF
45443
45444 fi
45445
45446 if test "$wxUSE_STOPWATCH" = "yes"; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_STOPWATCH 1
45449 _ACEOF
45450
45451 fi
45452
45453 if test "$wxUSE_DATETIME" = "yes"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_DATETIME 1
45456 _ACEOF
45457
45458 fi
45459
45460 if test "$wxUSE_FILE" = "yes"; then
45461 cat >>confdefs.h <<\_ACEOF
45462 #define wxUSE_FILE 1
45463 _ACEOF
45464
45465 fi
45466
45467 if test "$wxUSE_FFILE" = "yes"; then
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_FFILE 1
45470 _ACEOF
45471
45472 fi
45473
45474 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45475 if test "$wxUSE_STREAMS" != yes; then
45476 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45477 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45478 wxUSE_ARCHIVE_STREAMS=no
45479 else
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_ARCHIVE_STREAMS 1
45482 _ACEOF
45483
45484 fi
45485 fi
45486
45487 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45488 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45489 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45490 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45491 elif test "$wxUSE_ZLIB" = "no"; then
45492 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45493 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45494 else
45495 cat >>confdefs.h <<\_ACEOF
45496 #define wxUSE_ZIPSTREAM 1
45497 _ACEOF
45498
45499 fi
45500 fi
45501
45502 if test "$wxUSE_TARSTREAM" = "yes"; then
45503 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45504 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45505 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45506 else
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_TARSTREAM 1
45509 _ACEOF
45510
45511 fi
45512 fi
45513
45514 if test "$wxUSE_FILESYSTEM" = "yes"; then
45515 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
45516 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45517 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45518 wxUSE_FILESYSTEM=no
45519 else
45520 cat >>confdefs.h <<\_ACEOF
45521 #define wxUSE_FILESYSTEM 1
45522 _ACEOF
45523
45524 fi
45525 fi
45526
45527 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45528 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45529 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45530 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45531 else
45532 cat >>confdefs.h <<\_ACEOF
45533 #define wxUSE_FS_ARCHIVE 1
45534 _ACEOF
45535
45536 fi
45537 fi
45538
45539 if test "$wxUSE_FS_ZIP" = "yes"; then
45540 if test "$wxUSE_FS_ARCHIVE" != yes; then
45541 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45542 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45543 else
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_FS_ZIP 1
45546 _ACEOF
45547
45548 fi
45549 fi
45550
45551 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45552 if test "$USE_UNIX" != 1; then
45553 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45554 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45555 wxUSE_ON_FATAL_EXCEPTION=no
45556 else
45557 cat >>confdefs.h <<\_ACEOF
45558 #define wxUSE_ON_FATAL_EXCEPTION 1
45559 _ACEOF
45560
45561 fi
45562 fi
45563
45564 if test "$wxUSE_STACKWALKER" = "yes"; then
45565 cat >>confdefs.h <<\_ACEOF
45566 #define wxUSE_STACKWALKER 1
45567 _ACEOF
45568
45569 fi
45570
45571 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45572 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
45573 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45574 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45575 wxUSE_DEBUGREPORT=no
45576 else
45577 cat >>confdefs.h <<\_ACEOF
45578 #define wxUSE_DEBUGREPORT 1
45579 _ACEOF
45580
45581 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45582 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
45583 fi
45584 fi
45585 fi
45586
45587 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45588 cat >>confdefs.h <<\_ACEOF
45589 #define wxUSE_SNGLINST_CHECKER 1
45590 _ACEOF
45591
45592 fi
45593
45594 if test "$wxUSE_BUSYINFO" = "yes"; then
45595 cat >>confdefs.h <<\_ACEOF
45596 #define wxUSE_BUSYINFO 1
45597 _ACEOF
45598
45599 fi
45600
45601 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45602 cat >>confdefs.h <<\_ACEOF
45603 #define wxUSE_STD_IOSTREAM 1
45604 _ACEOF
45605
45606 fi
45607
45608 if test "$wxUSE_STD_STRING" = "yes"; then
45609 cat >>confdefs.h <<\_ACEOF
45610 #define wxUSE_STD_STRING 1
45611 _ACEOF
45612
45613 fi
45614
45615 if test "$wxUSE_STDPATHS" = "yes"; then
45616 cat >>confdefs.h <<\_ACEOF
45617 #define wxUSE_STDPATHS 1
45618 _ACEOF
45619
45620 fi
45621
45622 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45623 cat >>confdefs.h <<\_ACEOF
45624 #define wxUSE_TEXTBUFFER 1
45625 _ACEOF
45626
45627 fi
45628
45629 if test "$wxUSE_TEXTFILE" = "yes"; then
45630 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45631 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45632 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45633 else
45634 cat >>confdefs.h <<\_ACEOF
45635 #define wxUSE_TEXTFILE 1
45636 _ACEOF
45637
45638 fi
45639 fi
45640
45641 if test "$wxUSE_CONFIG" = "yes" ; then
45642 if test "$wxUSE_TEXTFILE" != "yes"; then
45643 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45644 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45645 else
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_CONFIG 1
45648 _ACEOF
45649
45650 cat >>confdefs.h <<\_ACEOF
45651 #define wxUSE_CONFIG_NATIVE 1
45652 _ACEOF
45653
45654 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
45655 fi
45656 fi
45657
45658 if test "$wxUSE_INTL" = "yes" ; then
45659 if test "$wxUSE_FILE" != "yes"; then
45660 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45661 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45662 else
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_INTL 1
45665 _ACEOF
45666
45667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
45668 GUIDIST="$GUIDIST INTL_DIST"
45669 fi
45670 fi
45671
45672 if test "$wxUSE_LOG" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_LOG 1
45675 _ACEOF
45676
45677
45678 if test "$wxUSE_LOGGUI" = "yes"; then
45679 cat >>confdefs.h <<\_ACEOF
45680 #define wxUSE_LOGGUI 1
45681 _ACEOF
45682
45683 fi
45684
45685 if test "$wxUSE_LOGWINDOW" = "yes"; then
45686 cat >>confdefs.h <<\_ACEOF
45687 #define wxUSE_LOGWINDOW 1
45688 _ACEOF
45689
45690 fi
45691
45692 if test "$wxUSE_LOGDIALOG" = "yes"; then
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_LOG_DIALOG 1
45695 _ACEOF
45696
45697 fi
45698
45699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45700 fi
45701
45702 if test "$wxUSE_LONGLONG" = "yes"; then
45703 cat >>confdefs.h <<\_ACEOF
45704 #define wxUSE_LONGLONG 1
45705 _ACEOF
45706
45707 fi
45708
45709 if test "$wxUSE_GEOMETRY" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_GEOMETRY 1
45712 _ACEOF
45713
45714 fi
45715
45716 if test "$wxUSE_BASE64" = "yes"; then
45717 cat >>confdefs.h <<\_ACEOF
45718 #define wxUSE_BASE64 1
45719 _ACEOF
45720
45721 fi
45722
45723 if test "$wxUSE_STREAMS" = "yes" ; then
45724 cat >>confdefs.h <<\_ACEOF
45725 #define wxUSE_STREAMS 1
45726 _ACEOF
45727
45728 fi
45729
45730 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45731 cat >>confdefs.h <<\_ACEOF
45732 #define wxUSE_PRINTF_POS_PARAMS 1
45733 _ACEOF
45734
45735 fi
45736
45737 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_OBJC_UNIQUIFYING 1
45740 _ACEOF
45741
45742 fi
45743
45744
45745 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_CONSOLE_EVENTLOOP 1
45748 _ACEOF
45749
45750
45751 if test "$wxUSE_UNIX" = "yes"; then
45752 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_SELECT_DISPATCHER 1
45755 _ACEOF
45756
45757 fi
45758
45759 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45760
45761 for ac_header in sys/epoll.h
45762 do
45763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45764 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45765 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45767 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45769 fi
45770 ac_res=`eval echo '${'$as_ac_Header'}'`
45771 { echo "$as_me:$LINENO: result: $ac_res" >&5
45772 echo "${ECHO_T}$ac_res" >&6; }
45773 else
45774 # Is the header compilable?
45775 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
45776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
45777 cat >conftest.$ac_ext <<_ACEOF
45778 /* confdefs.h. */
45779 _ACEOF
45780 cat confdefs.h >>conftest.$ac_ext
45781 cat >>conftest.$ac_ext <<_ACEOF
45782 /* end confdefs.h. */
45783 $ac_includes_default
45784 #include <$ac_header>
45785 _ACEOF
45786 rm -f conftest.$ac_objext
45787 if { (ac_try="$ac_compile"
45788 case "(($ac_try" in
45789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45790 *) ac_try_echo=$ac_try;;
45791 esac
45792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45793 (eval "$ac_compile") 2>conftest.er1
45794 ac_status=$?
45795 grep -v '^ *+' conftest.er1 >conftest.err
45796 rm -f conftest.er1
45797 cat conftest.err >&5
45798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45799 (exit $ac_status); } && {
45800 test -z "$ac_c_werror_flag" ||
45801 test ! -s conftest.err
45802 } && test -s conftest.$ac_objext; then
45803 ac_header_compiler=yes
45804 else
45805 echo "$as_me: failed program was:" >&5
45806 sed 's/^/| /' conftest.$ac_ext >&5
45807
45808 ac_header_compiler=no
45809 fi
45810
45811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45812 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45813 echo "${ECHO_T}$ac_header_compiler" >&6; }
45814
45815 # Is the header present?
45816 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
45817 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
45818 cat >conftest.$ac_ext <<_ACEOF
45819 /* confdefs.h. */
45820 _ACEOF
45821 cat confdefs.h >>conftest.$ac_ext
45822 cat >>conftest.$ac_ext <<_ACEOF
45823 /* end confdefs.h. */
45824 #include <$ac_header>
45825 _ACEOF
45826 if { (ac_try="$ac_cpp conftest.$ac_ext"
45827 case "(($ac_try" in
45828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45829 *) ac_try_echo=$ac_try;;
45830 esac
45831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45832 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
45833 ac_status=$?
45834 grep -v '^ *+' conftest.er1 >conftest.err
45835 rm -f conftest.er1
45836 cat conftest.err >&5
45837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45838 (exit $ac_status); } >/dev/null && {
45839 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
45840 test ! -s conftest.err
45841 }; then
45842 ac_header_preproc=yes
45843 else
45844 echo "$as_me: failed program was:" >&5
45845 sed 's/^/| /' conftest.$ac_ext >&5
45846
45847 ac_header_preproc=no
45848 fi
45849
45850 rm -f conftest.err conftest.$ac_ext
45851 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45852 echo "${ECHO_T}$ac_header_preproc" >&6; }
45853
45854 # So? What about this header?
45855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
45856 yes:no: )
45857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45861 ac_header_preproc=yes
45862 ;;
45863 no:yes:* )
45864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45876 ( cat <<\_ASBOX
45877 ## ----------------------------------------- ##
45878 ## Report this to wx-dev@lists.wxwidgets.org ##
45879 ## ----------------------------------------- ##
45880 _ASBOX
45881 ) | sed "s/^/$as_me: WARNING: /" >&2
45882 ;;
45883 esac
45884 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45887 echo $ECHO_N "(cached) $ECHO_C" >&6
45888 else
45889 eval "$as_ac_Header=\$ac_header_preproc"
45890 fi
45891 ac_res=`eval echo '${'$as_ac_Header'}'`
45892 { echo "$as_me:$LINENO: result: $ac_res" >&5
45893 echo "${ECHO_T}$ac_res" >&6; }
45894
45895 fi
45896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45897 cat >>confdefs.h <<_ACEOF
45898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45899 _ACEOF
45900
45901 fi
45902
45903 done
45904
45905 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_EPOLL_DISPATCHER 1
45908 _ACEOF
45909
45910 else
45911 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45912 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45913 fi
45914 fi
45915 fi
45916 fi
45917
45918
45919
45920
45921 for ac_func in gettimeofday ftime
45922 do
45923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45927 echo $ECHO_N "(cached) $ECHO_C" >&6
45928 else
45929 cat >conftest.$ac_ext <<_ACEOF
45930 /* confdefs.h. */
45931 _ACEOF
45932 cat confdefs.h >>conftest.$ac_ext
45933 cat >>conftest.$ac_ext <<_ACEOF
45934 /* end confdefs.h. */
45935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45937 #define $ac_func innocuous_$ac_func
45938
45939 /* System header to define __stub macros and hopefully few prototypes,
45940 which can conflict with char $ac_func (); below.
45941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45942 <limits.h> exists even on freestanding compilers. */
45943
45944 #ifdef __STDC__
45945 # include <limits.h>
45946 #else
45947 # include <assert.h>
45948 #endif
45949
45950 #undef $ac_func
45951
45952 /* Override any GCC internal prototype to avoid an error.
45953 Use char because int might match the return type of a GCC
45954 builtin and then its argument prototype would still apply. */
45955 #ifdef __cplusplus
45956 extern "C"
45957 #endif
45958 char $ac_func ();
45959 /* The GNU C library defines this for functions which it implements
45960 to always fail with ENOSYS. Some functions are actually named
45961 something starting with __ and the normal name is an alias. */
45962 #if defined __stub_$ac_func || defined __stub___$ac_func
45963 choke me
45964 #endif
45965
45966 int
45967 main ()
45968 {
45969 return $ac_func ();
45970 ;
45971 return 0;
45972 }
45973 _ACEOF
45974 rm -f conftest.$ac_objext conftest$ac_exeext
45975 if { (ac_try="$ac_link"
45976 case "(($ac_try" in
45977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45978 *) ac_try_echo=$ac_try;;
45979 esac
45980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45981 (eval "$ac_link") 2>conftest.er1
45982 ac_status=$?
45983 grep -v '^ *+' conftest.er1 >conftest.err
45984 rm -f conftest.er1
45985 cat conftest.err >&5
45986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45987 (exit $ac_status); } && {
45988 test -z "$ac_c_werror_flag" ||
45989 test ! -s conftest.err
45990 } && test -s conftest$ac_exeext &&
45991 $as_test_x conftest$ac_exeext; then
45992 eval "$as_ac_var=yes"
45993 else
45994 echo "$as_me: failed program was:" >&5
45995 sed 's/^/| /' conftest.$ac_ext >&5
45996
45997 eval "$as_ac_var=no"
45998 fi
45999
46000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46001 conftest$ac_exeext conftest.$ac_ext
46002 fi
46003 ac_res=`eval echo '${'$as_ac_var'}'`
46004 { echo "$as_me:$LINENO: result: $ac_res" >&5
46005 echo "${ECHO_T}$ac_res" >&6; }
46006 if test `eval echo '${'$as_ac_var'}'` = yes; then
46007 cat >>confdefs.h <<_ACEOF
46008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46009 _ACEOF
46010 break
46011 fi
46012 done
46013
46014
46015 if test "$ac_cv_func_gettimeofday" = "yes"; then
46016 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
46017 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
46018 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
46019 echo $ECHO_N "(cached) $ECHO_C" >&6
46020 else
46021
46022 cat >conftest.$ac_ext <<_ACEOF
46023 /* confdefs.h. */
46024 _ACEOF
46025 cat confdefs.h >>conftest.$ac_ext
46026 cat >>conftest.$ac_ext <<_ACEOF
46027 /* end confdefs.h. */
46028
46029 #include <sys/time.h>
46030 #include <unistd.h>
46031
46032 int
46033 main ()
46034 {
46035
46036 struct timeval tv;
46037 gettimeofday(&tv, NULL);
46038
46039 ;
46040 return 0;
46041 }
46042 _ACEOF
46043 rm -f conftest.$ac_objext
46044 if { (ac_try="$ac_compile"
46045 case "(($ac_try" in
46046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46047 *) ac_try_echo=$ac_try;;
46048 esac
46049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46050 (eval "$ac_compile") 2>conftest.er1
46051 ac_status=$?
46052 grep -v '^ *+' conftest.er1 >conftest.err
46053 rm -f conftest.er1
46054 cat conftest.err >&5
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); } && {
46057 test -z "$ac_c_werror_flag" ||
46058 test ! -s conftest.err
46059 } && test -s conftest.$ac_objext; then
46060 wx_cv_func_gettimeofday_has_2_args=yes
46061 else
46062 echo "$as_me: failed program was:" >&5
46063 sed 's/^/| /' conftest.$ac_ext >&5
46064
46065 cat >conftest.$ac_ext <<_ACEOF
46066 /* confdefs.h. */
46067 _ACEOF
46068 cat confdefs.h >>conftest.$ac_ext
46069 cat >>conftest.$ac_ext <<_ACEOF
46070 /* end confdefs.h. */
46071
46072 #include <sys/time.h>
46073 #include <unistd.h>
46074
46075 int
46076 main ()
46077 {
46078
46079 struct timeval tv;
46080 gettimeofday(&tv);
46081
46082 ;
46083 return 0;
46084 }
46085 _ACEOF
46086 rm -f conftest.$ac_objext
46087 if { (ac_try="$ac_compile"
46088 case "(($ac_try" in
46089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46090 *) ac_try_echo=$ac_try;;
46091 esac
46092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46093 (eval "$ac_compile") 2>conftest.er1
46094 ac_status=$?
46095 grep -v '^ *+' conftest.er1 >conftest.err
46096 rm -f conftest.er1
46097 cat conftest.err >&5
46098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46099 (exit $ac_status); } && {
46100 test -z "$ac_c_werror_flag" ||
46101 test ! -s conftest.err
46102 } && test -s conftest.$ac_objext; then
46103 wx_cv_func_gettimeofday_has_2_args=no
46104 else
46105 echo "$as_me: failed program was:" >&5
46106 sed 's/^/| /' conftest.$ac_ext >&5
46107
46108
46109 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
46110 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
46111 wx_cv_func_gettimeofday_has_2_args=unknown
46112
46113
46114 fi
46115
46116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46117
46118 fi
46119
46120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46121
46122 fi
46123 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
46124 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
46125
46126 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
46127 cat >>confdefs.h <<\_ACEOF
46128 #define WX_GETTIMEOFDAY_NO_TZ 1
46129 _ACEOF
46130
46131 fi
46132 fi
46133
46134 if test "$wxUSE_DATETIME" = "yes"; then
46135 { echo "$as_me:$LINENO: checking for strptime" >&5
46136 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
46137 if test "${ac_cv_func_strptime+set}" = set; then
46138 echo $ECHO_N "(cached) $ECHO_C" >&6
46139 else
46140 cat >conftest.$ac_ext <<_ACEOF
46141 /* confdefs.h. */
46142 _ACEOF
46143 cat confdefs.h >>conftest.$ac_ext
46144 cat >>conftest.$ac_ext <<_ACEOF
46145 /* end confdefs.h. */
46146 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
46147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46148 #define strptime innocuous_strptime
46149
46150 /* System header to define __stub macros and hopefully few prototypes,
46151 which can conflict with char strptime (); below.
46152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46153 <limits.h> exists even on freestanding compilers. */
46154
46155 #ifdef __STDC__
46156 # include <limits.h>
46157 #else
46158 # include <assert.h>
46159 #endif
46160
46161 #undef strptime
46162
46163 /* Override any GCC internal prototype to avoid an error.
46164 Use char because int might match the return type of a GCC
46165 builtin and then its argument prototype would still apply. */
46166 #ifdef __cplusplus
46167 extern "C"
46168 #endif
46169 char strptime ();
46170 /* The GNU C library defines this for functions which it implements
46171 to always fail with ENOSYS. Some functions are actually named
46172 something starting with __ and the normal name is an alias. */
46173 #if defined __stub_strptime || defined __stub___strptime
46174 choke me
46175 #endif
46176
46177 int
46178 main ()
46179 {
46180 return strptime ();
46181 ;
46182 return 0;
46183 }
46184 _ACEOF
46185 rm -f conftest.$ac_objext conftest$ac_exeext
46186 if { (ac_try="$ac_link"
46187 case "(($ac_try" in
46188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46189 *) ac_try_echo=$ac_try;;
46190 esac
46191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46192 (eval "$ac_link") 2>conftest.er1
46193 ac_status=$?
46194 grep -v '^ *+' conftest.er1 >conftest.err
46195 rm -f conftest.er1
46196 cat conftest.err >&5
46197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46198 (exit $ac_status); } && {
46199 test -z "$ac_c_werror_flag" ||
46200 test ! -s conftest.err
46201 } && test -s conftest$ac_exeext &&
46202 $as_test_x conftest$ac_exeext; then
46203 ac_cv_func_strptime=yes
46204 else
46205 echo "$as_me: failed program was:" >&5
46206 sed 's/^/| /' conftest.$ac_ext >&5
46207
46208 ac_cv_func_strptime=no
46209 fi
46210
46211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46212 conftest$ac_exeext conftest.$ac_ext
46213 fi
46214 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
46215 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
46216
46217 if test "$ac_cv_func_strptime" = "yes"; then
46218 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
46219 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
46220 if test "${wx_cv_func_strptime_decl+set}" = set; then
46221 echo $ECHO_N "(cached) $ECHO_C" >&6
46222 else
46223
46224 ac_ext=cpp
46225 ac_cpp='$CXXCPP $CPPFLAGS'
46226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46229
46230 cat >conftest.$ac_ext <<_ACEOF
46231 /* confdefs.h. */
46232 _ACEOF
46233 cat confdefs.h >>conftest.$ac_ext
46234 cat >>conftest.$ac_ext <<_ACEOF
46235 /* end confdefs.h. */
46236
46237 #include <time.h>
46238
46239 int
46240 main ()
46241 {
46242
46243 struct tm t;
46244 strptime("foo", "bar", &t);
46245
46246 ;
46247 return 0;
46248 }
46249 _ACEOF
46250 rm -f conftest.$ac_objext
46251 if { (ac_try="$ac_compile"
46252 case "(($ac_try" in
46253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46254 *) ac_try_echo=$ac_try;;
46255 esac
46256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46257 (eval "$ac_compile") 2>conftest.er1
46258 ac_status=$?
46259 grep -v '^ *+' conftest.er1 >conftest.err
46260 rm -f conftest.er1
46261 cat conftest.err >&5
46262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46263 (exit $ac_status); } && {
46264 test -z "$ac_cxx_werror_flag" ||
46265 test ! -s conftest.err
46266 } && test -s conftest.$ac_objext; then
46267 wx_cv_func_strptime_decl=yes
46268 else
46269 echo "$as_me: failed program was:" >&5
46270 sed 's/^/| /' conftest.$ac_ext >&5
46271
46272 wx_cv_func_strptime_decl=no
46273
46274 fi
46275
46276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46277 ac_ext=c
46278 ac_cpp='$CPP $CPPFLAGS'
46279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46282
46283
46284
46285 fi
46286 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
46287 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
46288 fi
46289 if test "$wx_cv_func_strptime_decl" = "yes"; then
46290 cat >>confdefs.h <<\_ACEOF
46291 #define HAVE_STRPTIME_DECL 1
46292 _ACEOF
46293
46294 else
46295 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
46296 fi
46297 if test "$ac_cv_func_strptime" = "yes"; then
46298 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
46299 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
46300 if test "${wx_cv_func_strptime_ok+set}" = set; then
46301 echo $ECHO_N "(cached) $ECHO_C" >&6
46302 else
46303 if test "$cross_compiling" = yes; then
46304 wx_cv_func_strptime_ok=no
46305
46306 else
46307 cat >conftest.$ac_ext <<_ACEOF
46308
46309 #include <stdlib.h>
46310 #include <time.h>
46311 #include "confdefs.h"
46312
46313 $wx_strptime_decl
46314
46315 int main()
46316 {
46317 struct tm t;
46318 return !!strptime("", "%x", &t);
46319 }
46320
46321 _ACEOF
46322 rm -f conftest$ac_exeext
46323 if { (ac_try="$ac_link"
46324 case "(($ac_try" in
46325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46326 *) ac_try_echo=$ac_try;;
46327 esac
46328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46329 (eval "$ac_link") 2>&5
46330 ac_status=$?
46331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46332 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46333 { (case "(($ac_try" in
46334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46335 *) ac_try_echo=$ac_try;;
46336 esac
46337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46338 (eval "$ac_try") 2>&5
46339 ac_status=$?
46340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46341 (exit $ac_status); }; }; then
46342 wx_cv_func_strptime_ok=yes
46343 else
46344 echo "$as_me: program exited with status $ac_status" >&5
46345 echo "$as_me: failed program was:" >&5
46346 sed 's/^/| /' conftest.$ac_ext >&5
46347
46348 ( exit $ac_status )
46349 wx_cv_func_strptime_ok=no
46350 fi
46351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46352 fi
46353
46354
46355
46356 fi
46357 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
46358 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
46359
46360 if test "$wx_cv_func_strptime_ok" = "yes"; then
46361 cat >>confdefs.h <<\_ACEOF
46362 #define HAVE_STRPTIME 1
46363 _ACEOF
46364
46365 fi
46366 fi
46367
46368 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
46369 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
46370 if test "${wx_cv_var_timezone+set}" = set; then
46371 echo $ECHO_N "(cached) $ECHO_C" >&6
46372 else
46373
46374 ac_ext=cpp
46375 ac_cpp='$CXXCPP $CPPFLAGS'
46376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46379
46380 cat >conftest.$ac_ext <<_ACEOF
46381 /* confdefs.h. */
46382 _ACEOF
46383 cat confdefs.h >>conftest.$ac_ext
46384 cat >>conftest.$ac_ext <<_ACEOF
46385 /* end confdefs.h. */
46386
46387 #include <time.h>
46388
46389 int
46390 main ()
46391 {
46392
46393 int tz;
46394 tz = timezone;
46395
46396 ;
46397 return 0;
46398 }
46399 _ACEOF
46400 rm -f conftest.$ac_objext
46401 if { (ac_try="$ac_compile"
46402 case "(($ac_try" in
46403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46404 *) ac_try_echo=$ac_try;;
46405 esac
46406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46407 (eval "$ac_compile") 2>conftest.er1
46408 ac_status=$?
46409 grep -v '^ *+' conftest.er1 >conftest.err
46410 rm -f conftest.er1
46411 cat conftest.err >&5
46412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46413 (exit $ac_status); } && {
46414 test -z "$ac_cxx_werror_flag" ||
46415 test ! -s conftest.err
46416 } && test -s conftest.$ac_objext; then
46417
46418 wx_cv_var_timezone=timezone
46419
46420 else
46421 echo "$as_me: failed program was:" >&5
46422 sed 's/^/| /' conftest.$ac_ext >&5
46423
46424
46425 cat >conftest.$ac_ext <<_ACEOF
46426 /* confdefs.h. */
46427 _ACEOF
46428 cat confdefs.h >>conftest.$ac_ext
46429 cat >>conftest.$ac_ext <<_ACEOF
46430 /* end confdefs.h. */
46431
46432 #include <time.h>
46433
46434 int
46435 main ()
46436 {
46437
46438 int tz;
46439 tz = _timezone;
46440
46441 ;
46442 return 0;
46443 }
46444 _ACEOF
46445 rm -f conftest.$ac_objext
46446 if { (ac_try="$ac_compile"
46447 case "(($ac_try" in
46448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46449 *) ac_try_echo=$ac_try;;
46450 esac
46451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46452 (eval "$ac_compile") 2>conftest.er1
46453 ac_status=$?
46454 grep -v '^ *+' conftest.er1 >conftest.err
46455 rm -f conftest.er1
46456 cat conftest.err >&5
46457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46458 (exit $ac_status); } && {
46459 test -z "$ac_cxx_werror_flag" ||
46460 test ! -s conftest.err
46461 } && test -s conftest.$ac_objext; then
46462
46463 wx_cv_var_timezone=_timezone
46464
46465 else
46466 echo "$as_me: failed program was:" >&5
46467 sed 's/^/| /' conftest.$ac_ext >&5
46468
46469
46470 cat >conftest.$ac_ext <<_ACEOF
46471 /* confdefs.h. */
46472 _ACEOF
46473 cat confdefs.h >>conftest.$ac_ext
46474 cat >>conftest.$ac_ext <<_ACEOF
46475 /* end confdefs.h. */
46476
46477 #include <time.h>
46478
46479 int
46480 main ()
46481 {
46482
46483 int tz;
46484 tz = __timezone;
46485
46486 ;
46487 return 0;
46488 }
46489 _ACEOF
46490 rm -f conftest.$ac_objext
46491 if { (ac_try="$ac_compile"
46492 case "(($ac_try" in
46493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46494 *) ac_try_echo=$ac_try;;
46495 esac
46496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46497 (eval "$ac_compile") 2>conftest.er1
46498 ac_status=$?
46499 grep -v '^ *+' conftest.er1 >conftest.err
46500 rm -f conftest.er1
46501 cat conftest.err >&5
46502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46503 (exit $ac_status); } && {
46504 test -z "$ac_cxx_werror_flag" ||
46505 test ! -s conftest.err
46506 } && test -s conftest.$ac_objext; then
46507
46508 wx_cv_var_timezone=__timezone
46509
46510 else
46511 echo "$as_me: failed program was:" >&5
46512 sed 's/^/| /' conftest.$ac_ext >&5
46513
46514
46515 if test "$USE_DOS" = 0 ; then
46516 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46517 echo "$as_me: WARNING: no timezone variable" >&2;}
46518 fi
46519
46520
46521 fi
46522
46523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46524
46525
46526 fi
46527
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529
46530
46531 fi
46532
46533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46534 ac_ext=c
46535 ac_cpp='$CPP $CPPFLAGS'
46536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46539
46540
46541
46542 fi
46543 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46544 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46545
46546 if test "x$wx_cv_var_timezone" != x ; then
46547 cat >>confdefs.h <<_ACEOF
46548 #define WX_TIMEZONE $wx_cv_var_timezone
46549 _ACEOF
46550
46551 fi
46552
46553
46554 for ac_func in localtime
46555 do
46556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46557 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46559 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46560 echo $ECHO_N "(cached) $ECHO_C" >&6
46561 else
46562 cat >conftest.$ac_ext <<_ACEOF
46563 /* confdefs.h. */
46564 _ACEOF
46565 cat confdefs.h >>conftest.$ac_ext
46566 cat >>conftest.$ac_ext <<_ACEOF
46567 /* end confdefs.h. */
46568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46570 #define $ac_func innocuous_$ac_func
46571
46572 /* System header to define __stub macros and hopefully few prototypes,
46573 which can conflict with char $ac_func (); below.
46574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46575 <limits.h> exists even on freestanding compilers. */
46576
46577 #ifdef __STDC__
46578 # include <limits.h>
46579 #else
46580 # include <assert.h>
46581 #endif
46582
46583 #undef $ac_func
46584
46585 /* Override any GCC internal prototype to avoid an error.
46586 Use char because int might match the return type of a GCC
46587 builtin and then its argument prototype would still apply. */
46588 #ifdef __cplusplus
46589 extern "C"
46590 #endif
46591 char $ac_func ();
46592 /* The GNU C library defines this for functions which it implements
46593 to always fail with ENOSYS. Some functions are actually named
46594 something starting with __ and the normal name is an alias. */
46595 #if defined __stub_$ac_func || defined __stub___$ac_func
46596 choke me
46597 #endif
46598
46599 int
46600 main ()
46601 {
46602 return $ac_func ();
46603 ;
46604 return 0;
46605 }
46606 _ACEOF
46607 rm -f conftest.$ac_objext conftest$ac_exeext
46608 if { (ac_try="$ac_link"
46609 case "(($ac_try" in
46610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46611 *) ac_try_echo=$ac_try;;
46612 esac
46613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46614 (eval "$ac_link") 2>conftest.er1
46615 ac_status=$?
46616 grep -v '^ *+' conftest.er1 >conftest.err
46617 rm -f conftest.er1
46618 cat conftest.err >&5
46619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46620 (exit $ac_status); } && {
46621 test -z "$ac_c_werror_flag" ||
46622 test ! -s conftest.err
46623 } && test -s conftest$ac_exeext &&
46624 $as_test_x conftest$ac_exeext; then
46625 eval "$as_ac_var=yes"
46626 else
46627 echo "$as_me: failed program was:" >&5
46628 sed 's/^/| /' conftest.$ac_ext >&5
46629
46630 eval "$as_ac_var=no"
46631 fi
46632
46633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46634 conftest$ac_exeext conftest.$ac_ext
46635 fi
46636 ac_res=`eval echo '${'$as_ac_var'}'`
46637 { echo "$as_me:$LINENO: result: $ac_res" >&5
46638 echo "${ECHO_T}$ac_res" >&6; }
46639 if test `eval echo '${'$as_ac_var'}'` = yes; then
46640 cat >>confdefs.h <<_ACEOF
46641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46642 _ACEOF
46643
46644 fi
46645 done
46646
46647
46648 if test "$ac_cv_func_localtime" = "yes"; then
46649 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46650 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46651 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46652 echo $ECHO_N "(cached) $ECHO_C" >&6
46653 else
46654
46655 cat >conftest.$ac_ext <<_ACEOF
46656 /* confdefs.h. */
46657 _ACEOF
46658 cat confdefs.h >>conftest.$ac_ext
46659 cat >>conftest.$ac_ext <<_ACEOF
46660 /* end confdefs.h. */
46661
46662 #include <time.h>
46663
46664 int
46665 main ()
46666 {
46667
46668 struct tm tm;
46669 tm.tm_gmtoff++;
46670
46671 ;
46672 return 0;
46673 }
46674 _ACEOF
46675 rm -f conftest.$ac_objext
46676 if { (ac_try="$ac_compile"
46677 case "(($ac_try" in
46678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46679 *) ac_try_echo=$ac_try;;
46680 esac
46681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46682 (eval "$ac_compile") 2>conftest.er1
46683 ac_status=$?
46684 grep -v '^ *+' conftest.er1 >conftest.err
46685 rm -f conftest.er1
46686 cat conftest.err >&5
46687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46688 (exit $ac_status); } && {
46689 test -z "$ac_c_werror_flag" ||
46690 test ! -s conftest.err
46691 } && test -s conftest.$ac_objext; then
46692
46693 wx_cv_struct_tm_has_gmtoff=yes
46694
46695 else
46696 echo "$as_me: failed program was:" >&5
46697 sed 's/^/| /' conftest.$ac_ext >&5
46698
46699 wx_cv_struct_tm_has_gmtoff=no
46700
46701 fi
46702
46703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46704
46705 fi
46706 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46707 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46708 fi
46709
46710 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46711 cat >>confdefs.h <<\_ACEOF
46712 #define WX_GMTOFF_IN_TM 1
46713 _ACEOF
46714
46715 fi
46716
46717 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
46718 fi
46719
46720
46721 if test "$wxUSE_SOCKETS" = "yes"; then
46722 if test "$wxUSE_MGL" = "1"; then
46723 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46724 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46725 wxUSE_SOCKETS="no"
46726 fi
46727 fi
46728
46729 if test "$wxUSE_SOCKETS" = "yes"; then
46730 if test "$TOOLKIT" != "MSW"; then
46731 { echo "$as_me:$LINENO: checking for socket" >&5
46732 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46733 if test "${ac_cv_func_socket+set}" = set; then
46734 echo $ECHO_N "(cached) $ECHO_C" >&6
46735 else
46736 cat >conftest.$ac_ext <<_ACEOF
46737 /* confdefs.h. */
46738 _ACEOF
46739 cat confdefs.h >>conftest.$ac_ext
46740 cat >>conftest.$ac_ext <<_ACEOF
46741 /* end confdefs.h. */
46742 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46744 #define socket innocuous_socket
46745
46746 /* System header to define __stub macros and hopefully few prototypes,
46747 which can conflict with char socket (); below.
46748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46749 <limits.h> exists even on freestanding compilers. */
46750
46751 #ifdef __STDC__
46752 # include <limits.h>
46753 #else
46754 # include <assert.h>
46755 #endif
46756
46757 #undef socket
46758
46759 /* Override any GCC internal prototype to avoid an error.
46760 Use char because int might match the return type of a GCC
46761 builtin and then its argument prototype would still apply. */
46762 #ifdef __cplusplus
46763 extern "C"
46764 #endif
46765 char socket ();
46766 /* The GNU C library defines this for functions which it implements
46767 to always fail with ENOSYS. Some functions are actually named
46768 something starting with __ and the normal name is an alias. */
46769 #if defined __stub_socket || defined __stub___socket
46770 choke me
46771 #endif
46772
46773 int
46774 main ()
46775 {
46776 return socket ();
46777 ;
46778 return 0;
46779 }
46780 _ACEOF
46781 rm -f conftest.$ac_objext conftest$ac_exeext
46782 if { (ac_try="$ac_link"
46783 case "(($ac_try" in
46784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46785 *) ac_try_echo=$ac_try;;
46786 esac
46787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46788 (eval "$ac_link") 2>conftest.er1
46789 ac_status=$?
46790 grep -v '^ *+' conftest.er1 >conftest.err
46791 rm -f conftest.er1
46792 cat conftest.err >&5
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); } && {
46795 test -z "$ac_c_werror_flag" ||
46796 test ! -s conftest.err
46797 } && test -s conftest$ac_exeext &&
46798 $as_test_x conftest$ac_exeext; then
46799 ac_cv_func_socket=yes
46800 else
46801 echo "$as_me: failed program was:" >&5
46802 sed 's/^/| /' conftest.$ac_ext >&5
46803
46804 ac_cv_func_socket=no
46805 fi
46806
46807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46808 conftest$ac_exeext conftest.$ac_ext
46809 fi
46810 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46811 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46812 if test $ac_cv_func_socket = yes; then
46813 :
46814 else
46815
46816 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46817 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46818 if test "${ac_cv_lib_socket_socket+set}" = set; then
46819 echo $ECHO_N "(cached) $ECHO_C" >&6
46820 else
46821 ac_check_lib_save_LIBS=$LIBS
46822 LIBS="-lsocket $LIBS"
46823 cat >conftest.$ac_ext <<_ACEOF
46824 /* confdefs.h. */
46825 _ACEOF
46826 cat confdefs.h >>conftest.$ac_ext
46827 cat >>conftest.$ac_ext <<_ACEOF
46828 /* end confdefs.h. */
46829
46830 /* Override any GCC internal prototype to avoid an error.
46831 Use char because int might match the return type of a GCC
46832 builtin and then its argument prototype would still apply. */
46833 #ifdef __cplusplus
46834 extern "C"
46835 #endif
46836 char socket ();
46837 int
46838 main ()
46839 {
46840 return socket ();
46841 ;
46842 return 0;
46843 }
46844 _ACEOF
46845 rm -f conftest.$ac_objext conftest$ac_exeext
46846 if { (ac_try="$ac_link"
46847 case "(($ac_try" in
46848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46849 *) ac_try_echo=$ac_try;;
46850 esac
46851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46852 (eval "$ac_link") 2>conftest.er1
46853 ac_status=$?
46854 grep -v '^ *+' conftest.er1 >conftest.err
46855 rm -f conftest.er1
46856 cat conftest.err >&5
46857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46858 (exit $ac_status); } && {
46859 test -z "$ac_c_werror_flag" ||
46860 test ! -s conftest.err
46861 } && test -s conftest$ac_exeext &&
46862 $as_test_x conftest$ac_exeext; then
46863 ac_cv_lib_socket_socket=yes
46864 else
46865 echo "$as_me: failed program was:" >&5
46866 sed 's/^/| /' conftest.$ac_ext >&5
46867
46868 ac_cv_lib_socket_socket=no
46869 fi
46870
46871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46872 conftest$ac_exeext conftest.$ac_ext
46873 LIBS=$ac_check_lib_save_LIBS
46874 fi
46875 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46876 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46877 if test $ac_cv_lib_socket_socket = yes; then
46878 if test "$INET_LINK" != " -lsocket"; then
46879 INET_LINK="$INET_LINK -lsocket"
46880 fi
46881 else
46882
46883 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46884 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46885 wxUSE_SOCKETS=no
46886
46887
46888 fi
46889
46890
46891
46892 fi
46893
46894 fi
46895 fi
46896
46897 if test "$wxUSE_SOCKETS" = "yes" ; then
46898 if test "$TOOLKIT" != "MSW"; then
46899 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46900 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46901 if test "${wx_cv_type_getsockname3+set}" = set; then
46902 echo $ECHO_N "(cached) $ECHO_C" >&6
46903 else
46904
46905 ac_ext=cpp
46906 ac_cpp='$CXXCPP $CPPFLAGS'
46907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46910
46911 cat >conftest.$ac_ext <<_ACEOF
46912 /* confdefs.h. */
46913 _ACEOF
46914 cat confdefs.h >>conftest.$ac_ext
46915 cat >>conftest.$ac_ext <<_ACEOF
46916 /* end confdefs.h. */
46917
46918 #include <sys/types.h>
46919 #include <sys/socket.h>
46920
46921 int
46922 main ()
46923 {
46924
46925 socklen_t len;
46926 getsockname(0, 0, &len);
46927
46928 ;
46929 return 0;
46930 }
46931 _ACEOF
46932 rm -f conftest.$ac_objext
46933 if { (ac_try="$ac_compile"
46934 case "(($ac_try" in
46935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46936 *) ac_try_echo=$ac_try;;
46937 esac
46938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46939 (eval "$ac_compile") 2>conftest.er1
46940 ac_status=$?
46941 grep -v '^ *+' conftest.er1 >conftest.err
46942 rm -f conftest.er1
46943 cat conftest.err >&5
46944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46945 (exit $ac_status); } && {
46946 test -z "$ac_cxx_werror_flag" ||
46947 test ! -s conftest.err
46948 } && test -s conftest.$ac_objext; then
46949 wx_cv_type_getsockname3=socklen_t
46950 else
46951 echo "$as_me: failed program was:" >&5
46952 sed 's/^/| /' conftest.$ac_ext >&5
46953
46954
46955 CFLAGS_OLD="$CFLAGS"
46956 if test "$GCC" = yes ; then
46957 CFLAGS="-Werror $CFLAGS"
46958 fi
46959
46960 cat >conftest.$ac_ext <<_ACEOF
46961 /* confdefs.h. */
46962 _ACEOF
46963 cat confdefs.h >>conftest.$ac_ext
46964 cat >>conftest.$ac_ext <<_ACEOF
46965 /* end confdefs.h. */
46966
46967 #include <sys/types.h>
46968 #include <sys/socket.h>
46969
46970 int
46971 main ()
46972 {
46973
46974 size_t len;
46975 getsockname(0, 0, &len);
46976
46977 ;
46978 return 0;
46979 }
46980 _ACEOF
46981 rm -f conftest.$ac_objext
46982 if { (ac_try="$ac_compile"
46983 case "(($ac_try" in
46984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46985 *) ac_try_echo=$ac_try;;
46986 esac
46987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46988 (eval "$ac_compile") 2>conftest.er1
46989 ac_status=$?
46990 grep -v '^ *+' conftest.er1 >conftest.err
46991 rm -f conftest.er1
46992 cat conftest.err >&5
46993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46994 (exit $ac_status); } && {
46995 test -z "$ac_cxx_werror_flag" ||
46996 test ! -s conftest.err
46997 } && test -s conftest.$ac_objext; then
46998 wx_cv_type_getsockname3=size_t
46999 else
47000 echo "$as_me: failed program was:" >&5
47001 sed 's/^/| /' conftest.$ac_ext >&5
47002
47003 cat >conftest.$ac_ext <<_ACEOF
47004 /* confdefs.h. */
47005 _ACEOF
47006 cat confdefs.h >>conftest.$ac_ext
47007 cat >>conftest.$ac_ext <<_ACEOF
47008 /* end confdefs.h. */
47009
47010 #include <sys/types.h>
47011 #include <sys/socket.h>
47012
47013 int
47014 main ()
47015 {
47016
47017 int len;
47018 getsockname(0, 0, &len);
47019
47020 ;
47021 return 0;
47022 }
47023 _ACEOF
47024 rm -f conftest.$ac_objext
47025 if { (ac_try="$ac_compile"
47026 case "(($ac_try" in
47027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47028 *) ac_try_echo=$ac_try;;
47029 esac
47030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47031 (eval "$ac_compile") 2>conftest.er1
47032 ac_status=$?
47033 grep -v '^ *+' conftest.er1 >conftest.err
47034 rm -f conftest.er1
47035 cat conftest.err >&5
47036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47037 (exit $ac_status); } && {
47038 test -z "$ac_cxx_werror_flag" ||
47039 test ! -s conftest.err
47040 } && test -s conftest.$ac_objext; then
47041 wx_cv_type_getsockname3=int
47042 else
47043 echo "$as_me: failed program was:" >&5
47044 sed 's/^/| /' conftest.$ac_ext >&5
47045
47046 wx_cv_type_getsockname3=unknown
47047
47048 fi
47049
47050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47051
47052 fi
47053
47054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47055
47056 CFLAGS="$CFLAGS_OLD"
47057
47058
47059 fi
47060
47061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47062 ac_ext=c
47063 ac_cpp='$CPP $CPPFLAGS'
47064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47067
47068
47069 fi
47070 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
47071 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
47072
47073 if test "$wx_cv_type_getsockname3" = "unknown"; then
47074 wxUSE_SOCKETS=no
47075 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47076 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47077 else
47078 cat >>confdefs.h <<_ACEOF
47079 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
47080 _ACEOF
47081
47082 fi
47083 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
47084 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
47085 if test "${wx_cv_type_getsockopt5+set}" = set; then
47086 echo $ECHO_N "(cached) $ECHO_C" >&6
47087 else
47088
47089 ac_ext=cpp
47090 ac_cpp='$CXXCPP $CPPFLAGS'
47091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47094
47095 cat >conftest.$ac_ext <<_ACEOF
47096 /* confdefs.h. */
47097 _ACEOF
47098 cat confdefs.h >>conftest.$ac_ext
47099 cat >>conftest.$ac_ext <<_ACEOF
47100 /* end confdefs.h. */
47101
47102 #include <sys/types.h>
47103 #include <sys/socket.h>
47104
47105 int
47106 main ()
47107 {
47108
47109 socklen_t len;
47110 getsockopt(0, 0, 0, 0, &len);
47111
47112 ;
47113 return 0;
47114 }
47115 _ACEOF
47116 rm -f conftest.$ac_objext
47117 if { (ac_try="$ac_compile"
47118 case "(($ac_try" in
47119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47120 *) ac_try_echo=$ac_try;;
47121 esac
47122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47123 (eval "$ac_compile") 2>conftest.er1
47124 ac_status=$?
47125 grep -v '^ *+' conftest.er1 >conftest.err
47126 rm -f conftest.er1
47127 cat conftest.err >&5
47128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47129 (exit $ac_status); } && {
47130 test -z "$ac_cxx_werror_flag" ||
47131 test ! -s conftest.err
47132 } && test -s conftest.$ac_objext; then
47133 wx_cv_type_getsockopt5=socklen_t
47134 else
47135 echo "$as_me: failed program was:" >&5
47136 sed 's/^/| /' conftest.$ac_ext >&5
47137
47138
47139 cat >conftest.$ac_ext <<_ACEOF
47140 /* confdefs.h. */
47141 _ACEOF
47142 cat confdefs.h >>conftest.$ac_ext
47143 cat >>conftest.$ac_ext <<_ACEOF
47144 /* end confdefs.h. */
47145
47146 #include <sys/types.h>
47147 #include <sys/socket.h>
47148
47149 int
47150 main ()
47151 {
47152
47153 size_t len;
47154 getsockopt(0, 0, 0, 0, &len);
47155
47156 ;
47157 return 0;
47158 }
47159 _ACEOF
47160 rm -f conftest.$ac_objext
47161 if { (ac_try="$ac_compile"
47162 case "(($ac_try" in
47163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47164 *) ac_try_echo=$ac_try;;
47165 esac
47166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47167 (eval "$ac_compile") 2>conftest.er1
47168 ac_status=$?
47169 grep -v '^ *+' conftest.er1 >conftest.err
47170 rm -f conftest.er1
47171 cat conftest.err >&5
47172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47173 (exit $ac_status); } && {
47174 test -z "$ac_cxx_werror_flag" ||
47175 test ! -s conftest.err
47176 } && test -s conftest.$ac_objext; then
47177 wx_cv_type_getsockopt5=size_t
47178 else
47179 echo "$as_me: failed program was:" >&5
47180 sed 's/^/| /' conftest.$ac_ext >&5
47181
47182 cat >conftest.$ac_ext <<_ACEOF
47183 /* confdefs.h. */
47184 _ACEOF
47185 cat confdefs.h >>conftest.$ac_ext
47186 cat >>conftest.$ac_ext <<_ACEOF
47187 /* end confdefs.h. */
47188
47189 #include <sys/types.h>
47190 #include <sys/socket.h>
47191
47192 int
47193 main ()
47194 {
47195
47196 int len;
47197 getsockopt(0, 0, 0, 0, &len);
47198
47199 ;
47200 return 0;
47201 }
47202 _ACEOF
47203 rm -f conftest.$ac_objext
47204 if { (ac_try="$ac_compile"
47205 case "(($ac_try" in
47206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47207 *) ac_try_echo=$ac_try;;
47208 esac
47209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47210 (eval "$ac_compile") 2>conftest.er1
47211 ac_status=$?
47212 grep -v '^ *+' conftest.er1 >conftest.err
47213 rm -f conftest.er1
47214 cat conftest.err >&5
47215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47216 (exit $ac_status); } && {
47217 test -z "$ac_cxx_werror_flag" ||
47218 test ! -s conftest.err
47219 } && test -s conftest.$ac_objext; then
47220 wx_cv_type_getsockopt5=int
47221 else
47222 echo "$as_me: failed program was:" >&5
47223 sed 's/^/| /' conftest.$ac_ext >&5
47224
47225 wx_cv_type_getsockopt5=unknown
47226
47227 fi
47228
47229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47230
47231 fi
47232
47233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47234
47235
47236 fi
47237
47238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47239 ac_ext=c
47240 ac_cpp='$CPP $CPPFLAGS'
47241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47244
47245
47246 fi
47247 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
47248 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
47249
47250 if test "$wx_cv_type_getsockopt5" = "unknown"; then
47251 wxUSE_SOCKETS=no
47252 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
47253 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
47254 else
47255 cat >>confdefs.h <<_ACEOF
47256 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
47257 _ACEOF
47258
47259 fi
47260 fi
47261 fi
47262
47263 if test "$wxUSE_SOCKETS" = "yes" ; then
47264 cat >>confdefs.h <<\_ACEOF
47265 #define wxUSE_SOCKETS 1
47266 _ACEOF
47267
47268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
47269 fi
47270
47271 if test "$wxUSE_PROTOCOL" = "yes"; then
47272 if test "$wxUSE_SOCKETS" != "yes"; then
47273 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
47274 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
47275 wxUSE_PROTOCOL=no
47276 fi
47277 fi
47278
47279 if test "$wxUSE_PROTOCOL" = "yes"; then
47280 cat >>confdefs.h <<\_ACEOF
47281 #define wxUSE_PROTOCOL 1
47282 _ACEOF
47283
47284
47285 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
47286 cat >>confdefs.h <<\_ACEOF
47287 #define wxUSE_PROTOCOL_HTTP 1
47288 _ACEOF
47289
47290 fi
47291 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
47292 cat >>confdefs.h <<\_ACEOF
47293 #define wxUSE_PROTOCOL_FTP 1
47294 _ACEOF
47295
47296 fi
47297 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
47298 cat >>confdefs.h <<\_ACEOF
47299 #define wxUSE_PROTOCOL_FILE 1
47300 _ACEOF
47301
47302 fi
47303 else
47304 if test "$wxUSE_FS_INET" = "yes"; then
47305 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
47306 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
47307 wxUSE_FS_INET="no"
47308 fi
47309 fi
47310
47311 if test "$wxUSE_URL" = "yes"; then
47312 if test "$wxUSE_PROTOCOL" != "yes"; then
47313 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
47314 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
47315 wxUSE_URL=no
47316 fi
47317 if test "$wxUSE_URL" = "yes"; then
47318 cat >>confdefs.h <<\_ACEOF
47319 #define wxUSE_URL 1
47320 _ACEOF
47321
47322 fi
47323 fi
47324
47325 if test "$wxUSE_VARIANT" = "yes"; then
47326 cat >>confdefs.h <<\_ACEOF
47327 #define wxUSE_VARIANT 1
47328 _ACEOF
47329
47330 fi
47331
47332 if test "$wxUSE_FS_INET" = "yes"; then
47333 cat >>confdefs.h <<\_ACEOF
47334 #define wxUSE_FS_INET 1
47335 _ACEOF
47336
47337 fi
47338
47339
47340 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
47341 wxUSE_JOYSTICK=no
47342
47343 if test "$TOOLKIT" = "MSW"; then
47344 wxUSE_JOYSTICK=yes
47345
47346 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
47347 if test "$USE_DARWIN" = 1; then
47348 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
47349 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
47350 ac_ext=cpp
47351 ac_cpp='$CXXCPP $CPPFLAGS'
47352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47355
47356 cat >conftest.$ac_ext <<_ACEOF
47357 /* confdefs.h. */
47358 _ACEOF
47359 cat confdefs.h >>conftest.$ac_ext
47360 cat >>conftest.$ac_ext <<_ACEOF
47361 /* end confdefs.h. */
47362 #include <IOKit/hid/IOHIDLib.h>
47363 int
47364 main ()
47365 {
47366 IOHIDQueueInterface *qi = NULL;
47367 IOHIDCallbackFunction cb = NULL;
47368 qi->setEventCallout(NULL, cb, NULL, NULL);
47369 ;
47370 return 0;
47371 }
47372 _ACEOF
47373 rm -f conftest.$ac_objext
47374 if { (ac_try="$ac_compile"
47375 case "(($ac_try" in
47376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47377 *) ac_try_echo=$ac_try;;
47378 esac
47379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47380 (eval "$ac_compile") 2>conftest.er1
47381 ac_status=$?
47382 grep -v '^ *+' conftest.er1 >conftest.err
47383 rm -f conftest.er1
47384 cat conftest.err >&5
47385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47386 (exit $ac_status); } && {
47387 test -z "$ac_cxx_werror_flag" ||
47388 test ! -s conftest.err
47389 } && test -s conftest.$ac_objext; then
47390 wxUSE_JOYSTICK=yes
47391
47392 else
47393 echo "$as_me: failed program was:" >&5
47394 sed 's/^/| /' conftest.$ac_ext >&5
47395
47396
47397 fi
47398
47399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47400 ac_ext=c
47401 ac_cpp='$CPP $CPPFLAGS'
47402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47405
47406 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
47407 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
47408 fi
47409
47410 else
47411 if test "$wxUSE_MGL" != "1"; then
47412
47413 for ac_header in linux/joystick.h
47414 do
47415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47419 echo $ECHO_N "(cached) $ECHO_C" >&6
47420 else
47421 cat >conftest.$ac_ext <<_ACEOF
47422 /* confdefs.h. */
47423 _ACEOF
47424 cat confdefs.h >>conftest.$ac_ext
47425 cat >>conftest.$ac_ext <<_ACEOF
47426 /* end confdefs.h. */
47427 $ac_includes_default
47428
47429 #include <$ac_header>
47430 _ACEOF
47431 rm -f conftest.$ac_objext
47432 if { (ac_try="$ac_compile"
47433 case "(($ac_try" in
47434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47435 *) ac_try_echo=$ac_try;;
47436 esac
47437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47438 (eval "$ac_compile") 2>conftest.er1
47439 ac_status=$?
47440 grep -v '^ *+' conftest.er1 >conftest.err
47441 rm -f conftest.er1
47442 cat conftest.err >&5
47443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47444 (exit $ac_status); } && {
47445 test -z "$ac_c_werror_flag" ||
47446 test ! -s conftest.err
47447 } && test -s conftest.$ac_objext; then
47448 eval "$as_ac_Header=yes"
47449 else
47450 echo "$as_me: failed program was:" >&5
47451 sed 's/^/| /' conftest.$ac_ext >&5
47452
47453 eval "$as_ac_Header=no"
47454 fi
47455
47456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47457 fi
47458 ac_res=`eval echo '${'$as_ac_Header'}'`
47459 { echo "$as_me:$LINENO: result: $ac_res" >&5
47460 echo "${ECHO_T}$ac_res" >&6; }
47461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47462 cat >>confdefs.h <<_ACEOF
47463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47464 _ACEOF
47465 wxUSE_JOYSTICK=yes
47466 fi
47467
47468 done
47469
47470 fi
47471 fi
47472
47473 if test "$wxUSE_JOYSTICK" = "yes"; then
47474 cat >>confdefs.h <<\_ACEOF
47475 #define wxUSE_JOYSTICK 1
47476 _ACEOF
47477
47478 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47479 else
47480 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47481 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47482 fi
47483 fi
47484
47485
47486
47487 if test "$wxUSE_FONTMAP" = "yes" ; then
47488 cat >>confdefs.h <<\_ACEOF
47489 #define wxUSE_FONTMAP 1
47490 _ACEOF
47491
47492 fi
47493
47494 if test "$wxUSE_UNICODE" = "yes" ; then
47495 cat >>confdefs.h <<\_ACEOF
47496 #define wxUSE_UNICODE 1
47497 _ACEOF
47498
47499
47500 if test "$USE_WIN32" != 1; then
47501 wxUSE_UNICODE_MSLU=no
47502 fi
47503
47504 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47505 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47506 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47507 if test "${ac_cv_lib_unicows_main+set}" = set; then
47508 echo $ECHO_N "(cached) $ECHO_C" >&6
47509 else
47510 ac_check_lib_save_LIBS=$LIBS
47511 LIBS="-lunicows $LIBS"
47512 cat >conftest.$ac_ext <<_ACEOF
47513 /* confdefs.h. */
47514 _ACEOF
47515 cat confdefs.h >>conftest.$ac_ext
47516 cat >>conftest.$ac_ext <<_ACEOF
47517 /* end confdefs.h. */
47518
47519
47520 int
47521 main ()
47522 {
47523 return main ();
47524 ;
47525 return 0;
47526 }
47527 _ACEOF
47528 rm -f conftest.$ac_objext conftest$ac_exeext
47529 if { (ac_try="$ac_link"
47530 case "(($ac_try" in
47531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47532 *) ac_try_echo=$ac_try;;
47533 esac
47534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47535 (eval "$ac_link") 2>conftest.er1
47536 ac_status=$?
47537 grep -v '^ *+' conftest.er1 >conftest.err
47538 rm -f conftest.er1
47539 cat conftest.err >&5
47540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47541 (exit $ac_status); } && {
47542 test -z "$ac_c_werror_flag" ||
47543 test ! -s conftest.err
47544 } && test -s conftest$ac_exeext &&
47545 $as_test_x conftest$ac_exeext; then
47546 ac_cv_lib_unicows_main=yes
47547 else
47548 echo "$as_me: failed program was:" >&5
47549 sed 's/^/| /' conftest.$ac_ext >&5
47550
47551 ac_cv_lib_unicows_main=no
47552 fi
47553
47554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47555 conftest$ac_exeext conftest.$ac_ext
47556 LIBS=$ac_check_lib_save_LIBS
47557 fi
47558 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47559 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47560 if test $ac_cv_lib_unicows_main = yes; then
47561
47562 cat >>confdefs.h <<\_ACEOF
47563 #define wxUSE_UNICODE_MSLU 1
47564 _ACEOF
47565
47566
47567 else
47568
47569 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47570 Applications will only run on Windows NT/2000/XP!" >&5
47571 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47572 Applications will only run on Windows NT/2000/XP!" >&2;}
47573 wxUSE_UNICODE_MSLU=no
47574
47575 fi
47576
47577 fi
47578 fi
47579
47580 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47581 cat >>confdefs.h <<\_ACEOF
47582 #define wxUSE_UNICODE_UTF8 1
47583 _ACEOF
47584
47585
47586 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47587 cat >>confdefs.h <<\_ACEOF
47588 #define wxUSE_UTF8_LOCALE_ONLY 1
47589 _ACEOF
47590
47591 fi
47592 fi
47593
47594 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
47595 cat >>confdefs.h <<\_ACEOF
47596 #define wxUSE_EXPERIMENTAL_PRINTF 1
47597 _ACEOF
47598
47599 fi
47600
47601
47602 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47603 cat >>confdefs.h <<\_ACEOF
47604 #define wxUSE_CONSTRAINTS 1
47605 _ACEOF
47606
47607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
47608 fi
47609
47610 if test "$wxUSE_MDI" = "yes"; then
47611 cat >>confdefs.h <<\_ACEOF
47612 #define wxUSE_MDI 1
47613 _ACEOF
47614
47615
47616 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47617 cat >>confdefs.h <<\_ACEOF
47618 #define wxUSE_MDI_ARCHITECTURE 1
47619 _ACEOF
47620
47621 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
47622 fi
47623 fi
47624
47625 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47626 cat >>confdefs.h <<\_ACEOF
47627 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47628 _ACEOF
47629
47630 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
47631 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
47633 fi
47634 fi
47635
47636 if test "$wxUSE_HELP" = "yes"; then
47637 cat >>confdefs.h <<\_ACEOF
47638 #define wxUSE_HELP 1
47639 _ACEOF
47640
47641 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
47642
47643 if test "$wxUSE_MSW" = 1; then
47644 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_MS_HTML_HELP 1
47647 _ACEOF
47648
47649 fi
47650 fi
47651
47652 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47653 if test "$wxUSE_HTML" = "yes"; then
47654 cat >>confdefs.h <<\_ACEOF
47655 #define wxUSE_WXHTML_HELP 1
47656 _ACEOF
47657
47658 else
47659 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47660 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47661 wxUSE_WXHTML_HELP=no
47662 fi
47663 fi
47664 fi
47665
47666 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47667 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47668 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
47669 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
47670 else
47671 cat >>confdefs.h <<\_ACEOF
47672 #define wxUSE_PRINTING_ARCHITECTURE 1
47673 _ACEOF
47674
47675 fi
47676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
47677 fi
47678
47679 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47680 cat >>confdefs.h <<\_ACEOF
47681 #define wxUSE_POSTSCRIPT 1
47682 _ACEOF
47683
47684 fi
47685
47686 cat >>confdefs.h <<\_ACEOF
47687 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47688 _ACEOF
47689
47690
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_NORMALIZED_PS_FONTS 1
47693 _ACEOF
47694
47695
47696 if test "$wxUSE_SVG" = "yes"; then
47697 cat >>confdefs.h <<\_ACEOF
47698 #define wxUSE_SVG 1
47699 _ACEOF
47700
47701 fi
47702
47703
47704 if test "$wxUSE_METAFILE" = "yes"; then
47705 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47706 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47707 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47708 wxUSE_METAFILE=no
47709 fi
47710 fi
47711
47712
47713 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
47714 -o "$wxUSE_CLIPBOARD" = "yes" \
47715 -o "$wxUSE_OLE" = "yes" \
47716 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
47717 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47718 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47719 if test "${ac_cv_header_ole2_h+set}" = set; then
47720 echo $ECHO_N "(cached) $ECHO_C" >&6
47721 else
47722 cat >conftest.$ac_ext <<_ACEOF
47723 /* confdefs.h. */
47724 _ACEOF
47725 cat confdefs.h >>conftest.$ac_ext
47726 cat >>conftest.$ac_ext <<_ACEOF
47727 /* end confdefs.h. */
47728
47729
47730 #include <ole2.h>
47731 _ACEOF
47732 rm -f conftest.$ac_objext
47733 if { (ac_try="$ac_compile"
47734 case "(($ac_try" in
47735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47736 *) ac_try_echo=$ac_try;;
47737 esac
47738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47739 (eval "$ac_compile") 2>conftest.er1
47740 ac_status=$?
47741 grep -v '^ *+' conftest.er1 >conftest.err
47742 rm -f conftest.er1
47743 cat conftest.err >&5
47744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47745 (exit $ac_status); } && {
47746 test -z "$ac_c_werror_flag" ||
47747 test ! -s conftest.err
47748 } && test -s conftest.$ac_objext; then
47749 ac_cv_header_ole2_h=yes
47750 else
47751 echo "$as_me: failed program was:" >&5
47752 sed 's/^/| /' conftest.$ac_ext >&5
47753
47754 ac_cv_header_ole2_h=no
47755 fi
47756
47757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47758 fi
47759 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47760 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47761
47762
47763
47764 if test "$ac_cv_header_ole2_h" = "yes" ; then
47765 if test "$GCC" = yes ; then
47766 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47767 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47768 cat >conftest.$ac_ext <<_ACEOF
47769 /* confdefs.h. */
47770 _ACEOF
47771 cat confdefs.h >>conftest.$ac_ext
47772 cat >>conftest.$ac_ext <<_ACEOF
47773 /* end confdefs.h. */
47774 #include <windows.h>
47775 #include <ole2.h>
47776 int
47777 main ()
47778 {
47779
47780 ;
47781 return 0;
47782 }
47783 _ACEOF
47784 rm -f conftest.$ac_objext
47785 if { (ac_try="$ac_compile"
47786 case "(($ac_try" in
47787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47788 *) ac_try_echo=$ac_try;;
47789 esac
47790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47791 (eval "$ac_compile") 2>conftest.er1
47792 ac_status=$?
47793 grep -v '^ *+' conftest.er1 >conftest.err
47794 rm -f conftest.er1
47795 cat conftest.err >&5
47796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47797 (exit $ac_status); } && {
47798 test -z "$ac_c_werror_flag" ||
47799 test ! -s conftest.err
47800 } && test -s conftest.$ac_objext; then
47801 { echo "$as_me:$LINENO: result: no" >&5
47802 echo "${ECHO_T}no" >&6; }
47803 else
47804 echo "$as_me: failed program was:" >&5
47805 sed 's/^/| /' conftest.$ac_ext >&5
47806
47807 { echo "$as_me:$LINENO: result: yes" >&5
47808 echo "${ECHO_T}yes" >&6; }
47809 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47810 fi
47811
47812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47813 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47814 if test "$wxUSE_OLE" = "yes" ; then
47815 cat >>confdefs.h <<\_ACEOF
47816 #define wxUSE_OLE 1
47817 _ACEOF
47818
47819 cat >>confdefs.h <<\_ACEOF
47820 #define wxUSE_OLE_AUTOMATION 1
47821 _ACEOF
47822
47823 cat >>confdefs.h <<\_ACEOF
47824 #define wxUSE_ACTIVEX 1
47825 _ACEOF
47826
47827 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
47828 fi
47829 fi
47830
47831 if test "$wxUSE_DATAOBJ" = "yes" ; then
47832 cat >>confdefs.h <<\_ACEOF
47833 #define wxUSE_DATAOBJ 1
47834 _ACEOF
47835
47836 fi
47837 else
47838 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47839 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47840
47841 wxUSE_CLIPBOARD=no
47842 wxUSE_DRAG_AND_DROP=no
47843 wxUSE_DATAOBJ=no
47844 wxUSE_OLE=no
47845 fi
47846
47847 if test "$wxUSE_METAFILE" = "yes"; then
47848 cat >>confdefs.h <<\_ACEOF
47849 #define wxUSE_METAFILE 1
47850 _ACEOF
47851
47852
47853 cat >>confdefs.h <<\_ACEOF
47854 #define wxUSE_ENH_METAFILE 1
47855 _ACEOF
47856
47857 fi
47858 fi
47859
47860 if test "$wxUSE_IPC" = "yes"; then
47861 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47862 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47863 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47864 wxUSE_IPC=no
47865 fi
47866
47867 if test "$wxUSE_IPC" = "yes"; then
47868 cat >>confdefs.h <<\_ACEOF
47869 #define wxUSE_IPC 1
47870 _ACEOF
47871
47872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
47873 fi
47874 fi
47875
47876 if test "$wxUSE_DATAOBJ" = "yes"; then
47877 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47878 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47879 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47880 wxUSE_DATAOBJ=no
47881 else
47882 cat >>confdefs.h <<\_ACEOF
47883 #define wxUSE_DATAOBJ 1
47884 _ACEOF
47885
47886 fi
47887 else
47888 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47889 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47890 wxUSE_CLIPBOARD=no
47891 wxUSE_DRAG_AND_DROP=no
47892 fi
47893
47894 if test "$wxUSE_CLIPBOARD" = "yes"; then
47895 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47896 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47897 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47898 wxUSE_CLIPBOARD=no
47899 fi
47900
47901 if test "$wxUSE_CLIPBOARD" = "yes"; then
47902 cat >>confdefs.h <<\_ACEOF
47903 #define wxUSE_CLIPBOARD 1
47904 _ACEOF
47905
47906 fi
47907 fi
47908
47909 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47910 if test "$wxUSE_GTK" = 1; then
47911 if test "$WXGTK12" != 1; then
47912 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
47913 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
47914 wxUSE_DRAG_AND_DROP=no
47915 fi
47916 fi
47917
47918 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47919 "$wxUSE_DFB" = 1; then
47920 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47921 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47922 wxUSE_DRAG_AND_DROP=no
47923 fi
47924
47925 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47926 cat >>confdefs.h <<\_ACEOF
47927 #define wxUSE_DRAG_AND_DROP 1
47928 _ACEOF
47929
47930 fi
47931
47932 fi
47933
47934 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47935 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
47936 fi
47937
47938 if test "$wxUSE_SPLINES" = "yes" ; then
47939 cat >>confdefs.h <<\_ACEOF
47940 #define wxUSE_SPLINES 1
47941 _ACEOF
47942
47943 fi
47944
47945 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47946 cat >>confdefs.h <<\_ACEOF
47947 #define wxUSE_MOUSEWHEEL 1
47948 _ACEOF
47949
47950 fi
47951
47952
47953 USES_CONTROLS=0
47954 if test "$wxUSE_CONTROLS" = "yes"; then
47955 USES_CONTROLS=1
47956 fi
47957
47958 if test "$wxUSE_ACCEL" = "yes"; then
47959 cat >>confdefs.h <<\_ACEOF
47960 #define wxUSE_ACCEL 1
47961 _ACEOF
47962
47963 USES_CONTROLS=1
47964 fi
47965
47966 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47967 cat >>confdefs.h <<\_ACEOF
47968 #define wxUSE_ANIMATIONCTRL 1
47969 _ACEOF
47970
47971 USES_CONTROLS=1
47972 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
47973 fi
47974
47975 if test "$wxUSE_BUTTON" = "yes"; then
47976 cat >>confdefs.h <<\_ACEOF
47977 #define wxUSE_BUTTON 1
47978 _ACEOF
47979
47980 USES_CONTROLS=1
47981 fi
47982
47983 if test "$wxUSE_BMPBUTTON" = "yes"; then
47984 cat >>confdefs.h <<\_ACEOF
47985 #define wxUSE_BMPBUTTON 1
47986 _ACEOF
47987
47988 USES_CONTROLS=1
47989 fi
47990
47991 if test "$wxUSE_CALCTRL" = "yes"; then
47992 cat >>confdefs.h <<\_ACEOF
47993 #define wxUSE_CALENDARCTRL 1
47994 _ACEOF
47995
47996 USES_CONTROLS=1
47997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
47998 fi
47999
48000 if test "$wxUSE_CARET" = "yes"; then
48001 cat >>confdefs.h <<\_ACEOF
48002 #define wxUSE_CARET 1
48003 _ACEOF
48004
48005 USES_CONTROLS=1
48006 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
48007 fi
48008
48009 if test "$wxUSE_COLLPANE" = "yes"; then
48010 cat >>confdefs.h <<\_ACEOF
48011 #define wxUSE_COLLPANE 1
48012 _ACEOF
48013
48014 USES_CONTROLS=1
48015 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
48016 fi
48017
48018 if test "$wxUSE_COMBOBOX" = "yes"; then
48019 cat >>confdefs.h <<\_ACEOF
48020 #define wxUSE_COMBOBOX 1
48021 _ACEOF
48022
48023 USES_CONTROLS=1
48024 fi
48025
48026 if test "$wxUSE_COMBOCTRL" = "yes"; then
48027 cat >>confdefs.h <<\_ACEOF
48028 #define wxUSE_COMBOCTRL 1
48029 _ACEOF
48030
48031 USES_CONTROLS=1
48032 fi
48033
48034 if test "$wxUSE_CHOICE" = "yes"; then
48035 cat >>confdefs.h <<\_ACEOF
48036 #define wxUSE_CHOICE 1
48037 _ACEOF
48038
48039 USES_CONTROLS=1
48040 fi
48041
48042 if test "$wxUSE_CHOICEBOOK" = "yes"; then
48043 cat >>confdefs.h <<\_ACEOF
48044 #define wxUSE_CHOICEBOOK 1
48045 _ACEOF
48046
48047 USES_CONTROLS=1
48048 fi
48049
48050 if test "$wxUSE_CHECKBOX" = "yes"; then
48051 cat >>confdefs.h <<\_ACEOF
48052 #define wxUSE_CHECKBOX 1
48053 _ACEOF
48054
48055 USES_CONTROLS=1
48056 fi
48057
48058 if test "$wxUSE_CHECKLST" = "yes"; then
48059 cat >>confdefs.h <<\_ACEOF
48060 #define wxUSE_CHECKLISTBOX 1
48061 _ACEOF
48062
48063 USES_CONTROLS=1
48064 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
48065 fi
48066
48067 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
48068 cat >>confdefs.h <<\_ACEOF
48069 #define wxUSE_COLOURPICKERCTRL 1
48070 _ACEOF
48071
48072 USES_CONTROLS=1
48073 fi
48074
48075 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
48076 cat >>confdefs.h <<\_ACEOF
48077 #define wxUSE_DATEPICKCTRL 1
48078 _ACEOF
48079
48080 USES_CONTROLS=1
48081 fi
48082
48083 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
48084 cat >>confdefs.h <<\_ACEOF
48085 #define wxUSE_DIRPICKERCTRL 1
48086 _ACEOF
48087
48088 USES_CONTROLS=1
48089 fi
48090
48091 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
48092 cat >>confdefs.h <<\_ACEOF
48093 #define wxUSE_FILEPICKERCTRL 1
48094 _ACEOF
48095
48096 USES_CONTROLS=1
48097 fi
48098
48099 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
48100 cat >>confdefs.h <<\_ACEOF
48101 #define wxUSE_FONTPICKERCTRL 1
48102 _ACEOF
48103
48104 USES_CONTROLS=1
48105 fi
48106
48107 if test "$wxUSE_DISPLAY" = "yes"; then
48108 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
48109 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
48110 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
48111 wxUSE_DISPLAY=no
48112 else
48113 cat >>confdefs.h <<\_ACEOF
48114 #define wxUSE_DISPLAY 1
48115 _ACEOF
48116
48117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
48118 fi
48119 fi
48120
48121 if test "$wxUSE_DETECT_SM" = "yes"; then
48122 cat >>confdefs.h <<\_ACEOF
48123 #define wxUSE_DETECT_SM 1
48124 _ACEOF
48125
48126 fi
48127
48128 if test "$wxUSE_GAUGE" = "yes"; then
48129 cat >>confdefs.h <<\_ACEOF
48130 #define wxUSE_GAUGE 1
48131 _ACEOF
48132
48133 USES_CONTROLS=1
48134 fi
48135
48136 if test "$wxUSE_GRID" = "yes"; then
48137 cat >>confdefs.h <<\_ACEOF
48138 #define wxUSE_GRID 1
48139 _ACEOF
48140
48141 USES_CONTROLS=1
48142 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
48143 fi
48144
48145 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
48146 cat >>confdefs.h <<\_ACEOF
48147 #define wxUSE_HYPERLINKCTRL 1
48148 _ACEOF
48149
48150 USES_CONTROLS=1
48151 fi
48152
48153 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
48154 cat >>confdefs.h <<\_ACEOF
48155 #define wxUSE_BITMAPCOMBOBOX 1
48156 _ACEOF
48157
48158 USES_CONTROLS=1
48159 fi
48160
48161 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
48162 cat >>confdefs.h <<\_ACEOF
48163 #define wxUSE_DATAVIEWCTRL 1
48164 _ACEOF
48165
48166 USES_CONTROLS=1
48167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
48168 fi
48169
48170 if test "$wxUSE_IMAGLIST" = "yes"; then
48171 cat >>confdefs.h <<\_ACEOF
48172 #define wxUSE_IMAGLIST 1
48173 _ACEOF
48174
48175 fi
48176
48177 if test "$wxUSE_LISTBOOK" = "yes"; then
48178 cat >>confdefs.h <<\_ACEOF
48179 #define wxUSE_LISTBOOK 1
48180 _ACEOF
48181
48182 USES_CONTROLS=1
48183 fi
48184
48185 if test "$wxUSE_LISTBOX" = "yes"; then
48186 cat >>confdefs.h <<\_ACEOF
48187 #define wxUSE_LISTBOX 1
48188 _ACEOF
48189
48190 USES_CONTROLS=1
48191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
48192 fi
48193
48194 if test "$wxUSE_LISTCTRL" = "yes"; then
48195 if test "$wxUSE_IMAGLIST" = "yes"; then
48196 cat >>confdefs.h <<\_ACEOF
48197 #define wxUSE_LISTCTRL 1
48198 _ACEOF
48199
48200 USES_CONTROLS=1
48201 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
48202 else
48203 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
48204 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
48205 fi
48206 fi
48207
48208 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
48209 cat >>confdefs.h <<\_ACEOF
48210 #define wxUSE_EDITABLELISTBOX 1
48211 _ACEOF
48212
48213 USES_CONTROLS=1
48214 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
48215 fi
48216
48217 if test "$wxUSE_NOTEBOOK" = "yes"; then
48218 cat >>confdefs.h <<\_ACEOF
48219 #define wxUSE_NOTEBOOK 1
48220 _ACEOF
48221
48222 USES_CONTROLS=1
48223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
48224 fi
48225
48226 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
48227 cat >>confdefs.h <<\_ACEOF
48228 #define wxUSE_ODCOMBOBOX 1
48229 _ACEOF
48230
48231 USES_CONTROLS=1
48232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
48233 fi
48234
48235
48236 if test "$wxUSE_RADIOBOX" = "yes"; then
48237 cat >>confdefs.h <<\_ACEOF
48238 #define wxUSE_RADIOBOX 1
48239 _ACEOF
48240
48241 USES_CONTROLS=1
48242 fi
48243
48244 if test "$wxUSE_RADIOBTN" = "yes"; then
48245 cat >>confdefs.h <<\_ACEOF
48246 #define wxUSE_RADIOBTN 1
48247 _ACEOF
48248
48249 USES_CONTROLS=1
48250 fi
48251
48252 if test "$wxUSE_SASH" = "yes"; then
48253 cat >>confdefs.h <<\_ACEOF
48254 #define wxUSE_SASH 1
48255 _ACEOF
48256
48257 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
48258 fi
48259
48260 if test "$wxUSE_SCROLLBAR" = "yes"; then
48261 cat >>confdefs.h <<\_ACEOF
48262 #define wxUSE_SCROLLBAR 1
48263 _ACEOF
48264
48265 USES_CONTROLS=1
48266 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
48267 fi
48268
48269 if test "$wxUSE_SEARCHCTRL" = "yes"; then
48270 cat >>confdefs.h <<\_ACEOF
48271 #define wxUSE_SEARCHCTRL 1
48272 _ACEOF
48273
48274 USES_CONTROLS=1
48275 fi
48276
48277 if test "$wxUSE_SLIDER" = "yes"; then
48278 cat >>confdefs.h <<\_ACEOF
48279 #define wxUSE_SLIDER 1
48280 _ACEOF
48281
48282 USES_CONTROLS=1
48283 fi
48284
48285 if test "$wxUSE_SPINBTN" = "yes"; then
48286 cat >>confdefs.h <<\_ACEOF
48287 #define wxUSE_SPINBTN 1
48288 _ACEOF
48289
48290 USES_CONTROLS=1
48291 fi
48292
48293 if test "$wxUSE_SPINCTRL" = "yes"; then
48294 cat >>confdefs.h <<\_ACEOF
48295 #define wxUSE_SPINCTRL 1
48296 _ACEOF
48297
48298 USES_CONTROLS=1
48299 fi
48300
48301 if test "$wxUSE_SPLITTER" = "yes"; then
48302 cat >>confdefs.h <<\_ACEOF
48303 #define wxUSE_SPLITTER 1
48304 _ACEOF
48305
48306 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
48307 fi
48308
48309 if test "$wxUSE_STATBMP" = "yes"; then
48310 cat >>confdefs.h <<\_ACEOF
48311 #define wxUSE_STATBMP 1
48312 _ACEOF
48313
48314 USES_CONTROLS=1
48315 fi
48316
48317 if test "$wxUSE_STATBOX" = "yes"; then
48318 cat >>confdefs.h <<\_ACEOF
48319 #define wxUSE_STATBOX 1
48320 _ACEOF
48321
48322 USES_CONTROLS=1
48323 fi
48324
48325 if test "$wxUSE_STATTEXT" = "yes"; then
48326 cat >>confdefs.h <<\_ACEOF
48327 #define wxUSE_STATTEXT 1
48328 _ACEOF
48329
48330 USES_CONTROLS=1
48331 fi
48332
48333 if test "$wxUSE_STATLINE" = "yes"; then
48334 cat >>confdefs.h <<\_ACEOF
48335 #define wxUSE_STATLINE 1
48336 _ACEOF
48337
48338 USES_CONTROLS=1
48339 fi
48340
48341 if test "$wxUSE_STATUSBAR" = "yes"; then
48342 cat >>confdefs.h <<\_ACEOF
48343 #define wxUSE_NATIVE_STATUSBAR 1
48344 _ACEOF
48345
48346 cat >>confdefs.h <<\_ACEOF
48347 #define wxUSE_STATUSBAR 1
48348 _ACEOF
48349
48350 USES_CONTROLS=1
48351
48352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
48353 fi
48354
48355 if test "$wxUSE_TAB_DIALOG" = "yes"; then
48356 cat >>confdefs.h <<\_ACEOF
48357 #define wxUSE_TAB_DIALOG 1
48358 _ACEOF
48359
48360 fi
48361
48362 if test "$wxUSE_TEXTCTRL" = "yes"; then
48363 cat >>confdefs.h <<\_ACEOF
48364 #define wxUSE_TEXTCTRL 1
48365 _ACEOF
48366
48367 USES_CONTROLS=1
48368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
48369 fi
48370
48371 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48372 if test "$wxUSE_COCOA" = 1 ; then
48373 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48374 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48375 wxUSE_TOGGLEBTN=no
48376 fi
48377
48378 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48379 cat >>confdefs.h <<\_ACEOF
48380 #define wxUSE_TOGGLEBTN 1
48381 _ACEOF
48382
48383 USES_CONTROLS=1
48384 fi
48385 fi
48386
48387 if test "$wxUSE_TOOLBAR" = "yes"; then
48388 cat >>confdefs.h <<\_ACEOF
48389 #define wxUSE_TOOLBAR 1
48390 _ACEOF
48391
48392 USES_CONTROLS=1
48393
48394 if test "$wxUSE_UNIVERSAL" = "yes"; then
48395 wxUSE_TOOLBAR_NATIVE="no"
48396 else
48397 wxUSE_TOOLBAR_NATIVE="yes"
48398 cat >>confdefs.h <<\_ACEOF
48399 #define wxUSE_TOOLBAR_NATIVE 1
48400 _ACEOF
48401
48402 fi
48403
48404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
48405 fi
48406
48407 if test "$wxUSE_TOOLTIPS" = "yes"; then
48408 if test "$wxUSE_MOTIF" = 1; then
48409 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48410 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48411 else
48412 if test "$wxUSE_UNIVERSAL" = "yes"; then
48413 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48414 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48415 else
48416 cat >>confdefs.h <<\_ACEOF
48417 #define wxUSE_TOOLTIPS 1
48418 _ACEOF
48419
48420 fi
48421 fi
48422 fi
48423
48424 if test "$wxUSE_TREEBOOK" = "yes"; then
48425 cat >>confdefs.h <<\_ACEOF
48426 #define wxUSE_TREEBOOK 1
48427 _ACEOF
48428
48429 USES_CONTROLS=1
48430 fi
48431
48432 if test "$wxUSE_TOOLBOOK" = "yes"; then
48433 cat >>confdefs.h <<\_ACEOF
48434 #define wxUSE_TOOLBOOK 1
48435 _ACEOF
48436
48437 USES_CONTROLS=1
48438 fi
48439
48440 if test "$wxUSE_TREECTRL" = "yes"; then
48441 if test "$wxUSE_IMAGLIST" = "yes"; then
48442 cat >>confdefs.h <<\_ACEOF
48443 #define wxUSE_TREECTRL 1
48444 _ACEOF
48445
48446 USES_CONTROLS=1
48447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
48448 else
48449 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48450 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48451 fi
48452 fi
48453
48454 if test "$wxUSE_POPUPWIN" = "yes"; then
48455 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
48456 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48457 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48458 else
48459 if test "$wxUSE_PM" = 1; then
48460 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48461 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48462 else
48463 cat >>confdefs.h <<\_ACEOF
48464 #define wxUSE_POPUPWIN 1
48465 _ACEOF
48466
48467 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
48468
48469 USES_CONTROLS=1
48470 fi
48471 fi
48472 fi
48473
48474 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48475 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48476 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48477 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48478 else
48479 cat >>confdefs.h <<\_ACEOF
48480 #define wxUSE_DIALUP_MANAGER 1
48481 _ACEOF
48482
48483 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
48484 fi
48485 fi
48486
48487 if test "$wxUSE_TIPWINDOW" = "yes"; then
48488 if test "$wxUSE_PM" = 1; then
48489 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48490 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48491 else
48492 cat >>confdefs.h <<\_ACEOF
48493 #define wxUSE_TIPWINDOW 1
48494 _ACEOF
48495
48496 fi
48497 fi
48498
48499 if test "$USES_CONTROLS" = 1; then
48500 cat >>confdefs.h <<\_ACEOF
48501 #define wxUSE_CONTROLS 1
48502 _ACEOF
48503
48504 fi
48505
48506
48507 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48508 cat >>confdefs.h <<\_ACEOF
48509 #define wxUSE_ACCESSIBILITY 1
48510 _ACEOF
48511
48512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
48513 fi
48514
48515 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48516 cat >>confdefs.h <<\_ACEOF
48517 #define wxUSE_DRAGIMAGE 1
48518 _ACEOF
48519
48520 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
48521 fi
48522
48523 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48524 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48525 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48526 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48527 else
48528 cat >>confdefs.h <<\_ACEOF
48529 #define wxUSE_EXCEPTIONS 1
48530 _ACEOF
48531
48532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
48533 fi
48534 fi
48535
48536 USE_HTML=0
48537 if test "$wxUSE_HTML" = "yes"; then
48538 cat >>confdefs.h <<\_ACEOF
48539 #define wxUSE_HTML 1
48540 _ACEOF
48541
48542 USE_HTML=1
48543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48544 if test "$wxUSE_MAC" = 1; then
48545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48546 fi
48547 fi
48548 if test "$wxUSE_WEBKIT" = "yes"; then
48549 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48550 old_CPPFLAGS="$CPPFLAGS"
48551 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48552 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48553 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48554 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48555 echo $ECHO_N "(cached) $ECHO_C" >&6
48556 else
48557 cat >conftest.$ac_ext <<_ACEOF
48558 /* confdefs.h. */
48559 _ACEOF
48560 cat confdefs.h >>conftest.$ac_ext
48561 cat >>conftest.$ac_ext <<_ACEOF
48562 /* end confdefs.h. */
48563
48564 #include <Carbon/Carbon.h>
48565 #include <WebKit/WebKit.h>
48566
48567
48568 #include <WebKit/HIWebView.h>
48569 _ACEOF
48570 rm -f conftest.$ac_objext
48571 if { (ac_try="$ac_compile"
48572 case "(($ac_try" in
48573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48574 *) ac_try_echo=$ac_try;;
48575 esac
48576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48577 (eval "$ac_compile") 2>conftest.er1
48578 ac_status=$?
48579 grep -v '^ *+' conftest.er1 >conftest.err
48580 rm -f conftest.er1
48581 cat conftest.err >&5
48582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48583 (exit $ac_status); } && {
48584 test -z "$ac_c_werror_flag" ||
48585 test ! -s conftest.err
48586 } && test -s conftest.$ac_objext; then
48587 ac_cv_header_WebKit_HIWebView_h=yes
48588 else
48589 echo "$as_me: failed program was:" >&5
48590 sed 's/^/| /' conftest.$ac_ext >&5
48591
48592 ac_cv_header_WebKit_HIWebView_h=no
48593 fi
48594
48595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48596 fi
48597 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48598 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48599 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48600
48601 cat >>confdefs.h <<\_ACEOF
48602 #define wxUSE_WEBKIT 1
48603 _ACEOF
48604
48605 WEBKIT_LINK="-framework WebKit"
48606
48607 else
48608
48609 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48610 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48611 wxUSE_WEBKIT=no
48612
48613 fi
48614
48615
48616 CPPFLAGS="$old_CPPFLAGS"
48617 elif test "$wxUSE_COCOA" = 1; then
48618 cat >>confdefs.h <<\_ACEOF
48619 #define wxUSE_WEBKIT 1
48620 _ACEOF
48621
48622 else
48623 wxUSE_WEBKIT=no
48624 fi
48625 fi
48626
48627 USE_XRC=0
48628 if test "$wxUSE_XRC" = "yes"; then
48629 if test "$wxUSE_XML" != "yes"; then
48630 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48631 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48632 wxUSE_XRC=no
48633 else
48634 cat >>confdefs.h <<\_ACEOF
48635 #define wxUSE_XRC 1
48636 _ACEOF
48637
48638 USE_XRC=1
48639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48640 fi
48641 fi
48642
48643 USE_AUI=0
48644 if test "$wxUSE_AUI" = "yes"; then
48645 cat >>confdefs.h <<\_ACEOF
48646 #define wxUSE_AUI 1
48647 _ACEOF
48648
48649 USE_AUI=1
48650 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48651 fi
48652
48653 USE_STC=0
48654 if test "$wxUSE_STC" = "yes"; then
48655 cat >>confdefs.h <<\_ACEOF
48656 #define wxUSE_STC 1
48657 _ACEOF
48658
48659 USE_STC=1
48660 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48661 fi
48662
48663 if test "$wxUSE_MENUS" = "yes"; then
48664 cat >>confdefs.h <<\_ACEOF
48665 #define wxUSE_MENUS 1
48666 _ACEOF
48667
48668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48669 fi
48670
48671 if test "$wxUSE_METAFILE" = "yes"; then
48672 cat >>confdefs.h <<\_ACEOF
48673 #define wxUSE_METAFILE 1
48674 _ACEOF
48675
48676 fi
48677
48678 if test "$wxUSE_MIMETYPE" = "yes"; then
48679 cat >>confdefs.h <<\_ACEOF
48680 #define wxUSE_MIMETYPE 1
48681 _ACEOF
48682
48683 fi
48684
48685 if test "$wxUSE_MINIFRAME" = "yes"; then
48686 cat >>confdefs.h <<\_ACEOF
48687 #define wxUSE_MINIFRAME 1
48688 _ACEOF
48689
48690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
48691 fi
48692
48693 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48694 cat >>confdefs.h <<\_ACEOF
48695 #define wxUSE_SYSTEM_OPTIONS 1
48696 _ACEOF
48697
48698 fi
48699
48700 if test "$wxUSE_TASKBARICON" = "yes"; then
48701 cat >>confdefs.h <<\_ACEOF
48702 #define wxUSE_TASKBARICON 1
48703 _ACEOF
48704
48705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48706 fi
48707
48708
48709 if test "$wxUSE_VALIDATORS" = "yes"; then
48710 cat >>confdefs.h <<\_ACEOF
48711 #define wxUSE_VALIDATORS 1
48712 _ACEOF
48713
48714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48715 fi
48716
48717 if test "$wxUSE_PALETTE" = "yes" ; then
48718 if test "$wxUSE_DFB" = 1; then
48719 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48720 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48721 wxUSE_PALETTE=no
48722 else
48723 cat >>confdefs.h <<\_ACEOF
48724 #define wxUSE_PALETTE 1
48725 _ACEOF
48726
48727 fi
48728 fi
48729
48730 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48731 LIBS=" -lunicows $LIBS"
48732 fi
48733
48734 USE_RICHTEXT=0
48735 if test "$wxUSE_RICHTEXT" = "yes"; then
48736 cat >>confdefs.h <<\_ACEOF
48737 #define wxUSE_RICHTEXT 1
48738 _ACEOF
48739
48740 USE_RICHTEXT=1
48741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48742 fi
48743
48744
48745 if test "$wxUSE_IMAGE" = "yes" ; then
48746 cat >>confdefs.h <<\_ACEOF
48747 #define wxUSE_IMAGE 1
48748 _ACEOF
48749
48750
48751 if test "$wxUSE_GIF" = "yes" ; then
48752 cat >>confdefs.h <<\_ACEOF
48753 #define wxUSE_GIF 1
48754 _ACEOF
48755
48756 fi
48757
48758 if test "$wxUSE_PCX" = "yes" ; then
48759 cat >>confdefs.h <<\_ACEOF
48760 #define wxUSE_PCX 1
48761 _ACEOF
48762
48763 fi
48764
48765 if test "$wxUSE_TGA" = "yes" ; then
48766 cat >>confdefs.h <<\_ACEOF
48767 #define wxUSE_TGA 1
48768 _ACEOF
48769
48770 fi
48771
48772 if test "$wxUSE_IFF" = "yes" ; then
48773 cat >>confdefs.h <<\_ACEOF
48774 #define wxUSE_IFF 1
48775 _ACEOF
48776
48777 fi
48778
48779 if test "$wxUSE_PNM" = "yes" ; then
48780 cat >>confdefs.h <<\_ACEOF
48781 #define wxUSE_PNM 1
48782 _ACEOF
48783
48784 fi
48785
48786 if test "$wxUSE_XPM" = "yes" ; then
48787 cat >>confdefs.h <<\_ACEOF
48788 #define wxUSE_XPM 1
48789 _ACEOF
48790
48791 fi
48792
48793 if test "$wxUSE_ICO_CUR" = "yes" ; then
48794 cat >>confdefs.h <<\_ACEOF
48795 #define wxUSE_ICO_CUR 1
48796 _ACEOF
48797
48798 fi
48799 fi
48800
48801
48802 if test "$wxUSE_ABOUTDLG" = "yes"; then
48803 cat >>confdefs.h <<\_ACEOF
48804 #define wxUSE_ABOUTDLG 1
48805 _ACEOF
48806
48807 fi
48808
48809 if test "$wxUSE_CHOICEDLG" = "yes"; then
48810 cat >>confdefs.h <<\_ACEOF
48811 #define wxUSE_CHOICEDLG 1
48812 _ACEOF
48813
48814 fi
48815
48816 if test "$wxUSE_COLOURDLG" = "yes"; then
48817 cat >>confdefs.h <<\_ACEOF
48818 #define wxUSE_COLOURDLG 1
48819 _ACEOF
48820
48821 fi
48822
48823 if test "$wxUSE_FILEDLG" = "yes"; then
48824 cat >>confdefs.h <<\_ACEOF
48825 #define wxUSE_FILEDLG 1
48826 _ACEOF
48827
48828 fi
48829
48830 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48831 cat >>confdefs.h <<\_ACEOF
48832 #define wxUSE_FINDREPLDLG 1
48833 _ACEOF
48834
48835 fi
48836
48837 if test "$wxUSE_FONTDLG" = "yes"; then
48838 cat >>confdefs.h <<\_ACEOF
48839 #define wxUSE_FONTDLG 1
48840 _ACEOF
48841
48842 fi
48843
48844 if test "$wxUSE_DIRDLG" = "yes"; then
48845 if test "$wxUSE_TREECTRL" != "yes"; then
48846 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48847 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48848 else
48849 cat >>confdefs.h <<\_ACEOF
48850 #define wxUSE_DIRDLG 1
48851 _ACEOF
48852
48853 fi
48854 fi
48855
48856 if test "$wxUSE_MSGDLG" = "yes"; then
48857 cat >>confdefs.h <<\_ACEOF
48858 #define wxUSE_MSGDLG 1
48859 _ACEOF
48860
48861 fi
48862
48863 if test "$wxUSE_NUMBERDLG" = "yes"; then
48864 cat >>confdefs.h <<\_ACEOF
48865 #define wxUSE_NUMBERDLG 1
48866 _ACEOF
48867
48868 fi
48869
48870 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48871 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48872 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
48873 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
48874 else
48875 cat >>confdefs.h <<\_ACEOF
48876 #define wxUSE_PROGRESSDLG 1
48877 _ACEOF
48878
48879 fi
48880 fi
48881
48882 if test "$wxUSE_SPLASH" = "yes"; then
48883 cat >>confdefs.h <<\_ACEOF
48884 #define wxUSE_SPLASH 1
48885 _ACEOF
48886
48887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
48888 fi
48889
48890 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48891 if test "$wxUSE_CONSTRAINTS" != "yes"; then
48892 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
48893 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
48894 else
48895 cat >>confdefs.h <<\_ACEOF
48896 #define wxUSE_STARTUP_TIPS 1
48897 _ACEOF
48898
48899 fi
48900 fi
48901
48902 if test "$wxUSE_TEXTDLG" = "yes"; then
48903 cat >>confdefs.h <<\_ACEOF
48904 #define wxUSE_TEXTDLG 1
48905 _ACEOF
48906
48907 fi
48908
48909 if test "$wxUSE_WIZARDDLG" = "yes"; then
48910 cat >>confdefs.h <<\_ACEOF
48911 #define wxUSE_WIZARDDLG 1
48912 _ACEOF
48913
48914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
48915 fi
48916
48917
48918 if test "$wxUSE_MSW" = 1 ; then
48919
48920 if test "$wxUSE_DC_CACHEING" = "yes"; then
48921 cat >>confdefs.h <<\_ACEOF
48922 #define wxUSE_DC_CACHEING 1
48923 _ACEOF
48924
48925 fi
48926
48927 if test "$wxUSE_UXTHEME" = "yes"; then
48928 cat >>confdefs.h <<\_ACEOF
48929 #define wxUSE_UXTHEME 1
48930 _ACEOF
48931
48932 fi
48933
48934 fi
48935
48936
48937 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48938 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
48939 cat >>confdefs.h <<\_ACEOF
48940 #define wxUSE_GRAPHICS_CONTEXT 1
48941 _ACEOF
48942
48943 elif test "$wxUSE_GTK" != 1; then
48944 cat >>confdefs.h <<\_ACEOF
48945 #define wxUSE_GRAPHICS_CONTEXT 1
48946 _ACEOF
48947
48948 else
48949
48950 pkg_failed=no
48951 { echo "$as_me:$LINENO: checking for CAIRO" >&5
48952 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
48953
48954 if test -n "$PKG_CONFIG"; then
48955 if test -n "$CAIRO_CFLAGS"; then
48956 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
48957 else
48958 if test -n "$PKG_CONFIG" && \
48959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48960 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48961 ac_status=$?
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); }; then
48964 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
48965 else
48966 pkg_failed=yes
48967 fi
48968 fi
48969 else
48970 pkg_failed=untried
48971 fi
48972 if test -n "$PKG_CONFIG"; then
48973 if test -n "$CAIRO_LIBS"; then
48974 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
48975 else
48976 if test -n "$PKG_CONFIG" && \
48977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
48978 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
48979 ac_status=$?
48980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981 (exit $ac_status); }; then
48982 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
48983 else
48984 pkg_failed=yes
48985 fi
48986 fi
48987 else
48988 pkg_failed=untried
48989 fi
48990
48991
48992
48993 if test $pkg_failed = yes; then
48994
48995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
48996 _pkg_short_errors_supported=yes
48997 else
48998 _pkg_short_errors_supported=no
48999 fi
49000 if test $_pkg_short_errors_supported = yes; then
49001 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49002 else
49003 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49004 fi
49005 # Put the nasty error message in config.log where it belongs
49006 echo "$CAIRO_PKG_ERRORS" >&5
49007
49008 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49009 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49010
49011 elif test $pkg_failed = untried; then
49012 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
49013 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
49014
49015 else
49016 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49017 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49018 { echo "$as_me:$LINENO: result: yes" >&5
49019 echo "${ECHO_T}yes" >&6; }
49020 cat >>confdefs.h <<\_ACEOF
49021 #define wxUSE_GRAPHICS_CONTEXT 1
49022 _ACEOF
49023
49024 fi
49025 fi
49026 fi
49027
49028
49029 USE_MEDIA=0
49030
49031 if test "$wxUSE_MEDIACTRL" = "yes"; then
49032 USE_MEDIA=1
49033
49034 if test "$wxUSE_GTK" = 1; then
49035 wxUSE_GSTREAMER="no"
49036
49037 GST_VERSION_MAJOR=0
49038 GST_VERSION_MINOR=10
49039 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49040
49041 if test "$wxUSE_GSTREAMER8" = "no"; then
49042
49043 pkg_failed=no
49044 { echo "$as_me:$LINENO: checking for GST" >&5
49045 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49046
49047 if test -n "$PKG_CONFIG"; then
49048 if test -n "$GST_CFLAGS"; then
49049 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49050 else
49051 if test -n "$PKG_CONFIG" && \
49052 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49053 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49054 ac_status=$?
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); }; then
49057 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49058 else
49059 pkg_failed=yes
49060 fi
49061 fi
49062 else
49063 pkg_failed=untried
49064 fi
49065 if test -n "$PKG_CONFIG"; then
49066 if test -n "$GST_LIBS"; then
49067 pkg_cv_GST_LIBS="$GST_LIBS"
49068 else
49069 if test -n "$PKG_CONFIG" && \
49070 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49071 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49072 ac_status=$?
49073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49074 (exit $ac_status); }; then
49075 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49076 else
49077 pkg_failed=yes
49078 fi
49079 fi
49080 else
49081 pkg_failed=untried
49082 fi
49083
49084
49085
49086 if test $pkg_failed = yes; then
49087
49088 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49089 _pkg_short_errors_supported=yes
49090 else
49091 _pkg_short_errors_supported=no
49092 fi
49093 if test $_pkg_short_errors_supported = yes; then
49094 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49095 else
49096 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49097 fi
49098 # Put the nasty error message in config.log where it belongs
49099 echo "$GST_PKG_ERRORS" >&5
49100
49101
49102 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49103 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49104 GST_VERSION_MINOR=8
49105
49106
49107 elif test $pkg_failed = untried; then
49108
49109 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49110 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49111 GST_VERSION_MINOR=8
49112
49113
49114 else
49115 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49116 GST_LIBS=$pkg_cv_GST_LIBS
49117 { echo "$as_me:$LINENO: result: yes" >&5
49118 echo "${ECHO_T}yes" >&6; }
49119
49120 wxUSE_GSTREAMER="yes"
49121 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49122
49123 fi
49124 else
49125 GST_VERSION_MINOR=8
49126 fi
49127
49128 if test $GST_VERSION_MINOR = "8"; then
49129 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
49130
49131 pkg_failed=no
49132 { echo "$as_me:$LINENO: checking for GST" >&5
49133 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49134
49135 if test -n "$PKG_CONFIG"; then
49136 if test -n "$GST_CFLAGS"; then
49137 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
49138 else
49139 if test -n "$PKG_CONFIG" && \
49140 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49141 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49142 ac_status=$?
49143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49144 (exit $ac_status); }; then
49145 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49146 else
49147 pkg_failed=yes
49148 fi
49149 fi
49150 else
49151 pkg_failed=untried
49152 fi
49153 if test -n "$PKG_CONFIG"; then
49154 if test -n "$GST_LIBS"; then
49155 pkg_cv_GST_LIBS="$GST_LIBS"
49156 else
49157 if test -n "$PKG_CONFIG" && \
49158 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49159 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49160 ac_status=$?
49161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49162 (exit $ac_status); }; then
49163 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49164 else
49165 pkg_failed=yes
49166 fi
49167 fi
49168 else
49169 pkg_failed=untried
49170 fi
49171
49172
49173
49174 if test $pkg_failed = yes; then
49175
49176 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49177 _pkg_short_errors_supported=yes
49178 else
49179 _pkg_short_errors_supported=no
49180 fi
49181 if test $_pkg_short_errors_supported = yes; then
49182 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49183 else
49184 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49185 fi
49186 # Put the nasty error message in config.log where it belongs
49187 echo "$GST_PKG_ERRORS" >&5
49188
49189
49190 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49191 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49192
49193 elif test $pkg_failed = untried; then
49194
49195 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49196 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49197
49198 else
49199 GST_CFLAGS=$pkg_cv_GST_CFLAGS
49200 GST_LIBS=$pkg_cv_GST_LIBS
49201 { echo "$as_me:$LINENO: result: yes" >&5
49202 echo "${ECHO_T}yes" >&6; }
49203 wxUSE_GSTREAMER="yes"
49204 fi
49205 fi
49206
49207
49208 if test "$wxUSE_GSTREAMER" = "yes"; then
49209 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
49210 LIBS="$GST_LIBS $LIBS"
49211
49212 cat >>confdefs.h <<\_ACEOF
49213 #define wxUSE_GSTREAMER 1
49214 _ACEOF
49215
49216 else
49217 USE_MEDIA=0
49218 fi
49219 fi
49220
49221 if test $USE_MEDIA = 1; then
49222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
49223 cat >>confdefs.h <<\_ACEOF
49224 #define wxUSE_MEDIACTRL 1
49225 _ACEOF
49226
49227 fi
49228 fi
49229
49230
49231 if test "$cross_compiling" = "yes"; then
49232 OSINFO="\"$host\""
49233 else
49234 OSINFO=`uname -s -r -m`
49235 OSINFO="\"$OSINFO\""
49236 fi
49237
49238 cat >>confdefs.h <<_ACEOF
49239 #define WXWIN_OS_DESCRIPTION $OSINFO
49240 _ACEOF
49241
49242
49243
49244 if test "x$prefix" != "xNONE"; then
49245 wxPREFIX=$prefix
49246 else
49247 wxPREFIX=$ac_default_prefix
49248 fi
49249
49250 cat >>confdefs.h <<_ACEOF
49251 #define wxINSTALL_PREFIX "$wxPREFIX"
49252 _ACEOF
49253
49254
49255
49256
49257 STD_BASE_LIBS="base"
49258 STD_GUI_LIBS=""
49259 BUILT_WX_LIBS="base"
49260 ALL_WX_LIBS="xrc stc gl media dbgrid qa html adv core odbc xml net base"
49261
49262 if test "$wxUSE_SOCKETS" = "yes" ; then
49263 STD_BASE_LIBS="net $STD_BASE_LIBS"
49264 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
49265 fi
49266 if test "$wxUSE_ODBC" != "no" ; then
49267 BUILT_WX_LIBS="odbc $BUILT_WX_LIBS"
49268 fi
49269 if test "$wxUSE_XML" = "yes" ; then
49270 STD_BASE_LIBS="xml $STD_BASE_LIBS"
49271 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
49272 fi
49273
49274 if test "$wxUSE_GUI" = "yes"; then
49275 STD_GUI_LIBS="adv core"
49276 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
49277
49278 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49279 STD_GUI_LIBS="qa $STD_GUI_LIBS"
49280 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
49281 fi
49282 if test "$wxUSE_ODBC" != "no" ; then
49283 BUILT_WX_LIBS="dbgrid $BUILT_WX_LIBS"
49284 fi
49285 if test "$wxUSE_HTML" = "yes" ; then
49286 STD_GUI_LIBS="html $STD_GUI_LIBS"
49287 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
49288 fi
49289 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49290 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
49291 fi
49292 if test "$wxUSE_OPENGL" = "yes" ; then
49293 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
49294 fi
49295 if test "$wxUSE_AUI" = "yes" ; then
49296 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
49297 fi
49298 if test "$wxUSE_STC" = "yes" ; then
49299 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
49300 fi
49301 if test "$wxUSE_XRC" = "yes" ; then
49302 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
49303 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
49304 fi
49305 fi
49306
49307
49308
49309
49310
49311
49312
49313
49314 if test "$wxUSE_MAC" = 1 ; then
49315 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
49316 if test "$USE_DARWIN" = 1; then
49317 LDFLAGS="$LDFLAGS -framework QuickTime"
49318 else
49319 LDFLAGS="$LDFLAGS -lQuickTimeLib"
49320 fi
49321 fi
49322 if test "$USE_DARWIN" = 1; then
49323 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
49324 else
49325 LDFLAGS="$LDFLAGS -lCarbonLib"
49326 fi
49327 fi
49328 if test "$wxUSE_COCOA" = 1 ; then
49329 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
49330 if test "$wxUSE_MEDIACTRL" = "yes"; then
49331 LDFLAGS="$LDFLAGS -framework QuickTime"
49332 fi
49333 fi
49334 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
49335 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49336 fi
49337
49338 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49339
49340 if test "$wxUSE_GUI" = "yes"; then
49341
49342
49343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49344 dynamic erase event exec font image minimal mobile \
49345 mobile/wxedit mobile/styles propsize render \
49346 rotate shaped svg taborder vscroll widgets"
49347
49348 if test "$wxUSE_MONOLITHIC" != "yes"; then
49349 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
49350 fi
49351 if test "$TOOLKIT" = "MSW"; then
49352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
49353 if test "$wxUSE_UNIVERSAL" != "yes"; then
49354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
49355 fi
49356 fi
49357 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49358 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
49359 fi
49360 else
49361 SAMPLES_SUBDIRS="console"
49362 fi
49363
49364
49365 if test "x$INTELCC" = "xyes" ; then
49366 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
49367 elif test "$GCC" = yes ; then
49368 CWARNINGS="-Wall -Wundef"
49369 fi
49370
49371 if test "x$INTELCXX" = "xyes" ; then
49372 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
49373 elif test "$GXX" = yes ; then
49374 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
49375 fi
49376
49377
49378 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49379 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49380
49381
49382 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49383 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
49384 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
49385 $CPPFLAGS `
49386
49387 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49388 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49389 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49390
49391 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49392
49393
49394 if test "x$MWCC" = "xyes"; then
49395
49396 CC="$CC -cwd source -I-"
49397 CXX="$CXX -cwd source -I-"
49398 fi
49399
49400
49401 LIBS=`echo $LIBS`
49402 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49403 EXTRALIBS_XML="$EXPAT_LINK"
49404 EXTRALIBS_HTML="$MSPACK_LINK"
49405 EXTRALIBS_ODBC="$ODBC_LINK"
49406 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49407 if test "$wxUSE_GUI" = "yes"; then
49408 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49409 fi
49410 if test "$wxUSE_OPENGL" = "yes"; then
49411 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49412 fi
49413
49414 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49415
49416 WXCONFIG_LIBS="$LIBS"
49417
49418 if test "$wxUSE_REGEX" = "builtin" ; then
49419 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49420 fi
49421 if test "$wxUSE_EXPAT" = "builtin" ; then
49422 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49423 fi
49424 if test "$wxUSE_ODBC" = "builtin" ; then
49425 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
49426 fi
49427 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49428 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49429 fi
49430 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49431 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49432 fi
49433 if test "$wxUSE_LIBPNG" = "builtin" ; then
49434 wxconfig_3rdparty="png $wxconfig_3rdparty"
49435 fi
49436 if test "$wxUSE_ZLIB" = "builtin" ; then
49437 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49438 fi
49439
49440 for i in $wxconfig_3rdparty ; do
49441 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49442 done
49443
49444
49445 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49446 WXUNIV=1
49447
49448 case "$wxUNIV_THEMES" in
49449 ''|all)
49450 cat >>confdefs.h <<\_ACEOF
49451 #define wxUSE_ALL_THEMES 1
49452 _ACEOF
49453
49454 ;;
49455
49456 *)
49457 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
49458 cat >>confdefs.h <<_ACEOF
49459 #define wxUSE_THEME_$t 1
49460 _ACEOF
49461
49462 done
49463 esac
49464 else
49465 WXUNIV=0
49466 fi
49467
49468
49469
49470
49471
49472
49473
49474
49475
49476 if test $wxUSE_MONOLITHIC = "yes" ; then
49477 MONOLITHIC=1
49478 else
49479 MONOLITHIC=0
49480 fi
49481
49482 if test $wxUSE_PLUGINS = "yes" ; then
49483 USE_PLUGINS=1
49484 else
49485 USE_PLUGINS=0
49486 fi
49487
49488 if test $wxUSE_ODBC != "no" ; then
49489 USE_ODBC=1
49490 else
49491 USE_ODBC=0
49492 fi
49493
49494 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49495 USE_QA=1
49496 else
49497 USE_QA=0
49498 fi
49499
49500 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49501 OFFICIAL_BUILD=1
49502 else
49503 OFFICIAL_BUILD=0
49504 fi
49505
49506
49507
49508
49509
49510
49511
49512
49513
49514
49515
49516
49517
49518
49519
49520
49521
49522
49523
49524
49525
49526
49527
49528
49529
49530
49531 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
49532
49533
49534
49535
49536
49537
49538
49539
49540 case "$TOOLKIT" in
49541 GTK)
49542 TOOLKIT_DESC="GTK+"
49543 if test "$WXGTK20" = 1; then
49544 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49545 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49546 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49547 fi
49548 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49549 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49550 fi
49551 if test "$wxUSE_LIBHILDON" = "yes"; then
49552 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49553 fi
49554
49555 if test "$TOOLKIT_EXTRA" != ""; then
49556 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49557 fi
49558 fi
49559 ;;
49560
49561 ?*)
49562 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49563 ;;
49564
49565 *)
49566 TOOLKIT_DESC="base only"
49567 ;;
49568 esac
49569
49570 if test "$wxUSE_WINE" = "yes"; then
49571 BAKEFILE_FORCE_PLATFORM=win32
49572 fi
49573
49574 if test "$wxUSE_MAC" = 1 ; then
49575 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
49576 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
49577 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
49578 else
49579 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
49580 fi
49581 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
49582 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
49583 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
49584 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
49585 bk_use_pch=no
49586 fi
49587 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
49588 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
49589 fi
49590
49591 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49592 then
49593 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49594 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49595 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49596 echo $ECHO_N "(cached) $ECHO_C" >&6
49597 else
49598
49599 echo '#include <stdio.h>
49600 const wchar_t test_var[] = L"awidetest";' > conftest.h
49601
49602 echo '#include "conftest.h"
49603 int main()
49604 {
49605 printf("%ls", test_var);
49606 return 0;
49607 }' > conftest.cpp
49608
49609 wx_cv_gcc_pch_bug="pch not supported"
49610
49611 if $CXX conftest.h >/dev/null 2>&1
49612 then
49613 wx_cv_gcc_pch_bug=
49614
49615 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49616 then
49617 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49618 grep awidetest >/dev/null
49619 then
49620 wx_cv_gcc_pch_bug=no
49621 else
49622 wx_cv_gcc_pch_bug=yes
49623 fi
49624 fi
49625 fi
49626
49627 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49628
49629 fi
49630 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49631 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49632
49633 if test "$wx_cv_gcc_pch_bug" = yes; then
49634 bk_use_pch=no
49635 fi
49636 fi
49637
49638
49639
49640
49641 if test "x$BAKEFILE_HOST" = "x"; then
49642 if test "x${host}" = "x" ; then
49643 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49644 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49645 { (exit 1); exit 1; }; }
49646 fi
49647
49648 BAKEFILE_HOST="${host}"
49649 fi
49650
49651 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49652
49653 if test -n "$ac_tool_prefix"; then
49654 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49655 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49656 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49658 if test "${ac_cv_prog_RANLIB+set}" = set; then
49659 echo $ECHO_N "(cached) $ECHO_C" >&6
49660 else
49661 if test -n "$RANLIB"; then
49662 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49663 else
49664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49665 for as_dir in $PATH
49666 do
49667 IFS=$as_save_IFS
49668 test -z "$as_dir" && as_dir=.
49669 for ac_exec_ext in '' $ac_executable_extensions; do
49670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49671 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49673 break 2
49674 fi
49675 done
49676 done
49677 IFS=$as_save_IFS
49678
49679 fi
49680 fi
49681 RANLIB=$ac_cv_prog_RANLIB
49682 if test -n "$RANLIB"; then
49683 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49684 echo "${ECHO_T}$RANLIB" >&6; }
49685 else
49686 { echo "$as_me:$LINENO: result: no" >&5
49687 echo "${ECHO_T}no" >&6; }
49688 fi
49689
49690
49691 fi
49692 if test -z "$ac_cv_prog_RANLIB"; then
49693 ac_ct_RANLIB=$RANLIB
49694 # Extract the first word of "ranlib", so it can be a program name with args.
49695 set dummy ranlib; ac_word=$2
49696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49698 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49699 echo $ECHO_N "(cached) $ECHO_C" >&6
49700 else
49701 if test -n "$ac_ct_RANLIB"; then
49702 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49703 else
49704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49705 for as_dir in $PATH
49706 do
49707 IFS=$as_save_IFS
49708 test -z "$as_dir" && as_dir=.
49709 for ac_exec_ext in '' $ac_executable_extensions; do
49710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49711 ac_cv_prog_ac_ct_RANLIB="ranlib"
49712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49713 break 2
49714 fi
49715 done
49716 done
49717 IFS=$as_save_IFS
49718
49719 fi
49720 fi
49721 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49722 if test -n "$ac_ct_RANLIB"; then
49723 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49724 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
49725 else
49726 { echo "$as_me:$LINENO: result: no" >&5
49727 echo "${ECHO_T}no" >&6; }
49728 fi
49729
49730 if test "x$ac_ct_RANLIB" = x; then
49731 RANLIB=":"
49732 else
49733 case $cross_compiling:$ac_tool_warned in
49734 yes:)
49735 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49736 whose name does not start with the host triplet. If you think this
49737 configuration is useful to you, please write to autoconf@gnu.org." >&5
49738 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49739 whose name does not start with the host triplet. If you think this
49740 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49741 ac_tool_warned=yes ;;
49742 esac
49743 RANLIB=$ac_ct_RANLIB
49744 fi
49745 else
49746 RANLIB="$ac_cv_prog_RANLIB"
49747 fi
49748
49749 # Find a good install program. We prefer a C program (faster),
49750 # so one script is as good as another. But avoid the broken or
49751 # incompatible versions:
49752 # SysV /etc/install, /usr/sbin/install
49753 # SunOS /usr/etc/install
49754 # IRIX /sbin/install
49755 # AIX /bin/install
49756 # AmigaOS /C/install, which installs bootblocks on floppy discs
49757 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
49758 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
49759 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
49760 # OS/2's system install, which has a completely different semantic
49761 # ./install, which can be erroneously created by make from ./install.sh.
49762 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
49763 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
49764 if test -z "$INSTALL"; then
49765 if test "${ac_cv_path_install+set}" = set; then
49766 echo $ECHO_N "(cached) $ECHO_C" >&6
49767 else
49768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49769 for as_dir in $PATH
49770 do
49771 IFS=$as_save_IFS
49772 test -z "$as_dir" && as_dir=.
49773 # Account for people who put trailing slashes in PATH elements.
49774 case $as_dir/ in
49775 ./ | .// | /cC/* | \
49776 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
49777 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
49778 /usr/ucb/* ) ;;
49779 *)
49780 # OSF1 and SCO ODT 3.0 have their own names for install.
49781 # Don't use installbsd from OSF since it installs stuff as root
49782 # by default.
49783 for ac_prog in ginstall scoinst install; do
49784 for ac_exec_ext in '' $ac_executable_extensions; do
49785 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
49786 if test $ac_prog = install &&
49787 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49788 # AIX install. It has an incompatible calling convention.
49789 :
49790 elif test $ac_prog = install &&
49791 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
49792 # program-specific install script used by HP pwplus--don't use.
49793 :
49794 else
49795 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
49796 break 3
49797 fi
49798 fi
49799 done
49800 done
49801 ;;
49802 esac
49803 done
49804 IFS=$as_save_IFS
49805
49806
49807 fi
49808 if test "${ac_cv_path_install+set}" = set; then
49809 INSTALL=$ac_cv_path_install
49810 else
49811 # As a last resort, use the slow shell script. Don't cache a
49812 # value for INSTALL within a source directory, because that will
49813 # break other packages using the cache if that directory is
49814 # removed, or if the value is a relative name.
49815 INSTALL=$ac_install_sh
49816 fi
49817 fi
49818 { echo "$as_me:$LINENO: result: $INSTALL" >&5
49819 echo "${ECHO_T}$INSTALL" >&6; }
49820
49821 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
49822 # It thinks the first close brace ends the variable substitution.
49823 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
49824
49825 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
49826
49827 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
49828
49829 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
49830 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
49831 LN_S=$as_ln_s
49832 if test "$LN_S" = "ln -s"; then
49833 { echo "$as_me:$LINENO: result: yes" >&5
49834 echo "${ECHO_T}yes" >&6; }
49835 else
49836 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
49837 echo "${ECHO_T}no, using $LN_S" >&6; }
49838 fi
49839
49840
49841 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49842 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49843 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49844 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49845 echo $ECHO_N "(cached) $ECHO_C" >&6
49846 else
49847 cat >conftest.make <<\_ACEOF
49848 SHELL = /bin/sh
49849 all:
49850 @echo '@@@%%%=$(MAKE)=@@@%%%'
49851 _ACEOF
49852 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49853 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49854 *@@@%%%=?*=@@@%%%*)
49855 eval ac_cv_prog_make_${ac_make}_set=yes;;
49856 *)
49857 eval ac_cv_prog_make_${ac_make}_set=no;;
49858 esac
49859 rm -f conftest.make
49860 fi
49861 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49862 { echo "$as_me:$LINENO: result: yes" >&5
49863 echo "${ECHO_T}yes" >&6; }
49864 SET_MAKE=
49865 else
49866 { echo "$as_me:$LINENO: result: no" >&5
49867 echo "${ECHO_T}no" >&6; }
49868 SET_MAKE="MAKE=${MAKE-make}"
49869 fi
49870
49871
49872
49873 if test "x$SUNCXX" = "xyes"; then
49874 AR=$CXX
49875 AROPTIONS="-xar -o"
49876
49877 elif test "x$SGICC" = "xyes"; then
49878 AR=$CXX
49879 AROPTIONS="-ar -o"
49880
49881 else
49882 if test -n "$ac_tool_prefix"; then
49883 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
49884 set dummy ${ac_tool_prefix}ar; ac_word=$2
49885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49887 if test "${ac_cv_prog_AR+set}" = set; then
49888 echo $ECHO_N "(cached) $ECHO_C" >&6
49889 else
49890 if test -n "$AR"; then
49891 ac_cv_prog_AR="$AR" # Let the user override the test.
49892 else
49893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49894 for as_dir in $PATH
49895 do
49896 IFS=$as_save_IFS
49897 test -z "$as_dir" && as_dir=.
49898 for ac_exec_ext in '' $ac_executable_extensions; do
49899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49900 ac_cv_prog_AR="${ac_tool_prefix}ar"
49901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49902 break 2
49903 fi
49904 done
49905 done
49906 IFS=$as_save_IFS
49907
49908 fi
49909 fi
49910 AR=$ac_cv_prog_AR
49911 if test -n "$AR"; then
49912 { echo "$as_me:$LINENO: result: $AR" >&5
49913 echo "${ECHO_T}$AR" >&6; }
49914 else
49915 { echo "$as_me:$LINENO: result: no" >&5
49916 echo "${ECHO_T}no" >&6; }
49917 fi
49918
49919
49920 fi
49921 if test -z "$ac_cv_prog_AR"; then
49922 ac_ct_AR=$AR
49923 # Extract the first word of "ar", so it can be a program name with args.
49924 set dummy ar; ac_word=$2
49925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49927 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
49928 echo $ECHO_N "(cached) $ECHO_C" >&6
49929 else
49930 if test -n "$ac_ct_AR"; then
49931 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
49932 else
49933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49934 for as_dir in $PATH
49935 do
49936 IFS=$as_save_IFS
49937 test -z "$as_dir" && as_dir=.
49938 for ac_exec_ext in '' $ac_executable_extensions; do
49939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49940 ac_cv_prog_ac_ct_AR="ar"
49941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49942 break 2
49943 fi
49944 done
49945 done
49946 IFS=$as_save_IFS
49947
49948 fi
49949 fi
49950 ac_ct_AR=$ac_cv_prog_ac_ct_AR
49951 if test -n "$ac_ct_AR"; then
49952 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
49953 echo "${ECHO_T}$ac_ct_AR" >&6; }
49954 else
49955 { echo "$as_me:$LINENO: result: no" >&5
49956 echo "${ECHO_T}no" >&6; }
49957 fi
49958
49959 if test "x$ac_ct_AR" = x; then
49960 AR="ar"
49961 else
49962 case $cross_compiling:$ac_tool_warned in
49963 yes:)
49964 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49965 whose name does not start with the host triplet. If you think this
49966 configuration is useful to you, please write to autoconf@gnu.org." >&5
49967 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49968 whose name does not start with the host triplet. If you think this
49969 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49970 ac_tool_warned=yes ;;
49971 esac
49972 AR=$ac_ct_AR
49973 fi
49974 else
49975 AR="$ac_cv_prog_AR"
49976 fi
49977
49978 AROPTIONS=rcu
49979 fi
49980
49981
49982 if test -n "$ac_tool_prefix"; then
49983 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
49984 set dummy ${ac_tool_prefix}strip; ac_word=$2
49985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49987 if test "${ac_cv_prog_STRIP+set}" = set; then
49988 echo $ECHO_N "(cached) $ECHO_C" >&6
49989 else
49990 if test -n "$STRIP"; then
49991 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
49992 else
49993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49994 for as_dir in $PATH
49995 do
49996 IFS=$as_save_IFS
49997 test -z "$as_dir" && as_dir=.
49998 for ac_exec_ext in '' $ac_executable_extensions; do
49999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50000 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50002 break 2
50003 fi
50004 done
50005 done
50006 IFS=$as_save_IFS
50007
50008 fi
50009 fi
50010 STRIP=$ac_cv_prog_STRIP
50011 if test -n "$STRIP"; then
50012 { echo "$as_me:$LINENO: result: $STRIP" >&5
50013 echo "${ECHO_T}$STRIP" >&6; }
50014 else
50015 { echo "$as_me:$LINENO: result: no" >&5
50016 echo "${ECHO_T}no" >&6; }
50017 fi
50018
50019
50020 fi
50021 if test -z "$ac_cv_prog_STRIP"; then
50022 ac_ct_STRIP=$STRIP
50023 # Extract the first word of "strip", so it can be a program name with args.
50024 set dummy strip; ac_word=$2
50025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50027 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50028 echo $ECHO_N "(cached) $ECHO_C" >&6
50029 else
50030 if test -n "$ac_ct_STRIP"; then
50031 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50032 else
50033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50034 for as_dir in $PATH
50035 do
50036 IFS=$as_save_IFS
50037 test -z "$as_dir" && as_dir=.
50038 for ac_exec_ext in '' $ac_executable_extensions; do
50039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50040 ac_cv_prog_ac_ct_STRIP="strip"
50041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50042 break 2
50043 fi
50044 done
50045 done
50046 IFS=$as_save_IFS
50047
50048 fi
50049 fi
50050 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50051 if test -n "$ac_ct_STRIP"; then
50052 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50053 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50054 else
50055 { echo "$as_me:$LINENO: result: no" >&5
50056 echo "${ECHO_T}no" >&6; }
50057 fi
50058
50059 if test "x$ac_ct_STRIP" = x; then
50060 STRIP=":"
50061 else
50062 case $cross_compiling:$ac_tool_warned in
50063 yes:)
50064 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50065 whose name does not start with the host triplet. If you think this
50066 configuration is useful to you, please write to autoconf@gnu.org." >&5
50067 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50068 whose name does not start with the host triplet. If you think this
50069 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50070 ac_tool_warned=yes ;;
50071 esac
50072 STRIP=$ac_ct_STRIP
50073 fi
50074 else
50075 STRIP="$ac_cv_prog_STRIP"
50076 fi
50077
50078 if test -n "$ac_tool_prefix"; then
50079 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50080 set dummy ${ac_tool_prefix}nm; ac_word=$2
50081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50083 if test "${ac_cv_prog_NM+set}" = set; then
50084 echo $ECHO_N "(cached) $ECHO_C" >&6
50085 else
50086 if test -n "$NM"; then
50087 ac_cv_prog_NM="$NM" # Let the user override the test.
50088 else
50089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50090 for as_dir in $PATH
50091 do
50092 IFS=$as_save_IFS
50093 test -z "$as_dir" && as_dir=.
50094 for ac_exec_ext in '' $ac_executable_extensions; do
50095 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50096 ac_cv_prog_NM="${ac_tool_prefix}nm"
50097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50098 break 2
50099 fi
50100 done
50101 done
50102 IFS=$as_save_IFS
50103
50104 fi
50105 fi
50106 NM=$ac_cv_prog_NM
50107 if test -n "$NM"; then
50108 { echo "$as_me:$LINENO: result: $NM" >&5
50109 echo "${ECHO_T}$NM" >&6; }
50110 else
50111 { echo "$as_me:$LINENO: result: no" >&5
50112 echo "${ECHO_T}no" >&6; }
50113 fi
50114
50115
50116 fi
50117 if test -z "$ac_cv_prog_NM"; then
50118 ac_ct_NM=$NM
50119 # Extract the first word of "nm", so it can be a program name with args.
50120 set dummy nm; ac_word=$2
50121 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50123 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50124 echo $ECHO_N "(cached) $ECHO_C" >&6
50125 else
50126 if test -n "$ac_ct_NM"; then
50127 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50128 else
50129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50130 for as_dir in $PATH
50131 do
50132 IFS=$as_save_IFS
50133 test -z "$as_dir" && as_dir=.
50134 for ac_exec_ext in '' $ac_executable_extensions; do
50135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50136 ac_cv_prog_ac_ct_NM="nm"
50137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50138 break 2
50139 fi
50140 done
50141 done
50142 IFS=$as_save_IFS
50143
50144 fi
50145 fi
50146 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50147 if test -n "$ac_ct_NM"; then
50148 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50149 echo "${ECHO_T}$ac_ct_NM" >&6; }
50150 else
50151 { echo "$as_me:$LINENO: result: no" >&5
50152 echo "${ECHO_T}no" >&6; }
50153 fi
50154
50155 if test "x$ac_ct_NM" = x; then
50156 NM=":"
50157 else
50158 case $cross_compiling:$ac_tool_warned in
50159 yes:)
50160 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50161 whose name does not start with the host triplet. If you think this
50162 configuration is useful to you, please write to autoconf@gnu.org." >&5
50163 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50164 whose name does not start with the host triplet. If you think this
50165 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50166 ac_tool_warned=yes ;;
50167 esac
50168 NM=$ac_ct_NM
50169 fi
50170 else
50171 NM="$ac_cv_prog_NM"
50172 fi
50173
50174
50175 case ${BAKEFILE_HOST} in
50176 *-hp-hpux* )
50177 INSTALL_DIR="mkdir -p"
50178 ;;
50179 * )
50180 INSTALL_DIR='$(INSTALL) -d'
50181 ;;
50182 esac
50183
50184
50185 LDFLAGS_GUI=
50186 case ${BAKEFILE_HOST} in
50187 *-*-cygwin* | *-*-mingw32* )
50188 LDFLAGS_GUI="-mwindows"
50189 esac
50190
50191
50192 fi
50193
50194 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50195 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50196 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50197 echo $ECHO_N "(cached) $ECHO_C" >&6
50198 else
50199
50200 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50201 egrep -s GNU > /dev/null); then
50202 bakefile_cv_prog_makeisgnu="yes"
50203 else
50204 bakefile_cv_prog_makeisgnu="no"
50205 fi
50206
50207 fi
50208 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50209 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50210
50211 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50212 IF_GNU_MAKE=""
50213 else
50214 IF_GNU_MAKE="#"
50215 fi
50216
50217
50218
50219 PLATFORM_UNIX=0
50220 PLATFORM_WIN32=0
50221 PLATFORM_MSDOS=0
50222 PLATFORM_MAC=0
50223 PLATFORM_MACOS=0
50224 PLATFORM_MACOSX=0
50225 PLATFORM_OS2=0
50226 PLATFORM_BEOS=0
50227
50228 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50229 case "${BAKEFILE_HOST}" in
50230 *-*-mingw32* )
50231 PLATFORM_WIN32=1
50232 ;;
50233 *-pc-msdosdjgpp )
50234 PLATFORM_MSDOS=1
50235 ;;
50236 *-pc-os2_emx | *-pc-os2-emx )
50237 PLATFORM_OS2=1
50238 ;;
50239 *-*-darwin* )
50240 PLATFORM_MAC=1
50241 PLATFORM_MACOSX=1
50242 ;;
50243 *-*-beos* )
50244 PLATFORM_BEOS=1
50245 ;;
50246 powerpc-apple-macos* )
50247 PLATFORM_MAC=1
50248 PLATFORM_MACOS=1
50249 ;;
50250 * )
50251 PLATFORM_UNIX=1
50252 ;;
50253 esac
50254 else
50255 case "$BAKEFILE_FORCE_PLATFORM" in
50256 win32 )
50257 PLATFORM_WIN32=1
50258 ;;
50259 msdos )
50260 PLATFORM_MSDOS=1
50261 ;;
50262 os2 )
50263 PLATFORM_OS2=1
50264 ;;
50265 darwin )
50266 PLATFORM_MAC=1
50267 PLATFORM_MACOSX=1
50268 ;;
50269 unix )
50270 PLATFORM_UNIX=1
50271 ;;
50272 beos )
50273 PLATFORM_BEOS=1
50274 ;;
50275 * )
50276 ;;
50277 esac
50278 fi
50279
50280
50281
50282
50283
50284
50285
50286
50287
50288
50289
50290 # Check whether --enable-omf was given.
50291 if test "${enable_omf+set}" = set; then
50292 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50293 fi
50294
50295
50296 case "${BAKEFILE_HOST}" in
50297 *-*-darwin* )
50298 if test "x$GCC" = "xyes"; then
50299 CFLAGS="$CFLAGS -fno-common"
50300 CXXFLAGS="$CXXFLAGS -fno-common"
50301 fi
50302 if test "x$XLCC" = "xyes"; then
50303 CFLAGS="$CFLAGS -qnocommon"
50304 CXXFLAGS="$CXXFLAGS -qnocommon"
50305 fi
50306 ;;
50307
50308 *-pc-os2_emx | *-pc-os2-emx )
50309 if test "x$bk_os2_use_omf" = "xyes" ; then
50310 AR=emxomfar
50311 RANLIB=:
50312 LDFLAGS="-Zomf $LDFLAGS"
50313 CFLAGS="-Zomf $CFLAGS"
50314 CXXFLAGS="-Zomf $CXXFLAGS"
50315 OS2_LIBEXT="lib"
50316 else
50317 OS2_LIBEXT="a"
50318 fi
50319 ;;
50320
50321 i*86-*-beos* )
50322 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50323 ;;
50324 esac
50325
50326
50327 SO_SUFFIX="so"
50328 SO_SUFFIX_MODULE="so"
50329 EXEEXT=""
50330 LIBPREFIX="lib"
50331 LIBEXT=".a"
50332 DLLPREFIX="lib"
50333 DLLPREFIX_MODULE=""
50334 DLLIMP_SUFFIX=""
50335 dlldir="$libdir"
50336
50337 case "${BAKEFILE_HOST}" in
50338 *-hp-hpux* )
50339 SO_SUFFIX="sl"
50340 SO_SUFFIX_MODULE="sl"
50341 ;;
50342 *-*-aix* )
50343 SO_SUFFIX="a"
50344 SO_SUFFIX_MODULE="a"
50345 ;;
50346 *-*-cygwin* )
50347 SO_SUFFIX="dll"
50348 SO_SUFFIX_MODULE="dll"
50349 DLLIMP_SUFFIX="dll.a"
50350 EXEEXT=".exe"
50351 DLLPREFIX="cyg"
50352 dlldir="$bindir"
50353 ;;
50354 *-*-mingw32* )
50355 SO_SUFFIX="dll"
50356 SO_SUFFIX_MODULE="dll"
50357 DLLIMP_SUFFIX="dll.a"
50358 EXEEXT=".exe"
50359 DLLPREFIX=""
50360 dlldir="$bindir"
50361 ;;
50362 *-pc-msdosdjgpp )
50363 EXEEXT=".exe"
50364 DLLPREFIX=""
50365 dlldir="$bindir"
50366 ;;
50367 *-pc-os2_emx | *-pc-os2-emx )
50368 SO_SUFFIX="dll"
50369 SO_SUFFIX_MODULE="dll"
50370 DLLIMP_SUFFIX=$OS2_LIBEXT
50371 EXEEXT=".exe"
50372 DLLPREFIX=""
50373 LIBPREFIX=""
50374 LIBEXT=".$OS2_LIBEXT"
50375 dlldir="$bindir"
50376 ;;
50377 *-*-darwin* )
50378 SO_SUFFIX="dylib"
50379 SO_SUFFIX_MODULE="bundle"
50380 ;;
50381 esac
50382
50383 if test "x$DLLIMP_SUFFIX" = "x" ; then
50384 DLLIMP_SUFFIX="$SO_SUFFIX"
50385 fi
50386
50387
50388
50389
50390
50391
50392
50393
50394
50395
50396
50397
50398 PIC_FLAG=""
50399 if test "x$GCC" = "xyes"; then
50400 PIC_FLAG="-fPIC"
50401 fi
50402
50403 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50404 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50405 WINDOWS_IMPLIB=0
50406
50407 case "${BAKEFILE_HOST}" in
50408 *-hp-hpux* )
50409 if test "x$GCC" != "xyes"; then
50410 LDFLAGS="$LDFLAGS -L/usr/lib"
50411
50412 SHARED_LD_CC="${CC} -b -o"
50413 SHARED_LD_CXX="${CXX} -b -o"
50414 PIC_FLAG="+Z"
50415 fi
50416 ;;
50417
50418 *-*-linux* )
50419 if test "$INTELCC" = "yes"; then
50420 PIC_FLAG="-KPIC"
50421 elif test "x$SUNCXX" = "xyes"; then
50422 SHARED_LD_CC="${CC} -G -o"
50423 SHARED_LD_CXX="${CXX} -G -o"
50424 PIC_FLAG="-KPIC"
50425 fi
50426 ;;
50427
50428 *-*-solaris2* )
50429 if test "x$SUNCXX" = xyes ; then
50430 SHARED_LD_CC="${CC} -G -o"
50431 SHARED_LD_CXX="${CXX} -G -o"
50432 PIC_FLAG="-KPIC"
50433 fi
50434 ;;
50435
50436 *-*-darwin* )
50437
50438 D='$'
50439 cat <<EOF >shared-ld-sh
50440 #!/bin/sh
50441 #-----------------------------------------------------------------------------
50442 #-- Name: distrib/mac/shared-ld-sh
50443 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50444 #-- Author: Gilles Depeyrot
50445 #-- Copyright: (c) 2002 Gilles Depeyrot
50446 #-- Licence: any use permitted
50447 #-----------------------------------------------------------------------------
50448
50449 verbose=0
50450 args=""
50451 objects=""
50452 linking_flag="-dynamiclib"
50453 ldargs="-r -keep_private_externs -nostdlib"
50454
50455 while test ${D}# -gt 0; do
50456 case ${D}1 in
50457
50458 -v)
50459 verbose=1
50460 ;;
50461
50462 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50463 # collect these options and values
50464 args="${D}{args} ${D}1 ${D}2"
50465 shift
50466 ;;
50467
50468 -s|-Wl,*)
50469 # collect these load args
50470 ldargs="${D}{ldargs} ${D}1"
50471 ;;
50472
50473 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50474 # collect these options
50475 args="${D}{args} ${D}1"
50476 ;;
50477
50478 -dynamiclib|-bundle)
50479 linking_flag="${D}1"
50480 ;;
50481
50482 -*)
50483 echo "shared-ld: unhandled option '${D}1'"
50484 exit 1
50485 ;;
50486
50487 *.o | *.a | *.dylib)
50488 # collect object files
50489 objects="${D}{objects} ${D}1"
50490 ;;
50491
50492 *)
50493 echo "shared-ld: unhandled argument '${D}1'"
50494 exit 1
50495 ;;
50496
50497 esac
50498 shift
50499 done
50500
50501 status=0
50502
50503 #
50504 # Link one module containing all the others
50505 #
50506 if test ${D}{verbose} = 1; then
50507 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50508 fi
50509 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50510 status=${D}?
50511
50512 #
50513 # Link the shared library from the single module created, but only if the
50514 # previous command didn't fail:
50515 #
50516 if test ${D}{status} = 0; then
50517 if test ${D}{verbose} = 1; then
50518 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50519 fi
50520 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50521 status=${D}?
50522 fi
50523
50524 #
50525 # Remove intermediate module
50526 #
50527 rm -f master.${D}${D}.o
50528
50529 exit ${D}status
50530 EOF
50531
50532 chmod +x shared-ld-sh
50533
50534 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50535 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
50536
50537
50538 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50539 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50540 if test "${bakefile_cv_gcc31+set}" = set; then
50541 echo $ECHO_N "(cached) $ECHO_C" >&6
50542 else
50543
50544 cat >conftest.$ac_ext <<_ACEOF
50545 /* confdefs.h. */
50546 _ACEOF
50547 cat confdefs.h >>conftest.$ac_ext
50548 cat >>conftest.$ac_ext <<_ACEOF
50549 /* end confdefs.h. */
50550
50551 int
50552 main ()
50553 {
50554
50555 #if (__GNUC__ < 3) || \
50556 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50557 This is old gcc
50558 #endif
50559
50560 ;
50561 return 0;
50562 }
50563 _ACEOF
50564 rm -f conftest.$ac_objext
50565 if { (ac_try="$ac_compile"
50566 case "(($ac_try" in
50567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50568 *) ac_try_echo=$ac_try;;
50569 esac
50570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50571 (eval "$ac_compile") 2>conftest.er1
50572 ac_status=$?
50573 grep -v '^ *+' conftest.er1 >conftest.err
50574 rm -f conftest.er1
50575 cat conftest.err >&5
50576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50577 (exit $ac_status); } && {
50578 test -z "$ac_c_werror_flag" ||
50579 test ! -s conftest.err
50580 } && test -s conftest.$ac_objext; then
50581
50582 bakefile_cv_gcc31=yes
50583
50584 else
50585 echo "$as_me: failed program was:" >&5
50586 sed 's/^/| /' conftest.$ac_ext >&5
50587
50588
50589 bakefile_cv_gcc31=no
50590
50591
50592 fi
50593
50594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50595
50596 fi
50597 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50598 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50599 if test "$bakefile_cv_gcc31" = "no"; then
50600 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50601 SHARED_LD_CXX="$SHARED_LD_CC"
50602 else
50603 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50604 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50605 fi
50606
50607 if test "x$GCC" == "xyes"; then
50608 PIC_FLAG="-dynamic -fPIC"
50609 fi
50610 if test "x$XLCC" = "xyes"; then
50611 PIC_FLAG="-dynamic -DPIC"
50612 fi
50613 ;;
50614
50615 *-*-aix* )
50616 if test "x$GCC" = "xyes"; then
50617 PIC_FLAG=""
50618
50619 case "${BAKEFILE_HOST}" in
50620 *-*-aix5* )
50621 LD_EXPFULL="-Wl,-bexpfull"
50622 ;;
50623 esac
50624
50625 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
50626 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
50627 else
50628 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50629 set dummy makeC++SharedLib; ac_word=$2
50630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50632 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50633 echo $ECHO_N "(cached) $ECHO_C" >&6
50634 else
50635 if test -n "$AIX_CXX_LD"; then
50636 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
50637 else
50638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50639 for as_dir in $PATH
50640 do
50641 IFS=$as_save_IFS
50642 test -z "$as_dir" && as_dir=.
50643 for ac_exec_ext in '' $ac_executable_extensions; do
50644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50645 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
50646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50647 break 2
50648 fi
50649 done
50650 done
50651 IFS=$as_save_IFS
50652
50653 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
50654 fi
50655 fi
50656 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
50657 if test -n "$AIX_CXX_LD"; then
50658 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50659 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50660 else
50661 { echo "$as_me:$LINENO: result: no" >&5
50662 echo "${ECHO_T}no" >&6; }
50663 fi
50664
50665
50666 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
50667 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
50668 fi
50669 ;;
50670
50671 *-*-beos* )
50672 SHARED_LD_CC="${LD} -nostart -o"
50673 SHARED_LD_CXX="${LD} -nostart -o"
50674 ;;
50675
50676 *-*-irix* )
50677 if test "x$GCC" != "xyes"; then
50678 PIC_FLAG="-KPIC"
50679 fi
50680 ;;
50681
50682 *-*-cygwin* | *-*-mingw32* )
50683 PIC_FLAG=""
50684 SHARED_LD_CC="\$(CC) -shared -o"
50685 SHARED_LD_CXX="\$(CXX) -shared -o"
50686 WINDOWS_IMPLIB=1
50687 ;;
50688
50689 *-pc-os2_emx | *-pc-os2-emx )
50690 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50691 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50692 PIC_FLAG=""
50693
50694 D='$'
50695 cat <<EOF >dllar.sh
50696 #!/bin/sh
50697 #
50698 # dllar - a tool to build both a .dll and an .a file
50699 # from a set of object (.o) files for EMX/OS2.
50700 #
50701 # Written by Andrew Zabolotny, bit@freya.etu.ru
50702 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50703 #
50704 # This script will accept a set of files on the command line.
50705 # All the public symbols from the .o files will be exported into
50706 # a .DEF file, then linker will be run (through gcc) against them to
50707 # build a shared library consisting of all given .o files. All libraries
50708 # (.a) will be first decompressed into component .o files then act as
50709 # described above. You can optionally give a description (-d "description")
50710 # which will be put into .DLL. To see the list of accepted options (as well
50711 # as command-line format) simply run this program without options. The .DLL
50712 # is built to be imported by name (there is no guarantee that new versions
50713 # of the library you build will have same ordinals for same symbols).
50714 #
50715 # dllar is free software; you can redistribute it and/or modify
50716 # it under the terms of the GNU General Public License as published by
50717 # the Free Software Foundation; either version 2, or (at your option)
50718 # any later version.
50719 #
50720 # dllar is distributed in the hope that it will be useful,
50721 # but WITHOUT ANY WARRANTY; without even the implied warranty of
50722 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
50723 # GNU General Public License for more details.
50724 #
50725 # You should have received a copy of the GNU General Public License
50726 # along with dllar; see the file COPYING. If not, write to the Free
50727 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
50728 # 02111-1307, USA.
50729
50730 # To successfuly run this program you will need:
50731 # - Current drive should have LFN support (HPFS, ext2, network, etc)
50732 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
50733 # - gcc
50734 # (used to build the .dll)
50735 # - emxexp
50736 # (used to create .def file from .o files)
50737 # - emximp
50738 # (used to create .a file from .def file)
50739 # - GNU text utilites (cat, sort, uniq)
50740 # used to process emxexp output
50741 # - GNU file utilities (mv, rm)
50742 # - GNU sed
50743 # - lxlite (optional, see flag below)
50744 # (used for general .dll cleanup)
50745 #
50746
50747 flag_USE_LXLITE=1;
50748
50749 #
50750 # helper functions
50751 # basnam, variant of basename, which does _not_ remove the path, _iff_
50752 # second argument (suffix to remove) is given
50753 basnam(){
50754 case ${D}# in
50755 1)
50756 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
50757 ;;
50758 2)
50759 echo ${D}1 | sed 's/'${D}2'${D}//'
50760 ;;
50761 *)
50762 echo "error in basnam ${D}*"
50763 exit 8
50764 ;;
50765 esac
50766 }
50767
50768 # Cleanup temporary files and output
50769 CleanUp() {
50770 cd ${D}curDir
50771 for i in ${D}inputFiles ; do
50772 case ${D}i in
50773 *!)
50774 rm -rf \`basnam ${D}i !\`
50775 ;;
50776 *)
50777 ;;
50778 esac
50779 done
50780
50781 # Kill result in case of failure as there is just to many stupid make/nmake
50782 # things out there which doesn't do this.
50783 if [ ${D}# -eq 0 ]; then
50784 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
50785 fi
50786 }
50787
50788 # Print usage and exit script with rc=1.
50789 PrintHelp() {
50790 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
50791 echo ' [-name-mangler-script script.sh]'
50792 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
50793 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
50794 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
50795 echo ' [*.o] [*.a]'
50796 echo '*> "output_file" should have no extension.'
50797 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
50798 echo ' The import library name is derived from this and is set to "name".a,'
50799 echo ' unless overridden by -import'
50800 echo '*> "importlib_name" should have no extension.'
50801 echo ' If it has the .o, or .a extension, it is automatically removed.'
50802 echo ' This name is used as the import library name and may be longer and'
50803 echo ' more descriptive than the DLL name which has to follow the old '
50804 echo ' 8.3 convention of FAT.'
50805 echo '*> "script.sh may be given to override the output_file name by a'
50806 echo ' different name. It is mainly useful if the regular make process'
50807 echo ' of some package does not take into account OS/2 restriction of'
50808 echo ' DLL name lengths. It takes the importlib name as input and is'
50809 echo ' supposed to procude a shorter name as output. The script should'
50810 echo ' expect to get importlib_name without extension and should produce'
50811 echo ' a (max.) 8 letter name without extension.'
50812 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
50813 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
50814 echo ' These flags will be put at the start of GCC command line.'
50815 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
50816 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
50817 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
50818 echo ' If the last character of a symbol is "*", all symbols beginning'
50819 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
50820 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
50821 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
50822 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
50823 echo ' C runtime DLLs.'
50824 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
50825 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
50826 echo ' unchanged to GCC at the end of command line.'
50827 echo '*> If you create a DLL from a library and you do not specify -o,'
50828 echo ' the basename for DLL and import library will be set to library name,'
50829 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
50830 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
50831 echo ' library will be renamed into gcc_s.a.'
50832 echo '--------'
50833 echo 'Example:'
50834 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
50835 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
50836 CleanUp
50837 exit 1
50838 }
50839
50840 # Execute a command.
50841 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
50842 # @Uses Whatever CleanUp() uses.
50843 doCommand() {
50844 echo "${D}*"
50845 eval ${D}*
50846 rcCmd=${D}?
50847
50848 if [ ${D}rcCmd -ne 0 ]; then
50849 echo "command failed, exit code="${D}rcCmd
50850 CleanUp
50851 exit ${D}rcCmd
50852 fi
50853 }
50854
50855 # main routine
50856 # setup globals
50857 cmdLine=${D}*
50858 outFile=""
50859 outimpFile=""
50860 inputFiles=""
50861 renameScript=""
50862 description=""
50863 CC=gcc.exe
50864 CFLAGS="-s -Zcrtdll"
50865 EXTRA_CFLAGS=""
50866 EXPORT_BY_ORDINALS=0
50867 exclude_symbols=""
50868 library_flags=""
50869 curDir=\`pwd\`
50870 curDirS=curDir
50871 case ${D}curDirS in
50872 */)
50873 ;;
50874 *)
50875 curDirS=${D}{curDirS}"/"
50876 ;;
50877 esac
50878 # Parse commandline
50879 libsToLink=0
50880 omfLinking=0
50881 while [ ${D}1 ]; do
50882 case ${D}1 in
50883 -ord*)
50884 EXPORT_BY_ORDINALS=1;
50885 ;;
50886 -o*)
50887 shift
50888 outFile=${D}1
50889 ;;
50890 -i*)
50891 shift
50892 outimpFile=${D}1
50893 ;;
50894 -name-mangler-script)
50895 shift
50896 renameScript=${D}1
50897 ;;
50898 -d*)
50899 shift
50900 description=${D}1
50901 ;;
50902 -f*)
50903 shift
50904 CFLAGS=${D}1
50905 ;;
50906 -c*)
50907 shift
50908 CC=${D}1
50909 ;;
50910 -h*)
50911 PrintHelp
50912 ;;
50913 -ex*)
50914 shift
50915 exclude_symbols=${D}{exclude_symbols}${D}1" "
50916 ;;
50917 -libf*)
50918 shift
50919 library_flags=${D}{library_flags}${D}1" "
50920 ;;
50921 -nocrt*)
50922 CFLAGS="-s"
50923 ;;
50924 -nolxl*)
50925 flag_USE_LXLITE=0
50926 ;;
50927 -* | /*)
50928 case ${D}1 in
50929 -L* | -l*)
50930 libsToLink=1
50931 ;;
50932 -Zomf)
50933 omfLinking=1
50934 ;;
50935 *)
50936 ;;
50937 esac
50938 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50939 ;;
50940 *.dll)
50941 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
50942 if [ ${D}omfLinking -eq 1 ]; then
50943 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
50944 else
50945 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
50946 fi
50947 ;;
50948 *)
50949 found=0;
50950 if [ ${D}libsToLink -ne 0 ]; then
50951 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
50952 else
50953 for file in ${D}1 ; do
50954 if [ -f ${D}file ]; then
50955 inputFiles="${D}{inputFiles} ${D}file"
50956 found=1
50957 fi
50958 done
50959 if [ ${D}found -eq 0 ]; then
50960 echo "ERROR: No file(s) found: "${D}1
50961 exit 8
50962 fi
50963 fi
50964 ;;
50965 esac
50966 shift
50967 done # iterate cmdline words
50968
50969 #
50970 if [ -z "${D}inputFiles" ]; then
50971 echo "dllar: no input files"
50972 PrintHelp
50973 fi
50974
50975 # Now extract all .o files from .a files
50976 newInputFiles=""
50977 for file in ${D}inputFiles ; do
50978 case ${D}file in
50979 *.a | *.lib)
50980 case ${D}file in
50981 *.a)
50982 suffix=".a"
50983 AR="ar"
50984 ;;
50985 *.lib)
50986 suffix=".lib"
50987 AR="emxomfar"
50988 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
50989 ;;
50990 *)
50991 ;;
50992 esac
50993 dirname=\`basnam ${D}file ${D}suffix\`"_%"
50994 mkdir ${D}dirname
50995 if [ ${D}? -ne 0 ]; then
50996 echo "Failed to create subdirectory ./${D}dirname"
50997 CleanUp
50998 exit 8;
50999 fi
51000 # Append '!' to indicate archive
51001 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51002 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51003 cd ${D}curDir
51004 found=0;
51005 for subfile in ${D}dirname/*.o* ; do
51006 if [ -f ${D}subfile ]; then
51007 found=1
51008 if [ -s ${D}subfile ]; then
51009 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51010 newInputFiles="${D}newInputFiles ${D}subfile"
51011 fi
51012 fi
51013 done
51014 if [ ${D}found -eq 0 ]; then
51015 echo "WARNING: there are no files in archive \\'${D}file\\'"
51016 fi
51017 ;;
51018 *)
51019 newInputFiles="${D}{newInputFiles} ${D}file"
51020 ;;
51021 esac
51022 done
51023 inputFiles="${D}newInputFiles"
51024
51025 # Output filename(s).
51026 do_backup=0;
51027 if [ -z ${D}outFile ]; then
51028 do_backup=1;
51029 set outFile ${D}inputFiles; outFile=${D}2
51030 fi
51031
51032 # If it is an archive, remove the '!' and the '_%' suffixes
51033 case ${D}outFile in
51034 *_%!)
51035 outFile=\`basnam ${D}outFile _%!\`
51036 ;;
51037 *)
51038 ;;
51039 esac
51040 case ${D}outFile in
51041 *.dll)
51042 outFile=\`basnam ${D}outFile .dll\`
51043 ;;
51044 *.DLL)
51045 outFile=\`basnam ${D}outFile .DLL\`
51046 ;;
51047 *.o)
51048 outFile=\`basnam ${D}outFile .o\`
51049 ;;
51050 *.obj)
51051 outFile=\`basnam ${D}outFile .obj\`
51052 ;;
51053 *.a)
51054 outFile=\`basnam ${D}outFile .a\`
51055 ;;
51056 *.lib)
51057 outFile=\`basnam ${D}outFile .lib\`
51058 ;;
51059 *)
51060 ;;
51061 esac
51062 case ${D}outimpFile in
51063 *.a)
51064 outimpFile=\`basnam ${D}outimpFile .a\`
51065 ;;
51066 *.lib)
51067 outimpFile=\`basnam ${D}outimpFile .lib\`
51068 ;;
51069 *)
51070 ;;
51071 esac
51072 if [ -z ${D}outimpFile ]; then
51073 outimpFile=${D}outFile
51074 fi
51075 defFile="${D}{outFile}.def"
51076 arcFile="${D}{outimpFile}.a"
51077 arcFile2="${D}{outimpFile}.lib"
51078
51079 #create ${D}dllFile as something matching 8.3 restrictions,
51080 if [ -z ${D}renameScript ] ; then
51081 dllFile="${D}outFile"
51082 else
51083 dllFile=\`${D}renameScript ${D}outimpFile\`
51084 fi
51085
51086 if [ ${D}do_backup -ne 0 ] ; then
51087 if [ -f ${D}arcFile ] ; then
51088 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51089 fi
51090 if [ -f ${D}arcFile2 ] ; then
51091 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51092 fi
51093 fi
51094
51095 # Extract public symbols from all the object files.
51096 tmpdefFile=${D}{defFile}_%
51097 rm -f ${D}tmpdefFile
51098 for file in ${D}inputFiles ; do
51099 case ${D}file in
51100 *!)
51101 ;;
51102 *)
51103 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51104 ;;
51105 esac
51106 done
51107
51108 # Create the def file.
51109 rm -f ${D}defFile
51110 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51111 dllFile="${D}{dllFile}.dll"
51112 if [ ! -z ${D}description ]; then
51113 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51114 fi
51115 echo "EXPORTS" >> ${D}defFile
51116
51117 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51118 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51119
51120 # Checks if the export is ok or not.
51121 for word in ${D}exclude_symbols; do
51122 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51123 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51124 done
51125
51126
51127 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51128 sed "=" < ${D}tmpdefFile | \\
51129 sed '
51130 N
51131 : loop
51132 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51133 t loop
51134 ' > ${D}{tmpdefFile}%
51135 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51136 else
51137 rm -f ${D}{tmpdefFile}%
51138 fi
51139 cat ${D}tmpdefFile >> ${D}defFile
51140 rm -f ${D}tmpdefFile
51141
51142 # Do linking, create implib, and apply lxlite.
51143 gccCmdl="";
51144 for file in ${D}inputFiles ; do
51145 case ${D}file in
51146 *!)
51147 ;;
51148 *)
51149 gccCmdl="${D}gccCmdl ${D}file"
51150 ;;
51151 esac
51152 done
51153 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51154 touch "${D}{outFile}.dll"
51155
51156 doCommand "emximp -o ${D}arcFile ${D}defFile"
51157 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51158 add_flags="";
51159 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51160 add_flags="-ynd"
51161 fi
51162 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51163 fi
51164 doCommand "emxomf -s -l ${D}arcFile"
51165
51166 # Successful exit.
51167 CleanUp 1
51168 exit 0
51169 EOF
51170
51171 chmod +x dllar.sh
51172 ;;
51173
51174 powerpc-apple-macos* | \
51175 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
51176 *-*-mirbsd* | \
51177 *-*-sunos4* | \
51178 *-*-osf* | \
51179 *-*-dgux5* | \
51180 *-*-sysv5* | \
51181 *-pc-msdosdjgpp )
51182 ;;
51183
51184 *)
51185 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51186 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51187 { (exit 1); exit 1; }; }
51188 esac
51189
51190 if test "x$PIC_FLAG" != "x" ; then
51191 PIC_FLAG="$PIC_FLAG -DPIC"
51192 fi
51193
51194 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51195 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
51196 fi
51197 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51198 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
51199 fi
51200
51201
51202
51203
51204
51205
51206
51207
51208
51209 USE_SOVERSION=0
51210 USE_SOVERLINUX=0
51211 USE_SOVERSOLARIS=0
51212 USE_SOVERCYGWIN=0
51213 USE_SOSYMLINKS=0
51214 USE_MACVERSION=0
51215 SONAME_FLAG=
51216
51217 case "${BAKEFILE_HOST}" in
51218 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
51219 if test "x$SUNCXX" = "xyes"; then
51220 SONAME_FLAG="-h "
51221 else
51222 SONAME_FLAG="-Wl,-soname,"
51223 fi
51224 USE_SOVERSION=1
51225 USE_SOVERLINUX=1
51226 USE_SOSYMLINKS=1
51227 ;;
51228
51229 *-*-solaris2* )
51230 SONAME_FLAG="-h "
51231 USE_SOVERSION=1
51232 USE_SOVERSOLARIS=1
51233 USE_SOSYMLINKS=1
51234 ;;
51235
51236 *-*-darwin* )
51237 USE_MACVERSION=1
51238 USE_SOVERSION=1
51239 USE_SOSYMLINKS=1
51240 ;;
51241
51242 *-*-cygwin* )
51243 USE_SOVERSION=1
51244 USE_SOVERCYGWIN=1
51245 ;;
51246 esac
51247
51248
51249
51250
51251
51252
51253
51254
51255
51256
51257 # Check whether --enable-dependency-tracking was given.
51258 if test "${enable_dependency_tracking+set}" = set; then
51259 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
51260 fi
51261
51262
51263 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51264 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51265
51266 BK_DEPS=""
51267 if test "x$bk_use_trackdeps" = "xno" ; then
51268 DEPS_TRACKING=0
51269 { echo "$as_me:$LINENO: result: disabled" >&5
51270 echo "${ECHO_T}disabled" >&6; }
51271 else
51272 DEPS_TRACKING=1
51273
51274 if test "x$GCC" = "xyes"; then
51275 DEPSMODE=gcc
51276 case "${BAKEFILE_HOST}" in
51277 *-*-darwin* )
51278 DEPSFLAG="-no-cpp-precomp -MMD"
51279 ;;
51280 * )
51281 DEPSFLAG="-MMD"
51282 ;;
51283 esac
51284 { echo "$as_me:$LINENO: result: gcc" >&5
51285 echo "${ECHO_T}gcc" >&6; }
51286 elif test "x$MWCC" = "xyes"; then
51287 DEPSMODE=mwcc
51288 DEPSFLAG="-MM"
51289 { echo "$as_me:$LINENO: result: mwcc" >&5
51290 echo "${ECHO_T}mwcc" >&6; }
51291 elif test "x$SUNCC" = "xyes"; then
51292 DEPSMODE=unixcc
51293 DEPSFLAG="-xM1"
51294 { echo "$as_me:$LINENO: result: Sun cc" >&5
51295 echo "${ECHO_T}Sun cc" >&6; }
51296 elif test "x$SGICC" = "xyes"; then
51297 DEPSMODE=unixcc
51298 DEPSFLAG="-M"
51299 { echo "$as_me:$LINENO: result: SGI cc" >&5
51300 echo "${ECHO_T}SGI cc" >&6; }
51301 elif test "x$HPCC" = "xyes"; then
51302 DEPSMODE=unixcc
51303 DEPSFLAG="+make"
51304 { echo "$as_me:$LINENO: result: HP cc" >&5
51305 echo "${ECHO_T}HP cc" >&6; }
51306 elif test "x$COMPAQCC" = "xyes"; then
51307 DEPSMODE=gcc
51308 DEPSFLAG="-MD"
51309 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51310 echo "${ECHO_T}Compaq cc" >&6; }
51311 else
51312 DEPS_TRACKING=0
51313 { echo "$as_me:$LINENO: result: none" >&5
51314 echo "${ECHO_T}none" >&6; }
51315 fi
51316
51317 if test $DEPS_TRACKING = 1 ; then
51318
51319 D='$'
51320 cat <<EOF >bk-deps
51321 #!/bin/sh
51322
51323 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51324 # script. It is used to track C/C++ files dependencies in portable way.
51325 #
51326 # Permission is given to use this file in any way.
51327
51328 DEPSMODE=${DEPSMODE}
51329 DEPSDIR=.deps
51330 DEPSFLAG="${DEPSFLAG}"
51331
51332 mkdir -p ${D}DEPSDIR
51333
51334 if test ${D}DEPSMODE = gcc ; then
51335 ${D}* ${D}{DEPSFLAG}
51336 status=${D}?
51337 if test ${D}{status} != 0 ; then
51338 exit ${D}{status}
51339 fi
51340 # move created file to the location we want it in:
51341 while test ${D}# -gt 0; do
51342 case "${D}1" in
51343 -o )
51344 shift
51345 objfile=${D}1
51346 ;;
51347 -* )
51348 ;;
51349 * )
51350 srcfile=${D}1
51351 ;;
51352 esac
51353 shift
51354 done
51355 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51356 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51357 if test -f ${D}depfile ; then
51358 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51359 rm -f ${D}depfile
51360 else
51361 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51362 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
51363 if test ! -f ${D}depfile ; then
51364 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51365 depfile="${D}objfile.d"
51366 fi
51367 if test -f ${D}depfile ; then
51368 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
51369 rm -f ${D}depfile
51370 fi
51371 fi
51372 exit 0
51373 elif test ${D}DEPSMODE = mwcc ; then
51374 ${D}* || exit ${D}?
51375 # Run mwcc again with -MM and redirect into the dep file we want
51376 # NOTE: We can't use shift here because we need ${D}* to be valid
51377 prevarg=
51378 for arg in ${D}* ; do
51379 if test "${D}prevarg" = "-o"; then
51380 objfile=${D}arg
51381 else
51382 case "${D}arg" in
51383 -* )
51384 ;;
51385 * )
51386 srcfile=${D}arg
51387 ;;
51388 esac
51389 fi
51390 prevarg="${D}arg"
51391 done
51392 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
51393 exit 0
51394 elif test ${D}DEPSMODE = unixcc; then
51395 ${D}* || exit ${D}?
51396 # Run compiler again with deps flag and redirect into the dep file.
51397 # It doesn't work if the '-o FILE' option is used, but without it the
51398 # dependency file will contain the wrong name for the object. So it is
51399 # removed from the command line, and the dep file is fixed with sed.
51400 cmd=""
51401 while test ${D}# -gt 0; do
51402 case "${D}1" in
51403 -o )
51404 shift
51405 objfile=${D}1
51406 ;;
51407 * )
51408 eval arg${D}#=\\${D}1
51409 cmd="${D}cmd \\${D}arg${D}#"
51410 ;;
51411 esac
51412 shift
51413 done
51414 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
51415 exit 0
51416 else
51417 ${D}*
51418 exit ${D}?
51419 fi
51420 EOF
51421
51422 chmod +x bk-deps
51423 BK_DEPS="`pwd`/bk-deps"
51424 fi
51425 fi
51426
51427
51428
51429
51430
51431 case ${BAKEFILE_HOST} in
51432 *-*-cygwin* | *-*-mingw32* )
51433 if test -n "$ac_tool_prefix"; then
51434 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51435 set dummy ${ac_tool_prefix}windres; ac_word=$2
51436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51438 if test "${ac_cv_prog_WINDRES+set}" = set; then
51439 echo $ECHO_N "(cached) $ECHO_C" >&6
51440 else
51441 if test -n "$WINDRES"; then
51442 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
51443 else
51444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51445 for as_dir in $PATH
51446 do
51447 IFS=$as_save_IFS
51448 test -z "$as_dir" && as_dir=.
51449 for ac_exec_ext in '' $ac_executable_extensions; do
51450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51451 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
51452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51453 break 2
51454 fi
51455 done
51456 done
51457 IFS=$as_save_IFS
51458
51459 fi
51460 fi
51461 WINDRES=$ac_cv_prog_WINDRES
51462 if test -n "$WINDRES"; then
51463 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51464 echo "${ECHO_T}$WINDRES" >&6; }
51465 else
51466 { echo "$as_me:$LINENO: result: no" >&5
51467 echo "${ECHO_T}no" >&6; }
51468 fi
51469
51470
51471 fi
51472 if test -z "$ac_cv_prog_WINDRES"; then
51473 ac_ct_WINDRES=$WINDRES
51474 # Extract the first word of "windres", so it can be a program name with args.
51475 set dummy windres; ac_word=$2
51476 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51478 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51479 echo $ECHO_N "(cached) $ECHO_C" >&6
51480 else
51481 if test -n "$ac_ct_WINDRES"; then
51482 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
51483 else
51484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51485 for as_dir in $PATH
51486 do
51487 IFS=$as_save_IFS
51488 test -z "$as_dir" && as_dir=.
51489 for ac_exec_ext in '' $ac_executable_extensions; do
51490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51491 ac_cv_prog_ac_ct_WINDRES="windres"
51492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51493 break 2
51494 fi
51495 done
51496 done
51497 IFS=$as_save_IFS
51498
51499 fi
51500 fi
51501 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
51502 if test -n "$ac_ct_WINDRES"; then
51503 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51504 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51505 else
51506 { echo "$as_me:$LINENO: result: no" >&5
51507 echo "${ECHO_T}no" >&6; }
51508 fi
51509
51510 if test "x$ac_ct_WINDRES" = x; then
51511 WINDRES=""
51512 else
51513 case $cross_compiling:$ac_tool_warned in
51514 yes:)
51515 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51516 whose name does not start with the host triplet. If you think this
51517 configuration is useful to you, please write to autoconf@gnu.org." >&5
51518 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51519 whose name does not start with the host triplet. If you think this
51520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51521 ac_tool_warned=yes ;;
51522 esac
51523 WINDRES=$ac_ct_WINDRES
51524 fi
51525 else
51526 WINDRES="$ac_cv_prog_WINDRES"
51527 fi
51528
51529 ;;
51530
51531 *-*-darwin* | powerpc-apple-macos* )
51532 # Extract the first word of "Rez", so it can be a program name with args.
51533 set dummy Rez; ac_word=$2
51534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51536 if test "${ac_cv_prog_REZ+set}" = set; then
51537 echo $ECHO_N "(cached) $ECHO_C" >&6
51538 else
51539 if test -n "$REZ"; then
51540 ac_cv_prog_REZ="$REZ" # Let the user override the test.
51541 else
51542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51543 for as_dir in $PATH
51544 do
51545 IFS=$as_save_IFS
51546 test -z "$as_dir" && as_dir=.
51547 for ac_exec_ext in '' $ac_executable_extensions; do
51548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51549 ac_cv_prog_REZ="Rez"
51550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51551 break 2
51552 fi
51553 done
51554 done
51555 IFS=$as_save_IFS
51556
51557 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
51558 fi
51559 fi
51560 REZ=$ac_cv_prog_REZ
51561 if test -n "$REZ"; then
51562 { echo "$as_me:$LINENO: result: $REZ" >&5
51563 echo "${ECHO_T}$REZ" >&6; }
51564 else
51565 { echo "$as_me:$LINENO: result: no" >&5
51566 echo "${ECHO_T}no" >&6; }
51567 fi
51568
51569
51570 # Extract the first word of "SetFile", so it can be a program name with args.
51571 set dummy SetFile; ac_word=$2
51572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51574 if test "${ac_cv_prog_SETFILE+set}" = set; then
51575 echo $ECHO_N "(cached) $ECHO_C" >&6
51576 else
51577 if test -n "$SETFILE"; then
51578 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
51579 else
51580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51581 for as_dir in $PATH
51582 do
51583 IFS=$as_save_IFS
51584 test -z "$as_dir" && as_dir=.
51585 for ac_exec_ext in '' $ac_executable_extensions; do
51586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51587 ac_cv_prog_SETFILE="SetFile"
51588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51589 break 2
51590 fi
51591 done
51592 done
51593 IFS=$as_save_IFS
51594
51595 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
51596 fi
51597 fi
51598 SETFILE=$ac_cv_prog_SETFILE
51599 if test -n "$SETFILE"; then
51600 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51601 echo "${ECHO_T}$SETFILE" >&6; }
51602 else
51603 { echo "$as_me:$LINENO: result: no" >&5
51604 echo "${ECHO_T}no" >&6; }
51605 fi
51606
51607
51608 ;;
51609 esac
51610
51611
51612
51613
51614
51615
51616 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
51617
51618
51619 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
51620
51621
51622
51623 # Check whether --enable-precomp-headers was given.
51624 if test "${enable_precomp_headers+set}" = set; then
51625 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
51626 fi
51627
51628
51629 GCC_PCH=0
51630 ICC_PCH=0
51631 USE_PCH=0
51632 BK_MAKE_PCH=""
51633
51634 case ${BAKEFILE_HOST} in
51635 *-*-cygwin* )
51636 bk_use_pch="no"
51637 ;;
51638 esac
51639
51640 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51641 if test "x$GCC" = "xyes"; then
51642 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51643 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51644 cat >conftest.$ac_ext <<_ACEOF
51645 /* confdefs.h. */
51646 _ACEOF
51647 cat confdefs.h >>conftest.$ac_ext
51648 cat >>conftest.$ac_ext <<_ACEOF
51649 /* end confdefs.h. */
51650
51651 int
51652 main ()
51653 {
51654
51655 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51656 There is no PCH support
51657 #endif
51658 #if (__GNUC__ < 3)
51659 There is no PCH support
51660 #endif
51661 #if (__GNUC__ == 3) && \
51662 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51663 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51664 ( defined(__INTEL_COMPILER) )
51665 There is no PCH support
51666 #endif
51667
51668 ;
51669 return 0;
51670 }
51671 _ACEOF
51672 rm -f conftest.$ac_objext
51673 if { (ac_try="$ac_compile"
51674 case "(($ac_try" in
51675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51676 *) ac_try_echo=$ac_try;;
51677 esac
51678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51679 (eval "$ac_compile") 2>conftest.er1
51680 ac_status=$?
51681 grep -v '^ *+' conftest.er1 >conftest.err
51682 rm -f conftest.er1
51683 cat conftest.err >&5
51684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51685 (exit $ac_status); } && {
51686 test -z "$ac_c_werror_flag" ||
51687 test ! -s conftest.err
51688 } && test -s conftest.$ac_objext; then
51689
51690 { echo "$as_me:$LINENO: result: yes" >&5
51691 echo "${ECHO_T}yes" >&6; }
51692 GCC_PCH=1
51693
51694 else
51695 echo "$as_me: failed program was:" >&5
51696 sed 's/^/| /' conftest.$ac_ext >&5
51697
51698
51699 cat >conftest.$ac_ext <<_ACEOF
51700 /* confdefs.h. */
51701 _ACEOF
51702 cat confdefs.h >>conftest.$ac_ext
51703 cat >>conftest.$ac_ext <<_ACEOF
51704 /* end confdefs.h. */
51705
51706 int
51707 main ()
51708 {
51709
51710 #if !defined(__INTEL_COMPILER) || \
51711 (__INTEL_COMPILER < 800)
51712 There is no PCH support
51713 #endif
51714
51715 ;
51716 return 0;
51717 }
51718 _ACEOF
51719 rm -f conftest.$ac_objext
51720 if { (ac_try="$ac_compile"
51721 case "(($ac_try" in
51722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51723 *) ac_try_echo=$ac_try;;
51724 esac
51725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51726 (eval "$ac_compile") 2>conftest.er1
51727 ac_status=$?
51728 grep -v '^ *+' conftest.er1 >conftest.err
51729 rm -f conftest.er1
51730 cat conftest.err >&5
51731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51732 (exit $ac_status); } && {
51733 test -z "$ac_c_werror_flag" ||
51734 test ! -s conftest.err
51735 } && test -s conftest.$ac_objext; then
51736
51737 { echo "$as_me:$LINENO: result: yes" >&5
51738 echo "${ECHO_T}yes" >&6; }
51739 ICC_PCH=1
51740
51741 else
51742 echo "$as_me: failed program was:" >&5
51743 sed 's/^/| /' conftest.$ac_ext >&5
51744
51745
51746 { echo "$as_me:$LINENO: result: no" >&5
51747 echo "${ECHO_T}no" >&6; }
51748
51749 fi
51750
51751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51752
51753 fi
51754
51755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51756 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
51757 USE_PCH=1
51758
51759 D='$'
51760 cat <<EOF >bk-make-pch
51761 #!/bin/sh
51762
51763 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
51764 # script. It is used to generated precompiled headers.
51765 #
51766 # Permission is given to use this file in any way.
51767
51768 outfile="${D}{1}"
51769 header="${D}{2}"
51770 shift
51771 shift
51772
51773 compiler=""
51774 headerfile=""
51775
51776 while test ${D}{#} -gt 0; do
51777 add_to_cmdline=1
51778 case "${D}{1}" in
51779 -I* )
51780 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
51781 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
51782 headerfile="${D}{incdir}/${D}{header}"
51783 fi
51784 ;;
51785 -use-pch|-use_pch )
51786 shift
51787 add_to_cmdline=0
51788 ;;
51789 esac
51790 if test ${D}add_to_cmdline = 1 ; then
51791 compiler="${D}{compiler} ${D}{1}"
51792 fi
51793 shift
51794 done
51795
51796 if test "x${D}{headerfile}" = "x" ; then
51797 echo "error: can't find header ${D}{header} in include paths" >&2
51798 else
51799 if test -f ${D}{outfile} ; then
51800 rm -f ${D}{outfile}
51801 else
51802 mkdir -p \`dirname ${D}{outfile}\`
51803 fi
51804 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
51805 mkdir -p .deps
51806 if test "x${GCC_PCH}" = "x1" ; then
51807 # can do this because gcc is >= 3.4:
51808 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
51809 elif test "x${ICC_PCH}" = "x1" ; then
51810 filename=pch_gen-${D}${D}
51811 file=${D}{filename}.c
51812 dfile=${D}{filename}.d
51813 cat > ${D}file <<EOT
51814 #include "${D}header"
51815 EOT
51816 # using -MF icc complains about differing command lines in creation/use
51817 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
51818 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
51819 rm -f ${D}file ${D}dfile ${D}{filename}.o
51820 fi
51821 exit ${D}{?}
51822 fi
51823 EOF
51824
51825 chmod +x bk-make-pch
51826 BK_MAKE_PCH="`pwd`/bk-make-pch"
51827 fi
51828 fi
51829 fi
51830
51831
51832
51833
51834
51835 COND_BUILD_DEBUG="#"
51836 if test "x$BUILD" = "xdebug" ; then
51837 COND_BUILD_DEBUG=""
51838 fi
51839
51840 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
51841 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
51842 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
51843 fi
51844
51845 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
51846 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
51847 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
51848 fi
51849
51850 COND_BUILD_DEBUG_UNICODE_0="#"
51851 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
51852 COND_BUILD_DEBUG_UNICODE_0=""
51853 fi
51854
51855 COND_BUILD_DEBUG_UNICODE_1="#"
51856 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
51857 COND_BUILD_DEBUG_UNICODE_1=""
51858 fi
51859
51860 COND_BUILD_RELEASE="#"
51861 if test "x$BUILD" = "xrelease" ; then
51862 COND_BUILD_RELEASE=""
51863 fi
51864
51865 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
51866 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
51867 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
51868 fi
51869
51870 COND_BUILD_RELEASE_UNICODE_0="#"
51871 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
51872 COND_BUILD_RELEASE_UNICODE_0=""
51873 fi
51874
51875 COND_BUILD_RELEASE_UNICODE_1="#"
51876 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
51877 COND_BUILD_RELEASE_UNICODE_1=""
51878 fi
51879
51880 COND_DEBUG_FLAG_1="#"
51881 if test "x$DEBUG_FLAG" = "x1" ; then
51882 COND_DEBUG_FLAG_1=""
51883 fi
51884
51885 COND_DEBUG_INFO_0="#"
51886 if test "x$DEBUG_INFO" = "x0" ; then
51887 COND_DEBUG_INFO_0=""
51888 fi
51889
51890 COND_DEBUG_INFO_1="#"
51891 if test "x$DEBUG_INFO" = "x1" ; then
51892 COND_DEBUG_INFO_1=""
51893 fi
51894
51895 COND_DEPS_TRACKING_0="#"
51896 if test "x$DEPS_TRACKING" = "x0" ; then
51897 COND_DEPS_TRACKING_0=""
51898 fi
51899
51900 COND_DEPS_TRACKING_1="#"
51901 if test "x$DEPS_TRACKING" = "x1" ; then
51902 COND_DEPS_TRACKING_1=""
51903 fi
51904
51905 COND_GCC_PCH_1="#"
51906 if test "x$GCC_PCH" = "x1" ; then
51907 COND_GCC_PCH_1=""
51908 fi
51909
51910 COND_ICC_PCH_1="#"
51911 if test "x$ICC_PCH" = "x1" ; then
51912 COND_ICC_PCH_1=""
51913 fi
51914
51915 COND_MONOLITHIC_0="#"
51916 if test "x$MONOLITHIC" = "x0" ; then
51917 COND_MONOLITHIC_0=""
51918 fi
51919
51920 COND_MONOLITHIC_0_SHARED_0="#"
51921 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
51922 COND_MONOLITHIC_0_SHARED_0=""
51923 fi
51924
51925 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
51926 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
51927 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
51928 fi
51929
51930 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
51931 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
51932 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
51933 fi
51934
51935 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
51936 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51937 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
51938 fi
51939
51940 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
51941 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51942 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
51943 fi
51944
51945 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
51946 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
51947 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
51948 fi
51949
51950 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
51951 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
51952 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
51953 fi
51954
51955 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
51956 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
51957 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
51958 fi
51959
51960 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
51961 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
51962 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
51963 fi
51964
51965 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
51966 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
51967 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
51968 fi
51969
51970 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
51971 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
51972 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
51973 fi
51974
51975 COND_MONOLITHIC_0_SHARED_1="#"
51976 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
51977 COND_MONOLITHIC_0_SHARED_1=""
51978 fi
51979
51980 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
51981 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
51982 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
51983 fi
51984
51985 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
51986 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
51987 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
51988 fi
51989
51990 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
51991 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
51992 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
51993 fi
51994
51995 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
51996 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
51997 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
51998 fi
51999
52000 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
52001 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52002 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
52003 fi
52004
52005 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52006 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52007 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52008 fi
52009
52010 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
52011 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
52012 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
52013 fi
52014
52015 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52016 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52017 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52018 fi
52019
52020 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52021 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52022 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52023 fi
52024
52025 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52027 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52028 fi
52029
52030 COND_MONOLITHIC_0_USE_AUI_1="#"
52031 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52032 COND_MONOLITHIC_0_USE_AUI_1=""
52033 fi
52034
52035 COND_MONOLITHIC_0_USE_GUI_1="#"
52036 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52037 COND_MONOLITHIC_0_USE_GUI_1=""
52038 fi
52039
52040 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52041 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52042 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52043 fi
52044
52045 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
52046 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
52047 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
52048 fi
52049
52050 COND_MONOLITHIC_0_USE_HTML_1="#"
52051 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52052 COND_MONOLITHIC_0_USE_HTML_1=""
52053 fi
52054
52055 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52056 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52057 COND_MONOLITHIC_0_USE_MEDIA_1=""
52058 fi
52059
52060 COND_MONOLITHIC_0_USE_ODBC_1="#"
52061 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
52062 COND_MONOLITHIC_0_USE_ODBC_1=""
52063 fi
52064
52065 COND_MONOLITHIC_0_USE_QA_1="#"
52066 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52067 COND_MONOLITHIC_0_USE_QA_1=""
52068 fi
52069
52070 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52071 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52072 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52073 fi
52074
52075 COND_MONOLITHIC_0_USE_STC_1="#"
52076 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52077 COND_MONOLITHIC_0_USE_STC_1=""
52078 fi
52079
52080 COND_MONOLITHIC_0_USE_XRC_1="#"
52081 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52082 COND_MONOLITHIC_0_USE_XRC_1=""
52083 fi
52084
52085 COND_MONOLITHIC_1="#"
52086 if test "x$MONOLITHIC" = "x1" ; then
52087 COND_MONOLITHIC_1=""
52088 fi
52089
52090 COND_MONOLITHIC_1_SHARED_0="#"
52091 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52092 COND_MONOLITHIC_1_SHARED_0=""
52093 fi
52094
52095 COND_MONOLITHIC_1_SHARED_1="#"
52096 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52097 COND_MONOLITHIC_1_SHARED_1=""
52098 fi
52099
52100 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52101 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52102 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52103 fi
52104
52105 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52106 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52107 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52108 fi
52109
52110 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52111 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52112 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52113 fi
52114
52115 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52116 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52117 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52118 fi
52119
52120 COND_PLATFORM_MACOSX_1="#"
52121 if test "x$PLATFORM_MACOSX" = "x1" ; then
52122 COND_PLATFORM_MACOSX_1=""
52123 fi
52124
52125 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
52126 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
52127 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
52128 fi
52129
52130 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
52131 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
52132 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
52133 fi
52134
52135 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
52136 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
52137 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
52138 fi
52139
52140 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
52141 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
52142 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
52143 fi
52144
52145 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
52146 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52147 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
52148 fi
52149
52150 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
52151 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
52152 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
52153 fi
52154
52155 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
52156 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
52157 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
52158 fi
52159
52160 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52161 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52162 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52163 fi
52164
52165 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52166 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52167 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52168 fi
52169
52170 COND_PLATFORM_MACOS_1="#"
52171 if test "x$PLATFORM_MACOS" = "x1" ; then
52172 COND_PLATFORM_MACOS_1=""
52173 fi
52174
52175 COND_PLATFORM_MAC_1="#"
52176 if test "x$PLATFORM_MAC" = "x1" ; then
52177 COND_PLATFORM_MAC_1=""
52178 fi
52179
52180 COND_PLATFORM_MSDOS_0="#"
52181 if test "x$PLATFORM_MSDOS" = "x0" ; then
52182 COND_PLATFORM_MSDOS_0=""
52183 fi
52184
52185 COND_PLATFORM_MSDOS_1="#"
52186 if test "x$PLATFORM_MSDOS" = "x1" ; then
52187 COND_PLATFORM_MSDOS_1=""
52188 fi
52189
52190 COND_PLATFORM_OS2_1="#"
52191 if test "x$PLATFORM_OS2" = "x1" ; then
52192 COND_PLATFORM_OS2_1=""
52193 fi
52194
52195 COND_PLATFORM_UNIX_0="#"
52196 if test "x$PLATFORM_UNIX" = "x0" ; then
52197 COND_PLATFORM_UNIX_0=""
52198 fi
52199
52200 COND_PLATFORM_UNIX_1="#"
52201 if test "x$PLATFORM_UNIX" = "x1" ; then
52202 COND_PLATFORM_UNIX_1=""
52203 fi
52204
52205 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52206 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52207 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52208 fi
52209
52210 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52211 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52212 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52213 fi
52214
52215 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52216 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52217 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52218 fi
52219
52220 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52221 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52222 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52223 fi
52224
52225 COND_PLATFORM_WIN32_0="#"
52226 if test "x$PLATFORM_WIN32" = "x0" ; then
52227 COND_PLATFORM_WIN32_0=""
52228 fi
52229
52230 COND_PLATFORM_WIN32_1="#"
52231 if test "x$PLATFORM_WIN32" = "x1" ; then
52232 COND_PLATFORM_WIN32_1=""
52233 fi
52234
52235 COND_SHARED_0="#"
52236 if test "x$SHARED" = "x0" ; then
52237 COND_SHARED_0=""
52238 fi
52239
52240 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52241 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52242 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52243 fi
52244
52245 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52246 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52247 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52248 fi
52249
52250 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52251 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52252 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52253 fi
52254
52255 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52256 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52257 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52258 fi
52259
52260 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52261 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52262 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52263 fi
52264
52265 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52266 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52267 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52268 fi
52269
52270 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52271 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52272 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52273 fi
52274
52275 COND_SHARED_0_USE_STC_1="#"
52276 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52277 COND_SHARED_0_USE_STC_1=""
52278 fi
52279
52280 COND_SHARED_0_USE_XRC_1="#"
52281 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52282 COND_SHARED_0_USE_XRC_1=""
52283 fi
52284
52285 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
52286 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52287 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
52288 fi
52289
52290 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
52291 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
52292 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
52293 fi
52294
52295 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
52296 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52297 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
52298 fi
52299
52300 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
52301 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52302 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
52303 fi
52304
52305 COND_SHARED_1="#"
52306 if test "x$SHARED" = "x1" ; then
52307 COND_SHARED_1=""
52308 fi
52309
52310 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52311 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52312 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52313 fi
52314
52315 COND_SHARED_1_USE_XRC_1="#"
52316 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52317 COND_SHARED_1_USE_XRC_1=""
52318 fi
52319
52320 COND_TOOLKIT_="#"
52321 if test "x$TOOLKIT" = "x" ; then
52322 COND_TOOLKIT_=""
52323 fi
52324
52325 COND_TOOLKIT_COCOA="#"
52326 if test "x$TOOLKIT" = "xCOCOA" ; then
52327 COND_TOOLKIT_COCOA=""
52328 fi
52329
52330 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52331 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52332 COND_TOOLKIT_COCOA_USE_GUI_1=""
52333 fi
52334
52335 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52336 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52337 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52338 fi
52339
52340 COND_TOOLKIT_DFB="#"
52341 if test "x$TOOLKIT" = "xDFB" ; then
52342 COND_TOOLKIT_DFB=""
52343 fi
52344
52345 COND_TOOLKIT_DFB_USE_GUI_1="#"
52346 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52347 COND_TOOLKIT_DFB_USE_GUI_1=""
52348 fi
52349
52350 COND_TOOLKIT_GTK="#"
52351 if test "x$TOOLKIT" = "xGTK" ; then
52352 COND_TOOLKIT_GTK=""
52353 fi
52354
52355 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52356 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52357 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52358 fi
52359
52360 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52361 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52362 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52363 fi
52364
52365 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52366 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52367 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52368 fi
52369
52370 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52371 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52372 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52373 fi
52374
52375 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52376 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52377 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52378 fi
52379
52380 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52381 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52382 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52383 fi
52384
52385 COND_TOOLKIT_GTK_USE_GUI_1="#"
52386 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52387 COND_TOOLKIT_GTK_USE_GUI_1=""
52388 fi
52389
52390 COND_TOOLKIT_MAC="#"
52391 if test "x$TOOLKIT" = "xMAC" ; then
52392 COND_TOOLKIT_MAC=""
52393 fi
52394
52395 COND_TOOLKIT_MAC_USE_GUI_1="#"
52396 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
52397 COND_TOOLKIT_MAC_USE_GUI_1=""
52398 fi
52399
52400 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
52401 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52402 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
52403 fi
52404
52405 COND_TOOLKIT_MGL="#"
52406 if test "x$TOOLKIT" = "xMGL" ; then
52407 COND_TOOLKIT_MGL=""
52408 fi
52409
52410 COND_TOOLKIT_MGL_USE_GUI_1="#"
52411 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52412 COND_TOOLKIT_MGL_USE_GUI_1=""
52413 fi
52414
52415 COND_TOOLKIT_MOTIF="#"
52416 if test "x$TOOLKIT" = "xMOTIF" ; then
52417 COND_TOOLKIT_MOTIF=""
52418 fi
52419
52420 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52421 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52422 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52423 fi
52424
52425 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52426 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52427 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52428 fi
52429
52430 COND_TOOLKIT_MSW="#"
52431 if test "x$TOOLKIT" = "xMSW" ; then
52432 COND_TOOLKIT_MSW=""
52433 fi
52434
52435 COND_TOOLKIT_MSW_USE_GUI_1="#"
52436 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52437 COND_TOOLKIT_MSW_USE_GUI_1=""
52438 fi
52439
52440 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52441 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52442 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52443 fi
52444
52445 COND_TOOLKIT_MSW_WXUNIV_0="#"
52446 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52447 COND_TOOLKIT_MSW_WXUNIV_0=""
52448 fi
52449
52450 COND_TOOLKIT_PM="#"
52451 if test "x$TOOLKIT" = "xPM" ; then
52452 COND_TOOLKIT_PM=""
52453 fi
52454
52455 COND_TOOLKIT_PM_USE_GUI_1="#"
52456 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52457 COND_TOOLKIT_PM_USE_GUI_1=""
52458 fi
52459
52460 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52461 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52462 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52463 fi
52464
52465 COND_TOOLKIT_WINCE="#"
52466 if test "x$TOOLKIT" = "xWINCE" ; then
52467 COND_TOOLKIT_WINCE=""
52468 fi
52469
52470 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52471 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52472 COND_TOOLKIT_WINCE_USE_GUI_1=""
52473 fi
52474
52475 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52476 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52477 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52478 fi
52479
52480 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52481 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52482 COND_TOOLKIT_WINCE_WXUNIV_0=""
52483 fi
52484
52485 COND_TOOLKIT_X11="#"
52486 if test "x$TOOLKIT" = "xX11" ; then
52487 COND_TOOLKIT_X11=""
52488 fi
52489
52490 COND_TOOLKIT_X11_USE_GUI_1="#"
52491 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52492 COND_TOOLKIT_X11_USE_GUI_1=""
52493 fi
52494
52495 COND_UNICODE_1="#"
52496 if test "x$UNICODE" = "x1" ; then
52497 COND_UNICODE_1=""
52498 fi
52499
52500 COND_USE_EXCEPTIONS_0="#"
52501 if test "x$USE_EXCEPTIONS" = "x0" ; then
52502 COND_USE_EXCEPTIONS_0=""
52503 fi
52504
52505 COND_USE_EXCEPTIONS_1="#"
52506 if test "x$USE_EXCEPTIONS" = "x1" ; then
52507 COND_USE_EXCEPTIONS_1=""
52508 fi
52509
52510 COND_USE_GUI_0="#"
52511 if test "x$USE_GUI" = "x0" ; then
52512 COND_USE_GUI_0=""
52513 fi
52514
52515 COND_USE_GUI_1="#"
52516 if test "x$USE_GUI" = "x1" ; then
52517 COND_USE_GUI_1=""
52518 fi
52519
52520 COND_USE_GUI_1_USE_OPENGL_1="#"
52521 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52522 COND_USE_GUI_1_USE_OPENGL_1=""
52523 fi
52524
52525 COND_USE_GUI_1_WXUNIV_0="#"
52526 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52527 COND_USE_GUI_1_WXUNIV_0=""
52528 fi
52529
52530 COND_USE_GUI_1_WXUNIV_1="#"
52531 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52532 COND_USE_GUI_1_WXUNIV_1=""
52533 fi
52534
52535 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52536 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52537 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52538 fi
52539
52540 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52541 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52542 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52543 fi
52544
52545 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52546 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52547 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52548 fi
52549
52550 COND_USE_ODBC_1="#"
52551 if test "x$USE_ODBC" = "x1" ; then
52552 COND_USE_ODBC_1=""
52553 fi
52554
52555 COND_USE_OPENGL_1="#"
52556 if test "x$USE_OPENGL" = "x1" ; then
52557 COND_USE_OPENGL_1=""
52558 fi
52559
52560 COND_USE_PCH_1="#"
52561 if test "x$USE_PCH" = "x1" ; then
52562 COND_USE_PCH_1=""
52563 fi
52564
52565 COND_USE_PLUGINS_0="#"
52566 if test "x$USE_PLUGINS" = "x0" ; then
52567 COND_USE_PLUGINS_0=""
52568 fi
52569
52570 COND_USE_RTTI_0="#"
52571 if test "x$USE_RTTI" = "x0" ; then
52572 COND_USE_RTTI_0=""
52573 fi
52574
52575 COND_USE_RTTI_1="#"
52576 if test "x$USE_RTTI" = "x1" ; then
52577 COND_USE_RTTI_1=""
52578 fi
52579
52580 COND_USE_SOSYMLINKS_1="#"
52581 if test "x$USE_SOSYMLINKS" = "x1" ; then
52582 COND_USE_SOSYMLINKS_1=""
52583 fi
52584
52585 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52586 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52587 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52588 fi
52589
52590 COND_USE_SOVERLINUX_1="#"
52591 if test "x$USE_SOVERLINUX" = "x1" ; then
52592 COND_USE_SOVERLINUX_1=""
52593 fi
52594
52595 COND_USE_SOVERSION_0="#"
52596 if test "x$USE_SOVERSION" = "x0" ; then
52597 COND_USE_SOVERSION_0=""
52598 fi
52599
52600 COND_USE_SOVERSOLARIS_1="#"
52601 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52602 COND_USE_SOVERSOLARIS_1=""
52603 fi
52604
52605 COND_USE_STC_1="#"
52606 if test "x$USE_STC" = "x1" ; then
52607 COND_USE_STC_1=""
52608 fi
52609
52610 COND_USE_THREADS_0="#"
52611 if test "x$USE_THREADS" = "x0" ; then
52612 COND_USE_THREADS_0=""
52613 fi
52614
52615 COND_USE_THREADS_1="#"
52616 if test "x$USE_THREADS" = "x1" ; then
52617 COND_USE_THREADS_1=""
52618 fi
52619
52620 COND_USE_XRC_1="#"
52621 if test "x$USE_XRC" = "x1" ; then
52622 COND_USE_XRC_1=""
52623 fi
52624
52625 COND_WINDOWS_IMPLIB_1="#"
52626 if test "x$WINDOWS_IMPLIB" = "x1" ; then
52627 COND_WINDOWS_IMPLIB_1=""
52628 fi
52629
52630 COND_WITH_PLUGIN_SDL_1="#"
52631 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
52632 COND_WITH_PLUGIN_SDL_1=""
52633 fi
52634
52635 COND_WXUNIV_0="#"
52636 if test "x$WXUNIV" = "x0" ; then
52637 COND_WXUNIV_0=""
52638 fi
52639
52640 COND_WXUNIV_1="#"
52641 if test "x$WXUNIV" = "x1" ; then
52642 COND_WXUNIV_1=""
52643 fi
52644
52645 COND_WXUSE_EXPAT_BUILTIN="#"
52646 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
52647 COND_WXUSE_EXPAT_BUILTIN=""
52648 fi
52649
52650 COND_WXUSE_LIBJPEG_BUILTIN="#"
52651 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52652 COND_WXUSE_LIBJPEG_BUILTIN=""
52653 fi
52654
52655 COND_WXUSE_LIBPNG_BUILTIN="#"
52656 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52657 COND_WXUSE_LIBPNG_BUILTIN=""
52658 fi
52659
52660 COND_WXUSE_LIBTIFF_BUILTIN="#"
52661 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52662 COND_WXUSE_LIBTIFF_BUILTIN=""
52663 fi
52664
52665 COND_WXUSE_ODBC_BUILTIN="#"
52666 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
52667 COND_WXUSE_ODBC_BUILTIN=""
52668 fi
52669
52670 COND_WXUSE_REGEX_BUILTIN="#"
52671 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
52672 COND_WXUSE_REGEX_BUILTIN=""
52673 fi
52674
52675 COND_WXUSE_ZLIB_BUILTIN="#"
52676 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
52677 COND_WXUSE_ZLIB_BUILTIN=""
52678 fi
52679
52680
52681
52682 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
52683 { { 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
52684 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;}
52685 { (exit 1); exit 1; }; }
52686 fi
52687
52688 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
52689 { { 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
52690 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;}
52691 { (exit 1); exit 1; }; }
52692 fi
52693
52694
52695 if test $GCC_PCH = 1
52696 then
52697 if test "$wx_cv_gcc_pch_bug" = yes; then
52698 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
52699 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
52700 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
52701 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
52702 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
52703 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
52704 fi
52705
52706 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
52707 fi
52708
52709
52710 if test "$wxUSE_MAC" = 1 ; then
52711 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
52712 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
52713 mv temp bk-deps
52714 chmod +x bk-deps
52715 fi
52716 fi
52717
52718 if test "$wxUSE_SHARED" = "yes"; then
52719
52720 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
52721 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
52722
52723 case "${host}" in
52724 *-pc-os2_emx | *-pc-os2-emx )
52725 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52726 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
52727 cp -p ${srcdir}/src/os2/dllnames.sh .
52728 cp -p ${srcdir}/src/os2/dllar.sh .
52729 ;;
52730 esac
52731 else
52732
52733 EXE_LINKER="$CXX -o"
52734
52735 fi
52736 if test "$wxUSE_OMF" = "yes"; then
52737 case "${host}" in
52738 *-pc-os2_emx | *-pc-os2-emx )
52739 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
52740 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52741 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
52742 ;;
52743 esac
52744 fi
52745
52746 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
52747
52748
52749 case "${host}" in
52750 *-*-solaris2* )
52751 if "$GCC" = yes; then
52752 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
52753 LIBS=`echo $LIBS | sed 's/-mt//'`
52754 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
52755 fi
52756 ;;
52757
52758 *-*-linux* )
52759 if test "x$SUNCXX" = xyes; then
52760 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
52761 LIBS=`echo $LIBS | sed 's/-pthread//'`
52762 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
52763 fi
52764 ;;
52765 esac
52766
52767 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
52768 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
52769
52770 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
52771
52772
52773
52774
52775
52776
52777
52778
52779
52780
52781
52782
52783
52784
52785
52786
52787
52788
52789
52790
52791
52792
52793
52794
52795
52796
52797
52798
52799
52800
52801
52802
52803
52804
52805
52806
52807
52808
52809
52810
52811
52812
52813
52814
52815
52816
52817
52818
52819
52820
52821
52822
52823
52824
52825
52826
52827
52828
52829
52830
52831
52832 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52833 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52834 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52835 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52836 echo $ECHO_N "(cached) $ECHO_C" >&6
52837 else
52838 cat >conftest.make <<\_ACEOF
52839 SHELL = /bin/sh
52840 all:
52841 @echo '@@@%%%=$(MAKE)=@@@%%%'
52842 _ACEOF
52843 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52844 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52845 *@@@%%%=?*=@@@%%%*)
52846 eval ac_cv_prog_make_${ac_make}_set=yes;;
52847 *)
52848 eval ac_cv_prog_make_${ac_make}_set=no;;
52849 esac
52850 rm -f conftest.make
52851 fi
52852 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52853 { echo "$as_me:$LINENO: result: yes" >&5
52854 echo "${ECHO_T}yes" >&6; }
52855 SET_MAKE=
52856 else
52857 { echo "$as_me:$LINENO: result: no" >&5
52858 echo "${ECHO_T}no" >&6; }
52859 SET_MAKE="MAKE=${MAKE-make}"
52860 fi
52861
52862
52863
52864 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
52865
52866
52867 if test "$USE_WIN32" = 1; then
52868 ac_config_commands="$ac_config_commands
52869 rcdefs.h
52870 "
52871
52872 fi
52873
52874 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
52875
52876
52877 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
52878
52879
52880 if test "$wx_cv_version_script" = "yes"; then
52881 ac_config_files="$ac_config_files version-script"
52882
52883 fi
52884 ac_config_files="$ac_config_files Makefile"
52885
52886
52887 ac_config_commands="$ac_config_commands wx-config"
52888
52889
52890
52891 if test "$wxWITH_SUBDIRS" != "no"; then
52892 if test "$wxUSE_GUI" = "yes"; then
52893 SUBDIRS="samples demos utils"
52894 else SUBDIRS="samples utils"
52895 fi
52896
52897
52898
52899 # Check whether --with-cppunit-prefix was given.
52900 if test "${with_cppunit_prefix+set}" = set; then
52901 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
52902 else
52903 cppunit_config_prefix=""
52904 fi
52905
52906
52907 # Check whether --with-cppunit-exec-prefix was given.
52908 if test "${with_cppunit_exec_prefix+set}" = set; then
52909 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
52910 else
52911 cppunit_config_exec_prefix=""
52912 fi
52913
52914
52915 if test x$cppunit_config_exec_prefix != x ; then
52916 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
52917 if test x${CPPUNIT_CONFIG+set} != xset ; then
52918 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
52919 fi
52920 fi
52921 if test x$cppunit_config_prefix != x ; then
52922 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
52923 if test x${CPPUNIT_CONFIG+set} != xset ; then
52924 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
52925 fi
52926 fi
52927
52928 # Extract the first word of "cppunit-config", so it can be a program name with args.
52929 set dummy cppunit-config; ac_word=$2
52930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52932 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
52933 echo $ECHO_N "(cached) $ECHO_C" >&6
52934 else
52935 case $CPPUNIT_CONFIG in
52936 [\\/]* | ?:[\\/]*)
52937 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
52938 ;;
52939 *)
52940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52941 for as_dir in $PATH
52942 do
52943 IFS=$as_save_IFS
52944 test -z "$as_dir" && as_dir=.
52945 for ac_exec_ext in '' $ac_executable_extensions; do
52946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52947 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
52948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52949 break 2
52950 fi
52951 done
52952 done
52953 IFS=$as_save_IFS
52954
52955 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
52956 ;;
52957 esac
52958 fi
52959 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
52960 if test -n "$CPPUNIT_CONFIG"; then
52961 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
52962 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
52963 else
52964 { echo "$as_me:$LINENO: result: no" >&5
52965 echo "${ECHO_T}no" >&6; }
52966 fi
52967
52968
52969 cppunit_version_min=1.8.0
52970
52971 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
52972 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
52973 no_cppunit=""
52974 if test "$CPPUNIT_CONFIG" = "no" ; then
52975 { echo "$as_me:$LINENO: result: no" >&5
52976 echo "${ECHO_T}no" >&6; }
52977 no_cppunit=yes
52978 else
52979 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
52980 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
52981 cppunit_version=`$CPPUNIT_CONFIG --version`
52982
52983 cppunit_major_version=`echo $cppunit_version | \
52984 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52985 cppunit_minor_version=`echo $cppunit_version | \
52986 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52987 cppunit_micro_version=`echo $cppunit_version | \
52988 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52989
52990 cppunit_major_min=`echo $cppunit_version_min | \
52991 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
52992 cppunit_minor_min=`echo $cppunit_version_min | \
52993 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
52994 cppunit_micro_min=`echo $cppunit_version_min | \
52995 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
52996
52997 cppunit_version_proper=`expr \
52998 $cppunit_major_version \> $cppunit_major_min \| \
52999 $cppunit_major_version \= $cppunit_major_min \& \
53000 $cppunit_minor_version \> $cppunit_minor_min \| \
53001 $cppunit_major_version \= $cppunit_major_min \& \
53002 $cppunit_minor_version \= $cppunit_minor_min \& \
53003 $cppunit_micro_version \>= $cppunit_micro_min `
53004
53005 if test "$cppunit_version_proper" = "1" ; then
53006 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53007 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53008 else
53009 { echo "$as_me:$LINENO: result: no" >&5
53010 echo "${ECHO_T}no" >&6; }
53011 no_cppunit=yes
53012 fi
53013 fi
53014
53015 if test "x$no_cppunit" = x ; then
53016 SUBDIRS="$SUBDIRS tests"
53017 else
53018 CPPUNIT_CFLAGS=""
53019 CPPUNIT_LIBS=""
53020 :
53021 fi
53022
53023
53024
53025
53026
53027 for subdir in `echo $SUBDIRS`; do
53028 if test -d ${srcdir}/${subdir} ; then
53029 if test "$wxUSE_GUI" = "yes"; then
53030 if test ${subdir} = "samples"; then
53031 makefiles="samples/Makefile.in $makefiles"
53032 for sample in `echo $SAMPLES_SUBDIRS`; do
53033 if test -d $srcdir/samples/$sample; then
53034 makefiles="samples/$sample/Makefile.in $makefiles"
53035 fi
53036 done
53037 else
53038 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
53039 eval "disabled=\$$disabled_var"
53040 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
53041 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
53042 fi
53043 else if test ${subdir} = "samples"; then
53044 makefiles="samples/Makefile.in samples/console/Makefile.in"
53045 elif test ${subdir} = "utils"; then
53046 makefiles=""
53047 for util in HelpGen tex2rtf ; do
53048 if test -d $srcdir/utils/$util ; then
53049 makefiles="utils/$util/Makefile.in \
53050 utils/$util/src/Makefile.in \
53051 $makefiles"
53052 fi
53053 done
53054 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
53055 fi
53056 fi
53057
53058 for mkin in $makefiles ; do
53059 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53060 ac_config_files="$ac_config_files $mk"
53061
53062 done
53063 fi
53064 done
53065 fi
53066 cat >confcache <<\_ACEOF
53067 # This file is a shell script that caches the results of configure
53068 # tests run on this system so they can be shared between configure
53069 # scripts and configure runs, see configure's option --config-cache.
53070 # It is not useful on other systems. If it contains results you don't
53071 # want to keep, you may remove or edit it.
53072 #
53073 # config.status only pays attention to the cache file if you give it
53074 # the --recheck option to rerun configure.
53075 #
53076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
53077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53078 # following values.
53079
53080 _ACEOF
53081
53082 # The following way of writing the cache mishandles newlines in values,
53083 # but we know of no workaround that is simple, portable, and efficient.
53084 # So, we kill variables containing newlines.
53085 # Ultrix sh set writes to stderr and can't be redirected directly,
53086 # and sets the high bit in the cache file unless we assign to the vars.
53087 (
53088 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53089 eval ac_val=\$$ac_var
53090 case $ac_val in #(
53091 *${as_nl}*)
53092 case $ac_var in #(
53093 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53094 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53095 esac
53096 case $ac_var in #(
53097 _ | IFS | as_nl) ;; #(
53098 *) $as_unset $ac_var ;;
53099 esac ;;
53100 esac
53101 done
53102
53103 (set) 2>&1 |
53104 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53105 *${as_nl}ac_space=\ *)
53106 # `set' does not quote correctly, so add quotes (double-quote
53107 # substitution turns \\\\ into \\, and sed turns \\ into \).
53108 sed -n \
53109 "s/'/'\\\\''/g;
53110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53111 ;; #(
53112 *)
53113 # `set' quotes correctly as required by POSIX, so do not add quotes.
53114 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53115 ;;
53116 esac |
53117 sort
53118 ) |
53119 sed '
53120 /^ac_cv_env_/b end
53121 t clear
53122 :clear
53123 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53124 t end
53125 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53126 :end' >>confcache
53127 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
53128 if test -w "$cache_file"; then
53129 test "x$cache_file" != "x/dev/null" &&
53130 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53131 echo "$as_me: updating cache $cache_file" >&6;}
53132 cat confcache >$cache_file
53133 else
53134 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53135 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53136 fi
53137 fi
53138 rm -f confcache
53139
53140 test "x$prefix" = xNONE && prefix=$ac_default_prefix
53141 # Let make expand exec_prefix.
53142 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
53143
53144 DEFS=-DHAVE_CONFIG_H
53145
53146 ac_libobjs=
53147 ac_ltlibobjs=
53148 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
53149 # 1. Remove the extension, and $U if already installed.
53150 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
53151 ac_i=`echo "$ac_i" | sed "$ac_script"`
53152 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53153 # will be set to the directory where LIBOBJS objects are built.
53154 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53155 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53156 done
53157 LIBOBJS=$ac_libobjs
53158
53159 LTLIBOBJS=$ac_ltlibobjs
53160
53161
53162
53163 : ${CONFIG_STATUS=./config.status}
53164 ac_clean_files_save=$ac_clean_files
53165 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
53166 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53167 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53168 cat >$CONFIG_STATUS <<_ACEOF
53169 #! $SHELL
53170 # Generated by $as_me.
53171 # Run this file to recreate the current configuration.
53172 # Compiler output produced by configure, useful for debugging
53173 # configure, is in config.log if it exists.
53174
53175 debug=false
53176 ac_cs_recheck=false
53177 ac_cs_silent=false
53178 SHELL=\${CONFIG_SHELL-$SHELL}
53179 _ACEOF
53180
53181 cat >>$CONFIG_STATUS <<\_ACEOF
53182 ## --------------------- ##
53183 ## M4sh Initialization. ##
53184 ## --------------------- ##
53185
53186 # Be more Bourne compatible
53187 DUALCASE=1; export DUALCASE # for MKS sh
53188 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
53189 emulate sh
53190 NULLCMD=:
53191 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53192 # is contrary to our usage. Disable this feature.
53193 alias -g '${1+"$@"}'='"$@"'
53194 setopt NO_GLOB_SUBST
53195 else
53196 case `(set -o) 2>/dev/null` in
53197 *posix*) set -o posix ;;
53198 esac
53199
53200 fi
53201
53202
53203
53204
53205 # PATH needs CR
53206 # Avoid depending upon Character Ranges.
53207 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
53208 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53209 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
53210 as_cr_digits='0123456789'
53211 as_cr_alnum=$as_cr_Letters$as_cr_digits
53212
53213 # The user is always right.
53214 if test "${PATH_SEPARATOR+set}" != set; then
53215 echo "#! /bin/sh" >conf$$.sh
53216 echo "exit 0" >>conf$$.sh
53217 chmod +x conf$$.sh
53218 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53219 PATH_SEPARATOR=';'
53220 else
53221 PATH_SEPARATOR=:
53222 fi
53223 rm -f conf$$.sh
53224 fi
53225
53226 # Support unset when possible.
53227 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53228 as_unset=unset
53229 else
53230 as_unset=false
53231 fi
53232
53233
53234 # IFS
53235 # We need space, tab and new line, in precisely that order. Quoting is
53236 # there to prevent editors from complaining about space-tab.
53237 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53238 # splitting by setting IFS to empty value.)
53239 as_nl='
53240 '
53241 IFS=" "" $as_nl"
53242
53243 # Find who we are. Look in the path if we contain no directory separator.
53244 case $0 in
53245 *[\\/]* ) as_myself=$0 ;;
53246 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53247 for as_dir in $PATH
53248 do
53249 IFS=$as_save_IFS
53250 test -z "$as_dir" && as_dir=.
53251 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
53252 done
53253 IFS=$as_save_IFS
53254
53255 ;;
53256 esac
53257 # We did not find ourselves, most probably we were run as `sh COMMAND'
53258 # in which case we are not to be found in the path.
53259 if test "x$as_myself" = x; then
53260 as_myself=$0
53261 fi
53262 if test ! -f "$as_myself"; then
53263 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53264 { (exit 1); exit 1; }
53265 fi
53266
53267 # Work around bugs in pre-3.0 UWIN ksh.
53268 for as_var in ENV MAIL MAILPATH
53269 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53270 done
53271 PS1='$ '
53272 PS2='> '
53273 PS4='+ '
53274
53275 # NLS nuisances.
53276 for as_var in \
53277 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53278 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53279 LC_TELEPHONE LC_TIME
53280 do
53281 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53282 eval $as_var=C; export $as_var
53283 else
53284 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
53285 fi
53286 done
53287
53288 # Required to use basename.
53289 if expr a : '\(a\)' >/dev/null 2>&1 &&
53290 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53291 as_expr=expr
53292 else
53293 as_expr=false
53294 fi
53295
53296 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53297 as_basename=basename
53298 else
53299 as_basename=false
53300 fi
53301
53302
53303 # Name of the executable.
53304 as_me=`$as_basename -- "$0" ||
53305 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53306 X"$0" : 'X\(//\)$' \| \
53307 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53308 echo X/"$0" |
53309 sed '/^.*\/\([^/][^/]*\)\/*$/{
53310 s//\1/
53311 q
53312 }
53313 /^X\/\(\/\/\)$/{
53314 s//\1/
53315 q
53316 }
53317 /^X\/\(\/\).*/{
53318 s//\1/
53319 q
53320 }
53321 s/.*/./; q'`
53322
53323 # CDPATH.
53324 $as_unset CDPATH
53325
53326
53327
53328 as_lineno_1=$LINENO
53329 as_lineno_2=$LINENO
53330 test "x$as_lineno_1" != "x$as_lineno_2" &&
53331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53332
53333 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53334 # uniformly replaced by the line number. The first 'sed' inserts a
53335 # line-number line after each line using $LINENO; the second 'sed'
53336 # does the real work. The second script uses 'N' to pair each
53337 # line-number line with the line containing $LINENO, and appends
53338 # trailing '-' during substitution so that $LINENO is not a special
53339 # case at line end.
53340 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53341 # scripts with optimization help from Paolo Bonzini. Blame Lee
53342 # E. McMahon (1931-1989) for sed's syntax. :-)
53343 sed -n '
53344 p
53345 /[$]LINENO/=
53346 ' <$as_myself |
53347 sed '
53348 s/[$]LINENO.*/&-/
53349 t lineno
53350 b
53351 :lineno
53352 N
53353 :loop
53354 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53355 t loop
53356 s/-\n.*//
53357 ' >$as_me.lineno &&
53358 chmod +x "$as_me.lineno" ||
53359 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53360 { (exit 1); exit 1; }; }
53361
53362 # Don't try to exec as it changes $[0], causing all sort of problems
53363 # (the dirname of $[0] is not the place where we might find the
53364 # original and so on. Autoconf is especially sensitive to this).
53365 . "./$as_me.lineno"
53366 # Exit status is that of the last command.
53367 exit
53368 }
53369
53370
53371 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
53372 as_dirname=dirname
53373 else
53374 as_dirname=false
53375 fi
53376
53377 ECHO_C= ECHO_N= ECHO_T=
53378 case `echo -n x` in
53379 -n*)
53380 case `echo 'x\c'` in
53381 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
53382 *) ECHO_C='\c';;
53383 esac;;
53384 *)
53385 ECHO_N='-n';;
53386 esac
53387
53388 if expr a : '\(a\)' >/dev/null 2>&1 &&
53389 test "X`expr 00001 : '.*\(...\)'`" = X001; then
53390 as_expr=expr
53391 else
53392 as_expr=false
53393 fi
53394
53395 rm -f conf$$ conf$$.exe conf$$.file
53396 if test -d conf$$.dir; then
53397 rm -f conf$$.dir/conf$$.file
53398 else
53399 rm -f conf$$.dir
53400 mkdir conf$$.dir
53401 fi
53402 echo >conf$$.file
53403 if ln -s conf$$.file conf$$ 2>/dev/null; then
53404 as_ln_s='ln -s'
53405 # ... but there are two gotchas:
53406 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53407 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53408 # In both cases, we have to default to `cp -p'.
53409 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
53410 as_ln_s='cp -p'
53411 elif ln conf$$.file conf$$ 2>/dev/null; then
53412 as_ln_s=ln
53413 else
53414 as_ln_s='cp -p'
53415 fi
53416 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
53417 rmdir conf$$.dir 2>/dev/null
53418
53419 if mkdir -p . 2>/dev/null; then
53420 as_mkdir_p=:
53421 else
53422 test -d ./-p && rmdir ./-p
53423 as_mkdir_p=false
53424 fi
53425
53426 if test -x / >/dev/null 2>&1; then
53427 as_test_x='test -x'
53428 else
53429 if ls -dL / >/dev/null 2>&1; then
53430 as_ls_L_option=L
53431 else
53432 as_ls_L_option=
53433 fi
53434 as_test_x='
53435 eval sh -c '\''
53436 if test -d "$1"; then
53437 test -d "$1/.";
53438 else
53439 case $1 in
53440 -*)set "./$1";;
53441 esac;
53442 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53443 ???[sx]*):;;*)false;;esac;fi
53444 '\'' sh
53445 '
53446 fi
53447 as_executable_p=$as_test_x
53448
53449 # Sed expression to map a string onto a valid CPP name.
53450 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53451
53452 # Sed expression to map a string onto a valid variable name.
53453 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53454
53455
53456 exec 6>&1
53457
53458 # Save the log message, to keep $[0] and so on meaningful, and to
53459 # report actual input values of CONFIG_FILES etc. instead of their
53460 # values after options handling.
53461 ac_log="
53462 This file was extended by wxWidgets $as_me 2.9.0, which was
53463 generated by GNU Autoconf 2.61. Invocation command line was
53464
53465 CONFIG_FILES = $CONFIG_FILES
53466 CONFIG_HEADERS = $CONFIG_HEADERS
53467 CONFIG_LINKS = $CONFIG_LINKS
53468 CONFIG_COMMANDS = $CONFIG_COMMANDS
53469 $ $0 $@
53470
53471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53472 "
53473
53474 _ACEOF
53475
53476 cat >>$CONFIG_STATUS <<_ACEOF
53477 # Files that config.status was made for.
53478 config_files="$ac_config_files"
53479 config_headers="$ac_config_headers"
53480 config_commands="$ac_config_commands"
53481
53482 _ACEOF
53483
53484 cat >>$CONFIG_STATUS <<\_ACEOF
53485 ac_cs_usage="\
53486 \`$as_me' instantiates files from templates according to the
53487 current configuration.
53488
53489 Usage: $0 [OPTIONS] [FILE]...
53490
53491 -h, --help print this help, then exit
53492 -V, --version print version number and configuration settings, then exit
53493 -q, --quiet do not print progress messages
53494 -d, --debug don't remove temporary files
53495 --recheck update $as_me by reconfiguring in the same conditions
53496 --file=FILE[:TEMPLATE]
53497 instantiate the configuration file FILE
53498 --header=FILE[:TEMPLATE]
53499 instantiate the configuration header FILE
53500
53501 Configuration files:
53502 $config_files
53503
53504 Configuration headers:
53505 $config_headers
53506
53507 Configuration commands:
53508 $config_commands
53509
53510 Report bugs to <bug-autoconf@gnu.org>."
53511
53512 _ACEOF
53513 cat >>$CONFIG_STATUS <<_ACEOF
53514 ac_cs_version="\\
53515 wxWidgets config.status 2.9.0
53516 configured by $0, generated by GNU Autoconf 2.61,
53517 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
53518
53519 Copyright (C) 2006 Free Software Foundation, Inc.
53520 This config.status script is free software; the Free Software Foundation
53521 gives unlimited permission to copy, distribute and modify it."
53522
53523 ac_pwd='$ac_pwd'
53524 srcdir='$srcdir'
53525 INSTALL='$INSTALL'
53526 _ACEOF
53527
53528 cat >>$CONFIG_STATUS <<\_ACEOF
53529 # If no file are specified by the user, then we need to provide default
53530 # value. By we need to know if files were specified by the user.
53531 ac_need_defaults=:
53532 while test $# != 0
53533 do
53534 case $1 in
53535 --*=*)
53536 ac_option=`expr "X$1" : 'X\([^=]*\)='`
53537 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
53538 ac_shift=:
53539 ;;
53540 *)
53541 ac_option=$1
53542 ac_optarg=$2
53543 ac_shift=shift
53544 ;;
53545 esac
53546
53547 case $ac_option in
53548 # Handling of the options.
53549 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
53550 ac_cs_recheck=: ;;
53551 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
53552 echo "$ac_cs_version"; exit ;;
53553 --debug | --debu | --deb | --de | --d | -d )
53554 debug=: ;;
53555 --file | --fil | --fi | --f )
53556 $ac_shift
53557 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
53558 ac_need_defaults=false;;
53559 --header | --heade | --head | --hea )
53560 $ac_shift
53561 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
53562 ac_need_defaults=false;;
53563 --he | --h)
53564 # Conflict between --help and --header
53565 { echo "$as_me: error: ambiguous option: $1
53566 Try \`$0 --help' for more information." >&2
53567 { (exit 1); exit 1; }; };;
53568 --help | --hel | -h )
53569 echo "$ac_cs_usage"; exit ;;
53570 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53571 | -silent | --silent | --silen | --sile | --sil | --si | --s)
53572 ac_cs_silent=: ;;
53573
53574 # This is an error.
53575 -*) { echo "$as_me: error: unrecognized option: $1
53576 Try \`$0 --help' for more information." >&2
53577 { (exit 1); exit 1; }; } ;;
53578
53579 *) ac_config_targets="$ac_config_targets $1"
53580 ac_need_defaults=false ;;
53581
53582 esac
53583 shift
53584 done
53585
53586 ac_configure_extra_args=
53587
53588 if $ac_cs_silent; then
53589 exec 6>/dev/null
53590 ac_configure_extra_args="$ac_configure_extra_args --silent"
53591 fi
53592
53593 _ACEOF
53594 cat >>$CONFIG_STATUS <<_ACEOF
53595 if \$ac_cs_recheck; then
53596 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
53597 CONFIG_SHELL=$SHELL
53598 export CONFIG_SHELL
53599 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
53600 fi
53601
53602 _ACEOF
53603 cat >>$CONFIG_STATUS <<\_ACEOF
53604 exec 5>>config.log
53605 {
53606 echo
53607 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
53608 ## Running $as_me. ##
53609 _ASBOX
53610 echo "$ac_log"
53611 } >&5
53612
53613 _ACEOF
53614 cat >>$CONFIG_STATUS <<_ACEOF
53615 #
53616 # INIT-COMMANDS
53617 #
53618
53619 CPP="$CPP"
53620 infile="$srcdir/include/wx/msw/genrcdefs.h"
53621 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
53622
53623
53624 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53625 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53626 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
53627 LN_S="${LN_S}"
53628
53629
53630 _ACEOF
53631
53632 cat >>$CONFIG_STATUS <<\_ACEOF
53633
53634 # Handling of arguments.
53635 for ac_config_target in $ac_config_targets
53636 do
53637 case $ac_config_target in
53638 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
53639 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
53640 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
53641 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
53642 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
53643 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
53644 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
53645 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
53646
53647 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
53648 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
53649 { (exit 1); exit 1; }; };;
53650 esac
53651 done
53652
53653
53654 # If the user did not use the arguments to specify the items to instantiate,
53655 # then the envvar interface is used. Set only those that are not.
53656 # We use the long form for the default assignment because of an extremely
53657 # bizarre bug on SunOS 4.1.3.
53658 if $ac_need_defaults; then
53659 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53660 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53661 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
53662 fi
53663
53664 # Have a temporary directory for convenience. Make it in the build tree
53665 # simply because there is no reason against having it here, and in addition,
53666 # creating and moving files from /tmp can sometimes cause problems.
53667 # Hook for its removal unless debugging.
53668 # Note that there is a small window in which the directory will not be cleaned:
53669 # after its creation but before its name has been assigned to `$tmp'.
53670 $debug ||
53671 {
53672 tmp=
53673 trap 'exit_status=$?
53674 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
53675 ' 0
53676 trap '{ (exit 1); exit 1; }' 1 2 13 15
53677 }
53678 # Create a (secure) tmp directory for tmp files.
53679
53680 {
53681 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
53682 test -n "$tmp" && test -d "$tmp"
53683 } ||
53684 {
53685 tmp=./conf$$-$RANDOM
53686 (umask 077 && mkdir "$tmp")
53687 } ||
53688 {
53689 echo "$me: cannot create a temporary directory in ." >&2
53690 { (exit 1); exit 1; }
53691 }
53692
53693 #
53694 # Set up the sed scripts for CONFIG_FILES section.
53695 #
53696
53697 # No need to generate the scripts if there are no CONFIG_FILES.
53698 # This happens for instance when ./config.status config.h
53699 if test -n "$CONFIG_FILES"; then
53700
53701 _ACEOF
53702
53703
53704
53705 ac_delim='%!_!# '
53706 for ac_last_try in false false false false false :; do
53707 cat >conf$$subs.sed <<_ACEOF
53708 SHELL!$SHELL$ac_delim
53709 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
53710 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
53711 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
53712 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
53713 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
53714 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
53715 exec_prefix!$exec_prefix$ac_delim
53716 prefix!$prefix$ac_delim
53717 program_transform_name!$program_transform_name$ac_delim
53718 bindir!$bindir$ac_delim
53719 sbindir!$sbindir$ac_delim
53720 libexecdir!$libexecdir$ac_delim
53721 datarootdir!$datarootdir$ac_delim
53722 datadir!$datadir$ac_delim
53723 sysconfdir!$sysconfdir$ac_delim
53724 sharedstatedir!$sharedstatedir$ac_delim
53725 localstatedir!$localstatedir$ac_delim
53726 includedir!$includedir$ac_delim
53727 oldincludedir!$oldincludedir$ac_delim
53728 docdir!$docdir$ac_delim
53729 infodir!$infodir$ac_delim
53730 htmldir!$htmldir$ac_delim
53731 dvidir!$dvidir$ac_delim
53732 pdfdir!$pdfdir$ac_delim
53733 psdir!$psdir$ac_delim
53734 libdir!$libdir$ac_delim
53735 localedir!$localedir$ac_delim
53736 mandir!$mandir$ac_delim
53737 DEFS!$DEFS$ac_delim
53738 ECHO_C!$ECHO_C$ac_delim
53739 ECHO_N!$ECHO_N$ac_delim
53740 ECHO_T!$ECHO_T$ac_delim
53741 LIBS!$LIBS$ac_delim
53742 build_alias!$build_alias$ac_delim
53743 host_alias!$host_alias$ac_delim
53744 target_alias!$target_alias$ac_delim
53745 build!$build$ac_delim
53746 build_cpu!$build_cpu$ac_delim
53747 build_vendor!$build_vendor$ac_delim
53748 build_os!$build_os$ac_delim
53749 host!$host$ac_delim
53750 host_cpu!$host_cpu$ac_delim
53751 host_vendor!$host_vendor$ac_delim
53752 host_os!$host_os$ac_delim
53753 target!$target$ac_delim
53754 target_cpu!$target_cpu$ac_delim
53755 target_vendor!$target_vendor$ac_delim
53756 target_os!$target_os$ac_delim
53757 wx_top_builddir!$wx_top_builddir$ac_delim
53758 CC!$CC$ac_delim
53759 CFLAGS!$CFLAGS$ac_delim
53760 LDFLAGS!$LDFLAGS$ac_delim
53761 CPPFLAGS!$CPPFLAGS$ac_delim
53762 ac_ct_CC!$ac_ct_CC$ac_delim
53763 EXEEXT!$EXEEXT$ac_delim
53764 OBJEXT!$OBJEXT$ac_delim
53765 CPP!$CPP$ac_delim
53766 GREP!$GREP$ac_delim
53767 EGREP!$EGREP$ac_delim
53768 CXX!$CXX$ac_delim
53769 CXXFLAGS!$CXXFLAGS$ac_delim
53770 ac_ct_CXX!$ac_ct_CXX$ac_delim
53771 RANLIB!$RANLIB$ac_delim
53772 AR!$AR$ac_delim
53773 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
53774 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
53775 INSTALL_DATA!$INSTALL_DATA$ac_delim
53776 STRIP!$STRIP$ac_delim
53777 WINDRES!$WINDRES$ac_delim
53778 DLLTOOL!$DLLTOOL$ac_delim
53779 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
53780 LN_S!$LN_S$ac_delim
53781 subdirs!$subdirs$ac_delim
53782 PKG_CONFIG!$PKG_CONFIG$ac_delim
53783 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
53784 GTK_LIBS!$GTK_LIBS$ac_delim
53785 GTK_CONFIG!$GTK_CONFIG$ac_delim
53786 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
53787 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
53788 XMKMF!$XMKMF$ac_delim
53789 X_CFLAGS!$X_CFLAGS$ac_delim
53790 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
53791 X_LIBS!$X_LIBS$ac_delim
53792 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
53793 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
53794 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
53795 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
53796 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
53797 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
53798 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
53799 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
53800 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
53801 REZ!$REZ$ac_delim
53802 DEREZ!$DEREZ$ac_delim
53803 SETFILE!$SETFILE$ac_delim
53804 LIBICONV!$LIBICONV$ac_delim
53805 _ACEOF
53806
53807 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53808 break
53809 elif $ac_last_try; then
53810 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53811 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53812 { (exit 1); exit 1; }; }
53813 else
53814 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53815 fi
53816 done
53817
53818 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53819 if test -n "$ac_eof"; then
53820 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53821 ac_eof=`expr $ac_eof + 1`
53822 fi
53823
53824 cat >>$CONFIG_STATUS <<_ACEOF
53825 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
53826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53827 _ACEOF
53828 sed '
53829 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53830 s/^/s,@/; s/!/@,|#_!!_#|/
53831 :n
53832 t n
53833 s/'"$ac_delim"'$/,g/; t
53834 s/$/\\/; p
53835 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53836 ' >>$CONFIG_STATUS <conf$$subs.sed
53837 rm -f conf$$subs.sed
53838 cat >>$CONFIG_STATUS <<_ACEOF
53839 CEOF$ac_eof
53840 _ACEOF
53841
53842
53843 ac_delim='%!_!# '
53844 for ac_last_try in false false false false false :; do
53845 cat >conf$$subs.sed <<_ACEOF
53846 SDL_CONFIG!$SDL_CONFIG$ac_delim
53847 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
53848 SDL_LIBS!$SDL_LIBS$ac_delim
53849 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
53850 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
53851 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
53852 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
53853 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
53854 HILDON_LIBS!$HILDON_LIBS$ac_delim
53855 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
53856 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
53857 GST_CFLAGS!$GST_CFLAGS$ac_delim
53858 GST_LIBS!$GST_LIBS$ac_delim
53859 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
53860 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
53861 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
53862 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
53863 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
53864 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
53865 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
53866 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
53867 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
53868 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
53869 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
53870 VENDOR!$VENDOR$ac_delim
53871 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
53872 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
53873 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
53874 WXUNIV!$WXUNIV$ac_delim
53875 MONOLITHIC!$MONOLITHIC$ac_delim
53876 USE_PLUGINS!$USE_PLUGINS$ac_delim
53877 CXXWARNINGS!$CXXWARNINGS$ac_delim
53878 EXTRALIBS!$EXTRALIBS$ac_delim
53879 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
53880 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
53881 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
53882 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
53883 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
53884 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
53885 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
53886 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
53887 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
53888 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
53889 UNICODE!$UNICODE$ac_delim
53890 BUILD!$BUILD$ac_delim
53891 DEBUG_INFO!$DEBUG_INFO$ac_delim
53892 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
53893 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
53894 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
53895 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
53896 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
53897 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
53898 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
53899 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
53900 SET_MAKE!$SET_MAKE$ac_delim
53901 MAKE_SET!$MAKE_SET$ac_delim
53902 AROPTIONS!$AROPTIONS$ac_delim
53903 NM!$NM$ac_delim
53904 INSTALL_DIR!$INSTALL_DIR$ac_delim
53905 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
53906 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
53907 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
53908 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
53909 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
53910 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
53911 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
53912 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
53913 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
53914 SO_SUFFIX!$SO_SUFFIX$ac_delim
53915 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
53916 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
53917 LIBPREFIX!$LIBPREFIX$ac_delim
53918 LIBEXT!$LIBEXT$ac_delim
53919 DLLPREFIX!$DLLPREFIX$ac_delim
53920 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
53921 dlldir!$dlldir$ac_delim
53922 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
53923 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
53924 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
53925 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
53926 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
53927 PIC_FLAG!$PIC_FLAG$ac_delim
53928 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
53929 USE_SOVERSION!$USE_SOVERSION$ac_delim
53930 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
53931 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
53932 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
53933 USE_MACVERSION!$USE_MACVERSION$ac_delim
53934 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
53935 SONAME_FLAG!$SONAME_FLAG$ac_delim
53936 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
53937 BK_DEPS!$BK_DEPS$ac_delim
53938 GCC_PCH!$GCC_PCH$ac_delim
53939 ICC_PCH!$ICC_PCH$ac_delim
53940 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
53941 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
53942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
53943 _ACEOF
53944
53945 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
53946 break
53947 elif $ac_last_try; then
53948 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
53949 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
53950 { (exit 1); exit 1; }; }
53951 else
53952 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
53953 fi
53954 done
53955
53956 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
53957 if test -n "$ac_eof"; then
53958 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
53959 ac_eof=`expr $ac_eof + 1`
53960 fi
53961
53962 cat >>$CONFIG_STATUS <<_ACEOF
53963 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
53964 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
53965 _ACEOF
53966 sed '
53967 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
53968 s/^/s,@/; s/!/@,|#_!!_#|/
53969 :n
53970 t n
53971 s/'"$ac_delim"'$/,g/; t
53972 s/$/\\/; p
53973 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
53974 ' >>$CONFIG_STATUS <conf$$subs.sed
53975 rm -f conf$$subs.sed
53976 cat >>$CONFIG_STATUS <<_ACEOF
53977 CEOF$ac_eof
53978 _ACEOF
53979
53980
53981 ac_delim='%!_!# '
53982 for ac_last_try in false false false false false :; do
53983 cat >conf$$subs.sed <<_ACEOF
53984 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
53985 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
53986 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
53987 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
53988 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
53989 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
53990 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
53991 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
53992 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
53993 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
53994 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
53995 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
53996 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
53997 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
53998 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
53999 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54000 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54001 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54002 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54003 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54004 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
54005 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54006 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
54007 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54008 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54009 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54010 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54011 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54012 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54013 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54015 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
54016 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54017 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
54018 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54019 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54020 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54021 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54022 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54023 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54024 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
54025 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54026 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54027 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
54028 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54029 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54030 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54031 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54032 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54033 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54034 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54035 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54036 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54037 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54038 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54039 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54040 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
54041 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
54042 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
54043 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
54044 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
54045 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
54046 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
54047 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54048 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54049 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54050 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54051 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54052 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54053 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54054 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54055 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54056 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54057 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54058 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54059 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54060 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54061 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54062 COND_SHARED_0!$COND_SHARED_0$ac_delim
54063 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54064 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54065 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54066 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54067 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54068 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54069 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54070 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54071 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
54072 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
54073 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
54074 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
54075 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
54076 COND_SHARED_1!$COND_SHARED_1$ac_delim
54077 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54078 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
54079 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54080 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54081 _ACEOF
54082
54083 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54084 break
54085 elif $ac_last_try; then
54086 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54087 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54088 { (exit 1); exit 1; }; }
54089 else
54090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54091 fi
54092 done
54093
54094 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54095 if test -n "$ac_eof"; then
54096 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54097 ac_eof=`expr $ac_eof + 1`
54098 fi
54099
54100 cat >>$CONFIG_STATUS <<_ACEOF
54101 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54102 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54103 _ACEOF
54104 sed '
54105 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54106 s/^/s,@/; s/!/@,|#_!!_#|/
54107 :n
54108 t n
54109 s/'"$ac_delim"'$/,g/; t
54110 s/$/\\/; p
54111 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54112 ' >>$CONFIG_STATUS <conf$$subs.sed
54113 rm -f conf$$subs.sed
54114 cat >>$CONFIG_STATUS <<_ACEOF
54115 CEOF$ac_eof
54116 _ACEOF
54117
54118
54119 ac_delim='%!_!# '
54120 for ac_last_try in false false false false false :; do
54121 cat >conf$$subs.sed <<_ACEOF
54122 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54123 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54124 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54125 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54126 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54127 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54128 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54129 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54130 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54131 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54132 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54133 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54134 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54135 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
54136 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
54137 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54138 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54139 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54140 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54141 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54142 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54143 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54144 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54145 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54146 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54147 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54148 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54149 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54150 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54151 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54152 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54153 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54154 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54155 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54156 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54157 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54158 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54159 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54160 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54161 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54162 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54163 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54164 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54165 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54166 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
54167 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54168 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54169 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54170 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54171 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54172 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
54173 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54174 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54175 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54176 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54177 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54178 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54179 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54180 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54181 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54182 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54183 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54184 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54185 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54186 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54187 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54188 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54189 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
54190 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54191 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54192 SHARED!$SHARED$ac_delim
54193 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54194 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54195 USE_GUI!$USE_GUI$ac_delim
54196 AFMINSTALL!$AFMINSTALL$ac_delim
54197 WIN32INSTALL!$WIN32INSTALL$ac_delim
54198 TOOLKIT!$TOOLKIT$ac_delim
54199 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54200 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54201 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54202 cross_compiling!$cross_compiling$ac_delim
54203 WIDGET_SET!$WIDGET_SET$ac_delim
54204 WX_RELEASE!$WX_RELEASE$ac_delim
54205 WX_VERSION!$WX_VERSION$ac_delim
54206 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54207 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54208 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
54209 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54210 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54211 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54212 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54213 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54214 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54215 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54216 EXE_LINKER!$EXE_LINKER$ac_delim
54217 GUIDIST!$GUIDIST$ac_delim
54218 DISTDIR!$DISTDIR$ac_delim
54219 _ACEOF
54220
54221 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54222 break
54223 elif $ac_last_try; then
54224 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54225 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54226 { (exit 1); exit 1; }; }
54227 else
54228 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54229 fi
54230 done
54231
54232 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54233 if test -n "$ac_eof"; then
54234 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54235 ac_eof=`expr $ac_eof + 1`
54236 fi
54237
54238 cat >>$CONFIG_STATUS <<_ACEOF
54239 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54241 _ACEOF
54242 sed '
54243 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54244 s/^/s,@/; s/!/@,|#_!!_#|/
54245 :n
54246 t n
54247 s/'"$ac_delim"'$/,g/; t
54248 s/$/\\/; p
54249 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54250 ' >>$CONFIG_STATUS <conf$$subs.sed
54251 rm -f conf$$subs.sed
54252 cat >>$CONFIG_STATUS <<_ACEOF
54253 CEOF$ac_eof
54254 _ACEOF
54255
54256
54257 ac_delim='%!_!# '
54258 for ac_last_try in false false false false false :; do
54259 cat >conf$$subs.sed <<_ACEOF
54260 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54261 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54262 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54263 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54264 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54265 RESCOMP!$RESCOMP$ac_delim
54266 RESFLAGS!$RESFLAGS$ac_delim
54267 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54268 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54269 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54270 LIBWXMACRES!$LIBWXMACRES$ac_delim
54271 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54272 MACSETFILE!$MACSETFILE$ac_delim
54273 GCC!$GCC$ac_delim
54274 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54275 LIBOBJS!$LIBOBJS$ac_delim
54276 LTLIBOBJS!$LTLIBOBJS$ac_delim
54277 _ACEOF
54278
54279 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
54280 break
54281 elif $ac_last_try; then
54282 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54283 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54284 { (exit 1); exit 1; }; }
54285 else
54286 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
54287 fi
54288 done
54289
54290 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54291 if test -n "$ac_eof"; then
54292 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
54293 ac_eof=`expr $ac_eof + 1`
54294 fi
54295
54296 cat >>$CONFIG_STATUS <<_ACEOF
54297 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54298 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54299 _ACEOF
54300 sed '
54301 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54302 s/^/s,@/; s/!/@,|#_!!_#|/
54303 :n
54304 t n
54305 s/'"$ac_delim"'$/,g/; t
54306 s/$/\\/; p
54307 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54308 ' >>$CONFIG_STATUS <conf$$subs.sed
54309 rm -f conf$$subs.sed
54310 cat >>$CONFIG_STATUS <<_ACEOF
54311 :end
54312 s/|#_!!_#|//g
54313 CEOF$ac_eof
54314 _ACEOF
54315
54316
54317 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54318 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54319 # trailing colons and then remove the whole line if VPATH becomes empty
54320 # (actually we leave an empty line to preserve line numbers).
54321 if test "x$srcdir" = x.; then
54322 ac_vpsub='/^[ ]*VPATH[ ]*=/{
54323 s/:*\$(srcdir):*/:/
54324 s/:*\${srcdir}:*/:/
54325 s/:*@srcdir@:*/:/
54326 s/^\([^=]*=[ ]*\):*/\1/
54327 s/:*$//
54328 s/^[^=]*=[ ]*$//
54329 }'
54330 fi
54331
54332 cat >>$CONFIG_STATUS <<\_ACEOF
54333 fi # test -n "$CONFIG_FILES"
54334
54335
54336 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
54337 do
54338 case $ac_tag in
54339 :[FHLC]) ac_mode=$ac_tag; continue;;
54340 esac
54341 case $ac_mode$ac_tag in
54342 :[FHL]*:*);;
54343 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54344 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54345 { (exit 1); exit 1; }; };;
54346 :[FH]-) ac_tag=-:-;;
54347 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
54348 esac
54349 ac_save_IFS=$IFS
54350 IFS=:
54351 set x $ac_tag
54352 IFS=$ac_save_IFS
54353 shift
54354 ac_file=$1
54355 shift
54356
54357 case $ac_mode in
54358 :L) ac_source=$1;;
54359 :[FH])
54360 ac_file_inputs=
54361 for ac_f
54362 do
54363 case $ac_f in
54364 -) ac_f="$tmp/stdin";;
54365 *) # Look for the file first in the build tree, then in the source tree
54366 # (if the path is not absolute). The absolute path cannot be DOS-style,
54367 # because $ac_f cannot contain `:'.
54368 test -f "$ac_f" ||
54369 case $ac_f in
54370 [\\/$]*) false;;
54371 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
54372 esac ||
54373 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54374 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54375 { (exit 1); exit 1; }; };;
54376 esac
54377 ac_file_inputs="$ac_file_inputs $ac_f"
54378 done
54379
54380 # Let's still pretend it is `configure' which instantiates (i.e., don't
54381 # use $as_me), people would be surprised to read:
54382 # /* config.h. Generated by config.status. */
54383 configure_input="Generated from "`IFS=:
54384 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54385 if test x"$ac_file" != x-; then
54386 configure_input="$ac_file. $configure_input"
54387 { echo "$as_me:$LINENO: creating $ac_file" >&5
54388 echo "$as_me: creating $ac_file" >&6;}
54389 fi
54390
54391 case $ac_tag in
54392 *:-:* | *:-) cat >"$tmp/stdin";;
54393 esac
54394 ;;
54395 esac
54396
54397 ac_dir=`$as_dirname -- "$ac_file" ||
54398 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54399 X"$ac_file" : 'X\(//\)[^/]' \| \
54400 X"$ac_file" : 'X\(//\)$' \| \
54401 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54402 echo X"$ac_file" |
54403 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54404 s//\1/
54405 q
54406 }
54407 /^X\(\/\/\)[^/].*/{
54408 s//\1/
54409 q
54410 }
54411 /^X\(\/\/\)$/{
54412 s//\1/
54413 q
54414 }
54415 /^X\(\/\).*/{
54416 s//\1/
54417 q
54418 }
54419 s/.*/./; q'`
54420 { as_dir="$ac_dir"
54421 case $as_dir in #(
54422 -*) as_dir=./$as_dir;;
54423 esac
54424 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54425 as_dirs=
54426 while :; do
54427 case $as_dir in #(
54428 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54429 *) as_qdir=$as_dir;;
54430 esac
54431 as_dirs="'$as_qdir' $as_dirs"
54432 as_dir=`$as_dirname -- "$as_dir" ||
54433 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54434 X"$as_dir" : 'X\(//\)[^/]' \| \
54435 X"$as_dir" : 'X\(//\)$' \| \
54436 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54437 echo X"$as_dir" |
54438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54439 s//\1/
54440 q
54441 }
54442 /^X\(\/\/\)[^/].*/{
54443 s//\1/
54444 q
54445 }
54446 /^X\(\/\/\)$/{
54447 s//\1/
54448 q
54449 }
54450 /^X\(\/\).*/{
54451 s//\1/
54452 q
54453 }
54454 s/.*/./; q'`
54455 test -d "$as_dir" && break
54456 done
54457 test -z "$as_dirs" || eval "mkdir $as_dirs"
54458 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54459 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54460 { (exit 1); exit 1; }; }; }
54461 ac_builddir=.
54462
54463 case "$ac_dir" in
54464 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54465 *)
54466 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54467 # A ".." for each directory in $ac_dir_suffix.
54468 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54469 case $ac_top_builddir_sub in
54470 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54471 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54472 esac ;;
54473 esac
54474 ac_abs_top_builddir=$ac_pwd
54475 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54476 # for backward compatibility:
54477 ac_top_builddir=$ac_top_build_prefix
54478
54479 case $srcdir in
54480 .) # We are building in place.
54481 ac_srcdir=.
54482 ac_top_srcdir=$ac_top_builddir_sub
54483 ac_abs_top_srcdir=$ac_pwd ;;
54484 [\\/]* | ?:[\\/]* ) # Absolute name.
54485 ac_srcdir=$srcdir$ac_dir_suffix;
54486 ac_top_srcdir=$srcdir
54487 ac_abs_top_srcdir=$srcdir ;;
54488 *) # Relative name.
54489 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54490 ac_top_srcdir=$ac_top_build_prefix$srcdir
54491 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54492 esac
54493 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54494
54495
54496 case $ac_mode in
54497 :F)
54498 #
54499 # CONFIG_FILE
54500 #
54501
54502 case $INSTALL in
54503 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
54504 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
54505 esac
54506 _ACEOF
54507
54508 cat >>$CONFIG_STATUS <<\_ACEOF
54509 # If the template does not know about datarootdir, expand it.
54510 # FIXME: This hack should be removed a few years after 2.60.
54511 ac_datarootdir_hack=; ac_datarootdir_seen=
54512
54513 case `sed -n '/datarootdir/ {
54514 p
54515 q
54516 }
54517 /@datadir@/p
54518 /@docdir@/p
54519 /@infodir@/p
54520 /@localedir@/p
54521 /@mandir@/p
54522 ' $ac_file_inputs` in
54523 *datarootdir*) ac_datarootdir_seen=yes;;
54524 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
54525 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
54526 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
54527 _ACEOF
54528 cat >>$CONFIG_STATUS <<_ACEOF
54529 ac_datarootdir_hack='
54530 s&@datadir@&$datadir&g
54531 s&@docdir@&$docdir&g
54532 s&@infodir@&$infodir&g
54533 s&@localedir@&$localedir&g
54534 s&@mandir@&$mandir&g
54535 s&\\\${datarootdir}&$datarootdir&g' ;;
54536 esac
54537 _ACEOF
54538
54539 # Neutralize VPATH when `$srcdir' = `.'.
54540 # Shell code in configure.ac might set extrasub.
54541 # FIXME: do we really want to maintain this feature?
54542 cat >>$CONFIG_STATUS <<_ACEOF
54543 sed "$ac_vpsub
54544 $extrasub
54545 _ACEOF
54546 cat >>$CONFIG_STATUS <<\_ACEOF
54547 :t
54548 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54549 s&@configure_input@&$configure_input&;t t
54550 s&@top_builddir@&$ac_top_builddir_sub&;t t
54551 s&@srcdir@&$ac_srcdir&;t t
54552 s&@abs_srcdir@&$ac_abs_srcdir&;t t
54553 s&@top_srcdir@&$ac_top_srcdir&;t t
54554 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
54555 s&@builddir@&$ac_builddir&;t t
54556 s&@abs_builddir@&$ac_abs_builddir&;t t
54557 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
54558 s&@INSTALL@&$ac_INSTALL&;t t
54559 $ac_datarootdir_hack
54560 " $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
54561
54562 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
54563 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
54564 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
54565 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54566 which seems to be undefined. Please make sure it is defined." >&5
54567 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
54568 which seems to be undefined. Please make sure it is defined." >&2;}
54569
54570 rm -f "$tmp/stdin"
54571 case $ac_file in
54572 -) cat "$tmp/out"; rm -f "$tmp/out";;
54573 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
54574 esac
54575 ;;
54576 :H)
54577 #
54578 # CONFIG_HEADER
54579 #
54580 _ACEOF
54581
54582 # Transform confdefs.h into a sed script `conftest.defines', that
54583 # substitutes the proper values into config.h.in to produce config.h.
54584 rm -f conftest.defines conftest.tail
54585 # First, append a space to every undef/define line, to ease matching.
54586 echo 's/$/ /' >conftest.defines
54587 # Then, protect against being on the right side of a sed subst, or in
54588 # an unquoted here document, in config.status. If some macros were
54589 # called several times there might be several #defines for the same
54590 # symbol, which is useless. But do not sort them, since the last
54591 # AC_DEFINE must be honored.
54592 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
54593 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
54594 # NAME is the cpp macro being defined, VALUE is the value it is being given.
54595 # PARAMS is the parameter list in the macro definition--in most cases, it's
54596 # just an empty string.
54597 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
54598 ac_dB='\\)[ (].*,\\1define\\2'
54599 ac_dC=' '
54600 ac_dD=' ,'
54601
54602 uniq confdefs.h |
54603 sed -n '
54604 t rset
54605 :rset
54606 s/^[ ]*#[ ]*define[ ][ ]*//
54607 t ok
54608 d
54609 :ok
54610 s/[\\&,]/\\&/g
54611 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
54612 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
54613 ' >>conftest.defines
54614
54615 # Remove the space that was appended to ease matching.
54616 # Then replace #undef with comments. This is necessary, for
54617 # example, in the case of _POSIX_SOURCE, which is predefined and required
54618 # on some systems where configure will not decide to define it.
54619 # (The regexp can be short, since the line contains either #define or #undef.)
54620 echo 's/ $//
54621 s,^[ #]*u.*,/* & */,' >>conftest.defines
54622
54623 # Break up conftest.defines:
54624 ac_max_sed_lines=50
54625
54626 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
54627 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
54628 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
54629 # et cetera.
54630 ac_in='$ac_file_inputs'
54631 ac_out='"$tmp/out1"'
54632 ac_nxt='"$tmp/out2"'
54633
54634 while :
54635 do
54636 # Write a here document:
54637 cat >>$CONFIG_STATUS <<_ACEOF
54638 # First, check the format of the line:
54639 cat >"\$tmp/defines.sed" <<\\CEOF
54640 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
54641 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
54642 b
54643 :def
54644 _ACEOF
54645 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
54646 echo 'CEOF
54647 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
54648 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
54649 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
54650 grep . conftest.tail >/dev/null || break
54651 rm -f conftest.defines
54652 mv conftest.tail conftest.defines
54653 done
54654 rm -f conftest.defines conftest.tail
54655
54656 echo "ac_result=$ac_in" >>$CONFIG_STATUS
54657 cat >>$CONFIG_STATUS <<\_ACEOF
54658 if test x"$ac_file" != x-; then
54659 echo "/* $configure_input */" >"$tmp/config.h"
54660 cat "$ac_result" >>"$tmp/config.h"
54661 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
54662 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
54663 echo "$as_me: $ac_file is unchanged" >&6;}
54664 else
54665 rm -f $ac_file
54666 mv "$tmp/config.h" $ac_file
54667 fi
54668 else
54669 echo "/* $configure_input */"
54670 cat "$ac_result"
54671 fi
54672 rm -f "$tmp/out12"
54673 ;;
54674
54675 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
54676 echo "$as_me: executing $ac_file commands" >&6;}
54677 ;;
54678 esac
54679
54680
54681 case $ac_file$ac_mode in
54682 "rcdefs.h":C)
54683 mkdir -p $outdir &&
54684 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
54685 ;;
54686 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
54687 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
54688 "wx-config":C) rm -f wx-config
54689 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
54690 ;;
54691
54692 esac
54693 done # for ac_tag
54694
54695
54696 { (exit 0); exit 0; }
54697 _ACEOF
54698 chmod +x $CONFIG_STATUS
54699 ac_clean_files=$ac_clean_files_save
54700
54701
54702 # configure is writing to config.log, and then calls config.status.
54703 # config.status does its own redirection, appending to config.log.
54704 # Unfortunately, on DOS this fails, as config.log is still kept open
54705 # by configure, so config.status won't be able to write to it; its
54706 # output is simply discarded. So we exec the FD to /dev/null,
54707 # effectively closing config.log, so it can be properly (re)opened and
54708 # appended to by config.status. When coming back to configure, we
54709 # need to make the FD available again.
54710 if test "$no_create" != yes; then
54711 ac_cs_success=:
54712 ac_config_status_args=
54713 test "$silent" = yes &&
54714 ac_config_status_args="$ac_config_status_args --quiet"
54715 exec 5>/dev/null
54716 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
54717 exec 5>>config.log
54718 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
54719 # would make configure fail if this is the last instruction.
54720 $ac_cs_success || { (exit 1); exit 1; }
54721 fi
54722
54723 #
54724 # CONFIG_SUBDIRS section.
54725 #
54726 if test "$no_recursion" != yes; then
54727
54728 # Remove --cache-file and --srcdir arguments so they do not pile up.
54729 ac_sub_configure_args=
54730 ac_prev=
54731 eval "set x $ac_configure_args"
54732 shift
54733 for ac_arg
54734 do
54735 if test -n "$ac_prev"; then
54736 ac_prev=
54737 continue
54738 fi
54739 case $ac_arg in
54740 -cache-file | --cache-file | --cache-fil | --cache-fi \
54741 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
54742 ac_prev=cache_file ;;
54743 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
54744 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
54745 | --c=*)
54746 ;;
54747 --config-cache | -C)
54748 ;;
54749 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
54750 ac_prev=srcdir ;;
54751 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
54752 ;;
54753 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
54754 ac_prev=prefix ;;
54755 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
54756 ;;
54757 *)
54758 case $ac_arg in
54759 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54760 esac
54761 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
54762 esac
54763 done
54764
54765 # Always prepend --prefix to ensure using the same prefix
54766 # in subdir configurations.
54767 ac_arg="--prefix=$prefix"
54768 case $ac_arg in
54769 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
54770 esac
54771 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
54772
54773 # Pass --silent
54774 if test "$silent" = yes; then
54775 ac_sub_configure_args="--silent $ac_sub_configure_args"
54776 fi
54777
54778 ac_popdir=`pwd`
54779 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
54780
54781 # Do not complain, so a configure script can configure whichever
54782 # parts of a large source tree are present.
54783 test -d "$srcdir/$ac_dir" || continue
54784
54785 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
54786 echo "$as_me:$LINENO: $ac_msg" >&5
54787 echo "$ac_msg" >&6
54788 { as_dir="$ac_dir"
54789 case $as_dir in #(
54790 -*) as_dir=./$as_dir;;
54791 esac
54792 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54793 as_dirs=
54794 while :; do
54795 case $as_dir in #(
54796 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54797 *) as_qdir=$as_dir;;
54798 esac
54799 as_dirs="'$as_qdir' $as_dirs"
54800 as_dir=`$as_dirname -- "$as_dir" ||
54801 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54802 X"$as_dir" : 'X\(//\)[^/]' \| \
54803 X"$as_dir" : 'X\(//\)$' \| \
54804 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54805 echo X"$as_dir" |
54806 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54807 s//\1/
54808 q
54809 }
54810 /^X\(\/\/\)[^/].*/{
54811 s//\1/
54812 q
54813 }
54814 /^X\(\/\/\)$/{
54815 s//\1/
54816 q
54817 }
54818 /^X\(\/\).*/{
54819 s//\1/
54820 q
54821 }
54822 s/.*/./; q'`
54823 test -d "$as_dir" && break
54824 done
54825 test -z "$as_dirs" || eval "mkdir $as_dirs"
54826 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
54827 echo "$as_me: error: cannot create directory $as_dir" >&2;}
54828 { (exit 1); exit 1; }; }; }
54829 ac_builddir=.
54830
54831 case "$ac_dir" in
54832 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
54833 *)
54834 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
54835 # A ".." for each directory in $ac_dir_suffix.
54836 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
54837 case $ac_top_builddir_sub in
54838 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
54839 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
54840 esac ;;
54841 esac
54842 ac_abs_top_builddir=$ac_pwd
54843 ac_abs_builddir=$ac_pwd$ac_dir_suffix
54844 # for backward compatibility:
54845 ac_top_builddir=$ac_top_build_prefix
54846
54847 case $srcdir in
54848 .) # We are building in place.
54849 ac_srcdir=.
54850 ac_top_srcdir=$ac_top_builddir_sub
54851 ac_abs_top_srcdir=$ac_pwd ;;
54852 [\\/]* | ?:[\\/]* ) # Absolute name.
54853 ac_srcdir=$srcdir$ac_dir_suffix;
54854 ac_top_srcdir=$srcdir
54855 ac_abs_top_srcdir=$srcdir ;;
54856 *) # Relative name.
54857 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
54858 ac_top_srcdir=$ac_top_build_prefix$srcdir
54859 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
54860 esac
54861 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
54862
54863
54864 cd "$ac_dir"
54865
54866 # Check for guested configure; otherwise get Cygnus style configure.
54867 if test -f "$ac_srcdir/configure.gnu"; then
54868 ac_sub_configure=$ac_srcdir/configure.gnu
54869 elif test -f "$ac_srcdir/configure"; then
54870 ac_sub_configure=$ac_srcdir/configure
54871 elif test -f "$ac_srcdir/configure.in"; then
54872 # This should be Cygnus configure.
54873 ac_sub_configure=$ac_aux_dir/configure
54874 else
54875 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
54876 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
54877 ac_sub_configure=
54878 fi
54879
54880 # The recursion is here.
54881 if test -n "$ac_sub_configure"; then
54882 # Make the cache file name correct relative to the subdirectory.
54883 case $cache_file in
54884 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
54885 *) # Relative name.
54886 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
54887 esac
54888
54889 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
54890 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
54891 # The eval makes quoting arguments work.
54892 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
54893 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
54894 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
54895 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
54896 { (exit 1); exit 1; }; }
54897 fi
54898
54899 cd "$ac_popdir"
54900 done
54901 fi
54902
54903
54904 echo
54905 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
54906 echo ""
54907 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
54908 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
54909
54910 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
54911 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
54912 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
54913 if test "$wxUSE_UNICODE" = "yes"; then
54914 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
54915 echo " (using UTF-8)"
54916 else
54917 echo " (using wchar_t)"
54918 fi
54919 else
54920 echo
54921 fi
54922
54923 echo " What level of wxWidgets compatibility should be enabled?"
54924 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
54925 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
54926
54927 echo " Which libraries should wxWidgets use?"
54928 echo " jpeg ${wxUSE_LIBJPEG-none}"
54929 echo " png ${wxUSE_LIBPNG-none}"
54930 echo " regex ${wxUSE_REGEX}"
54931 echo " tiff ${wxUSE_LIBTIFF-none}"
54932 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
54933 echo " xpm ${wxUSE_LIBXPM-none}"
54934 fi
54935 echo " zlib ${wxUSE_ZLIB}"
54936 echo " odbc ${wxUSE_ODBC}"
54937 echo " expat ${wxUSE_EXPAT}"
54938 echo " libmspack ${wxUSE_LIBMSPACK}"
54939 echo " sdl ${wxUSE_LIBSDL}"
54940
54941 echo ""
54942