]> git.saurik.com Git - wxWidgets.git/blob - configure
fixed wxBitmap<->wxImage conversion to not exchange red and blue components
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
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 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 EXTRALIBS_ESD
715 SDL_CONFIG
716 SDL_CFLAGS
717 SDL_LIBS
718 LIBGNOMEPRINTUI_CFLAGS
719 LIBGNOMEPRINTUI_LIBS
720 GNOMEVFS_CFLAGS
721 GNOMEVFS_LIBS
722 HILDON_CFLAGS
723 HILDON_LIBS
724 CAIRO_CFLAGS
725 CAIRO_LIBS
726 GST_CFLAGS
727 GST_LIBS
728 CORE_BASE_LIBS
729 CORE_GUI_LIBS
730 wxUSE_ZLIB
731 wxUSE_REGEX
732 wxUSE_EXPAT
733 wxUSE_ODBC
734 wxUSE_LIBJPEG
735 wxUSE_LIBPNG
736 wxUSE_LIBTIFF
737 VENDOR
738 OFFICIAL_BUILD
739 WX_FLAVOUR
740 WX_LIB_FLAVOUR
741 WXUNIV
742 MONOLITHIC
743 USE_PLUGINS
744 EXTRALIBS
745 EXTRALIBS_XML
746 EXTRALIBS_HTML
747 EXTRALIBS_ODBC
748 EXTRALIBS_GUI
749 EXTRALIBS_OPENGL
750 EXTRALIBS_SDL
751 WITH_PLUGIN_SDL
752 EXTRALIBS_GNOMEPRINT
753 EXTRALIBS_GNOMEVFS
754 EXTRALIBS_HILDON
755 UNICODE
756 BUILD
757 DEBUG_INFO
758 DEBUG_FLAG
759 TOOLKIT_LOWERCASE
760 TOOLKIT_VERSION
761 SAMPLES_RPATH_FLAG
762 SAMPLES_RPATH_POSTLINK
763 HOST_SUFFIX
764 CPPUNIT_CFLAGS
765 CPPUNIT_LIBS
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 GCC_PCH
805 ICC_PCH
806 BK_MAKE_PCH
807 COND_BUILD_DEBUG
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
816 COND_DEBUG_FLAG_1
817 COND_DEBUG_INFO_0
818 COND_DEBUG_INFO_1
819 COND_DEPS_TRACKING_0
820 COND_DEPS_TRACKING_1
821 COND_GCC_PCH_1
822 COND_ICC_PCH_1
823 COND_MONOLITHIC_0
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
844 COND_MONOLITHIC_0_USE_AUI_1
845 COND_MONOLITHIC_0_USE_GUI_1
846 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
848 COND_MONOLITHIC_0_USE_HTML_1
849 COND_MONOLITHIC_0_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_ODBC_1
851 COND_MONOLITHIC_0_USE_QA_1
852 COND_MONOLITHIC_0_USE_RICHTEXT_1
853 COND_MONOLITHIC_0_USE_XRC_1
854 COND_MONOLITHIC_1
855 COND_MONOLITHIC_1_SHARED_0
856 COND_MONOLITHIC_1_SHARED_1
857 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
858 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
859 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
860 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
861 COND_PLATFORM_MACOSX_1
862 COND_PLATFORM_MACOSX_1_TOOLKIT_
863 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
864 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
865 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
866 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
868 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
869 COND_PLATFORM_MACOSX_1_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
871 COND_PLATFORM_MACOS_1
872 COND_PLATFORM_MAC_1
873 COND_PLATFORM_MSDOS_0
874 COND_PLATFORM_MSDOS_1
875 COND_PLATFORM_OS2_1
876 COND_PLATFORM_UNIX_0
877 COND_PLATFORM_UNIX_1
878 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
879 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
880 COND_PLATFORM_UNIX_1_USE_GUI_1
881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
882 COND_PLATFORM_WIN32_0
883 COND_PLATFORM_WIN32_1
884 COND_SHARED_0
885 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
886 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
887 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
888 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
889 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
890 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
892 COND_SHARED_0_USE_XRC_1
893 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
894 COND_SHARED_0_WXUSE_ODBC_BUILTIN
895 COND_SHARED_0_WXUSE_REGEX_BUILTIN
896 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
897 COND_SHARED_1
898 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
899 COND_SHARED_1_USE_XRC_1
900 COND_TOOLKIT_
901 COND_TOOLKIT_COCOA
902 COND_TOOLKIT_COCOA_USE_GUI_1
903 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_DFB
905 COND_TOOLKIT_DFB_USE_GUI_1
906 COND_TOOLKIT_GTK
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_USE_GUI_1
914 COND_TOOLKIT_MAC
915 COND_TOOLKIT_MAC_USE_GUI_1
916 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_MGL
918 COND_TOOLKIT_MGL_USE_GUI_1
919 COND_TOOLKIT_MOTIF
920 COND_TOOLKIT_MOTIF_USE_GUI_1
921 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
922 COND_TOOLKIT_MSW
923 COND_TOOLKIT_MSW_USE_GUI_1
924 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW_WXUNIV_0
926 COND_TOOLKIT_PM
927 COND_TOOLKIT_PM_USE_GUI_1
928 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_WINCE
930 COND_TOOLKIT_WINCE_USE_GUI_1
931 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE_WXUNIV_0
933 COND_TOOLKIT_X11
934 COND_TOOLKIT_X11_USE_GUI_1
935 COND_UNICODE_1
936 COND_USE_EXCEPTIONS_0
937 COND_USE_EXCEPTIONS_1
938 COND_USE_GUI_0
939 COND_USE_GUI_1
940 COND_USE_GUI_1_WXUNIV_0
941 COND_USE_GUI_1_WXUNIV_1
942 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
943 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
944 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
945 COND_USE_ODBC_1
946 COND_USE_OPENGL_1
947 COND_USE_PCH_1
948 COND_USE_PLUGINS_0
949 COND_USE_RTTI_0
950 COND_USE_RTTI_1
951 COND_USE_SOSYMLINKS_1
952 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
953 COND_USE_SOVERLINUX_1
954 COND_USE_SOVERSION_0
955 COND_USE_SOVERSOLARIS_1
956 COND_USE_THREADS_0
957 COND_USE_THREADS_1
958 COND_USE_XRC_1
959 COND_WINDOWS_IMPLIB_1
960 COND_WITH_PLUGIN_SDL_1
961 COND_WXUNIV_0
962 COND_WXUNIV_1
963 COND_WXUSE_EXPAT_BUILTIN
964 COND_WXUSE_LIBJPEG_BUILTIN
965 COND_WXUSE_LIBPNG_BUILTIN
966 COND_WXUSE_LIBTIFF_BUILTIN
967 COND_WXUSE_ODBC_BUILTIN
968 COND_WXUSE_REGEX_BUILTIN
969 COND_WXUSE_ZLIB_BUILTIN
970 SHARED
971 WX_LIBRARY_BASENAME_NOGUI
972 WX_LIBRARY_BASENAME_GUI
973 USE_GUI
974 AFMINSTALL
975 WIN32INSTALL
976 TOOLKIT
977 TOOLKIT_DIR
978 TOOLCHAIN_NAME
979 TOOLCHAIN_FULLNAME
980 cross_compiling
981 WIDGET_SET
982 WX_RELEASE
983 WX_VERSION
984 WX_SUBVERSION
985 WX_CHARTYPE
986 WX_DEBUGTYPE
987 WXCONFIG_CPPFLAGS
988 WXCONFIG_CFLAGS
989 WXCONFIG_CXXFLAGS
990 WXCONFIG_LIBS
991 WXCONFIG_RPATH
992 WXCONFIG_LDFLAGS_GUI
993 WXCONFIG_RESFLAGS
994 EXE_LINKER
995 GUIDIST
996 DISTDIR
997 SAMPLES_SUBDIRS
998 LDFLAGS_GL
999 OPENGL_LIBS
1000 DMALLOC_LIBS
1001 WX_VERSION_TAG
1002 RESCOMP
1003 RESFLAGS
1004 RESPROGRAMOBJ
1005 WX_RESOURCES_MACOSX_ASCII
1006 WX_RESOURCES_MACOSX_DATA
1007 LIBWXMACRES
1008 POSTLINK_COMMAND
1009 MACSETFILE
1010 GCC
1011 CPPUNIT_CONFIG
1012 LIBOBJS
1013 LTLIBOBJS'
1014 ac_subst_files=''
1015 ac_precious_vars='build_alias
1016 host_alias
1017 target_alias
1018 CC
1019 CFLAGS
1020 LDFLAGS
1021 LIBS
1022 CPPFLAGS
1023 CPP
1024 CXX
1025 CXXFLAGS
1026 CCC
1027 PKG_CONFIG
1028 DIRECTFB_CFLAGS
1029 DIRECTFB_LIBS
1030 XMKMF
1031 PANGOX_CFLAGS
1032 PANGOX_LIBS
1033 PANGOFT2_CFLAGS
1034 PANGOFT2_LIBS
1035 PANGOXFT_CFLAGS
1036 PANGOXFT_LIBS
1037 LIBGNOMEPRINTUI_CFLAGS
1038 LIBGNOMEPRINTUI_LIBS
1039 GNOMEVFS_CFLAGS
1040 GNOMEVFS_LIBS
1041 HILDON_CFLAGS
1042 HILDON_LIBS
1043 CAIRO_CFLAGS
1044 CAIRO_LIBS
1045 GST_CFLAGS
1046 GST_LIBS'
1047 ac_subdirs_all='src/expat'
1048
1049 # Initialize some variables set by options.
1050 ac_init_help=
1051 ac_init_version=false
1052 # The variables have the same names as the options, with
1053 # dashes changed to underlines.
1054 cache_file=/dev/null
1055 exec_prefix=NONE
1056 no_create=
1057 no_recursion=
1058 prefix=NONE
1059 program_prefix=NONE
1060 program_suffix=NONE
1061 program_transform_name=s,x,x,
1062 silent=
1063 site=
1064 srcdir=
1065 verbose=
1066 x_includes=NONE
1067 x_libraries=NONE
1068
1069 # Installation directory options.
1070 # These are left unexpanded so users can "make install exec_prefix=/foo"
1071 # and all the variables that are supposed to be based on exec_prefix
1072 # by default will actually change.
1073 # Use braces instead of parens because sh, perl, etc. also accept them.
1074 # (The list follows the same order as the GNU Coding Standards.)
1075 bindir='${exec_prefix}/bin'
1076 sbindir='${exec_prefix}/sbin'
1077 libexecdir='${exec_prefix}/libexec'
1078 datarootdir='${prefix}/share'
1079 datadir='${datarootdir}'
1080 sysconfdir='${prefix}/etc'
1081 sharedstatedir='${prefix}/com'
1082 localstatedir='${prefix}/var'
1083 includedir='${prefix}/include'
1084 oldincludedir='/usr/include'
1085 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1086 infodir='${datarootdir}/info'
1087 htmldir='${docdir}'
1088 dvidir='${docdir}'
1089 pdfdir='${docdir}'
1090 psdir='${docdir}'
1091 libdir='${exec_prefix}/lib'
1092 localedir='${datarootdir}/locale'
1093 mandir='${datarootdir}/man'
1094
1095 ac_prev=
1096 ac_dashdash=
1097 for ac_option
1098 do
1099 # If the previous option needs an argument, assign it.
1100 if test -n "$ac_prev"; then
1101 eval $ac_prev=\$ac_option
1102 ac_prev=
1103 continue
1104 fi
1105
1106 case $ac_option in
1107 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1108 *) ac_optarg=yes ;;
1109 esac
1110
1111 # Accept the important Cygnus configure options, so we can diagnose typos.
1112
1113 case $ac_dashdash$ac_option in
1114 --)
1115 ac_dashdash=yes ;;
1116
1117 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1118 ac_prev=bindir ;;
1119 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1120 bindir=$ac_optarg ;;
1121
1122 -build | --build | --buil | --bui | --bu)
1123 ac_prev=build_alias ;;
1124 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1125 build_alias=$ac_optarg ;;
1126
1127 -cache-file | --cache-file | --cache-fil | --cache-fi \
1128 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1129 ac_prev=cache_file ;;
1130 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1131 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1132 cache_file=$ac_optarg ;;
1133
1134 --config-cache | -C)
1135 cache_file=config.cache ;;
1136
1137 -datadir | --datadir | --datadi | --datad)
1138 ac_prev=datadir ;;
1139 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1140 datadir=$ac_optarg ;;
1141
1142 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1143 | --dataroo | --dataro | --datar)
1144 ac_prev=datarootdir ;;
1145 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1146 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1147 datarootdir=$ac_optarg ;;
1148
1149 -disable-* | --disable-*)
1150 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1154 { (exit 1); exit 1; }; }
1155 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1156 eval enable_$ac_feature=no ;;
1157
1158 -docdir | --docdir | --docdi | --doc | --do)
1159 ac_prev=docdir ;;
1160 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1161 docdir=$ac_optarg ;;
1162
1163 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1164 ac_prev=dvidir ;;
1165 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1166 dvidir=$ac_optarg ;;
1167
1168 -enable-* | --enable-*)
1169 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1170 # Reject names that are not valid shell variable names.
1171 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1172 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1173 { (exit 1); exit 1; }; }
1174 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1175 eval enable_$ac_feature=\$ac_optarg ;;
1176
1177 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1178 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1179 | --exec | --exe | --ex)
1180 ac_prev=exec_prefix ;;
1181 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1182 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1183 | --exec=* | --exe=* | --ex=*)
1184 exec_prefix=$ac_optarg ;;
1185
1186 -gas | --gas | --ga | --g)
1187 # Obsolete; use --with-gas.
1188 with_gas=yes ;;
1189
1190 -help | --help | --hel | --he | -h)
1191 ac_init_help=long ;;
1192 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1193 ac_init_help=recursive ;;
1194 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1195 ac_init_help=short ;;
1196
1197 -host | --host | --hos | --ho)
1198 ac_prev=host_alias ;;
1199 -host=* | --host=* | --hos=* | --ho=*)
1200 host_alias=$ac_optarg ;;
1201
1202 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1203 ac_prev=htmldir ;;
1204 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1205 | --ht=*)
1206 htmldir=$ac_optarg ;;
1207
1208 -includedir | --includedir | --includedi | --included | --include \
1209 | --includ | --inclu | --incl | --inc)
1210 ac_prev=includedir ;;
1211 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1212 | --includ=* | --inclu=* | --incl=* | --inc=*)
1213 includedir=$ac_optarg ;;
1214
1215 -infodir | --infodir | --infodi | --infod | --info | --inf)
1216 ac_prev=infodir ;;
1217 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1218 infodir=$ac_optarg ;;
1219
1220 -libdir | --libdir | --libdi | --libd)
1221 ac_prev=libdir ;;
1222 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1223 libdir=$ac_optarg ;;
1224
1225 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1226 | --libexe | --libex | --libe)
1227 ac_prev=libexecdir ;;
1228 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1229 | --libexe=* | --libex=* | --libe=*)
1230 libexecdir=$ac_optarg ;;
1231
1232 -localedir | --localedir | --localedi | --localed | --locale)
1233 ac_prev=localedir ;;
1234 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1235 localedir=$ac_optarg ;;
1236
1237 -localstatedir | --localstatedir | --localstatedi | --localstated \
1238 | --localstate | --localstat | --localsta | --localst | --locals)
1239 ac_prev=localstatedir ;;
1240 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1241 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1242 localstatedir=$ac_optarg ;;
1243
1244 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1245 ac_prev=mandir ;;
1246 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1247 mandir=$ac_optarg ;;
1248
1249 -nfp | --nfp | --nf)
1250 # Obsolete; use --without-fp.
1251 with_fp=no ;;
1252
1253 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1254 | --no-cr | --no-c | -n)
1255 no_create=yes ;;
1256
1257 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1258 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1259 no_recursion=yes ;;
1260
1261 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1262 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1263 | --oldin | --oldi | --old | --ol | --o)
1264 ac_prev=oldincludedir ;;
1265 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1266 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1267 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1268 oldincludedir=$ac_optarg ;;
1269
1270 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1271 ac_prev=prefix ;;
1272 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1273 prefix=$ac_optarg ;;
1274
1275 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1276 | --program-pre | --program-pr | --program-p)
1277 ac_prev=program_prefix ;;
1278 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1279 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1280 program_prefix=$ac_optarg ;;
1281
1282 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1283 | --program-suf | --program-su | --program-s)
1284 ac_prev=program_suffix ;;
1285 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1286 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1287 program_suffix=$ac_optarg ;;
1288
1289 -program-transform-name | --program-transform-name \
1290 | --program-transform-nam | --program-transform-na \
1291 | --program-transform-n | --program-transform- \
1292 | --program-transform | --program-transfor \
1293 | --program-transfo | --program-transf \
1294 | --program-trans | --program-tran \
1295 | --progr-tra | --program-tr | --program-t)
1296 ac_prev=program_transform_name ;;
1297 -program-transform-name=* | --program-transform-name=* \
1298 | --program-transform-nam=* | --program-transform-na=* \
1299 | --program-transform-n=* | --program-transform-=* \
1300 | --program-transform=* | --program-transfor=* \
1301 | --program-transfo=* | --program-transf=* \
1302 | --program-trans=* | --program-tran=* \
1303 | --progr-tra=* | --program-tr=* | --program-t=*)
1304 program_transform_name=$ac_optarg ;;
1305
1306 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1307 ac_prev=pdfdir ;;
1308 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1309 pdfdir=$ac_optarg ;;
1310
1311 -psdir | --psdir | --psdi | --psd | --ps)
1312 ac_prev=psdir ;;
1313 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1314 psdir=$ac_optarg ;;
1315
1316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1317 | -silent | --silent | --silen | --sile | --sil)
1318 silent=yes ;;
1319
1320 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1321 ac_prev=sbindir ;;
1322 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1323 | --sbi=* | --sb=*)
1324 sbindir=$ac_optarg ;;
1325
1326 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1327 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1328 | --sharedst | --shareds | --shared | --share | --shar \
1329 | --sha | --sh)
1330 ac_prev=sharedstatedir ;;
1331 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1332 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1333 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1334 | --sha=* | --sh=*)
1335 sharedstatedir=$ac_optarg ;;
1336
1337 -site | --site | --sit)
1338 ac_prev=site ;;
1339 -site=* | --site=* | --sit=*)
1340 site=$ac_optarg ;;
1341
1342 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1343 ac_prev=srcdir ;;
1344 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1345 srcdir=$ac_optarg ;;
1346
1347 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1348 | --syscon | --sysco | --sysc | --sys | --sy)
1349 ac_prev=sysconfdir ;;
1350 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1351 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1352 sysconfdir=$ac_optarg ;;
1353
1354 -target | --target | --targe | --targ | --tar | --ta | --t)
1355 ac_prev=target_alias ;;
1356 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1357 target_alias=$ac_optarg ;;
1358
1359 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1360 verbose=yes ;;
1361
1362 -version | --version | --versio | --versi | --vers | -V)
1363 ac_init_version=: ;;
1364
1365 -with-* | --with-*)
1366 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1367 # Reject names that are not valid shell variable names.
1368 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1369 { echo "$as_me: error: invalid package name: $ac_package" >&2
1370 { (exit 1); exit 1; }; }
1371 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1372 eval with_$ac_package=\$ac_optarg ;;
1373
1374 -without-* | --without-*)
1375 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1376 # Reject names that are not valid shell variable names.
1377 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1378 { echo "$as_me: error: invalid package name: $ac_package" >&2
1379 { (exit 1); exit 1; }; }
1380 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1381 eval with_$ac_package=no ;;
1382
1383 --x)
1384 # Obsolete; use --with-x.
1385 with_x=yes ;;
1386
1387 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1388 | --x-incl | --x-inc | --x-in | --x-i)
1389 ac_prev=x_includes ;;
1390 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1391 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1392 x_includes=$ac_optarg ;;
1393
1394 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1395 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1396 ac_prev=x_libraries ;;
1397 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1398 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1399 x_libraries=$ac_optarg ;;
1400
1401 -*) { echo "$as_me: error: unrecognized option: $ac_option
1402 Try \`$0 --help' for more information." >&2
1403 { (exit 1); exit 1; }; }
1404 ;;
1405
1406 *=*)
1407 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1408 # Reject names that are not valid shell variable names.
1409 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1410 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1411 { (exit 1); exit 1; }; }
1412 eval $ac_envvar=\$ac_optarg
1413 export $ac_envvar ;;
1414
1415 *)
1416 # FIXME: should be removed in autoconf 3.0.
1417 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1418 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1419 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1420 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1421 ;;
1422
1423 esac
1424 done
1425
1426 if test -n "$ac_prev"; then
1427 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1428 { echo "$as_me: error: missing argument to $ac_option" >&2
1429 { (exit 1); exit 1; }; }
1430 fi
1431
1432 # Be sure to have absolute directory names.
1433 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1434 datadir sysconfdir sharedstatedir localstatedir includedir \
1435 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1436 libdir localedir mandir
1437 do
1438 eval ac_val=\$$ac_var
1439 case $ac_val in
1440 [\\/$]* | ?:[\\/]* ) continue;;
1441 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1442 esac
1443 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1444 { (exit 1); exit 1; }; }
1445 done
1446
1447 # There might be people who depend on the old broken behavior: `$host'
1448 # used to hold the argument of --host etc.
1449 # FIXME: To remove some day.
1450 build=$build_alias
1451 host=$host_alias
1452 target=$target_alias
1453
1454 # FIXME: To remove some day.
1455 if test "x$host_alias" != x; then
1456 if test "x$build_alias" = x; then
1457 cross_compiling=maybe
1458 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1459 If a cross compiler is detected then cross compile mode will be used." >&2
1460 elif test "x$build_alias" != "x$host_alias"; then
1461 cross_compiling=yes
1462 fi
1463 fi
1464
1465 ac_tool_prefix=
1466 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1467
1468 test "$silent" = yes && exec 6>/dev/null
1469
1470
1471 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1472 ac_ls_di=`ls -di .` &&
1473 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1474 { echo "$as_me: error: Working directory cannot be determined" >&2
1475 { (exit 1); exit 1; }; }
1476 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1477 { echo "$as_me: error: pwd does not report name of working directory" >&2
1478 { (exit 1); exit 1; }; }
1479
1480
1481 # Find the source files, if location was not specified.
1482 if test -z "$srcdir"; then
1483 ac_srcdir_defaulted=yes
1484 # Try the directory containing this script, then the parent directory.
1485 ac_confdir=`$as_dirname -- "$0" ||
1486 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1487 X"$0" : 'X\(//\)[^/]' \| \
1488 X"$0" : 'X\(//\)$' \| \
1489 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1490 echo X"$0" |
1491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1492 s//\1/
1493 q
1494 }
1495 /^X\(\/\/\)[^/].*/{
1496 s//\1/
1497 q
1498 }
1499 /^X\(\/\/\)$/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\).*/{
1504 s//\1/
1505 q
1506 }
1507 s/.*/./; q'`
1508 srcdir=$ac_confdir
1509 if test ! -r "$srcdir/$ac_unique_file"; then
1510 srcdir=..
1511 fi
1512 else
1513 ac_srcdir_defaulted=no
1514 fi
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1517 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1518 { (exit 1); exit 1; }; }
1519 fi
1520 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1521 ac_abs_confdir=`(
1522 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1523 { (exit 1); exit 1; }; }
1524 pwd)`
1525 # When building in place, set srcdir=.
1526 if test "$ac_abs_confdir" = "$ac_pwd"; then
1527 srcdir=.
1528 fi
1529 # Remove unnecessary trailing slashes from srcdir.
1530 # Double slashes in file names in object file debugging info
1531 # mess up M-x gdb in Emacs.
1532 case $srcdir in
1533 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1534 esac
1535 for ac_var in $ac_precious_vars; do
1536 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1537 eval ac_env_${ac_var}_value=\$${ac_var}
1538 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1540 done
1541
1542 #
1543 # Report the --help message.
1544 #
1545 if test "$ac_init_help" = "long"; then
1546 # Omit some internal or obsolete options to make the list less imposing.
1547 # This message is too long to be a string in the A/UX 3.1 sh.
1548 cat <<_ACEOF
1549 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1550
1551 Usage: $0 [OPTION]... [VAR=VALUE]...
1552
1553 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1554 VAR=VALUE. See below for descriptions of some of the useful variables.
1555
1556 Defaults for the options are specified in brackets.
1557
1558 Configuration:
1559 -h, --help display this help and exit
1560 --help=short display options specific to this package
1561 --help=recursive display the short help of all the included packages
1562 -V, --version display version information and exit
1563 -q, --quiet, --silent do not print \`checking...' messages
1564 --cache-file=FILE cache test results in FILE [disabled]
1565 -C, --config-cache alias for \`--cache-file=config.cache'
1566 -n, --no-create do not create output files
1567 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1568
1569 Installation directories:
1570 --prefix=PREFIX install architecture-independent files in PREFIX
1571 [$ac_default_prefix]
1572 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1573 [PREFIX]
1574
1575 By default, \`make install' will install all the files in
1576 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1577 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1578 for instance \`--prefix=\$HOME'.
1579
1580 For better control, use the options below.
1581
1582 Fine tuning of the installation directories:
1583 --bindir=DIR user executables [EPREFIX/bin]
1584 --sbindir=DIR system admin executables [EPREFIX/sbin]
1585 --libexecdir=DIR program executables [EPREFIX/libexec]
1586 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1587 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1588 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1589 --libdir=DIR object code libraries [EPREFIX/lib]
1590 --includedir=DIR C header files [PREFIX/include]
1591 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1592 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1593 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1594 --infodir=DIR info documentation [DATAROOTDIR/info]
1595 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1596 --mandir=DIR man documentation [DATAROOTDIR/man]
1597 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1598 --htmldir=DIR html documentation [DOCDIR]
1599 --dvidir=DIR dvi documentation [DOCDIR]
1600 --pdfdir=DIR pdf documentation [DOCDIR]
1601 --psdir=DIR ps documentation [DOCDIR]
1602 _ACEOF
1603
1604 cat <<\_ACEOF
1605
1606 X features:
1607 --x-includes=DIR X include files are in DIR
1608 --x-libraries=DIR X library files are in DIR
1609
1610 System types:
1611 --build=BUILD configure for building on BUILD [guessed]
1612 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1613 --target=TARGET configure for building compilers for TARGET [HOST]
1614 _ACEOF
1615 fi
1616
1617 if test -n "$ac_init_help"; then
1618 case $ac_init_help in
1619 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1620 esac
1621 cat <<\_ACEOF
1622
1623 Optional Features:
1624 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1625 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1626 --enable-gui use GUI classes
1627 --enable-monolithic build wxWidgets as single library
1628 --enable-plugins build parts of wxWidgets as loadable components
1629 --enable-universal use wxWidgets GUI controls instead of native ones
1630 --enable-nanox use NanoX
1631 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1632 --enable-gpe use GNOME PDA Environment features if possible
1633 --enable-shared create shared library code
1634 --enable-optimise create optimised code
1635 --enable-debug same as debug_flag and debug_info
1636 --enable-stl use STL for containers
1637 --enable-omf use OMF object format
1638 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1639 --enable-debug_info create code with debugging information
1640 --enable-debug_gdb create code with extra GDB debugging information
1641 --enable-debug_cntxt use wxDebugContext
1642 --enable-mem_tracing create code with memory tracing
1643 --enable-profile create code with profiling information
1644 --enable-no_rtti create code without RTTI information
1645 --enable-no_exceptions create code without C++ exceptions handling
1646 --enable-permissive compile code disregarding strict ANSI
1647 --enable-no_deps create code without dependency information
1648 --disable-vararg_macros don't use vararg macros, even if they are supported
1649 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1650 --enable-compat26 enable wxWidgets 2.6 compatibility
1651 --disable-compat28 disable wxWidgets 2.8 compatibility
1652 --disable-rpath disable use of rpath for uninstalled builds
1653 --enable-intl use internationalization system
1654 --enable-config use wxConfig (and derived) classes
1655 --enable-protocols use wxProtocol and derived classes
1656 --enable-ftp use wxFTP (requires wxProtocol
1657 --enable-http use wxHTTP (requires wxProtocol
1658 --enable-fileproto use wxFileProto class (requires wxProtocol
1659 --enable-sockets use socket/network classes
1660 --enable-ole use OLE classes (Win32 only)
1661 --enable-dataobj use data object classes
1662 --enable-ipc use interprocess communication (wxSocket etc.)
1663 --enable-apple_ieee use the Apple IEEE codec
1664 --enable-arcstream use wxArchive streams
1665 --enable-backtrace use wxStackWalker class for getting backtraces
1666 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1667 --enable-cmdline use wxCmdLineParser class
1668 --enable-datetime use wxDateTime class
1669 --enable-debugreport use wxDebugReport class
1670 --enable-dialupman use dialup network classes
1671 --enable-dynlib use wxLibrary class for DLL loading
1672 --enable-dynamicloader use (new) wxDynamicLibrary class
1673 --enable-exceptions build exception-safe library
1674 --enable-ffile use wxFFile class
1675 --enable-file use wxFile class
1676 --enable-filesystem use virtual file systems classes
1677 --enable-fontmap use font encodings conversion classes
1678 --enable-fs_archive use virtual archive filesystems
1679 --enable-fs_inet use virtual HTTP/FTP filesystems
1680 --enable-fs_zip now replaced by fs_archive
1681 --enable-geometry use geometry class
1682 --enable-log use logging system
1683 --enable-longlong use wxLongLong class
1684 --enable-mimetype use wxMimeTypesManager
1685 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1686 --enable-snglinst use wxSingleInstanceChecker class
1687 --enable-std_iostreams use standard C++ stream classes
1688 --enable-std_string use standard C++ string classes
1689 --enable-stdpaths use wxStandardPaths class
1690 --enable-stopwatch use wxStopWatch class
1691 --enable-streams use wxStream etc classes
1692 --enable-sysoptions use wxSystemOptions
1693 --enable-tarstream use wxTar streams
1694 --enable-textbuf use wxTextBuffer class
1695 --enable-textfile use wxTextFile class
1696 --enable-timer use wxTimer class
1697 --enable-unicode compile wxString with Unicode support
1698 --enable-sound use wxSound class
1699 --enable-mediactrl use wxMediaCtrl class
1700 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1701 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1702 --enable-zipstream use wxZip streams
1703 --enable-url use wxURL class
1704 --enable-variant use wxVariant class
1705 --enable-protocol use wxProtocol class
1706 --enable-protocol-http HTTP support in wxProtocol
1707 --enable-protocol-ftp FTP support in wxProtocol
1708 --enable-protocol-file FILE support in wxProtocol
1709 --enable-threads use threads
1710 --enable-docview use document view architecture
1711 --enable-help use help subsystem
1712 --enable-mshtmlhelp use MS HTML Help (win32)
1713 --enable-html use wxHTML sub-library
1714 --enable-htmlhelp use wxHTML-based help
1715 --enable-xrc use XRC resources sub-library
1716 --enable-aui use AUI docking library
1717 --enable-constraints use layout-constraints system
1718 --enable-printarch use printing architecture
1719 --enable-mdi use multiple document interface architecture
1720 --enable-mdidoc use docview architecture with MDI
1721 --enable-loggui use standard GUI logger
1722 --enable-logwin use wxLogWindow
1723 --enable-logdialog use wxLogDialog
1724 --enable-webkit use wxWebKitCtrl (Mac)
1725 --enable-richtext use wxRichTextCtrl
1726 --enable-graphics_ctx use graphics context 2D drawing API
1727 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1728 --enable-prologio not available; see contrib
1729 --enable-resources not available; see contrib
1730 --enable-clipboard use wxClipboard class
1731 --enable-dnd use Drag'n'Drop classes
1732 --enable-metafile use win32 metafiles
1733 --enable-controls use all usual controls
1734 --enable-accel use accelerators
1735 --enable-animatectrl use wxAnimationCtrl class
1736 --enable-button use wxButton class
1737 --enable-bmpbutton use wxBitmapButton class
1738 --enable-bmpcombobox use wxBitmapComboBox class
1739 --enable-calendar use wxCalendarCtrl class
1740 --enable-caret use wxCaret class
1741 --enable-checkbox use wxCheckBox class
1742 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1743 --enable-choice use wxChoice class
1744 --enable-choicebook use wxChoicebook class
1745 --enable-collpane use wxCollapsiblePane class
1746 --enable-colourpicker use wxColourPickerCtrl class
1747 --enable-combobox use wxComboBox class
1748 --enable-comboctrl use wxComboCtrl class
1749 --enable-datepick use wxDatePickerCtrl class
1750 --enable-dirpicker use wxDirPickerCtrl class
1751 --enable-display use wxDisplay class
1752 --enable-detect_sm use code to detect X11 session manager
1753 --enable-filepicker use wxFilePickerCtrl class
1754 --enable-fontpicker use wxFontPickerCtrl class
1755 --enable-gauge use wxGauge class
1756 --enable-grid use wxGrid class
1757 --enable-dataviewctrl use wxDataViewCtrl class
1758 --enable-hyperlink use wxHyperlinkCtrl class
1759 --enable-imaglist use wxImageList class
1760 --enable-listbook use wxListbook class
1761 --enable-listbox use wxListBox class
1762 --enable-listctrl use wxListCtrl class
1763 --enable-notebook use wxNotebook class
1764 --enable-odcombobox use wxOwnerDrawnComboBox class
1765 --enable-radiobox use wxRadioBox class
1766 --enable-radiobtn use wxRadioButton class
1767 --enable-sash use wxSashWindow class
1768 --enable-scrollbar use wxScrollBar class and scrollable windows
1769 --enable-searchctrl use wxSearchCtrl class
1770 --enable-slider use wxSlider class
1771 --enable-spinbtn use wxSpinButton class
1772 --enable-spinctrl use wxSpinCtrl class
1773 --enable-splitter use wxSplitterWindow class
1774 --enable-statbmp use wxStaticBitmap class
1775 --enable-statbox use wxStaticBox class
1776 --enable-statline use wxStaticLine class
1777 --enable-stattext use wxStaticText class
1778 --enable-statusbar use wxStatusBar class
1779 --enable-tabdialog use wxTabControl class
1780 --enable-textctrl use wxTextCtrl class
1781 --enable-togglebtn use wxToggleButton class
1782 --enable-toolbar use wxToolBar class
1783 --enable-tbarnative use native wxToolBar class
1784 --enable-treebook use wxTreebook class
1785 --enable-toolbook use wxToolbook class
1786 --enable-treectrl use wxTreeCtrl class
1787 --enable-tipwindow use wxTipWindow class
1788 --enable-popupwin use wxPopUpWindow class
1789 --enable-commondlg use all common dialogs
1790 --enable-aboutdlg use wxAboutBox
1791 --enable-choicedlg use wxChoiceDialog
1792 --enable-coldlg use wxColourDialog
1793 --enable-filedlg use wxFileDialog
1794 --enable-finddlg use wxFindReplaceDialog
1795 --enable-fontdlg use wxFontDialog
1796 --enable-dirdlg use wxDirDialog
1797 --enable-msgdlg use wxMessageDialog
1798 --enable-numberdlg use wxNumberEntryDialog
1799 --enable-splash use wxSplashScreen
1800 --enable-textdlg use wxTextDialog
1801 --enable-tipdlg use startup tips
1802 --enable-progressdlg use wxProgressDialog
1803 --enable-wizarddlg use wxWizard
1804 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1805 --enable-miniframe use wxMiniFrame class
1806 --enable-tooltips use wxToolTip class
1807 --enable-splines use spline drawing code
1808 --enable-mousewheel use mousewheel
1809 --enable-validators use wxValidator and derived classes
1810 --enable-busyinfo use wxBusyInfo
1811 --enable-joystick use wxJoystick
1812 --enable-metafiles use wxMetaFile (Win32 only)
1813 --enable-dragimage use wxDragImage
1814 --enable-accessibility enable accessibility support
1815 --enable-dccache cache temporary wxDC objects (Win32 only)
1816 --enable-palette use wxPalette class
1817 --enable-image use wxImage class
1818 --enable-gif use gif images (GIF file format)
1819 --enable-pcx use pcx images (PCX file format)
1820 --enable-tga use tga images (TGA file format)
1821 --enable-iff use iff images (IFF file format)
1822 --enable-pnm use pnm images (PNM file format)
1823 --enable-xpm use xpm images (XPM file format)
1824 --enable-icocur use Windows ICO and CUR formats
1825 --enable-official_build official build of wxWidgets (win32 DLL only)
1826 --enable-vendor=VENDOR vendor name (win32 DLL only)
1827 --disable-largefile omit support for large files
1828 --disable-gtktest do not try to compile and run a test GTK+ program
1829 --disable-gtktest Do not try to compile and run a test GTK program
1830 --disable-sdltest Do not try to compile and run a test SDL program
1831 --enable-omf use OMF object format (OS/2)
1832 --disable-dependency-tracking
1833 don't use dependency tracking even if the compiler
1834 can
1835 --disable-precomp-headers
1836 don't use precompiled headers even if compiler can
1837
1838 Optional Packages:
1839 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1840 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1841 --without-subdirs don't generate makefiles for samples/demos/...
1842 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1843 --with-motif use Motif/Lesstif
1844 --with-mac use Mac OS X
1845 --with-cocoa use Cocoa
1846 --with-wine use Wine
1847 --with-msw use MS-Windows
1848 --with-pm use OS/2 Presentation Manager
1849 --with-mgl use SciTech MGL
1850 --with-directfb use DirectFB
1851 --with-microwin use MicroWindows
1852 --with-x11 use X11
1853 --with-libpng use libpng (PNG image format)
1854 --with-libjpeg use libjpeg (JPEG file format)
1855 --with-libtiff use libtiff (TIFF file format)
1856 --with-libxpm use libxpm (XPM file format)
1857 --with-libmspack use libmspack (CHM help files loading)
1858 --with-sdl use SDL for audio on Unix
1859 --with-gnomeprint use GNOME print for printing under GNOME
1860 --with-gnomevfs use GNOME VFS for associating MIME types
1861 --with-hildon use Hildon framework for Nokia 770
1862 --with-opengl use OpenGL (or Mesa)
1863 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1864 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1865 --with-regex enable support for wxRegEx class
1866 --with-zlib use zlib for LZW compression
1867 --with-odbc use the IODBC and wxODBC classes
1868 --with-expat enable XML support using expat parser
1869 --with-flavour=NAME specify a name to identify this build
1870 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1871 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1872 --with-x use the X Window System
1873 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1874 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1875 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1876 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1877 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1878
1879 Some influential environment variables:
1880 CC C compiler command
1881 CFLAGS C compiler flags
1882 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1883 nonstandard directory <lib dir>
1884 LIBS libraries to pass to the linker, e.g. -l<library>
1885 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1886 you have headers in a nonstandard directory <include dir>
1887 CPP C preprocessor
1888 CXX C++ compiler command
1889 CXXFLAGS C++ compiler flags
1890 PKG_CONFIG path to pkg-config utility
1891 DIRECTFB_CFLAGS
1892 C compiler flags for DIRECTFB, overriding pkg-config
1893 DIRECTFB_LIBS
1894 linker flags for DIRECTFB, overriding pkg-config
1895 XMKMF Path to xmkmf, Makefile generator for X Window System
1896 PANGOX_CFLAGS
1897 C compiler flags for PANGOX, overriding pkg-config
1898 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1899 PANGOFT2_CFLAGS
1900 C compiler flags for PANGOFT2, overriding pkg-config
1901 PANGOFT2_LIBS
1902 linker flags for PANGOFT2, overriding pkg-config
1903 PANGOXFT_CFLAGS
1904 C compiler flags for PANGOXFT, overriding pkg-config
1905 PANGOXFT_LIBS
1906 linker flags for PANGOXFT, overriding pkg-config
1907 LIBGNOMEPRINTUI_CFLAGS
1908 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1909 LIBGNOMEPRINTUI_LIBS
1910 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1911 GNOMEVFS_CFLAGS
1912 C compiler flags for GNOMEVFS, overriding pkg-config
1913 GNOMEVFS_LIBS
1914 linker flags for GNOMEVFS, overriding pkg-config
1915 HILDON_CFLAGS
1916 C compiler flags for HILDON, overriding pkg-config
1917 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1918 CAIRO_CFLAGS
1919 C compiler flags for CAIRO, overriding pkg-config
1920 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1921 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1922 GST_LIBS linker flags for GST, overriding pkg-config
1923
1924 Use these variables to override the choices made by `configure' or to help
1925 it to find libraries and programs with nonstandard names/locations.
1926
1927 Report bugs to <wx-dev@lists.wxwidgets.org>.
1928 _ACEOF
1929 ac_status=$?
1930 fi
1931
1932 if test "$ac_init_help" = "recursive"; then
1933 # If there are subdirs, report their specific --help.
1934 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1935 test -d "$ac_dir" || continue
1936 ac_builddir=.
1937
1938 case "$ac_dir" in
1939 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1940 *)
1941 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1942 # A ".." for each directory in $ac_dir_suffix.
1943 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1944 case $ac_top_builddir_sub in
1945 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1946 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1947 esac ;;
1948 esac
1949 ac_abs_top_builddir=$ac_pwd
1950 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1951 # for backward compatibility:
1952 ac_top_builddir=$ac_top_build_prefix
1953
1954 case $srcdir in
1955 .) # We are building in place.
1956 ac_srcdir=.
1957 ac_top_srcdir=$ac_top_builddir_sub
1958 ac_abs_top_srcdir=$ac_pwd ;;
1959 [\\/]* | ?:[\\/]* ) # Absolute name.
1960 ac_srcdir=$srcdir$ac_dir_suffix;
1961 ac_top_srcdir=$srcdir
1962 ac_abs_top_srcdir=$srcdir ;;
1963 *) # Relative name.
1964 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1965 ac_top_srcdir=$ac_top_build_prefix$srcdir
1966 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1967 esac
1968 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1969
1970 cd "$ac_dir" || { ac_status=$?; continue; }
1971 # Check for guested configure.
1972 if test -f "$ac_srcdir/configure.gnu"; then
1973 echo &&
1974 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1975 elif test -f "$ac_srcdir/configure"; then
1976 echo &&
1977 $SHELL "$ac_srcdir/configure" --help=recursive
1978 else
1979 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1980 fi || ac_status=$?
1981 cd "$ac_pwd" || { ac_status=$?; break; }
1982 done
1983 fi
1984
1985 test -n "$ac_init_help" && exit $ac_status
1986 if $ac_init_version; then
1987 cat <<\_ACEOF
1988 wxWidgets configure 2.9.0
1989 generated by GNU Autoconf 2.61
1990
1991 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1992 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1993 This configure script is free software; the Free Software Foundation
1994 gives unlimited permission to copy, distribute and modify it.
1995 _ACEOF
1996 exit
1997 fi
1998 cat >config.log <<_ACEOF
1999 This file contains any messages produced by compilers while
2000 running configure, to aid debugging if configure makes a mistake.
2001
2002 It was created by wxWidgets $as_me 2.9.0, which was
2003 generated by GNU Autoconf 2.61. Invocation command line was
2004
2005 $ $0 $@
2006
2007 _ACEOF
2008 exec 5>>config.log
2009 {
2010 cat <<_ASUNAME
2011 ## --------- ##
2012 ## Platform. ##
2013 ## --------- ##
2014
2015 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2016 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2017 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2018 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2019 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2020
2021 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2022 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2023
2024 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2025 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2026 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2027 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2028 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2029 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2030 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2031
2032 _ASUNAME
2033
2034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2035 for as_dir in $PATH
2036 do
2037 IFS=$as_save_IFS
2038 test -z "$as_dir" && as_dir=.
2039 echo "PATH: $as_dir"
2040 done
2041 IFS=$as_save_IFS
2042
2043 } >&5
2044
2045 cat >&5 <<_ACEOF
2046
2047
2048 ## ----------- ##
2049 ## Core tests. ##
2050 ## ----------- ##
2051
2052 _ACEOF
2053
2054
2055 # Keep a trace of the command line.
2056 # Strip out --no-create and --no-recursion so they do not pile up.
2057 # Strip out --silent because we don't want to record it for future runs.
2058 # Also quote any args containing shell meta-characters.
2059 # Make two passes to allow for proper duplicate-argument suppression.
2060 ac_configure_args=
2061 ac_configure_args0=
2062 ac_configure_args1=
2063 ac_must_keep_next=false
2064 for ac_pass in 1 2
2065 do
2066 for ac_arg
2067 do
2068 case $ac_arg in
2069 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071 | -silent | --silent | --silen | --sile | --sil)
2072 continue ;;
2073 *\'*)
2074 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2075 esac
2076 case $ac_pass in
2077 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2078 2)
2079 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2080 if test $ac_must_keep_next = true; then
2081 ac_must_keep_next=false # Got value, back to normal.
2082 else
2083 case $ac_arg in
2084 *=* | --config-cache | -C | -disable-* | --disable-* \
2085 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2086 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2087 | -with-* | --with-* | -without-* | --without-* | --x)
2088 case "$ac_configure_args0 " in
2089 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2090 esac
2091 ;;
2092 -* ) ac_must_keep_next=true ;;
2093 esac
2094 fi
2095 ac_configure_args="$ac_configure_args '$ac_arg'"
2096 ;;
2097 esac
2098 done
2099 done
2100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2102
2103 # When interrupted or exit'd, cleanup temporary files, and complete
2104 # config.log. We remove comments because anyway the quotes in there
2105 # would cause problems or look ugly.
2106 # WARNING: Use '\'' to represent an apostrophe within the trap.
2107 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2108 trap 'exit_status=$?
2109 # Save into config.log some information that might help in debugging.
2110 {
2111 echo
2112
2113 cat <<\_ASBOX
2114 ## ---------------- ##
2115 ## Cache variables. ##
2116 ## ---------------- ##
2117 _ASBOX
2118 echo
2119 # The following way of writing the cache mishandles newlines in values,
2120 (
2121 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2122 eval ac_val=\$$ac_var
2123 case $ac_val in #(
2124 *${as_nl}*)
2125 case $ac_var in #(
2126 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2127 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2128 esac
2129 case $ac_var in #(
2130 _ | IFS | as_nl) ;; #(
2131 *) $as_unset $ac_var ;;
2132 esac ;;
2133 esac
2134 done
2135 (set) 2>&1 |
2136 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2137 *${as_nl}ac_space=\ *)
2138 sed -n \
2139 "s/'\''/'\''\\\\'\'''\''/g;
2140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2141 ;; #(
2142 *)
2143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2144 ;;
2145 esac |
2146 sort
2147 )
2148 echo
2149
2150 cat <<\_ASBOX
2151 ## ----------------- ##
2152 ## Output variables. ##
2153 ## ----------------- ##
2154 _ASBOX
2155 echo
2156 for ac_var in $ac_subst_vars
2157 do
2158 eval ac_val=\$$ac_var
2159 case $ac_val in
2160 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2161 esac
2162 echo "$ac_var='\''$ac_val'\''"
2163 done | sort
2164 echo
2165
2166 if test -n "$ac_subst_files"; then
2167 cat <<\_ASBOX
2168 ## ------------------- ##
2169 ## File substitutions. ##
2170 ## ------------------- ##
2171 _ASBOX
2172 echo
2173 for ac_var in $ac_subst_files
2174 do
2175 eval ac_val=\$$ac_var
2176 case $ac_val in
2177 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2178 esac
2179 echo "$ac_var='\''$ac_val'\''"
2180 done | sort
2181 echo
2182 fi
2183
2184 if test -s confdefs.h; then
2185 cat <<\_ASBOX
2186 ## ----------- ##
2187 ## confdefs.h. ##
2188 ## ----------- ##
2189 _ASBOX
2190 echo
2191 cat confdefs.h
2192 echo
2193 fi
2194 test "$ac_signal" != 0 &&
2195 echo "$as_me: caught signal $ac_signal"
2196 echo "$as_me: exit $exit_status"
2197 } >&5
2198 rm -f core *.core core.conftest.* &&
2199 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2200 exit $exit_status
2201 ' 0
2202 for ac_signal in 1 2 13 15; do
2203 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2204 done
2205 ac_signal=0
2206
2207 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2208 rm -f -r conftest* confdefs.h
2209
2210 # Predefined preprocessor variables.
2211
2212 cat >>confdefs.h <<_ACEOF
2213 #define PACKAGE_NAME "$PACKAGE_NAME"
2214 _ACEOF
2215
2216
2217 cat >>confdefs.h <<_ACEOF
2218 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2219 _ACEOF
2220
2221
2222 cat >>confdefs.h <<_ACEOF
2223 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2224 _ACEOF
2225
2226
2227 cat >>confdefs.h <<_ACEOF
2228 #define PACKAGE_STRING "$PACKAGE_STRING"
2229 _ACEOF
2230
2231
2232 cat >>confdefs.h <<_ACEOF
2233 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2234 _ACEOF
2235
2236
2237 # Let the site file select an alternate cache file if it wants to.
2238 # Prefer explicitly selected file to automatically selected ones.
2239 if test -n "$CONFIG_SITE"; then
2240 set x "$CONFIG_SITE"
2241 elif test "x$prefix" != xNONE; then
2242 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2243 else
2244 set x "$ac_default_prefix/share/config.site" \
2245 "$ac_default_prefix/etc/config.site"
2246 fi
2247 shift
2248 for ac_site_file
2249 do
2250 if test -r "$ac_site_file"; then
2251 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2252 echo "$as_me: loading site script $ac_site_file" >&6;}
2253 sed 's/^/| /' "$ac_site_file" >&5
2254 . "$ac_site_file"
2255 fi
2256 done
2257
2258 if test -r "$cache_file"; then
2259 # Some versions of bash will fail to source /dev/null (special
2260 # files actually), so we avoid doing that.
2261 if test -f "$cache_file"; then
2262 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2263 echo "$as_me: loading cache $cache_file" >&6;}
2264 case $cache_file in
2265 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2266 *) . "./$cache_file";;
2267 esac
2268 fi
2269 else
2270 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2271 echo "$as_me: creating cache $cache_file" >&6;}
2272 >$cache_file
2273 fi
2274
2275 # Check that the precious variables saved in the cache have kept the same
2276 # value.
2277 ac_cache_corrupted=false
2278 for ac_var in $ac_precious_vars; do
2279 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2280 eval ac_new_set=\$ac_env_${ac_var}_set
2281 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2282 eval ac_new_val=\$ac_env_${ac_var}_value
2283 case $ac_old_set,$ac_new_set in
2284 set,)
2285 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2286 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2287 ac_cache_corrupted=: ;;
2288 ,set)
2289 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2290 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2291 ac_cache_corrupted=: ;;
2292 ,);;
2293 *)
2294 if test "x$ac_old_val" != "x$ac_new_val"; then
2295 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2296 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2297 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2298 echo "$as_me: former value: $ac_old_val" >&2;}
2299 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2300 echo "$as_me: current value: $ac_new_val" >&2;}
2301 ac_cache_corrupted=:
2302 fi;;
2303 esac
2304 # Pass precious variables to config.status.
2305 if test "$ac_new_set" = set; then
2306 case $ac_new_val in
2307 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2308 *) ac_arg=$ac_var=$ac_new_val ;;
2309 esac
2310 case " $ac_configure_args " in
2311 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2312 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2313 esac
2314 fi
2315 done
2316 if $ac_cache_corrupted; then
2317 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2318 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2319 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2320 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2321 { (exit 1); exit 1; }; }
2322 fi
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348 ac_ext=c
2349 ac_cpp='$CPP $CPPFLAGS'
2350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2353
2354
2355
2356
2357
2358 ac_aux_dir=
2359 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2360 if test -f "$ac_dir/install-sh"; then
2361 ac_aux_dir=$ac_dir
2362 ac_install_sh="$ac_aux_dir/install-sh -c"
2363 break
2364 elif test -f "$ac_dir/install.sh"; then
2365 ac_aux_dir=$ac_dir
2366 ac_install_sh="$ac_aux_dir/install.sh -c"
2367 break
2368 elif test -f "$ac_dir/shtool"; then
2369 ac_aux_dir=$ac_dir
2370 ac_install_sh="$ac_aux_dir/shtool install -c"
2371 break
2372 fi
2373 done
2374 if test -z "$ac_aux_dir"; then
2375 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2376 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2377 { (exit 1); exit 1; }; }
2378 fi
2379
2380 # These three variables are undocumented and unsupported,
2381 # and are intended to be withdrawn in a future Autoconf release.
2382 # They can cause serious problems if a builder's source tree is in a directory
2383 # whose full name contains unusual characters.
2384 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2385 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2386 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2387
2388
2389 # Make sure we can run config.sub.
2390 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2391 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2392 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2393 { (exit 1); exit 1; }; }
2394
2395 { echo "$as_me:$LINENO: checking build system type" >&5
2396 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2397 if test "${ac_cv_build+set}" = set; then
2398 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 else
2400 ac_build_alias=$build_alias
2401 test "x$ac_build_alias" = x &&
2402 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2403 test "x$ac_build_alias" = x &&
2404 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2405 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2406 { (exit 1); exit 1; }; }
2407 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2408 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2409 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2410 { (exit 1); exit 1; }; }
2411
2412 fi
2413 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2414 echo "${ECHO_T}$ac_cv_build" >&6; }
2415 case $ac_cv_build in
2416 *-*-*) ;;
2417 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2418 echo "$as_me: error: invalid value of canonical build" >&2;}
2419 { (exit 1); exit 1; }; };;
2420 esac
2421 build=$ac_cv_build
2422 ac_save_IFS=$IFS; IFS='-'
2423 set x $ac_cv_build
2424 shift
2425 build_cpu=$1
2426 build_vendor=$2
2427 shift; shift
2428 # Remember, the first character of IFS is used to create $*,
2429 # except with old shells:
2430 build_os=$*
2431 IFS=$ac_save_IFS
2432 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2433
2434
2435 { echo "$as_me:$LINENO: checking host system type" >&5
2436 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2437 if test "${ac_cv_host+set}" = set; then
2438 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 else
2440 if test "x$host_alias" = x; then
2441 ac_cv_host=$ac_cv_build
2442 else
2443 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2444 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2445 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2446 { (exit 1); exit 1; }; }
2447 fi
2448
2449 fi
2450 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2451 echo "${ECHO_T}$ac_cv_host" >&6; }
2452 case $ac_cv_host in
2453 *-*-*) ;;
2454 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2455 echo "$as_me: error: invalid value of canonical host" >&2;}
2456 { (exit 1); exit 1; }; };;
2457 esac
2458 host=$ac_cv_host
2459 ac_save_IFS=$IFS; IFS='-'
2460 set x $ac_cv_host
2461 shift
2462 host_cpu=$1
2463 host_vendor=$2
2464 shift; shift
2465 # Remember, the first character of IFS is used to create $*,
2466 # except with old shells:
2467 host_os=$*
2468 IFS=$ac_save_IFS
2469 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2470
2471
2472 { echo "$as_me:$LINENO: checking target system type" >&5
2473 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2474 if test "${ac_cv_target+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2476 else
2477 if test "x$target_alias" = x; then
2478 ac_cv_target=$ac_cv_host
2479 else
2480 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2481 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2482 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2483 { (exit 1); exit 1; }; }
2484 fi
2485
2486 fi
2487 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2488 echo "${ECHO_T}$ac_cv_target" >&6; }
2489 case $ac_cv_target in
2490 *-*-*) ;;
2491 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2492 echo "$as_me: error: invalid value of canonical target" >&2;}
2493 { (exit 1); exit 1; }; };;
2494 esac
2495 target=$ac_cv_target
2496 ac_save_IFS=$IFS; IFS='-'
2497 set x $ac_cv_target
2498 shift
2499 target_cpu=$1
2500 target_vendor=$2
2501 shift; shift
2502 # Remember, the first character of IFS is used to create $*,
2503 # except with old shells:
2504 target_os=$*
2505 IFS=$ac_save_IFS
2506 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2507
2508
2509 # The aliases save the names the user supplied, while $host etc.
2510 # will get canonicalized.
2511 test -n "$target_alias" &&
2512 test "$program_prefix$program_suffix$program_transform_name" = \
2513 NONENONEs,x,x, &&
2514 program_prefix=${target_alias}-
2515
2516
2517
2518 wx_major_version_number=2
2519 wx_minor_version_number=9
2520 wx_release_number=0
2521 wx_subrelease_number=0
2522
2523 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2524 WX_VERSION=$WX_RELEASE.$wx_release_number
2525 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2526
2527 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2528
2529
2530 wx_top_builddir="`pwd`"
2531
2532
2533
2534
2535 USE_UNIX=1
2536 USE_OS2=0
2537 USE_WIN32=0
2538 USE_DOS=0
2539 USE_BEOS=0
2540 USE_MAC=0
2541
2542 USE_AIX=
2543 USE_BSD= USE_DARWIN= USE_FREEBSD=
2544 USE_GNU= USE_HPUX=
2545 USE_LINUX=
2546 USE_NETBSD=
2547 USE_OPENBSD=
2548 USE_OSF= USE_SGI=
2549 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2550 USE_ULTRIX=
2551 USE_UNIXWARE=
2552
2553 USE_ALPHA=
2554
2555 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2556
2557 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2558
2559 DEFAULT_wxUSE_COCOA=0
2560 DEFAULT_wxUSE_GTK=0
2561 DEFAULT_wxUSE_MAC=0
2562 DEFAULT_wxUSE_MGL=0
2563 DEFAULT_wxUSE_MICROWIN=0
2564 DEFAULT_wxUSE_MOTIF=0
2565 DEFAULT_wxUSE_MSW=0
2566 DEFAULT_wxUSE_PM=0
2567 DEFAULT_wxUSE_X11=0
2568 DEFAULT_wxUSE_DFB=0
2569
2570 DEFAULT_DEFAULT_wxUSE_COCOA=0
2571 DEFAULT_DEFAULT_wxUSE_GTK=0
2572 DEFAULT_DEFAULT_wxUSE_MAC=0
2573 DEFAULT_DEFAULT_wxUSE_MGL=0
2574 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2575 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2576 DEFAULT_DEFAULT_wxUSE_MSW=0
2577 DEFAULT_DEFAULT_wxUSE_PM=0
2578 DEFAULT_DEFAULT_wxUSE_X11=0
2579 DEFAULT_DEFAULT_wxUSE_DFB=0
2580
2581 PROGRAM_EXT=
2582 SO_SUFFIX=so
2583 SAMPLES_RPATH_FLAG=
2584 SAMPLES_RPATH_POSTLINK=
2585
2586 DEFAULT_STD_FLAG=yes
2587
2588 case "${host}" in
2589 *-hp-hpux* )
2590 USE_HPUX=1
2591 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2592 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2593 SO_SUFFIX=sl
2594 cat >>confdefs.h <<\_ACEOF
2595 #define __HPUX__ 1
2596 _ACEOF
2597
2598
2599 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2600 ;;
2601 *-*-linux* )
2602 USE_LINUX=1
2603 cat >>confdefs.h <<\_ACEOF
2604 #define __LINUX__ 1
2605 _ACEOF
2606
2607 TMP=`uname -m`
2608 if test "x$TMP" = "xalpha"; then
2609 USE_ALPHA=1
2610 cat >>confdefs.h <<\_ACEOF
2611 #define __ALPHA__ 1
2612 _ACEOF
2613
2614 fi
2615 DEFAULT_DEFAULT_wxUSE_GTK=1
2616 ;;
2617 *-*-gnu* | *-*-k*bsd*-gnu )
2618 USE_GNU=1
2619 TMP=`uname -m`
2620 if test "x$TMP" = "xalpha"; then
2621 USE_ALPHA=1
2622 cat >>confdefs.h <<\_ACEOF
2623 #define __ALPHA__ 1
2624 _ACEOF
2625
2626 fi
2627 DEFAULT_DEFAULT_wxUSE_GTK=1
2628 ;;
2629 *-*-irix5* | *-*-irix6* )
2630 USE_SGI=1
2631 USE_SVR4=1
2632 cat >>confdefs.h <<\_ACEOF
2633 #define __SGI__ 1
2634 _ACEOF
2635
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __SVR4__ 1
2638 _ACEOF
2639
2640 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2641 ;;
2642 *-*-solaris2* )
2643 USE_SUN=1
2644 USE_SOLARIS=1
2645 USE_SVR4=1
2646 cat >>confdefs.h <<\_ACEOF
2647 #define __SUN__ 1
2648 _ACEOF
2649
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __SOLARIS__ 1
2652 _ACEOF
2653
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SVR4__ 1
2656 _ACEOF
2657
2658 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2659 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2660 ;;
2661 *-*-sunos4* )
2662 USE_SUN=1
2663 USE_SUNOS=1
2664 USE_BSD=1
2665 cat >>confdefs.h <<\_ACEOF
2666 #define __SUN__ 1
2667 _ACEOF
2668
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __SUNOS__ 1
2671 _ACEOF
2672
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __BSD__ 1
2675 _ACEOF
2676
2677 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2678 ;;
2679 *-*-freebsd*)
2680 USE_BSD=1
2681 USE_FREEBSD=1
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __FREEBSD__ 1
2684 _ACEOF
2685
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __BSD__ 1
2688 _ACEOF
2689
2690 DEFAULT_DEFAULT_wxUSE_GTK=1
2691 ;;
2692 *-*-openbsd*|*-*-mirbsd*)
2693 USE_BSD=1
2694 USE_OPENBSD=1
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __OPENBSD__ 1
2697 _ACEOF
2698
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __BSD__ 1
2701 _ACEOF
2702
2703 DEFAULT_DEFAULT_wxUSE_GTK=1
2704 ;;
2705 *-*-netbsd*)
2706 USE_BSD=1
2707 USE_NETBSD=1
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __NETBSD__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __BSD__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_GTK=1
2717 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2718
2719 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2720 ;;
2721 *-*-osf* )
2722 USE_ALPHA=1
2723 USE_OSF=1
2724 cat >>confdefs.h <<\_ACEOF
2725 #define __ALPHA__ 1
2726 _ACEOF
2727
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __OSF__ 1
2730 _ACEOF
2731
2732 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2733 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2734 ;;
2735 *-*-dgux5* )
2736 USE_ALPHA=1
2737 USE_SVR4=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __ALPHA__ 1
2740 _ACEOF
2741
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __SVR4__ 1
2744 _ACEOF
2745
2746 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2747 ;;
2748 *-*-sysv5* )
2749 USE_SYSV=1
2750 USE_SVR4=1
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __SYSV__ 1
2753 _ACEOF
2754
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __SVR4__ 1
2757 _ACEOF
2758
2759 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2760 ;;
2761 *-*-aix* )
2762 USE_AIX=1
2763 USE_SYSV=1
2764 USE_SVR4=1
2765 SO_SUFFIX=a
2766 cat >>confdefs.h <<\_ACEOF
2767 #define __AIX__ 1
2768 _ACEOF
2769
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __SYSV__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SVR4__ 1
2776 _ACEOF
2777
2778 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2779 ;;
2780
2781 *-*-*UnixWare*)
2782 USE_SYSV=1
2783 USE_SVR4=1
2784 USE_UNIXWARE=1
2785 cat >>confdefs.h <<\_ACEOF
2786 #define __UNIXWARE__ 1
2787 _ACEOF
2788
2789 ;;
2790
2791 *-*-cygwin* | *-*-mingw32* )
2792 SO_SUFFIX=dll
2793 PROGRAM_EXT=".exe"
2794 DEFAULT_DEFAULT_wxUSE_MSW=1
2795 ;;
2796
2797 *-pc-msdosdjgpp )
2798 USE_UNIX=0
2799 USE_DOS=1
2800 cat >>confdefs.h <<\_ACEOF
2801 #define __DOS__ 1
2802 _ACEOF
2803
2804 PROGRAM_EXT=".exe"
2805 DEFAULT_DEFAULT_wxUSE_MGL=1
2806 ;;
2807
2808 *-pc-os2_emx | *-pc-os2-emx )
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __EMX__ 1
2811 _ACEOF
2812
2813 USE_OS2=1
2814 cat >>confdefs.h <<\_ACEOF
2815 #define __OS2__ 1
2816 _ACEOF
2817
2818 PROGRAM_EXT=".exe"
2819 DEFAULT_DEFAULT_wxUSE_PM=1
2820 CXX=gcc
2821 LDFLAGS="$LDFLAGS -Zcrtdll"
2822 ac_executable_extensions=".exe"
2823 export ac_executable_extensions
2824 ac_save_IFS="$IFS"
2825 IFS='\\'
2826 ac_TEMP_PATH=
2827 for ac_dir in $PATH; do
2828 IFS=$ac_save_IFS
2829 if test -z "$ac_TEMP_PATH"; then
2830 ac_TEMP_PATH="$ac_dir"
2831 else
2832 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2833 fi
2834 done
2835 export PATH="$ac_TEMP_PATH"
2836 unset ac_TEMP_PATH
2837 DEFAULT_STD_FLAG=no
2838 ;;
2839
2840 *-*-darwin* )
2841 USE_BSD=1
2842 USE_DARWIN=1
2843 SO_SUFFIX=dylib
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __BSD__ 1
2846 _ACEOF
2847
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __DARWIN__ 1
2850 _ACEOF
2851
2852 cat >>confdefs.h <<\_ACEOF
2853 #define TARGET_CARBON 1
2854 _ACEOF
2855
2856 DEFAULT_DEFAULT_wxUSE_MAC=1
2857 DEFAULT_STD_FLAG=no
2858 ;;
2859 powerpc-apple-macos* )
2860 USE_UNIX=0
2861 ac_cv_c_bigendian=yes
2862 SO_SUFFIX=shlib
2863 DEFAULT_DEFAULT_wxUSE_MAC=1
2864 DEFAULT_STD_FLAG=no
2865 ;;
2866
2867 *-*-beos* )
2868 USE_BEOS=1
2869 cat >>confdefs.h <<\_ACEOF
2870 #define __BEOS__ 1
2871 _ACEOF
2872
2873 ;;
2874
2875 *)
2876 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2877 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2878 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2879 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2880
2881 DEFAULT_DEFAULT_wxUSE_X11=1
2882 DEFAULT_wxUSE_SHARED=no
2883 esac
2884
2885
2886
2887
2888 wx_arg_cache_file="configarg.cache"
2889 echo "loading argument cache $wx_arg_cache_file"
2890 rm -f ${wx_arg_cache_file}.tmp
2891 touch ${wx_arg_cache_file}.tmp
2892 touch ${wx_arg_cache_file}
2893
2894
2895 DEBUG_CONFIGURE=0
2896 if test $DEBUG_CONFIGURE = 1; then
2897 DEFAULT_wxUSE_UNIVERSAL=no
2898 DEFAULT_wxUSE_STL=no
2899
2900 DEFAULT_wxUSE_NANOX=no
2901
2902 DEFAULT_wxUSE_THREADS=yes
2903
2904 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2905 DEFAULT_wxUSE_OPTIMISE=no
2906 DEFAULT_wxUSE_PROFILE=no
2907 DEFAULT_wxUSE_NO_DEPS=no
2908 DEFAULT_wxUSE_VARARG_MACROS=no
2909 DEFAULT_wxUSE_NO_RTTI=no
2910 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2911 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2912 DEFAULT_wxUSE_RPATH=yes
2913 DEFAULT_wxUSE_PERMISSIVE=no
2914 DEFAULT_wxUSE_DEBUG_FLAG=yes
2915 DEFAULT_wxUSE_DEBUG_INFO=yes
2916 DEFAULT_wxUSE_DEBUG_GDB=yes
2917 DEFAULT_wxUSE_MEM_TRACING=no
2918 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2919 DEFAULT_wxUSE_DMALLOC=no
2920 DEFAULT_wxUSE_APPLE_IEEE=no
2921
2922 DEFAULT_wxUSE_EXCEPTIONS=no
2923 DEFAULT_wxUSE_LOG=yes
2924 DEFAULT_wxUSE_LOGWINDOW=no
2925 DEFAULT_wxUSE_LOGGUI=no
2926 DEFAULT_wxUSE_LOGDIALOG=no
2927
2928 DEFAULT_wxUSE_GUI=yes
2929 DEFAULT_wxUSE_CONTROLS=no
2930
2931 DEFAULT_wxUSE_REGEX=no
2932 DEFAULT_wxUSE_XML=no
2933 DEFAULT_wxUSE_EXPAT=no
2934 DEFAULT_wxUSE_ZLIB=no
2935 DEFAULT_wxUSE_LIBPNG=no
2936 DEFAULT_wxUSE_LIBJPEG=no
2937 DEFAULT_wxUSE_LIBTIFF=no
2938 DEFAULT_wxUSE_LIBXPM=no
2939 DEFAULT_wxUSE_LIBMSPACK=no
2940 DEFAULT_wxUSE_LIBSDL=no
2941 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2942 DEFAULT_wxUSE_LIBGNOMEVFS=no
2943 DEFAULT_wxUSE_LIBHILDON=no
2944 DEFAULT_wxUSE_ODBC=no
2945 DEFAULT_wxUSE_OPENGL=no
2946
2947 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2948 DEFAULT_wxUSE_STACKWALKER=no
2949 DEFAULT_wxUSE_DEBUGREPORT=no
2950 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2951 DEFAULT_wxUSE_STD_IOSTREAM=no
2952 DEFAULT_wxUSE_STD_STRING=no
2953 DEFAULT_wxUSE_CMDLINE_PARSER=no
2954 DEFAULT_wxUSE_DATETIME=no
2955 DEFAULT_wxUSE_TIMER=no
2956 DEFAULT_wxUSE_STOPWATCH=no
2957 DEFAULT_wxUSE_FILE=no
2958 DEFAULT_wxUSE_FFILE=no
2959 DEFAULT_wxUSE_STDPATHS=no
2960 DEFAULT_wxUSE_TEXTBUFFER=no
2961 DEFAULT_wxUSE_TEXTFILE=no
2962 DEFAULT_wxUSE_SOUND=no
2963 DEFAULT_wxUSE_MEDIACTRL=no
2964 DEFAULT_wxUSE_GSTREAMER8=no
2965 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2966 DEFAULT_wxUSE_INTL=no
2967 DEFAULT_wxUSE_CONFIG=no
2968 DEFAULT_wxUSE_FONTMAP=no
2969 DEFAULT_wxUSE_STREAMS=no
2970 DEFAULT_wxUSE_SOCKETS=no
2971 DEFAULT_wxUSE_OLE=no
2972 DEFAULT_wxUSE_DATAOBJ=no
2973 DEFAULT_wxUSE_DIALUP_MANAGER=no
2974 DEFAULT_wxUSE_JOYSTICK=no
2975 DEFAULT_wxUSE_DYNLIB_CLASS=no
2976 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2977 DEFAULT_wxUSE_LONGLONG=no
2978 DEFAULT_wxUSE_GEOMETRY=no
2979
2980 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2981 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2982 DEFAULT_wxUSE_POSTSCRIPT=no
2983
2984 DEFAULT_wxUSE_CLIPBOARD=no
2985 DEFAULT_wxUSE_TOOLTIPS=no
2986 DEFAULT_wxUSE_DRAG_AND_DROP=no
2987 DEFAULT_wxUSE_DRAGIMAGE=no
2988 DEFAULT_wxUSE_SPLINES=no
2989 DEFAULT_wxUSE_MOUSEWHEEL=no
2990
2991 DEFAULT_wxUSE_MDI=no
2992 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2993 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2994 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2995
2996 DEFAULT_wxUSE_RESOURCES=no
2997 DEFAULT_wxUSE_CONSTRAINTS=no
2998 DEFAULT_wxUSE_IPC=no
2999 DEFAULT_wxUSE_HELP=no
3000 DEFAULT_wxUSE_MS_HTML_HELP=no
3001 DEFAULT_wxUSE_WXHTML_HELP=no
3002 DEFAULT_wxUSE_TREELAYOUT=no
3003 DEFAULT_wxUSE_METAFILE=no
3004 DEFAULT_wxUSE_MIMETYPE=no
3005 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3006 DEFAULT_wxUSE_PROTOCOL=no
3007 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3008 DEFAULT_wxUSE_PROTOCOL_FTP=no
3009 DEFAULT_wxUSE_PROTOCOL_FILE=no
3010 DEFAULT_wxUSE_URL=no
3011 DEFAULT_wxUSE_VARIANT=no
3012
3013 DEFAULT_wxUSE_ABOUTDLG=no
3014 DEFAULT_wxUSE_COMMONDLGS=no
3015 DEFAULT_wxUSE_CHOICEDLG=no
3016 DEFAULT_wxUSE_COLOURDLG=no
3017 DEFAULT_wxUSE_DIRDLG=no
3018 DEFAULT_wxUSE_FILEDLG=no
3019 DEFAULT_wxUSE_FINDREPLDLG=no
3020 DEFAULT_wxUSE_FONTDLG=no
3021 DEFAULT_wxUSE_MSGDLG=no
3022 DEFAULT_wxUSE_NUMBERDLG=no
3023 DEFAULT_wxUSE_TEXTDLG=no
3024 DEFAULT_wxUSE_SPLASH=no
3025 DEFAULT_wxUSE_STARTUP_TIPS=no
3026 DEFAULT_wxUSE_PROGRESSDLG=no
3027 DEFAULT_wxUSE_WIZARDDLG=no
3028
3029 DEFAULT_wxUSE_MENUS=no
3030 DEFAULT_wxUSE_MINIFRAME=no
3031 DEFAULT_wxUSE_HTML=no
3032 DEFAULT_wxUSE_RICHTEXT=no
3033 DEFAULT_wxUSE_XRC=no
3034 DEFAULT_wxUSE_AUI=no
3035 DEFAULT_wxUSE_WEBKIT=no
3036 DEFAULT_wxUSE_FILESYSTEM=no
3037 DEFAULT_wxUSE_FS_INET=no
3038 DEFAULT_wxUSE_FS_ZIP=no
3039 DEFAULT_wxUSE_FS_ARCHIVE=no
3040 DEFAULT_wxUSE_BUSYINFO=no
3041 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3042 DEFAULT_wxUSE_ZIPSTREAM=no
3043 DEFAULT_wxUSE_TARSTREAM=no
3044 DEFAULT_wxUSE_VALIDATORS=no
3045
3046 DEFAULT_wxUSE_ACCEL=no
3047 DEFAULT_wxUSE_ANIMATIONCTRL=no
3048 DEFAULT_wxUSE_BUTTON=no
3049 DEFAULT_wxUSE_BMPBUTTON=no
3050 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3051 DEFAULT_wxUSE_CALCTRL=no
3052 DEFAULT_wxUSE_CARET=no
3053 DEFAULT_wxUSE_CHECKBOX=no
3054 DEFAULT_wxUSE_CHECKLST=no
3055 DEFAULT_wxUSE_CHOICE=no
3056 DEFAULT_wxUSE_CHOICEBOOK=no
3057 DEFAULT_wxUSE_COLLPANE=no
3058 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3059 DEFAULT_wxUSE_COMBOBOX=no
3060 DEFAULT_wxUSE_COMBOCTRL=no
3061 DEFAULT_wxUSE_DATEPICKCTRL=no
3062 DEFAULT_wxUSE_DISPLAY=no
3063 DEFAULT_wxUSE_DETECT_SM=no
3064 DEFAULT_wxUSE_DIRPICKERCTRL=no
3065 DEFAULT_wxUSE_FILEPICKERCTRL=no
3066 DEFAULT_wxUSE_FONTPICKERCTRL=no
3067 DEFAULT_wxUSE_GAUGE=no
3068 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3069 DEFAULT_wxUSE_GRID=no
3070 DEFAULT_wxUSE_HYPERLINKCTRL=no
3071 DEFAULT_wxUSE_DATAVIEWCTRL=no
3072 DEFAULT_wxUSE_IMAGLIST=no
3073 DEFAULT_wxUSE_LISTBOOK=no
3074 DEFAULT_wxUSE_LISTBOX=no
3075 DEFAULT_wxUSE_LISTCTRL=no
3076 DEFAULT_wxUSE_NOTEBOOK=no
3077 DEFAULT_wxUSE_ODCOMBOBOX=no
3078 DEFAULT_wxUSE_RADIOBOX=no
3079 DEFAULT_wxUSE_RADIOBTN=no
3080 DEFAULT_wxUSE_SASH=no
3081 DEFAULT_wxUSE_SCROLLBAR=no
3082 DEFAULT_wxUSE_SEARCHCTRL=no
3083 DEFAULT_wxUSE_SLIDER=no
3084 DEFAULT_wxUSE_SPINBTN=no
3085 DEFAULT_wxUSE_SPINCTRL=no
3086 DEFAULT_wxUSE_SPLITTER=no
3087 DEFAULT_wxUSE_STATBMP=no
3088 DEFAULT_wxUSE_STATBOX=no
3089 DEFAULT_wxUSE_STATLINE=no
3090 DEFAULT_wxUSE_STATTEXT=no
3091 DEFAULT_wxUSE_STATUSBAR=yes
3092 DEFAULT_wxUSE_TAB_DIALOG=no
3093 DEFAULT_wxUSE_TEXTCTRL=no
3094 DEFAULT_wxUSE_TOGGLEBTN=no
3095 DEFAULT_wxUSE_TOOLBAR=no
3096 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3097 DEFAULT_wxUSE_TREEBOOK=no
3098 DEFAULT_wxUSE_TOOLBOOK=no
3099 DEFAULT_wxUSE_TREECTRL=no
3100 DEFAULT_wxUSE_POPUPWIN=no
3101 DEFAULT_wxUSE_TIPWINDOW=no
3102
3103 DEFAULT_wxUSE_UNICODE=no
3104 DEFAULT_wxUSE_UNICODE_MSLU=no
3105 DEFAULT_wxUSE_WCSRTOMBS=no
3106
3107 DEFAULT_wxUSE_PALETTE=no
3108 DEFAULT_wxUSE_IMAGE=no
3109 DEFAULT_wxUSE_GIF=no
3110 DEFAULT_wxUSE_PCX=no
3111 DEFAULT_wxUSE_TGA=no
3112 DEFAULT_wxUSE_PNM=no
3113 DEFAULT_wxUSE_IFF=no
3114 DEFAULT_wxUSE_XPM=no
3115 DEFAULT_wxUSE_ICO_CUR=no
3116 DEFAULT_wxUSE_ACCESSIBILITY=no
3117
3118 DEFAULT_wxUSE_MONOLITHIC=no
3119 DEFAULT_wxUSE_PLUGINS=no
3120 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3121 else
3122 DEFAULT_wxUSE_UNIVERSAL=no
3123 DEFAULT_wxUSE_STL=no
3124
3125 DEFAULT_wxUSE_NANOX=no
3126
3127 DEFAULT_wxUSE_THREADS=yes
3128
3129 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3130 DEFAULT_wxUSE_OPTIMISE=yes
3131 DEFAULT_wxUSE_PROFILE=no
3132 DEFAULT_wxUSE_NO_DEPS=no
3133 DEFAULT_wxUSE_VARARG_MACROS=yes
3134 DEFAULT_wxUSE_NO_RTTI=no
3135 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3136 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3137 DEFAULT_wxUSE_RPATH=yes
3138 DEFAULT_wxUSE_PERMISSIVE=no
3139 DEFAULT_wxUSE_DEBUG_FLAG=no
3140 DEFAULT_wxUSE_DEBUG_INFO=no
3141 DEFAULT_wxUSE_DEBUG_GDB=no
3142 DEFAULT_wxUSE_MEM_TRACING=no
3143 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3144 DEFAULT_wxUSE_DMALLOC=no
3145 DEFAULT_wxUSE_APPLE_IEEE=yes
3146
3147 DEFAULT_wxUSE_EXCEPTIONS=yes
3148 DEFAULT_wxUSE_LOG=yes
3149 DEFAULT_wxUSE_LOGWINDOW=yes
3150 DEFAULT_wxUSE_LOGGUI=yes
3151 DEFAULT_wxUSE_LOGDIALOG=yes
3152
3153 DEFAULT_wxUSE_GUI=yes
3154
3155 DEFAULT_wxUSE_REGEX=yes
3156 DEFAULT_wxUSE_XML=yes
3157 DEFAULT_wxUSE_EXPAT=yes
3158 DEFAULT_wxUSE_ZLIB=yes
3159 DEFAULT_wxUSE_LIBPNG=yes
3160 DEFAULT_wxUSE_LIBJPEG=yes
3161 DEFAULT_wxUSE_LIBTIFF=yes
3162 DEFAULT_wxUSE_LIBXPM=yes
3163 DEFAULT_wxUSE_LIBMSPACK=yes
3164 DEFAULT_wxUSE_LIBSDL=no
3165 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3166 DEFAULT_wxUSE_LIBGNOMEVFS=no
3167 DEFAULT_wxUSE_LIBHILDON=no
3168 DEFAULT_wxUSE_ODBC=no
3169 DEFAULT_wxUSE_OPENGL=no
3170
3171 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3172 DEFAULT_wxUSE_STACKWALKER=yes
3173 DEFAULT_wxUSE_DEBUGREPORT=yes
3174 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3175 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3176 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3177 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3178 DEFAULT_wxUSE_DATETIME=yes
3179 DEFAULT_wxUSE_TIMER=yes
3180 DEFAULT_wxUSE_STOPWATCH=yes
3181 DEFAULT_wxUSE_FILE=yes
3182 DEFAULT_wxUSE_FFILE=yes
3183 DEFAULT_wxUSE_STDPATHS=yes
3184 DEFAULT_wxUSE_TEXTBUFFER=yes
3185 DEFAULT_wxUSE_TEXTFILE=yes
3186 DEFAULT_wxUSE_SOUND=yes
3187 DEFAULT_wxUSE_MEDIACTRL=no
3188 DEFAULT_wxUSE_GSTREAMER8=no
3189 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3190 DEFAULT_wxUSE_INTL=yes
3191 DEFAULT_wxUSE_CONFIG=yes
3192 DEFAULT_wxUSE_FONTMAP=yes
3193 DEFAULT_wxUSE_STREAMS=yes
3194 DEFAULT_wxUSE_SOCKETS=yes
3195 DEFAULT_wxUSE_OLE=yes
3196 DEFAULT_wxUSE_DATAOBJ=yes
3197 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3198 DEFAULT_wxUSE_JOYSTICK=yes
3199 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3200 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3201 DEFAULT_wxUSE_LONGLONG=yes
3202 DEFAULT_wxUSE_GEOMETRY=yes
3203
3204 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3205 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3206 DEFAULT_wxUSE_POSTSCRIPT=yes
3207
3208 DEFAULT_wxUSE_CLIPBOARD=yes
3209 DEFAULT_wxUSE_TOOLTIPS=yes
3210 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3211 DEFAULT_wxUSE_DRAGIMAGE=yes
3212 DEFAULT_wxUSE_SPLINES=yes
3213 DEFAULT_wxUSE_MOUSEWHEEL=yes
3214
3215 DEFAULT_wxUSE_MDI=yes
3216 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3217 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3218 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3219
3220 DEFAULT_wxUSE_RESOURCES=no
3221 DEFAULT_wxUSE_CONSTRAINTS=yes
3222 DEFAULT_wxUSE_IPC=yes
3223 DEFAULT_wxUSE_HELP=yes
3224 DEFAULT_wxUSE_MS_HTML_HELP=yes
3225 DEFAULT_wxUSE_WXHTML_HELP=yes
3226 DEFAULT_wxUSE_TREELAYOUT=yes
3227 DEFAULT_wxUSE_METAFILE=yes
3228 DEFAULT_wxUSE_MIMETYPE=yes
3229 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3230 DEFAULT_wxUSE_PROTOCOL=yes
3231 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3232 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3233 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3234 DEFAULT_wxUSE_URL=yes
3235 DEFAULT_wxUSE_VARIANT=yes
3236
3237 DEFAULT_wxUSE_ABOUTDLG=yes
3238 DEFAULT_wxUSE_COMMONDLGS=yes
3239 DEFAULT_wxUSE_CHOICEDLG=yes
3240 DEFAULT_wxUSE_COLOURDLG=yes
3241 DEFAULT_wxUSE_DIRDLG=yes
3242 DEFAULT_wxUSE_FILEDLG=yes
3243 DEFAULT_wxUSE_FINDREPLDLG=yes
3244 DEFAULT_wxUSE_FONTDLG=yes
3245 DEFAULT_wxUSE_MSGDLG=yes
3246 DEFAULT_wxUSE_NUMBERDLG=yes
3247 DEFAULT_wxUSE_TEXTDLG=yes
3248 DEFAULT_wxUSE_SPLASH=yes
3249 DEFAULT_wxUSE_STARTUP_TIPS=yes
3250 DEFAULT_wxUSE_PROGRESSDLG=yes
3251 DEFAULT_wxUSE_WIZARDDLG=yes
3252
3253 DEFAULT_wxUSE_MENUS=yes
3254 DEFAULT_wxUSE_MINIFRAME=yes
3255 DEFAULT_wxUSE_HTML=yes
3256 DEFAULT_wxUSE_RICHTEXT=yes
3257 DEFAULT_wxUSE_XRC=yes
3258 DEFAULT_wxUSE_AUI=yes
3259 DEFAULT_wxUSE_WEBKIT=yes
3260 DEFAULT_wxUSE_FILESYSTEM=yes
3261 DEFAULT_wxUSE_FS_INET=yes
3262 DEFAULT_wxUSE_FS_ZIP=yes
3263 DEFAULT_wxUSE_FS_ARCHIVE=yes
3264 DEFAULT_wxUSE_BUSYINFO=yes
3265 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3266 DEFAULT_wxUSE_ZIPSTREAM=yes
3267 DEFAULT_wxUSE_TARSTREAM=yes
3268 DEFAULT_wxUSE_VALIDATORS=yes
3269
3270 DEFAULT_wxUSE_ACCEL=yes
3271 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3272 DEFAULT_wxUSE_BUTTON=yes
3273 DEFAULT_wxUSE_BMPBUTTON=yes
3274 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3275 DEFAULT_wxUSE_CALCTRL=yes
3276 DEFAULT_wxUSE_CARET=yes
3277 DEFAULT_wxUSE_CHECKBOX=yes
3278 DEFAULT_wxUSE_CHECKLST=yes
3279 DEFAULT_wxUSE_CHOICE=yes
3280 DEFAULT_wxUSE_CHOICEBOOK=yes
3281 DEFAULT_wxUSE_COLLPANE=yes
3282 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3283 DEFAULT_wxUSE_COMBOBOX=yes
3284 DEFAULT_wxUSE_COMBOCTRL=yes
3285 DEFAULT_wxUSE_DATEPICKCTRL=yes
3286 DEFAULT_wxUSE_DISPLAY=yes
3287 DEFAULT_wxUSE_DETECT_SM=yes
3288 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3289 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3290 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3291 DEFAULT_wxUSE_GAUGE=yes
3292 DEFAULT_wxUSE_GRID=yes
3293 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3294 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3295 DEFAULT_wxUSE_DATAVIEWCTRL=no
3296 DEFAULT_wxUSE_IMAGLIST=yes
3297 DEFAULT_wxUSE_LISTBOOK=yes
3298 DEFAULT_wxUSE_LISTBOX=yes
3299 DEFAULT_wxUSE_LISTCTRL=yes
3300 DEFAULT_wxUSE_NOTEBOOK=yes
3301 DEFAULT_wxUSE_ODCOMBOBOX=yes
3302 DEFAULT_wxUSE_RADIOBOX=yes
3303 DEFAULT_wxUSE_RADIOBTN=yes
3304 DEFAULT_wxUSE_SASH=yes
3305 DEFAULT_wxUSE_SCROLLBAR=yes
3306 DEFAULT_wxUSE_SEARCHCTRL=yes
3307 DEFAULT_wxUSE_SLIDER=yes
3308 DEFAULT_wxUSE_SPINBTN=yes
3309 DEFAULT_wxUSE_SPINCTRL=yes
3310 DEFAULT_wxUSE_SPLITTER=yes
3311 DEFAULT_wxUSE_STATBMP=yes
3312 DEFAULT_wxUSE_STATBOX=yes
3313 DEFAULT_wxUSE_STATLINE=yes
3314 DEFAULT_wxUSE_STATTEXT=yes
3315 DEFAULT_wxUSE_STATUSBAR=yes
3316 DEFAULT_wxUSE_TAB_DIALOG=no
3317 DEFAULT_wxUSE_TEXTCTRL=yes
3318 DEFAULT_wxUSE_TOGGLEBTN=yes
3319 DEFAULT_wxUSE_TOOLBAR=yes
3320 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3321 DEFAULT_wxUSE_TREEBOOK=yes
3322 DEFAULT_wxUSE_TOOLBOOK=yes
3323 DEFAULT_wxUSE_TREECTRL=yes
3324 DEFAULT_wxUSE_POPUPWIN=yes
3325 DEFAULT_wxUSE_TIPWINDOW=yes
3326
3327 DEFAULT_wxUSE_UNICODE=no
3328 DEFAULT_wxUSE_UNICODE_MSLU=yes
3329 DEFAULT_wxUSE_WCSRTOMBS=no
3330
3331 DEFAULT_wxUSE_PALETTE=yes
3332 DEFAULT_wxUSE_IMAGE=yes
3333 DEFAULT_wxUSE_GIF=yes
3334 DEFAULT_wxUSE_PCX=yes
3335 DEFAULT_wxUSE_TGA=yes
3336 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3337 DEFAULT_wxUSE_XPM=yes
3338 DEFAULT_wxUSE_ICO_CUR=yes
3339 DEFAULT_wxUSE_ACCESSIBILITY=no
3340
3341 DEFAULT_wxUSE_MONOLITHIC=no
3342 DEFAULT_wxUSE_PLUGINS=no
3343 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3344
3345 DEFAULT_wxUSE_GTK2=yes
3346 fi
3347
3348
3349
3350
3351 for toolkit in `echo $ALL_TOOLKITS`; do
3352 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3353 if test "x$LINE" != "x" ; then
3354 has_toolkit_in_cache=1
3355 eval "DEFAULT_$LINE"
3356 eval "CACHE_$toolkit=1"
3357
3358 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3359 if test "x$LINE" != "x" ; then
3360 eval "DEFAULT_$LINE"
3361 fi
3362 fi
3363 done
3364
3365
3366
3367 enablestring=
3368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3369 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3370 no_cache=0
3371 # Check whether --enable-gui was given.
3372 if test "${enable_gui+set}" = set; then
3373 enableval=$enable_gui;
3374 if test "$enableval" = yes; then
3375 ac_cv_use_gui='wxUSE_GUI=yes'
3376 else
3377 ac_cv_use_gui='wxUSE_GUI=no'
3378 fi
3379
3380 else
3381
3382 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3383 if test "x$LINE" != x ; then
3384 eval "DEFAULT_$LINE"
3385 else
3386 no_cache=1
3387 fi
3388
3389 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3390
3391 fi
3392
3393
3394 eval "$ac_cv_use_gui"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3397 fi
3398
3399 if test "$wxUSE_GUI" = yes; then
3400 { echo "$as_me:$LINENO: result: yes" >&5
3401 echo "${ECHO_T}yes" >&6; }
3402 else
3403 { echo "$as_me:$LINENO: result: no" >&5
3404 echo "${ECHO_T}no" >&6; }
3405 fi
3406
3407
3408 enablestring=
3409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3410 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3411 no_cache=0
3412 # Check whether --enable-monolithic was given.
3413 if test "${enable_monolithic+set}" = set; then
3414 enableval=$enable_monolithic;
3415 if test "$enableval" = yes; then
3416 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3417 else
3418 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3419 fi
3420
3421 else
3422
3423 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3424 if test "x$LINE" != x ; then
3425 eval "DEFAULT_$LINE"
3426 else
3427 no_cache=1
3428 fi
3429
3430 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3431
3432 fi
3433
3434
3435 eval "$ac_cv_use_monolithic"
3436 if test "$no_cache" != 1; then
3437 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3438 fi
3439
3440 if test "$wxUSE_MONOLITHIC" = yes; then
3441 { echo "$as_me:$LINENO: result: yes" >&5
3442 echo "${ECHO_T}yes" >&6; }
3443 else
3444 { echo "$as_me:$LINENO: result: no" >&5
3445 echo "${ECHO_T}no" >&6; }
3446 fi
3447
3448
3449 enablestring=
3450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3451 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3452 no_cache=0
3453 # Check whether --enable-plugins was given.
3454 if test "${enable_plugins+set}" = set; then
3455 enableval=$enable_plugins;
3456 if test "$enableval" = yes; then
3457 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3458 else
3459 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3460 fi
3461
3462 else
3463
3464 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3465 if test "x$LINE" != x ; then
3466 eval "DEFAULT_$LINE"
3467 else
3468 no_cache=1
3469 fi
3470
3471 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3472
3473 fi
3474
3475
3476 eval "$ac_cv_use_plugins"
3477 if test "$no_cache" != 1; then
3478 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3479 fi
3480
3481 if test "$wxUSE_PLUGINS" = yes; then
3482 { echo "$as_me:$LINENO: result: yes" >&5
3483 echo "${ECHO_T}yes" >&6; }
3484 else
3485 { echo "$as_me:$LINENO: result: no" >&5
3486 echo "${ECHO_T}no" >&6; }
3487 fi
3488
3489
3490 withstring=without
3491 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3492 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3493 no_cache=0
3494
3495 # Check whether --with-subdirs was given.
3496 if test "${with_subdirs+set}" = set; then
3497 withval=$with_subdirs;
3498 if test "$withval" = yes; then
3499 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3500 else
3501 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3502 fi
3503
3504 else
3505
3506 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3507 if test "x$LINE" != x ; then
3508 eval "DEFAULT_$LINE"
3509 else
3510 no_cache=1
3511 fi
3512
3513 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3514
3515 fi
3516
3517
3518 eval "$ac_cv_use_subdirs"
3519 if test "$no_cache" != 1; then
3520 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3521 fi
3522
3523 if test "$wxWITH_SUBDIRS" = yes; then
3524 { echo "$as_me:$LINENO: result: yes" >&5
3525 echo "${ECHO_T}yes" >&6; }
3526 else
3527 { echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6; }
3529 fi
3530
3531
3532 if test "$wxUSE_GUI" = "yes"; then
3533
3534
3535 enablestring=
3536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3537 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3538 no_cache=0
3539 # Check whether --enable-universal was given.
3540 if test "${enable_universal+set}" = set; then
3541 enableval=$enable_universal;
3542 if test "$enableval" = yes; then
3543 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3544 else
3545 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3546 fi
3547
3548 else
3549
3550 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3551 if test "x$LINE" != x ; then
3552 eval "DEFAULT_$LINE"
3553 else
3554 no_cache=1
3555 fi
3556
3557 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3558
3559 fi
3560
3561
3562 eval "$ac_cv_use_universal"
3563 if test "$no_cache" != 1; then
3564 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3565 fi
3566
3567 if test "$wxUSE_UNIVERSAL" = yes; then
3568 { echo "$as_me:$LINENO: result: yes" >&5
3569 echo "${ECHO_T}yes" >&6; }
3570 else
3571 { echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6; }
3573 fi
3574
3575
3576 # Check whether --with-gtk was given.
3577 if test "${with_gtk+set}" = set; then
3578 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3579 fi
3580
3581
3582 # Check whether --with-motif was given.
3583 if test "${with_motif+set}" = set; then
3584 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3585 fi
3586
3587
3588 # Check whether --with-mac was given.
3589 if test "${with_mac+set}" = set; then
3590 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3591 fi
3592
3593
3594 # Check whether --with-cocoa was given.
3595 if test "${with_cocoa+set}" = set; then
3596 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3597 fi
3598
3599
3600 # Check whether --with-wine was given.
3601 if test "${with_wine+set}" = set; then
3602 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3603 fi
3604
3605
3606 # Check whether --with-msw was given.
3607 if test "${with_msw+set}" = set; then
3608 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3609 fi
3610
3611
3612 # Check whether --with-pm was given.
3613 if test "${with_pm+set}" = set; then
3614 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3615 fi
3616
3617
3618 # Check whether --with-mgl was given.
3619 if test "${with_mgl+set}" = set; then
3620 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3621 fi
3622
3623
3624 # Check whether --with-directfb was given.
3625 if test "${with_directfb+set}" = set; then
3626 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3627 fi
3628
3629
3630 # Check whether --with-microwin was given.
3631 if test "${with_microwin+set}" = set; then
3632 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3633 fi
3634
3635
3636 # Check whether --with-x11 was given.
3637 if test "${with_x11+set}" = set; then
3638 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3639 fi
3640
3641
3642 enablestring=
3643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3644 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3645 no_cache=0
3646 # Check whether --enable-nanox was given.
3647 if test "${enable_nanox+set}" = set; then
3648 enableval=$enable_nanox;
3649 if test "$enableval" = yes; then
3650 ac_cv_use_nanox='wxUSE_NANOX=yes'
3651 else
3652 ac_cv_use_nanox='wxUSE_NANOX=no'
3653 fi
3654
3655 else
3656
3657 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3658 if test "x$LINE" != x ; then
3659 eval "DEFAULT_$LINE"
3660 else
3661 no_cache=1
3662 fi
3663
3664 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3665
3666 fi
3667
3668
3669 eval "$ac_cv_use_nanox"
3670 if test "$no_cache" != 1; then
3671 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3672 fi
3673
3674 if test "$wxUSE_NANOX" = yes; then
3675 { echo "$as_me:$LINENO: result: yes" >&5
3676 echo "${ECHO_T}yes" >&6; }
3677 else
3678 { echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6; }
3680 fi
3681
3682
3683 # Check whether --enable-gtk2 was given.
3684 if test "${enable_gtk2+set}" = set; then
3685 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3686 fi
3687
3688
3689 enablestring=
3690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3691 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3692 no_cache=0
3693 # Check whether --enable-gpe was given.
3694 if test "${enable_gpe+set}" = set; then
3695 enableval=$enable_gpe;
3696 if test "$enableval" = yes; then
3697 ac_cv_use_gpe='wxUSE_GPE=yes'
3698 else
3699 ac_cv_use_gpe='wxUSE_GPE=no'
3700 fi
3701
3702 else
3703
3704 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3705 if test "x$LINE" != x ; then
3706 eval "DEFAULT_$LINE"
3707 else
3708 no_cache=1
3709 fi
3710
3711 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3712
3713 fi
3714
3715
3716 eval "$ac_cv_use_gpe"
3717 if test "$no_cache" != 1; then
3718 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3719 fi
3720
3721 if test "$wxUSE_GPE" = yes; then
3722 { echo "$as_me:$LINENO: result: yes" >&5
3723 echo "${ECHO_T}yes" >&6; }
3724 else
3725 { echo "$as_me:$LINENO: result: no" >&5
3726 echo "${ECHO_T}no" >&6; }
3727 fi
3728
3729
3730
3731 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3732 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3733 no_cache=0
3734
3735 # Check whether --with-libpng was given.
3736 if test "${with_libpng+set}" = set; then
3737 withval=$with_libpng;
3738 if test "$withval" = yes; then
3739 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3740 elif test "$withval" = no; then
3741 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3742 elif test "$withval" = sys; then
3743 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3744 elif test "$withval" = builtin; then
3745 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3746 else
3747 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3748 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3749 { (exit 1); exit 1; }; }
3750 fi
3751
3752 else
3753
3754 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3755 if test "x$LINE" != x ; then
3756 eval "DEFAULT_$LINE"
3757 else
3758 no_cache=1
3759 fi
3760
3761 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3762
3763 fi
3764
3765
3766 eval "$ac_cv_use_libpng"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$wxUSE_LIBPNG" = yes; then
3772 { echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6; }
3774 elif test "$wxUSE_LIBPNG" = no; then
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3777 elif test "$wxUSE_LIBPNG" = sys; then
3778 { echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6; }
3780 elif test "$wxUSE_LIBPNG" = builtin; then
3781 { echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6; }
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3791 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3792 no_cache=0
3793
3794 # Check whether --with-libjpeg was given.
3795 if test "${with_libjpeg+set}" = set; then
3796 withval=$with_libjpeg;
3797 if test "$withval" = yes; then
3798 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3799 elif test "$withval" = no; then
3800 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3801 elif test "$withval" = sys; then
3802 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3803 elif test "$withval" = builtin; then
3804 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3805 else
3806 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3807 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3808 { (exit 1); exit 1; }; }
3809 fi
3810
3811 else
3812
3813 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3814 if test "x$LINE" != x ; then
3815 eval "DEFAULT_$LINE"
3816 else
3817 no_cache=1
3818 fi
3819
3820 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3821
3822 fi
3823
3824
3825 eval "$ac_cv_use_libjpeg"
3826 if test "$no_cache" != 1; then
3827 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3828 fi
3829
3830 if test "$wxUSE_LIBJPEG" = yes; then
3831 { echo "$as_me:$LINENO: result: yes" >&5
3832 echo "${ECHO_T}yes" >&6; }
3833 elif test "$wxUSE_LIBJPEG" = no; then
3834 { echo "$as_me:$LINENO: result: no" >&5
3835 echo "${ECHO_T}no" >&6; }
3836 elif test "$wxUSE_LIBJPEG" = sys; then
3837 { echo "$as_me:$LINENO: result: system version" >&5
3838 echo "${ECHO_T}system version" >&6; }
3839 elif test "$wxUSE_LIBJPEG" = builtin; then
3840 { echo "$as_me:$LINENO: result: builtin version" >&5
3841 echo "${ECHO_T}builtin version" >&6; }
3842 else
3843 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3844 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3845 { (exit 1); exit 1; }; }
3846 fi
3847
3848
3849 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3850 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3851 no_cache=0
3852
3853 # Check whether --with-libtiff was given.
3854 if test "${with_libtiff+set}" = set; then
3855 withval=$with_libtiff;
3856 if test "$withval" = yes; then
3857 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3858 elif test "$withval" = no; then
3859 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3860 elif test "$withval" = sys; then
3861 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3862 elif test "$withval" = builtin; then
3863 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3864 else
3865 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3866 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3867 { (exit 1); exit 1; }; }
3868 fi
3869
3870 else
3871
3872 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3873 if test "x$LINE" != x ; then
3874 eval "DEFAULT_$LINE"
3875 else
3876 no_cache=1
3877 fi
3878
3879 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3880
3881 fi
3882
3883
3884 eval "$ac_cv_use_libtiff"
3885 if test "$no_cache" != 1; then
3886 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3887 fi
3888
3889 if test "$wxUSE_LIBTIFF" = yes; then
3890 { echo "$as_me:$LINENO: result: yes" >&5
3891 echo "${ECHO_T}yes" >&6; }
3892 elif test "$wxUSE_LIBTIFF" = no; then
3893 { echo "$as_me:$LINENO: result: no" >&5
3894 echo "${ECHO_T}no" >&6; }
3895 elif test "$wxUSE_LIBTIFF" = sys; then
3896 { echo "$as_me:$LINENO: result: system version" >&5
3897 echo "${ECHO_T}system version" >&6; }
3898 elif test "$wxUSE_LIBTIFF" = builtin; then
3899 { echo "$as_me:$LINENO: result: builtin version" >&5
3900 echo "${ECHO_T}builtin version" >&6; }
3901 else
3902 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3903 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3904 { (exit 1); exit 1; }; }
3905 fi
3906
3907
3908 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3909 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3910 no_cache=0
3911
3912 # Check whether --with-libxpm was given.
3913 if test "${with_libxpm+set}" = set; then
3914 withval=$with_libxpm;
3915 if test "$withval" = yes; then
3916 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3917 elif test "$withval" = no; then
3918 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3919 elif test "$withval" = sys; then
3920 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3921 elif test "$withval" = builtin; then
3922 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3923 else
3924 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3925 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3926 { (exit 1); exit 1; }; }
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3939
3940 fi
3941
3942
3943 eval "$ac_cv_use_libxpm"
3944 if test "$no_cache" != 1; then
3945 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3946 fi
3947
3948 if test "$wxUSE_LIBXPM" = yes; then
3949 { echo "$as_me:$LINENO: result: yes" >&5
3950 echo "${ECHO_T}yes" >&6; }
3951 elif test "$wxUSE_LIBXPM" = no; then
3952 { echo "$as_me:$LINENO: result: no" >&5
3953 echo "${ECHO_T}no" >&6; }
3954 elif test "$wxUSE_LIBXPM" = sys; then
3955 { echo "$as_me:$LINENO: result: system version" >&5
3956 echo "${ECHO_T}system version" >&6; }
3957 elif test "$wxUSE_LIBXPM" = builtin; then
3958 { echo "$as_me:$LINENO: result: builtin version" >&5
3959 echo "${ECHO_T}builtin version" >&6; }
3960 else
3961 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3962 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3963 { (exit 1); exit 1; }; }
3964 fi
3965
3966
3967 withstring=
3968 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3969 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3970 no_cache=0
3971
3972 # Check whether --with-libmspack was given.
3973 if test "${with_libmspack+set}" = set; then
3974 withval=$with_libmspack;
3975 if test "$withval" = yes; then
3976 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3977 else
3978 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3979 fi
3980
3981 else
3982
3983 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3984 if test "x$LINE" != x ; then
3985 eval "DEFAULT_$LINE"
3986 else
3987 no_cache=1
3988 fi
3989
3990 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3991
3992 fi
3993
3994
3995 eval "$ac_cv_use_libmspack"
3996 if test "$no_cache" != 1; then
3997 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3998 fi
3999
4000 if test "$wxUSE_LIBMSPACK" = yes; then
4001 { echo "$as_me:$LINENO: result: yes" >&5
4002 echo "${ECHO_T}yes" >&6; }
4003 else
4004 { echo "$as_me:$LINENO: result: no" >&5
4005 echo "${ECHO_T}no" >&6; }
4006 fi
4007
4008
4009 withstring=
4010 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4011 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4012 no_cache=0
4013
4014 # Check whether --with-sdl was given.
4015 if test "${with_sdl+set}" = set; then
4016 withval=$with_sdl;
4017 if test "$withval" = yes; then
4018 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4019 else
4020 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4021 fi
4022
4023 else
4024
4025 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x ; then
4027 eval "DEFAULT_$LINE"
4028 else
4029 no_cache=1
4030 fi
4031
4032 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4033
4034 fi
4035
4036
4037 eval "$ac_cv_use_sdl"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4040 fi
4041
4042 if test "$wxUSE_LIBSDL" = yes; then
4043 { echo "$as_me:$LINENO: result: yes" >&5
4044 echo "${ECHO_T}yes" >&6; }
4045 else
4046 { echo "$as_me:$LINENO: result: no" >&5
4047 echo "${ECHO_T}no" >&6; }
4048 fi
4049
4050
4051 withstring=
4052 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4053 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4054 no_cache=0
4055
4056 # Check whether --with-gnomeprint was given.
4057 if test "${with_gnomeprint+set}" = set; then
4058 withval=$with_gnomeprint;
4059 if test "$withval" = yes; then
4060 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4061 else
4062 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4063 fi
4064
4065 else
4066
4067 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4068 if test "x$LINE" != x ; then
4069 eval "DEFAULT_$LINE"
4070 else
4071 no_cache=1
4072 fi
4073
4074 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4075
4076 fi
4077
4078
4079 eval "$ac_cv_use_gnomeprint"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4085 { echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6; }
4087 else
4088 { echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6; }
4090 fi
4091
4092
4093 withstring=
4094 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4095 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4096 no_cache=0
4097
4098 # Check whether --with-gnomevfs was given.
4099 if test "${with_gnomevfs+set}" = set; then
4100 withval=$with_gnomevfs;
4101 if test "$withval" = yes; then
4102 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4103 else
4104 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4112 else
4113 no_cache=1
4114 fi
4115
4116 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4117
4118 fi
4119
4120
4121 eval "$ac_cv_use_gnomevfs"
4122 if test "$no_cache" != 1; then
4123 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4124 fi
4125
4126 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4127 { echo "$as_me:$LINENO: result: yes" >&5
4128 echo "${ECHO_T}yes" >&6; }
4129 else
4130 { echo "$as_me:$LINENO: result: no" >&5
4131 echo "${ECHO_T}no" >&6; }
4132 fi
4133
4134
4135 withstring=
4136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4137 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4138 no_cache=0
4139
4140 # Check whether --with-hildon was given.
4141 if test "${with_hildon+set}" = set; then
4142 withval=$with_hildon;
4143 if test "$withval" = yes; then
4144 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4145 else
4146 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4147 fi
4148
4149 else
4150
4151 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4152 if test "x$LINE" != x ; then
4153 eval "DEFAULT_$LINE"
4154 else
4155 no_cache=1
4156 fi
4157
4158 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4159
4160 fi
4161
4162
4163 eval "$ac_cv_use_hildon"
4164 if test "$no_cache" != 1; then
4165 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4166 fi
4167
4168 if test "$wxUSE_LIBHILDON" = yes; then
4169 { echo "$as_me:$LINENO: result: yes" >&5
4170 echo "${ECHO_T}yes" >&6; }
4171 else
4172 { echo "$as_me:$LINENO: result: no" >&5
4173 echo "${ECHO_T}no" >&6; }
4174 fi
4175
4176
4177 withstring=
4178 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4179 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4180 no_cache=0
4181
4182 # Check whether --with-opengl was given.
4183 if test "${with_opengl+set}" = set; then
4184 withval=$with_opengl;
4185 if test "$withval" = yes; then
4186 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4187 else
4188 ac_cv_use_opengl='wxUSE_OPENGL=no'
4189 fi
4190
4191 else
4192
4193 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x ; then
4195 eval "DEFAULT_$LINE"
4196 else
4197 no_cache=1
4198 fi
4199
4200 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4201
4202 fi
4203
4204
4205 eval "$ac_cv_use_opengl"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4208 fi
4209
4210 if test "$wxUSE_OPENGL" = yes; then
4211 { echo "$as_me:$LINENO: result: yes" >&5
4212 echo "${ECHO_T}yes" >&6; }
4213 else
4214 { echo "$as_me:$LINENO: result: no" >&5
4215 echo "${ECHO_T}no" >&6; }
4216 fi
4217
4218
4219 if test "$wxUSE_UNIVERSAL" = "yes"; then
4220
4221 # Check whether --with-themes was given.
4222 if test "${with_themes+set}" = set; then
4223 withval=$with_themes; wxUNIV_THEMES="$withval"
4224 fi
4225
4226 fi
4227
4228 fi
4229
4230
4231 withstring=
4232 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4233 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4234 no_cache=0
4235
4236 # Check whether --with-dmalloc was given.
4237 if test "${with_dmalloc+set}" = set; then
4238 withval=$with_dmalloc;
4239 if test "$withval" = yes; then
4240 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4241 else
4242 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4243 fi
4244
4245 else
4246
4247 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4248 if test "x$LINE" != x ; then
4249 eval "DEFAULT_$LINE"
4250 else
4251 no_cache=1
4252 fi
4253
4254 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4255
4256 fi
4257
4258
4259 eval "$ac_cv_use_dmalloc"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4262 fi
4263
4264 if test "$wxUSE_DMALLOC" = yes; then
4265 { echo "$as_me:$LINENO: result: yes" >&5
4266 echo "${ECHO_T}yes" >&6; }
4267 else
4268 { echo "$as_me:$LINENO: result: no" >&5
4269 echo "${ECHO_T}no" >&6; }
4270 fi
4271
4272
4273 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4274 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4275 no_cache=0
4276
4277 # Check whether --with-regex was given.
4278 if test "${with_regex+set}" = set; then
4279 withval=$with_regex;
4280 if test "$withval" = yes; then
4281 ac_cv_use_regex='wxUSE_REGEX=yes'
4282 elif test "$withval" = no; then
4283 ac_cv_use_regex='wxUSE_REGEX=no'
4284 elif test "$withval" = sys; then
4285 ac_cv_use_regex='wxUSE_REGEX=sys'
4286 elif test "$withval" = builtin; then
4287 ac_cv_use_regex='wxUSE_REGEX=builtin'
4288 else
4289 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4290 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4291 { (exit 1); exit 1; }; }
4292 fi
4293
4294 else
4295
4296 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4297 if test "x$LINE" != x ; then
4298 eval "DEFAULT_$LINE"
4299 else
4300 no_cache=1
4301 fi
4302
4303 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4304
4305 fi
4306
4307
4308 eval "$ac_cv_use_regex"
4309 if test "$no_cache" != 1; then
4310 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4311 fi
4312
4313 if test "$wxUSE_REGEX" = yes; then
4314 { echo "$as_me:$LINENO: result: yes" >&5
4315 echo "${ECHO_T}yes" >&6; }
4316 elif test "$wxUSE_REGEX" = no; then
4317 { echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6; }
4319 elif test "$wxUSE_REGEX" = sys; then
4320 { echo "$as_me:$LINENO: result: system version" >&5
4321 echo "${ECHO_T}system version" >&6; }
4322 elif test "$wxUSE_REGEX" = builtin; then
4323 { echo "$as_me:$LINENO: result: builtin version" >&5
4324 echo "${ECHO_T}builtin version" >&6; }
4325 else
4326 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4327 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4328 { (exit 1); exit 1; }; }
4329 fi
4330
4331
4332 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4333 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4334 no_cache=0
4335
4336 # Check whether --with-zlib was given.
4337 if test "${with_zlib+set}" = set; then
4338 withval=$with_zlib;
4339 if test "$withval" = yes; then
4340 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4341 elif test "$withval" = no; then
4342 ac_cv_use_zlib='wxUSE_ZLIB=no'
4343 elif test "$withval" = sys; then
4344 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4345 elif test "$withval" = builtin; then
4346 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4347 else
4348 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4349 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4350 { (exit 1); exit 1; }; }
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4363
4364 fi
4365
4366
4367 eval "$ac_cv_use_zlib"
4368 if test "$no_cache" != 1; then
4369 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4370 fi
4371
4372 if test "$wxUSE_ZLIB" = yes; then
4373 { echo "$as_me:$LINENO: result: yes" >&5
4374 echo "${ECHO_T}yes" >&6; }
4375 elif test "$wxUSE_ZLIB" = no; then
4376 { echo "$as_me:$LINENO: result: no" >&5
4377 echo "${ECHO_T}no" >&6; }
4378 elif test "$wxUSE_ZLIB" = sys; then
4379 { echo "$as_me:$LINENO: result: system version" >&5
4380 echo "${ECHO_T}system version" >&6; }
4381 elif test "$wxUSE_ZLIB" = builtin; then
4382 { echo "$as_me:$LINENO: result: builtin version" >&5
4383 echo "${ECHO_T}builtin version" >&6; }
4384 else
4385 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4386 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4387 { (exit 1); exit 1; }; }
4388 fi
4389
4390
4391 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4392 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4393 no_cache=0
4394
4395 # Check whether --with-odbc was given.
4396 if test "${with_odbc+set}" = set; then
4397 withval=$with_odbc;
4398 if test "$withval" = yes; then
4399 ac_cv_use_odbc='wxUSE_ODBC=yes'
4400 elif test "$withval" = no; then
4401 ac_cv_use_odbc='wxUSE_ODBC=no'
4402 elif test "$withval" = sys; then
4403 ac_cv_use_odbc='wxUSE_ODBC=sys'
4404 elif test "$withval" = builtin; then
4405 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4406 else
4407 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4408 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4409 { (exit 1); exit 1; }; }
4410 fi
4411
4412 else
4413
4414 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4415 if test "x$LINE" != x ; then
4416 eval "DEFAULT_$LINE"
4417 else
4418 no_cache=1
4419 fi
4420
4421 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4422
4423 fi
4424
4425
4426 eval "$ac_cv_use_odbc"
4427 if test "$no_cache" != 1; then
4428 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4429 fi
4430
4431 if test "$wxUSE_ODBC" = yes; then
4432 { echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6; }
4434 elif test "$wxUSE_ODBC" = no; then
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4437 elif test "$wxUSE_ODBC" = sys; then
4438 { echo "$as_me:$LINENO: result: system version" >&5
4439 echo "${ECHO_T}system version" >&6; }
4440 elif test "$wxUSE_ODBC" = builtin; then
4441 { echo "$as_me:$LINENO: result: builtin version" >&5
4442 echo "${ECHO_T}builtin version" >&6; }
4443 else
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4447 fi
4448
4449
4450 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4451 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4452 no_cache=0
4453
4454 # Check whether --with-expat was given.
4455 if test "${with_expat+set}" = set; then
4456 withval=$with_expat;
4457 if test "$withval" = yes; then
4458 ac_cv_use_expat='wxUSE_EXPAT=yes'
4459 elif test "$withval" = no; then
4460 ac_cv_use_expat='wxUSE_EXPAT=no'
4461 elif test "$withval" = sys; then
4462 ac_cv_use_expat='wxUSE_EXPAT=sys'
4463 elif test "$withval" = builtin; then
4464 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4465 else
4466 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4467 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4468 { (exit 1); exit 1; }; }
4469 fi
4470
4471 else
4472
4473 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4474 if test "x$LINE" != x ; then
4475 eval "DEFAULT_$LINE"
4476 else
4477 no_cache=1
4478 fi
4479
4480 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4481
4482 fi
4483
4484
4485 eval "$ac_cv_use_expat"
4486 if test "$no_cache" != 1; then
4487 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4488 fi
4489
4490 if test "$wxUSE_EXPAT" = yes; then
4491 { echo "$as_me:$LINENO: result: yes" >&5
4492 echo "${ECHO_T}yes" >&6; }
4493 elif test "$wxUSE_EXPAT" = no; then
4494 { echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6; }
4496 elif test "$wxUSE_EXPAT" = sys; then
4497 { echo "$as_me:$LINENO: result: system version" >&5
4498 echo "${ECHO_T}system version" >&6; }
4499 elif test "$wxUSE_EXPAT" = builtin; then
4500 { echo "$as_me:$LINENO: result: builtin version" >&5
4501 echo "${ECHO_T}builtin version" >&6; }
4502 else
4503 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4504 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4505 { (exit 1); exit 1; }; }
4506 fi
4507
4508
4509
4510
4511 enablestring=
4512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4513 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4514 no_cache=0
4515 # Check whether --enable-shared was given.
4516 if test "${enable_shared+set}" = set; then
4517 enableval=$enable_shared;
4518 if test "$enableval" = yes; then
4519 ac_cv_use_shared='wxUSE_SHARED=yes'
4520 else
4521 ac_cv_use_shared='wxUSE_SHARED=no'
4522 fi
4523
4524 else
4525
4526 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4527 if test "x$LINE" != x ; then
4528 eval "DEFAULT_$LINE"
4529 else
4530 no_cache=1
4531 fi
4532
4533 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4534
4535 fi
4536
4537
4538 eval "$ac_cv_use_shared"
4539 if test "$no_cache" != 1; then
4540 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4541 fi
4542
4543 if test "$wxUSE_SHARED" = yes; then
4544 { echo "$as_me:$LINENO: result: yes" >&5
4545 echo "${ECHO_T}yes" >&6; }
4546 else
4547 { echo "$as_me:$LINENO: result: no" >&5
4548 echo "${ECHO_T}no" >&6; }
4549 fi
4550
4551
4552 enablestring=
4553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4554 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4555 no_cache=0
4556 # Check whether --enable-optimise was given.
4557 if test "${enable_optimise+set}" = set; then
4558 enableval=$enable_optimise;
4559 if test "$enableval" = yes; then
4560 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4561 else
4562 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4563 fi
4564
4565 else
4566
4567 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x ; then
4569 eval "DEFAULT_$LINE"
4570 else
4571 no_cache=1
4572 fi
4573
4574 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4575
4576 fi
4577
4578
4579 eval "$ac_cv_use_optimise"
4580 if test "$no_cache" != 1; then
4581 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4582 fi
4583
4584 if test "$wxUSE_OPTIMISE" = yes; then
4585 { echo "$as_me:$LINENO: result: yes" >&5
4586 echo "${ECHO_T}yes" >&6; }
4587 else
4588 { echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6; }
4590 fi
4591
4592
4593 enablestring=
4594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4595 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4596 no_cache=0
4597 # Check whether --enable-debug was given.
4598 if test "${enable_debug+set}" = set; then
4599 enableval=$enable_debug;
4600 if test "$enableval" = yes; then
4601 ac_cv_use_debug='wxUSE_DEBUG=yes'
4602 else
4603 ac_cv_use_debug='wxUSE_DEBUG=no'
4604 fi
4605
4606 else
4607
4608 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x ; then
4610 eval "DEFAULT_$LINE"
4611 else
4612 no_cache=1
4613 fi
4614
4615 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4616
4617 fi
4618
4619
4620 eval "$ac_cv_use_debug"
4621 if test "$no_cache" != 1; then
4622 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4623 fi
4624
4625 if test "$wxUSE_DEBUG" = yes; then
4626 { echo "$as_me:$LINENO: result: yes" >&5
4627 echo "${ECHO_T}yes" >&6; }
4628 else
4629 { echo "$as_me:$LINENO: result: no" >&5
4630 echo "${ECHO_T}no" >&6; }
4631 fi
4632
4633
4634 enablestring=
4635 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4637 no_cache=0
4638 # Check whether --enable-stl was given.
4639 if test "${enable_stl+set}" = set; then
4640 enableval=$enable_stl;
4641 if test "$enableval" = yes; then
4642 ac_cv_use_stl='wxUSE_STL=yes'
4643 else
4644 ac_cv_use_stl='wxUSE_STL=no'
4645 fi
4646
4647 else
4648
4649 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4650 if test "x$LINE" != x ; then
4651 eval "DEFAULT_$LINE"
4652 else
4653 no_cache=1
4654 fi
4655
4656 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4657
4658 fi
4659
4660
4661 eval "$ac_cv_use_stl"
4662 if test "$no_cache" != 1; then
4663 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4664 fi
4665
4666 if test "$wxUSE_STL" = yes; then
4667 { echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6; }
4669 else
4670 { echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6; }
4672 fi
4673
4674 if test "$USE_OS2" = "1"; then
4675 DEFAULT_wxUSE_OMF=no
4676
4677 enablestring=
4678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4679 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4680 no_cache=0
4681 # Check whether --enable-omf was given.
4682 if test "${enable_omf+set}" = set; then
4683 enableval=$enable_omf;
4684 if test "$enableval" = yes; then
4685 ac_cv_use_omf='wxUSE_OMF=yes'
4686 else
4687 ac_cv_use_omf='wxUSE_OMF=no'
4688 fi
4689
4690 else
4691
4692 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x ; then
4694 eval "DEFAULT_$LINE"
4695 else
4696 no_cache=1
4697 fi
4698
4699 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4700
4701 fi
4702
4703
4704 eval "$ac_cv_use_omf"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4707 fi
4708
4709 if test "$wxUSE_OMF" = yes; then
4710 { echo "$as_me:$LINENO: result: yes" >&5
4711 echo "${ECHO_T}yes" >&6; }
4712 else
4713 { echo "$as_me:$LINENO: result: no" >&5
4714 echo "${ECHO_T}no" >&6; }
4715 fi
4716
4717 fi
4718
4719 if test "$wxUSE_DEBUG" = "yes"; then
4720 DEFAULT_wxUSE_DEBUG_FLAG=yes
4721 DEFAULT_wxUSE_DEBUG_INFO=yes
4722 BUILD=debug
4723 elif test "$wxUSE_DEBUG" = "no"; then
4724 DEFAULT_wxUSE_DEBUG_FLAG=no
4725 DEFAULT_wxUSE_DEBUG_INFO=no
4726 BUILD=release
4727 fi
4728
4729
4730 enablestring=
4731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4732 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4733 no_cache=0
4734 # Check whether --enable-debug_flag was given.
4735 if test "${enable_debug_flag+set}" = set; then
4736 enableval=$enable_debug_flag;
4737 if test "$enableval" = yes; then
4738 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4739 else
4740 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4741 fi
4742
4743 else
4744
4745 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4746 if test "x$LINE" != x ; then
4747 eval "DEFAULT_$LINE"
4748 else
4749 no_cache=1
4750 fi
4751
4752 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4753
4754 fi
4755
4756
4757 eval "$ac_cv_use_debug_flag"
4758 if test "$no_cache" != 1; then
4759 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4760 fi
4761
4762 if test "$wxUSE_DEBUG_FLAG" = yes; then
4763 { echo "$as_me:$LINENO: result: yes" >&5
4764 echo "${ECHO_T}yes" >&6; }
4765 else
4766 { echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6; }
4768 fi
4769
4770
4771 enablestring=
4772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4773 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4774 no_cache=0
4775 # Check whether --enable-debug_info was given.
4776 if test "${enable_debug_info+set}" = set; then
4777 enableval=$enable_debug_info;
4778 if test "$enableval" = yes; then
4779 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4780 else
4781 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4782 fi
4783
4784 else
4785
4786 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4787 if test "x$LINE" != x ; then
4788 eval "DEFAULT_$LINE"
4789 else
4790 no_cache=1
4791 fi
4792
4793 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4794
4795 fi
4796
4797
4798 eval "$ac_cv_use_debug_info"
4799 if test "$no_cache" != 1; then
4800 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4801 fi
4802
4803 if test "$wxUSE_DEBUG_INFO" = yes; then
4804 { echo "$as_me:$LINENO: result: yes" >&5
4805 echo "${ECHO_T}yes" >&6; }
4806 else
4807 { echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6; }
4809 fi
4810
4811
4812 enablestring=
4813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4814 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4815 no_cache=0
4816 # Check whether --enable-debug_gdb was given.
4817 if test "${enable_debug_gdb+set}" = set; then
4818 enableval=$enable_debug_gdb;
4819 if test "$enableval" = yes; then
4820 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4821 else
4822 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4823 fi
4824
4825 else
4826
4827 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4828 if test "x$LINE" != x ; then
4829 eval "DEFAULT_$LINE"
4830 else
4831 no_cache=1
4832 fi
4833
4834 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4835
4836 fi
4837
4838
4839 eval "$ac_cv_use_debug_gdb"
4840 if test "$no_cache" != 1; then
4841 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4842 fi
4843
4844 if test "$wxUSE_DEBUG_GDB" = yes; then
4845 { echo "$as_me:$LINENO: result: yes" >&5
4846 echo "${ECHO_T}yes" >&6; }
4847 else
4848 { echo "$as_me:$LINENO: result: no" >&5
4849 echo "${ECHO_T}no" >&6; }
4850 fi
4851
4852
4853 enablestring=
4854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4855 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4856 no_cache=0
4857 # Check whether --enable-debug_cntxt was given.
4858 if test "${enable_debug_cntxt+set}" = set; then
4859 enableval=$enable_debug_cntxt;
4860 if test "$enableval" = yes; then
4861 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4862 else
4863 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4864 fi
4865
4866 else
4867
4868 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4869 if test "x$LINE" != x ; then
4870 eval "DEFAULT_$LINE"
4871 else
4872 no_cache=1
4873 fi
4874
4875 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4876
4877 fi
4878
4879
4880 eval "$ac_cv_use_debug_cntxt"
4881 if test "$no_cache" != 1; then
4882 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4883 fi
4884
4885 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4886 { echo "$as_me:$LINENO: result: yes" >&5
4887 echo "${ECHO_T}yes" >&6; }
4888 else
4889 { echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6; }
4891 fi
4892
4893
4894 enablestring=
4895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4896 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4897 no_cache=0
4898 # Check whether --enable-mem_tracing was given.
4899 if test "${enable_mem_tracing+set}" = set; then
4900 enableval=$enable_mem_tracing;
4901 if test "$enableval" = yes; then
4902 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4903 else
4904 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4905 fi
4906
4907 else
4908
4909 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4910 if test "x$LINE" != x ; then
4911 eval "DEFAULT_$LINE"
4912 else
4913 no_cache=1
4914 fi
4915
4916 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4917
4918 fi
4919
4920
4921 eval "$ac_cv_use_mem_tracing"
4922 if test "$no_cache" != 1; then
4923 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4924 fi
4925
4926 if test "$wxUSE_MEM_TRACING" = yes; then
4927 { echo "$as_me:$LINENO: result: yes" >&5
4928 echo "${ECHO_T}yes" >&6; }
4929 else
4930 { echo "$as_me:$LINENO: result: no" >&5
4931 echo "${ECHO_T}no" >&6; }
4932 fi
4933
4934
4935 enablestring=
4936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4937 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4938 no_cache=0
4939 # Check whether --enable-profile was given.
4940 if test "${enable_profile+set}" = set; then
4941 enableval=$enable_profile;
4942 if test "$enableval" = yes; then
4943 ac_cv_use_profile='wxUSE_PROFILE=yes'
4944 else
4945 ac_cv_use_profile='wxUSE_PROFILE=no'
4946 fi
4947
4948 else
4949
4950 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4951 if test "x$LINE" != x ; then
4952 eval "DEFAULT_$LINE"
4953 else
4954 no_cache=1
4955 fi
4956
4957 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4958
4959 fi
4960
4961
4962 eval "$ac_cv_use_profile"
4963 if test "$no_cache" != 1; then
4964 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4965 fi
4966
4967 if test "$wxUSE_PROFILE" = yes; then
4968 { echo "$as_me:$LINENO: result: yes" >&5
4969 echo "${ECHO_T}yes" >&6; }
4970 else
4971 { echo "$as_me:$LINENO: result: no" >&5
4972 echo "${ECHO_T}no" >&6; }
4973 fi
4974
4975
4976 enablestring=
4977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4978 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4979 no_cache=0
4980 # Check whether --enable-no_rtti was given.
4981 if test "${enable_no_rtti+set}" = set; then
4982 enableval=$enable_no_rtti;
4983 if test "$enableval" = yes; then
4984 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4985 else
4986 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4987 fi
4988
4989 else
4990
4991 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x ; then
4993 eval "DEFAULT_$LINE"
4994 else
4995 no_cache=1
4996 fi
4997
4998 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4999
5000 fi
5001
5002
5003 eval "$ac_cv_use_no_rtti"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5006 fi
5007
5008 if test "$wxUSE_NO_RTTI" = yes; then
5009 { echo "$as_me:$LINENO: result: yes" >&5
5010 echo "${ECHO_T}yes" >&6; }
5011 else
5012 { echo "$as_me:$LINENO: result: no" >&5
5013 echo "${ECHO_T}no" >&6; }
5014 fi
5015
5016
5017 enablestring=
5018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5019 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5020 no_cache=0
5021 # Check whether --enable-no_exceptions was given.
5022 if test "${enable_no_exceptions+set}" = set; then
5023 enableval=$enable_no_exceptions;
5024 if test "$enableval" = yes; then
5025 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5026 else
5027 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5028 fi
5029
5030 else
5031
5032 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${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 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5040
5041 fi
5042
5043
5044 eval "$ac_cv_use_no_exceptions"
5045 if test "$no_cache" != 1; then
5046 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5047 fi
5048
5049 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5050 { echo "$as_me:$LINENO: result: yes" >&5
5051 echo "${ECHO_T}yes" >&6; }
5052 else
5053 { echo "$as_me:$LINENO: result: no" >&5
5054 echo "${ECHO_T}no" >&6; }
5055 fi
5056
5057
5058 enablestring=
5059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5060 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5061 no_cache=0
5062 # Check whether --enable-permissive was given.
5063 if test "${enable_permissive+set}" = set; then
5064 enableval=$enable_permissive;
5065 if test "$enableval" = yes; then
5066 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5067 else
5068 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5069 fi
5070
5071 else
5072
5073 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5074 if test "x$LINE" != x ; then
5075 eval "DEFAULT_$LINE"
5076 else
5077 no_cache=1
5078 fi
5079
5080 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5081
5082 fi
5083
5084
5085 eval "$ac_cv_use_permissive"
5086 if test "$no_cache" != 1; then
5087 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5088 fi
5089
5090 if test "$wxUSE_PERMISSIVE" = yes; then
5091 { echo "$as_me:$LINENO: result: yes" >&5
5092 echo "${ECHO_T}yes" >&6; }
5093 else
5094 { echo "$as_me:$LINENO: result: no" >&5
5095 echo "${ECHO_T}no" >&6; }
5096 fi
5097
5098
5099 enablestring=
5100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5101 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5102 no_cache=0
5103 # Check whether --enable-no_deps was given.
5104 if test "${enable_no_deps+set}" = set; then
5105 enableval=$enable_no_deps;
5106 if test "$enableval" = yes; then
5107 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5108 else
5109 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5110 fi
5111
5112 else
5113
5114 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5115 if test "x$LINE" != x ; then
5116 eval "DEFAULT_$LINE"
5117 else
5118 no_cache=1
5119 fi
5120
5121 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5122
5123 fi
5124
5125
5126 eval "$ac_cv_use_no_deps"
5127 if test "$no_cache" != 1; then
5128 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5129 fi
5130
5131 if test "$wxUSE_NO_DEPS" = yes; then
5132 { echo "$as_me:$LINENO: result: yes" >&5
5133 echo "${ECHO_T}yes" >&6; }
5134 else
5135 { echo "$as_me:$LINENO: result: no" >&5
5136 echo "${ECHO_T}no" >&6; }
5137 fi
5138
5139
5140 enablestring=
5141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5142 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5143 no_cache=0
5144 # Check whether --enable-vararg_macros was given.
5145 if test "${enable_vararg_macros+set}" = set; then
5146 enableval=$enable_vararg_macros;
5147 if test "$enableval" = yes; then
5148 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5149 else
5150 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5151 fi
5152
5153 else
5154
5155 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5156 if test "x$LINE" != x ; then
5157 eval "DEFAULT_$LINE"
5158 else
5159 no_cache=1
5160 fi
5161
5162 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5163
5164 fi
5165
5166
5167 eval "$ac_cv_use_vararg_macros"
5168 if test "$no_cache" != 1; then
5169 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5170 fi
5171
5172 if test "$wxUSE_VARARG_MACROS" = yes; then
5173 { echo "$as_me:$LINENO: result: yes" >&5
5174 echo "${ECHO_T}yes" >&6; }
5175 else
5176 { echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6; }
5178 fi
5179
5180
5181 enablestring=
5182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5183 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5184 no_cache=0
5185 # Check whether --enable-universal_binary was given.
5186 if test "${enable_universal_binary+set}" = set; then
5187 enableval=$enable_universal_binary;
5188 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5189
5190 else
5191
5192 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5193 if test "x$LINE" != x ; then
5194 eval "DEFAULT_$LINE"
5195 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5196 else
5197 no_cache=1
5198 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5199 fi
5200
5201 fi
5202
5203
5204 eval "$wx_cv_use_universal_binary"
5205 if test "$no_cache" != 1; then
5206 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5207 fi
5208
5209 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5210 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5211
5212
5213
5214 enablestring=enable
5215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5216 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5217 no_cache=0
5218 # Check whether --enable-compat26 was given.
5219 if test "${enable_compat26+set}" = set; then
5220 enableval=$enable_compat26;
5221 if test "$enableval" = yes; then
5222 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5223 else
5224 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5225 fi
5226
5227 else
5228
5229 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x ; then
5231 eval "DEFAULT_$LINE"
5232 else
5233 no_cache=1
5234 fi
5235
5236 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5237
5238 fi
5239
5240
5241 eval "$ac_cv_use_compat26"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5244 fi
5245
5246 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5247 { echo "$as_me:$LINENO: result: yes" >&5
5248 echo "${ECHO_T}yes" >&6; }
5249 else
5250 { echo "$as_me:$LINENO: result: no" >&5
5251 echo "${ECHO_T}no" >&6; }
5252 fi
5253
5254
5255 enablestring=disable
5256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5257 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5258 no_cache=0
5259 # Check whether --enable-compat28 was given.
5260 if test "${enable_compat28+set}" = set; then
5261 enableval=$enable_compat28;
5262 if test "$enableval" = yes; then
5263 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5264 else
5265 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5266 fi
5267
5268 else
5269
5270 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5271 if test "x$LINE" != x ; then
5272 eval "DEFAULT_$LINE"
5273 else
5274 no_cache=1
5275 fi
5276
5277 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5278
5279 fi
5280
5281
5282 eval "$ac_cv_use_compat28"
5283 if test "$no_cache" != 1; then
5284 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5285 fi
5286
5287 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5288 { echo "$as_me:$LINENO: result: yes" >&5
5289 echo "${ECHO_T}yes" >&6; }
5290 else
5291 { echo "$as_me:$LINENO: result: no" >&5
5292 echo "${ECHO_T}no" >&6; }
5293 fi
5294
5295
5296
5297 enablestring=
5298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5299 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5300 no_cache=0
5301 # Check whether --enable-rpath was given.
5302 if test "${enable_rpath+set}" = set; then
5303 enableval=$enable_rpath;
5304 if test "$enableval" = yes; then
5305 ac_cv_use_rpath='wxUSE_RPATH=yes'
5306 else
5307 ac_cv_use_rpath='wxUSE_RPATH=no'
5308 fi
5309
5310 else
5311
5312 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5313 if test "x$LINE" != x ; then
5314 eval "DEFAULT_$LINE"
5315 else
5316 no_cache=1
5317 fi
5318
5319 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5320
5321 fi
5322
5323
5324 eval "$ac_cv_use_rpath"
5325 if test "$no_cache" != 1; then
5326 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5327 fi
5328
5329 if test "$wxUSE_RPATH" = yes; then
5330 { echo "$as_me:$LINENO: result: yes" >&5
5331 echo "${ECHO_T}yes" >&6; }
5332 else
5333 { echo "$as_me:$LINENO: result: no" >&5
5334 echo "${ECHO_T}no" >&6; }
5335 fi
5336
5337
5338
5339
5340
5341 enablestring=
5342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5343 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5344 no_cache=0
5345 # Check whether --enable-intl was given.
5346 if test "${enable_intl+set}" = set; then
5347 enableval=$enable_intl;
5348 if test "$enableval" = yes; then
5349 ac_cv_use_intl='wxUSE_INTL=yes'
5350 else
5351 ac_cv_use_intl='wxUSE_INTL=no'
5352 fi
5353
5354 else
5355
5356 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5357 if test "x$LINE" != x ; then
5358 eval "DEFAULT_$LINE"
5359 else
5360 no_cache=1
5361 fi
5362
5363 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5364
5365 fi
5366
5367
5368 eval "$ac_cv_use_intl"
5369 if test "$no_cache" != 1; then
5370 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5371 fi
5372
5373 if test "$wxUSE_INTL" = yes; then
5374 { echo "$as_me:$LINENO: result: yes" >&5
5375 echo "${ECHO_T}yes" >&6; }
5376 else
5377 { echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6; }
5379 fi
5380
5381
5382 enablestring=
5383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5384 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5385 no_cache=0
5386 # Check whether --enable-config was given.
5387 if test "${enable_config+set}" = set; then
5388 enableval=$enable_config;
5389 if test "$enableval" = yes; then
5390 ac_cv_use_config='wxUSE_CONFIG=yes'
5391 else
5392 ac_cv_use_config='wxUSE_CONFIG=no'
5393 fi
5394
5395 else
5396
5397 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5398 if test "x$LINE" != x ; then
5399 eval "DEFAULT_$LINE"
5400 else
5401 no_cache=1
5402 fi
5403
5404 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5405
5406 fi
5407
5408
5409 eval "$ac_cv_use_config"
5410 if test "$no_cache" != 1; then
5411 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5412 fi
5413
5414 if test "$wxUSE_CONFIG" = yes; then
5415 { echo "$as_me:$LINENO: result: yes" >&5
5416 echo "${ECHO_T}yes" >&6; }
5417 else
5418 { echo "$as_me:$LINENO: result: no" >&5
5419 echo "${ECHO_T}no" >&6; }
5420 fi
5421
5422
5423
5424 enablestring=
5425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5426 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5427 no_cache=0
5428 # Check whether --enable-protocols was given.
5429 if test "${enable_protocols+set}" = set; then
5430 enableval=$enable_protocols;
5431 if test "$enableval" = yes; then
5432 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5433 else
5434 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5435 fi
5436
5437 else
5438
5439 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5440 if test "x$LINE" != x ; then
5441 eval "DEFAULT_$LINE"
5442 else
5443 no_cache=1
5444 fi
5445
5446 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5447
5448 fi
5449
5450
5451 eval "$ac_cv_use_protocols"
5452 if test "$no_cache" != 1; then
5453 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5454 fi
5455
5456 if test "$wxUSE_PROTOCOL" = yes; then
5457 { echo "$as_me:$LINENO: result: yes" >&5
5458 echo "${ECHO_T}yes" >&6; }
5459 else
5460 { echo "$as_me:$LINENO: result: no" >&5
5461 echo "${ECHO_T}no" >&6; }
5462 fi
5463
5464
5465 enablestring=
5466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5467 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5468 no_cache=0
5469 # Check whether --enable-ftp was given.
5470 if test "${enable_ftp+set}" = set; then
5471 enableval=$enable_ftp;
5472 if test "$enableval" = yes; then
5473 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5474 else
5475 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5476 fi
5477
5478 else
5479
5480 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5481 if test "x$LINE" != x ; then
5482 eval "DEFAULT_$LINE"
5483 else
5484 no_cache=1
5485 fi
5486
5487 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5488
5489 fi
5490
5491
5492 eval "$ac_cv_use_ftp"
5493 if test "$no_cache" != 1; then
5494 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5495 fi
5496
5497 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5498 { echo "$as_me:$LINENO: result: yes" >&5
5499 echo "${ECHO_T}yes" >&6; }
5500 else
5501 { echo "$as_me:$LINENO: result: no" >&5
5502 echo "${ECHO_T}no" >&6; }
5503 fi
5504
5505
5506 enablestring=
5507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5508 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5509 no_cache=0
5510 # Check whether --enable-http was given.
5511 if test "${enable_http+set}" = set; then
5512 enableval=$enable_http;
5513 if test "$enableval" = yes; then
5514 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5515 else
5516 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5517 fi
5518
5519 else
5520
5521 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5522 if test "x$LINE" != x ; then
5523 eval "DEFAULT_$LINE"
5524 else
5525 no_cache=1
5526 fi
5527
5528 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5529
5530 fi
5531
5532
5533 eval "$ac_cv_use_http"
5534 if test "$no_cache" != 1; then
5535 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5536 fi
5537
5538 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5539 { echo "$as_me:$LINENO: result: yes" >&5
5540 echo "${ECHO_T}yes" >&6; }
5541 else
5542 { echo "$as_me:$LINENO: result: no" >&5
5543 echo "${ECHO_T}no" >&6; }
5544 fi
5545
5546
5547 enablestring=
5548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5549 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5550 no_cache=0
5551 # Check whether --enable-fileproto was given.
5552 if test "${enable_fileproto+set}" = set; then
5553 enableval=$enable_fileproto;
5554 if test "$enableval" = yes; then
5555 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5556 else
5557 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5558 fi
5559
5560 else
5561
5562 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5563 if test "x$LINE" != x ; then
5564 eval "DEFAULT_$LINE"
5565 else
5566 no_cache=1
5567 fi
5568
5569 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5570
5571 fi
5572
5573
5574 eval "$ac_cv_use_fileproto"
5575 if test "$no_cache" != 1; then
5576 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5577 fi
5578
5579 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5580 { echo "$as_me:$LINENO: result: yes" >&5
5581 echo "${ECHO_T}yes" >&6; }
5582 else
5583 { echo "$as_me:$LINENO: result: no" >&5
5584 echo "${ECHO_T}no" >&6; }
5585 fi
5586
5587
5588 enablestring=
5589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5590 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5591 no_cache=0
5592 # Check whether --enable-sockets was given.
5593 if test "${enable_sockets+set}" = set; then
5594 enableval=$enable_sockets;
5595 if test "$enableval" = yes; then
5596 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5597 else
5598 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5599 fi
5600
5601 else
5602
5603 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5604 if test "x$LINE" != x ; then
5605 eval "DEFAULT_$LINE"
5606 else
5607 no_cache=1
5608 fi
5609
5610 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5611
5612 fi
5613
5614
5615 eval "$ac_cv_use_sockets"
5616 if test "$no_cache" != 1; then
5617 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5618 fi
5619
5620 if test "$wxUSE_SOCKETS" = yes; then
5621 { echo "$as_me:$LINENO: result: yes" >&5
5622 echo "${ECHO_T}yes" >&6; }
5623 else
5624 { echo "$as_me:$LINENO: result: no" >&5
5625 echo "${ECHO_T}no" >&6; }
5626 fi
5627
5628
5629 enablestring=
5630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5631 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5632 no_cache=0
5633 # Check whether --enable-ole was given.
5634 if test "${enable_ole+set}" = set; then
5635 enableval=$enable_ole;
5636 if test "$enableval" = yes; then
5637 ac_cv_use_ole='wxUSE_OLE=yes'
5638 else
5639 ac_cv_use_ole='wxUSE_OLE=no'
5640 fi
5641
5642 else
5643
5644 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5645 if test "x$LINE" != x ; then
5646 eval "DEFAULT_$LINE"
5647 else
5648 no_cache=1
5649 fi
5650
5651 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5652
5653 fi
5654
5655
5656 eval "$ac_cv_use_ole"
5657 if test "$no_cache" != 1; then
5658 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5659 fi
5660
5661 if test "$wxUSE_OLE" = yes; then
5662 { echo "$as_me:$LINENO: result: yes" >&5
5663 echo "${ECHO_T}yes" >&6; }
5664 else
5665 { echo "$as_me:$LINENO: result: no" >&5
5666 echo "${ECHO_T}no" >&6; }
5667 fi
5668
5669
5670 enablestring=
5671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5672 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5673 no_cache=0
5674 # Check whether --enable-dataobj was given.
5675 if test "${enable_dataobj+set}" = set; then
5676 enableval=$enable_dataobj;
5677 if test "$enableval" = yes; then
5678 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5679 else
5680 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5681 fi
5682
5683 else
5684
5685 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5686 if test "x$LINE" != x ; then
5687 eval "DEFAULT_$LINE"
5688 else
5689 no_cache=1
5690 fi
5691
5692 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5693
5694 fi
5695
5696
5697 eval "$ac_cv_use_dataobj"
5698 if test "$no_cache" != 1; then
5699 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5700 fi
5701
5702 if test "$wxUSE_DATAOBJ" = yes; then
5703 { echo "$as_me:$LINENO: result: yes" >&5
5704 echo "${ECHO_T}yes" >&6; }
5705 else
5706 { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5708 fi
5709
5710
5711
5712 enablestring=
5713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5715 no_cache=0
5716 # Check whether --enable-ipc was given.
5717 if test "${enable_ipc+set}" = set; then
5718 enableval=$enable_ipc;
5719 if test "$enableval" = yes; then
5720 ac_cv_use_ipc='wxUSE_IPC=yes'
5721 else
5722 ac_cv_use_ipc='wxUSE_IPC=no'
5723 fi
5724
5725 else
5726
5727 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5728 if test "x$LINE" != x ; then
5729 eval "DEFAULT_$LINE"
5730 else
5731 no_cache=1
5732 fi
5733
5734 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5735
5736 fi
5737
5738
5739 eval "$ac_cv_use_ipc"
5740 if test "$no_cache" != 1; then
5741 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5742 fi
5743
5744 if test "$wxUSE_IPC" = yes; then
5745 { echo "$as_me:$LINENO: result: yes" >&5
5746 echo "${ECHO_T}yes" >&6; }
5747 else
5748 { echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6; }
5750 fi
5751
5752
5753
5754 enablestring=
5755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5757 no_cache=0
5758 # Check whether --enable-apple_ieee was given.
5759 if test "${enable_apple_ieee+set}" = set; then
5760 enableval=$enable_apple_ieee;
5761 if test "$enableval" = yes; then
5762 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5763 else
5764 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5765 fi
5766
5767 else
5768
5769 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5770 if test "x$LINE" != x ; then
5771 eval "DEFAULT_$LINE"
5772 else
5773 no_cache=1
5774 fi
5775
5776 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5777
5778 fi
5779
5780
5781 eval "$ac_cv_use_apple_ieee"
5782 if test "$no_cache" != 1; then
5783 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5784 fi
5785
5786 if test "$wxUSE_APPLE_IEEE" = yes; then
5787 { echo "$as_me:$LINENO: result: yes" >&5
5788 echo "${ECHO_T}yes" >&6; }
5789 else
5790 { echo "$as_me:$LINENO: result: no" >&5
5791 echo "${ECHO_T}no" >&6; }
5792 fi
5793
5794
5795 enablestring=
5796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5797 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5798 no_cache=0
5799 # Check whether --enable-arcstream was given.
5800 if test "${enable_arcstream+set}" = set; then
5801 enableval=$enable_arcstream;
5802 if test "$enableval" = yes; then
5803 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5804 else
5805 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5806 fi
5807
5808 else
5809
5810 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5811 if test "x$LINE" != x ; then
5812 eval "DEFAULT_$LINE"
5813 else
5814 no_cache=1
5815 fi
5816
5817 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5818
5819 fi
5820
5821
5822 eval "$ac_cv_use_arcstream"
5823 if test "$no_cache" != 1; then
5824 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5825 fi
5826
5827 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5828 { echo "$as_me:$LINENO: result: yes" >&5
5829 echo "${ECHO_T}yes" >&6; }
5830 else
5831 { echo "$as_me:$LINENO: result: no" >&5
5832 echo "${ECHO_T}no" >&6; }
5833 fi
5834
5835
5836 enablestring=
5837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5838 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5839 no_cache=0
5840 # Check whether --enable-backtrace was given.
5841 if test "${enable_backtrace+set}" = set; then
5842 enableval=$enable_backtrace;
5843 if test "$enableval" = yes; then
5844 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5845 else
5846 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5847 fi
5848
5849 else
5850
5851 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5852 if test "x$LINE" != x ; then
5853 eval "DEFAULT_$LINE"
5854 else
5855 no_cache=1
5856 fi
5857
5858 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5859
5860 fi
5861
5862
5863 eval "$ac_cv_use_backtrace"
5864 if test "$no_cache" != 1; then
5865 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5866 fi
5867
5868 if test "$wxUSE_STACKWALKER" = yes; then
5869 { echo "$as_me:$LINENO: result: yes" >&5
5870 echo "${ECHO_T}yes" >&6; }
5871 else
5872 { echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6; }
5874 fi
5875
5876
5877 enablestring=
5878 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5879 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5880 no_cache=0
5881 # Check whether --enable-catch_segvs was given.
5882 if test "${enable_catch_segvs+set}" = set; then
5883 enableval=$enable_catch_segvs;
5884 if test "$enableval" = yes; then
5885 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5886 else
5887 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5888 fi
5889
5890 else
5891
5892 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5893 if test "x$LINE" != x ; then
5894 eval "DEFAULT_$LINE"
5895 else
5896 no_cache=1
5897 fi
5898
5899 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5900
5901 fi
5902
5903
5904 eval "$ac_cv_use_catch_segvs"
5905 if test "$no_cache" != 1; then
5906 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5907 fi
5908
5909 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5910 { echo "$as_me:$LINENO: result: yes" >&5
5911 echo "${ECHO_T}yes" >&6; }
5912 else
5913 { echo "$as_me:$LINENO: result: no" >&5
5914 echo "${ECHO_T}no" >&6; }
5915 fi
5916
5917
5918 enablestring=
5919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5920 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5921 no_cache=0
5922 # Check whether --enable-cmdline was given.
5923 if test "${enable_cmdline+set}" = set; then
5924 enableval=$enable_cmdline;
5925 if test "$enableval" = yes; then
5926 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5927 else
5928 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5929 fi
5930
5931 else
5932
5933 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5934 if test "x$LINE" != x ; then
5935 eval "DEFAULT_$LINE"
5936 else
5937 no_cache=1
5938 fi
5939
5940 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5941
5942 fi
5943
5944
5945 eval "$ac_cv_use_cmdline"
5946 if test "$no_cache" != 1; then
5947 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5948 fi
5949
5950 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5951 { echo "$as_me:$LINENO: result: yes" >&5
5952 echo "${ECHO_T}yes" >&6; }
5953 else
5954 { echo "$as_me:$LINENO: result: no" >&5
5955 echo "${ECHO_T}no" >&6; }
5956 fi
5957
5958
5959 enablestring=
5960 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5961 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5962 no_cache=0
5963 # Check whether --enable-datetime was given.
5964 if test "${enable_datetime+set}" = set; then
5965 enableval=$enable_datetime;
5966 if test "$enableval" = yes; then
5967 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5968 else
5969 ac_cv_use_datetime='wxUSE_DATETIME=no'
5970 fi
5971
5972 else
5973
5974 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5975 if test "x$LINE" != x ; then
5976 eval "DEFAULT_$LINE"
5977 else
5978 no_cache=1
5979 fi
5980
5981 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5982
5983 fi
5984
5985
5986 eval "$ac_cv_use_datetime"
5987 if test "$no_cache" != 1; then
5988 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5989 fi
5990
5991 if test "$wxUSE_DATETIME" = yes; then
5992 { echo "$as_me:$LINENO: result: yes" >&5
5993 echo "${ECHO_T}yes" >&6; }
5994 else
5995 { echo "$as_me:$LINENO: result: no" >&5
5996 echo "${ECHO_T}no" >&6; }
5997 fi
5998
5999
6000 enablestring=
6001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6002 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6003 no_cache=0
6004 # Check whether --enable-debugreport was given.
6005 if test "${enable_debugreport+set}" = set; then
6006 enableval=$enable_debugreport;
6007 if test "$enableval" = yes; then
6008 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6009 else
6010 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6011 fi
6012
6013 else
6014
6015 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x ; then
6017 eval "DEFAULT_$LINE"
6018 else
6019 no_cache=1
6020 fi
6021
6022 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6023
6024 fi
6025
6026
6027 eval "$ac_cv_use_debugreport"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6030 fi
6031
6032 if test "$wxUSE_DEBUGREPORT" = yes; then
6033 { echo "$as_me:$LINENO: result: yes" >&5
6034 echo "${ECHO_T}yes" >&6; }
6035 else
6036 { echo "$as_me:$LINENO: result: no" >&5
6037 echo "${ECHO_T}no" >&6; }
6038 fi
6039
6040
6041 enablestring=
6042 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6043 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6044 no_cache=0
6045 # Check whether --enable-dialupman was given.
6046 if test "${enable_dialupman+set}" = set; then
6047 enableval=$enable_dialupman;
6048 if test "$enableval" = yes; then
6049 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6050 else
6051 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6052 fi
6053
6054 else
6055
6056 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6057 if test "x$LINE" != x ; then
6058 eval "DEFAULT_$LINE"
6059 else
6060 no_cache=1
6061 fi
6062
6063 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6064
6065 fi
6066
6067
6068 eval "$ac_cv_use_dialupman"
6069 if test "$no_cache" != 1; then
6070 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6071 fi
6072
6073 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6074 { echo "$as_me:$LINENO: result: yes" >&5
6075 echo "${ECHO_T}yes" >&6; }
6076 else
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6079 fi
6080
6081
6082 enablestring=
6083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6084 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6085 no_cache=0
6086 # Check whether --enable-dynlib was given.
6087 if test "${enable_dynlib+set}" = set; then
6088 enableval=$enable_dynlib;
6089 if test "$enableval" = yes; then
6090 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6091 else
6092 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6093 fi
6094
6095 else
6096
6097 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6098 if test "x$LINE" != x ; then
6099 eval "DEFAULT_$LINE"
6100 else
6101 no_cache=1
6102 fi
6103
6104 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6105
6106 fi
6107
6108
6109 eval "$ac_cv_use_dynlib"
6110 if test "$no_cache" != 1; then
6111 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6112 fi
6113
6114 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6115 { echo "$as_me:$LINENO: result: yes" >&5
6116 echo "${ECHO_T}yes" >&6; }
6117 else
6118 { echo "$as_me:$LINENO: result: no" >&5
6119 echo "${ECHO_T}no" >&6; }
6120 fi
6121
6122
6123 enablestring=
6124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6125 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6126 no_cache=0
6127 # Check whether --enable-dynamicloader was given.
6128 if test "${enable_dynamicloader+set}" = set; then
6129 enableval=$enable_dynamicloader;
6130 if test "$enableval" = yes; then
6131 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6132 else
6133 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6134 fi
6135
6136 else
6137
6138 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6139 if test "x$LINE" != x ; then
6140 eval "DEFAULT_$LINE"
6141 else
6142 no_cache=1
6143 fi
6144
6145 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6146
6147 fi
6148
6149
6150 eval "$ac_cv_use_dynamicloader"
6151 if test "$no_cache" != 1; then
6152 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6153 fi
6154
6155 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6156 { echo "$as_me:$LINENO: result: yes" >&5
6157 echo "${ECHO_T}yes" >&6; }
6158 else
6159 { echo "$as_me:$LINENO: result: no" >&5
6160 echo "${ECHO_T}no" >&6; }
6161 fi
6162
6163
6164 enablestring=
6165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6166 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6167 no_cache=0
6168 # Check whether --enable-exceptions was given.
6169 if test "${enable_exceptions+set}" = set; then
6170 enableval=$enable_exceptions;
6171 if test "$enableval" = yes; then
6172 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6173 else
6174 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6175 fi
6176
6177 else
6178
6179 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6180 if test "x$LINE" != x ; then
6181 eval "DEFAULT_$LINE"
6182 else
6183 no_cache=1
6184 fi
6185
6186 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6187
6188 fi
6189
6190
6191 eval "$ac_cv_use_exceptions"
6192 if test "$no_cache" != 1; then
6193 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6194 fi
6195
6196 if test "$wxUSE_EXCEPTIONS" = yes; then
6197 { echo "$as_me:$LINENO: result: yes" >&5
6198 echo "${ECHO_T}yes" >&6; }
6199 else
6200 { echo "$as_me:$LINENO: result: no" >&5
6201 echo "${ECHO_T}no" >&6; }
6202 fi
6203
6204
6205 enablestring=
6206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6207 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6208 no_cache=0
6209 # Check whether --enable-ffile was given.
6210 if test "${enable_ffile+set}" = set; then
6211 enableval=$enable_ffile;
6212 if test "$enableval" = yes; then
6213 ac_cv_use_ffile='wxUSE_FFILE=yes'
6214 else
6215 ac_cv_use_ffile='wxUSE_FFILE=no'
6216 fi
6217
6218 else
6219
6220 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6221 if test "x$LINE" != x ; then
6222 eval "DEFAULT_$LINE"
6223 else
6224 no_cache=1
6225 fi
6226
6227 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6228
6229 fi
6230
6231
6232 eval "$ac_cv_use_ffile"
6233 if test "$no_cache" != 1; then
6234 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6235 fi
6236
6237 if test "$wxUSE_FFILE" = yes; then
6238 { echo "$as_me:$LINENO: result: yes" >&5
6239 echo "${ECHO_T}yes" >&6; }
6240 else
6241 { echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6; }
6243 fi
6244
6245
6246 enablestring=
6247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6248 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6249 no_cache=0
6250 # Check whether --enable-file was given.
6251 if test "${enable_file+set}" = set; then
6252 enableval=$enable_file;
6253 if test "$enableval" = yes; then
6254 ac_cv_use_file='wxUSE_FILE=yes'
6255 else
6256 ac_cv_use_file='wxUSE_FILE=no'
6257 fi
6258
6259 else
6260
6261 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6262 if test "x$LINE" != x ; then
6263 eval "DEFAULT_$LINE"
6264 else
6265 no_cache=1
6266 fi
6267
6268 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6269
6270 fi
6271
6272
6273 eval "$ac_cv_use_file"
6274 if test "$no_cache" != 1; then
6275 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6276 fi
6277
6278 if test "$wxUSE_FILE" = yes; then
6279 { echo "$as_me:$LINENO: result: yes" >&5
6280 echo "${ECHO_T}yes" >&6; }
6281 else
6282 { echo "$as_me:$LINENO: result: no" >&5
6283 echo "${ECHO_T}no" >&6; }
6284 fi
6285
6286
6287 enablestring=
6288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6289 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6290 no_cache=0
6291 # Check whether --enable-filesystem was given.
6292 if test "${enable_filesystem+set}" = set; then
6293 enableval=$enable_filesystem;
6294 if test "$enableval" = yes; then
6295 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6296 else
6297 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6298 fi
6299
6300 else
6301
6302 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6303 if test "x$LINE" != x ; then
6304 eval "DEFAULT_$LINE"
6305 else
6306 no_cache=1
6307 fi
6308
6309 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6310
6311 fi
6312
6313
6314 eval "$ac_cv_use_filesystem"
6315 if test "$no_cache" != 1; then
6316 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6317 fi
6318
6319 if test "$wxUSE_FILESYSTEM" = yes; then
6320 { echo "$as_me:$LINENO: result: yes" >&5
6321 echo "${ECHO_T}yes" >&6; }
6322 else
6323 { echo "$as_me:$LINENO: result: no" >&5
6324 echo "${ECHO_T}no" >&6; }
6325 fi
6326
6327
6328 enablestring=
6329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6330 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6331 no_cache=0
6332 # Check whether --enable-fontmap was given.
6333 if test "${enable_fontmap+set}" = set; then
6334 enableval=$enable_fontmap;
6335 if test "$enableval" = yes; then
6336 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6337 else
6338 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6339 fi
6340
6341 else
6342
6343 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6344 if test "x$LINE" != x ; then
6345 eval "DEFAULT_$LINE"
6346 else
6347 no_cache=1
6348 fi
6349
6350 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6351
6352 fi
6353
6354
6355 eval "$ac_cv_use_fontmap"
6356 if test "$no_cache" != 1; then
6357 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6358 fi
6359
6360 if test "$wxUSE_FONTMAP" = yes; then
6361 { echo "$as_me:$LINENO: result: yes" >&5
6362 echo "${ECHO_T}yes" >&6; }
6363 else
6364 { echo "$as_me:$LINENO: result: no" >&5
6365 echo "${ECHO_T}no" >&6; }
6366 fi
6367
6368
6369 enablestring=
6370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6371 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6372 no_cache=0
6373 # Check whether --enable-fs_archive was given.
6374 if test "${enable_fs_archive+set}" = set; then
6375 enableval=$enable_fs_archive;
6376 if test "$enableval" = yes; then
6377 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6378 else
6379 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6380 fi
6381
6382 else
6383
6384 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6385 if test "x$LINE" != x ; then
6386 eval "DEFAULT_$LINE"
6387 else
6388 no_cache=1
6389 fi
6390
6391 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6392
6393 fi
6394
6395
6396 eval "$ac_cv_use_fs_archive"
6397 if test "$no_cache" != 1; then
6398 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6399 fi
6400
6401 if test "$wxUSE_FS_ARCHIVE" = yes; then
6402 { echo "$as_me:$LINENO: result: yes" >&5
6403 echo "${ECHO_T}yes" >&6; }
6404 else
6405 { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6407 fi
6408
6409
6410 enablestring=
6411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6412 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6413 no_cache=0
6414 # Check whether --enable-fs_inet was given.
6415 if test "${enable_fs_inet+set}" = set; then
6416 enableval=$enable_fs_inet;
6417 if test "$enableval" = yes; then
6418 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6419 else
6420 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6421 fi
6422
6423 else
6424
6425 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6426 if test "x$LINE" != x ; then
6427 eval "DEFAULT_$LINE"
6428 else
6429 no_cache=1
6430 fi
6431
6432 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6433
6434 fi
6435
6436
6437 eval "$ac_cv_use_fs_inet"
6438 if test "$no_cache" != 1; then
6439 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6440 fi
6441
6442 if test "$wxUSE_FS_INET" = yes; then
6443 { echo "$as_me:$LINENO: result: yes" >&5
6444 echo "${ECHO_T}yes" >&6; }
6445 else
6446 { echo "$as_me:$LINENO: result: no" >&5
6447 echo "${ECHO_T}no" >&6; }
6448 fi
6449
6450
6451 enablestring=
6452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6453 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6454 no_cache=0
6455 # Check whether --enable-fs_zip was given.
6456 if test "${enable_fs_zip+set}" = set; then
6457 enableval=$enable_fs_zip;
6458 if test "$enableval" = yes; then
6459 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6460 else
6461 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6462 fi
6463
6464 else
6465
6466 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x ; then
6468 eval "DEFAULT_$LINE"
6469 else
6470 no_cache=1
6471 fi
6472
6473 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6474
6475 fi
6476
6477
6478 eval "$ac_cv_use_fs_zip"
6479 if test "$no_cache" != 1; then
6480 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6481 fi
6482
6483 if test "$wxUSE_FS_ZIP" = yes; then
6484 { echo "$as_me:$LINENO: result: yes" >&5
6485 echo "${ECHO_T}yes" >&6; }
6486 else
6487 { echo "$as_me:$LINENO: result: no" >&5
6488 echo "${ECHO_T}no" >&6; }
6489 fi
6490
6491
6492 enablestring=
6493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6494 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6495 no_cache=0
6496 # Check whether --enable-geometry was given.
6497 if test "${enable_geometry+set}" = set; then
6498 enableval=$enable_geometry;
6499 if test "$enableval" = yes; then
6500 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6501 else
6502 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6503 fi
6504
6505 else
6506
6507 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6508 if test "x$LINE" != x ; then
6509 eval "DEFAULT_$LINE"
6510 else
6511 no_cache=1
6512 fi
6513
6514 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6515
6516 fi
6517
6518
6519 eval "$ac_cv_use_geometry"
6520 if test "$no_cache" != 1; then
6521 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6522 fi
6523
6524 if test "$wxUSE_GEOMETRY" = yes; then
6525 { echo "$as_me:$LINENO: result: yes" >&5
6526 echo "${ECHO_T}yes" >&6; }
6527 else
6528 { echo "$as_me:$LINENO: result: no" >&5
6529 echo "${ECHO_T}no" >&6; }
6530 fi
6531
6532
6533 enablestring=
6534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6535 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6536 no_cache=0
6537 # Check whether --enable-log was given.
6538 if test "${enable_log+set}" = set; then
6539 enableval=$enable_log;
6540 if test "$enableval" = yes; then
6541 ac_cv_use_log='wxUSE_LOG=yes'
6542 else
6543 ac_cv_use_log='wxUSE_LOG=no'
6544 fi
6545
6546 else
6547
6548 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6549 if test "x$LINE" != x ; then
6550 eval "DEFAULT_$LINE"
6551 else
6552 no_cache=1
6553 fi
6554
6555 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6556
6557 fi
6558
6559
6560 eval "$ac_cv_use_log"
6561 if test "$no_cache" != 1; then
6562 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6563 fi
6564
6565 if test "$wxUSE_LOG" = yes; then
6566 { echo "$as_me:$LINENO: result: yes" >&5
6567 echo "${ECHO_T}yes" >&6; }
6568 else
6569 { echo "$as_me:$LINENO: result: no" >&5
6570 echo "${ECHO_T}no" >&6; }
6571 fi
6572
6573
6574 enablestring=
6575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6576 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6577 no_cache=0
6578 # Check whether --enable-longlong was given.
6579 if test "${enable_longlong+set}" = set; then
6580 enableval=$enable_longlong;
6581 if test "$enableval" = yes; then
6582 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6583 else
6584 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6585 fi
6586
6587 else
6588
6589 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6590 if test "x$LINE" != x ; then
6591 eval "DEFAULT_$LINE"
6592 else
6593 no_cache=1
6594 fi
6595
6596 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6597
6598 fi
6599
6600
6601 eval "$ac_cv_use_longlong"
6602 if test "$no_cache" != 1; then
6603 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6604 fi
6605
6606 if test "$wxUSE_LONGLONG" = yes; then
6607 { echo "$as_me:$LINENO: result: yes" >&5
6608 echo "${ECHO_T}yes" >&6; }
6609 else
6610 { echo "$as_me:$LINENO: result: no" >&5
6611 echo "${ECHO_T}no" >&6; }
6612 fi
6613
6614
6615 enablestring=
6616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6617 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6618 no_cache=0
6619 # Check whether --enable-mimetype was given.
6620 if test "${enable_mimetype+set}" = set; then
6621 enableval=$enable_mimetype;
6622 if test "$enableval" = yes; then
6623 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6624 else
6625 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6626 fi
6627
6628 else
6629
6630 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6631 if test "x$LINE" != x ; then
6632 eval "DEFAULT_$LINE"
6633 else
6634 no_cache=1
6635 fi
6636
6637 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6638
6639 fi
6640
6641
6642 eval "$ac_cv_use_mimetype"
6643 if test "$no_cache" != 1; then
6644 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6645 fi
6646
6647 if test "$wxUSE_MIMETYPE" = yes; then
6648 { echo "$as_me:$LINENO: result: yes" >&5
6649 echo "${ECHO_T}yes" >&6; }
6650 else
6651 { echo "$as_me:$LINENO: result: no" >&5
6652 echo "${ECHO_T}no" >&6; }
6653 fi
6654
6655
6656 enablestring=
6657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6658 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6659 no_cache=0
6660 # Check whether --enable-mslu was given.
6661 if test "${enable_mslu+set}" = set; then
6662 enableval=$enable_mslu;
6663 if test "$enableval" = yes; then
6664 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6665 else
6666 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6667 fi
6668
6669 else
6670
6671 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6672 if test "x$LINE" != x ; then
6673 eval "DEFAULT_$LINE"
6674 else
6675 no_cache=1
6676 fi
6677
6678 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6679
6680 fi
6681
6682
6683 eval "$ac_cv_use_mslu"
6684 if test "$no_cache" != 1; then
6685 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6686 fi
6687
6688 if test "$wxUSE_UNICODE_MSLU" = yes; then
6689 { echo "$as_me:$LINENO: result: yes" >&5
6690 echo "${ECHO_T}yes" >&6; }
6691 else
6692 { echo "$as_me:$LINENO: result: no" >&5
6693 echo "${ECHO_T}no" >&6; }
6694 fi
6695
6696
6697 enablestring=
6698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6699 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6700 no_cache=0
6701 # Check whether --enable-snglinst was given.
6702 if test "${enable_snglinst+set}" = set; then
6703 enableval=$enable_snglinst;
6704 if test "$enableval" = yes; then
6705 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6706 else
6707 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6708 fi
6709
6710 else
6711
6712 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6713 if test "x$LINE" != x ; then
6714 eval "DEFAULT_$LINE"
6715 else
6716 no_cache=1
6717 fi
6718
6719 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6720
6721 fi
6722
6723
6724 eval "$ac_cv_use_snglinst"
6725 if test "$no_cache" != 1; then
6726 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6727 fi
6728
6729 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6730 { echo "$as_me:$LINENO: result: yes" >&5
6731 echo "${ECHO_T}yes" >&6; }
6732 else
6733 { echo "$as_me:$LINENO: result: no" >&5
6734 echo "${ECHO_T}no" >&6; }
6735 fi
6736
6737
6738 enablestring=
6739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6740 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6741 no_cache=0
6742 # Check whether --enable-std_iostreams was given.
6743 if test "${enable_std_iostreams+set}" = set; then
6744 enableval=$enable_std_iostreams;
6745 if test "$enableval" = yes; then
6746 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6747 else
6748 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6749 fi
6750
6751 else
6752
6753 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6754 if test "x$LINE" != x ; then
6755 eval "DEFAULT_$LINE"
6756 else
6757 no_cache=1
6758 fi
6759
6760 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6761
6762 fi
6763
6764
6765 eval "$ac_cv_use_std_iostreams"
6766 if test "$no_cache" != 1; then
6767 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6768 fi
6769
6770 if test "$wxUSE_STD_IOSTREAM" = yes; then
6771 { echo "$as_me:$LINENO: result: yes" >&5
6772 echo "${ECHO_T}yes" >&6; }
6773 else
6774 { echo "$as_me:$LINENO: result: no" >&5
6775 echo "${ECHO_T}no" >&6; }
6776 fi
6777
6778
6779 enablestring=
6780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6781 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6782 no_cache=0
6783 # Check whether --enable-std_string was given.
6784 if test "${enable_std_string+set}" = set; then
6785 enableval=$enable_std_string;
6786 if test "$enableval" = yes; then
6787 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6788 else
6789 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6790 fi
6791
6792 else
6793
6794 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6795 if test "x$LINE" != x ; then
6796 eval "DEFAULT_$LINE"
6797 else
6798 no_cache=1
6799 fi
6800
6801 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6802
6803 fi
6804
6805
6806 eval "$ac_cv_use_std_string"
6807 if test "$no_cache" != 1; then
6808 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6809 fi
6810
6811 if test "$wxUSE_STD_STRING" = yes; then
6812 { echo "$as_me:$LINENO: result: yes" >&5
6813 echo "${ECHO_T}yes" >&6; }
6814 else
6815 { echo "$as_me:$LINENO: result: no" >&5
6816 echo "${ECHO_T}no" >&6; }
6817 fi
6818
6819
6820 enablestring=
6821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6823 no_cache=0
6824 # Check whether --enable-stdpaths was given.
6825 if test "${enable_stdpaths+set}" = set; then
6826 enableval=$enable_stdpaths;
6827 if test "$enableval" = yes; then
6828 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6829 else
6830 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6831 fi
6832
6833 else
6834
6835 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6836 if test "x$LINE" != x ; then
6837 eval "DEFAULT_$LINE"
6838 else
6839 no_cache=1
6840 fi
6841
6842 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6843
6844 fi
6845
6846
6847 eval "$ac_cv_use_stdpaths"
6848 if test "$no_cache" != 1; then
6849 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6850 fi
6851
6852 if test "$wxUSE_STDPATHS" = yes; then
6853 { echo "$as_me:$LINENO: result: yes" >&5
6854 echo "${ECHO_T}yes" >&6; }
6855 else
6856 { echo "$as_me:$LINENO: result: no" >&5
6857 echo "${ECHO_T}no" >&6; }
6858 fi
6859
6860
6861 enablestring=
6862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6863 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6864 no_cache=0
6865 # Check whether --enable-stopwatch was given.
6866 if test "${enable_stopwatch+set}" = set; then
6867 enableval=$enable_stopwatch;
6868 if test "$enableval" = yes; then
6869 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6870 else
6871 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6872 fi
6873
6874 else
6875
6876 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6877 if test "x$LINE" != x ; then
6878 eval "DEFAULT_$LINE"
6879 else
6880 no_cache=1
6881 fi
6882
6883 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6884
6885 fi
6886
6887
6888 eval "$ac_cv_use_stopwatch"
6889 if test "$no_cache" != 1; then
6890 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6891 fi
6892
6893 if test "$wxUSE_STOPWATCH" = yes; then
6894 { echo "$as_me:$LINENO: result: yes" >&5
6895 echo "${ECHO_T}yes" >&6; }
6896 else
6897 { echo "$as_me:$LINENO: result: no" >&5
6898 echo "${ECHO_T}no" >&6; }
6899 fi
6900
6901
6902 enablestring=
6903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6904 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6905 no_cache=0
6906 # Check whether --enable-streams was given.
6907 if test "${enable_streams+set}" = set; then
6908 enableval=$enable_streams;
6909 if test "$enableval" = yes; then
6910 ac_cv_use_streams='wxUSE_STREAMS=yes'
6911 else
6912 ac_cv_use_streams='wxUSE_STREAMS=no'
6913 fi
6914
6915 else
6916
6917 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6918 if test "x$LINE" != x ; then
6919 eval "DEFAULT_$LINE"
6920 else
6921 no_cache=1
6922 fi
6923
6924 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6925
6926 fi
6927
6928
6929 eval "$ac_cv_use_streams"
6930 if test "$no_cache" != 1; then
6931 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6932 fi
6933
6934 if test "$wxUSE_STREAMS" = yes; then
6935 { echo "$as_me:$LINENO: result: yes" >&5
6936 echo "${ECHO_T}yes" >&6; }
6937 else
6938 { echo "$as_me:$LINENO: result: no" >&5
6939 echo "${ECHO_T}no" >&6; }
6940 fi
6941
6942
6943 enablestring=
6944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6945 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6946 no_cache=0
6947 # Check whether --enable-system_options was given.
6948 if test "${enable_system_options+set}" = set; then
6949 enableval=$enable_system_options;
6950 if test "$enableval" = yes; then
6951 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6952 else
6953 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6954 fi
6955
6956 else
6957
6958 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6959 if test "x$LINE" != x ; then
6960 eval "DEFAULT_$LINE"
6961 else
6962 no_cache=1
6963 fi
6964
6965 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6966
6967 fi
6968
6969
6970 eval "$ac_cv_use_system_options"
6971 if test "$no_cache" != 1; then
6972 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6973 fi
6974
6975 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6976 { echo "$as_me:$LINENO: result: yes" >&5
6977 echo "${ECHO_T}yes" >&6; }
6978 else
6979 { echo "$as_me:$LINENO: result: no" >&5
6980 echo "${ECHO_T}no" >&6; }
6981 fi
6982
6983
6984 enablestring=
6985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6987 no_cache=0
6988 # Check whether --enable-tarstream was given.
6989 if test "${enable_tarstream+set}" = set; then
6990 enableval=$enable_tarstream;
6991 if test "$enableval" = yes; then
6992 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6993 else
6994 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6995 fi
6996
6997 else
6998
6999 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7000 if test "x$LINE" != x ; then
7001 eval "DEFAULT_$LINE"
7002 else
7003 no_cache=1
7004 fi
7005
7006 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7007
7008 fi
7009
7010
7011 eval "$ac_cv_use_tarstream"
7012 if test "$no_cache" != 1; then
7013 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7014 fi
7015
7016 if test "$wxUSE_TARSTREAM" = yes; then
7017 { echo "$as_me:$LINENO: result: yes" >&5
7018 echo "${ECHO_T}yes" >&6; }
7019 else
7020 { echo "$as_me:$LINENO: result: no" >&5
7021 echo "${ECHO_T}no" >&6; }
7022 fi
7023
7024
7025 enablestring=
7026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7027 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7028 no_cache=0
7029 # Check whether --enable-textbuf was given.
7030 if test "${enable_textbuf+set}" = set; then
7031 enableval=$enable_textbuf;
7032 if test "$enableval" = yes; then
7033 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7034 else
7035 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7036 fi
7037
7038 else
7039
7040 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7041 if test "x$LINE" != x ; then
7042 eval "DEFAULT_$LINE"
7043 else
7044 no_cache=1
7045 fi
7046
7047 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7048
7049 fi
7050
7051
7052 eval "$ac_cv_use_textbuf"
7053 if test "$no_cache" != 1; then
7054 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7055 fi
7056
7057 if test "$wxUSE_TEXTBUFFER" = yes; then
7058 { echo "$as_me:$LINENO: result: yes" >&5
7059 echo "${ECHO_T}yes" >&6; }
7060 else
7061 { echo "$as_me:$LINENO: result: no" >&5
7062 echo "${ECHO_T}no" >&6; }
7063 fi
7064
7065
7066 enablestring=
7067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7068 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7069 no_cache=0
7070 # Check whether --enable-textfile was given.
7071 if test "${enable_textfile+set}" = set; then
7072 enableval=$enable_textfile;
7073 if test "$enableval" = yes; then
7074 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7075 else
7076 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7077 fi
7078
7079 else
7080
7081 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7082 if test "x$LINE" != x ; then
7083 eval "DEFAULT_$LINE"
7084 else
7085 no_cache=1
7086 fi
7087
7088 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7089
7090 fi
7091
7092
7093 eval "$ac_cv_use_textfile"
7094 if test "$no_cache" != 1; then
7095 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7096 fi
7097
7098 if test "$wxUSE_TEXTFILE" = yes; then
7099 { echo "$as_me:$LINENO: result: yes" >&5
7100 echo "${ECHO_T}yes" >&6; }
7101 else
7102 { echo "$as_me:$LINENO: result: no" >&5
7103 echo "${ECHO_T}no" >&6; }
7104 fi
7105
7106
7107 enablestring=
7108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7109 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7110 no_cache=0
7111 # Check whether --enable-timer was given.
7112 if test "${enable_timer+set}" = set; then
7113 enableval=$enable_timer;
7114 if test "$enableval" = yes; then
7115 ac_cv_use_timer='wxUSE_TIMER=yes'
7116 else
7117 ac_cv_use_timer='wxUSE_TIMER=no'
7118 fi
7119
7120 else
7121
7122 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7123 if test "x$LINE" != x ; then
7124 eval "DEFAULT_$LINE"
7125 else
7126 no_cache=1
7127 fi
7128
7129 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7130
7131 fi
7132
7133
7134 eval "$ac_cv_use_timer"
7135 if test "$no_cache" != 1; then
7136 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7137 fi
7138
7139 if test "$wxUSE_TIMER" = yes; then
7140 { echo "$as_me:$LINENO: result: yes" >&5
7141 echo "${ECHO_T}yes" >&6; }
7142 else
7143 { echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6; }
7145 fi
7146
7147
7148 enablestring=
7149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7150 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7151 no_cache=0
7152 # Check whether --enable-unicode was given.
7153 if test "${enable_unicode+set}" = set; then
7154 enableval=$enable_unicode;
7155 if test "$enableval" = yes; then
7156 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7157 else
7158 ac_cv_use_unicode='wxUSE_UNICODE=no'
7159 fi
7160
7161 else
7162
7163 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7164 if test "x$LINE" != x ; then
7165 eval "DEFAULT_$LINE"
7166 else
7167 no_cache=1
7168 fi
7169
7170 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7171
7172 fi
7173
7174
7175 eval "$ac_cv_use_unicode"
7176 if test "$no_cache" != 1; then
7177 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7178 fi
7179
7180 if test "$wxUSE_UNICODE" = yes; then
7181 { echo "$as_me:$LINENO: result: yes" >&5
7182 echo "${ECHO_T}yes" >&6; }
7183 else
7184 { echo "$as_me:$LINENO: result: no" >&5
7185 echo "${ECHO_T}no" >&6; }
7186 fi
7187
7188
7189 enablestring=
7190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7191 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7192 no_cache=0
7193 # Check whether --enable-sound was given.
7194 if test "${enable_sound+set}" = set; then
7195 enableval=$enable_sound;
7196 if test "$enableval" = yes; then
7197 ac_cv_use_sound='wxUSE_SOUND=yes'
7198 else
7199 ac_cv_use_sound='wxUSE_SOUND=no'
7200 fi
7201
7202 else
7203
7204 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7205 if test "x$LINE" != x ; then
7206 eval "DEFAULT_$LINE"
7207 else
7208 no_cache=1
7209 fi
7210
7211 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7212
7213 fi
7214
7215
7216 eval "$ac_cv_use_sound"
7217 if test "$no_cache" != 1; then
7218 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7219 fi
7220
7221 if test "$wxUSE_SOUND" = yes; then
7222 { echo "$as_me:$LINENO: result: yes" >&5
7223 echo "${ECHO_T}yes" >&6; }
7224 else
7225 { echo "$as_me:$LINENO: result: no" >&5
7226 echo "${ECHO_T}no" >&6; }
7227 fi
7228
7229
7230 enablestring=
7231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7232 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7233 no_cache=0
7234 # Check whether --enable-mediactrl was given.
7235 if test "${enable_mediactrl+set}" = set; then
7236 enableval=$enable_mediactrl;
7237 if test "$enableval" = yes; then
7238 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7239 else
7240 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7241 fi
7242
7243 else
7244
7245 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7246 if test "x$LINE" != x ; then
7247 eval "DEFAULT_$LINE"
7248 else
7249 no_cache=1
7250 fi
7251
7252 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7253
7254 fi
7255
7256
7257 eval "$ac_cv_use_mediactrl"
7258 if test "$no_cache" != 1; then
7259 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7260 fi
7261
7262 if test "$wxUSE_MEDIACTRL" = yes; then
7263 { echo "$as_me:$LINENO: result: yes" >&5
7264 echo "${ECHO_T}yes" >&6; }
7265 else
7266 { echo "$as_me:$LINENO: result: no" >&5
7267 echo "${ECHO_T}no" >&6; }
7268 fi
7269
7270
7271 enablestring=
7272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7273 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7274 no_cache=0
7275 # Check whether --enable-gstreamer8 was given.
7276 if test "${enable_gstreamer8+set}" = set; then
7277 enableval=$enable_gstreamer8;
7278 if test "$enableval" = yes; then
7279 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7280 else
7281 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7282 fi
7283
7284 else
7285
7286 LINE=`grep "wxUSE_GSTREAMER8" ${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 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7294
7295 fi
7296
7297
7298 eval "$ac_cv_use_gstreamer8"
7299 if test "$no_cache" != 1; then
7300 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7301 fi
7302
7303 if test "$wxUSE_GSTREAMER8" = yes; then
7304 { echo "$as_me:$LINENO: result: yes" >&5
7305 echo "${ECHO_T}yes" >&6; }
7306 else
7307 { echo "$as_me:$LINENO: result: no" >&5
7308 echo "${ECHO_T}no" >&6; }
7309 fi
7310
7311
7312 enablestring=
7313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7314 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7315 no_cache=0
7316 # Check whether --enable-printfposparam was given.
7317 if test "${enable_printfposparam+set}" = set; then
7318 enableval=$enable_printfposparam;
7319 if test "$enableval" = yes; then
7320 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7321 else
7322 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7323 fi
7324
7325 else
7326
7327 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x ; then
7329 eval "DEFAULT_$LINE"
7330 else
7331 no_cache=1
7332 fi
7333
7334 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7335
7336 fi
7337
7338
7339 eval "$ac_cv_use_printfposparam"
7340 if test "$no_cache" != 1; then
7341 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7342 fi
7343
7344 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7345 { echo "$as_me:$LINENO: result: yes" >&5
7346 echo "${ECHO_T}yes" >&6; }
7347 else
7348 { echo "$as_me:$LINENO: result: no" >&5
7349 echo "${ECHO_T}no" >&6; }
7350 fi
7351
7352
7353 enablestring=
7354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7355 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7356 no_cache=0
7357 # Check whether --enable-zipstream was given.
7358 if test "${enable_zipstream+set}" = set; then
7359 enableval=$enable_zipstream;
7360 if test "$enableval" = yes; then
7361 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7362 else
7363 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7364 fi
7365
7366 else
7367
7368 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7369 if test "x$LINE" != x ; then
7370 eval "DEFAULT_$LINE"
7371 else
7372 no_cache=1
7373 fi
7374
7375 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7376
7377 fi
7378
7379
7380 eval "$ac_cv_use_zipstream"
7381 if test "$no_cache" != 1; then
7382 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7383 fi
7384
7385 if test "$wxUSE_ZIPSTREAM" = yes; then
7386 { echo "$as_me:$LINENO: result: yes" >&5
7387 echo "${ECHO_T}yes" >&6; }
7388 else
7389 { echo "$as_me:$LINENO: result: no" >&5
7390 echo "${ECHO_T}no" >&6; }
7391 fi
7392
7393
7394
7395 enablestring=
7396 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7397 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7398 no_cache=0
7399 # Check whether --enable-url was given.
7400 if test "${enable_url+set}" = set; then
7401 enableval=$enable_url;
7402 if test "$enableval" = yes; then
7403 ac_cv_use_url='wxUSE_URL=yes'
7404 else
7405 ac_cv_use_url='wxUSE_URL=no'
7406 fi
7407
7408 else
7409
7410 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7411 if test "x$LINE" != x ; then
7412 eval "DEFAULT_$LINE"
7413 else
7414 no_cache=1
7415 fi
7416
7417 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7418
7419 fi
7420
7421
7422 eval "$ac_cv_use_url"
7423 if test "$no_cache" != 1; then
7424 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7425 fi
7426
7427 if test "$wxUSE_URL" = yes; then
7428 { echo "$as_me:$LINENO: result: yes" >&5
7429 echo "${ECHO_T}yes" >&6; }
7430 else
7431 { echo "$as_me:$LINENO: result: no" >&5
7432 echo "${ECHO_T}no" >&6; }
7433 fi
7434
7435
7436 enablestring=
7437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7439 no_cache=0
7440 # Check whether --enable-variant was given.
7441 if test "${enable_variant+set}" = set; then
7442 enableval=$enable_variant;
7443 if test "$enableval" = yes; then
7444 ac_cv_use_variant='wxUSE_VARIANT=yes'
7445 else
7446 ac_cv_use_variant='wxUSE_VARIANT=no'
7447 fi
7448
7449 else
7450
7451 LINE=`grep "wxUSE_VARIANT" ${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 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7459
7460 fi
7461
7462
7463 eval "$ac_cv_use_variant"
7464 if test "$no_cache" != 1; then
7465 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7466 fi
7467
7468 if test "$wxUSE_VARIANT" = yes; then
7469 { echo "$as_me:$LINENO: result: yes" >&5
7470 echo "${ECHO_T}yes" >&6; }
7471 else
7472 { echo "$as_me:$LINENO: result: no" >&5
7473 echo "${ECHO_T}no" >&6; }
7474 fi
7475
7476
7477 enablestring=
7478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7479 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7480 no_cache=0
7481 # Check whether --enable-protocol was given.
7482 if test "${enable_protocol+set}" = set; then
7483 enableval=$enable_protocol;
7484 if test "$enableval" = yes; then
7485 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7486 else
7487 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7488 fi
7489
7490 else
7491
7492 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7493 if test "x$LINE" != x ; then
7494 eval "DEFAULT_$LINE"
7495 else
7496 no_cache=1
7497 fi
7498
7499 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7500
7501 fi
7502
7503
7504 eval "$ac_cv_use_protocol"
7505 if test "$no_cache" != 1; then
7506 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7507 fi
7508
7509 if test "$wxUSE_PROTOCOL" = yes; then
7510 { echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6; }
7512 else
7513 { echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6; }
7515 fi
7516
7517
7518 enablestring=
7519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7521 no_cache=0
7522 # Check whether --enable-protocol_http was given.
7523 if test "${enable_protocol_http+set}" = set; then
7524 enableval=$enable_protocol_http;
7525 if test "$enableval" = yes; then
7526 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7527 else
7528 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7529 fi
7530
7531 else
7532
7533 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7534 if test "x$LINE" != x ; then
7535 eval "DEFAULT_$LINE"
7536 else
7537 no_cache=1
7538 fi
7539
7540 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7541
7542 fi
7543
7544
7545 eval "$ac_cv_use_protocol_http"
7546 if test "$no_cache" != 1; then
7547 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7548 fi
7549
7550 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7551 { echo "$as_me:$LINENO: result: yes" >&5
7552 echo "${ECHO_T}yes" >&6; }
7553 else
7554 { echo "$as_me:$LINENO: result: no" >&5
7555 echo "${ECHO_T}no" >&6; }
7556 fi
7557
7558
7559 enablestring=
7560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7562 no_cache=0
7563 # Check whether --enable-protocol_ftp was given.
7564 if test "${enable_protocol_ftp+set}" = set; then
7565 enableval=$enable_protocol_ftp;
7566 if test "$enableval" = yes; then
7567 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7568 else
7569 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7570 fi
7571
7572 else
7573
7574 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7575 if test "x$LINE" != x ; then
7576 eval "DEFAULT_$LINE"
7577 else
7578 no_cache=1
7579 fi
7580
7581 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7582
7583 fi
7584
7585
7586 eval "$ac_cv_use_protocol_ftp"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7589 fi
7590
7591 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7592 { echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6; }
7594 else
7595 { echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6; }
7597 fi
7598
7599
7600 enablestring=
7601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7603 no_cache=0
7604 # Check whether --enable-protocol_file was given.
7605 if test "${enable_protocol_file+set}" = set; then
7606 enableval=$enable_protocol_file;
7607 if test "$enableval" = yes; then
7608 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7609 else
7610 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7611 fi
7612
7613 else
7614
7615 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7616 if test "x$LINE" != x ; then
7617 eval "DEFAULT_$LINE"
7618 else
7619 no_cache=1
7620 fi
7621
7622 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7623
7624 fi
7625
7626
7627 eval "$ac_cv_use_protocol_file"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7630 fi
7631
7632 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7633 { echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6; }
7635 else
7636 { echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6; }
7638 fi
7639
7640
7641
7642
7643
7644 enablestring=
7645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7647 no_cache=0
7648 # Check whether --enable-threads was given.
7649 if test "${enable_threads+set}" = set; then
7650 enableval=$enable_threads;
7651 if test "$enableval" = yes; then
7652 ac_cv_use_threads='wxUSE_THREADS=yes'
7653 else
7654 ac_cv_use_threads='wxUSE_THREADS=no'
7655 fi
7656
7657 else
7658
7659 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7660 if test "x$LINE" != x ; then
7661 eval "DEFAULT_$LINE"
7662 else
7663 no_cache=1
7664 fi
7665
7666 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7667
7668 fi
7669
7670
7671 eval "$ac_cv_use_threads"
7672 if test "$no_cache" != 1; then
7673 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7674 fi
7675
7676 if test "$wxUSE_THREADS" = yes; then
7677 { echo "$as_me:$LINENO: result: yes" >&5
7678 echo "${ECHO_T}yes" >&6; }
7679 else
7680 { echo "$as_me:$LINENO: result: no" >&5
7681 echo "${ECHO_T}no" >&6; }
7682 fi
7683
7684
7685 if test "$wxUSE_GUI" = "yes"; then
7686
7687
7688
7689 enablestring=
7690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7691 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7692 no_cache=0
7693 # Check whether --enable-docview was given.
7694 if test "${enable_docview+set}" = set; then
7695 enableval=$enable_docview;
7696 if test "$enableval" = yes; then
7697 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7698 else
7699 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7700 fi
7701
7702 else
7703
7704 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7705 if test "x$LINE" != x ; then
7706 eval "DEFAULT_$LINE"
7707 else
7708 no_cache=1
7709 fi
7710
7711 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7712
7713 fi
7714
7715
7716 eval "$ac_cv_use_docview"
7717 if test "$no_cache" != 1; then
7718 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7719 fi
7720
7721 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7722 { echo "$as_me:$LINENO: result: yes" >&5
7723 echo "${ECHO_T}yes" >&6; }
7724 else
7725 { echo "$as_me:$LINENO: result: no" >&5
7726 echo "${ECHO_T}no" >&6; }
7727 fi
7728
7729
7730 enablestring=
7731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7732 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7733 no_cache=0
7734 # Check whether --enable-help was given.
7735 if test "${enable_help+set}" = set; then
7736 enableval=$enable_help;
7737 if test "$enableval" = yes; then
7738 ac_cv_use_help='wxUSE_HELP=yes'
7739 else
7740 ac_cv_use_help='wxUSE_HELP=no'
7741 fi
7742
7743 else
7744
7745 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7746 if test "x$LINE" != x ; then
7747 eval "DEFAULT_$LINE"
7748 else
7749 no_cache=1
7750 fi
7751
7752 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7753
7754 fi
7755
7756
7757 eval "$ac_cv_use_help"
7758 if test "$no_cache" != 1; then
7759 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7760 fi
7761
7762 if test "$wxUSE_HELP" = yes; then
7763 { echo "$as_me:$LINENO: result: yes" >&5
7764 echo "${ECHO_T}yes" >&6; }
7765 else
7766 { echo "$as_me:$LINENO: result: no" >&5
7767 echo "${ECHO_T}no" >&6; }
7768 fi
7769
7770
7771 enablestring=
7772 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7773 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7774 no_cache=0
7775 # Check whether --enable-mshtmlhelp was given.
7776 if test "${enable_mshtmlhelp+set}" = set; then
7777 enableval=$enable_mshtmlhelp;
7778 if test "$enableval" = yes; then
7779 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7780 else
7781 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7782 fi
7783
7784 else
7785
7786 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7787 if test "x$LINE" != x ; then
7788 eval "DEFAULT_$LINE"
7789 else
7790 no_cache=1
7791 fi
7792
7793 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7794
7795 fi
7796
7797
7798 eval "$ac_cv_use_mshtmlhelp"
7799 if test "$no_cache" != 1; then
7800 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7801 fi
7802
7803 if test "$wxUSE_MS_HTML_HELP" = yes; then
7804 { echo "$as_me:$LINENO: result: yes" >&5
7805 echo "${ECHO_T}yes" >&6; }
7806 else
7807 { echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6; }
7809 fi
7810
7811
7812 enablestring=
7813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7814 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7815 no_cache=0
7816 # Check whether --enable-html was given.
7817 if test "${enable_html+set}" = set; then
7818 enableval=$enable_html;
7819 if test "$enableval" = yes; then
7820 ac_cv_use_html='wxUSE_HTML=yes'
7821 else
7822 ac_cv_use_html='wxUSE_HTML=no'
7823 fi
7824
7825 else
7826
7827 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7828 if test "x$LINE" != x ; then
7829 eval "DEFAULT_$LINE"
7830 else
7831 no_cache=1
7832 fi
7833
7834 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7835
7836 fi
7837
7838
7839 eval "$ac_cv_use_html"
7840 if test "$no_cache" != 1; then
7841 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7842 fi
7843
7844 if test "$wxUSE_HTML" = yes; then
7845 { echo "$as_me:$LINENO: result: yes" >&5
7846 echo "${ECHO_T}yes" >&6; }
7847 else
7848 { echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6; }
7850 fi
7851
7852
7853 enablestring=
7854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7855 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7856 no_cache=0
7857 # Check whether --enable-htmlhelp was given.
7858 if test "${enable_htmlhelp+set}" = set; then
7859 enableval=$enable_htmlhelp;
7860 if test "$enableval" = yes; then
7861 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7862 else
7863 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7864 fi
7865
7866 else
7867
7868 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7869 if test "x$LINE" != x ; then
7870 eval "DEFAULT_$LINE"
7871 else
7872 no_cache=1
7873 fi
7874
7875 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7876
7877 fi
7878
7879
7880 eval "$ac_cv_use_htmlhelp"
7881 if test "$no_cache" != 1; then
7882 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7883 fi
7884
7885 if test "$wxUSE_WXHTML_HELP" = yes; then
7886 { echo "$as_me:$LINENO: result: yes" >&5
7887 echo "${ECHO_T}yes" >&6; }
7888 else
7889 { echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6; }
7891 fi
7892
7893
7894 enablestring=
7895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7896 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7897 no_cache=0
7898 # Check whether --enable-xrc was given.
7899 if test "${enable_xrc+set}" = set; then
7900 enableval=$enable_xrc;
7901 if test "$enableval" = yes; then
7902 ac_cv_use_xrc='wxUSE_XRC=yes'
7903 else
7904 ac_cv_use_xrc='wxUSE_XRC=no'
7905 fi
7906
7907 else
7908
7909 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7910 if test "x$LINE" != x ; then
7911 eval "DEFAULT_$LINE"
7912 else
7913 no_cache=1
7914 fi
7915
7916 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7917
7918 fi
7919
7920
7921 eval "$ac_cv_use_xrc"
7922 if test "$no_cache" != 1; then
7923 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7924 fi
7925
7926 if test "$wxUSE_XRC" = yes; then
7927 { echo "$as_me:$LINENO: result: yes" >&5
7928 echo "${ECHO_T}yes" >&6; }
7929 else
7930 { echo "$as_me:$LINENO: result: no" >&5
7931 echo "${ECHO_T}no" >&6; }
7932 fi
7933
7934
7935 enablestring=
7936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7937 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7938 no_cache=0
7939 # Check whether --enable-aui was given.
7940 if test "${enable_aui+set}" = set; then
7941 enableval=$enable_aui;
7942 if test "$enableval" = yes; then
7943 ac_cv_use_aui='wxUSE_AUI=yes'
7944 else
7945 ac_cv_use_aui='wxUSE_AUI=no'
7946 fi
7947
7948 else
7949
7950 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7951 if test "x$LINE" != x ; then
7952 eval "DEFAULT_$LINE"
7953 else
7954 no_cache=1
7955 fi
7956
7957 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7958
7959 fi
7960
7961
7962 eval "$ac_cv_use_aui"
7963 if test "$no_cache" != 1; then
7964 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7965 fi
7966
7967 if test "$wxUSE_AUI" = yes; then
7968 { echo "$as_me:$LINENO: result: yes" >&5
7969 echo "${ECHO_T}yes" >&6; }
7970 else
7971 { echo "$as_me:$LINENO: result: no" >&5
7972 echo "${ECHO_T}no" >&6; }
7973 fi
7974
7975
7976 enablestring=
7977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7978 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
7979 no_cache=0
7980 # Check whether --enable-constraints was given.
7981 if test "${enable_constraints+set}" = set; then
7982 enableval=$enable_constraints;
7983 if test "$enableval" = yes; then
7984 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7985 else
7986 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7987 fi
7988
7989 else
7990
7991 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x ; then
7993 eval "DEFAULT_$LINE"
7994 else
7995 no_cache=1
7996 fi
7997
7998 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7999
8000 fi
8001
8002
8003 eval "$ac_cv_use_constraints"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8006 fi
8007
8008 if test "$wxUSE_CONSTRAINTS" = yes; then
8009 { echo "$as_me:$LINENO: result: yes" >&5
8010 echo "${ECHO_T}yes" >&6; }
8011 else
8012 { echo "$as_me:$LINENO: result: no" >&5
8013 echo "${ECHO_T}no" >&6; }
8014 fi
8015
8016
8017 enablestring=
8018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8019 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8020 no_cache=0
8021 # Check whether --enable-printarch was given.
8022 if test "${enable_printarch+set}" = set; then
8023 enableval=$enable_printarch;
8024 if test "$enableval" = yes; then
8025 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8026 else
8027 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8028 fi
8029
8030 else
8031
8032 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8033 if test "x$LINE" != x ; then
8034 eval "DEFAULT_$LINE"
8035 else
8036 no_cache=1
8037 fi
8038
8039 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8040
8041 fi
8042
8043
8044 eval "$ac_cv_use_printarch"
8045 if test "$no_cache" != 1; then
8046 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8047 fi
8048
8049 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8050 { echo "$as_me:$LINENO: result: yes" >&5
8051 echo "${ECHO_T}yes" >&6; }
8052 else
8053 { echo "$as_me:$LINENO: result: no" >&5
8054 echo "${ECHO_T}no" >&6; }
8055 fi
8056
8057
8058 enablestring=
8059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8060 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8061 no_cache=0
8062 # Check whether --enable-mdi was given.
8063 if test "${enable_mdi+set}" = set; then
8064 enableval=$enable_mdi;
8065 if test "$enableval" = yes; then
8066 ac_cv_use_mdi='wxUSE_MDI=yes'
8067 else
8068 ac_cv_use_mdi='wxUSE_MDI=no'
8069 fi
8070
8071 else
8072
8073 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8074 if test "x$LINE" != x ; then
8075 eval "DEFAULT_$LINE"
8076 else
8077 no_cache=1
8078 fi
8079
8080 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8081
8082 fi
8083
8084
8085 eval "$ac_cv_use_mdi"
8086 if test "$no_cache" != 1; then
8087 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8088 fi
8089
8090 if test "$wxUSE_MDI" = yes; then
8091 { echo "$as_me:$LINENO: result: yes" >&5
8092 echo "${ECHO_T}yes" >&6; }
8093 else
8094 { echo "$as_me:$LINENO: result: no" >&5
8095 echo "${ECHO_T}no" >&6; }
8096 fi
8097
8098
8099 enablestring=
8100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8101 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8102 no_cache=0
8103 # Check whether --enable-mdidoc was given.
8104 if test "${enable_mdidoc+set}" = set; then
8105 enableval=$enable_mdidoc;
8106 if test "$enableval" = yes; then
8107 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8108 else
8109 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8110 fi
8111
8112 else
8113
8114 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8115 if test "x$LINE" != x ; then
8116 eval "DEFAULT_$LINE"
8117 else
8118 no_cache=1
8119 fi
8120
8121 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8122
8123 fi
8124
8125
8126 eval "$ac_cv_use_mdidoc"
8127 if test "$no_cache" != 1; then
8128 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8129 fi
8130
8131 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8132 { echo "$as_me:$LINENO: result: yes" >&5
8133 echo "${ECHO_T}yes" >&6; }
8134 else
8135 { echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6; }
8137 fi
8138
8139
8140 enablestring=
8141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8143 no_cache=0
8144 # Check whether --enable-loggui was given.
8145 if test "${enable_loggui+set}" = set; then
8146 enableval=$enable_loggui;
8147 if test "$enableval" = yes; then
8148 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8149 else
8150 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8151 fi
8152
8153 else
8154
8155 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8156 if test "x$LINE" != x ; then
8157 eval "DEFAULT_$LINE"
8158 else
8159 no_cache=1
8160 fi
8161
8162 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8163
8164 fi
8165
8166
8167 eval "$ac_cv_use_loggui"
8168 if test "$no_cache" != 1; then
8169 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8170 fi
8171
8172 if test "$wxUSE_LOGGUI" = yes; then
8173 { echo "$as_me:$LINENO: result: yes" >&5
8174 echo "${ECHO_T}yes" >&6; }
8175 else
8176 { echo "$as_me:$LINENO: result: no" >&5
8177 echo "${ECHO_T}no" >&6; }
8178 fi
8179
8180
8181 enablestring=
8182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8183 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8184 no_cache=0
8185 # Check whether --enable-logwin was given.
8186 if test "${enable_logwin+set}" = set; then
8187 enableval=$enable_logwin;
8188 if test "$enableval" = yes; then
8189 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8190 else
8191 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8192 fi
8193
8194 else
8195
8196 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8197 if test "x$LINE" != x ; then
8198 eval "DEFAULT_$LINE"
8199 else
8200 no_cache=1
8201 fi
8202
8203 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8204
8205 fi
8206
8207
8208 eval "$ac_cv_use_logwin"
8209 if test "$no_cache" != 1; then
8210 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8211 fi
8212
8213 if test "$wxUSE_LOGWINDOW" = yes; then
8214 { echo "$as_me:$LINENO: result: yes" >&5
8215 echo "${ECHO_T}yes" >&6; }
8216 else
8217 { echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6; }
8219 fi
8220
8221
8222 enablestring=
8223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8224 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8225 no_cache=0
8226 # Check whether --enable-logdialog was given.
8227 if test "${enable_logdialog+set}" = set; then
8228 enableval=$enable_logdialog;
8229 if test "$enableval" = yes; then
8230 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8231 else
8232 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8233 fi
8234
8235 else
8236
8237 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8238 if test "x$LINE" != x ; then
8239 eval "DEFAULT_$LINE"
8240 else
8241 no_cache=1
8242 fi
8243
8244 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8245
8246 fi
8247
8248
8249 eval "$ac_cv_use_logdialog"
8250 if test "$no_cache" != 1; then
8251 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8252 fi
8253
8254 if test "$wxUSE_LOGDIALOG" = yes; then
8255 { echo "$as_me:$LINENO: result: yes" >&5
8256 echo "${ECHO_T}yes" >&6; }
8257 else
8258 { echo "$as_me:$LINENO: result: no" >&5
8259 echo "${ECHO_T}no" >&6; }
8260 fi
8261
8262
8263 enablestring=
8264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8265 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8266 no_cache=0
8267 # Check whether --enable-webkit was given.
8268 if test "${enable_webkit+set}" = set; then
8269 enableval=$enable_webkit;
8270 if test "$enableval" = yes; then
8271 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8272 else
8273 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8274 fi
8275
8276 else
8277
8278 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8279 if test "x$LINE" != x ; then
8280 eval "DEFAULT_$LINE"
8281 else
8282 no_cache=1
8283 fi
8284
8285 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8286
8287 fi
8288
8289
8290 eval "$ac_cv_use_webkit"
8291 if test "$no_cache" != 1; then
8292 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8293 fi
8294
8295 if test "$wxUSE_WEBKIT" = yes; then
8296 { echo "$as_me:$LINENO: result: yes" >&5
8297 echo "${ECHO_T}yes" >&6; }
8298 else
8299 { echo "$as_me:$LINENO: result: no" >&5
8300 echo "${ECHO_T}no" >&6; }
8301 fi
8302
8303
8304 enablestring=
8305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8306 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8307 no_cache=0
8308 # Check whether --enable-richtext was given.
8309 if test "${enable_richtext+set}" = set; then
8310 enableval=$enable_richtext;
8311 if test "$enableval" = yes; then
8312 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8313 else
8314 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8315 fi
8316
8317 else
8318
8319 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8320 if test "x$LINE" != x ; then
8321 eval "DEFAULT_$LINE"
8322 else
8323 no_cache=1
8324 fi
8325
8326 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8327
8328 fi
8329
8330
8331 eval "$ac_cv_use_richtext"
8332 if test "$no_cache" != 1; then
8333 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8334 fi
8335
8336 if test "$wxUSE_RICHTEXT" = yes; then
8337 { echo "$as_me:$LINENO: result: yes" >&5
8338 echo "${ECHO_T}yes" >&6; }
8339 else
8340 { echo "$as_me:$LINENO: result: no" >&5
8341 echo "${ECHO_T}no" >&6; }
8342 fi
8343
8344
8345 enablestring=
8346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8347 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8348 no_cache=0
8349 # Check whether --enable-graphics_ctx was given.
8350 if test "${enable_graphics_ctx+set}" = set; then
8351 enableval=$enable_graphics_ctx;
8352 if test "$enableval" = yes; then
8353 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8354 else
8355 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8356 fi
8357
8358 else
8359
8360 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8361 if test "x$LINE" != x ; then
8362 eval "DEFAULT_$LINE"
8363 else
8364 no_cache=1
8365 fi
8366
8367 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8368
8369 fi
8370
8371
8372 eval "$ac_cv_use_graphics_ctx"
8373 if test "$no_cache" != 1; then
8374 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8375 fi
8376
8377 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8378 { echo "$as_me:$LINENO: result: yes" >&5
8379 echo "${ECHO_T}yes" >&6; }
8380 else
8381 { echo "$as_me:$LINENO: result: no" >&5
8382 echo "${ECHO_T}no" >&6; }
8383 fi
8384
8385
8386
8387 enablestring=
8388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8390 no_cache=0
8391 # Check whether --enable-postscript was given.
8392 if test "${enable_postscript+set}" = set; then
8393 enableval=$enable_postscript;
8394 if test "$enableval" = yes; then
8395 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8396 else
8397 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8398 fi
8399
8400 else
8401
8402 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8403 if test "x$LINE" != x ; then
8404 eval "DEFAULT_$LINE"
8405 else
8406 no_cache=1
8407 fi
8408
8409 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8410
8411 fi
8412
8413
8414 eval "$ac_cv_use_postscript"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8417 fi
8418
8419 if test "$wxUSE_POSTSCRIPT" = yes; then
8420 { echo "$as_me:$LINENO: result: yes" >&5
8421 echo "${ECHO_T}yes" >&6; }
8422 else
8423 { echo "$as_me:$LINENO: result: no" >&5
8424 echo "${ECHO_T}no" >&6; }
8425 fi
8426
8427
8428
8429
8430
8431 enablestring=
8432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
8433 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6; }
8434 no_cache=0
8435 # Check whether --enable-prologio was given.
8436 if test "${enable_prologio+set}" = set; then
8437 enableval=$enable_prologio;
8438 if test "$enableval" = yes; then
8439 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
8440 else
8441 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
8442 fi
8443
8444 else
8445
8446 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
8447 if test "x$LINE" != x ; then
8448 eval "DEFAULT_$LINE"
8449 else
8450 no_cache=1
8451 fi
8452
8453 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
8454
8455 fi
8456
8457
8458 eval "$ac_cv_use_prologio"
8459 if test "$no_cache" != 1; then
8460 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
8461 fi
8462
8463 if test "$wxUSE_PROLOGIO" = yes; then
8464 { echo "$as_me:$LINENO: result: yes" >&5
8465 echo "${ECHO_T}yes" >&6; }
8466 else
8467 { echo "$as_me:$LINENO: result: no" >&5
8468 echo "${ECHO_T}no" >&6; }
8469 fi
8470
8471
8472 enablestring=
8473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
8474 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6; }
8475 no_cache=0
8476 # Check whether --enable-resources was given.
8477 if test "${enable_resources+set}" = set; then
8478 enableval=$enable_resources;
8479 if test "$enableval" = yes; then
8480 ac_cv_use_resources='wxUSE_RESOURCES=yes'
8481 else
8482 ac_cv_use_resources='wxUSE_RESOURCES=no'
8483 fi
8484
8485 else
8486
8487 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
8488 if test "x$LINE" != x ; then
8489 eval "DEFAULT_$LINE"
8490 else
8491 no_cache=1
8492 fi
8493
8494 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
8495
8496 fi
8497
8498
8499 eval "$ac_cv_use_resources"
8500 if test "$no_cache" != 1; then
8501 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
8502 fi
8503
8504 if test "$wxUSE_RESOURCES" = yes; then
8505 { echo "$as_me:$LINENO: result: yes" >&5
8506 echo "${ECHO_T}yes" >&6; }
8507 else
8508 { echo "$as_me:$LINENO: result: no" >&5
8509 echo "${ECHO_T}no" >&6; }
8510 fi
8511
8512
8513
8514
8515 enablestring=
8516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8517 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8518 no_cache=0
8519 # Check whether --enable-clipboard was given.
8520 if test "${enable_clipboard+set}" = set; then
8521 enableval=$enable_clipboard;
8522 if test "$enableval" = yes; then
8523 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8524 else
8525 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8526 fi
8527
8528 else
8529
8530 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8531 if test "x$LINE" != x ; then
8532 eval "DEFAULT_$LINE"
8533 else
8534 no_cache=1
8535 fi
8536
8537 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8538
8539 fi
8540
8541
8542 eval "$ac_cv_use_clipboard"
8543 if test "$no_cache" != 1; then
8544 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8545 fi
8546
8547 if test "$wxUSE_CLIPBOARD" = yes; then
8548 { echo "$as_me:$LINENO: result: yes" >&5
8549 echo "${ECHO_T}yes" >&6; }
8550 else
8551 { echo "$as_me:$LINENO: result: no" >&5
8552 echo "${ECHO_T}no" >&6; }
8553 fi
8554
8555
8556 enablestring=
8557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8558 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8559 no_cache=0
8560 # Check whether --enable-dnd was given.
8561 if test "${enable_dnd+set}" = set; then
8562 enableval=$enable_dnd;
8563 if test "$enableval" = yes; then
8564 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8565 else
8566 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8567 fi
8568
8569 else
8570
8571 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8572 if test "x$LINE" != x ; then
8573 eval "DEFAULT_$LINE"
8574 else
8575 no_cache=1
8576 fi
8577
8578 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8579
8580 fi
8581
8582
8583 eval "$ac_cv_use_dnd"
8584 if test "$no_cache" != 1; then
8585 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8586 fi
8587
8588 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8589 { echo "$as_me:$LINENO: result: yes" >&5
8590 echo "${ECHO_T}yes" >&6; }
8591 else
8592 { echo "$as_me:$LINENO: result: no" >&5
8593 echo "${ECHO_T}no" >&6; }
8594 fi
8595
8596
8597 enablestring=
8598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8599 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8600 no_cache=0
8601 # Check whether --enable-metafile was given.
8602 if test "${enable_metafile+set}" = set; then
8603 enableval=$enable_metafile;
8604 if test "$enableval" = yes; then
8605 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8606 else
8607 ac_cv_use_metafile='wxUSE_METAFILE=no'
8608 fi
8609
8610 else
8611
8612 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x ; then
8614 eval "DEFAULT_$LINE"
8615 else
8616 no_cache=1
8617 fi
8618
8619 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8620
8621 fi
8622
8623
8624 eval "$ac_cv_use_metafile"
8625 if test "$no_cache" != 1; then
8626 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8627 fi
8628
8629 if test "$wxUSE_METAFILE" = yes; then
8630 { echo "$as_me:$LINENO: result: yes" >&5
8631 echo "${ECHO_T}yes" >&6; }
8632 else
8633 { echo "$as_me:$LINENO: result: no" >&5
8634 echo "${ECHO_T}no" >&6; }
8635 fi
8636
8637
8638
8639
8640
8641 enablestring=
8642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8643 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8644 no_cache=0
8645 # Check whether --enable-controls was given.
8646 if test "${enable_controls+set}" = set; then
8647 enableval=$enable_controls;
8648 if test "$enableval" = yes; then
8649 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8650 else
8651 ac_cv_use_controls='wxUSE_CONTROLS=no'
8652 fi
8653
8654 else
8655
8656 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8657 if test "x$LINE" != x ; then
8658 eval "DEFAULT_$LINE"
8659 else
8660 no_cache=1
8661 fi
8662
8663 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8664
8665 fi
8666
8667
8668 eval "$ac_cv_use_controls"
8669 if test "$no_cache" != 1; then
8670 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8671 fi
8672
8673 if test "$wxUSE_CONTROLS" = yes; then
8674 { echo "$as_me:$LINENO: result: yes" >&5
8675 echo "${ECHO_T}yes" >&6; }
8676 else
8677 { echo "$as_me:$LINENO: result: no" >&5
8678 echo "${ECHO_T}no" >&6; }
8679 fi
8680
8681
8682 if test "$wxUSE_CONTROLS" = "yes"; then
8683 DEFAULT_wxUSE_ACCEL=yes
8684 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8685 DEFAULT_wxUSE_BMPBUTTON=yes
8686 DEFAULT_wxUSE_BUTTON=yes
8687 DEFAULT_wxUSE_CALCTRL=yes
8688 DEFAULT_wxUSE_CARET=yes
8689 DEFAULT_wxUSE_COMBOBOX=yes
8690 DEFAULT_wxUSE_CHECKBOX=yes
8691 DEFAULT_wxUSE_CHECKLISTBOX=yes
8692 DEFAULT_wxUSE_CHOICE=yes
8693 DEFAULT_wxUSE_CHOICEBOOK=yes
8694 DEFAULT_wxUSE_COLLPANE=yes
8695 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8696 DEFAULT_wxUSE_COMBOBOX=yes
8697 DEFAULT_wxUSE_DATEPICKCTRL=yes
8698 DEFAULT_wxUSE_DISPLAY=yes
8699 DEFAULT_wxUSE_DETECT_SM=yes
8700 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8701 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8702 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8703 DEFAULT_wxUSE_GAUGE=yes
8704 DEFAULT_wxUSE_GRID=yes
8705 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8706 DEFAULT_wxUSE_DATAVIEWCTRL=no
8707 DEFAULT_wxUSE_IMAGLIST=yes
8708 DEFAULT_wxUSE_LISTBOOK=yes
8709 DEFAULT_wxUSE_LISTBOX=yes
8710 DEFAULT_wxUSE_LISTCTRL=yes
8711 DEFAULT_wxUSE_NOTEBOOK=yes
8712 DEFAULT_wxUSE_RADIOBOX=yes
8713 DEFAULT_wxUSE_RADIOBTN=yes
8714 DEFAULT_wxUSE_SASH=yes
8715 DEFAULT_wxUSE_SCROLLBAR=yes
8716 DEFAULT_wxUSE_SEARCHCTRL=yes
8717 DEFAULT_wxUSE_SLIDER=yes
8718 DEFAULT_wxUSE_SPINBTN=yes
8719 DEFAULT_wxUSE_SPINCTRL=yes
8720 DEFAULT_wxUSE_SPLITTER=yes
8721 DEFAULT_wxUSE_STATBMP=yes
8722 DEFAULT_wxUSE_STATBOX=yes
8723 DEFAULT_wxUSE_STATLINE=yes
8724 DEFAULT_wxUSE_STATUSBAR=yes
8725 DEFAULT_wxUSE_TAB_DIALOG=yes
8726 DEFAULT_wxUSE_TOGGLEBTN=yes
8727 DEFAULT_wxUSE_TOOLBAR=yes
8728 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8729 DEFAULT_wxUSE_TOOLTIPS=yes
8730 DEFAULT_wxUSE_TREEBOOK=yes
8731 DEFAULT_wxUSE_TOOLBOOK=yes
8732 DEFAULT_wxUSE_TREECTRL=yes
8733 DEFAULT_wxUSE_POPUPWIN=yes
8734 DEFAULT_wxUSE_TIPWINDOW=yes
8735 elif test "$wxUSE_CONTROLS" = "no"; then
8736 DEFAULT_wxUSE_ACCEL=no
8737 DEFAULT_wxUSE_ANIMATIONCTRL=no
8738 DEFAULT_wxUSE_BMPBUTTON=no
8739 DEFAULT_wxUSE_BUTTON=no
8740 DEFAULT_wxUSE_CALCTRL=no
8741 DEFAULT_wxUSE_CARET=no
8742 DEFAULT_wxUSE_COLLPANE=no
8743 DEFAULT_wxUSE_COMBOBOX=no
8744 DEFAULT_wxUSE_CHECKBOX=no
8745 DEFAULT_wxUSE_CHECKLISTBOX=no
8746 DEFAULT_wxUSE_CHOICE=no
8747 DEFAULT_wxUSE_CHOICEBOOK=no
8748 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8749 DEFAULT_wxUSE_COMBOBOX=no
8750 DEFAULT_wxUSE_DATEPICKCTRL=no
8751 DEFAULT_wxUSE_DISPLAY=no
8752 DEFAULT_wxUSE_DETECT_SM=no
8753 DEFAULT_wxUSE_DIRPICKERCTRL=no
8754 DEFAULT_wxUSE_FILEPICKERCTRL=no
8755 DEFAULT_wxUSE_FONTPICKERCTRL=no
8756 DEFAULT_wxUSE_GAUGE=no
8757 DEFAULT_wxUSE_GRID=no
8758 DEFAULT_wxUSE_HYPERLINKCTRL=no
8759 DEFAULT_wxUSE_DATAVIEWCTRL=no
8760 DEFAULT_wxUSE_IMAGLIST=no
8761 DEFAULT_wxUSE_LISTBOOK=no
8762 DEFAULT_wxUSE_LISTBOX=no
8763 DEFAULT_wxUSE_LISTCTRL=no
8764 DEFAULT_wxUSE_NOTEBOOK=no
8765 DEFAULT_wxUSE_RADIOBOX=no
8766 DEFAULT_wxUSE_RADIOBTN=no
8767 DEFAULT_wxUSE_SASH=no
8768 DEFAULT_wxUSE_SCROLLBAR=no
8769 DEFAULT_wxUSE_SEARCHCTRL=no
8770 DEFAULT_wxUSE_SLIDER=no
8771 DEFAULT_wxUSE_SPINBTN=no
8772 DEFAULT_wxUSE_SPINCTRL=no
8773 DEFAULT_wxUSE_SPLITTER=no
8774 DEFAULT_wxUSE_STATBMP=no
8775 DEFAULT_wxUSE_STATBOX=no
8776 DEFAULT_wxUSE_STATLINE=no
8777 DEFAULT_wxUSE_STATUSBAR=no
8778 DEFAULT_wxUSE_TAB_DIALOG=no
8779 DEFAULT_wxUSE_TOGGLEBTN=no
8780 DEFAULT_wxUSE_TOOLBAR=no
8781 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8782 DEFAULT_wxUSE_TOOLTIPS=no
8783 DEFAULT_wxUSE_TREEBOOK=no
8784 DEFAULT_wxUSE_TOOLBOOK=no
8785 DEFAULT_wxUSE_TREECTRL=no
8786 DEFAULT_wxUSE_POPUPWIN=no
8787 DEFAULT_wxUSE_TIPWINDOW=no
8788 fi
8789
8790
8791 enablestring=
8792 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8793 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8794 no_cache=0
8795 # Check whether --enable-accel was given.
8796 if test "${enable_accel+set}" = set; then
8797 enableval=$enable_accel;
8798 if test "$enableval" = yes; then
8799 ac_cv_use_accel='wxUSE_ACCEL=yes'
8800 else
8801 ac_cv_use_accel='wxUSE_ACCEL=no'
8802 fi
8803
8804 else
8805
8806 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8807 if test "x$LINE" != x ; then
8808 eval "DEFAULT_$LINE"
8809 else
8810 no_cache=1
8811 fi
8812
8813 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8814
8815 fi
8816
8817
8818 eval "$ac_cv_use_accel"
8819 if test "$no_cache" != 1; then
8820 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8821 fi
8822
8823 if test "$wxUSE_ACCEL" = yes; then
8824 { echo "$as_me:$LINENO: result: yes" >&5
8825 echo "${ECHO_T}yes" >&6; }
8826 else
8827 { echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6; }
8829 fi
8830
8831
8832 enablestring=
8833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8834 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8835 no_cache=0
8836 # Check whether --enable-animatectrl was given.
8837 if test "${enable_animatectrl+set}" = set; then
8838 enableval=$enable_animatectrl;
8839 if test "$enableval" = yes; then
8840 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8841 else
8842 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8843 fi
8844
8845 else
8846
8847 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8848 if test "x$LINE" != x ; then
8849 eval "DEFAULT_$LINE"
8850 else
8851 no_cache=1
8852 fi
8853
8854 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8855
8856 fi
8857
8858
8859 eval "$ac_cv_use_animatectrl"
8860 if test "$no_cache" != 1; then
8861 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8862 fi
8863
8864 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8865 { echo "$as_me:$LINENO: result: yes" >&5
8866 echo "${ECHO_T}yes" >&6; }
8867 else
8868 { echo "$as_me:$LINENO: result: no" >&5
8869 echo "${ECHO_T}no" >&6; }
8870 fi
8871
8872
8873 enablestring=
8874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8875 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8876 no_cache=0
8877 # Check whether --enable-button was given.
8878 if test "${enable_button+set}" = set; then
8879 enableval=$enable_button;
8880 if test "$enableval" = yes; then
8881 ac_cv_use_button='wxUSE_BUTTON=yes'
8882 else
8883 ac_cv_use_button='wxUSE_BUTTON=no'
8884 fi
8885
8886 else
8887
8888 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8889 if test "x$LINE" != x ; then
8890 eval "DEFAULT_$LINE"
8891 else
8892 no_cache=1
8893 fi
8894
8895 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8896
8897 fi
8898
8899
8900 eval "$ac_cv_use_button"
8901 if test "$no_cache" != 1; then
8902 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8903 fi
8904
8905 if test "$wxUSE_BUTTON" = yes; then
8906 { echo "$as_me:$LINENO: result: yes" >&5
8907 echo "${ECHO_T}yes" >&6; }
8908 else
8909 { echo "$as_me:$LINENO: result: no" >&5
8910 echo "${ECHO_T}no" >&6; }
8911 fi
8912
8913
8914 enablestring=
8915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8916 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8917 no_cache=0
8918 # Check whether --enable-bmpbutton was given.
8919 if test "${enable_bmpbutton+set}" = set; then
8920 enableval=$enable_bmpbutton;
8921 if test "$enableval" = yes; then
8922 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8923 else
8924 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8925 fi
8926
8927 else
8928
8929 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8930 if test "x$LINE" != x ; then
8931 eval "DEFAULT_$LINE"
8932 else
8933 no_cache=1
8934 fi
8935
8936 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8937
8938 fi
8939
8940
8941 eval "$ac_cv_use_bmpbutton"
8942 if test "$no_cache" != 1; then
8943 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8944 fi
8945
8946 if test "$wxUSE_BMPBUTTON" = yes; then
8947 { echo "$as_me:$LINENO: result: yes" >&5
8948 echo "${ECHO_T}yes" >&6; }
8949 else
8950 { echo "$as_me:$LINENO: result: no" >&5
8951 echo "${ECHO_T}no" >&6; }
8952 fi
8953
8954
8955 enablestring=
8956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8957 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8958 no_cache=0
8959 # Check whether --enable-bmpcombobox was given.
8960 if test "${enable_bmpcombobox+set}" = set; then
8961 enableval=$enable_bmpcombobox;
8962 if test "$enableval" = yes; then
8963 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8964 else
8965 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8966 fi
8967
8968 else
8969
8970 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8971 if test "x$LINE" != x ; then
8972 eval "DEFAULT_$LINE"
8973 else
8974 no_cache=1
8975 fi
8976
8977 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8978
8979 fi
8980
8981
8982 eval "$ac_cv_use_bmpcombobox"
8983 if test "$no_cache" != 1; then
8984 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8985 fi
8986
8987 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8988 { echo "$as_me:$LINENO: result: yes" >&5
8989 echo "${ECHO_T}yes" >&6; }
8990 else
8991 { echo "$as_me:$LINENO: result: no" >&5
8992 echo "${ECHO_T}no" >&6; }
8993 fi
8994
8995
8996 enablestring=
8997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8998 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8999 no_cache=0
9000 # Check whether --enable-calendar was given.
9001 if test "${enable_calendar+set}" = set; then
9002 enableval=$enable_calendar;
9003 if test "$enableval" = yes; then
9004 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9005 else
9006 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9007 fi
9008
9009 else
9010
9011 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
9012 if test "x$LINE" != x ; then
9013 eval "DEFAULT_$LINE"
9014 else
9015 no_cache=1
9016 fi
9017
9018 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9019
9020 fi
9021
9022
9023 eval "$ac_cv_use_calendar"
9024 if test "$no_cache" != 1; then
9025 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9026 fi
9027
9028 if test "$wxUSE_CALCTRL" = yes; then
9029 { echo "$as_me:$LINENO: result: yes" >&5
9030 echo "${ECHO_T}yes" >&6; }
9031 else
9032 { echo "$as_me:$LINENO: result: no" >&5
9033 echo "${ECHO_T}no" >&6; }
9034 fi
9035
9036
9037 enablestring=
9038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9039 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9040 no_cache=0
9041 # Check whether --enable-caret was given.
9042 if test "${enable_caret+set}" = set; then
9043 enableval=$enable_caret;
9044 if test "$enableval" = yes; then
9045 ac_cv_use_caret='wxUSE_CARET=yes'
9046 else
9047 ac_cv_use_caret='wxUSE_CARET=no'
9048 fi
9049
9050 else
9051
9052 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9053 if test "x$LINE" != x ; then
9054 eval "DEFAULT_$LINE"
9055 else
9056 no_cache=1
9057 fi
9058
9059 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9060
9061 fi
9062
9063
9064 eval "$ac_cv_use_caret"
9065 if test "$no_cache" != 1; then
9066 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9067 fi
9068
9069 if test "$wxUSE_CARET" = yes; then
9070 { echo "$as_me:$LINENO: result: yes" >&5
9071 echo "${ECHO_T}yes" >&6; }
9072 else
9073 { echo "$as_me:$LINENO: result: no" >&5
9074 echo "${ECHO_T}no" >&6; }
9075 fi
9076
9077
9078 enablestring=
9079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9080 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9081 no_cache=0
9082 # Check whether --enable-checkbox was given.
9083 if test "${enable_checkbox+set}" = set; then
9084 enableval=$enable_checkbox;
9085 if test "$enableval" = yes; then
9086 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9087 else
9088 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9089 fi
9090
9091 else
9092
9093 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9094 if test "x$LINE" != x ; then
9095 eval "DEFAULT_$LINE"
9096 else
9097 no_cache=1
9098 fi
9099
9100 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9101
9102 fi
9103
9104
9105 eval "$ac_cv_use_checkbox"
9106 if test "$no_cache" != 1; then
9107 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9108 fi
9109
9110 if test "$wxUSE_CHECKBOX" = yes; then
9111 { echo "$as_me:$LINENO: result: yes" >&5
9112 echo "${ECHO_T}yes" >&6; }
9113 else
9114 { echo "$as_me:$LINENO: result: no" >&5
9115 echo "${ECHO_T}no" >&6; }
9116 fi
9117
9118
9119 enablestring=
9120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9121 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9122 no_cache=0
9123 # Check whether --enable-checklst was given.
9124 if test "${enable_checklst+set}" = set; then
9125 enableval=$enable_checklst;
9126 if test "$enableval" = yes; then
9127 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9128 else
9129 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9130 fi
9131
9132 else
9133
9134 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9135 if test "x$LINE" != x ; then
9136 eval "DEFAULT_$LINE"
9137 else
9138 no_cache=1
9139 fi
9140
9141 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9142
9143 fi
9144
9145
9146 eval "$ac_cv_use_checklst"
9147 if test "$no_cache" != 1; then
9148 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9149 fi
9150
9151 if test "$wxUSE_CHECKLST" = yes; then
9152 { echo "$as_me:$LINENO: result: yes" >&5
9153 echo "${ECHO_T}yes" >&6; }
9154 else
9155 { echo "$as_me:$LINENO: result: no" >&5
9156 echo "${ECHO_T}no" >&6; }
9157 fi
9158
9159
9160 enablestring=
9161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9162 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9163 no_cache=0
9164 # Check whether --enable-choice was given.
9165 if test "${enable_choice+set}" = set; then
9166 enableval=$enable_choice;
9167 if test "$enableval" = yes; then
9168 ac_cv_use_choice='wxUSE_CHOICE=yes'
9169 else
9170 ac_cv_use_choice='wxUSE_CHOICE=no'
9171 fi
9172
9173 else
9174
9175 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9176 if test "x$LINE" != x ; then
9177 eval "DEFAULT_$LINE"
9178 else
9179 no_cache=1
9180 fi
9181
9182 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9183
9184 fi
9185
9186
9187 eval "$ac_cv_use_choice"
9188 if test "$no_cache" != 1; then
9189 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9190 fi
9191
9192 if test "$wxUSE_CHOICE" = yes; then
9193 { echo "$as_me:$LINENO: result: yes" >&5
9194 echo "${ECHO_T}yes" >&6; }
9195 else
9196 { echo "$as_me:$LINENO: result: no" >&5
9197 echo "${ECHO_T}no" >&6; }
9198 fi
9199
9200
9201 enablestring=
9202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9203 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9204 no_cache=0
9205 # Check whether --enable-choicebook was given.
9206 if test "${enable_choicebook+set}" = set; then
9207 enableval=$enable_choicebook;
9208 if test "$enableval" = yes; then
9209 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9210 else
9211 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9212 fi
9213
9214 else
9215
9216 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9217 if test "x$LINE" != x ; then
9218 eval "DEFAULT_$LINE"
9219 else
9220 no_cache=1
9221 fi
9222
9223 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9224
9225 fi
9226
9227
9228 eval "$ac_cv_use_choicebook"
9229 if test "$no_cache" != 1; then
9230 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9231 fi
9232
9233 if test "$wxUSE_CHOICEBOOK" = yes; then
9234 { echo "$as_me:$LINENO: result: yes" >&5
9235 echo "${ECHO_T}yes" >&6; }
9236 else
9237 { echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6; }
9239 fi
9240
9241
9242 enablestring=
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9245 no_cache=0
9246 # Check whether --enable-collpane was given.
9247 if test "${enable_collpane+set}" = set; then
9248 enableval=$enable_collpane;
9249 if test "$enableval" = yes; then
9250 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9251 else
9252 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9253 fi
9254
9255 else
9256
9257 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9258 if test "x$LINE" != x ; then
9259 eval "DEFAULT_$LINE"
9260 else
9261 no_cache=1
9262 fi
9263
9264 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9265
9266 fi
9267
9268
9269 eval "$ac_cv_use_collpane"
9270 if test "$no_cache" != 1; then
9271 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9272 fi
9273
9274 if test "$wxUSE_COLLPANE" = yes; then
9275 { echo "$as_me:$LINENO: result: yes" >&5
9276 echo "${ECHO_T}yes" >&6; }
9277 else
9278 { echo "$as_me:$LINENO: result: no" >&5
9279 echo "${ECHO_T}no" >&6; }
9280 fi
9281
9282
9283 enablestring=
9284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9285 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9286 no_cache=0
9287 # Check whether --enable-colourpicker was given.
9288 if test "${enable_colourpicker+set}" = set; then
9289 enableval=$enable_colourpicker;
9290 if test "$enableval" = yes; then
9291 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9292 else
9293 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9294 fi
9295
9296 else
9297
9298 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9299 if test "x$LINE" != x ; then
9300 eval "DEFAULT_$LINE"
9301 else
9302 no_cache=1
9303 fi
9304
9305 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9306
9307 fi
9308
9309
9310 eval "$ac_cv_use_colourpicker"
9311 if test "$no_cache" != 1; then
9312 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9313 fi
9314
9315 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9316 { echo "$as_me:$LINENO: result: yes" >&5
9317 echo "${ECHO_T}yes" >&6; }
9318 else
9319 { echo "$as_me:$LINENO: result: no" >&5
9320 echo "${ECHO_T}no" >&6; }
9321 fi
9322
9323
9324 enablestring=
9325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9326 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9327 no_cache=0
9328 # Check whether --enable-combobox was given.
9329 if test "${enable_combobox+set}" = set; then
9330 enableval=$enable_combobox;
9331 if test "$enableval" = yes; then
9332 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9333 else
9334 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9335 fi
9336
9337 else
9338
9339 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9340 if test "x$LINE" != x ; then
9341 eval "DEFAULT_$LINE"
9342 else
9343 no_cache=1
9344 fi
9345
9346 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9347
9348 fi
9349
9350
9351 eval "$ac_cv_use_combobox"
9352 if test "$no_cache" != 1; then
9353 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9354 fi
9355
9356 if test "$wxUSE_COMBOBOX" = yes; then
9357 { echo "$as_me:$LINENO: result: yes" >&5
9358 echo "${ECHO_T}yes" >&6; }
9359 else
9360 { echo "$as_me:$LINENO: result: no" >&5
9361 echo "${ECHO_T}no" >&6; }
9362 fi
9363
9364
9365 enablestring=
9366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9367 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9368 no_cache=0
9369 # Check whether --enable-comboctrl was given.
9370 if test "${enable_comboctrl+set}" = set; then
9371 enableval=$enable_comboctrl;
9372 if test "$enableval" = yes; then
9373 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9374 else
9375 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9376 fi
9377
9378 else
9379
9380 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9381 if test "x$LINE" != x ; then
9382 eval "DEFAULT_$LINE"
9383 else
9384 no_cache=1
9385 fi
9386
9387 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9388
9389 fi
9390
9391
9392 eval "$ac_cv_use_comboctrl"
9393 if test "$no_cache" != 1; then
9394 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9395 fi
9396
9397 if test "$wxUSE_COMBOCTRL" = yes; then
9398 { echo "$as_me:$LINENO: result: yes" >&5
9399 echo "${ECHO_T}yes" >&6; }
9400 else
9401 { echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6; }
9403 fi
9404
9405
9406 enablestring=
9407 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9408 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9409 no_cache=0
9410 # Check whether --enable-datepick was given.
9411 if test "${enable_datepick+set}" = set; then
9412 enableval=$enable_datepick;
9413 if test "$enableval" = yes; then
9414 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9415 else
9416 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9417 fi
9418
9419 else
9420
9421 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9422 if test "x$LINE" != x ; then
9423 eval "DEFAULT_$LINE"
9424 else
9425 no_cache=1
9426 fi
9427
9428 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9429
9430 fi
9431
9432
9433 eval "$ac_cv_use_datepick"
9434 if test "$no_cache" != 1; then
9435 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9436 fi
9437
9438 if test "$wxUSE_DATEPICKCTRL" = yes; then
9439 { echo "$as_me:$LINENO: result: yes" >&5
9440 echo "${ECHO_T}yes" >&6; }
9441 else
9442 { echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6; }
9444 fi
9445
9446
9447 enablestring=
9448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9449 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9450 no_cache=0
9451 # Check whether --enable-dirpicker was given.
9452 if test "${enable_dirpicker+set}" = set; then
9453 enableval=$enable_dirpicker;
9454 if test "$enableval" = yes; then
9455 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9456 else
9457 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9458 fi
9459
9460 else
9461
9462 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9463 if test "x$LINE" != x ; then
9464 eval "DEFAULT_$LINE"
9465 else
9466 no_cache=1
9467 fi
9468
9469 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9470
9471 fi
9472
9473
9474 eval "$ac_cv_use_dirpicker"
9475 if test "$no_cache" != 1; then
9476 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9477 fi
9478
9479 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9480 { echo "$as_me:$LINENO: result: yes" >&5
9481 echo "${ECHO_T}yes" >&6; }
9482 else
9483 { echo "$as_me:$LINENO: result: no" >&5
9484 echo "${ECHO_T}no" >&6; }
9485 fi
9486
9487
9488 enablestring=
9489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9491 no_cache=0
9492 # Check whether --enable-display was given.
9493 if test "${enable_display+set}" = set; then
9494 enableval=$enable_display;
9495 if test "$enableval" = yes; then
9496 ac_cv_use_display='wxUSE_DISPLAY=yes'
9497 else
9498 ac_cv_use_display='wxUSE_DISPLAY=no'
9499 fi
9500
9501 else
9502
9503 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9504 if test "x$LINE" != x ; then
9505 eval "DEFAULT_$LINE"
9506 else
9507 no_cache=1
9508 fi
9509
9510 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9511
9512 fi
9513
9514
9515 eval "$ac_cv_use_display"
9516 if test "$no_cache" != 1; then
9517 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9518 fi
9519
9520 if test "$wxUSE_DISPLAY" = yes; then
9521 { echo "$as_me:$LINENO: result: yes" >&5
9522 echo "${ECHO_T}yes" >&6; }
9523 else
9524 { echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6; }
9526 fi
9527
9528
9529 enablestring=
9530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9531 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9532 no_cache=0
9533 # Check whether --enable-detect_sm was given.
9534 if test "${enable_detect_sm+set}" = set; then
9535 enableval=$enable_detect_sm;
9536 if test "$enableval" = yes; then
9537 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9538 else
9539 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9540 fi
9541
9542 else
9543
9544 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9545 if test "x$LINE" != x ; then
9546 eval "DEFAULT_$LINE"
9547 else
9548 no_cache=1
9549 fi
9550
9551 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9552
9553 fi
9554
9555
9556 eval "$ac_cv_use_detect_sm"
9557 if test "$no_cache" != 1; then
9558 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9559 fi
9560
9561 if test "$wxUSE_DETECT_SM" = yes; then
9562 { echo "$as_me:$LINENO: result: yes" >&5
9563 echo "${ECHO_T}yes" >&6; }
9564 else
9565 { echo "$as_me:$LINENO: result: no" >&5
9566 echo "${ECHO_T}no" >&6; }
9567 fi
9568
9569
9570 enablestring=
9571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9572 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9573 no_cache=0
9574 # Check whether --enable-filepicker was given.
9575 if test "${enable_filepicker+set}" = set; then
9576 enableval=$enable_filepicker;
9577 if test "$enableval" = yes; then
9578 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9579 else
9580 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9581 fi
9582
9583 else
9584
9585 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9586 if test "x$LINE" != x ; then
9587 eval "DEFAULT_$LINE"
9588 else
9589 no_cache=1
9590 fi
9591
9592 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9593
9594 fi
9595
9596
9597 eval "$ac_cv_use_filepicker"
9598 if test "$no_cache" != 1; then
9599 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9600 fi
9601
9602 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9603 { echo "$as_me:$LINENO: result: yes" >&5
9604 echo "${ECHO_T}yes" >&6; }
9605 else
9606 { echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6; }
9608 fi
9609
9610
9611 enablestring=
9612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9613 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9614 no_cache=0
9615 # Check whether --enable-fontpicker was given.
9616 if test "${enable_fontpicker+set}" = set; then
9617 enableval=$enable_fontpicker;
9618 if test "$enableval" = yes; then
9619 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9620 else
9621 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9622 fi
9623
9624 else
9625
9626 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9627 if test "x$LINE" != x ; then
9628 eval "DEFAULT_$LINE"
9629 else
9630 no_cache=1
9631 fi
9632
9633 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9634
9635 fi
9636
9637
9638 eval "$ac_cv_use_fontpicker"
9639 if test "$no_cache" != 1; then
9640 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9641 fi
9642
9643 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9644 { echo "$as_me:$LINENO: result: yes" >&5
9645 echo "${ECHO_T}yes" >&6; }
9646 else
9647 { echo "$as_me:$LINENO: result: no" >&5
9648 echo "${ECHO_T}no" >&6; }
9649 fi
9650
9651
9652 enablestring=
9653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9654 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9655 no_cache=0
9656 # Check whether --enable-gauge was given.
9657 if test "${enable_gauge+set}" = set; then
9658 enableval=$enable_gauge;
9659 if test "$enableval" = yes; then
9660 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9661 else
9662 ac_cv_use_gauge='wxUSE_GAUGE=no'
9663 fi
9664
9665 else
9666
9667 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9668 if test "x$LINE" != x ; then
9669 eval "DEFAULT_$LINE"
9670 else
9671 no_cache=1
9672 fi
9673
9674 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9675
9676 fi
9677
9678
9679 eval "$ac_cv_use_gauge"
9680 if test "$no_cache" != 1; then
9681 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9682 fi
9683
9684 if test "$wxUSE_GAUGE" = yes; then
9685 { echo "$as_me:$LINENO: result: yes" >&5
9686 echo "${ECHO_T}yes" >&6; }
9687 else
9688 { echo "$as_me:$LINENO: result: no" >&5
9689 echo "${ECHO_T}no" >&6; }
9690 fi
9691
9692
9693 enablestring=
9694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9695 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9696 no_cache=0
9697 # Check whether --enable-grid was given.
9698 if test "${enable_grid+set}" = set; then
9699 enableval=$enable_grid;
9700 if test "$enableval" = yes; then
9701 ac_cv_use_grid='wxUSE_GRID=yes'
9702 else
9703 ac_cv_use_grid='wxUSE_GRID=no'
9704 fi
9705
9706 else
9707
9708 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9709 if test "x$LINE" != x ; then
9710 eval "DEFAULT_$LINE"
9711 else
9712 no_cache=1
9713 fi
9714
9715 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9716
9717 fi
9718
9719
9720 eval "$ac_cv_use_grid"
9721 if test "$no_cache" != 1; then
9722 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9723 fi
9724
9725 if test "$wxUSE_GRID" = yes; then
9726 { echo "$as_me:$LINENO: result: yes" >&5
9727 echo "${ECHO_T}yes" >&6; }
9728 else
9729 { echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6; }
9731 fi
9732
9733
9734 enablestring=
9735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9736 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9737 no_cache=0
9738 # Check whether --enable-dataviewctrl was given.
9739 if test "${enable_dataviewctrl+set}" = set; then
9740 enableval=$enable_dataviewctrl;
9741 if test "$enableval" = yes; then
9742 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9743 else
9744 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9745 fi
9746
9747 else
9748
9749 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9750 if test "x$LINE" != x ; then
9751 eval "DEFAULT_$LINE"
9752 else
9753 no_cache=1
9754 fi
9755
9756 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9757
9758 fi
9759
9760
9761 eval "$ac_cv_use_dataviewctrl"
9762 if test "$no_cache" != 1; then
9763 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9764 fi
9765
9766 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9767 { echo "$as_me:$LINENO: result: yes" >&5
9768 echo "${ECHO_T}yes" >&6; }
9769 else
9770 { echo "$as_me:$LINENO: result: no" >&5
9771 echo "${ECHO_T}no" >&6; }
9772 fi
9773
9774
9775 enablestring=
9776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9778 no_cache=0
9779 # Check whether --enable-hyperlink was given.
9780 if test "${enable_hyperlink+set}" = set; then
9781 enableval=$enable_hyperlink;
9782 if test "$enableval" = yes; then
9783 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9784 else
9785 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9786 fi
9787
9788 else
9789
9790 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9791 if test "x$LINE" != x ; then
9792 eval "DEFAULT_$LINE"
9793 else
9794 no_cache=1
9795 fi
9796
9797 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9798
9799 fi
9800
9801
9802 eval "$ac_cv_use_hyperlink"
9803 if test "$no_cache" != 1; then
9804 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9805 fi
9806
9807 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9808 { echo "$as_me:$LINENO: result: yes" >&5
9809 echo "${ECHO_T}yes" >&6; }
9810 else
9811 { echo "$as_me:$LINENO: result: no" >&5
9812 echo "${ECHO_T}no" >&6; }
9813 fi
9814
9815
9816 enablestring=
9817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9818 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9819 no_cache=0
9820 # Check whether --enable-imaglist was given.
9821 if test "${enable_imaglist+set}" = set; then
9822 enableval=$enable_imaglist;
9823 if test "$enableval" = yes; then
9824 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9825 else
9826 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9827 fi
9828
9829 else
9830
9831 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9832 if test "x$LINE" != x ; then
9833 eval "DEFAULT_$LINE"
9834 else
9835 no_cache=1
9836 fi
9837
9838 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9839
9840 fi
9841
9842
9843 eval "$ac_cv_use_imaglist"
9844 if test "$no_cache" != 1; then
9845 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9846 fi
9847
9848 if test "$wxUSE_IMAGLIST" = yes; then
9849 { echo "$as_me:$LINENO: result: yes" >&5
9850 echo "${ECHO_T}yes" >&6; }
9851 else
9852 { echo "$as_me:$LINENO: result: no" >&5
9853 echo "${ECHO_T}no" >&6; }
9854 fi
9855
9856
9857 enablestring=
9858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9859 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9860 no_cache=0
9861 # Check whether --enable-listbook was given.
9862 if test "${enable_listbook+set}" = set; then
9863 enableval=$enable_listbook;
9864 if test "$enableval" = yes; then
9865 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9866 else
9867 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9868 fi
9869
9870 else
9871
9872 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9873 if test "x$LINE" != x ; then
9874 eval "DEFAULT_$LINE"
9875 else
9876 no_cache=1
9877 fi
9878
9879 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9880
9881 fi
9882
9883
9884 eval "$ac_cv_use_listbook"
9885 if test "$no_cache" != 1; then
9886 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9887 fi
9888
9889 if test "$wxUSE_LISTBOOK" = yes; then
9890 { echo "$as_me:$LINENO: result: yes" >&5
9891 echo "${ECHO_T}yes" >&6; }
9892 else
9893 { echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6; }
9895 fi
9896
9897
9898 enablestring=
9899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9900 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9901 no_cache=0
9902 # Check whether --enable-listbox was given.
9903 if test "${enable_listbox+set}" = set; then
9904 enableval=$enable_listbox;
9905 if test "$enableval" = yes; then
9906 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9907 else
9908 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9909 fi
9910
9911 else
9912
9913 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9914 if test "x$LINE" != x ; then
9915 eval "DEFAULT_$LINE"
9916 else
9917 no_cache=1
9918 fi
9919
9920 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9921
9922 fi
9923
9924
9925 eval "$ac_cv_use_listbox"
9926 if test "$no_cache" != 1; then
9927 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9928 fi
9929
9930 if test "$wxUSE_LISTBOX" = yes; then
9931 { echo "$as_me:$LINENO: result: yes" >&5
9932 echo "${ECHO_T}yes" >&6; }
9933 else
9934 { echo "$as_me:$LINENO: result: no" >&5
9935 echo "${ECHO_T}no" >&6; }
9936 fi
9937
9938
9939 enablestring=
9940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9941 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9942 no_cache=0
9943 # Check whether --enable-listctrl was given.
9944 if test "${enable_listctrl+set}" = set; then
9945 enableval=$enable_listctrl;
9946 if test "$enableval" = yes; then
9947 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9948 else
9949 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9950 fi
9951
9952 else
9953
9954 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9955 if test "x$LINE" != x ; then
9956 eval "DEFAULT_$LINE"
9957 else
9958 no_cache=1
9959 fi
9960
9961 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9962
9963 fi
9964
9965
9966 eval "$ac_cv_use_listctrl"
9967 if test "$no_cache" != 1; then
9968 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9969 fi
9970
9971 if test "$wxUSE_LISTCTRL" = yes; then
9972 { echo "$as_me:$LINENO: result: yes" >&5
9973 echo "${ECHO_T}yes" >&6; }
9974 else
9975 { echo "$as_me:$LINENO: result: no" >&5
9976 echo "${ECHO_T}no" >&6; }
9977 fi
9978
9979
9980 enablestring=
9981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9983 no_cache=0
9984 # Check whether --enable-notebook was given.
9985 if test "${enable_notebook+set}" = set; then
9986 enableval=$enable_notebook;
9987 if test "$enableval" = yes; then
9988 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9989 else
9990 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9991 fi
9992
9993 else
9994
9995 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9996 if test "x$LINE" != x ; then
9997 eval "DEFAULT_$LINE"
9998 else
9999 no_cache=1
10000 fi
10001
10002 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10003
10004 fi
10005
10006
10007 eval "$ac_cv_use_notebook"
10008 if test "$no_cache" != 1; then
10009 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10010 fi
10011
10012 if test "$wxUSE_NOTEBOOK" = yes; then
10013 { echo "$as_me:$LINENO: result: yes" >&5
10014 echo "${ECHO_T}yes" >&6; }
10015 else
10016 { echo "$as_me:$LINENO: result: no" >&5
10017 echo "${ECHO_T}no" >&6; }
10018 fi
10019
10020
10021 enablestring=
10022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10023 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10024 no_cache=0
10025 # Check whether --enable-odcombobox was given.
10026 if test "${enable_odcombobox+set}" = set; then
10027 enableval=$enable_odcombobox;
10028 if test "$enableval" = yes; then
10029 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10030 else
10031 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10032 fi
10033
10034 else
10035
10036 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
10037 if test "x$LINE" != x ; then
10038 eval "DEFAULT_$LINE"
10039 else
10040 no_cache=1
10041 fi
10042
10043 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10044
10045 fi
10046
10047
10048 eval "$ac_cv_use_odcombobox"
10049 if test "$no_cache" != 1; then
10050 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10051 fi
10052
10053 if test "$wxUSE_ODCOMBOBOX" = yes; then
10054 { echo "$as_me:$LINENO: result: yes" >&5
10055 echo "${ECHO_T}yes" >&6; }
10056 else
10057 { echo "$as_me:$LINENO: result: no" >&5
10058 echo "${ECHO_T}no" >&6; }
10059 fi
10060
10061
10062 enablestring=
10063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10064 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10065 no_cache=0
10066 # Check whether --enable-radiobox was given.
10067 if test "${enable_radiobox+set}" = set; then
10068 enableval=$enable_radiobox;
10069 if test "$enableval" = yes; then
10070 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10071 else
10072 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10073 fi
10074
10075 else
10076
10077 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10078 if test "x$LINE" != x ; then
10079 eval "DEFAULT_$LINE"
10080 else
10081 no_cache=1
10082 fi
10083
10084 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10085
10086 fi
10087
10088
10089 eval "$ac_cv_use_radiobox"
10090 if test "$no_cache" != 1; then
10091 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10092 fi
10093
10094 if test "$wxUSE_RADIOBOX" = yes; then
10095 { echo "$as_me:$LINENO: result: yes" >&5
10096 echo "${ECHO_T}yes" >&6; }
10097 else
10098 { echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6; }
10100 fi
10101
10102
10103 enablestring=
10104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10105 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10106 no_cache=0
10107 # Check whether --enable-radiobtn was given.
10108 if test "${enable_radiobtn+set}" = set; then
10109 enableval=$enable_radiobtn;
10110 if test "$enableval" = yes; then
10111 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10112 else
10113 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10114 fi
10115
10116 else
10117
10118 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10119 if test "x$LINE" != x ; then
10120 eval "DEFAULT_$LINE"
10121 else
10122 no_cache=1
10123 fi
10124
10125 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10126
10127 fi
10128
10129
10130 eval "$ac_cv_use_radiobtn"
10131 if test "$no_cache" != 1; then
10132 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10133 fi
10134
10135 if test "$wxUSE_RADIOBTN" = yes; then
10136 { echo "$as_me:$LINENO: result: yes" >&5
10137 echo "${ECHO_T}yes" >&6; }
10138 else
10139 { echo "$as_me:$LINENO: result: no" >&5
10140 echo "${ECHO_T}no" >&6; }
10141 fi
10142
10143
10144 enablestring=
10145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10146 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10147 no_cache=0
10148 # Check whether --enable-sash was given.
10149 if test "${enable_sash+set}" = set; then
10150 enableval=$enable_sash;
10151 if test "$enableval" = yes; then
10152 ac_cv_use_sash='wxUSE_SASH=yes'
10153 else
10154 ac_cv_use_sash='wxUSE_SASH=no'
10155 fi
10156
10157 else
10158
10159 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10160 if test "x$LINE" != x ; then
10161 eval "DEFAULT_$LINE"
10162 else
10163 no_cache=1
10164 fi
10165
10166 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10167
10168 fi
10169
10170
10171 eval "$ac_cv_use_sash"
10172 if test "$no_cache" != 1; then
10173 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10174 fi
10175
10176 if test "$wxUSE_SASH" = yes; then
10177 { echo "$as_me:$LINENO: result: yes" >&5
10178 echo "${ECHO_T}yes" >&6; }
10179 else
10180 { echo "$as_me:$LINENO: result: no" >&5
10181 echo "${ECHO_T}no" >&6; }
10182 fi
10183
10184
10185 enablestring=
10186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10187 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10188 no_cache=0
10189 # Check whether --enable-scrollbar was given.
10190 if test "${enable_scrollbar+set}" = set; then
10191 enableval=$enable_scrollbar;
10192 if test "$enableval" = yes; then
10193 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10194 else
10195 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10196 fi
10197
10198 else
10199
10200 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10201 if test "x$LINE" != x ; then
10202 eval "DEFAULT_$LINE"
10203 else
10204 no_cache=1
10205 fi
10206
10207 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10208
10209 fi
10210
10211
10212 eval "$ac_cv_use_scrollbar"
10213 if test "$no_cache" != 1; then
10214 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10215 fi
10216
10217 if test "$wxUSE_SCROLLBAR" = yes; then
10218 { echo "$as_me:$LINENO: result: yes" >&5
10219 echo "${ECHO_T}yes" >&6; }
10220 else
10221 { echo "$as_me:$LINENO: result: no" >&5
10222 echo "${ECHO_T}no" >&6; }
10223 fi
10224
10225
10226 enablestring=
10227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10228 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10229 no_cache=0
10230 # Check whether --enable-searchctrl was given.
10231 if test "${enable_searchctrl+set}" = set; then
10232 enableval=$enable_searchctrl;
10233 if test "$enableval" = yes; then
10234 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10235 else
10236 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10237 fi
10238
10239 else
10240
10241 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10242 if test "x$LINE" != x ; then
10243 eval "DEFAULT_$LINE"
10244 else
10245 no_cache=1
10246 fi
10247
10248 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10249
10250 fi
10251
10252
10253 eval "$ac_cv_use_searchctrl"
10254 if test "$no_cache" != 1; then
10255 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10256 fi
10257
10258 if test "$wxUSE_SEARCHCTRL" = yes; then
10259 { echo "$as_me:$LINENO: result: yes" >&5
10260 echo "${ECHO_T}yes" >&6; }
10261 else
10262 { echo "$as_me:$LINENO: result: no" >&5
10263 echo "${ECHO_T}no" >&6; }
10264 fi
10265
10266
10267 enablestring=
10268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10269 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10270 no_cache=0
10271 # Check whether --enable-slider was given.
10272 if test "${enable_slider+set}" = set; then
10273 enableval=$enable_slider;
10274 if test "$enableval" = yes; then
10275 ac_cv_use_slider='wxUSE_SLIDER=yes'
10276 else
10277 ac_cv_use_slider='wxUSE_SLIDER=no'
10278 fi
10279
10280 else
10281
10282 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10283 if test "x$LINE" != x ; then
10284 eval "DEFAULT_$LINE"
10285 else
10286 no_cache=1
10287 fi
10288
10289 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10290
10291 fi
10292
10293
10294 eval "$ac_cv_use_slider"
10295 if test "$no_cache" != 1; then
10296 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10297 fi
10298
10299 if test "$wxUSE_SLIDER" = yes; then
10300 { echo "$as_me:$LINENO: result: yes" >&5
10301 echo "${ECHO_T}yes" >&6; }
10302 else
10303 { echo "$as_me:$LINENO: result: no" >&5
10304 echo "${ECHO_T}no" >&6; }
10305 fi
10306
10307
10308 enablestring=
10309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10310 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10311 no_cache=0
10312 # Check whether --enable-spinbtn was given.
10313 if test "${enable_spinbtn+set}" = set; then
10314 enableval=$enable_spinbtn;
10315 if test "$enableval" = yes; then
10316 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10317 else
10318 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10319 fi
10320
10321 else
10322
10323 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10324 if test "x$LINE" != x ; then
10325 eval "DEFAULT_$LINE"
10326 else
10327 no_cache=1
10328 fi
10329
10330 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10331
10332 fi
10333
10334
10335 eval "$ac_cv_use_spinbtn"
10336 if test "$no_cache" != 1; then
10337 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10338 fi
10339
10340 if test "$wxUSE_SPINBTN" = yes; then
10341 { echo "$as_me:$LINENO: result: yes" >&5
10342 echo "${ECHO_T}yes" >&6; }
10343 else
10344 { echo "$as_me:$LINENO: result: no" >&5
10345 echo "${ECHO_T}no" >&6; }
10346 fi
10347
10348
10349 enablestring=
10350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10351 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10352 no_cache=0
10353 # Check whether --enable-spinctrl was given.
10354 if test "${enable_spinctrl+set}" = set; then
10355 enableval=$enable_spinctrl;
10356 if test "$enableval" = yes; then
10357 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10358 else
10359 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10360 fi
10361
10362 else
10363
10364 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10365 if test "x$LINE" != x ; then
10366 eval "DEFAULT_$LINE"
10367 else
10368 no_cache=1
10369 fi
10370
10371 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10372
10373 fi
10374
10375
10376 eval "$ac_cv_use_spinctrl"
10377 if test "$no_cache" != 1; then
10378 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10379 fi
10380
10381 if test "$wxUSE_SPINCTRL" = yes; then
10382 { echo "$as_me:$LINENO: result: yes" >&5
10383 echo "${ECHO_T}yes" >&6; }
10384 else
10385 { echo "$as_me:$LINENO: result: no" >&5
10386 echo "${ECHO_T}no" >&6; }
10387 fi
10388
10389
10390 enablestring=
10391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10392 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10393 no_cache=0
10394 # Check whether --enable-splitter was given.
10395 if test "${enable_splitter+set}" = set; then
10396 enableval=$enable_splitter;
10397 if test "$enableval" = yes; then
10398 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10399 else
10400 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10401 fi
10402
10403 else
10404
10405 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10406 if test "x$LINE" != x ; then
10407 eval "DEFAULT_$LINE"
10408 else
10409 no_cache=1
10410 fi
10411
10412 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10413
10414 fi
10415
10416
10417 eval "$ac_cv_use_splitter"
10418 if test "$no_cache" != 1; then
10419 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10420 fi
10421
10422 if test "$wxUSE_SPLITTER" = yes; then
10423 { echo "$as_me:$LINENO: result: yes" >&5
10424 echo "${ECHO_T}yes" >&6; }
10425 else
10426 { echo "$as_me:$LINENO: result: no" >&5
10427 echo "${ECHO_T}no" >&6; }
10428 fi
10429
10430
10431 enablestring=
10432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10433 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10434 no_cache=0
10435 # Check whether --enable-statbmp was given.
10436 if test "${enable_statbmp+set}" = set; then
10437 enableval=$enable_statbmp;
10438 if test "$enableval" = yes; then
10439 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10440 else
10441 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10442 fi
10443
10444 else
10445
10446 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10447 if test "x$LINE" != x ; then
10448 eval "DEFAULT_$LINE"
10449 else
10450 no_cache=1
10451 fi
10452
10453 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10454
10455 fi
10456
10457
10458 eval "$ac_cv_use_statbmp"
10459 if test "$no_cache" != 1; then
10460 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10461 fi
10462
10463 if test "$wxUSE_STATBMP" = yes; then
10464 { echo "$as_me:$LINENO: result: yes" >&5
10465 echo "${ECHO_T}yes" >&6; }
10466 else
10467 { echo "$as_me:$LINENO: result: no" >&5
10468 echo "${ECHO_T}no" >&6; }
10469 fi
10470
10471
10472 enablestring=
10473 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10474 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10475 no_cache=0
10476 # Check whether --enable-statbox was given.
10477 if test "${enable_statbox+set}" = set; then
10478 enableval=$enable_statbox;
10479 if test "$enableval" = yes; then
10480 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10481 else
10482 ac_cv_use_statbox='wxUSE_STATBOX=no'
10483 fi
10484
10485 else
10486
10487 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10488 if test "x$LINE" != x ; then
10489 eval "DEFAULT_$LINE"
10490 else
10491 no_cache=1
10492 fi
10493
10494 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10495
10496 fi
10497
10498
10499 eval "$ac_cv_use_statbox"
10500 if test "$no_cache" != 1; then
10501 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10502 fi
10503
10504 if test "$wxUSE_STATBOX" = yes; then
10505 { echo "$as_me:$LINENO: result: yes" >&5
10506 echo "${ECHO_T}yes" >&6; }
10507 else
10508 { echo "$as_me:$LINENO: result: no" >&5
10509 echo "${ECHO_T}no" >&6; }
10510 fi
10511
10512
10513 enablestring=
10514 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10515 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10516 no_cache=0
10517 # Check whether --enable-statline was given.
10518 if test "${enable_statline+set}" = set; then
10519 enableval=$enable_statline;
10520 if test "$enableval" = yes; then
10521 ac_cv_use_statline='wxUSE_STATLINE=yes'
10522 else
10523 ac_cv_use_statline='wxUSE_STATLINE=no'
10524 fi
10525
10526 else
10527
10528 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10529 if test "x$LINE" != x ; then
10530 eval "DEFAULT_$LINE"
10531 else
10532 no_cache=1
10533 fi
10534
10535 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10536
10537 fi
10538
10539
10540 eval "$ac_cv_use_statline"
10541 if test "$no_cache" != 1; then
10542 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10543 fi
10544
10545 if test "$wxUSE_STATLINE" = yes; then
10546 { echo "$as_me:$LINENO: result: yes" >&5
10547 echo "${ECHO_T}yes" >&6; }
10548 else
10549 { echo "$as_me:$LINENO: result: no" >&5
10550 echo "${ECHO_T}no" >&6; }
10551 fi
10552
10553
10554 enablestring=
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10557 no_cache=0
10558 # Check whether --enable-stattext was given.
10559 if test "${enable_stattext+set}" = set; then
10560 enableval=$enable_stattext;
10561 if test "$enableval" = yes; then
10562 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10563 else
10564 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10565 fi
10566
10567 else
10568
10569 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10570 if test "x$LINE" != x ; then
10571 eval "DEFAULT_$LINE"
10572 else
10573 no_cache=1
10574 fi
10575
10576 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10577
10578 fi
10579
10580
10581 eval "$ac_cv_use_stattext"
10582 if test "$no_cache" != 1; then
10583 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10584 fi
10585
10586 if test "$wxUSE_STATTEXT" = yes; then
10587 { echo "$as_me:$LINENO: result: yes" >&5
10588 echo "${ECHO_T}yes" >&6; }
10589 else
10590 { echo "$as_me:$LINENO: result: no" >&5
10591 echo "${ECHO_T}no" >&6; }
10592 fi
10593
10594
10595 enablestring=
10596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10597 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10598 no_cache=0
10599 # Check whether --enable-statusbar was given.
10600 if test "${enable_statusbar+set}" = set; then
10601 enableval=$enable_statusbar;
10602 if test "$enableval" = yes; then
10603 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10604 else
10605 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10606 fi
10607
10608 else
10609
10610 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10611 if test "x$LINE" != x ; then
10612 eval "DEFAULT_$LINE"
10613 else
10614 no_cache=1
10615 fi
10616
10617 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10618
10619 fi
10620
10621
10622 eval "$ac_cv_use_statusbar"
10623 if test "$no_cache" != 1; then
10624 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10625 fi
10626
10627 if test "$wxUSE_STATUSBAR" = yes; then
10628 { echo "$as_me:$LINENO: result: yes" >&5
10629 echo "${ECHO_T}yes" >&6; }
10630 else
10631 { echo "$as_me:$LINENO: result: no" >&5
10632 echo "${ECHO_T}no" >&6; }
10633 fi
10634
10635
10636 enablestring=
10637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10639 no_cache=0
10640 # Check whether --enable-tabdialog was given.
10641 if test "${enable_tabdialog+set}" = set; then
10642 enableval=$enable_tabdialog;
10643 if test "$enableval" = yes; then
10644 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10645 else
10646 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10647 fi
10648
10649 else
10650
10651 LINE=`grep "wxUSE_TAB_DIALOG" ${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 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10659
10660 fi
10661
10662
10663 eval "$ac_cv_use_tabdialog"
10664 if test "$no_cache" != 1; then
10665 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10666 fi
10667
10668 if test "$wxUSE_TAB_DIALOG" = yes; then
10669 { echo "$as_me:$LINENO: result: yes" >&5
10670 echo "${ECHO_T}yes" >&6; }
10671 else
10672 { echo "$as_me:$LINENO: result: no" >&5
10673 echo "${ECHO_T}no" >&6; }
10674 fi
10675
10676
10677 enablestring=
10678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10679 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10680 no_cache=0
10681 # Check whether --enable-textctrl was given.
10682 if test "${enable_textctrl+set}" = set; then
10683 enableval=$enable_textctrl;
10684 if test "$enableval" = yes; then
10685 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10686 else
10687 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10688 fi
10689
10690 else
10691
10692 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10693 if test "x$LINE" != x ; then
10694 eval "DEFAULT_$LINE"
10695 else
10696 no_cache=1
10697 fi
10698
10699 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10700
10701 fi
10702
10703
10704 eval "$ac_cv_use_textctrl"
10705 if test "$no_cache" != 1; then
10706 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10707 fi
10708
10709 if test "$wxUSE_TEXTCTRL" = yes; then
10710 { echo "$as_me:$LINENO: result: yes" >&5
10711 echo "${ECHO_T}yes" >&6; }
10712 else
10713 { echo "$as_me:$LINENO: result: no" >&5
10714 echo "${ECHO_T}no" >&6; }
10715 fi
10716
10717
10718 enablestring=
10719 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10720 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10721 no_cache=0
10722 # Check whether --enable-togglebtn was given.
10723 if test "${enable_togglebtn+set}" = set; then
10724 enableval=$enable_togglebtn;
10725 if test "$enableval" = yes; then
10726 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10727 else
10728 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10729 fi
10730
10731 else
10732
10733 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10734 if test "x$LINE" != x ; then
10735 eval "DEFAULT_$LINE"
10736 else
10737 no_cache=1
10738 fi
10739
10740 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10741
10742 fi
10743
10744
10745 eval "$ac_cv_use_togglebtn"
10746 if test "$no_cache" != 1; then
10747 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10748 fi
10749
10750 if test "$wxUSE_TOGGLEBTN" = yes; then
10751 { echo "$as_me:$LINENO: result: yes" >&5
10752 echo "${ECHO_T}yes" >&6; }
10753 else
10754 { echo "$as_me:$LINENO: result: no" >&5
10755 echo "${ECHO_T}no" >&6; }
10756 fi
10757
10758
10759 enablestring=
10760 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10761 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10762 no_cache=0
10763 # Check whether --enable-toolbar was given.
10764 if test "${enable_toolbar+set}" = set; then
10765 enableval=$enable_toolbar;
10766 if test "$enableval" = yes; then
10767 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10768 else
10769 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10770 fi
10771
10772 else
10773
10774 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10775 if test "x$LINE" != x ; then
10776 eval "DEFAULT_$LINE"
10777 else
10778 no_cache=1
10779 fi
10780
10781 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10782
10783 fi
10784
10785
10786 eval "$ac_cv_use_toolbar"
10787 if test "$no_cache" != 1; then
10788 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10789 fi
10790
10791 if test "$wxUSE_TOOLBAR" = yes; then
10792 { echo "$as_me:$LINENO: result: yes" >&5
10793 echo "${ECHO_T}yes" >&6; }
10794 else
10795 { echo "$as_me:$LINENO: result: no" >&5
10796 echo "${ECHO_T}no" >&6; }
10797 fi
10798
10799
10800 enablestring=
10801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10802 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10803 no_cache=0
10804 # Check whether --enable-tbarnative was given.
10805 if test "${enable_tbarnative+set}" = set; then
10806 enableval=$enable_tbarnative;
10807 if test "$enableval" = yes; then
10808 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10809 else
10810 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10811 fi
10812
10813 else
10814
10815 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10816 if test "x$LINE" != x ; then
10817 eval "DEFAULT_$LINE"
10818 else
10819 no_cache=1
10820 fi
10821
10822 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10823
10824 fi
10825
10826
10827 eval "$ac_cv_use_tbarnative"
10828 if test "$no_cache" != 1; then
10829 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10830 fi
10831
10832 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10833 { echo "$as_me:$LINENO: result: yes" >&5
10834 echo "${ECHO_T}yes" >&6; }
10835 else
10836 { echo "$as_me:$LINENO: result: no" >&5
10837 echo "${ECHO_T}no" >&6; }
10838 fi
10839
10840
10841 enablestring=
10842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10843 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10844 no_cache=0
10845 # Check whether --enable-treebook was given.
10846 if test "${enable_treebook+set}" = set; then
10847 enableval=$enable_treebook;
10848 if test "$enableval" = yes; then
10849 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10850 else
10851 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10852 fi
10853
10854 else
10855
10856 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10857 if test "x$LINE" != x ; then
10858 eval "DEFAULT_$LINE"
10859 else
10860 no_cache=1
10861 fi
10862
10863 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10864
10865 fi
10866
10867
10868 eval "$ac_cv_use_treebook"
10869 if test "$no_cache" != 1; then
10870 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10871 fi
10872
10873 if test "$wxUSE_TREEBOOK" = yes; then
10874 { echo "$as_me:$LINENO: result: yes" >&5
10875 echo "${ECHO_T}yes" >&6; }
10876 else
10877 { echo "$as_me:$LINENO: result: no" >&5
10878 echo "${ECHO_T}no" >&6; }
10879 fi
10880
10881
10882 enablestring=
10883 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10884 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10885 no_cache=0
10886 # Check whether --enable-toolbook was given.
10887 if test "${enable_toolbook+set}" = set; then
10888 enableval=$enable_toolbook;
10889 if test "$enableval" = yes; then
10890 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10891 else
10892 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10893 fi
10894
10895 else
10896
10897 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10898 if test "x$LINE" != x ; then
10899 eval "DEFAULT_$LINE"
10900 else
10901 no_cache=1
10902 fi
10903
10904 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10905
10906 fi
10907
10908
10909 eval "$ac_cv_use_toolbook"
10910 if test "$no_cache" != 1; then
10911 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10912 fi
10913
10914 if test "$wxUSE_TOOLBOOK" = yes; then
10915 { echo "$as_me:$LINENO: result: yes" >&5
10916 echo "${ECHO_T}yes" >&6; }
10917 else
10918 { echo "$as_me:$LINENO: result: no" >&5
10919 echo "${ECHO_T}no" >&6; }
10920 fi
10921
10922
10923 enablestring=
10924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10925 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10926 no_cache=0
10927 # Check whether --enable-treectrl was given.
10928 if test "${enable_treectrl+set}" = set; then
10929 enableval=$enable_treectrl;
10930 if test "$enableval" = yes; then
10931 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10932 else
10933 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10934 fi
10935
10936 else
10937
10938 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10939 if test "x$LINE" != x ; then
10940 eval "DEFAULT_$LINE"
10941 else
10942 no_cache=1
10943 fi
10944
10945 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10946
10947 fi
10948
10949
10950 eval "$ac_cv_use_treectrl"
10951 if test "$no_cache" != 1; then
10952 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10953 fi
10954
10955 if test "$wxUSE_TREECTRL" = yes; then
10956 { echo "$as_me:$LINENO: result: yes" >&5
10957 echo "${ECHO_T}yes" >&6; }
10958 else
10959 { echo "$as_me:$LINENO: result: no" >&5
10960 echo "${ECHO_T}no" >&6; }
10961 fi
10962
10963
10964 enablestring=
10965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10966 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10967 no_cache=0
10968 # Check whether --enable-tipwindow was given.
10969 if test "${enable_tipwindow+set}" = set; then
10970 enableval=$enable_tipwindow;
10971 if test "$enableval" = yes; then
10972 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10973 else
10974 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10975 fi
10976
10977 else
10978
10979 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10980 if test "x$LINE" != x ; then
10981 eval "DEFAULT_$LINE"
10982 else
10983 no_cache=1
10984 fi
10985
10986 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10987
10988 fi
10989
10990
10991 eval "$ac_cv_use_tipwindow"
10992 if test "$no_cache" != 1; then
10993 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10994 fi
10995
10996 if test "$wxUSE_TIPWINDOW" = yes; then
10997 { echo "$as_me:$LINENO: result: yes" >&5
10998 echo "${ECHO_T}yes" >&6; }
10999 else
11000 { echo "$as_me:$LINENO: result: no" >&5
11001 echo "${ECHO_T}no" >&6; }
11002 fi
11003
11004
11005 enablestring=
11006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11007 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11008 no_cache=0
11009 # Check whether --enable-popupwin was given.
11010 if test "${enable_popupwin+set}" = set; then
11011 enableval=$enable_popupwin;
11012 if test "$enableval" = yes; then
11013 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11014 else
11015 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11016 fi
11017
11018 else
11019
11020 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
11021 if test "x$LINE" != x ; then
11022 eval "DEFAULT_$LINE"
11023 else
11024 no_cache=1
11025 fi
11026
11027 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11028
11029 fi
11030
11031
11032 eval "$ac_cv_use_popupwin"
11033 if test "$no_cache" != 1; then
11034 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11035 fi
11036
11037 if test "$wxUSE_POPUPWIN" = yes; then
11038 { echo "$as_me:$LINENO: result: yes" >&5
11039 echo "${ECHO_T}yes" >&6; }
11040 else
11041 { echo "$as_me:$LINENO: result: no" >&5
11042 echo "${ECHO_T}no" >&6; }
11043 fi
11044
11045
11046
11047
11048 enablestring=
11049 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11050 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11051 no_cache=0
11052 # Check whether --enable-commondlg was given.
11053 if test "${enable_commondlg+set}" = set; then
11054 enableval=$enable_commondlg;
11055 if test "$enableval" = yes; then
11056 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11057 else
11058 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11059 fi
11060
11061 else
11062
11063 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11064 if test "x$LINE" != x ; then
11065 eval "DEFAULT_$LINE"
11066 else
11067 no_cache=1
11068 fi
11069
11070 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11071
11072 fi
11073
11074
11075 eval "$ac_cv_use_commondlg"
11076 if test "$no_cache" != 1; then
11077 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11078 fi
11079
11080 if test "$wxUSE_COMMONDLGS" = yes; then
11081 { echo "$as_me:$LINENO: result: yes" >&5
11082 echo "${ECHO_T}yes" >&6; }
11083 else
11084 { echo "$as_me:$LINENO: result: no" >&5
11085 echo "${ECHO_T}no" >&6; }
11086 fi
11087
11088
11089 enablestring=
11090 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11091 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11092 no_cache=0
11093 # Check whether --enable-aboutdlg was given.
11094 if test "${enable_aboutdlg+set}" = set; then
11095 enableval=$enable_aboutdlg;
11096 if test "$enableval" = yes; then
11097 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11098 else
11099 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11100 fi
11101
11102 else
11103
11104 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11105 if test "x$LINE" != x ; then
11106 eval "DEFAULT_$LINE"
11107 else
11108 no_cache=1
11109 fi
11110
11111 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11112
11113 fi
11114
11115
11116 eval "$ac_cv_use_aboutdlg"
11117 if test "$no_cache" != 1; then
11118 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11119 fi
11120
11121 if test "$wxUSE_ABOUTDLG" = yes; then
11122 { echo "$as_me:$LINENO: result: yes" >&5
11123 echo "${ECHO_T}yes" >&6; }
11124 else
11125 { echo "$as_me:$LINENO: result: no" >&5
11126 echo "${ECHO_T}no" >&6; }
11127 fi
11128
11129
11130 enablestring=
11131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11132 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11133 no_cache=0
11134 # Check whether --enable-choicedlg was given.
11135 if test "${enable_choicedlg+set}" = set; then
11136 enableval=$enable_choicedlg;
11137 if test "$enableval" = yes; then
11138 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11139 else
11140 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11141 fi
11142
11143 else
11144
11145 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11146 if test "x$LINE" != x ; then
11147 eval "DEFAULT_$LINE"
11148 else
11149 no_cache=1
11150 fi
11151
11152 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11153
11154 fi
11155
11156
11157 eval "$ac_cv_use_choicedlg"
11158 if test "$no_cache" != 1; then
11159 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11160 fi
11161
11162 if test "$wxUSE_CHOICEDLG" = yes; then
11163 { echo "$as_me:$LINENO: result: yes" >&5
11164 echo "${ECHO_T}yes" >&6; }
11165 else
11166 { echo "$as_me:$LINENO: result: no" >&5
11167 echo "${ECHO_T}no" >&6; }
11168 fi
11169
11170
11171 enablestring=
11172 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11173 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11174 no_cache=0
11175 # Check whether --enable-coldlg was given.
11176 if test "${enable_coldlg+set}" = set; then
11177 enableval=$enable_coldlg;
11178 if test "$enableval" = yes; then
11179 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11180 else
11181 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11182 fi
11183
11184 else
11185
11186 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11187 if test "x$LINE" != x ; then
11188 eval "DEFAULT_$LINE"
11189 else
11190 no_cache=1
11191 fi
11192
11193 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11194
11195 fi
11196
11197
11198 eval "$ac_cv_use_coldlg"
11199 if test "$no_cache" != 1; then
11200 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11201 fi
11202
11203 if test "$wxUSE_COLOURDLG" = yes; then
11204 { echo "$as_me:$LINENO: result: yes" >&5
11205 echo "${ECHO_T}yes" >&6; }
11206 else
11207 { echo "$as_me:$LINENO: result: no" >&5
11208 echo "${ECHO_T}no" >&6; }
11209 fi
11210
11211
11212 enablestring=
11213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11214 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11215 no_cache=0
11216 # Check whether --enable-filedlg was given.
11217 if test "${enable_filedlg+set}" = set; then
11218 enableval=$enable_filedlg;
11219 if test "$enableval" = yes; then
11220 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11221 else
11222 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11223 fi
11224
11225 else
11226
11227 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11228 if test "x$LINE" != x ; then
11229 eval "DEFAULT_$LINE"
11230 else
11231 no_cache=1
11232 fi
11233
11234 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11235
11236 fi
11237
11238
11239 eval "$ac_cv_use_filedlg"
11240 if test "$no_cache" != 1; then
11241 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11242 fi
11243
11244 if test "$wxUSE_FILEDLG" = yes; then
11245 { echo "$as_me:$LINENO: result: yes" >&5
11246 echo "${ECHO_T}yes" >&6; }
11247 else
11248 { echo "$as_me:$LINENO: result: no" >&5
11249 echo "${ECHO_T}no" >&6; }
11250 fi
11251
11252
11253 enablestring=
11254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11255 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11256 no_cache=0
11257 # Check whether --enable-finddlg was given.
11258 if test "${enable_finddlg+set}" = set; then
11259 enableval=$enable_finddlg;
11260 if test "$enableval" = yes; then
11261 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11262 else
11263 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11264 fi
11265
11266 else
11267
11268 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11269 if test "x$LINE" != x ; then
11270 eval "DEFAULT_$LINE"
11271 else
11272 no_cache=1
11273 fi
11274
11275 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11276
11277 fi
11278
11279
11280 eval "$ac_cv_use_finddlg"
11281 if test "$no_cache" != 1; then
11282 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11283 fi
11284
11285 if test "$wxUSE_FINDREPLDLG" = yes; then
11286 { echo "$as_me:$LINENO: result: yes" >&5
11287 echo "${ECHO_T}yes" >&6; }
11288 else
11289 { echo "$as_me:$LINENO: result: no" >&5
11290 echo "${ECHO_T}no" >&6; }
11291 fi
11292
11293
11294 enablestring=
11295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11296 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11297 no_cache=0
11298 # Check whether --enable-fontdlg was given.
11299 if test "${enable_fontdlg+set}" = set; then
11300 enableval=$enable_fontdlg;
11301 if test "$enableval" = yes; then
11302 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11303 else
11304 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11305 fi
11306
11307 else
11308
11309 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11310 if test "x$LINE" != x ; then
11311 eval "DEFAULT_$LINE"
11312 else
11313 no_cache=1
11314 fi
11315
11316 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11317
11318 fi
11319
11320
11321 eval "$ac_cv_use_fontdlg"
11322 if test "$no_cache" != 1; then
11323 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11324 fi
11325
11326 if test "$wxUSE_FONTDLG" = yes; then
11327 { echo "$as_me:$LINENO: result: yes" >&5
11328 echo "${ECHO_T}yes" >&6; }
11329 else
11330 { echo "$as_me:$LINENO: result: no" >&5
11331 echo "${ECHO_T}no" >&6; }
11332 fi
11333
11334
11335 enablestring=
11336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11337 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11338 no_cache=0
11339 # Check whether --enable-dirdlg was given.
11340 if test "${enable_dirdlg+set}" = set; then
11341 enableval=$enable_dirdlg;
11342 if test "$enableval" = yes; then
11343 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11344 else
11345 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11346 fi
11347
11348 else
11349
11350 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11351 if test "x$LINE" != x ; then
11352 eval "DEFAULT_$LINE"
11353 else
11354 no_cache=1
11355 fi
11356
11357 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11358
11359 fi
11360
11361
11362 eval "$ac_cv_use_dirdlg"
11363 if test "$no_cache" != 1; then
11364 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11365 fi
11366
11367 if test "$wxUSE_DIRDLG" = yes; then
11368 { echo "$as_me:$LINENO: result: yes" >&5
11369 echo "${ECHO_T}yes" >&6; }
11370 else
11371 { echo "$as_me:$LINENO: result: no" >&5
11372 echo "${ECHO_T}no" >&6; }
11373 fi
11374
11375
11376 enablestring=
11377 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11378 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11379 no_cache=0
11380 # Check whether --enable-msgdlg was given.
11381 if test "${enable_msgdlg+set}" = set; then
11382 enableval=$enable_msgdlg;
11383 if test "$enableval" = yes; then
11384 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11385 else
11386 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11387 fi
11388
11389 else
11390
11391 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11392 if test "x$LINE" != x ; then
11393 eval "DEFAULT_$LINE"
11394 else
11395 no_cache=1
11396 fi
11397
11398 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11399
11400 fi
11401
11402
11403 eval "$ac_cv_use_msgdlg"
11404 if test "$no_cache" != 1; then
11405 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11406 fi
11407
11408 if test "$wxUSE_MSGDLG" = yes; then
11409 { echo "$as_me:$LINENO: result: yes" >&5
11410 echo "${ECHO_T}yes" >&6; }
11411 else
11412 { echo "$as_me:$LINENO: result: no" >&5
11413 echo "${ECHO_T}no" >&6; }
11414 fi
11415
11416
11417 enablestring=
11418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11419 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11420 no_cache=0
11421 # Check whether --enable-numberdlg was given.
11422 if test "${enable_numberdlg+set}" = set; then
11423 enableval=$enable_numberdlg;
11424 if test "$enableval" = yes; then
11425 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11426 else
11427 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11428 fi
11429
11430 else
11431
11432 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11433 if test "x$LINE" != x ; then
11434 eval "DEFAULT_$LINE"
11435 else
11436 no_cache=1
11437 fi
11438
11439 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11440
11441 fi
11442
11443
11444 eval "$ac_cv_use_numberdlg"
11445 if test "$no_cache" != 1; then
11446 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11447 fi
11448
11449 if test "$wxUSE_NUMBERDLG" = yes; then
11450 { echo "$as_me:$LINENO: result: yes" >&5
11451 echo "${ECHO_T}yes" >&6; }
11452 else
11453 { echo "$as_me:$LINENO: result: no" >&5
11454 echo "${ECHO_T}no" >&6; }
11455 fi
11456
11457
11458 enablestring=
11459 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11461 no_cache=0
11462 # Check whether --enable-splash was given.
11463 if test "${enable_splash+set}" = set; then
11464 enableval=$enable_splash;
11465 if test "$enableval" = yes; then
11466 ac_cv_use_splash='wxUSE_SPLASH=yes'
11467 else
11468 ac_cv_use_splash='wxUSE_SPLASH=no'
11469 fi
11470
11471 else
11472
11473 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11474 if test "x$LINE" != x ; then
11475 eval "DEFAULT_$LINE"
11476 else
11477 no_cache=1
11478 fi
11479
11480 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11481
11482 fi
11483
11484
11485 eval "$ac_cv_use_splash"
11486 if test "$no_cache" != 1; then
11487 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11488 fi
11489
11490 if test "$wxUSE_SPLASH" = yes; then
11491 { echo "$as_me:$LINENO: result: yes" >&5
11492 echo "${ECHO_T}yes" >&6; }
11493 else
11494 { echo "$as_me:$LINENO: result: no" >&5
11495 echo "${ECHO_T}no" >&6; }
11496 fi
11497
11498
11499 enablestring=
11500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11501 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11502 no_cache=0
11503 # Check whether --enable-textdlg was given.
11504 if test "${enable_textdlg+set}" = set; then
11505 enableval=$enable_textdlg;
11506 if test "$enableval" = yes; then
11507 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11508 else
11509 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11510 fi
11511
11512 else
11513
11514 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11515 if test "x$LINE" != x ; then
11516 eval "DEFAULT_$LINE"
11517 else
11518 no_cache=1
11519 fi
11520
11521 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11522
11523 fi
11524
11525
11526 eval "$ac_cv_use_textdlg"
11527 if test "$no_cache" != 1; then
11528 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11529 fi
11530
11531 if test "$wxUSE_TEXTDLG" = yes; then
11532 { echo "$as_me:$LINENO: result: yes" >&5
11533 echo "${ECHO_T}yes" >&6; }
11534 else
11535 { echo "$as_me:$LINENO: result: no" >&5
11536 echo "${ECHO_T}no" >&6; }
11537 fi
11538
11539
11540 enablestring=
11541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11542 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11543 no_cache=0
11544 # Check whether --enable-tipdlg was given.
11545 if test "${enable_tipdlg+set}" = set; then
11546 enableval=$enable_tipdlg;
11547 if test "$enableval" = yes; then
11548 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11549 else
11550 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11551 fi
11552
11553 else
11554
11555 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11556 if test "x$LINE" != x ; then
11557 eval "DEFAULT_$LINE"
11558 else
11559 no_cache=1
11560 fi
11561
11562 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11563
11564 fi
11565
11566
11567 eval "$ac_cv_use_tipdlg"
11568 if test "$no_cache" != 1; then
11569 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11570 fi
11571
11572 if test "$wxUSE_STARTUP_TIPS" = yes; then
11573 { echo "$as_me:$LINENO: result: yes" >&5
11574 echo "${ECHO_T}yes" >&6; }
11575 else
11576 { echo "$as_me:$LINENO: result: no" >&5
11577 echo "${ECHO_T}no" >&6; }
11578 fi
11579
11580
11581 enablestring=
11582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11583 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11584 no_cache=0
11585 # Check whether --enable-progressdlg was given.
11586 if test "${enable_progressdlg+set}" = set; then
11587 enableval=$enable_progressdlg;
11588 if test "$enableval" = yes; then
11589 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11590 else
11591 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11592 fi
11593
11594 else
11595
11596 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11597 if test "x$LINE" != x ; then
11598 eval "DEFAULT_$LINE"
11599 else
11600 no_cache=1
11601 fi
11602
11603 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11604
11605 fi
11606
11607
11608 eval "$ac_cv_use_progressdlg"
11609 if test "$no_cache" != 1; then
11610 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11611 fi
11612
11613 if test "$wxUSE_PROGRESSDLG" = yes; then
11614 { echo "$as_me:$LINENO: result: yes" >&5
11615 echo "${ECHO_T}yes" >&6; }
11616 else
11617 { echo "$as_me:$LINENO: result: no" >&5
11618 echo "${ECHO_T}no" >&6; }
11619 fi
11620
11621
11622 enablestring=
11623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11624 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11625 no_cache=0
11626 # Check whether --enable-wizarddlg was given.
11627 if test "${enable_wizarddlg+set}" = set; then
11628 enableval=$enable_wizarddlg;
11629 if test "$enableval" = yes; then
11630 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11631 else
11632 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11633 fi
11634
11635 else
11636
11637 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11638 if test "x$LINE" != x ; then
11639 eval "DEFAULT_$LINE"
11640 else
11641 no_cache=1
11642 fi
11643
11644 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11645
11646 fi
11647
11648
11649 eval "$ac_cv_use_wizarddlg"
11650 if test "$no_cache" != 1; then
11651 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11652 fi
11653
11654 if test "$wxUSE_WIZARDDLG" = yes; then
11655 { echo "$as_me:$LINENO: result: yes" >&5
11656 echo "${ECHO_T}yes" >&6; }
11657 else
11658 { echo "$as_me:$LINENO: result: no" >&5
11659 echo "${ECHO_T}no" >&6; }
11660 fi
11661
11662
11663
11664
11665 enablestring=
11666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11667 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11668 no_cache=0
11669 # Check whether --enable-menus was given.
11670 if test "${enable_menus+set}" = set; then
11671 enableval=$enable_menus;
11672 if test "$enableval" = yes; then
11673 ac_cv_use_menus='wxUSE_MENUS=yes'
11674 else
11675 ac_cv_use_menus='wxUSE_MENUS=no'
11676 fi
11677
11678 else
11679
11680 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11681 if test "x$LINE" != x ; then
11682 eval "DEFAULT_$LINE"
11683 else
11684 no_cache=1
11685 fi
11686
11687 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11688
11689 fi
11690
11691
11692 eval "$ac_cv_use_menus"
11693 if test "$no_cache" != 1; then
11694 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11695 fi
11696
11697 if test "$wxUSE_MENUS" = yes; then
11698 { echo "$as_me:$LINENO: result: yes" >&5
11699 echo "${ECHO_T}yes" >&6; }
11700 else
11701 { echo "$as_me:$LINENO: result: no" >&5
11702 echo "${ECHO_T}no" >&6; }
11703 fi
11704
11705
11706 enablestring=
11707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11708 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11709 no_cache=0
11710 # Check whether --enable-miniframe was given.
11711 if test "${enable_miniframe+set}" = set; then
11712 enableval=$enable_miniframe;
11713 if test "$enableval" = yes; then
11714 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11715 else
11716 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11717 fi
11718
11719 else
11720
11721 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11722 if test "x$LINE" != x ; then
11723 eval "DEFAULT_$LINE"
11724 else
11725 no_cache=1
11726 fi
11727
11728 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11729
11730 fi
11731
11732
11733 eval "$ac_cv_use_miniframe"
11734 if test "$no_cache" != 1; then
11735 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11736 fi
11737
11738 if test "$wxUSE_MINIFRAME" = yes; then
11739 { echo "$as_me:$LINENO: result: yes" >&5
11740 echo "${ECHO_T}yes" >&6; }
11741 else
11742 { echo "$as_me:$LINENO: result: no" >&5
11743 echo "${ECHO_T}no" >&6; }
11744 fi
11745
11746
11747 enablestring=
11748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11749 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11750 no_cache=0
11751 # Check whether --enable-tooltips was given.
11752 if test "${enable_tooltips+set}" = set; then
11753 enableval=$enable_tooltips;
11754 if test "$enableval" = yes; then
11755 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11756 else
11757 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11758 fi
11759
11760 else
11761
11762 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11763 if test "x$LINE" != x ; then
11764 eval "DEFAULT_$LINE"
11765 else
11766 no_cache=1
11767 fi
11768
11769 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11770
11771 fi
11772
11773
11774 eval "$ac_cv_use_tooltips"
11775 if test "$no_cache" != 1; then
11776 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11777 fi
11778
11779 if test "$wxUSE_TOOLTIPS" = yes; then
11780 { echo "$as_me:$LINENO: result: yes" >&5
11781 echo "${ECHO_T}yes" >&6; }
11782 else
11783 { echo "$as_me:$LINENO: result: no" >&5
11784 echo "${ECHO_T}no" >&6; }
11785 fi
11786
11787
11788 enablestring=
11789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11790 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11791 no_cache=0
11792 # Check whether --enable-splines was given.
11793 if test "${enable_splines+set}" = set; then
11794 enableval=$enable_splines;
11795 if test "$enableval" = yes; then
11796 ac_cv_use_splines='wxUSE_SPLINES=yes'
11797 else
11798 ac_cv_use_splines='wxUSE_SPLINES=no'
11799 fi
11800
11801 else
11802
11803 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11804 if test "x$LINE" != x ; then
11805 eval "DEFAULT_$LINE"
11806 else
11807 no_cache=1
11808 fi
11809
11810 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11811
11812 fi
11813
11814
11815 eval "$ac_cv_use_splines"
11816 if test "$no_cache" != 1; then
11817 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11818 fi
11819
11820 if test "$wxUSE_SPLINES" = yes; then
11821 { echo "$as_me:$LINENO: result: yes" >&5
11822 echo "${ECHO_T}yes" >&6; }
11823 else
11824 { echo "$as_me:$LINENO: result: no" >&5
11825 echo "${ECHO_T}no" >&6; }
11826 fi
11827
11828
11829 enablestring=
11830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11831 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11832 no_cache=0
11833 # Check whether --enable-mousewheel was given.
11834 if test "${enable_mousewheel+set}" = set; then
11835 enableval=$enable_mousewheel;
11836 if test "$enableval" = yes; then
11837 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11838 else
11839 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11840 fi
11841
11842 else
11843
11844 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11845 if test "x$LINE" != x ; then
11846 eval "DEFAULT_$LINE"
11847 else
11848 no_cache=1
11849 fi
11850
11851 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11852
11853 fi
11854
11855
11856 eval "$ac_cv_use_mousewheel"
11857 if test "$no_cache" != 1; then
11858 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11859 fi
11860
11861 if test "$wxUSE_MOUSEWHEEL" = yes; then
11862 { echo "$as_me:$LINENO: result: yes" >&5
11863 echo "${ECHO_T}yes" >&6; }
11864 else
11865 { echo "$as_me:$LINENO: result: no" >&5
11866 echo "${ECHO_T}no" >&6; }
11867 fi
11868
11869
11870 enablestring=
11871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11872 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11873 no_cache=0
11874 # Check whether --enable-validators was given.
11875 if test "${enable_validators+set}" = set; then
11876 enableval=$enable_validators;
11877 if test "$enableval" = yes; then
11878 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11879 else
11880 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11881 fi
11882
11883 else
11884
11885 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11886 if test "x$LINE" != x ; then
11887 eval "DEFAULT_$LINE"
11888 else
11889 no_cache=1
11890 fi
11891
11892 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11893
11894 fi
11895
11896
11897 eval "$ac_cv_use_validators"
11898 if test "$no_cache" != 1; then
11899 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11900 fi
11901
11902 if test "$wxUSE_VALIDATORS" = yes; then
11903 { echo "$as_me:$LINENO: result: yes" >&5
11904 echo "${ECHO_T}yes" >&6; }
11905 else
11906 { echo "$as_me:$LINENO: result: no" >&5
11907 echo "${ECHO_T}no" >&6; }
11908 fi
11909
11910
11911 enablestring=
11912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11913 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11914 no_cache=0
11915 # Check whether --enable-busyinfo was given.
11916 if test "${enable_busyinfo+set}" = set; then
11917 enableval=$enable_busyinfo;
11918 if test "$enableval" = yes; then
11919 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11920 else
11921 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11922 fi
11923
11924 else
11925
11926 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11927 if test "x$LINE" != x ; then
11928 eval "DEFAULT_$LINE"
11929 else
11930 no_cache=1
11931 fi
11932
11933 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11934
11935 fi
11936
11937
11938 eval "$ac_cv_use_busyinfo"
11939 if test "$no_cache" != 1; then
11940 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11941 fi
11942
11943 if test "$wxUSE_BUSYINFO" = yes; then
11944 { echo "$as_me:$LINENO: result: yes" >&5
11945 echo "${ECHO_T}yes" >&6; }
11946 else
11947 { echo "$as_me:$LINENO: result: no" >&5
11948 echo "${ECHO_T}no" >&6; }
11949 fi
11950
11951
11952 enablestring=
11953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11954 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11955 no_cache=0
11956 # Check whether --enable-joystick was given.
11957 if test "${enable_joystick+set}" = set; then
11958 enableval=$enable_joystick;
11959 if test "$enableval" = yes; then
11960 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11961 else
11962 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11963 fi
11964
11965 else
11966
11967 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11968 if test "x$LINE" != x ; then
11969 eval "DEFAULT_$LINE"
11970 else
11971 no_cache=1
11972 fi
11973
11974 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11975
11976 fi
11977
11978
11979 eval "$ac_cv_use_joystick"
11980 if test "$no_cache" != 1; then
11981 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11982 fi
11983
11984 if test "$wxUSE_JOYSTICK" = yes; then
11985 { echo "$as_me:$LINENO: result: yes" >&5
11986 echo "${ECHO_T}yes" >&6; }
11987 else
11988 { echo "$as_me:$LINENO: result: no" >&5
11989 echo "${ECHO_T}no" >&6; }
11990 fi
11991
11992
11993 enablestring=
11994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11995 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11996 no_cache=0
11997 # Check whether --enable-metafile was given.
11998 if test "${enable_metafile+set}" = set; then
11999 enableval=$enable_metafile;
12000 if test "$enableval" = yes; then
12001 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12002 else
12003 ac_cv_use_metafile='wxUSE_METAFILE=no'
12004 fi
12005
12006 else
12007
12008 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
12009 if test "x$LINE" != x ; then
12010 eval "DEFAULT_$LINE"
12011 else
12012 no_cache=1
12013 fi
12014
12015 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12016
12017 fi
12018
12019
12020 eval "$ac_cv_use_metafile"
12021 if test "$no_cache" != 1; then
12022 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12023 fi
12024
12025 if test "$wxUSE_METAFILE" = yes; then
12026 { echo "$as_me:$LINENO: result: yes" >&5
12027 echo "${ECHO_T}yes" >&6; }
12028 else
12029 { echo "$as_me:$LINENO: result: no" >&5
12030 echo "${ECHO_T}no" >&6; }
12031 fi
12032
12033
12034 enablestring=
12035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12036 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12037 no_cache=0
12038 # Check whether --enable-dragimage was given.
12039 if test "${enable_dragimage+set}" = set; then
12040 enableval=$enable_dragimage;
12041 if test "$enableval" = yes; then
12042 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12043 else
12044 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12045 fi
12046
12047 else
12048
12049 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12050 if test "x$LINE" != x ; then
12051 eval "DEFAULT_$LINE"
12052 else
12053 no_cache=1
12054 fi
12055
12056 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12057
12058 fi
12059
12060
12061 eval "$ac_cv_use_dragimage"
12062 if test "$no_cache" != 1; then
12063 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12064 fi
12065
12066 if test "$wxUSE_DRAGIMAGE" = yes; then
12067 { echo "$as_me:$LINENO: result: yes" >&5
12068 echo "${ECHO_T}yes" >&6; }
12069 else
12070 { echo "$as_me:$LINENO: result: no" >&5
12071 echo "${ECHO_T}no" >&6; }
12072 fi
12073
12074
12075 enablestring=
12076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12077 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12078 no_cache=0
12079 # Check whether --enable-accessibility was given.
12080 if test "${enable_accessibility+set}" = set; then
12081 enableval=$enable_accessibility;
12082 if test "$enableval" = yes; then
12083 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12084 else
12085 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12086 fi
12087
12088 else
12089
12090 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12091 if test "x$LINE" != x ; then
12092 eval "DEFAULT_$LINE"
12093 else
12094 no_cache=1
12095 fi
12096
12097 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12098
12099 fi
12100
12101
12102 eval "$ac_cv_use_accessibility"
12103 if test "$no_cache" != 1; then
12104 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12105 fi
12106
12107 if test "$wxUSE_ACCESSIBILITY" = yes; then
12108 { echo "$as_me:$LINENO: result: yes" >&5
12109 echo "${ECHO_T}yes" >&6; }
12110 else
12111 { echo "$as_me:$LINENO: result: no" >&5
12112 echo "${ECHO_T}no" >&6; }
12113 fi
12114
12115
12116 if test "$wxUSE_MSW" = "1"; then
12117
12118 enablestring=
12119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12120 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12121 no_cache=0
12122 # Check whether --enable-dccache was given.
12123 if test "${enable_dccache+set}" = set; then
12124 enableval=$enable_dccache;
12125 if test "$enableval" = yes; then
12126 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12127 else
12128 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12129 fi
12130
12131 else
12132
12133 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12134 if test "x$LINE" != x ; then
12135 eval "DEFAULT_$LINE"
12136 else
12137 no_cache=1
12138 fi
12139
12140 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12141
12142 fi
12143
12144
12145 eval "$ac_cv_use_dccache"
12146 if test "$no_cache" != 1; then
12147 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12148 fi
12149
12150 if test "$wxUSE_DC_CACHEING" = yes; then
12151 { echo "$as_me:$LINENO: result: yes" >&5
12152 echo "${ECHO_T}yes" >&6; }
12153 else
12154 { echo "$as_me:$LINENO: result: no" >&5
12155 echo "${ECHO_T}no" >&6; }
12156 fi
12157
12158 fi
12159
12160
12161
12162 enablestring=
12163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12164 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12165 no_cache=0
12166 # Check whether --enable-palette was given.
12167 if test "${enable_palette+set}" = set; then
12168 enableval=$enable_palette;
12169 if test "$enableval" = yes; then
12170 ac_cv_use_palette='wxUSE_PALETTE=yes'
12171 else
12172 ac_cv_use_palette='wxUSE_PALETTE=no'
12173 fi
12174
12175 else
12176
12177 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12178 if test "x$LINE" != x ; then
12179 eval "DEFAULT_$LINE"
12180 else
12181 no_cache=1
12182 fi
12183
12184 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12185
12186 fi
12187
12188
12189 eval "$ac_cv_use_palette"
12190 if test "$no_cache" != 1; then
12191 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12192 fi
12193
12194 if test "$wxUSE_PALETTE" = yes; then
12195 { echo "$as_me:$LINENO: result: yes" >&5
12196 echo "${ECHO_T}yes" >&6; }
12197 else
12198 { echo "$as_me:$LINENO: result: no" >&5
12199 echo "${ECHO_T}no" >&6; }
12200 fi
12201
12202
12203 enablestring=
12204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12205 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12206 no_cache=0
12207 # Check whether --enable-image was given.
12208 if test "${enable_image+set}" = set; then
12209 enableval=$enable_image;
12210 if test "$enableval" = yes; then
12211 ac_cv_use_image='wxUSE_IMAGE=yes'
12212 else
12213 ac_cv_use_image='wxUSE_IMAGE=no'
12214 fi
12215
12216 else
12217
12218 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12219 if test "x$LINE" != x ; then
12220 eval "DEFAULT_$LINE"
12221 else
12222 no_cache=1
12223 fi
12224
12225 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12226
12227 fi
12228
12229
12230 eval "$ac_cv_use_image"
12231 if test "$no_cache" != 1; then
12232 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12233 fi
12234
12235 if test "$wxUSE_IMAGE" = yes; then
12236 { echo "$as_me:$LINENO: result: yes" >&5
12237 echo "${ECHO_T}yes" >&6; }
12238 else
12239 { echo "$as_me:$LINENO: result: no" >&5
12240 echo "${ECHO_T}no" >&6; }
12241 fi
12242
12243
12244 enablestring=
12245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12246 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12247 no_cache=0
12248 # Check whether --enable-gif was given.
12249 if test "${enable_gif+set}" = set; then
12250 enableval=$enable_gif;
12251 if test "$enableval" = yes; then
12252 ac_cv_use_gif='wxUSE_GIF=yes'
12253 else
12254 ac_cv_use_gif='wxUSE_GIF=no'
12255 fi
12256
12257 else
12258
12259 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12260 if test "x$LINE" != x ; then
12261 eval "DEFAULT_$LINE"
12262 else
12263 no_cache=1
12264 fi
12265
12266 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12267
12268 fi
12269
12270
12271 eval "$ac_cv_use_gif"
12272 if test "$no_cache" != 1; then
12273 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12274 fi
12275
12276 if test "$wxUSE_GIF" = yes; then
12277 { echo "$as_me:$LINENO: result: yes" >&5
12278 echo "${ECHO_T}yes" >&6; }
12279 else
12280 { echo "$as_me:$LINENO: result: no" >&5
12281 echo "${ECHO_T}no" >&6; }
12282 fi
12283
12284
12285 enablestring=
12286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12287 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12288 no_cache=0
12289 # Check whether --enable-pcx was given.
12290 if test "${enable_pcx+set}" = set; then
12291 enableval=$enable_pcx;
12292 if test "$enableval" = yes; then
12293 ac_cv_use_pcx='wxUSE_PCX=yes'
12294 else
12295 ac_cv_use_pcx='wxUSE_PCX=no'
12296 fi
12297
12298 else
12299
12300 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12301 if test "x$LINE" != x ; then
12302 eval "DEFAULT_$LINE"
12303 else
12304 no_cache=1
12305 fi
12306
12307 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12308
12309 fi
12310
12311
12312 eval "$ac_cv_use_pcx"
12313 if test "$no_cache" != 1; then
12314 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12315 fi
12316
12317 if test "$wxUSE_PCX" = yes; then
12318 { echo "$as_me:$LINENO: result: yes" >&5
12319 echo "${ECHO_T}yes" >&6; }
12320 else
12321 { echo "$as_me:$LINENO: result: no" >&5
12322 echo "${ECHO_T}no" >&6; }
12323 fi
12324
12325
12326 enablestring=
12327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12328 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12329 no_cache=0
12330 # Check whether --enable-tga was given.
12331 if test "${enable_tga+set}" = set; then
12332 enableval=$enable_tga;
12333 if test "$enableval" = yes; then
12334 ac_cv_use_tga='wxUSE_TGA=yes'
12335 else
12336 ac_cv_use_tga='wxUSE_TGA=no'
12337 fi
12338
12339 else
12340
12341 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12342 if test "x$LINE" != x ; then
12343 eval "DEFAULT_$LINE"
12344 else
12345 no_cache=1
12346 fi
12347
12348 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12349
12350 fi
12351
12352
12353 eval "$ac_cv_use_tga"
12354 if test "$no_cache" != 1; then
12355 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12356 fi
12357
12358 if test "$wxUSE_TGA" = yes; then
12359 { echo "$as_me:$LINENO: result: yes" >&5
12360 echo "${ECHO_T}yes" >&6; }
12361 else
12362 { echo "$as_me:$LINENO: result: no" >&5
12363 echo "${ECHO_T}no" >&6; }
12364 fi
12365
12366
12367 enablestring=
12368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12369 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12370 no_cache=0
12371 # Check whether --enable-iff was given.
12372 if test "${enable_iff+set}" = set; then
12373 enableval=$enable_iff;
12374 if test "$enableval" = yes; then
12375 ac_cv_use_iff='wxUSE_IFF=yes'
12376 else
12377 ac_cv_use_iff='wxUSE_IFF=no'
12378 fi
12379
12380 else
12381
12382 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12383 if test "x$LINE" != x ; then
12384 eval "DEFAULT_$LINE"
12385 else
12386 no_cache=1
12387 fi
12388
12389 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12390
12391 fi
12392
12393
12394 eval "$ac_cv_use_iff"
12395 if test "$no_cache" != 1; then
12396 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12397 fi
12398
12399 if test "$wxUSE_IFF" = yes; then
12400 { echo "$as_me:$LINENO: result: yes" >&5
12401 echo "${ECHO_T}yes" >&6; }
12402 else
12403 { echo "$as_me:$LINENO: result: no" >&5
12404 echo "${ECHO_T}no" >&6; }
12405 fi
12406
12407
12408 enablestring=
12409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12410 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12411 no_cache=0
12412 # Check whether --enable-pnm was given.
12413 if test "${enable_pnm+set}" = set; then
12414 enableval=$enable_pnm;
12415 if test "$enableval" = yes; then
12416 ac_cv_use_pnm='wxUSE_PNM=yes'
12417 else
12418 ac_cv_use_pnm='wxUSE_PNM=no'
12419 fi
12420
12421 else
12422
12423 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12424 if test "x$LINE" != x ; then
12425 eval "DEFAULT_$LINE"
12426 else
12427 no_cache=1
12428 fi
12429
12430 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12431
12432 fi
12433
12434
12435 eval "$ac_cv_use_pnm"
12436 if test "$no_cache" != 1; then
12437 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12438 fi
12439
12440 if test "$wxUSE_PNM" = yes; then
12441 { echo "$as_me:$LINENO: result: yes" >&5
12442 echo "${ECHO_T}yes" >&6; }
12443 else
12444 { echo "$as_me:$LINENO: result: no" >&5
12445 echo "${ECHO_T}no" >&6; }
12446 fi
12447
12448
12449 enablestring=
12450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12451 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12452 no_cache=0
12453 # Check whether --enable-xpm was given.
12454 if test "${enable_xpm+set}" = set; then
12455 enableval=$enable_xpm;
12456 if test "$enableval" = yes; then
12457 ac_cv_use_xpm='wxUSE_XPM=yes'
12458 else
12459 ac_cv_use_xpm='wxUSE_XPM=no'
12460 fi
12461
12462 else
12463
12464 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12465 if test "x$LINE" != x ; then
12466 eval "DEFAULT_$LINE"
12467 else
12468 no_cache=1
12469 fi
12470
12471 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12472
12473 fi
12474
12475
12476 eval "$ac_cv_use_xpm"
12477 if test "$no_cache" != 1; then
12478 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12479 fi
12480
12481 if test "$wxUSE_XPM" = yes; then
12482 { echo "$as_me:$LINENO: result: yes" >&5
12483 echo "${ECHO_T}yes" >&6; }
12484 else
12485 { echo "$as_me:$LINENO: result: no" >&5
12486 echo "${ECHO_T}no" >&6; }
12487 fi
12488
12489
12490 enablestring=
12491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12492 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12493 no_cache=0
12494 # Check whether --enable-ico_cur was given.
12495 if test "${enable_ico_cur+set}" = set; then
12496 enableval=$enable_ico_cur;
12497 if test "$enableval" = yes; then
12498 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12499 else
12500 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12501 fi
12502
12503 else
12504
12505 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12506 if test "x$LINE" != x ; then
12507 eval "DEFAULT_$LINE"
12508 else
12509 no_cache=1
12510 fi
12511
12512 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12513
12514 fi
12515
12516
12517 eval "$ac_cv_use_ico_cur"
12518 if test "$no_cache" != 1; then
12519 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12520 fi
12521
12522 if test "$wxUSE_ICO_CUR" = yes; then
12523 { echo "$as_me:$LINENO: result: yes" >&5
12524 echo "${ECHO_T}yes" >&6; }
12525 else
12526 { echo "$as_me:$LINENO: result: no" >&5
12527 echo "${ECHO_T}no" >&6; }
12528 fi
12529
12530
12531 fi
12532
12533
12534
12535 # Check whether --with-flavour was given.
12536 if test "${with_flavour+set}" = set; then
12537 withval=$with_flavour; WX_FLAVOUR="$withval"
12538 fi
12539
12540
12541
12542
12543 enablestring=
12544 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12545 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12546 no_cache=0
12547 # Check whether --enable-official_build was given.
12548 if test "${enable_official_build+set}" = set; then
12549 enableval=$enable_official_build;
12550 if test "$enableval" = yes; then
12551 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12552 else
12553 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12554 fi
12555
12556 else
12557
12558 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12559 if test "x$LINE" != x ; then
12560 eval "DEFAULT_$LINE"
12561 else
12562 no_cache=1
12563 fi
12564
12565 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12566
12567 fi
12568
12569
12570 eval "$ac_cv_use_official_build"
12571 if test "$no_cache" != 1; then
12572 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12573 fi
12574
12575 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12576 { echo "$as_me:$LINENO: result: yes" >&5
12577 echo "${ECHO_T}yes" >&6; }
12578 else
12579 { echo "$as_me:$LINENO: result: no" >&5
12580 echo "${ECHO_T}no" >&6; }
12581 fi
12582
12583 # Check whether --enable-vendor was given.
12584 if test "${enable_vendor+set}" = set; then
12585 enableval=$enable_vendor; VENDOR="$enableval"
12586 fi
12587
12588 if test "x$VENDOR" = "x"; then
12589 VENDOR="custom"
12590 fi
12591
12592
12593
12594
12595 echo "saving argument cache $wx_arg_cache_file"
12596 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12597
12598
12599
12600 { echo "$as_me:$LINENO: checking for toolkit" >&5
12601 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12602
12603 # In Wine, we need to default to MSW, not GTK or MOTIF
12604 if test "$wxUSE_WINE" = "yes"; then
12605 DEFAULT_DEFAULT_wxUSE_GTK=0
12606 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12607 DEFAULT_DEFAULT_wxUSE_MSW=1
12608 wxUSE_SHARED=no
12609 CC=${CC:-winegcc}
12610 CXX=${CXX:-wineg++}
12611 fi
12612
12613
12614 if test "$wxUSE_GUI" = "yes"; then
12615
12616 if test "$USE_BEOS" = 1; then
12617 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12618 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12619 { (exit 1); exit 1; }; }
12620 fi
12621
12622 if test "$TOOLKIT_GIVEN" = 1; then
12623 for toolkit in `echo $ALL_TOOLKITS`; do
12624 var=wxUSE_$toolkit
12625 eval "value=\$${var}"
12626 if test "x$value" = "xno"; then
12627 eval "$var=0"
12628 elif test "x$value" != "x"; then
12629 eval "$var=1"
12630 fi
12631
12632 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12633 eval "wx${toolkit}_VERSION=$value"
12634 fi
12635 done
12636 else
12637 for toolkit in `echo $ALL_TOOLKITS`; do
12638 if test "$has_toolkit_in_cache" != 1; then
12639 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12640 else
12641 var=DEFAULT_wxUSE_$toolkit
12642
12643 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12644 if test "x$version" != "x"; then
12645 eval "wx${toolkit}_VERSION=$version"
12646 fi
12647 fi
12648 eval "wxUSE_$toolkit=\$${var}"
12649 done
12650 fi
12651
12652 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12653 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12654 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12655
12656 case "${host}" in
12657 *-pc-os2_emx | *-pc-os2-emx )
12658 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12659 esac
12660
12661 case "$NUM_TOOLKITS" in
12662 1)
12663 ;;
12664 0)
12665 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12666 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12667 { (exit 1); exit 1; }; }
12668 ;;
12669 *)
12670 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12671 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12672 { (exit 1); exit 1; }; }
12673 esac
12674
12675 # to be removed when --disable-gtk2 isn't needed
12676 if test "x$wxUSE_GTK2" = "xyes"; then
12677 wxGTK_VERSION=2
12678 elif test "x$wxUSE_GTK2" = "xno"; then
12679 wxGTK_VERSION=1
12680 fi
12681
12682 for toolkit in `echo $ALL_TOOLKITS`; do
12683 var=wxUSE_$toolkit
12684 eval "value=\$${var}"
12685 if test "x$value" != x; then
12686 cache_var=CACHE_$toolkit
12687 eval "cache=\$${cache_var}"
12688 if test "$cache" = 1; then
12689 echo "$var=$value" >> ${wx_arg_cache_file}
12690 eval "version=\$wx${toolkit}_VERSION"
12691 if test "x$version" != "x"; then
12692 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12693 fi
12694 fi
12695 if test "$value" = 1; then
12696 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12697 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12698 echo "${ECHO_T}$toolkit_echo" >&6; }
12699 fi
12700 fi
12701 done
12702 else
12703 if test "x$host_alias" != "x"; then
12704 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12705 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12706 else
12707 { echo "$as_me:$LINENO: result: base only" >&5
12708 echo "${ECHO_T}base only" >&6; }
12709 fi
12710 fi
12711
12712
12713 cat >confcache <<\_ACEOF
12714 # This file is a shell script that caches the results of configure
12715 # tests run on this system so they can be shared between configure
12716 # scripts and configure runs, see configure's option --config-cache.
12717 # It is not useful on other systems. If it contains results you don't
12718 # want to keep, you may remove or edit it.
12719 #
12720 # config.status only pays attention to the cache file if you give it
12721 # the --recheck option to rerun configure.
12722 #
12723 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12724 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12725 # following values.
12726
12727 _ACEOF
12728
12729 # The following way of writing the cache mishandles newlines in values,
12730 # but we know of no workaround that is simple, portable, and efficient.
12731 # So, we kill variables containing newlines.
12732 # Ultrix sh set writes to stderr and can't be redirected directly,
12733 # and sets the high bit in the cache file unless we assign to the vars.
12734 (
12735 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12736 eval ac_val=\$$ac_var
12737 case $ac_val in #(
12738 *${as_nl}*)
12739 case $ac_var in #(
12740 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12741 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12742 esac
12743 case $ac_var in #(
12744 _ | IFS | as_nl) ;; #(
12745 *) $as_unset $ac_var ;;
12746 esac ;;
12747 esac
12748 done
12749
12750 (set) 2>&1 |
12751 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12752 *${as_nl}ac_space=\ *)
12753 # `set' does not quote correctly, so add quotes (double-quote
12754 # substitution turns \\\\ into \\, and sed turns \\ into \).
12755 sed -n \
12756 "s/'/'\\\\''/g;
12757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12758 ;; #(
12759 *)
12760 # `set' quotes correctly as required by POSIX, so do not add quotes.
12761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12762 ;;
12763 esac |
12764 sort
12765 ) |
12766 sed '
12767 /^ac_cv_env_/b end
12768 t clear
12769 :clear
12770 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12771 t end
12772 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12773 :end' >>confcache
12774 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12775 if test -w "$cache_file"; then
12776 test "x$cache_file" != "x/dev/null" &&
12777 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12778 echo "$as_me: updating cache $cache_file" >&6;}
12779 cat confcache >$cache_file
12780 else
12781 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12782 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12783 fi
12784 fi
12785 rm -f confcache
12786
12787 CFLAGS=${CFLAGS:=}
12788
12789
12790
12791 ac_ext=c
12792 ac_cpp='$CPP $CPPFLAGS'
12793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12796 if test -n "$ac_tool_prefix"; then
12797 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12798 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12801 if test "${ac_cv_prog_CC+set}" = set; then
12802 echo $ECHO_N "(cached) $ECHO_C" >&6
12803 else
12804 if test -n "$CC"; then
12805 ac_cv_prog_CC="$CC" # Let the user override the test.
12806 else
12807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12808 for as_dir in $PATH
12809 do
12810 IFS=$as_save_IFS
12811 test -z "$as_dir" && as_dir=.
12812 for ac_exec_ext in '' $ac_executable_extensions; do
12813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12814 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12816 break 2
12817 fi
12818 done
12819 done
12820 IFS=$as_save_IFS
12821
12822 fi
12823 fi
12824 CC=$ac_cv_prog_CC
12825 if test -n "$CC"; then
12826 { echo "$as_me:$LINENO: result: $CC" >&5
12827 echo "${ECHO_T}$CC" >&6; }
12828 else
12829 { echo "$as_me:$LINENO: result: no" >&5
12830 echo "${ECHO_T}no" >&6; }
12831 fi
12832
12833
12834 fi
12835 if test -z "$ac_cv_prog_CC"; then
12836 ac_ct_CC=$CC
12837 # Extract the first word of "gcc", so it can be a program name with args.
12838 set dummy gcc; ac_word=$2
12839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12842 echo $ECHO_N "(cached) $ECHO_C" >&6
12843 else
12844 if test -n "$ac_ct_CC"; then
12845 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12846 else
12847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12848 for as_dir in $PATH
12849 do
12850 IFS=$as_save_IFS
12851 test -z "$as_dir" && as_dir=.
12852 for ac_exec_ext in '' $ac_executable_extensions; do
12853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12854 ac_cv_prog_ac_ct_CC="gcc"
12855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12856 break 2
12857 fi
12858 done
12859 done
12860 IFS=$as_save_IFS
12861
12862 fi
12863 fi
12864 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12865 if test -n "$ac_ct_CC"; then
12866 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12867 echo "${ECHO_T}$ac_ct_CC" >&6; }
12868 else
12869 { echo "$as_me:$LINENO: result: no" >&5
12870 echo "${ECHO_T}no" >&6; }
12871 fi
12872
12873 if test "x$ac_ct_CC" = x; then
12874 CC=""
12875 else
12876 case $cross_compiling:$ac_tool_warned in
12877 yes:)
12878 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12879 whose name does not start with the host triplet. If you think this
12880 configuration is useful to you, please write to autoconf@gnu.org." >&5
12881 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12882 whose name does not start with the host triplet. If you think this
12883 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12884 ac_tool_warned=yes ;;
12885 esac
12886 CC=$ac_ct_CC
12887 fi
12888 else
12889 CC="$ac_cv_prog_CC"
12890 fi
12891
12892 if test -z "$CC"; then
12893 if test -n "$ac_tool_prefix"; then
12894 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12895 set dummy ${ac_tool_prefix}cc; ac_word=$2
12896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12898 if test "${ac_cv_prog_CC+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 else
12901 if test -n "$CC"; then
12902 ac_cv_prog_CC="$CC" # Let the user override the test.
12903 else
12904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12905 for as_dir in $PATH
12906 do
12907 IFS=$as_save_IFS
12908 test -z "$as_dir" && as_dir=.
12909 for ac_exec_ext in '' $ac_executable_extensions; do
12910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12911 ac_cv_prog_CC="${ac_tool_prefix}cc"
12912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12913 break 2
12914 fi
12915 done
12916 done
12917 IFS=$as_save_IFS
12918
12919 fi
12920 fi
12921 CC=$ac_cv_prog_CC
12922 if test -n "$CC"; then
12923 { echo "$as_me:$LINENO: result: $CC" >&5
12924 echo "${ECHO_T}$CC" >&6; }
12925 else
12926 { echo "$as_me:$LINENO: result: no" >&5
12927 echo "${ECHO_T}no" >&6; }
12928 fi
12929
12930
12931 fi
12932 fi
12933 if test -z "$CC"; then
12934 # Extract the first word of "cc", so it can be a program name with args.
12935 set dummy cc; ac_word=$2
12936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12938 if test "${ac_cv_prog_CC+set}" = set; then
12939 echo $ECHO_N "(cached) $ECHO_C" >&6
12940 else
12941 if test -n "$CC"; then
12942 ac_cv_prog_CC="$CC" # Let the user override the test.
12943 else
12944 ac_prog_rejected=no
12945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12946 for as_dir in $PATH
12947 do
12948 IFS=$as_save_IFS
12949 test -z "$as_dir" && as_dir=.
12950 for ac_exec_ext in '' $ac_executable_extensions; do
12951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12953 ac_prog_rejected=yes
12954 continue
12955 fi
12956 ac_cv_prog_CC="cc"
12957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12958 break 2
12959 fi
12960 done
12961 done
12962 IFS=$as_save_IFS
12963
12964 if test $ac_prog_rejected = yes; then
12965 # We found a bogon in the path, so make sure we never use it.
12966 set dummy $ac_cv_prog_CC
12967 shift
12968 if test $# != 0; then
12969 # We chose a different compiler from the bogus one.
12970 # However, it has the same basename, so the bogon will be chosen
12971 # first if we set CC to just the basename; use the full file name.
12972 shift
12973 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12974 fi
12975 fi
12976 fi
12977 fi
12978 CC=$ac_cv_prog_CC
12979 if test -n "$CC"; then
12980 { echo "$as_me:$LINENO: result: $CC" >&5
12981 echo "${ECHO_T}$CC" >&6; }
12982 else
12983 { echo "$as_me:$LINENO: result: no" >&5
12984 echo "${ECHO_T}no" >&6; }
12985 fi
12986
12987
12988 fi
12989 if test -z "$CC"; then
12990 if test -n "$ac_tool_prefix"; then
12991 for ac_prog in cl.exe
12992 do
12993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12997 if test "${ac_cv_prog_CC+set}" = set; then
12998 echo $ECHO_N "(cached) $ECHO_C" >&6
12999 else
13000 if test -n "$CC"; then
13001 ac_cv_prog_CC="$CC" # Let the user override the test.
13002 else
13003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13004 for as_dir in $PATH
13005 do
13006 IFS=$as_save_IFS
13007 test -z "$as_dir" && as_dir=.
13008 for ac_exec_ext in '' $ac_executable_extensions; do
13009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13010 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13012 break 2
13013 fi
13014 done
13015 done
13016 IFS=$as_save_IFS
13017
13018 fi
13019 fi
13020 CC=$ac_cv_prog_CC
13021 if test -n "$CC"; then
13022 { echo "$as_me:$LINENO: result: $CC" >&5
13023 echo "${ECHO_T}$CC" >&6; }
13024 else
13025 { echo "$as_me:$LINENO: result: no" >&5
13026 echo "${ECHO_T}no" >&6; }
13027 fi
13028
13029
13030 test -n "$CC" && break
13031 done
13032 fi
13033 if test -z "$CC"; then
13034 ac_ct_CC=$CC
13035 for ac_prog in cl.exe
13036 do
13037 # Extract the first word of "$ac_prog", so it can be a program name with args.
13038 set dummy $ac_prog; ac_word=$2
13039 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13041 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 else
13044 if test -n "$ac_ct_CC"; then
13045 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13046 else
13047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13048 for as_dir in $PATH
13049 do
13050 IFS=$as_save_IFS
13051 test -z "$as_dir" && as_dir=.
13052 for ac_exec_ext in '' $ac_executable_extensions; do
13053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13054 ac_cv_prog_ac_ct_CC="$ac_prog"
13055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13056 break 2
13057 fi
13058 done
13059 done
13060 IFS=$as_save_IFS
13061
13062 fi
13063 fi
13064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13065 if test -n "$ac_ct_CC"; then
13066 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13067 echo "${ECHO_T}$ac_ct_CC" >&6; }
13068 else
13069 { echo "$as_me:$LINENO: result: no" >&5
13070 echo "${ECHO_T}no" >&6; }
13071 fi
13072
13073
13074 test -n "$ac_ct_CC" && break
13075 done
13076
13077 if test "x$ac_ct_CC" = x; then
13078 CC=""
13079 else
13080 case $cross_compiling:$ac_tool_warned in
13081 yes:)
13082 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13083 whose name does not start with the host triplet. If you think this
13084 configuration is useful to you, please write to autoconf@gnu.org." >&5
13085 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13086 whose name does not start with the host triplet. If you think this
13087 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13088 ac_tool_warned=yes ;;
13089 esac
13090 CC=$ac_ct_CC
13091 fi
13092 fi
13093
13094 fi
13095
13096
13097 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13098 See \`config.log' for more details." >&5
13099 echo "$as_me: error: no acceptable C compiler found in \$PATH
13100 See \`config.log' for more details." >&2;}
13101 { (exit 1); exit 1; }; }
13102
13103 # Provide some information about the compiler.
13104 echo "$as_me:$LINENO: checking for C compiler version" >&5
13105 ac_compiler=`set X $ac_compile; echo $2`
13106 { (ac_try="$ac_compiler --version >&5"
13107 case "(($ac_try" in
13108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13109 *) ac_try_echo=$ac_try;;
13110 esac
13111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13112 (eval "$ac_compiler --version >&5") 2>&5
13113 ac_status=$?
13114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13115 (exit $ac_status); }
13116 { (ac_try="$ac_compiler -v >&5"
13117 case "(($ac_try" in
13118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13119 *) ac_try_echo=$ac_try;;
13120 esac
13121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13122 (eval "$ac_compiler -v >&5") 2>&5
13123 ac_status=$?
13124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13125 (exit $ac_status); }
13126 { (ac_try="$ac_compiler -V >&5"
13127 case "(($ac_try" in
13128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13129 *) ac_try_echo=$ac_try;;
13130 esac
13131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13132 (eval "$ac_compiler -V >&5") 2>&5
13133 ac_status=$?
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); }
13136
13137 cat >conftest.$ac_ext <<_ACEOF
13138 /* confdefs.h. */
13139 _ACEOF
13140 cat confdefs.h >>conftest.$ac_ext
13141 cat >>conftest.$ac_ext <<_ACEOF
13142 /* end confdefs.h. */
13143
13144 int
13145 main ()
13146 {
13147
13148 ;
13149 return 0;
13150 }
13151 _ACEOF
13152 ac_clean_files_save=$ac_clean_files
13153 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13154 # Try to create an executable without -o first, disregard a.out.
13155 # It will help us diagnose broken compilers, and finding out an intuition
13156 # of exeext.
13157 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13158 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13159 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13160 #
13161 # List of possible output files, starting from the most likely.
13162 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13163 # only as a last resort. b.out is created by i960 compilers.
13164 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13165 #
13166 # The IRIX 6 linker writes into existing files which may not be
13167 # executable, retaining their permissions. Remove them first so a
13168 # subsequent execution test works.
13169 ac_rmfiles=
13170 for ac_file in $ac_files
13171 do
13172 case $ac_file in
13173 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13174 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13175 esac
13176 done
13177 rm -f $ac_rmfiles
13178
13179 if { (ac_try="$ac_link_default"
13180 case "(($ac_try" in
13181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13182 *) ac_try_echo=$ac_try;;
13183 esac
13184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13185 (eval "$ac_link_default") 2>&5
13186 ac_status=$?
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); }; then
13189 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13190 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13191 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13192 # so that the user can short-circuit this test for compilers unknown to
13193 # Autoconf.
13194 for ac_file in $ac_files ''
13195 do
13196 test -f "$ac_file" || continue
13197 case $ac_file in
13198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13199 ;;
13200 [ab].out )
13201 # We found the default executable, but exeext='' is most
13202 # certainly right.
13203 break;;
13204 *.* )
13205 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13206 then :; else
13207 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13208 fi
13209 # We set ac_cv_exeext here because the later test for it is not
13210 # safe: cross compilers may not add the suffix if given an `-o'
13211 # argument, so we may need to know it at that point already.
13212 # Even if this section looks crufty: it has the advantage of
13213 # actually working.
13214 break;;
13215 * )
13216 break;;
13217 esac
13218 done
13219 test "$ac_cv_exeext" = no && ac_cv_exeext=
13220
13221 else
13222 ac_file=''
13223 fi
13224
13225 { echo "$as_me:$LINENO: result: $ac_file" >&5
13226 echo "${ECHO_T}$ac_file" >&6; }
13227 if test -z "$ac_file"; then
13228 echo "$as_me: failed program was:" >&5
13229 sed 's/^/| /' conftest.$ac_ext >&5
13230
13231 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13232 See \`config.log' for more details." >&5
13233 echo "$as_me: error: C compiler cannot create executables
13234 See \`config.log' for more details." >&2;}
13235 { (exit 77); exit 77; }; }
13236 fi
13237
13238 ac_exeext=$ac_cv_exeext
13239
13240 # Check that the compiler produces executables we can run. If not, either
13241 # the compiler is broken, or we cross compile.
13242 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13243 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13244 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13245 # If not cross compiling, check that we can run a simple program.
13246 if test "$cross_compiling" != yes; then
13247 if { ac_try='./$ac_file'
13248 { (case "(($ac_try" in
13249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250 *) ac_try_echo=$ac_try;;
13251 esac
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_try") 2>&5
13254 ac_status=$?
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; }; then
13257 cross_compiling=no
13258 else
13259 if test "$cross_compiling" = maybe; then
13260 cross_compiling=yes
13261 else
13262 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13263 If you meant to cross compile, use \`--host'.
13264 See \`config.log' for more details." >&5
13265 echo "$as_me: error: cannot run C compiled programs.
13266 If you meant to cross compile, use \`--host'.
13267 See \`config.log' for more details." >&2;}
13268 { (exit 1); exit 1; }; }
13269 fi
13270 fi
13271 fi
13272 { echo "$as_me:$LINENO: result: yes" >&5
13273 echo "${ECHO_T}yes" >&6; }
13274
13275 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13276 ac_clean_files=$ac_clean_files_save
13277 # Check that the compiler produces executables we can run. If not, either
13278 # the compiler is broken, or we cross compile.
13279 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13280 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13281 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13282 echo "${ECHO_T}$cross_compiling" >&6; }
13283
13284 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13285 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13286 if { (ac_try="$ac_link"
13287 case "(($ac_try" in
13288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13289 *) ac_try_echo=$ac_try;;
13290 esac
13291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13292 (eval "$ac_link") 2>&5
13293 ac_status=$?
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; then
13296 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13297 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13298 # work properly (i.e., refer to `conftest.exe'), while it won't with
13299 # `rm'.
13300 for ac_file in conftest.exe conftest conftest.*; do
13301 test -f "$ac_file" || continue
13302 case $ac_file in
13303 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13304 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13305 break;;
13306 * ) break;;
13307 esac
13308 done
13309 else
13310 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13311 See \`config.log' for more details." >&5
13312 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13313 See \`config.log' for more details." >&2;}
13314 { (exit 1); exit 1; }; }
13315 fi
13316
13317 rm -f conftest$ac_cv_exeext
13318 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13319 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13320
13321 rm -f conftest.$ac_ext
13322 EXEEXT=$ac_cv_exeext
13323 ac_exeext=$EXEEXT
13324 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13325 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13326 if test "${ac_cv_objext+set}" = set; then
13327 echo $ECHO_N "(cached) $ECHO_C" >&6
13328 else
13329 cat >conftest.$ac_ext <<_ACEOF
13330 /* confdefs.h. */
13331 _ACEOF
13332 cat confdefs.h >>conftest.$ac_ext
13333 cat >>conftest.$ac_ext <<_ACEOF
13334 /* end confdefs.h. */
13335
13336 int
13337 main ()
13338 {
13339
13340 ;
13341 return 0;
13342 }
13343 _ACEOF
13344 rm -f conftest.o conftest.obj
13345 if { (ac_try="$ac_compile"
13346 case "(($ac_try" in
13347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13348 *) ac_try_echo=$ac_try;;
13349 esac
13350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13351 (eval "$ac_compile") 2>&5
13352 ac_status=$?
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; then
13355 for ac_file in conftest.o conftest.obj conftest.*; do
13356 test -f "$ac_file" || continue;
13357 case $ac_file in
13358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13359 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13360 break;;
13361 esac
13362 done
13363 else
13364 echo "$as_me: failed program was:" >&5
13365 sed 's/^/| /' conftest.$ac_ext >&5
13366
13367 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13368 See \`config.log' for more details." >&5
13369 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13370 See \`config.log' for more details." >&2;}
13371 { (exit 1); exit 1; }; }
13372 fi
13373
13374 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13375 fi
13376 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13377 echo "${ECHO_T}$ac_cv_objext" >&6; }
13378 OBJEXT=$ac_cv_objext
13379 ac_objext=$OBJEXT
13380 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13381 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13382 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13383 echo $ECHO_N "(cached) $ECHO_C" >&6
13384 else
13385 cat >conftest.$ac_ext <<_ACEOF
13386 /* confdefs.h. */
13387 _ACEOF
13388 cat confdefs.h >>conftest.$ac_ext
13389 cat >>conftest.$ac_ext <<_ACEOF
13390 /* end confdefs.h. */
13391
13392 int
13393 main ()
13394 {
13395 #ifndef __GNUC__
13396 choke me
13397 #endif
13398
13399 ;
13400 return 0;
13401 }
13402 _ACEOF
13403 rm -f conftest.$ac_objext
13404 if { (ac_try="$ac_compile"
13405 case "(($ac_try" in
13406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13407 *) ac_try_echo=$ac_try;;
13408 esac
13409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13410 (eval "$ac_compile") 2>conftest.er1
13411 ac_status=$?
13412 grep -v '^ *+' conftest.er1 >conftest.err
13413 rm -f conftest.er1
13414 cat conftest.err >&5
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); } && {
13417 test -z "$ac_c_werror_flag" ||
13418 test ! -s conftest.err
13419 } && test -s conftest.$ac_objext; then
13420 ac_compiler_gnu=yes
13421 else
13422 echo "$as_me: failed program was:" >&5
13423 sed 's/^/| /' conftest.$ac_ext >&5
13424
13425 ac_compiler_gnu=no
13426 fi
13427
13428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13429 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13430
13431 fi
13432 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13433 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13434 GCC=`test $ac_compiler_gnu = yes && echo yes`
13435 ac_test_CFLAGS=${CFLAGS+set}
13436 ac_save_CFLAGS=$CFLAGS
13437 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13438 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13439 if test "${ac_cv_prog_cc_g+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 else
13442 ac_save_c_werror_flag=$ac_c_werror_flag
13443 ac_c_werror_flag=yes
13444 ac_cv_prog_cc_g=no
13445 CFLAGS="-g"
13446 cat >conftest.$ac_ext <<_ACEOF
13447 /* confdefs.h. */
13448 _ACEOF
13449 cat confdefs.h >>conftest.$ac_ext
13450 cat >>conftest.$ac_ext <<_ACEOF
13451 /* end confdefs.h. */
13452
13453 int
13454 main ()
13455 {
13456
13457 ;
13458 return 0;
13459 }
13460 _ACEOF
13461 rm -f conftest.$ac_objext
13462 if { (ac_try="$ac_compile"
13463 case "(($ac_try" in
13464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13465 *) ac_try_echo=$ac_try;;
13466 esac
13467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13468 (eval "$ac_compile") 2>conftest.er1
13469 ac_status=$?
13470 grep -v '^ *+' conftest.er1 >conftest.err
13471 rm -f conftest.er1
13472 cat conftest.err >&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); } && {
13475 test -z "$ac_c_werror_flag" ||
13476 test ! -s conftest.err
13477 } && test -s conftest.$ac_objext; then
13478 ac_cv_prog_cc_g=yes
13479 else
13480 echo "$as_me: failed program was:" >&5
13481 sed 's/^/| /' conftest.$ac_ext >&5
13482
13483 CFLAGS=""
13484 cat >conftest.$ac_ext <<_ACEOF
13485 /* confdefs.h. */
13486 _ACEOF
13487 cat confdefs.h >>conftest.$ac_ext
13488 cat >>conftest.$ac_ext <<_ACEOF
13489 /* end confdefs.h. */
13490
13491 int
13492 main ()
13493 {
13494
13495 ;
13496 return 0;
13497 }
13498 _ACEOF
13499 rm -f conftest.$ac_objext
13500 if { (ac_try="$ac_compile"
13501 case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13504 esac
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_compile") 2>conftest.er1
13507 ac_status=$?
13508 grep -v '^ *+' conftest.er1 >conftest.err
13509 rm -f conftest.er1
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } && {
13513 test -z "$ac_c_werror_flag" ||
13514 test ! -s conftest.err
13515 } && test -s conftest.$ac_objext; then
13516 :
13517 else
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13520
13521 ac_c_werror_flag=$ac_save_c_werror_flag
13522 CFLAGS="-g"
13523 cat >conftest.$ac_ext <<_ACEOF
13524 /* confdefs.h. */
13525 _ACEOF
13526 cat confdefs.h >>conftest.$ac_ext
13527 cat >>conftest.$ac_ext <<_ACEOF
13528 /* end confdefs.h. */
13529
13530 int
13531 main ()
13532 {
13533
13534 ;
13535 return 0;
13536 }
13537 _ACEOF
13538 rm -f conftest.$ac_objext
13539 if { (ac_try="$ac_compile"
13540 case "(($ac_try" in
13541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13542 *) ac_try_echo=$ac_try;;
13543 esac
13544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13545 (eval "$ac_compile") 2>conftest.er1
13546 ac_status=$?
13547 grep -v '^ *+' conftest.er1 >conftest.err
13548 rm -f conftest.er1
13549 cat conftest.err >&5
13550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13551 (exit $ac_status); } && {
13552 test -z "$ac_c_werror_flag" ||
13553 test ! -s conftest.err
13554 } && test -s conftest.$ac_objext; then
13555 ac_cv_prog_cc_g=yes
13556 else
13557 echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.$ac_ext >&5
13559
13560
13561 fi
13562
13563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13564 fi
13565
13566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13567 fi
13568
13569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13570 ac_c_werror_flag=$ac_save_c_werror_flag
13571 fi
13572 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13573 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13574 if test "$ac_test_CFLAGS" = set; then
13575 CFLAGS=$ac_save_CFLAGS
13576 elif test $ac_cv_prog_cc_g = yes; then
13577 if test "$GCC" = yes; then
13578 CFLAGS="-g -O2"
13579 else
13580 CFLAGS="-g"
13581 fi
13582 else
13583 if test "$GCC" = yes; then
13584 CFLAGS="-O2"
13585 else
13586 CFLAGS=
13587 fi
13588 fi
13589 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13590 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13591 if test "${ac_cv_prog_cc_c89+set}" = set; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 else
13594 ac_cv_prog_cc_c89=no
13595 ac_save_CC=$CC
13596 cat >conftest.$ac_ext <<_ACEOF
13597 /* confdefs.h. */
13598 _ACEOF
13599 cat confdefs.h >>conftest.$ac_ext
13600 cat >>conftest.$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13602 #include <stdarg.h>
13603 #include <stdio.h>
13604 #include <sys/types.h>
13605 #include <sys/stat.h>
13606 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13607 struct buf { int x; };
13608 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13609 static char *e (p, i)
13610 char **p;
13611 int i;
13612 {
13613 return p[i];
13614 }
13615 static char *f (char * (*g) (char **, int), char **p, ...)
13616 {
13617 char *s;
13618 va_list v;
13619 va_start (v,p);
13620 s = g (p, va_arg (v,int));
13621 va_end (v);
13622 return s;
13623 }
13624
13625 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13626 function prototypes and stuff, but not '\xHH' hex character constants.
13627 These don't provoke an error unfortunately, instead are silently treated
13628 as 'x'. The following induces an error, until -std is added to get
13629 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13630 array size at least. It's necessary to write '\x00'==0 to get something
13631 that's true only with -std. */
13632 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13633
13634 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13635 inside strings and character constants. */
13636 #define FOO(x) 'x'
13637 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13638
13639 int test (int i, double x);
13640 struct s1 {int (*f) (int a);};
13641 struct s2 {int (*f) (double a);};
13642 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13643 int argc;
13644 char **argv;
13645 int
13646 main ()
13647 {
13648 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13649 ;
13650 return 0;
13651 }
13652 _ACEOF
13653 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13654 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13655 do
13656 CC="$ac_save_CC $ac_arg"
13657 rm -f conftest.$ac_objext
13658 if { (ac_try="$ac_compile"
13659 case "(($ac_try" in
13660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13661 *) ac_try_echo=$ac_try;;
13662 esac
13663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13664 (eval "$ac_compile") 2>conftest.er1
13665 ac_status=$?
13666 grep -v '^ *+' conftest.er1 >conftest.err
13667 rm -f conftest.er1
13668 cat conftest.err >&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } && {
13671 test -z "$ac_c_werror_flag" ||
13672 test ! -s conftest.err
13673 } && test -s conftest.$ac_objext; then
13674 ac_cv_prog_cc_c89=$ac_arg
13675 else
13676 echo "$as_me: failed program was:" >&5
13677 sed 's/^/| /' conftest.$ac_ext >&5
13678
13679
13680 fi
13681
13682 rm -f core conftest.err conftest.$ac_objext
13683 test "x$ac_cv_prog_cc_c89" != "xno" && break
13684 done
13685 rm -f conftest.$ac_ext
13686 CC=$ac_save_CC
13687
13688 fi
13689 # AC_CACHE_VAL
13690 case "x$ac_cv_prog_cc_c89" in
13691 x)
13692 { echo "$as_me:$LINENO: result: none needed" >&5
13693 echo "${ECHO_T}none needed" >&6; } ;;
13694 xno)
13695 { echo "$as_me:$LINENO: result: unsupported" >&5
13696 echo "${ECHO_T}unsupported" >&6; } ;;
13697 *)
13698 CC="$CC $ac_cv_prog_cc_c89"
13699 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13700 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13701 esac
13702
13703
13704 ac_ext=c
13705 ac_cpp='$CPP $CPPFLAGS'
13706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13709
13710
13711
13712 ac_ext=c
13713 ac_cpp='$CPP $CPPFLAGS'
13714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13717
13718 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13719 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13720 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 else
13723 cat >conftest.$ac_ext <<_ACEOF
13724 /* confdefs.h. */
13725 _ACEOF
13726 cat confdefs.h >>conftest.$ac_ext
13727 cat >>conftest.$ac_ext <<_ACEOF
13728 /* end confdefs.h. */
13729
13730 int
13731 main ()
13732 {
13733
13734 #ifndef __INTEL_COMPILER
13735 choke me
13736 #endif
13737
13738 ;
13739 return 0;
13740 }
13741 _ACEOF
13742 rm -f conftest.$ac_objext
13743 if { (ac_try="$ac_compile"
13744 case "(($ac_try" in
13745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13746 *) ac_try_echo=$ac_try;;
13747 esac
13748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13749 (eval "$ac_compile") 2>conftest.er1
13750 ac_status=$?
13751 grep -v '^ *+' conftest.er1 >conftest.err
13752 rm -f conftest.er1
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } && {
13756 test -z "$ac_c_werror_flag" ||
13757 test ! -s conftest.err
13758 } && test -s conftest.$ac_objext; then
13759 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13760 else
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.$ac_ext >&5
13763
13764 bakefile_cv_c_compiler___INTEL_COMPILER=no
13765
13766 fi
13767
13768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13769
13770
13771 fi
13772 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13773 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13774 ac_ext=c
13775 ac_cpp='$CPP $CPPFLAGS'
13776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13779
13780 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13781 :; INTELCC=yes
13782 else
13783 :;
13784 fi
13785
13786
13787 if test "x$GCC" != "xyes"; then
13788 if test "xCC" = "xC"; then
13789 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13790 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13791 if test "${bakefile_cv_c_exto+set}" = set; then
13792 echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794 cat >conftest.$ac_ext <<_ACEOF
13795 /* confdefs.h. */
13796 _ACEOF
13797 cat confdefs.h >>conftest.$ac_ext
13798 cat >>conftest.$ac_ext <<_ACEOF
13799 /* end confdefs.h. */
13800
13801 int
13802 main ()
13803 {
13804
13805 ;
13806 return 0;
13807 }
13808 _ACEOF
13809 rm -f conftest.$ac_objext conftest.$ac_ext.o
13810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13811 (eval $ac_compile) 2>&5
13812 ac_status=$?
13813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13814 (exit $ac_status); }; then
13815 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13816 case $ac_file in
13817 conftest.$ac_ext.o)
13818 bakefile_cv_c_exto="-ext o"
13819 ;;
13820 *)
13821 ;;
13822 esac
13823 done
13824 else
13825 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13826 See \`config.log' for more details." >&5
13827 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13828 See \`config.log' for more details." >&2;}
13829 { (exit 1); exit 1; }; }
13830
13831 fi
13832
13833 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13834
13835 fi
13836 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13837 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13838 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13839 if test "c" = "c"; then
13840 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13841 fi
13842 if test "c" = "cxx"; then
13843 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13844 fi
13845 fi
13846
13847 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13848 unset ac_cv_prog_cc_g
13849 ac_test_CFLAGS=${CFLAGS+set}
13850 ac_save_CFLAGS=$CFLAGS
13851 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13852 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13853 if test "${ac_cv_prog_cc_g+set}" = set; then
13854 echo $ECHO_N "(cached) $ECHO_C" >&6
13855 else
13856 ac_save_c_werror_flag=$ac_c_werror_flag
13857 ac_c_werror_flag=yes
13858 ac_cv_prog_cc_g=no
13859 CFLAGS="-g"
13860 cat >conftest.$ac_ext <<_ACEOF
13861 /* confdefs.h. */
13862 _ACEOF
13863 cat confdefs.h >>conftest.$ac_ext
13864 cat >>conftest.$ac_ext <<_ACEOF
13865 /* end confdefs.h. */
13866
13867 int
13868 main ()
13869 {
13870
13871 ;
13872 return 0;
13873 }
13874 _ACEOF
13875 rm -f conftest.$ac_objext
13876 if { (ac_try="$ac_compile"
13877 case "(($ac_try" in
13878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13879 *) ac_try_echo=$ac_try;;
13880 esac
13881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13882 (eval "$ac_compile") 2>conftest.er1
13883 ac_status=$?
13884 grep -v '^ *+' conftest.er1 >conftest.err
13885 rm -f conftest.er1
13886 cat conftest.err >&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 (exit $ac_status); } && {
13889 test -z "$ac_c_werror_flag" ||
13890 test ! -s conftest.err
13891 } && test -s conftest.$ac_objext; then
13892 ac_cv_prog_cc_g=yes
13893 else
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.$ac_ext >&5
13896
13897 CFLAGS=""
13898 cat >conftest.$ac_ext <<_ACEOF
13899 /* confdefs.h. */
13900 _ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904
13905 int
13906 main ()
13907 {
13908
13909 ;
13910 return 0;
13911 }
13912 _ACEOF
13913 rm -f conftest.$ac_objext
13914 if { (ac_try="$ac_compile"
13915 case "(($ac_try" in
13916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13917 *) ac_try_echo=$ac_try;;
13918 esac
13919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13920 (eval "$ac_compile") 2>conftest.er1
13921 ac_status=$?
13922 grep -v '^ *+' conftest.er1 >conftest.err
13923 rm -f conftest.er1
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } && {
13927 test -z "$ac_c_werror_flag" ||
13928 test ! -s conftest.err
13929 } && test -s conftest.$ac_objext; then
13930 :
13931 else
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.$ac_ext >&5
13934
13935 ac_c_werror_flag=$ac_save_c_werror_flag
13936 CFLAGS="-g"
13937 cat >conftest.$ac_ext <<_ACEOF
13938 /* confdefs.h. */
13939 _ACEOF
13940 cat confdefs.h >>conftest.$ac_ext
13941 cat >>conftest.$ac_ext <<_ACEOF
13942 /* end confdefs.h. */
13943
13944 int
13945 main ()
13946 {
13947
13948 ;
13949 return 0;
13950 }
13951 _ACEOF
13952 rm -f conftest.$ac_objext
13953 if { (ac_try="$ac_compile"
13954 case "(($ac_try" in
13955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13956 *) ac_try_echo=$ac_try;;
13957 esac
13958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13959 (eval "$ac_compile") 2>conftest.er1
13960 ac_status=$?
13961 grep -v '^ *+' conftest.er1 >conftest.err
13962 rm -f conftest.er1
13963 cat conftest.err >&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); } && {
13966 test -z "$ac_c_werror_flag" ||
13967 test ! -s conftest.err
13968 } && test -s conftest.$ac_objext; then
13969 ac_cv_prog_cc_g=yes
13970 else
13971 echo "$as_me: failed program was:" >&5
13972 sed 's/^/| /' conftest.$ac_ext >&5
13973
13974
13975 fi
13976
13977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13978 fi
13979
13980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13981 fi
13982
13983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13984 ac_c_werror_flag=$ac_save_c_werror_flag
13985 fi
13986 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13987 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13988 if test "$ac_test_CFLAGS" = set; then
13989 CFLAGS=$ac_save_CFLAGS
13990 elif test $ac_cv_prog_cc_g = yes; then
13991 if test "$GCC" = yes; then
13992 CFLAGS="-g -O2"
13993 else
13994 CFLAGS="-g"
13995 fi
13996 else
13997 if test "$GCC" = yes; then
13998 CFLAGS="-O2"
13999 else
14000 CFLAGS=
14001 fi
14002 fi
14003 fi
14004 fi
14005
14006 case `uname -s` in
14007 AIX*)
14008 ac_ext=c
14009 ac_cpp='$CPP $CPPFLAGS'
14010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14013
14014 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14015 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14016 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14017 echo $ECHO_N "(cached) $ECHO_C" >&6
14018 else
14019 cat >conftest.$ac_ext <<_ACEOF
14020 /* confdefs.h. */
14021 _ACEOF
14022 cat confdefs.h >>conftest.$ac_ext
14023 cat >>conftest.$ac_ext <<_ACEOF
14024 /* end confdefs.h. */
14025
14026 int
14027 main ()
14028 {
14029 #ifndef __xlC__
14030 choke me
14031 #endif
14032
14033 ;
14034 return 0;
14035 }
14036 _ACEOF
14037 rm -f conftest.$ac_objext
14038 if { (ac_try="$ac_compile"
14039 case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;;
14042 esac
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_compile") 2>conftest.er1
14045 ac_status=$?
14046 grep -v '^ *+' conftest.er1 >conftest.err
14047 rm -f conftest.er1
14048 cat conftest.err >&5
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); } && {
14051 test -z "$ac_c_werror_flag" ||
14052 test ! -s conftest.err
14053 } && test -s conftest.$ac_objext; then
14054 bakefile_compiler_xlc=yes
14055 else
14056 echo "$as_me: failed program was:" >&5
14057 sed 's/^/| /' conftest.$ac_ext >&5
14058
14059 bakefile_compiler_xlc=no
14060 fi
14061
14062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14063 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14064
14065 fi
14066 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14067 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14068
14069 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14070 ac_ext=c
14071 ac_cpp='$CPP $CPPFLAGS'
14072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14075
14076
14077 ;;
14078
14079 Darwin)
14080 ac_ext=c
14081 ac_cpp='$CPP $CPPFLAGS'
14082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14085
14086 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14087 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14088 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14089 echo $ECHO_N "(cached) $ECHO_C" >&6
14090 else
14091 cat >conftest.$ac_ext <<_ACEOF
14092 /* confdefs.h. */
14093 _ACEOF
14094 cat confdefs.h >>conftest.$ac_ext
14095 cat >>conftest.$ac_ext <<_ACEOF
14096 /* end confdefs.h. */
14097
14098 int
14099 main ()
14100 {
14101 #ifndef __MWERKS__
14102 choke me
14103 #endif
14104
14105 ;
14106 return 0;
14107 }
14108 _ACEOF
14109 rm -f conftest.$ac_objext
14110 if { (ac_try="$ac_compile"
14111 case "(($ac_try" in
14112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14113 *) ac_try_echo=$ac_try;;
14114 esac
14115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14116 (eval "$ac_compile") 2>conftest.er1
14117 ac_status=$?
14118 grep -v '^ *+' conftest.er1 >conftest.err
14119 rm -f conftest.er1
14120 cat conftest.err >&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); } && {
14123 test -z "$ac_c_werror_flag" ||
14124 test ! -s conftest.err
14125 } && test -s conftest.$ac_objext; then
14126 bakefile_compiler_mwerks=yes
14127 else
14128 echo "$as_me: failed program was:" >&5
14129 sed 's/^/| /' conftest.$ac_ext >&5
14130
14131 bakefile_compiler_mwerks=no
14132 fi
14133
14134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14135 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14136
14137 fi
14138 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14139 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14140
14141 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14142 ac_ext=c
14143 ac_cpp='$CPP $CPPFLAGS'
14144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14147
14148
14149 ac_ext=c
14150 ac_cpp='$CPP $CPPFLAGS'
14151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14154
14155 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14156 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14157 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14158 echo $ECHO_N "(cached) $ECHO_C" >&6
14159 else
14160 cat >conftest.$ac_ext <<_ACEOF
14161 /* confdefs.h. */
14162 _ACEOF
14163 cat confdefs.h >>conftest.$ac_ext
14164 cat >>conftest.$ac_ext <<_ACEOF
14165 /* end confdefs.h. */
14166
14167 int
14168 main ()
14169 {
14170 #ifndef __xlC__
14171 choke me
14172 #endif
14173
14174 ;
14175 return 0;
14176 }
14177 _ACEOF
14178 rm -f conftest.$ac_objext
14179 if { (ac_try="$ac_compile"
14180 case "(($ac_try" in
14181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14182 *) ac_try_echo=$ac_try;;
14183 esac
14184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14185 (eval "$ac_compile") 2>conftest.er1
14186 ac_status=$?
14187 grep -v '^ *+' conftest.er1 >conftest.err
14188 rm -f conftest.er1
14189 cat conftest.err >&5
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); } && {
14192 test -z "$ac_c_werror_flag" ||
14193 test ! -s conftest.err
14194 } && test -s conftest.$ac_objext; then
14195 bakefile_compiler_xlc=yes
14196 else
14197 echo "$as_me: failed program was:" >&5
14198 sed 's/^/| /' conftest.$ac_ext >&5
14199
14200 bakefile_compiler_xlc=no
14201 fi
14202
14203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14204 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14205
14206 fi
14207 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14208 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14209
14210 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14211 ac_ext=c
14212 ac_cpp='$CPP $CPPFLAGS'
14213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14216
14217
14218 ;;
14219
14220 IRIX*)
14221
14222
14223 ac_ext=c
14224 ac_cpp='$CPP $CPPFLAGS'
14225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14228
14229 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14230 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14231 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14232 echo $ECHO_N "(cached) $ECHO_C" >&6
14233 else
14234 cat >conftest.$ac_ext <<_ACEOF
14235 /* confdefs.h. */
14236 _ACEOF
14237 cat confdefs.h >>conftest.$ac_ext
14238 cat >>conftest.$ac_ext <<_ACEOF
14239 /* end confdefs.h. */
14240
14241 int
14242 main ()
14243 {
14244
14245 #ifndef _SGI_COMPILER_VERSION
14246 choke me
14247 #endif
14248
14249 ;
14250 return 0;
14251 }
14252 _ACEOF
14253 rm -f conftest.$ac_objext
14254 if { (ac_try="$ac_compile"
14255 case "(($ac_try" in
14256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14257 *) ac_try_echo=$ac_try;;
14258 esac
14259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14260 (eval "$ac_compile") 2>conftest.er1
14261 ac_status=$?
14262 grep -v '^ *+' conftest.er1 >conftest.err
14263 rm -f conftest.er1
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } && {
14267 test -z "$ac_c_werror_flag" ||
14268 test ! -s conftest.err
14269 } && test -s conftest.$ac_objext; then
14270 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14271 else
14272 echo "$as_me: failed program was:" >&5
14273 sed 's/^/| /' conftest.$ac_ext >&5
14274
14275 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14276
14277 fi
14278
14279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14280
14281
14282 fi
14283 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14284 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14285 ac_ext=c
14286 ac_cpp='$CPP $CPPFLAGS'
14287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14290
14291 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14292 :; SGICC=yes
14293 else
14294 :;
14295 fi
14296
14297
14298 ;;
14299
14300 HP-UX*)
14301
14302
14303 ac_ext=c
14304 ac_cpp='$CPP $CPPFLAGS'
14305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14308
14309 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14310 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14311 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14312 echo $ECHO_N "(cached) $ECHO_C" >&6
14313 else
14314 cat >conftest.$ac_ext <<_ACEOF
14315 /* confdefs.h. */
14316 _ACEOF
14317 cat confdefs.h >>conftest.$ac_ext
14318 cat >>conftest.$ac_ext <<_ACEOF
14319 /* end confdefs.h. */
14320
14321 int
14322 main ()
14323 {
14324
14325 #ifndef __HP_cc
14326 choke me
14327 #endif
14328
14329 ;
14330 return 0;
14331 }
14332 _ACEOF
14333 rm -f conftest.$ac_objext
14334 if { (ac_try="$ac_compile"
14335 case "(($ac_try" in
14336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14337 *) ac_try_echo=$ac_try;;
14338 esac
14339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14340 (eval "$ac_compile") 2>conftest.er1
14341 ac_status=$?
14342 grep -v '^ *+' conftest.er1 >conftest.err
14343 rm -f conftest.er1
14344 cat conftest.err >&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } && {
14347 test -z "$ac_c_werror_flag" ||
14348 test ! -s conftest.err
14349 } && test -s conftest.$ac_objext; then
14350 bakefile_cv_c_compiler___HP_cc=yes
14351 else
14352 echo "$as_me: failed program was:" >&5
14353 sed 's/^/| /' conftest.$ac_ext >&5
14354
14355 bakefile_cv_c_compiler___HP_cc=no
14356
14357 fi
14358
14359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14360
14361
14362 fi
14363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14364 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14365 ac_ext=c
14366 ac_cpp='$CPP $CPPFLAGS'
14367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14370
14371 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14372 :; HPCC=yes
14373 else
14374 :;
14375 fi
14376
14377
14378 ;;
14379
14380 OSF1)
14381
14382
14383 ac_ext=c
14384 ac_cpp='$CPP $CPPFLAGS'
14385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14388
14389 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14390 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14391 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14392 echo $ECHO_N "(cached) $ECHO_C" >&6
14393 else
14394 cat >conftest.$ac_ext <<_ACEOF
14395 /* confdefs.h. */
14396 _ACEOF
14397 cat confdefs.h >>conftest.$ac_ext
14398 cat >>conftest.$ac_ext <<_ACEOF
14399 /* end confdefs.h. */
14400
14401 int
14402 main ()
14403 {
14404
14405 #ifndef __DECC
14406 choke me
14407 #endif
14408
14409 ;
14410 return 0;
14411 }
14412 _ACEOF
14413 rm -f conftest.$ac_objext
14414 if { (ac_try="$ac_compile"
14415 case "(($ac_try" in
14416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14417 *) ac_try_echo=$ac_try;;
14418 esac
14419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14420 (eval "$ac_compile") 2>conftest.er1
14421 ac_status=$?
14422 grep -v '^ *+' conftest.er1 >conftest.err
14423 rm -f conftest.er1
14424 cat conftest.err >&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } && {
14427 test -z "$ac_c_werror_flag" ||
14428 test ! -s conftest.err
14429 } && test -s conftest.$ac_objext; then
14430 bakefile_cv_c_compiler___DECC=yes
14431 else
14432 echo "$as_me: failed program was:" >&5
14433 sed 's/^/| /' conftest.$ac_ext >&5
14434
14435 bakefile_cv_c_compiler___DECC=no
14436
14437 fi
14438
14439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14440
14441
14442 fi
14443 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14444 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14445 ac_ext=c
14446 ac_cpp='$CPP $CPPFLAGS'
14447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14450
14451 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14452 :; COMPAQCC=yes
14453 else
14454 :;
14455 fi
14456
14457
14458 ;;
14459
14460 SunOS)
14461
14462
14463 ac_ext=c
14464 ac_cpp='$CPP $CPPFLAGS'
14465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14468
14469 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14470 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14471 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14472 echo $ECHO_N "(cached) $ECHO_C" >&6
14473 else
14474 cat >conftest.$ac_ext <<_ACEOF
14475 /* confdefs.h. */
14476 _ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480
14481 int
14482 main ()
14483 {
14484
14485 #ifndef __SUNPRO_C
14486 choke me
14487 #endif
14488
14489 ;
14490 return 0;
14491 }
14492 _ACEOF
14493 rm -f conftest.$ac_objext
14494 if { (ac_try="$ac_compile"
14495 case "(($ac_try" in
14496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14497 *) ac_try_echo=$ac_try;;
14498 esac
14499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14500 (eval "$ac_compile") 2>conftest.er1
14501 ac_status=$?
14502 grep -v '^ *+' conftest.er1 >conftest.err
14503 rm -f conftest.er1
14504 cat conftest.err >&5
14505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14506 (exit $ac_status); } && {
14507 test -z "$ac_c_werror_flag" ||
14508 test ! -s conftest.err
14509 } && test -s conftest.$ac_objext; then
14510 bakefile_cv_c_compiler___SUNPRO_C=yes
14511 else
14512 echo "$as_me: failed program was:" >&5
14513 sed 's/^/| /' conftest.$ac_ext >&5
14514
14515 bakefile_cv_c_compiler___SUNPRO_C=no
14516
14517 fi
14518
14519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14520
14521
14522 fi
14523 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14524 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14525 ac_ext=c
14526 ac_cpp='$CPP $CPPFLAGS'
14527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14530
14531 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14532 :; SUNCC=yes
14533 else
14534 :;
14535 fi
14536
14537
14538 ;;
14539 esac
14540 fi
14541
14542
14543
14544 ac_ext=c
14545 ac_cpp='$CPP $CPPFLAGS'
14546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14549 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14550 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14551 # On Suns, sometimes $CPP names a directory.
14552 if test -n "$CPP" && test -d "$CPP"; then
14553 CPP=
14554 fi
14555 if test -z "$CPP"; then
14556 if test "${ac_cv_prog_CPP+set}" = set; then
14557 echo $ECHO_N "(cached) $ECHO_C" >&6
14558 else
14559 # Double quotes because CPP needs to be expanded
14560 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14561 do
14562 ac_preproc_ok=false
14563 for ac_c_preproc_warn_flag in '' yes
14564 do
14565 # Use a header file that comes with gcc, so configuring glibc
14566 # with a fresh cross-compiler works.
14567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14568 # <limits.h> exists even on freestanding compilers.
14569 # On the NeXT, cc -E runs the code through the compiler's parser,
14570 # not just through cpp. "Syntax error" is here to catch this case.
14571 cat >conftest.$ac_ext <<_ACEOF
14572 /* confdefs.h. */
14573 _ACEOF
14574 cat confdefs.h >>conftest.$ac_ext
14575 cat >>conftest.$ac_ext <<_ACEOF
14576 /* end confdefs.h. */
14577 #ifdef __STDC__
14578 # include <limits.h>
14579 #else
14580 # include <assert.h>
14581 #endif
14582 Syntax error
14583 _ACEOF
14584 if { (ac_try="$ac_cpp conftest.$ac_ext"
14585 case "(($ac_try" in
14586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14587 *) ac_try_echo=$ac_try;;
14588 esac
14589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14590 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14591 ac_status=$?
14592 grep -v '^ *+' conftest.er1 >conftest.err
14593 rm -f conftest.er1
14594 cat conftest.err >&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); } >/dev/null && {
14597 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14598 test ! -s conftest.err
14599 }; then
14600 :
14601 else
14602 echo "$as_me: failed program was:" >&5
14603 sed 's/^/| /' conftest.$ac_ext >&5
14604
14605 # Broken: fails on valid input.
14606 continue
14607 fi
14608
14609 rm -f conftest.err conftest.$ac_ext
14610
14611 # OK, works on sane cases. Now check whether nonexistent headers
14612 # can be detected and how.
14613 cat >conftest.$ac_ext <<_ACEOF
14614 /* confdefs.h. */
14615 _ACEOF
14616 cat confdefs.h >>conftest.$ac_ext
14617 cat >>conftest.$ac_ext <<_ACEOF
14618 /* end confdefs.h. */
14619 #include <ac_nonexistent.h>
14620 _ACEOF
14621 if { (ac_try="$ac_cpp conftest.$ac_ext"
14622 case "(($ac_try" in
14623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14624 *) ac_try_echo=$ac_try;;
14625 esac
14626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14628 ac_status=$?
14629 grep -v '^ *+' conftest.er1 >conftest.err
14630 rm -f conftest.er1
14631 cat conftest.err >&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } >/dev/null && {
14634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14635 test ! -s conftest.err
14636 }; then
14637 # Broken: success on invalid input.
14638 continue
14639 else
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14642
14643 # Passes both tests.
14644 ac_preproc_ok=:
14645 break
14646 fi
14647
14648 rm -f conftest.err conftest.$ac_ext
14649
14650 done
14651 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14652 rm -f conftest.err conftest.$ac_ext
14653 if $ac_preproc_ok; then
14654 break
14655 fi
14656
14657 done
14658 ac_cv_prog_CPP=$CPP
14659
14660 fi
14661 CPP=$ac_cv_prog_CPP
14662 else
14663 ac_cv_prog_CPP=$CPP
14664 fi
14665 { echo "$as_me:$LINENO: result: $CPP" >&5
14666 echo "${ECHO_T}$CPP" >&6; }
14667 ac_preproc_ok=false
14668 for ac_c_preproc_warn_flag in '' yes
14669 do
14670 # Use a header file that comes with gcc, so configuring glibc
14671 # with a fresh cross-compiler works.
14672 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14673 # <limits.h> exists even on freestanding compilers.
14674 # On the NeXT, cc -E runs the code through the compiler's parser,
14675 # not just through cpp. "Syntax error" is here to catch this case.
14676 cat >conftest.$ac_ext <<_ACEOF
14677 /* confdefs.h. */
14678 _ACEOF
14679 cat confdefs.h >>conftest.$ac_ext
14680 cat >>conftest.$ac_ext <<_ACEOF
14681 /* end confdefs.h. */
14682 #ifdef __STDC__
14683 # include <limits.h>
14684 #else
14685 # include <assert.h>
14686 #endif
14687 Syntax error
14688 _ACEOF
14689 if { (ac_try="$ac_cpp conftest.$ac_ext"
14690 case "(($ac_try" in
14691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14692 *) ac_try_echo=$ac_try;;
14693 esac
14694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14696 ac_status=$?
14697 grep -v '^ *+' conftest.er1 >conftest.err
14698 rm -f conftest.er1
14699 cat conftest.err >&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); } >/dev/null && {
14702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14703 test ! -s conftest.err
14704 }; then
14705 :
14706 else
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14709
14710 # Broken: fails on valid input.
14711 continue
14712 fi
14713
14714 rm -f conftest.err conftest.$ac_ext
14715
14716 # OK, works on sane cases. Now check whether nonexistent headers
14717 # can be detected and how.
14718 cat >conftest.$ac_ext <<_ACEOF
14719 /* confdefs.h. */
14720 _ACEOF
14721 cat confdefs.h >>conftest.$ac_ext
14722 cat >>conftest.$ac_ext <<_ACEOF
14723 /* end confdefs.h. */
14724 #include <ac_nonexistent.h>
14725 _ACEOF
14726 if { (ac_try="$ac_cpp conftest.$ac_ext"
14727 case "(($ac_try" in
14728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14729 *) ac_try_echo=$ac_try;;
14730 esac
14731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14733 ac_status=$?
14734 grep -v '^ *+' conftest.er1 >conftest.err
14735 rm -f conftest.er1
14736 cat conftest.err >&5
14737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14738 (exit $ac_status); } >/dev/null && {
14739 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14740 test ! -s conftest.err
14741 }; then
14742 # Broken: success on invalid input.
14743 continue
14744 else
14745 echo "$as_me: failed program was:" >&5
14746 sed 's/^/| /' conftest.$ac_ext >&5
14747
14748 # Passes both tests.
14749 ac_preproc_ok=:
14750 break
14751 fi
14752
14753 rm -f conftest.err conftest.$ac_ext
14754
14755 done
14756 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14757 rm -f conftest.err conftest.$ac_ext
14758 if $ac_preproc_ok; then
14759 :
14760 else
14761 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14762 See \`config.log' for more details." >&5
14763 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14764 See \`config.log' for more details." >&2;}
14765 { (exit 1); exit 1; }; }
14766 fi
14767
14768 ac_ext=c
14769 ac_cpp='$CPP $CPPFLAGS'
14770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14773
14774
14775 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14776 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14777 if test "${ac_cv_path_GREP+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 else
14780 # Extract the first word of "grep ggrep" to use in msg output
14781 if test -z "$GREP"; then
14782 set dummy grep ggrep; ac_prog_name=$2
14783 if test "${ac_cv_path_GREP+set}" = set; then
14784 echo $ECHO_N "(cached) $ECHO_C" >&6
14785 else
14786 ac_path_GREP_found=false
14787 # Loop through the user's path and test for each of PROGNAME-LIST
14788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14789 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14790 do
14791 IFS=$as_save_IFS
14792 test -z "$as_dir" && as_dir=.
14793 for ac_prog in grep ggrep; do
14794 for ac_exec_ext in '' $ac_executable_extensions; do
14795 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14796 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14797 # Check for GNU ac_path_GREP and select it if it is found.
14798 # Check for GNU $ac_path_GREP
14799 case `"$ac_path_GREP" --version 2>&1` in
14800 *GNU*)
14801 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14802 *)
14803 ac_count=0
14804 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14805 while :
14806 do
14807 cat "conftest.in" "conftest.in" >"conftest.tmp"
14808 mv "conftest.tmp" "conftest.in"
14809 cp "conftest.in" "conftest.nl"
14810 echo 'GREP' >> "conftest.nl"
14811 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14812 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14813 ac_count=`expr $ac_count + 1`
14814 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14815 # Best one so far, save it but keep looking for a better one
14816 ac_cv_path_GREP="$ac_path_GREP"
14817 ac_path_GREP_max=$ac_count
14818 fi
14819 # 10*(2^10) chars as input seems more than enough
14820 test $ac_count -gt 10 && break
14821 done
14822 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14823 esac
14824
14825
14826 $ac_path_GREP_found && break 3
14827 done
14828 done
14829
14830 done
14831 IFS=$as_save_IFS
14832
14833
14834 fi
14835
14836 GREP="$ac_cv_path_GREP"
14837 if test -z "$GREP"; then
14838 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14839 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14840 { (exit 1); exit 1; }; }
14841 fi
14842
14843 else
14844 ac_cv_path_GREP=$GREP
14845 fi
14846
14847
14848 fi
14849 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14850 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14851 GREP="$ac_cv_path_GREP"
14852
14853
14854 { echo "$as_me:$LINENO: checking for egrep" >&5
14855 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14856 if test "${ac_cv_path_EGREP+set}" = set; then
14857 echo $ECHO_N "(cached) $ECHO_C" >&6
14858 else
14859 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14860 then ac_cv_path_EGREP="$GREP -E"
14861 else
14862 # Extract the first word of "egrep" to use in msg output
14863 if test -z "$EGREP"; then
14864 set dummy egrep; ac_prog_name=$2
14865 if test "${ac_cv_path_EGREP+set}" = set; then
14866 echo $ECHO_N "(cached) $ECHO_C" >&6
14867 else
14868 ac_path_EGREP_found=false
14869 # Loop through the user's path and test for each of PROGNAME-LIST
14870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14871 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14872 do
14873 IFS=$as_save_IFS
14874 test -z "$as_dir" && as_dir=.
14875 for ac_prog in egrep; do
14876 for ac_exec_ext in '' $ac_executable_extensions; do
14877 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14878 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14879 # Check for GNU ac_path_EGREP and select it if it is found.
14880 # Check for GNU $ac_path_EGREP
14881 case `"$ac_path_EGREP" --version 2>&1` in
14882 *GNU*)
14883 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14884 *)
14885 ac_count=0
14886 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14887 while :
14888 do
14889 cat "conftest.in" "conftest.in" >"conftest.tmp"
14890 mv "conftest.tmp" "conftest.in"
14891 cp "conftest.in" "conftest.nl"
14892 echo 'EGREP' >> "conftest.nl"
14893 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14894 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14895 ac_count=`expr $ac_count + 1`
14896 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14897 # Best one so far, save it but keep looking for a better one
14898 ac_cv_path_EGREP="$ac_path_EGREP"
14899 ac_path_EGREP_max=$ac_count
14900 fi
14901 # 10*(2^10) chars as input seems more than enough
14902 test $ac_count -gt 10 && break
14903 done
14904 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14905 esac
14906
14907
14908 $ac_path_EGREP_found && break 3
14909 done
14910 done
14911
14912 done
14913 IFS=$as_save_IFS
14914
14915
14916 fi
14917
14918 EGREP="$ac_cv_path_EGREP"
14919 if test -z "$EGREP"; then
14920 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14921 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14922 { (exit 1); exit 1; }; }
14923 fi
14924
14925 else
14926 ac_cv_path_EGREP=$EGREP
14927 fi
14928
14929
14930 fi
14931 fi
14932 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14933 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14934 EGREP="$ac_cv_path_EGREP"
14935
14936
14937 if test $ac_cv_c_compiler_gnu = yes; then
14938 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14939 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14940 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 else
14943 ac_pattern="Autoconf.*'x'"
14944 cat >conftest.$ac_ext <<_ACEOF
14945 /* confdefs.h. */
14946 _ACEOF
14947 cat confdefs.h >>conftest.$ac_ext
14948 cat >>conftest.$ac_ext <<_ACEOF
14949 /* end confdefs.h. */
14950 #include <sgtty.h>
14951 Autoconf TIOCGETP
14952 _ACEOF
14953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14954 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14955 ac_cv_prog_gcc_traditional=yes
14956 else
14957 ac_cv_prog_gcc_traditional=no
14958 fi
14959 rm -f conftest*
14960
14961
14962 if test $ac_cv_prog_gcc_traditional = no; then
14963 cat >conftest.$ac_ext <<_ACEOF
14964 /* confdefs.h. */
14965 _ACEOF
14966 cat confdefs.h >>conftest.$ac_ext
14967 cat >>conftest.$ac_ext <<_ACEOF
14968 /* end confdefs.h. */
14969 #include <termio.h>
14970 Autoconf TCGETA
14971 _ACEOF
14972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14973 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14974 ac_cv_prog_gcc_traditional=yes
14975 fi
14976 rm -f conftest*
14977
14978 fi
14979 fi
14980 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14981 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14982 if test $ac_cv_prog_gcc_traditional = yes; then
14983 CC="$CC -traditional"
14984 fi
14985 fi
14986
14987
14988 CXXFLAGS=${CXXFLAGS:=}
14989
14990
14991
14992 ac_ext=cpp
14993 ac_cpp='$CXXCPP $CPPFLAGS'
14994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14997 if test -z "$CXX"; then
14998 if test -n "$CCC"; then
14999 CXX=$CCC
15000 else
15001 if test -n "$ac_tool_prefix"; then
15002 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15003 do
15004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15008 if test "${ac_cv_prog_CXX+set}" = set; then
15009 echo $ECHO_N "(cached) $ECHO_C" >&6
15010 else
15011 if test -n "$CXX"; then
15012 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15013 else
15014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15015 for as_dir in $PATH
15016 do
15017 IFS=$as_save_IFS
15018 test -z "$as_dir" && as_dir=.
15019 for ac_exec_ext in '' $ac_executable_extensions; do
15020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15021 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15023 break 2
15024 fi
15025 done
15026 done
15027 IFS=$as_save_IFS
15028
15029 fi
15030 fi
15031 CXX=$ac_cv_prog_CXX
15032 if test -n "$CXX"; then
15033 { echo "$as_me:$LINENO: result: $CXX" >&5
15034 echo "${ECHO_T}$CXX" >&6; }
15035 else
15036 { echo "$as_me:$LINENO: result: no" >&5
15037 echo "${ECHO_T}no" >&6; }
15038 fi
15039
15040
15041 test -n "$CXX" && break
15042 done
15043 fi
15044 if test -z "$CXX"; then
15045 ac_ct_CXX=$CXX
15046 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15047 do
15048 # Extract the first word of "$ac_prog", so it can be a program name with args.
15049 set dummy $ac_prog; ac_word=$2
15050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15052 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15053 echo $ECHO_N "(cached) $ECHO_C" >&6
15054 else
15055 if test -n "$ac_ct_CXX"; then
15056 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15057 else
15058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15059 for as_dir in $PATH
15060 do
15061 IFS=$as_save_IFS
15062 test -z "$as_dir" && as_dir=.
15063 for ac_exec_ext in '' $ac_executable_extensions; do
15064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15065 ac_cv_prog_ac_ct_CXX="$ac_prog"
15066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15067 break 2
15068 fi
15069 done
15070 done
15071 IFS=$as_save_IFS
15072
15073 fi
15074 fi
15075 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15076 if test -n "$ac_ct_CXX"; then
15077 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15078 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15079 else
15080 { echo "$as_me:$LINENO: result: no" >&5
15081 echo "${ECHO_T}no" >&6; }
15082 fi
15083
15084
15085 test -n "$ac_ct_CXX" && break
15086 done
15087
15088 if test "x$ac_ct_CXX" = x; then
15089 CXX="g++"
15090 else
15091 case $cross_compiling:$ac_tool_warned in
15092 yes:)
15093 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15094 whose name does not start with the host triplet. If you think this
15095 configuration is useful to you, please write to autoconf@gnu.org." >&5
15096 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15097 whose name does not start with the host triplet. If you think this
15098 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15099 ac_tool_warned=yes ;;
15100 esac
15101 CXX=$ac_ct_CXX
15102 fi
15103 fi
15104
15105 fi
15106 fi
15107 # Provide some information about the compiler.
15108 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15109 ac_compiler=`set X $ac_compile; echo $2`
15110 { (ac_try="$ac_compiler --version >&5"
15111 case "(($ac_try" in
15112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15113 *) ac_try_echo=$ac_try;;
15114 esac
15115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15116 (eval "$ac_compiler --version >&5") 2>&5
15117 ac_status=$?
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }
15120 { (ac_try="$ac_compiler -v >&5"
15121 case "(($ac_try" in
15122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15123 *) ac_try_echo=$ac_try;;
15124 esac
15125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15126 (eval "$ac_compiler -v >&5") 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }
15130 { (ac_try="$ac_compiler -V >&5"
15131 case "(($ac_try" in
15132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15133 *) ac_try_echo=$ac_try;;
15134 esac
15135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15136 (eval "$ac_compiler -V >&5") 2>&5
15137 ac_status=$?
15138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15139 (exit $ac_status); }
15140
15141 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15142 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15143 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15144 echo $ECHO_N "(cached) $ECHO_C" >&6
15145 else
15146 cat >conftest.$ac_ext <<_ACEOF
15147 /* confdefs.h. */
15148 _ACEOF
15149 cat confdefs.h >>conftest.$ac_ext
15150 cat >>conftest.$ac_ext <<_ACEOF
15151 /* end confdefs.h. */
15152
15153 int
15154 main ()
15155 {
15156 #ifndef __GNUC__
15157 choke me
15158 #endif
15159
15160 ;
15161 return 0;
15162 }
15163 _ACEOF
15164 rm -f conftest.$ac_objext
15165 if { (ac_try="$ac_compile"
15166 case "(($ac_try" in
15167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15168 *) ac_try_echo=$ac_try;;
15169 esac
15170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15171 (eval "$ac_compile") 2>conftest.er1
15172 ac_status=$?
15173 grep -v '^ *+' conftest.er1 >conftest.err
15174 rm -f conftest.er1
15175 cat conftest.err >&5
15176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15177 (exit $ac_status); } && {
15178 test -z "$ac_cxx_werror_flag" ||
15179 test ! -s conftest.err
15180 } && test -s conftest.$ac_objext; then
15181 ac_compiler_gnu=yes
15182 else
15183 echo "$as_me: failed program was:" >&5
15184 sed 's/^/| /' conftest.$ac_ext >&5
15185
15186 ac_compiler_gnu=no
15187 fi
15188
15189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15190 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15191
15192 fi
15193 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15194 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15195 GXX=`test $ac_compiler_gnu = yes && echo yes`
15196 ac_test_CXXFLAGS=${CXXFLAGS+set}
15197 ac_save_CXXFLAGS=$CXXFLAGS
15198 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15199 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15200 if test "${ac_cv_prog_cxx_g+set}" = set; then
15201 echo $ECHO_N "(cached) $ECHO_C" >&6
15202 else
15203 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15204 ac_cxx_werror_flag=yes
15205 ac_cv_prog_cxx_g=no
15206 CXXFLAGS="-g"
15207 cat >conftest.$ac_ext <<_ACEOF
15208 /* confdefs.h. */
15209 _ACEOF
15210 cat confdefs.h >>conftest.$ac_ext
15211 cat >>conftest.$ac_ext <<_ACEOF
15212 /* end confdefs.h. */
15213
15214 int
15215 main ()
15216 {
15217
15218 ;
15219 return 0;
15220 }
15221 _ACEOF
15222 rm -f conftest.$ac_objext
15223 if { (ac_try="$ac_compile"
15224 case "(($ac_try" in
15225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15226 *) ac_try_echo=$ac_try;;
15227 esac
15228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15229 (eval "$ac_compile") 2>conftest.er1
15230 ac_status=$?
15231 grep -v '^ *+' conftest.er1 >conftest.err
15232 rm -f conftest.er1
15233 cat conftest.err >&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); } && {
15236 test -z "$ac_cxx_werror_flag" ||
15237 test ! -s conftest.err
15238 } && test -s conftest.$ac_objext; then
15239 ac_cv_prog_cxx_g=yes
15240 else
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15243
15244 CXXFLAGS=""
15245 cat >conftest.$ac_ext <<_ACEOF
15246 /* confdefs.h. */
15247 _ACEOF
15248 cat confdefs.h >>conftest.$ac_ext
15249 cat >>conftest.$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15251
15252 int
15253 main ()
15254 {
15255
15256 ;
15257 return 0;
15258 }
15259 _ACEOF
15260 rm -f conftest.$ac_objext
15261 if { (ac_try="$ac_compile"
15262 case "(($ac_try" in
15263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15264 *) ac_try_echo=$ac_try;;
15265 esac
15266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15267 (eval "$ac_compile") 2>conftest.er1
15268 ac_status=$?
15269 grep -v '^ *+' conftest.er1 >conftest.err
15270 rm -f conftest.er1
15271 cat conftest.err >&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } && {
15274 test -z "$ac_cxx_werror_flag" ||
15275 test ! -s conftest.err
15276 } && test -s conftest.$ac_objext; then
15277 :
15278 else
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15281
15282 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15283 CXXFLAGS="-g"
15284 cat >conftest.$ac_ext <<_ACEOF
15285 /* confdefs.h. */
15286 _ACEOF
15287 cat confdefs.h >>conftest.$ac_ext
15288 cat >>conftest.$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15290
15291 int
15292 main ()
15293 {
15294
15295 ;
15296 return 0;
15297 }
15298 _ACEOF
15299 rm -f conftest.$ac_objext
15300 if { (ac_try="$ac_compile"
15301 case "(($ac_try" in
15302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15303 *) ac_try_echo=$ac_try;;
15304 esac
15305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15306 (eval "$ac_compile") 2>conftest.er1
15307 ac_status=$?
15308 grep -v '^ *+' conftest.er1 >conftest.err
15309 rm -f conftest.er1
15310 cat conftest.err >&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); } && {
15313 test -z "$ac_cxx_werror_flag" ||
15314 test ! -s conftest.err
15315 } && test -s conftest.$ac_objext; then
15316 ac_cv_prog_cxx_g=yes
15317 else
15318 echo "$as_me: failed program was:" >&5
15319 sed 's/^/| /' conftest.$ac_ext >&5
15320
15321
15322 fi
15323
15324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15325 fi
15326
15327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15328 fi
15329
15330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15331 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15332 fi
15333 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15334 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15335 if test "$ac_test_CXXFLAGS" = set; then
15336 CXXFLAGS=$ac_save_CXXFLAGS
15337 elif test $ac_cv_prog_cxx_g = yes; then
15338 if test "$GXX" = yes; then
15339 CXXFLAGS="-g -O2"
15340 else
15341 CXXFLAGS="-g"
15342 fi
15343 else
15344 if test "$GXX" = yes; then
15345 CXXFLAGS="-O2"
15346 else
15347 CXXFLAGS=
15348 fi
15349 fi
15350 ac_ext=c
15351 ac_cpp='$CPP $CPPFLAGS'
15352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15355
15356
15357
15358 ac_ext=cpp
15359 ac_cpp='$CXXCPP $CPPFLAGS'
15360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15363
15364 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15365 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15366 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15368 else
15369 cat >conftest.$ac_ext <<_ACEOF
15370 /* confdefs.h. */
15371 _ACEOF
15372 cat confdefs.h >>conftest.$ac_ext
15373 cat >>conftest.$ac_ext <<_ACEOF
15374 /* end confdefs.h. */
15375
15376 int
15377 main ()
15378 {
15379
15380 #ifndef __INTEL_COMPILER
15381 choke me
15382 #endif
15383
15384 ;
15385 return 0;
15386 }
15387 _ACEOF
15388 rm -f conftest.$ac_objext
15389 if { (ac_try="$ac_compile"
15390 case "(($ac_try" in
15391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15392 *) ac_try_echo=$ac_try;;
15393 esac
15394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15395 (eval "$ac_compile") 2>conftest.er1
15396 ac_status=$?
15397 grep -v '^ *+' conftest.er1 >conftest.err
15398 rm -f conftest.er1
15399 cat conftest.err >&5
15400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15401 (exit $ac_status); } && {
15402 test -z "$ac_cxx_werror_flag" ||
15403 test ! -s conftest.err
15404 } && test -s conftest.$ac_objext; then
15405 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15406 else
15407 echo "$as_me: failed program was:" >&5
15408 sed 's/^/| /' conftest.$ac_ext >&5
15409
15410 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15411
15412 fi
15413
15414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15415
15416
15417 fi
15418 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15419 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15420 ac_ext=c
15421 ac_cpp='$CPP $CPPFLAGS'
15422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15425
15426 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15427 :; INTELCXX=yes
15428 else
15429 :;
15430 fi
15431
15432
15433 if test "x$GCXX" != "xyes"; then
15434 if test "xCXX" = "xC"; then
15435 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15436 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15437 if test "${bakefile_cv_c_exto+set}" = set; then
15438 echo $ECHO_N "(cached) $ECHO_C" >&6
15439 else
15440 cat >conftest.$ac_ext <<_ACEOF
15441 /* confdefs.h. */
15442 _ACEOF
15443 cat confdefs.h >>conftest.$ac_ext
15444 cat >>conftest.$ac_ext <<_ACEOF
15445 /* end confdefs.h. */
15446
15447 int
15448 main ()
15449 {
15450
15451 ;
15452 return 0;
15453 }
15454 _ACEOF
15455 rm -f conftest.$ac_objext conftest.$ac_ext.o
15456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15457 (eval $ac_compile) 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; then
15461 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15462 case $ac_file in
15463 conftest.$ac_ext.o)
15464 bakefile_cv_c_exto="-ext o"
15465 ;;
15466 *)
15467 ;;
15468 esac
15469 done
15470 else
15471 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15472 See \`config.log' for more details." >&5
15473 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15474 See \`config.log' for more details." >&2;}
15475 { (exit 1); exit 1; }; }
15476
15477 fi
15478
15479 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15480
15481 fi
15482 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15483 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15484 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15485 if test "c" = "c"; then
15486 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15487 fi
15488 if test "c" = "cxx"; then
15489 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15490 fi
15491 fi
15492
15493 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15494 unset ac_cv_prog_cc_g
15495 ac_test_CFLAGS=${CFLAGS+set}
15496 ac_save_CFLAGS=$CFLAGS
15497 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15498 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15499 if test "${ac_cv_prog_cc_g+set}" = set; then
15500 echo $ECHO_N "(cached) $ECHO_C" >&6
15501 else
15502 ac_save_c_werror_flag=$ac_c_werror_flag
15503 ac_c_werror_flag=yes
15504 ac_cv_prog_cc_g=no
15505 CFLAGS="-g"
15506 cat >conftest.$ac_ext <<_ACEOF
15507 /* confdefs.h. */
15508 _ACEOF
15509 cat confdefs.h >>conftest.$ac_ext
15510 cat >>conftest.$ac_ext <<_ACEOF
15511 /* end confdefs.h. */
15512
15513 int
15514 main ()
15515 {
15516
15517 ;
15518 return 0;
15519 }
15520 _ACEOF
15521 rm -f conftest.$ac_objext
15522 if { (ac_try="$ac_compile"
15523 case "(($ac_try" in
15524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15525 *) ac_try_echo=$ac_try;;
15526 esac
15527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15528 (eval "$ac_compile") 2>conftest.er1
15529 ac_status=$?
15530 grep -v '^ *+' conftest.er1 >conftest.err
15531 rm -f conftest.er1
15532 cat conftest.err >&5
15533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15534 (exit $ac_status); } && {
15535 test -z "$ac_c_werror_flag" ||
15536 test ! -s conftest.err
15537 } && test -s conftest.$ac_objext; then
15538 ac_cv_prog_cc_g=yes
15539 else
15540 echo "$as_me: failed program was:" >&5
15541 sed 's/^/| /' conftest.$ac_ext >&5
15542
15543 CFLAGS=""
15544 cat >conftest.$ac_ext <<_ACEOF
15545 /* confdefs.h. */
15546 _ACEOF
15547 cat confdefs.h >>conftest.$ac_ext
15548 cat >>conftest.$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550
15551 int
15552 main ()
15553 {
15554
15555 ;
15556 return 0;
15557 }
15558 _ACEOF
15559 rm -f conftest.$ac_objext
15560 if { (ac_try="$ac_compile"
15561 case "(($ac_try" in
15562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15563 *) ac_try_echo=$ac_try;;
15564 esac
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566 (eval "$ac_compile") 2>conftest.er1
15567 ac_status=$?
15568 grep -v '^ *+' conftest.er1 >conftest.err
15569 rm -f conftest.er1
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } && {
15573 test -z "$ac_c_werror_flag" ||
15574 test ! -s conftest.err
15575 } && test -s conftest.$ac_objext; then
15576 :
15577 else
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15580
15581 ac_c_werror_flag=$ac_save_c_werror_flag
15582 CFLAGS="-g"
15583 cat >conftest.$ac_ext <<_ACEOF
15584 /* confdefs.h. */
15585 _ACEOF
15586 cat confdefs.h >>conftest.$ac_ext
15587 cat >>conftest.$ac_ext <<_ACEOF
15588 /* end confdefs.h. */
15589
15590 int
15591 main ()
15592 {
15593
15594 ;
15595 return 0;
15596 }
15597 _ACEOF
15598 rm -f conftest.$ac_objext
15599 if { (ac_try="$ac_compile"
15600 case "(($ac_try" in
15601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15602 *) ac_try_echo=$ac_try;;
15603 esac
15604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15605 (eval "$ac_compile") 2>conftest.er1
15606 ac_status=$?
15607 grep -v '^ *+' conftest.er1 >conftest.err
15608 rm -f conftest.er1
15609 cat conftest.err >&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } && {
15612 test -z "$ac_c_werror_flag" ||
15613 test ! -s conftest.err
15614 } && test -s conftest.$ac_objext; then
15615 ac_cv_prog_cc_g=yes
15616 else
15617 echo "$as_me: failed program was:" >&5
15618 sed 's/^/| /' conftest.$ac_ext >&5
15619
15620
15621 fi
15622
15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15624 fi
15625
15626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15627 fi
15628
15629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15630 ac_c_werror_flag=$ac_save_c_werror_flag
15631 fi
15632 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15633 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15634 if test "$ac_test_CFLAGS" = set; then
15635 CFLAGS=$ac_save_CFLAGS
15636 elif test $ac_cv_prog_cc_g = yes; then
15637 if test "$GCC" = yes; then
15638 CFLAGS="-g -O2"
15639 else
15640 CFLAGS="-g"
15641 fi
15642 else
15643 if test "$GCC" = yes; then
15644 CFLAGS="-O2"
15645 else
15646 CFLAGS=
15647 fi
15648 fi
15649 fi
15650 fi
15651
15652 case `uname -s` in
15653 AIX*)
15654 ac_ext=cpp
15655 ac_cpp='$CXXCPP $CPPFLAGS'
15656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15659
15660 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15661 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15662 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15663 echo $ECHO_N "(cached) $ECHO_C" >&6
15664 else
15665 cat >conftest.$ac_ext <<_ACEOF
15666 /* confdefs.h. */
15667 _ACEOF
15668 cat confdefs.h >>conftest.$ac_ext
15669 cat >>conftest.$ac_ext <<_ACEOF
15670 /* end confdefs.h. */
15671
15672 int
15673 main ()
15674 {
15675 #ifndef __xlC__
15676 choke me
15677 #endif
15678
15679 ;
15680 return 0;
15681 }
15682 _ACEOF
15683 rm -f conftest.$ac_objext
15684 if { (ac_try="$ac_compile"
15685 case "(($ac_try" in
15686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15687 *) ac_try_echo=$ac_try;;
15688 esac
15689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15690 (eval "$ac_compile") 2>conftest.er1
15691 ac_status=$?
15692 grep -v '^ *+' conftest.er1 >conftest.err
15693 rm -f conftest.er1
15694 cat conftest.err >&5
15695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15696 (exit $ac_status); } && {
15697 test -z "$ac_cxx_werror_flag" ||
15698 test ! -s conftest.err
15699 } && test -s conftest.$ac_objext; then
15700 bakefile_compiler_xlc=yes
15701 else
15702 echo "$as_me: failed program was:" >&5
15703 sed 's/^/| /' conftest.$ac_ext >&5
15704
15705 bakefile_compiler_xlc=no
15706 fi
15707
15708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15709 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15710
15711 fi
15712 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15713 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15714
15715 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15716 ac_ext=c
15717 ac_cpp='$CPP $CPPFLAGS'
15718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15721
15722
15723 ;;
15724
15725 Darwin)
15726 ac_ext=cpp
15727 ac_cpp='$CXXCPP $CPPFLAGS'
15728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15731
15732 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15733 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15734 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15736 else
15737 cat >conftest.$ac_ext <<_ACEOF
15738 /* confdefs.h. */
15739 _ACEOF
15740 cat confdefs.h >>conftest.$ac_ext
15741 cat >>conftest.$ac_ext <<_ACEOF
15742 /* end confdefs.h. */
15743
15744 int
15745 main ()
15746 {
15747 #ifndef __MWERKS__
15748 choke me
15749 #endif
15750
15751 ;
15752 return 0;
15753 }
15754 _ACEOF
15755 rm -f conftest.$ac_objext
15756 if { (ac_try="$ac_compile"
15757 case "(($ac_try" in
15758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15759 *) ac_try_echo=$ac_try;;
15760 esac
15761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15762 (eval "$ac_compile") 2>conftest.er1
15763 ac_status=$?
15764 grep -v '^ *+' conftest.er1 >conftest.err
15765 rm -f conftest.er1
15766 cat conftest.err >&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } && {
15769 test -z "$ac_cxx_werror_flag" ||
15770 test ! -s conftest.err
15771 } && test -s conftest.$ac_objext; then
15772 bakefile_compiler_mwerks=yes
15773 else
15774 echo "$as_me: failed program was:" >&5
15775 sed 's/^/| /' conftest.$ac_ext >&5
15776
15777 bakefile_compiler_mwerks=no
15778 fi
15779
15780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15781 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15782
15783 fi
15784 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15785 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15786
15787 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15788 ac_ext=c
15789 ac_cpp='$CPP $CPPFLAGS'
15790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15793
15794
15795 ac_ext=cpp
15796 ac_cpp='$CXXCPP $CPPFLAGS'
15797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15800
15801 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15802 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15803 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15804 echo $ECHO_N "(cached) $ECHO_C" >&6
15805 else
15806 cat >conftest.$ac_ext <<_ACEOF
15807 /* confdefs.h. */
15808 _ACEOF
15809 cat confdefs.h >>conftest.$ac_ext
15810 cat >>conftest.$ac_ext <<_ACEOF
15811 /* end confdefs.h. */
15812
15813 int
15814 main ()
15815 {
15816 #ifndef __xlC__
15817 choke me
15818 #endif
15819
15820 ;
15821 return 0;
15822 }
15823 _ACEOF
15824 rm -f conftest.$ac_objext
15825 if { (ac_try="$ac_compile"
15826 case "(($ac_try" in
15827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15828 *) ac_try_echo=$ac_try;;
15829 esac
15830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15831 (eval "$ac_compile") 2>conftest.er1
15832 ac_status=$?
15833 grep -v '^ *+' conftest.er1 >conftest.err
15834 rm -f conftest.er1
15835 cat conftest.err >&5
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); } && {
15838 test -z "$ac_cxx_werror_flag" ||
15839 test ! -s conftest.err
15840 } && test -s conftest.$ac_objext; then
15841 bakefile_compiler_xlc=yes
15842 else
15843 echo "$as_me: failed program was:" >&5
15844 sed 's/^/| /' conftest.$ac_ext >&5
15845
15846 bakefile_compiler_xlc=no
15847 fi
15848
15849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15850 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15851
15852 fi
15853 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15854 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15855
15856 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15857 ac_ext=c
15858 ac_cpp='$CPP $CPPFLAGS'
15859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15862
15863
15864 ;;
15865
15866 IRIX*)
15867
15868
15869 ac_ext=cpp
15870 ac_cpp='$CXXCPP $CPPFLAGS'
15871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15874
15875 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15876 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15877 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15878 echo $ECHO_N "(cached) $ECHO_C" >&6
15879 else
15880 cat >conftest.$ac_ext <<_ACEOF
15881 /* confdefs.h. */
15882 _ACEOF
15883 cat confdefs.h >>conftest.$ac_ext
15884 cat >>conftest.$ac_ext <<_ACEOF
15885 /* end confdefs.h. */
15886
15887 int
15888 main ()
15889 {
15890
15891 #ifndef _SGI_COMPILER_VERSION
15892 choke me
15893 #endif
15894
15895 ;
15896 return 0;
15897 }
15898 _ACEOF
15899 rm -f conftest.$ac_objext
15900 if { (ac_try="$ac_compile"
15901 case "(($ac_try" in
15902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15903 *) ac_try_echo=$ac_try;;
15904 esac
15905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15906 (eval "$ac_compile") 2>conftest.er1
15907 ac_status=$?
15908 grep -v '^ *+' conftest.er1 >conftest.err
15909 rm -f conftest.er1
15910 cat conftest.err >&5
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && {
15913 test -z "$ac_cxx_werror_flag" ||
15914 test ! -s conftest.err
15915 } && test -s conftest.$ac_objext; then
15916 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15917 else
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.$ac_ext >&5
15920
15921 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15922
15923 fi
15924
15925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15926
15927
15928 fi
15929 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15930 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15931 ac_ext=c
15932 ac_cpp='$CPP $CPPFLAGS'
15933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15936
15937 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15938 :; SGICXX=yes
15939 else
15940 :;
15941 fi
15942
15943
15944 ;;
15945
15946 HP-UX*)
15947
15948
15949 ac_ext=cpp
15950 ac_cpp='$CXXCPP $CPPFLAGS'
15951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15954
15955 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15956 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15957 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15958 echo $ECHO_N "(cached) $ECHO_C" >&6
15959 else
15960 cat >conftest.$ac_ext <<_ACEOF
15961 /* confdefs.h. */
15962 _ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966
15967 int
15968 main ()
15969 {
15970
15971 #ifndef __HP_aCC
15972 choke me
15973 #endif
15974
15975 ;
15976 return 0;
15977 }
15978 _ACEOF
15979 rm -f conftest.$ac_objext
15980 if { (ac_try="$ac_compile"
15981 case "(($ac_try" in
15982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15983 *) ac_try_echo=$ac_try;;
15984 esac
15985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15986 (eval "$ac_compile") 2>conftest.er1
15987 ac_status=$?
15988 grep -v '^ *+' conftest.er1 >conftest.err
15989 rm -f conftest.er1
15990 cat conftest.err >&5
15991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15992 (exit $ac_status); } && {
15993 test -z "$ac_cxx_werror_flag" ||
15994 test ! -s conftest.err
15995 } && test -s conftest.$ac_objext; then
15996 bakefile_cv_cxx_compiler___HP_aCC=yes
15997 else
15998 echo "$as_me: failed program was:" >&5
15999 sed 's/^/| /' conftest.$ac_ext >&5
16000
16001 bakefile_cv_cxx_compiler___HP_aCC=no
16002
16003 fi
16004
16005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16006
16007
16008 fi
16009 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16010 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16011 ac_ext=c
16012 ac_cpp='$CPP $CPPFLAGS'
16013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16016
16017 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16018 :; HPCXX=yes
16019 else
16020 :;
16021 fi
16022
16023
16024 ;;
16025
16026 OSF1)
16027
16028
16029 ac_ext=cpp
16030 ac_cpp='$CXXCPP $CPPFLAGS'
16031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16034
16035 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16036 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16037 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16038 echo $ECHO_N "(cached) $ECHO_C" >&6
16039 else
16040 cat >conftest.$ac_ext <<_ACEOF
16041 /* confdefs.h. */
16042 _ACEOF
16043 cat confdefs.h >>conftest.$ac_ext
16044 cat >>conftest.$ac_ext <<_ACEOF
16045 /* end confdefs.h. */
16046
16047 int
16048 main ()
16049 {
16050
16051 #ifndef __DECCXX
16052 choke me
16053 #endif
16054
16055 ;
16056 return 0;
16057 }
16058 _ACEOF
16059 rm -f conftest.$ac_objext
16060 if { (ac_try="$ac_compile"
16061 case "(($ac_try" in
16062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16063 *) ac_try_echo=$ac_try;;
16064 esac
16065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16066 (eval "$ac_compile") 2>conftest.er1
16067 ac_status=$?
16068 grep -v '^ *+' conftest.er1 >conftest.err
16069 rm -f conftest.er1
16070 cat conftest.err >&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); } && {
16073 test -z "$ac_cxx_werror_flag" ||
16074 test ! -s conftest.err
16075 } && test -s conftest.$ac_objext; then
16076 bakefile_cv_cxx_compiler___DECCXX=yes
16077 else
16078 echo "$as_me: failed program was:" >&5
16079 sed 's/^/| /' conftest.$ac_ext >&5
16080
16081 bakefile_cv_cxx_compiler___DECCXX=no
16082
16083 fi
16084
16085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16086
16087
16088 fi
16089 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16090 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16091 ac_ext=c
16092 ac_cpp='$CPP $CPPFLAGS'
16093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16096
16097 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16098 :; COMPAQCXX=yes
16099 else
16100 :;
16101 fi
16102
16103
16104 ;;
16105
16106 SunOS)
16107
16108
16109 ac_ext=cpp
16110 ac_cpp='$CXXCPP $CPPFLAGS'
16111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16114
16115 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16116 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16117 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16118 echo $ECHO_N "(cached) $ECHO_C" >&6
16119 else
16120 cat >conftest.$ac_ext <<_ACEOF
16121 /* confdefs.h. */
16122 _ACEOF
16123 cat confdefs.h >>conftest.$ac_ext
16124 cat >>conftest.$ac_ext <<_ACEOF
16125 /* end confdefs.h. */
16126
16127 int
16128 main ()
16129 {
16130
16131 #ifndef __SUNPRO_CC
16132 choke me
16133 #endif
16134
16135 ;
16136 return 0;
16137 }
16138 _ACEOF
16139 rm -f conftest.$ac_objext
16140 if { (ac_try="$ac_compile"
16141 case "(($ac_try" in
16142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16143 *) ac_try_echo=$ac_try;;
16144 esac
16145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16146 (eval "$ac_compile") 2>conftest.er1
16147 ac_status=$?
16148 grep -v '^ *+' conftest.er1 >conftest.err
16149 rm -f conftest.er1
16150 cat conftest.err >&5
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); } && {
16153 test -z "$ac_cxx_werror_flag" ||
16154 test ! -s conftest.err
16155 } && test -s conftest.$ac_objext; then
16156 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16157 else
16158 echo "$as_me: failed program was:" >&5
16159 sed 's/^/| /' conftest.$ac_ext >&5
16160
16161 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16162
16163 fi
16164
16165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16166
16167
16168 fi
16169 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16170 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16171 ac_ext=c
16172 ac_cpp='$CPP $CPPFLAGS'
16173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16176
16177 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16178 :; SUNCXX=yes
16179 else
16180 :;
16181 fi
16182
16183
16184 ;;
16185 esac
16186 fi
16187
16188
16189
16190 if test -n "$ac_tool_prefix"; then
16191 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16192 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16195 if test "${ac_cv_prog_RANLIB+set}" = set; then
16196 echo $ECHO_N "(cached) $ECHO_C" >&6
16197 else
16198 if test -n "$RANLIB"; then
16199 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16200 else
16201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16202 for as_dir in $PATH
16203 do
16204 IFS=$as_save_IFS
16205 test -z "$as_dir" && as_dir=.
16206 for ac_exec_ext in '' $ac_executable_extensions; do
16207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16208 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16210 break 2
16211 fi
16212 done
16213 done
16214 IFS=$as_save_IFS
16215
16216 fi
16217 fi
16218 RANLIB=$ac_cv_prog_RANLIB
16219 if test -n "$RANLIB"; then
16220 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16221 echo "${ECHO_T}$RANLIB" >&6; }
16222 else
16223 { echo "$as_me:$LINENO: result: no" >&5
16224 echo "${ECHO_T}no" >&6; }
16225 fi
16226
16227
16228 fi
16229 if test -z "$ac_cv_prog_RANLIB"; then
16230 ac_ct_RANLIB=$RANLIB
16231 # Extract the first word of "ranlib", so it can be a program name with args.
16232 set dummy ranlib; ac_word=$2
16233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16235 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16236 echo $ECHO_N "(cached) $ECHO_C" >&6
16237 else
16238 if test -n "$ac_ct_RANLIB"; then
16239 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16240 else
16241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16242 for as_dir in $PATH
16243 do
16244 IFS=$as_save_IFS
16245 test -z "$as_dir" && as_dir=.
16246 for ac_exec_ext in '' $ac_executable_extensions; do
16247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16248 ac_cv_prog_ac_ct_RANLIB="ranlib"
16249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16250 break 2
16251 fi
16252 done
16253 done
16254 IFS=$as_save_IFS
16255
16256 fi
16257 fi
16258 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16259 if test -n "$ac_ct_RANLIB"; then
16260 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16261 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16262 else
16263 { echo "$as_me:$LINENO: result: no" >&5
16264 echo "${ECHO_T}no" >&6; }
16265 fi
16266
16267 if test "x$ac_ct_RANLIB" = x; then
16268 RANLIB=":"
16269 else
16270 case $cross_compiling:$ac_tool_warned in
16271 yes:)
16272 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16273 whose name does not start with the host triplet. If you think this
16274 configuration is useful to you, please write to autoconf@gnu.org." >&5
16275 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16276 whose name does not start with the host triplet. If you think this
16277 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16278 ac_tool_warned=yes ;;
16279 esac
16280 RANLIB=$ac_ct_RANLIB
16281 fi
16282 else
16283 RANLIB="$ac_cv_prog_RANLIB"
16284 fi
16285
16286
16287 if test "x$SUNCXX" != xyes; then
16288 if test -n "$ac_tool_prefix"; then
16289 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16290 set dummy ${ac_tool_prefix}ar; ac_word=$2
16291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16293 if test "${ac_cv_prog_AR+set}" = set; then
16294 echo $ECHO_N "(cached) $ECHO_C" >&6
16295 else
16296 if test -n "$AR"; then
16297 ac_cv_prog_AR="$AR" # Let the user override the test.
16298 else
16299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16300 for as_dir in $PATH
16301 do
16302 IFS=$as_save_IFS
16303 test -z "$as_dir" && as_dir=.
16304 for ac_exec_ext in '' $ac_executable_extensions; do
16305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16306 ac_cv_prog_AR="${ac_tool_prefix}ar"
16307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16308 break 2
16309 fi
16310 done
16311 done
16312 IFS=$as_save_IFS
16313
16314 fi
16315 fi
16316 AR=$ac_cv_prog_AR
16317 if test -n "$AR"; then
16318 { echo "$as_me:$LINENO: result: $AR" >&5
16319 echo "${ECHO_T}$AR" >&6; }
16320 else
16321 { echo "$as_me:$LINENO: result: no" >&5
16322 echo "${ECHO_T}no" >&6; }
16323 fi
16324
16325
16326 fi
16327 if test -z "$ac_cv_prog_AR"; then
16328 ac_ct_AR=$AR
16329 # Extract the first word of "ar", so it can be a program name with args.
16330 set dummy ar; ac_word=$2
16331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16333 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16334 echo $ECHO_N "(cached) $ECHO_C" >&6
16335 else
16336 if test -n "$ac_ct_AR"; then
16337 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16338 else
16339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16340 for as_dir in $PATH
16341 do
16342 IFS=$as_save_IFS
16343 test -z "$as_dir" && as_dir=.
16344 for ac_exec_ext in '' $ac_executable_extensions; do
16345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16346 ac_cv_prog_ac_ct_AR="ar"
16347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16348 break 2
16349 fi
16350 done
16351 done
16352 IFS=$as_save_IFS
16353
16354 fi
16355 fi
16356 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16357 if test -n "$ac_ct_AR"; then
16358 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16359 echo "${ECHO_T}$ac_ct_AR" >&6; }
16360 else
16361 { echo "$as_me:$LINENO: result: no" >&5
16362 echo "${ECHO_T}no" >&6; }
16363 fi
16364
16365 if test "x$ac_ct_AR" = x; then
16366 AR=""
16367 else
16368 case $cross_compiling:$ac_tool_warned in
16369 yes:)
16370 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16371 whose name does not start with the host triplet. If you think this
16372 configuration is useful to you, please write to autoconf@gnu.org." >&5
16373 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16374 whose name does not start with the host triplet. If you think this
16375 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16376 ac_tool_warned=yes ;;
16377 esac
16378 AR=$ac_ct_AR
16379 fi
16380 else
16381 AR="$ac_cv_prog_AR"
16382 fi
16383
16384 if test "x$AR" = "x" ; then
16385 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16386 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16387 { (exit 1); exit 1; }; }
16388 fi
16389 fi
16390
16391 # Find a good install program. We prefer a C program (faster),
16392 # so one script is as good as another. But avoid the broken or
16393 # incompatible versions:
16394 # SysV /etc/install, /usr/sbin/install
16395 # SunOS /usr/etc/install
16396 # IRIX /sbin/install
16397 # AIX /bin/install
16398 # AmigaOS /C/install, which installs bootblocks on floppy discs
16399 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16400 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16401 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16402 # OS/2's system install, which has a completely different semantic
16403 # ./install, which can be erroneously created by make from ./install.sh.
16404 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16405 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16406 if test -z "$INSTALL"; then
16407 if test "${ac_cv_path_install+set}" = set; then
16408 echo $ECHO_N "(cached) $ECHO_C" >&6
16409 else
16410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16411 for as_dir in $PATH
16412 do
16413 IFS=$as_save_IFS
16414 test -z "$as_dir" && as_dir=.
16415 # Account for people who put trailing slashes in PATH elements.
16416 case $as_dir/ in
16417 ./ | .// | /cC/* | \
16418 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16419 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16420 /usr/ucb/* ) ;;
16421 *)
16422 # OSF1 and SCO ODT 3.0 have their own names for install.
16423 # Don't use installbsd from OSF since it installs stuff as root
16424 # by default.
16425 for ac_prog in ginstall scoinst install; do
16426 for ac_exec_ext in '' $ac_executable_extensions; do
16427 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16428 if test $ac_prog = install &&
16429 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16430 # AIX install. It has an incompatible calling convention.
16431 :
16432 elif test $ac_prog = install &&
16433 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16434 # program-specific install script used by HP pwplus--don't use.
16435 :
16436 else
16437 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16438 break 3
16439 fi
16440 fi
16441 done
16442 done
16443 ;;
16444 esac
16445 done
16446 IFS=$as_save_IFS
16447
16448
16449 fi
16450 if test "${ac_cv_path_install+set}" = set; then
16451 INSTALL=$ac_cv_path_install
16452 else
16453 # As a last resort, use the slow shell script. Don't cache a
16454 # value for INSTALL within a source directory, because that will
16455 # break other packages using the cache if that directory is
16456 # removed, or if the value is a relative name.
16457 INSTALL=$ac_install_sh
16458 fi
16459 fi
16460 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16461 echo "${ECHO_T}$INSTALL" >&6; }
16462
16463 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16464 # It thinks the first close brace ends the variable substitution.
16465 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16466
16467 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16468
16469 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16470
16471
16472 case ${INSTALL} in
16473 /* ) # Absolute
16474 ;;
16475 ?:* ) # Drive letter, considered as absolute.
16476 ;;
16477 *)
16478 INSTALL=`pwd`/${INSTALL} ;;
16479 esac
16480
16481
16482 case "${host}" in
16483
16484 *-*-darwin* )
16485 INSTALL_PROGRAM="cp -fp"
16486 INSTALL_DATA="cp -fp"
16487 ;;
16488 *)
16489 ;;
16490 esac
16491
16492 if test -n "$ac_tool_prefix"; then
16493 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16494 set dummy ${ac_tool_prefix}strip; ac_word=$2
16495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16497 if test "${ac_cv_prog_STRIP+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 else
16500 if test -n "$STRIP"; then
16501 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16502 else
16503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16504 for as_dir in $PATH
16505 do
16506 IFS=$as_save_IFS
16507 test -z "$as_dir" && as_dir=.
16508 for ac_exec_ext in '' $ac_executable_extensions; do
16509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16510 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16512 break 2
16513 fi
16514 done
16515 done
16516 IFS=$as_save_IFS
16517
16518 fi
16519 fi
16520 STRIP=$ac_cv_prog_STRIP
16521 if test -n "$STRIP"; then
16522 { echo "$as_me:$LINENO: result: $STRIP" >&5
16523 echo "${ECHO_T}$STRIP" >&6; }
16524 else
16525 { echo "$as_me:$LINENO: result: no" >&5
16526 echo "${ECHO_T}no" >&6; }
16527 fi
16528
16529
16530 fi
16531 if test -z "$ac_cv_prog_STRIP"; then
16532 ac_ct_STRIP=$STRIP
16533 # Extract the first word of "strip", so it can be a program name with args.
16534 set dummy strip; ac_word=$2
16535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16537 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16538 echo $ECHO_N "(cached) $ECHO_C" >&6
16539 else
16540 if test -n "$ac_ct_STRIP"; then
16541 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16542 else
16543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16544 for as_dir in $PATH
16545 do
16546 IFS=$as_save_IFS
16547 test -z "$as_dir" && as_dir=.
16548 for ac_exec_ext in '' $ac_executable_extensions; do
16549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16550 ac_cv_prog_ac_ct_STRIP="strip"
16551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16552 break 2
16553 fi
16554 done
16555 done
16556 IFS=$as_save_IFS
16557
16558 fi
16559 fi
16560 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16561 if test -n "$ac_ct_STRIP"; then
16562 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16563 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16564 else
16565 { echo "$as_me:$LINENO: result: no" >&5
16566 echo "${ECHO_T}no" >&6; }
16567 fi
16568
16569 if test "x$ac_ct_STRIP" = x; then
16570 STRIP="true"
16571 else
16572 case $cross_compiling:$ac_tool_warned in
16573 yes:)
16574 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16575 whose name does not start with the host triplet. If you think this
16576 configuration is useful to you, please write to autoconf@gnu.org." >&5
16577 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16578 whose name does not start with the host triplet. If you think this
16579 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16580 ac_tool_warned=yes ;;
16581 esac
16582 STRIP=$ac_ct_STRIP
16583 fi
16584 else
16585 STRIP="$ac_cv_prog_STRIP"
16586 fi
16587
16588
16589 if test "$wxUSE_WINE" = "yes"; then
16590 if test -n "$ac_tool_prefix"; then
16591 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16592 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16595 if test "${ac_cv_prog_WINDRES+set}" = set; then
16596 echo $ECHO_N "(cached) $ECHO_C" >&6
16597 else
16598 if test -n "$WINDRES"; then
16599 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16600 else
16601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16602 for as_dir in $PATH
16603 do
16604 IFS=$as_save_IFS
16605 test -z "$as_dir" && as_dir=.
16606 for ac_exec_ext in '' $ac_executable_extensions; do
16607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16608 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16609 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16610 break 2
16611 fi
16612 done
16613 done
16614 IFS=$as_save_IFS
16615
16616 fi
16617 fi
16618 WINDRES=$ac_cv_prog_WINDRES
16619 if test -n "$WINDRES"; then
16620 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16621 echo "${ECHO_T}$WINDRES" >&6; }
16622 else
16623 { echo "$as_me:$LINENO: result: no" >&5
16624 echo "${ECHO_T}no" >&6; }
16625 fi
16626
16627
16628 fi
16629 if test -z "$ac_cv_prog_WINDRES"; then
16630 ac_ct_WINDRES=$WINDRES
16631 # Extract the first word of "wrc", so it can be a program name with args.
16632 set dummy wrc; ac_word=$2
16633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16635 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16636 echo $ECHO_N "(cached) $ECHO_C" >&6
16637 else
16638 if test -n "$ac_ct_WINDRES"; then
16639 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16640 else
16641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16642 for as_dir in $PATH
16643 do
16644 IFS=$as_save_IFS
16645 test -z "$as_dir" && as_dir=.
16646 for ac_exec_ext in '' $ac_executable_extensions; do
16647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16648 ac_cv_prog_ac_ct_WINDRES="wrc"
16649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16650 break 2
16651 fi
16652 done
16653 done
16654 IFS=$as_save_IFS
16655
16656 fi
16657 fi
16658 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16659 if test -n "$ac_ct_WINDRES"; then
16660 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16661 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16662 else
16663 { echo "$as_me:$LINENO: result: no" >&5
16664 echo "${ECHO_T}no" >&6; }
16665 fi
16666
16667 if test "x$ac_ct_WINDRES" = x; then
16668 WINDRES=""
16669 else
16670 case $cross_compiling:$ac_tool_warned in
16671 yes:)
16672 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16673 whose name does not start with the host triplet. If you think this
16674 configuration is useful to you, please write to autoconf@gnu.org." >&5
16675 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16676 whose name does not start with the host triplet. If you think this
16677 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16678 ac_tool_warned=yes ;;
16679 esac
16680 WINDRES=$ac_ct_WINDRES
16681 fi
16682 else
16683 WINDRES="$ac_cv_prog_WINDRES"
16684 fi
16685
16686 RESCOMP="$WINDRES"
16687 else
16688 case "${host}" in
16689 *-*-cygwin* | *-*-mingw32* )
16690 if test -n "$ac_tool_prefix"; then
16691 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16692 set dummy ${ac_tool_prefix}windres; ac_word=$2
16693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16695 if test "${ac_cv_prog_WINDRES+set}" = set; then
16696 echo $ECHO_N "(cached) $ECHO_C" >&6
16697 else
16698 if test -n "$WINDRES"; then
16699 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16700 else
16701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16702 for as_dir in $PATH
16703 do
16704 IFS=$as_save_IFS
16705 test -z "$as_dir" && as_dir=.
16706 for ac_exec_ext in '' $ac_executable_extensions; do
16707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16708 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16710 break 2
16711 fi
16712 done
16713 done
16714 IFS=$as_save_IFS
16715
16716 fi
16717 fi
16718 WINDRES=$ac_cv_prog_WINDRES
16719 if test -n "$WINDRES"; then
16720 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16721 echo "${ECHO_T}$WINDRES" >&6; }
16722 else
16723 { echo "$as_me:$LINENO: result: no" >&5
16724 echo "${ECHO_T}no" >&6; }
16725 fi
16726
16727
16728 fi
16729 if test -z "$ac_cv_prog_WINDRES"; then
16730 ac_ct_WINDRES=$WINDRES
16731 # Extract the first word of "windres", so it can be a program name with args.
16732 set dummy windres; ac_word=$2
16733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16735 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738 if test -n "$ac_ct_WINDRES"; then
16739 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16740 else
16741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16742 for as_dir in $PATH
16743 do
16744 IFS=$as_save_IFS
16745 test -z "$as_dir" && as_dir=.
16746 for ac_exec_ext in '' $ac_executable_extensions; do
16747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16748 ac_cv_prog_ac_ct_WINDRES="windres"
16749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16750 break 2
16751 fi
16752 done
16753 done
16754 IFS=$as_save_IFS
16755
16756 fi
16757 fi
16758 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16759 if test -n "$ac_ct_WINDRES"; then
16760 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16761 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16762 else
16763 { echo "$as_me:$LINENO: result: no" >&5
16764 echo "${ECHO_T}no" >&6; }
16765 fi
16766
16767 if test "x$ac_ct_WINDRES" = x; then
16768 WINDRES=""
16769 else
16770 case $cross_compiling:$ac_tool_warned in
16771 yes:)
16772 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16773 whose name does not start with the host triplet. If you think this
16774 configuration is useful to you, please write to autoconf@gnu.org." >&5
16775 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16776 whose name does not start with the host triplet. If you think this
16777 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16778 ac_tool_warned=yes ;;
16779 esac
16780 WINDRES=$ac_ct_WINDRES
16781 fi
16782 else
16783 WINDRES="$ac_cv_prog_WINDRES"
16784 fi
16785
16786 RESCOMP="$WINDRES"
16787 if test -n "$ac_tool_prefix"; then
16788 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16789 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16792 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16793 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 else
16795 if test -n "$DLLTOOL"; then
16796 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16797 else
16798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16799 for as_dir in $PATH
16800 do
16801 IFS=$as_save_IFS
16802 test -z "$as_dir" && as_dir=.
16803 for ac_exec_ext in '' $ac_executable_extensions; do
16804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16805 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16807 break 2
16808 fi
16809 done
16810 done
16811 IFS=$as_save_IFS
16812
16813 fi
16814 fi
16815 DLLTOOL=$ac_cv_prog_DLLTOOL
16816 if test -n "$DLLTOOL"; then
16817 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16818 echo "${ECHO_T}$DLLTOOL" >&6; }
16819 else
16820 { echo "$as_me:$LINENO: result: no" >&5
16821 echo "${ECHO_T}no" >&6; }
16822 fi
16823
16824
16825 fi
16826 if test -z "$ac_cv_prog_DLLTOOL"; then
16827 ac_ct_DLLTOOL=$DLLTOOL
16828 # Extract the first word of "dlltool", so it can be a program name with args.
16829 set dummy dlltool; ac_word=$2
16830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16832 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16833 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 else
16835 if test -n "$ac_ct_DLLTOOL"; then
16836 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16837 else
16838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16839 for as_dir in $PATH
16840 do
16841 IFS=$as_save_IFS
16842 test -z "$as_dir" && as_dir=.
16843 for ac_exec_ext in '' $ac_executable_extensions; do
16844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16845 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16847 break 2
16848 fi
16849 done
16850 done
16851 IFS=$as_save_IFS
16852
16853 fi
16854 fi
16855 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16856 if test -n "$ac_ct_DLLTOOL"; then
16857 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16858 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16859 else
16860 { echo "$as_me:$LINENO: result: no" >&5
16861 echo "${ECHO_T}no" >&6; }
16862 fi
16863
16864 if test "x$ac_ct_DLLTOOL" = x; then
16865 DLLTOOL=""
16866 else
16867 case $cross_compiling:$ac_tool_warned in
16868 yes:)
16869 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16870 whose name does not start with the host triplet. If you think this
16871 configuration is useful to you, please write to autoconf@gnu.org." >&5
16872 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16873 whose name does not start with the host triplet. If you think this
16874 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16875 ac_tool_warned=yes ;;
16876 esac
16877 DLLTOOL=$ac_ct_DLLTOOL
16878 fi
16879 else
16880 DLLTOOL="$ac_cv_prog_DLLTOOL"
16881 fi
16882
16883 ;;
16884 esac
16885 fi
16886
16887 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16888 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16889 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16890 echo $ECHO_N "(cached) $ECHO_C" >&6
16891 else
16892
16893 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16894 $EGREP -s GNU > /dev/null); then
16895 wx_cv_prog_makeisgnu="yes"
16896 else
16897 wx_cv_prog_makeisgnu="no"
16898 fi
16899
16900 fi
16901 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16902 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16903
16904 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16905 IF_GNU_MAKE=""
16906 else
16907 IF_GNU_MAKE="#"
16908 fi
16909
16910
16911
16912 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16913 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16914 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16915 if test "${wx_cv_prog_makevpath+set}" = set; then
16916 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 else
16918
16919 cat - << EOF > confMake
16920 check : file
16921 cp \$? \$@
16922 cp \$? final_file
16923 EOF
16924
16925 if test ! -d sub ; then
16926 mkdir sub
16927 fi
16928 echo dummy > sub/file
16929 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16930 RESULT=$?
16931 rm -f sub/file check final_file confMake
16932 rmdir sub
16933 if test "$RESULT" = 0; then
16934 wx_cv_prog_makevpath="yes"
16935 else
16936 wx_cv_prog_makevpath="no"
16937 fi
16938
16939 fi
16940 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16941 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16942
16943 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16944 { { echo "$as_me:$LINENO: error:
16945 You need a make-utility that is able to use the variable
16946 VPATH correctly.
16947 If your version of make does not support VPATH correctly,
16948 please install GNU-make (possibly as gmake), and start
16949 configure with the following command:
16950 export MAKE=gmake; ./configure for sh-type shells
16951 setenv MAKE gmake; ./configure for csh-type shells
16952 Also please do remember to use gmake in this case every time
16953 you are trying to compile.
16954 " >&5
16955 echo "$as_me: error:
16956 You need a make-utility that is able to use the variable
16957 VPATH correctly.
16958 If your version of make does not support VPATH correctly,
16959 please install GNU-make (possibly as gmake), and start
16960 configure with the following command:
16961 export MAKE=gmake; ./configure for sh-type shells
16962 setenv MAKE gmake; ./configure for csh-type shells
16963 Also please do remember to use gmake in this case every time
16964 you are trying to compile.
16965 " >&2;}
16966 { (exit 1); exit 1; }; }
16967 fi fi
16968 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16969 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16970 LN_S=$as_ln_s
16971 if test "$LN_S" = "ln -s"; then
16972 { echo "$as_me:$LINENO: result: yes" >&5
16973 echo "${ECHO_T}yes" >&6; }
16974 else
16975 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16976 echo "${ECHO_T}no, using $LN_S" >&6; }
16977 fi
16978
16979
16980
16981
16982 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16983 CXXFLAGS="-qunique $CXXFLAGS"
16984 fi
16985
16986 case "${host}" in
16987 powerpc-*-darwin* )
16988 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16989 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16990 cat >conftest.$ac_ext <<_ACEOF
16991 /* confdefs.h. */
16992 _ACEOF
16993 cat confdefs.h >>conftest.$ac_ext
16994 cat >>conftest.$ac_ext <<_ACEOF
16995 /* end confdefs.h. */
16996
16997 int
16998 main ()
16999 {
17000 #ifndef __POWERPC__
17001 choke me for lack of PowerPC
17002 #endif
17003
17004 ;
17005 return 0;
17006 }
17007 _ACEOF
17008 rm -f conftest.$ac_objext
17009 if { (ac_try="$ac_compile"
17010 case "(($ac_try" in
17011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17012 *) ac_try_echo=$ac_try;;
17013 esac
17014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17015 (eval "$ac_compile") 2>conftest.er1
17016 ac_status=$?
17017 grep -v '^ *+' conftest.er1 >conftest.err
17018 rm -f conftest.er1
17019 cat conftest.err >&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } && {
17022 test -z "$ac_c_werror_flag" ||
17023 test ! -s conftest.err
17024 } && test -s conftest.$ac_objext; then
17025 { echo "$as_me:$LINENO: result: yes" >&5
17026 echo "${ECHO_T}yes" >&6; }
17027 else
17028 echo "$as_me: failed program was:" >&5
17029 sed 's/^/| /' conftest.$ac_ext >&5
17030
17031 { echo "$as_me:$LINENO: result: no" >&5
17032 echo "${ECHO_T}no" >&6; }
17033 cat >>confdefs.h <<\_ACEOF
17034 #define __POWERPC__ 1
17035 _ACEOF
17036
17037
17038 fi
17039
17040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17041 ;;
17042 esac
17043
17044 case "${host}" in
17045 *-*-darwin* )
17046 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17047 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17048 cat >conftest.$ac_ext <<_ACEOF
17049 /* confdefs.h. */
17050 _ACEOF
17051 cat confdefs.h >>conftest.$ac_ext
17052 cat >>conftest.$ac_ext <<_ACEOF
17053 /* end confdefs.h. */
17054 #include <CoreFoundation/CFBase.h>
17055
17056 int
17057 main ()
17058 {
17059
17060 ;
17061 return 0;
17062 }
17063 _ACEOF
17064 rm -f conftest.$ac_objext
17065 if { (ac_try="$ac_compile"
17066 case "(($ac_try" in
17067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17068 *) ac_try_echo=$ac_try;;
17069 esac
17070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17071 (eval "$ac_compile") 2>conftest.er1
17072 ac_status=$?
17073 grep -v '^ *+' conftest.er1 >conftest.err
17074 rm -f conftest.er1
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } && {
17078 test -z "$ac_c_werror_flag" ||
17079 test ! -s conftest.err
17080 } && test -s conftest.$ac_objext; then
17081 { echo "$as_me:$LINENO: result: yes" >&5
17082 echo "${ECHO_T}yes" >&6; }
17083 else
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.$ac_ext >&5
17086
17087 { echo "$as_me:$LINENO: result: no" >&5
17088 echo "${ECHO_T}no" >&6; }
17089 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17090 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17091 cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h. */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 #define __CF_USE_FRAMEWORK_INCLUDES__
17098 #include <CoreFoundation/CFBase.h>
17099
17100 int
17101 main ()
17102 {
17103
17104 ;
17105 return 0;
17106 }
17107 _ACEOF
17108 rm -f conftest.$ac_objext
17109 if { (ac_try="$ac_compile"
17110 case "(($ac_try" in
17111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17113 esac
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_compile") 2>conftest.er1
17116 ac_status=$?
17117 grep -v '^ *+' conftest.er1 >conftest.err
17118 rm -f conftest.er1
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } && {
17122 test -z "$ac_c_werror_flag" ||
17123 test ! -s conftest.err
17124 } && test -s conftest.$ac_objext; then
17125 { echo "$as_me:$LINENO: result: yes" >&5
17126 echo "${ECHO_T}yes" >&6; }
17127 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17128 else
17129 echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.$ac_ext >&5
17131
17132 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17133 See \`config.log' for more details." >&5
17134 echo "$as_me: error: no. CoreFoundation not available.
17135 See \`config.log' for more details." >&2;}
17136 { (exit 1); exit 1; }; }
17137
17138 fi
17139
17140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17141
17142
17143 fi
17144
17145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17146 ;;
17147 esac
17148
17149 wants_win32=0
17150 doesnt_want_win32=0
17151 case "${host}" in
17152 *-*-cygwin*)
17153 if test "$wxUSE_MSW" = 1 ; then
17154 wants_win32=1
17155 else
17156 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17157 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17158 if test "${wx_cv_nocygwin+set}" = set; then
17159 echo $ECHO_N "(cached) $ECHO_C" >&6
17160 else
17161
17162 cat >conftest.$ac_ext <<_ACEOF
17163 /* confdefs.h. */
17164 _ACEOF
17165 cat confdefs.h >>conftest.$ac_ext
17166 cat >>conftest.$ac_ext <<_ACEOF
17167 /* end confdefs.h. */
17168
17169 int
17170 main ()
17171 {
17172
17173 #ifdef __MINGW32__
17174 choke me
17175 #endif
17176
17177 ;
17178 return 0;
17179 }
17180 _ACEOF
17181 rm -f conftest.$ac_objext
17182 if { (ac_try="$ac_compile"
17183 case "(($ac_try" in
17184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17185 *) ac_try_echo=$ac_try;;
17186 esac
17187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17188 (eval "$ac_compile") 2>conftest.er1
17189 ac_status=$?
17190 grep -v '^ *+' conftest.er1 >conftest.err
17191 rm -f conftest.er1
17192 cat conftest.err >&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); } && {
17195 test -z "$ac_c_werror_flag" ||
17196 test ! -s conftest.err
17197 } && test -s conftest.$ac_objext; then
17198 wx_cv_nocygwin=no
17199 else
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.$ac_ext >&5
17202
17203 wx_cv_nocygwin=yes
17204
17205 fi
17206
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208
17209
17210 fi
17211 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17212 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17213
17214 if test "$wx_cv_nocygwin" = "yes"; then
17215 wants_win32=1
17216 else
17217 doesnt_want_win32=1
17218 fi
17219 fi
17220 if test "$wants_win32" = 1 ; then
17221 BAKEFILE_FORCE_PLATFORM=win32
17222 fi
17223 ;;
17224 *-*-mingw*)
17225 wants_win32=1
17226 ;;
17227 esac
17228
17229 if test "$wxUSE_WINE" = "yes"; then
17230 wants_win32=1
17231 LDFLAGS_GUI="-mwindows"
17232 fi
17233
17234 if test "$wants_win32" = 1 ; then
17235 USE_UNIX=0
17236 USE_WIN32=1
17237 cat >>confdefs.h <<\_ACEOF
17238 #define __WIN32__ 1
17239 _ACEOF
17240
17241 cat >>confdefs.h <<\_ACEOF
17242 #define __WIN95__ 1
17243 _ACEOF
17244
17245 cat >>confdefs.h <<\_ACEOF
17246 #define __WINDOWS__ 1
17247 _ACEOF
17248
17249 cat >>confdefs.h <<\_ACEOF
17250 #define __GNUWIN32__ 1
17251 _ACEOF
17252
17253 cat >>confdefs.h <<\_ACEOF
17254 #define STRICT 1
17255 _ACEOF
17256
17257 fi
17258 if test "$doesnt_want_win32" = 1 ; then
17259 USE_UNIX=1
17260 USE_WIN32=0
17261 fi
17262
17263 if test "$USE_UNIX" = 1 ; then
17264 wxUSE_UNIX=yes
17265 cat >>confdefs.h <<\_ACEOF
17266 #define __UNIX__ 1
17267 _ACEOF
17268
17269 fi
17270
17271 case "${host}" in
17272 *-pc-os2_emx | *-pc-os2-emx )
17273 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17274 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17275 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17276 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17277 echo $ECHO_N "(cached) $ECHO_C" >&6
17278 else
17279 ac_check_lib_save_LIBS=$LIBS
17280 LIBS="-lcExt $LIBS"
17281 cat >conftest.$ac_ext <<_ACEOF
17282 /* confdefs.h. */
17283 _ACEOF
17284 cat confdefs.h >>conftest.$ac_ext
17285 cat >>conftest.$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287
17288 /* Override any GCC internal prototype to avoid an error.
17289 Use char because int might match the return type of a GCC
17290 builtin and then its argument prototype would still apply. */
17291 #ifdef __cplusplus
17292 extern "C"
17293 #endif
17294 char drand48 ();
17295 int
17296 main ()
17297 {
17298 return drand48 ();
17299 ;
17300 return 0;
17301 }
17302 _ACEOF
17303 rm -f conftest.$ac_objext conftest$ac_exeext
17304 if { (ac_try="$ac_link"
17305 case "(($ac_try" in
17306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17307 *) ac_try_echo=$ac_try;;
17308 esac
17309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17310 (eval "$ac_link") 2>conftest.er1
17311 ac_status=$?
17312 grep -v '^ *+' conftest.er1 >conftest.err
17313 rm -f conftest.er1
17314 cat conftest.err >&5
17315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17316 (exit $ac_status); } && {
17317 test -z "$ac_c_werror_flag" ||
17318 test ! -s conftest.err
17319 } && test -s conftest$ac_exeext &&
17320 $as_test_x conftest$ac_exeext; then
17321 ac_cv_lib_cExt_drand48=yes
17322 else
17323 echo "$as_me: failed program was:" >&5
17324 sed 's/^/| /' conftest.$ac_ext >&5
17325
17326 ac_cv_lib_cExt_drand48=no
17327 fi
17328
17329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17330 conftest$ac_exeext conftest.$ac_ext
17331 LIBS=$ac_check_lib_save_LIBS
17332 fi
17333 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17334 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17335 if test $ac_cv_lib_cExt_drand48 = yes; then
17336 LIBS="$LIBS -lcExt"
17337 fi
17338
17339 else
17340 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17341 fi
17342 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17343 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17344 if test "${wx_cv_gccversion+set}" = set; then
17345 echo $ECHO_N "(cached) $ECHO_C" >&6
17346 else
17347
17348 if test "$cross_compiling" = yes; then
17349 wx_cv_gccversion="EMX2"
17350
17351 else
17352 cat >conftest.$ac_ext <<_ACEOF
17353 /* confdefs.h. */
17354 _ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358
17359 #include <stdio.h>
17360
17361 int main()
17362 {
17363 FILE *f=fopen("conftestval", "w");
17364 if (!f) exit(1);
17365 fprintf(f,
17366 #if (__GNUC__ < 3)
17367 "EMX2"
17368 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17369 "EMX3"
17370 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17371 "Innotek5"
17372 #else
17373 "Innotek6"
17374 #endif
17375 );
17376 exit(0);
17377 }
17378
17379 _ACEOF
17380 rm -f conftest$ac_exeext
17381 if { (ac_try="$ac_link"
17382 case "(($ac_try" in
17383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17384 *) ac_try_echo=$ac_try;;
17385 esac
17386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17387 (eval "$ac_link") 2>&5
17388 ac_status=$?
17389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17390 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17391 { (case "(($ac_try" in
17392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17393 *) ac_try_echo=$ac_try;;
17394 esac
17395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17396 (eval "$ac_try") 2>&5
17397 ac_status=$?
17398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17399 (exit $ac_status); }; }; then
17400 wx_cv_gccversion=`cat conftestval`
17401 else
17402 echo "$as_me: program exited with status $ac_status" >&5
17403 echo "$as_me: failed program was:" >&5
17404 sed 's/^/| /' conftest.$ac_ext >&5
17405
17406 ( exit $ac_status )
17407 wx_cv_gccversion="EMX2"
17408 fi
17409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17410 fi
17411
17412
17413
17414 fi
17415 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17416 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17417 if test "$wx_cv_gccversion" = "EMX2"; then
17418 LIBS="$LIBS -lstdcpp"
17419 LDFLAGS="$LDFLAGS -Zsysv-signals"
17420 else
17421 if test "$wx_cv_gccversion" = "EMX3"; then
17422 LIBS="$LIBS -lstdcxx -lgcc"
17423 LDFLAGS="$LDFLAGS -Zsysv-signals"
17424 else
17425 LIBS="$LIBS -lstdc++"
17426 fi
17427 fi
17428 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17429 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17430 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17431 wxUSE_OMF=yes
17432 enable_omf=yes
17433 fi
17434 ;;
17435 *)
17436
17437 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17438 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17439 if test "${ac_cv_string_strcasecmp+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17442
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449
17450 #include <string.h>
17451
17452 int
17453 main ()
17454 {
17455
17456 strcasecmp("foo", "bar");
17457
17458 ;
17459 return 0;
17460 }
17461 _ACEOF
17462 rm -f conftest.$ac_objext conftest$ac_exeext
17463 if { (ac_try="$ac_link"
17464 case "(($ac_try" in
17465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17466 *) ac_try_echo=$ac_try;;
17467 esac
17468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17469 (eval "$ac_link") 2>conftest.er1
17470 ac_status=$?
17471 grep -v '^ *+' conftest.er1 >conftest.err
17472 rm -f conftest.er1
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } && {
17476 test -z "$ac_c_werror_flag" ||
17477 test ! -s conftest.err
17478 } && test -s conftest$ac_exeext &&
17479 $as_test_x conftest$ac_exeext; then
17480 ac_cv_string_strcasecmp=yes
17481 else
17482 echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17484
17485 ac_cv_string_strcasecmp=no
17486
17487 fi
17488
17489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17490 conftest$ac_exeext conftest.$ac_ext
17491
17492 fi
17493 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17494 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17495
17496 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17497 cat >>confdefs.h <<\_ACEOF
17498 #define HAVE_STRCASECMP_IN_STRING_H 1
17499 _ACEOF
17500
17501 else
17502 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17503 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17504 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17505 echo $ECHO_N "(cached) $ECHO_C" >&6
17506 else
17507
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514
17515 #include <strings.h>
17516
17517 int
17518 main ()
17519 {
17520
17521 strcasecmp("foo", "bar");
17522
17523 ;
17524 return 0;
17525 }
17526 _ACEOF
17527 rm -f conftest.$ac_objext conftest$ac_exeext
17528 if { (ac_try="$ac_link"
17529 case "(($ac_try" in
17530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17531 *) ac_try_echo=$ac_try;;
17532 esac
17533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17534 (eval "$ac_link") 2>conftest.er1
17535 ac_status=$?
17536 grep -v '^ *+' conftest.er1 >conftest.err
17537 rm -f conftest.er1
17538 cat conftest.err >&5
17539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17540 (exit $ac_status); } && {
17541 test -z "$ac_c_werror_flag" ||
17542 test ! -s conftest.err
17543 } && test -s conftest$ac_exeext &&
17544 $as_test_x conftest$ac_exeext; then
17545 ac_cv_strings_strcasecmp=yes
17546 else
17547 echo "$as_me: failed program was:" >&5
17548 sed 's/^/| /' conftest.$ac_ext >&5
17549
17550 ac_cv_strings_strcasecmp=no
17551
17552 fi
17553
17554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17555 conftest$ac_exeext conftest.$ac_ext
17556
17557 fi
17558 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17559 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17560
17561 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17562 cat >>confdefs.h <<\_ACEOF
17563 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17564 _ACEOF
17565
17566 else
17567 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17568 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17569 { (exit 1); exit 1; }; }
17570 fi
17571 fi
17572
17573 ;;
17574 esac
17575
17576
17577 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17578 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17579 if test "${ac_cv_header_stdc+set}" = set; then
17580 echo $ECHO_N "(cached) $ECHO_C" >&6
17581 else
17582 cat >conftest.$ac_ext <<_ACEOF
17583 /* confdefs.h. */
17584 _ACEOF
17585 cat confdefs.h >>conftest.$ac_ext
17586 cat >>conftest.$ac_ext <<_ACEOF
17587 /* end confdefs.h. */
17588 #include <stdlib.h>
17589 #include <stdarg.h>
17590 #include <string.h>
17591 #include <float.h>
17592
17593 int
17594 main ()
17595 {
17596
17597 ;
17598 return 0;
17599 }
17600 _ACEOF
17601 rm -f conftest.$ac_objext
17602 if { (ac_try="$ac_compile"
17603 case "(($ac_try" in
17604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17605 *) ac_try_echo=$ac_try;;
17606 esac
17607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17608 (eval "$ac_compile") 2>conftest.er1
17609 ac_status=$?
17610 grep -v '^ *+' conftest.er1 >conftest.err
17611 rm -f conftest.er1
17612 cat conftest.err >&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); } && {
17615 test -z "$ac_c_werror_flag" ||
17616 test ! -s conftest.err
17617 } && test -s conftest.$ac_objext; then
17618 ac_cv_header_stdc=yes
17619 else
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17622
17623 ac_cv_header_stdc=no
17624 fi
17625
17626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17627
17628 if test $ac_cv_header_stdc = yes; then
17629 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17630 cat >conftest.$ac_ext <<_ACEOF
17631 /* confdefs.h. */
17632 _ACEOF
17633 cat confdefs.h >>conftest.$ac_ext
17634 cat >>conftest.$ac_ext <<_ACEOF
17635 /* end confdefs.h. */
17636 #include <string.h>
17637
17638 _ACEOF
17639 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17640 $EGREP "memchr" >/dev/null 2>&1; then
17641 :
17642 else
17643 ac_cv_header_stdc=no
17644 fi
17645 rm -f conftest*
17646
17647 fi
17648
17649 if test $ac_cv_header_stdc = yes; then
17650 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17651 cat >conftest.$ac_ext <<_ACEOF
17652 /* confdefs.h. */
17653 _ACEOF
17654 cat confdefs.h >>conftest.$ac_ext
17655 cat >>conftest.$ac_ext <<_ACEOF
17656 /* end confdefs.h. */
17657 #include <stdlib.h>
17658
17659 _ACEOF
17660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17661 $EGREP "free" >/dev/null 2>&1; then
17662 :
17663 else
17664 ac_cv_header_stdc=no
17665 fi
17666 rm -f conftest*
17667
17668 fi
17669
17670 if test $ac_cv_header_stdc = yes; then
17671 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17672 if test "$cross_compiling" = yes; then
17673 :
17674 else
17675 cat >conftest.$ac_ext <<_ACEOF
17676 /* confdefs.h. */
17677 _ACEOF
17678 cat confdefs.h >>conftest.$ac_ext
17679 cat >>conftest.$ac_ext <<_ACEOF
17680 /* end confdefs.h. */
17681 #include <ctype.h>
17682 #include <stdlib.h>
17683 #if ((' ' & 0x0FF) == 0x020)
17684 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17685 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17686 #else
17687 # define ISLOWER(c) \
17688 (('a' <= (c) && (c) <= 'i') \
17689 || ('j' <= (c) && (c) <= 'r') \
17690 || ('s' <= (c) && (c) <= 'z'))
17691 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17692 #endif
17693
17694 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17695 int
17696 main ()
17697 {
17698 int i;
17699 for (i = 0; i < 256; i++)
17700 if (XOR (islower (i), ISLOWER (i))
17701 || toupper (i) != TOUPPER (i))
17702 return 2;
17703 return 0;
17704 }
17705 _ACEOF
17706 rm -f conftest$ac_exeext
17707 if { (ac_try="$ac_link"
17708 case "(($ac_try" in
17709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17710 *) ac_try_echo=$ac_try;;
17711 esac
17712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17713 (eval "$ac_link") 2>&5
17714 ac_status=$?
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17717 { (case "(($ac_try" in
17718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17719 *) ac_try_echo=$ac_try;;
17720 esac
17721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17722 (eval "$ac_try") 2>&5
17723 ac_status=$?
17724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17725 (exit $ac_status); }; }; then
17726 :
17727 else
17728 echo "$as_me: program exited with status $ac_status" >&5
17729 echo "$as_me: failed program was:" >&5
17730 sed 's/^/| /' conftest.$ac_ext >&5
17731
17732 ( exit $ac_status )
17733 ac_cv_header_stdc=no
17734 fi
17735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17736 fi
17737
17738
17739 fi
17740 fi
17741 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17742 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17743 if test $ac_cv_header_stdc = yes; then
17744
17745 cat >>confdefs.h <<\_ACEOF
17746 #define STDC_HEADERS 1
17747 _ACEOF
17748
17749 fi
17750
17751 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17762 inttypes.h stdint.h unistd.h
17763 do
17764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17765 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17767 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17768 echo $ECHO_N "(cached) $ECHO_C" >&6
17769 else
17770 cat >conftest.$ac_ext <<_ACEOF
17771 /* confdefs.h. */
17772 _ACEOF
17773 cat confdefs.h >>conftest.$ac_ext
17774 cat >>conftest.$ac_ext <<_ACEOF
17775 /* end confdefs.h. */
17776 $ac_includes_default
17777
17778 #include <$ac_header>
17779 _ACEOF
17780 rm -f conftest.$ac_objext
17781 if { (ac_try="$ac_compile"
17782 case "(($ac_try" in
17783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17784 *) ac_try_echo=$ac_try;;
17785 esac
17786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17787 (eval "$ac_compile") 2>conftest.er1
17788 ac_status=$?
17789 grep -v '^ *+' conftest.er1 >conftest.err
17790 rm -f conftest.er1
17791 cat conftest.err >&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } && {
17794 test -z "$ac_c_werror_flag" ||
17795 test ! -s conftest.err
17796 } && test -s conftest.$ac_objext; then
17797 eval "$as_ac_Header=yes"
17798 else
17799 echo "$as_me: failed program was:" >&5
17800 sed 's/^/| /' conftest.$ac_ext >&5
17801
17802 eval "$as_ac_Header=no"
17803 fi
17804
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 fi
17807 ac_res=`eval echo '${'$as_ac_Header'}'`
17808 { echo "$as_me:$LINENO: result: $ac_res" >&5
17809 echo "${ECHO_T}$ac_res" >&6; }
17810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17811 cat >>confdefs.h <<_ACEOF
17812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17813 _ACEOF
17814
17815 fi
17816
17817 done
17818
17819
17820
17821
17822
17823
17824
17825
17826 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17827 do
17828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17829 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17831 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17832 echo $ECHO_N "(cached) $ECHO_C" >&6
17833 else
17834 cat >conftest.$ac_ext <<_ACEOF
17835 /* confdefs.h. */
17836 _ACEOF
17837 cat confdefs.h >>conftest.$ac_ext
17838 cat >>conftest.$ac_ext <<_ACEOF
17839 /* end confdefs.h. */
17840 $ac_includes_default
17841
17842 #include <$ac_header>
17843 _ACEOF
17844 rm -f conftest.$ac_objext
17845 if { (ac_try="$ac_compile"
17846 case "(($ac_try" in
17847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17848 *) ac_try_echo=$ac_try;;
17849 esac
17850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17851 (eval "$ac_compile") 2>conftest.er1
17852 ac_status=$?
17853 grep -v '^ *+' conftest.er1 >conftest.err
17854 rm -f conftest.er1
17855 cat conftest.err >&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } && {
17858 test -z "$ac_c_werror_flag" ||
17859 test ! -s conftest.err
17860 } && test -s conftest.$ac_objext; then
17861 eval "$as_ac_Header=yes"
17862 else
17863 echo "$as_me: failed program was:" >&5
17864 sed 's/^/| /' conftest.$ac_ext >&5
17865
17866 eval "$as_ac_Header=no"
17867 fi
17868
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17870 fi
17871 ac_res=`eval echo '${'$as_ac_Header'}'`
17872 { echo "$as_me:$LINENO: result: $ac_res" >&5
17873 echo "${ECHO_T}$ac_res" >&6; }
17874 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17875 cat >>confdefs.h <<_ACEOF
17876 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17877 _ACEOF
17878
17879 fi
17880
17881 done
17882
17883
17884 if test "$ac_cv_header_wchar_h" != "yes"; then
17885 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17886 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17887 if test "${ac_cv_header_wcstr_h+set}" = set; then
17888 echo $ECHO_N "(cached) $ECHO_C" >&6
17889 else
17890 cat >conftest.$ac_ext <<_ACEOF
17891 /* confdefs.h. */
17892 _ACEOF
17893 cat confdefs.h >>conftest.$ac_ext
17894 cat >>conftest.$ac_ext <<_ACEOF
17895 /* end confdefs.h. */
17896 $ac_includes_default
17897
17898 #include <wcstr.h>
17899 _ACEOF
17900 rm -f conftest.$ac_objext
17901 if { (ac_try="$ac_compile"
17902 case "(($ac_try" in
17903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17904 *) ac_try_echo=$ac_try;;
17905 esac
17906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17907 (eval "$ac_compile") 2>conftest.er1
17908 ac_status=$?
17909 grep -v '^ *+' conftest.er1 >conftest.err
17910 rm -f conftest.er1
17911 cat conftest.err >&5
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); } && {
17914 test -z "$ac_c_werror_flag" ||
17915 test ! -s conftest.err
17916 } && test -s conftest.$ac_objext; then
17917 ac_cv_header_wcstr_h=yes
17918 else
17919 echo "$as_me: failed program was:" >&5
17920 sed 's/^/| /' conftest.$ac_ext >&5
17921
17922 ac_cv_header_wcstr_h=no
17923 fi
17924
17925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17926 fi
17927 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17928 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17929
17930
17931 fi
17932
17933 case "${host}" in
17934 *-pc-os2_emx | *-pc-os2-emx )
17935 if test $ac_cv_header_langinfo_h = "yes" \
17936 -a \( "$wx_cv_gccversion" = "EMX2" \
17937 -o "$wx_cv_gccversion" = "EMX3" \
17938 -o "$wx_cv_gccversion" = "Innotek5" \); then
17939 LIBS="$LIBS -lintl"
17940 fi
17941 ;;
17942 esac
17943
17944 if test "$USE_UNIX" = 1 ; then
17945 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17946 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17947 if test "${ac_cv_header_sys_select_h+set}" = set; then
17948 echo $ECHO_N "(cached) $ECHO_C" >&6
17949 else
17950 cat >conftest.$ac_ext <<_ACEOF
17951 /* confdefs.h. */
17952 _ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h. */
17956 $ac_includes_default
17957
17958 #include <sys/select.h>
17959 _ACEOF
17960 rm -f conftest.$ac_objext
17961 if { (ac_try="$ac_compile"
17962 case "(($ac_try" in
17963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17964 *) ac_try_echo=$ac_try;;
17965 esac
17966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17967 (eval "$ac_compile") 2>conftest.er1
17968 ac_status=$?
17969 grep -v '^ *+' conftest.er1 >conftest.err
17970 rm -f conftest.er1
17971 cat conftest.err >&5
17972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17973 (exit $ac_status); } && {
17974 test -z "$ac_c_werror_flag" ||
17975 test ! -s conftest.err
17976 } && test -s conftest.$ac_objext; then
17977 ac_cv_header_sys_select_h=yes
17978 else
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17981
17982 ac_cv_header_sys_select_h=no
17983 fi
17984
17985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17986 fi
17987 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17988 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17989
17990
17991 fi
17992
17993
17994 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17995 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17996 if test "${ac_cv_c_const+set}" = set; then
17997 echo $ECHO_N "(cached) $ECHO_C" >&6
17998 else
17999 cat >conftest.$ac_ext <<_ACEOF
18000 /* confdefs.h. */
18001 _ACEOF
18002 cat confdefs.h >>conftest.$ac_ext
18003 cat >>conftest.$ac_ext <<_ACEOF
18004 /* end confdefs.h. */
18005
18006 int
18007 main ()
18008 {
18009 /* FIXME: Include the comments suggested by Paul. */
18010 #ifndef __cplusplus
18011 /* Ultrix mips cc rejects this. */
18012 typedef int charset[2];
18013 const charset cs;
18014 /* SunOS 4.1.1 cc rejects this. */
18015 char const *const *pcpcc;
18016 char **ppc;
18017 /* NEC SVR4.0.2 mips cc rejects this. */
18018 struct point {int x, y;};
18019 static struct point const zero = {0,0};
18020 /* AIX XL C 1.02.0.0 rejects this.
18021 It does not let you subtract one const X* pointer from another in
18022 an arm of an if-expression whose if-part is not a constant
18023 expression */
18024 const char *g = "string";
18025 pcpcc = &g + (g ? g-g : 0);
18026 /* HPUX 7.0 cc rejects these. */
18027 ++pcpcc;
18028 ppc = (char**) pcpcc;
18029 pcpcc = (char const *const *) ppc;
18030 { /* SCO 3.2v4 cc rejects this. */
18031 char *t;
18032 char const *s = 0 ? (char *) 0 : (char const *) 0;
18033
18034 *t++ = 0;
18035 if (s) return 0;
18036 }
18037 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18038 int x[] = {25, 17};
18039 const int *foo = &x[0];
18040 ++foo;
18041 }
18042 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18043 typedef const int *iptr;
18044 iptr p = 0;
18045 ++p;
18046 }
18047 { /* AIX XL C 1.02.0.0 rejects this saying
18048 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18049 struct s { int j; const int *ap[3]; };
18050 struct s *b; b->j = 5;
18051 }
18052 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18053 const int foo = 10;
18054 if (!foo) return 0;
18055 }
18056 return !cs[0] && !zero.x;
18057 #endif
18058
18059 ;
18060 return 0;
18061 }
18062 _ACEOF
18063 rm -f conftest.$ac_objext
18064 if { (ac_try="$ac_compile"
18065 case "(($ac_try" in
18066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18067 *) ac_try_echo=$ac_try;;
18068 esac
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18070 (eval "$ac_compile") 2>conftest.er1
18071 ac_status=$?
18072 grep -v '^ *+' conftest.er1 >conftest.err
18073 rm -f conftest.er1
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } && {
18077 test -z "$ac_c_werror_flag" ||
18078 test ! -s conftest.err
18079 } && test -s conftest.$ac_objext; then
18080 ac_cv_c_const=yes
18081 else
18082 echo "$as_me: failed program was:" >&5
18083 sed 's/^/| /' conftest.$ac_ext >&5
18084
18085 ac_cv_c_const=no
18086 fi
18087
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18089 fi
18090 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18091 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18092 if test $ac_cv_c_const = no; then
18093
18094 cat >>confdefs.h <<\_ACEOF
18095 #define const
18096 _ACEOF
18097
18098 fi
18099
18100 { echo "$as_me:$LINENO: checking for inline" >&5
18101 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18102 if test "${ac_cv_c_inline+set}" = set; then
18103 echo $ECHO_N "(cached) $ECHO_C" >&6
18104 else
18105 ac_cv_c_inline=no
18106 for ac_kw in inline __inline__ __inline; do
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 #ifndef __cplusplus
18114 typedef int foo_t;
18115 static $ac_kw foo_t static_foo () {return 0; }
18116 $ac_kw foo_t foo () {return 0; }
18117 #endif
18118
18119 _ACEOF
18120 rm -f conftest.$ac_objext
18121 if { (ac_try="$ac_compile"
18122 case "(($ac_try" in
18123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18124 *) ac_try_echo=$ac_try;;
18125 esac
18126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18127 (eval "$ac_compile") 2>conftest.er1
18128 ac_status=$?
18129 grep -v '^ *+' conftest.er1 >conftest.err
18130 rm -f conftest.er1
18131 cat conftest.err >&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); } && {
18134 test -z "$ac_c_werror_flag" ||
18135 test ! -s conftest.err
18136 } && test -s conftest.$ac_objext; then
18137 ac_cv_c_inline=$ac_kw
18138 else
18139 echo "$as_me: failed program was:" >&5
18140 sed 's/^/| /' conftest.$ac_ext >&5
18141
18142
18143 fi
18144
18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146 test "$ac_cv_c_inline" != no && break
18147 done
18148
18149 fi
18150 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18151 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18152
18153
18154 case $ac_cv_c_inline in
18155 inline | yes) ;;
18156 *)
18157 case $ac_cv_c_inline in
18158 no) ac_val=;;
18159 *) ac_val=$ac_cv_c_inline;;
18160 esac
18161 cat >>confdefs.h <<_ACEOF
18162 #ifndef __cplusplus
18163 #define inline $ac_val
18164 #endif
18165 _ACEOF
18166 ;;
18167 esac
18168
18169
18170 { echo "$as_me:$LINENO: checking for short" >&5
18171 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18172 if test "${ac_cv_type_short+set}" = set; then
18173 echo $ECHO_N "(cached) $ECHO_C" >&6
18174 else
18175 cat >conftest.$ac_ext <<_ACEOF
18176 /* confdefs.h. */
18177 _ACEOF
18178 cat confdefs.h >>conftest.$ac_ext
18179 cat >>conftest.$ac_ext <<_ACEOF
18180 /* end confdefs.h. */
18181 $ac_includes_default
18182 typedef short ac__type_new_;
18183 int
18184 main ()
18185 {
18186 if ((ac__type_new_ *) 0)
18187 return 0;
18188 if (sizeof (ac__type_new_))
18189 return 0;
18190 ;
18191 return 0;
18192 }
18193 _ACEOF
18194 rm -f conftest.$ac_objext
18195 if { (ac_try="$ac_compile"
18196 case "(($ac_try" in
18197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18198 *) ac_try_echo=$ac_try;;
18199 esac
18200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18201 (eval "$ac_compile") 2>conftest.er1
18202 ac_status=$?
18203 grep -v '^ *+' conftest.er1 >conftest.err
18204 rm -f conftest.er1
18205 cat conftest.err >&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } && {
18208 test -z "$ac_c_werror_flag" ||
18209 test ! -s conftest.err
18210 } && test -s conftest.$ac_objext; then
18211 ac_cv_type_short=yes
18212 else
18213 echo "$as_me: failed program was:" >&5
18214 sed 's/^/| /' conftest.$ac_ext >&5
18215
18216 ac_cv_type_short=no
18217 fi
18218
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220 fi
18221 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18222 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18223
18224 # The cast to long int works around a bug in the HP C Compiler
18225 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18226 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18227 # This bug is HP SR number 8606223364.
18228 { echo "$as_me:$LINENO: checking size of short" >&5
18229 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18230 if test "${ac_cv_sizeof_short+set}" = set; then
18231 echo $ECHO_N "(cached) $ECHO_C" >&6
18232 else
18233 if test "$cross_compiling" = yes; then
18234 # Depending upon the size, compute the lo and hi bounds.
18235 cat >conftest.$ac_ext <<_ACEOF
18236 /* confdefs.h. */
18237 _ACEOF
18238 cat confdefs.h >>conftest.$ac_ext
18239 cat >>conftest.$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18241 $ac_includes_default
18242 typedef short ac__type_sizeof_;
18243 int
18244 main ()
18245 {
18246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18247 test_array [0] = 0
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 rm -f conftest.$ac_objext
18254 if { (ac_try="$ac_compile"
18255 case "(($ac_try" in
18256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18257 *) ac_try_echo=$ac_try;;
18258 esac
18259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18260 (eval "$ac_compile") 2>conftest.er1
18261 ac_status=$?
18262 grep -v '^ *+' conftest.er1 >conftest.err
18263 rm -f conftest.er1
18264 cat conftest.err >&5
18265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18266 (exit $ac_status); } && {
18267 test -z "$ac_c_werror_flag" ||
18268 test ! -s conftest.err
18269 } && test -s conftest.$ac_objext; then
18270 ac_lo=0 ac_mid=0
18271 while :; do
18272 cat >conftest.$ac_ext <<_ACEOF
18273 /* confdefs.h. */
18274 _ACEOF
18275 cat confdefs.h >>conftest.$ac_ext
18276 cat >>conftest.$ac_ext <<_ACEOF
18277 /* end confdefs.h. */
18278 $ac_includes_default
18279 typedef short ac__type_sizeof_;
18280 int
18281 main ()
18282 {
18283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18284 test_array [0] = 0
18285
18286 ;
18287 return 0;
18288 }
18289 _ACEOF
18290 rm -f conftest.$ac_objext
18291 if { (ac_try="$ac_compile"
18292 case "(($ac_try" in
18293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18294 *) ac_try_echo=$ac_try;;
18295 esac
18296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18297 (eval "$ac_compile") 2>conftest.er1
18298 ac_status=$?
18299 grep -v '^ *+' conftest.er1 >conftest.err
18300 rm -f conftest.er1
18301 cat conftest.err >&5
18302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18303 (exit $ac_status); } && {
18304 test -z "$ac_c_werror_flag" ||
18305 test ! -s conftest.err
18306 } && test -s conftest.$ac_objext; then
18307 ac_hi=$ac_mid; break
18308 else
18309 echo "$as_me: failed program was:" >&5
18310 sed 's/^/| /' conftest.$ac_ext >&5
18311
18312 ac_lo=`expr $ac_mid + 1`
18313 if test $ac_lo -le $ac_mid; then
18314 ac_lo= ac_hi=
18315 break
18316 fi
18317 ac_mid=`expr 2 '*' $ac_mid + 1`
18318 fi
18319
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 done
18322 else
18323 echo "$as_me: failed program was:" >&5
18324 sed 's/^/| /' conftest.$ac_ext >&5
18325
18326 cat >conftest.$ac_ext <<_ACEOF
18327 /* confdefs.h. */
18328 _ACEOF
18329 cat confdefs.h >>conftest.$ac_ext
18330 cat >>conftest.$ac_ext <<_ACEOF
18331 /* end confdefs.h. */
18332 $ac_includes_default
18333 typedef short ac__type_sizeof_;
18334 int
18335 main ()
18336 {
18337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18338 test_array [0] = 0
18339
18340 ;
18341 return 0;
18342 }
18343 _ACEOF
18344 rm -f conftest.$ac_objext
18345 if { (ac_try="$ac_compile"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18349 esac
18350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_compile") 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest.$ac_objext; then
18361 ac_hi=-1 ac_mid=-1
18362 while :; do
18363 cat >conftest.$ac_ext <<_ACEOF
18364 /* confdefs.h. */
18365 _ACEOF
18366 cat confdefs.h >>conftest.$ac_ext
18367 cat >>conftest.$ac_ext <<_ACEOF
18368 /* end confdefs.h. */
18369 $ac_includes_default
18370 typedef short ac__type_sizeof_;
18371 int
18372 main ()
18373 {
18374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18375 test_array [0] = 0
18376
18377 ;
18378 return 0;
18379 }
18380 _ACEOF
18381 rm -f conftest.$ac_objext
18382 if { (ac_try="$ac_compile"
18383 case "(($ac_try" in
18384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18385 *) ac_try_echo=$ac_try;;
18386 esac
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_compile") 2>conftest.er1
18389 ac_status=$?
18390 grep -v '^ *+' conftest.er1 >conftest.err
18391 rm -f conftest.er1
18392 cat conftest.err >&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_c_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest.$ac_objext; then
18398 ac_lo=$ac_mid; break
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18402
18403 ac_hi=`expr '(' $ac_mid ')' - 1`
18404 if test $ac_mid -le $ac_hi; then
18405 ac_lo= ac_hi=
18406 break
18407 fi
18408 ac_mid=`expr 2 '*' $ac_mid`
18409 fi
18410
18411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18412 done
18413 else
18414 echo "$as_me: failed program was:" >&5
18415 sed 's/^/| /' conftest.$ac_ext >&5
18416
18417 ac_lo= ac_hi=
18418 fi
18419
18420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18421 fi
18422
18423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18424 # Binary search between lo and hi bounds.
18425 while test "x$ac_lo" != "x$ac_hi"; do
18426 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18427 cat >conftest.$ac_ext <<_ACEOF
18428 /* confdefs.h. */
18429 _ACEOF
18430 cat confdefs.h >>conftest.$ac_ext
18431 cat >>conftest.$ac_ext <<_ACEOF
18432 /* end confdefs.h. */
18433 $ac_includes_default
18434 typedef short ac__type_sizeof_;
18435 int
18436 main ()
18437 {
18438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18439 test_array [0] = 0
18440
18441 ;
18442 return 0;
18443 }
18444 _ACEOF
18445 rm -f conftest.$ac_objext
18446 if { (ac_try="$ac_compile"
18447 case "(($ac_try" in
18448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18449 *) ac_try_echo=$ac_try;;
18450 esac
18451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18452 (eval "$ac_compile") 2>conftest.er1
18453 ac_status=$?
18454 grep -v '^ *+' conftest.er1 >conftest.err
18455 rm -f conftest.er1
18456 cat conftest.err >&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } && {
18459 test -z "$ac_c_werror_flag" ||
18460 test ! -s conftest.err
18461 } && test -s conftest.$ac_objext; then
18462 ac_hi=$ac_mid
18463 else
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18466
18467 ac_lo=`expr '(' $ac_mid ')' + 1`
18468 fi
18469
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 done
18472 case $ac_lo in
18473 ?*) ac_cv_sizeof_short=$ac_lo;;
18474 '') if test "$ac_cv_type_short" = yes; then
18475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18476 See \`config.log' for more details." >&5
18477 echo "$as_me: error: cannot compute sizeof (short)
18478 See \`config.log' for more details." >&2;}
18479 { (exit 77); exit 77; }; }
18480 else
18481 ac_cv_sizeof_short=0
18482 fi ;;
18483 esac
18484 else
18485 cat >conftest.$ac_ext <<_ACEOF
18486 /* confdefs.h. */
18487 _ACEOF
18488 cat confdefs.h >>conftest.$ac_ext
18489 cat >>conftest.$ac_ext <<_ACEOF
18490 /* end confdefs.h. */
18491 $ac_includes_default
18492 typedef short ac__type_sizeof_;
18493 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18494 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18495 #include <stdio.h>
18496 #include <stdlib.h>
18497 int
18498 main ()
18499 {
18500
18501 FILE *f = fopen ("conftest.val", "w");
18502 if (! f)
18503 return 1;
18504 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18505 {
18506 long int i = longval ();
18507 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18508 return 1;
18509 fprintf (f, "%ld\n", i);
18510 }
18511 else
18512 {
18513 unsigned long int i = ulongval ();
18514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18515 return 1;
18516 fprintf (f, "%lu\n", i);
18517 }
18518 return ferror (f) || fclose (f) != 0;
18519
18520 ;
18521 return 0;
18522 }
18523 _ACEOF
18524 rm -f conftest$ac_exeext
18525 if { (ac_try="$ac_link"
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_link") 2>&5
18532 ac_status=$?
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18535 { (case "(($ac_try" in
18536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18537 *) ac_try_echo=$ac_try;;
18538 esac
18539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18540 (eval "$ac_try") 2>&5
18541 ac_status=$?
18542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18543 (exit $ac_status); }; }; then
18544 ac_cv_sizeof_short=`cat conftest.val`
18545 else
18546 echo "$as_me: program exited with status $ac_status" >&5
18547 echo "$as_me: failed program was:" >&5
18548 sed 's/^/| /' conftest.$ac_ext >&5
18549
18550 ( exit $ac_status )
18551 if test "$ac_cv_type_short" = yes; then
18552 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18553 See \`config.log' for more details." >&5
18554 echo "$as_me: error: cannot compute sizeof (short)
18555 See \`config.log' for more details." >&2;}
18556 { (exit 77); exit 77; }; }
18557 else
18558 ac_cv_sizeof_short=0
18559 fi
18560 fi
18561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18562 fi
18563 rm -f conftest.val
18564 fi
18565 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18566 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18567
18568
18569
18570 cat >>confdefs.h <<_ACEOF
18571 #define SIZEOF_SHORT $ac_cv_sizeof_short
18572 _ACEOF
18573
18574
18575 { echo "$as_me:$LINENO: checking for void *" >&5
18576 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18577 if test "${ac_cv_type_void_p+set}" = set; then
18578 echo $ECHO_N "(cached) $ECHO_C" >&6
18579 else
18580 cat >conftest.$ac_ext <<_ACEOF
18581 /* confdefs.h. */
18582 _ACEOF
18583 cat confdefs.h >>conftest.$ac_ext
18584 cat >>conftest.$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18586 $ac_includes_default
18587 typedef void * ac__type_new_;
18588 int
18589 main ()
18590 {
18591 if ((ac__type_new_ *) 0)
18592 return 0;
18593 if (sizeof (ac__type_new_))
18594 return 0;
18595 ;
18596 return 0;
18597 }
18598 _ACEOF
18599 rm -f conftest.$ac_objext
18600 if { (ac_try="$ac_compile"
18601 case "(($ac_try" in
18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18603 *) ac_try_echo=$ac_try;;
18604 esac
18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18606 (eval "$ac_compile") 2>conftest.er1
18607 ac_status=$?
18608 grep -v '^ *+' conftest.er1 >conftest.err
18609 rm -f conftest.er1
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } && {
18613 test -z "$ac_c_werror_flag" ||
18614 test ! -s conftest.err
18615 } && test -s conftest.$ac_objext; then
18616 ac_cv_type_void_p=yes
18617 else
18618 echo "$as_me: failed program was:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18620
18621 ac_cv_type_void_p=no
18622 fi
18623
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18625 fi
18626 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18627 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18628
18629 # The cast to long int works around a bug in the HP C Compiler
18630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18632 # This bug is HP SR number 8606223364.
18633 { echo "$as_me:$LINENO: checking size of void *" >&5
18634 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18635 if test "${ac_cv_sizeof_void_p+set}" = set; then
18636 echo $ECHO_N "(cached) $ECHO_C" >&6
18637 else
18638 if test "$cross_compiling" = yes; then
18639 # Depending upon the size, compute the lo and hi bounds.
18640 cat >conftest.$ac_ext <<_ACEOF
18641 /* confdefs.h. */
18642 _ACEOF
18643 cat confdefs.h >>conftest.$ac_ext
18644 cat >>conftest.$ac_ext <<_ACEOF
18645 /* end confdefs.h. */
18646 $ac_includes_default
18647 typedef void * ac__type_sizeof_;
18648 int
18649 main ()
18650 {
18651 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18652 test_array [0] = 0
18653
18654 ;
18655 return 0;
18656 }
18657 _ACEOF
18658 rm -f conftest.$ac_objext
18659 if { (ac_try="$ac_compile"
18660 case "(($ac_try" in
18661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18662 *) ac_try_echo=$ac_try;;
18663 esac
18664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18665 (eval "$ac_compile") 2>conftest.er1
18666 ac_status=$?
18667 grep -v '^ *+' conftest.er1 >conftest.err
18668 rm -f conftest.er1
18669 cat conftest.err >&5
18670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671 (exit $ac_status); } && {
18672 test -z "$ac_c_werror_flag" ||
18673 test ! -s conftest.err
18674 } && test -s conftest.$ac_objext; then
18675 ac_lo=0 ac_mid=0
18676 while :; do
18677 cat >conftest.$ac_ext <<_ACEOF
18678 /* confdefs.h. */
18679 _ACEOF
18680 cat confdefs.h >>conftest.$ac_ext
18681 cat >>conftest.$ac_ext <<_ACEOF
18682 /* end confdefs.h. */
18683 $ac_includes_default
18684 typedef void * ac__type_sizeof_;
18685 int
18686 main ()
18687 {
18688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18689 test_array [0] = 0
18690
18691 ;
18692 return 0;
18693 }
18694 _ACEOF
18695 rm -f conftest.$ac_objext
18696 if { (ac_try="$ac_compile"
18697 case "(($ac_try" in
18698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18699 *) ac_try_echo=$ac_try;;
18700 esac
18701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18702 (eval "$ac_compile") 2>conftest.er1
18703 ac_status=$?
18704 grep -v '^ *+' conftest.er1 >conftest.err
18705 rm -f conftest.er1
18706 cat conftest.err >&5
18707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18708 (exit $ac_status); } && {
18709 test -z "$ac_c_werror_flag" ||
18710 test ! -s conftest.err
18711 } && test -s conftest.$ac_objext; then
18712 ac_hi=$ac_mid; break
18713 else
18714 echo "$as_me: failed program was:" >&5
18715 sed 's/^/| /' conftest.$ac_ext >&5
18716
18717 ac_lo=`expr $ac_mid + 1`
18718 if test $ac_lo -le $ac_mid; then
18719 ac_lo= ac_hi=
18720 break
18721 fi
18722 ac_mid=`expr 2 '*' $ac_mid + 1`
18723 fi
18724
18725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18726 done
18727 else
18728 echo "$as_me: failed program was:" >&5
18729 sed 's/^/| /' conftest.$ac_ext >&5
18730
18731 cat >conftest.$ac_ext <<_ACEOF
18732 /* confdefs.h. */
18733 _ACEOF
18734 cat confdefs.h >>conftest.$ac_ext
18735 cat >>conftest.$ac_ext <<_ACEOF
18736 /* end confdefs.h. */
18737 $ac_includes_default
18738 typedef void * ac__type_sizeof_;
18739 int
18740 main ()
18741 {
18742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18743 test_array [0] = 0
18744
18745 ;
18746 return 0;
18747 }
18748 _ACEOF
18749 rm -f conftest.$ac_objext
18750 if { (ac_try="$ac_compile"
18751 case "(($ac_try" in
18752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18753 *) ac_try_echo=$ac_try;;
18754 esac
18755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18756 (eval "$ac_compile") 2>conftest.er1
18757 ac_status=$?
18758 grep -v '^ *+' conftest.er1 >conftest.err
18759 rm -f conftest.er1
18760 cat conftest.err >&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } && {
18763 test -z "$ac_c_werror_flag" ||
18764 test ! -s conftest.err
18765 } && test -s conftest.$ac_objext; then
18766 ac_hi=-1 ac_mid=-1
18767 while :; do
18768 cat >conftest.$ac_ext <<_ACEOF
18769 /* confdefs.h. */
18770 _ACEOF
18771 cat confdefs.h >>conftest.$ac_ext
18772 cat >>conftest.$ac_ext <<_ACEOF
18773 /* end confdefs.h. */
18774 $ac_includes_default
18775 typedef void * ac__type_sizeof_;
18776 int
18777 main ()
18778 {
18779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18780 test_array [0] = 0
18781
18782 ;
18783 return 0;
18784 }
18785 _ACEOF
18786 rm -f conftest.$ac_objext
18787 if { (ac_try="$ac_compile"
18788 case "(($ac_try" in
18789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18790 *) ac_try_echo=$ac_try;;
18791 esac
18792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18793 (eval "$ac_compile") 2>conftest.er1
18794 ac_status=$?
18795 grep -v '^ *+' conftest.er1 >conftest.err
18796 rm -f conftest.er1
18797 cat conftest.err >&5
18798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18799 (exit $ac_status); } && {
18800 test -z "$ac_c_werror_flag" ||
18801 test ! -s conftest.err
18802 } && test -s conftest.$ac_objext; then
18803 ac_lo=$ac_mid; break
18804 else
18805 echo "$as_me: failed program was:" >&5
18806 sed 's/^/| /' conftest.$ac_ext >&5
18807
18808 ac_hi=`expr '(' $ac_mid ')' - 1`
18809 if test $ac_mid -le $ac_hi; then
18810 ac_lo= ac_hi=
18811 break
18812 fi
18813 ac_mid=`expr 2 '*' $ac_mid`
18814 fi
18815
18816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18817 done
18818 else
18819 echo "$as_me: failed program was:" >&5
18820 sed 's/^/| /' conftest.$ac_ext >&5
18821
18822 ac_lo= ac_hi=
18823 fi
18824
18825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18826 fi
18827
18828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829 # Binary search between lo and hi bounds.
18830 while test "x$ac_lo" != "x$ac_hi"; do
18831 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18832 cat >conftest.$ac_ext <<_ACEOF
18833 /* confdefs.h. */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838 $ac_includes_default
18839 typedef void * ac__type_sizeof_;
18840 int
18841 main ()
18842 {
18843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18844 test_array [0] = 0
18845
18846 ;
18847 return 0;
18848 }
18849 _ACEOF
18850 rm -f conftest.$ac_objext
18851 if { (ac_try="$ac_compile"
18852 case "(($ac_try" in
18853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18854 *) ac_try_echo=$ac_try;;
18855 esac
18856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18857 (eval "$ac_compile") 2>conftest.er1
18858 ac_status=$?
18859 grep -v '^ *+' conftest.er1 >conftest.err
18860 rm -f conftest.er1
18861 cat conftest.err >&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); } && {
18864 test -z "$ac_c_werror_flag" ||
18865 test ! -s conftest.err
18866 } && test -s conftest.$ac_objext; then
18867 ac_hi=$ac_mid
18868 else
18869 echo "$as_me: failed program was:" >&5
18870 sed 's/^/| /' conftest.$ac_ext >&5
18871
18872 ac_lo=`expr '(' $ac_mid ')' + 1`
18873 fi
18874
18875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18876 done
18877 case $ac_lo in
18878 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18879 '') if test "$ac_cv_type_void_p" = yes; then
18880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18881 See \`config.log' for more details." >&5
18882 echo "$as_me: error: cannot compute sizeof (void *)
18883 See \`config.log' for more details." >&2;}
18884 { (exit 77); exit 77; }; }
18885 else
18886 ac_cv_sizeof_void_p=0
18887 fi ;;
18888 esac
18889 else
18890 cat >conftest.$ac_ext <<_ACEOF
18891 /* confdefs.h. */
18892 _ACEOF
18893 cat confdefs.h >>conftest.$ac_ext
18894 cat >>conftest.$ac_ext <<_ACEOF
18895 /* end confdefs.h. */
18896 $ac_includes_default
18897 typedef void * ac__type_sizeof_;
18898 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18899 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18900 #include <stdio.h>
18901 #include <stdlib.h>
18902 int
18903 main ()
18904 {
18905
18906 FILE *f = fopen ("conftest.val", "w");
18907 if (! f)
18908 return 1;
18909 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18910 {
18911 long int i = longval ();
18912 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18913 return 1;
18914 fprintf (f, "%ld\n", i);
18915 }
18916 else
18917 {
18918 unsigned long int i = ulongval ();
18919 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18920 return 1;
18921 fprintf (f, "%lu\n", i);
18922 }
18923 return ferror (f) || fclose (f) != 0;
18924
18925 ;
18926 return 0;
18927 }
18928 _ACEOF
18929 rm -f conftest$ac_exeext
18930 if { (ac_try="$ac_link"
18931 case "(($ac_try" in
18932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18933 *) ac_try_echo=$ac_try;;
18934 esac
18935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18936 (eval "$ac_link") 2>&5
18937 ac_status=$?
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18940 { (case "(($ac_try" in
18941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18942 *) ac_try_echo=$ac_try;;
18943 esac
18944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18945 (eval "$ac_try") 2>&5
18946 ac_status=$?
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; }; then
18949 ac_cv_sizeof_void_p=`cat conftest.val`
18950 else
18951 echo "$as_me: program exited with status $ac_status" >&5
18952 echo "$as_me: failed program was:" >&5
18953 sed 's/^/| /' conftest.$ac_ext >&5
18954
18955 ( exit $ac_status )
18956 if test "$ac_cv_type_void_p" = yes; then
18957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18958 See \`config.log' for more details." >&5
18959 echo "$as_me: error: cannot compute sizeof (void *)
18960 See \`config.log' for more details." >&2;}
18961 { (exit 77); exit 77; }; }
18962 else
18963 ac_cv_sizeof_void_p=0
18964 fi
18965 fi
18966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18967 fi
18968 rm -f conftest.val
18969 fi
18970 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18971 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18972
18973
18974
18975 cat >>confdefs.h <<_ACEOF
18976 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18977 _ACEOF
18978
18979
18980 { echo "$as_me:$LINENO: checking for int" >&5
18981 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18982 if test "${ac_cv_type_int+set}" = set; then
18983 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 else
18985 cat >conftest.$ac_ext <<_ACEOF
18986 /* confdefs.h. */
18987 _ACEOF
18988 cat confdefs.h >>conftest.$ac_ext
18989 cat >>conftest.$ac_ext <<_ACEOF
18990 /* end confdefs.h. */
18991 $ac_includes_default
18992 typedef int ac__type_new_;
18993 int
18994 main ()
18995 {
18996 if ((ac__type_new_ *) 0)
18997 return 0;
18998 if (sizeof (ac__type_new_))
18999 return 0;
19000 ;
19001 return 0;
19002 }
19003 _ACEOF
19004 rm -f conftest.$ac_objext
19005 if { (ac_try="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19009 esac
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19012 ac_status=$?
19013 grep -v '^ *+' conftest.er1 >conftest.err
19014 rm -f conftest.er1
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_c_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 ac_cv_type_int=yes
19022 else
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19025
19026 ac_cv_type_int=no
19027 fi
19028
19029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19030 fi
19031 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19032 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19033
19034 # The cast to long int works around a bug in the HP C Compiler
19035 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19036 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19037 # This bug is HP SR number 8606223364.
19038 { echo "$as_me:$LINENO: checking size of int" >&5
19039 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19040 if test "${ac_cv_sizeof_int+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19042 else
19043 if test "$cross_compiling" = yes; then
19044 # Depending upon the size, compute the lo and hi bounds.
19045 cat >conftest.$ac_ext <<_ACEOF
19046 /* confdefs.h. */
19047 _ACEOF
19048 cat confdefs.h >>conftest.$ac_ext
19049 cat >>conftest.$ac_ext <<_ACEOF
19050 /* end confdefs.h. */
19051 $ac_includes_default
19052 typedef int ac__type_sizeof_;
19053 int
19054 main ()
19055 {
19056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19057 test_array [0] = 0
19058
19059 ;
19060 return 0;
19061 }
19062 _ACEOF
19063 rm -f conftest.$ac_objext
19064 if { (ac_try="$ac_compile"
19065 case "(($ac_try" in
19066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 *) ac_try_echo=$ac_try;;
19068 esac
19069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19070 (eval "$ac_compile") 2>conftest.er1
19071 ac_status=$?
19072 grep -v '^ *+' conftest.er1 >conftest.err
19073 rm -f conftest.er1
19074 cat conftest.err >&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } && {
19077 test -z "$ac_c_werror_flag" ||
19078 test ! -s conftest.err
19079 } && test -s conftest.$ac_objext; then
19080 ac_lo=0 ac_mid=0
19081 while :; do
19082 cat >conftest.$ac_ext <<_ACEOF
19083 /* confdefs.h. */
19084 _ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 $ac_includes_default
19089 typedef int ac__type_sizeof_;
19090 int
19091 main ()
19092 {
19093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19094 test_array [0] = 0
19095
19096 ;
19097 return 0;
19098 }
19099 _ACEOF
19100 rm -f conftest.$ac_objext
19101 if { (ac_try="$ac_compile"
19102 case "(($ac_try" in
19103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19104 *) ac_try_echo=$ac_try;;
19105 esac
19106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19107 (eval "$ac_compile") 2>conftest.er1
19108 ac_status=$?
19109 grep -v '^ *+' conftest.er1 >conftest.err
19110 rm -f conftest.er1
19111 cat conftest.err >&5
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); } && {
19114 test -z "$ac_c_werror_flag" ||
19115 test ! -s conftest.err
19116 } && test -s conftest.$ac_objext; then
19117 ac_hi=$ac_mid; break
19118 else
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19121
19122 ac_lo=`expr $ac_mid + 1`
19123 if test $ac_lo -le $ac_mid; then
19124 ac_lo= ac_hi=
19125 break
19126 fi
19127 ac_mid=`expr 2 '*' $ac_mid + 1`
19128 fi
19129
19130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19131 done
19132 else
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19135
19136 cat >conftest.$ac_ext <<_ACEOF
19137 /* confdefs.h. */
19138 _ACEOF
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h. */
19142 $ac_includes_default
19143 typedef int ac__type_sizeof_;
19144 int
19145 main ()
19146 {
19147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19148 test_array [0] = 0
19149
19150 ;
19151 return 0;
19152 }
19153 _ACEOF
19154 rm -f conftest.$ac_objext
19155 if { (ac_try="$ac_compile"
19156 case "(($ac_try" in
19157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158 *) ac_try_echo=$ac_try;;
19159 esac
19160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19161 (eval "$ac_compile") 2>conftest.er1
19162 ac_status=$?
19163 grep -v '^ *+' conftest.er1 >conftest.err
19164 rm -f conftest.er1
19165 cat conftest.err >&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); } && {
19168 test -z "$ac_c_werror_flag" ||
19169 test ! -s conftest.err
19170 } && test -s conftest.$ac_objext; then
19171 ac_hi=-1 ac_mid=-1
19172 while :; do
19173 cat >conftest.$ac_ext <<_ACEOF
19174 /* confdefs.h. */
19175 _ACEOF
19176 cat confdefs.h >>conftest.$ac_ext
19177 cat >>conftest.$ac_ext <<_ACEOF
19178 /* end confdefs.h. */
19179 $ac_includes_default
19180 typedef int ac__type_sizeof_;
19181 int
19182 main ()
19183 {
19184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19185 test_array [0] = 0
19186
19187 ;
19188 return 0;
19189 }
19190 _ACEOF
19191 rm -f conftest.$ac_objext
19192 if { (ac_try="$ac_compile"
19193 case "(($ac_try" in
19194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19195 *) ac_try_echo=$ac_try;;
19196 esac
19197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19198 (eval "$ac_compile") 2>conftest.er1
19199 ac_status=$?
19200 grep -v '^ *+' conftest.er1 >conftest.err
19201 rm -f conftest.er1
19202 cat conftest.err >&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); } && {
19205 test -z "$ac_c_werror_flag" ||
19206 test ! -s conftest.err
19207 } && test -s conftest.$ac_objext; then
19208 ac_lo=$ac_mid; break
19209 else
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.$ac_ext >&5
19212
19213 ac_hi=`expr '(' $ac_mid ')' - 1`
19214 if test $ac_mid -le $ac_hi; then
19215 ac_lo= ac_hi=
19216 break
19217 fi
19218 ac_mid=`expr 2 '*' $ac_mid`
19219 fi
19220
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19222 done
19223 else
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19226
19227 ac_lo= ac_hi=
19228 fi
19229
19230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19231 fi
19232
19233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19234 # Binary search between lo and hi bounds.
19235 while test "x$ac_lo" != "x$ac_hi"; do
19236 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 $ac_includes_default
19244 typedef int ac__type_sizeof_;
19245 int
19246 main ()
19247 {
19248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19249 test_array [0] = 0
19250
19251 ;
19252 return 0;
19253 }
19254 _ACEOF
19255 rm -f conftest.$ac_objext
19256 if { (ac_try="$ac_compile"
19257 case "(($ac_try" in
19258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19259 *) ac_try_echo=$ac_try;;
19260 esac
19261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19262 (eval "$ac_compile") 2>conftest.er1
19263 ac_status=$?
19264 grep -v '^ *+' conftest.er1 >conftest.err
19265 rm -f conftest.er1
19266 cat conftest.err >&5
19267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19268 (exit $ac_status); } && {
19269 test -z "$ac_c_werror_flag" ||
19270 test ! -s conftest.err
19271 } && test -s conftest.$ac_objext; then
19272 ac_hi=$ac_mid
19273 else
19274 echo "$as_me: failed program was:" >&5
19275 sed 's/^/| /' conftest.$ac_ext >&5
19276
19277 ac_lo=`expr '(' $ac_mid ')' + 1`
19278 fi
19279
19280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281 done
19282 case $ac_lo in
19283 ?*) ac_cv_sizeof_int=$ac_lo;;
19284 '') if test "$ac_cv_type_int" = yes; then
19285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19286 See \`config.log' for more details." >&5
19287 echo "$as_me: error: cannot compute sizeof (int)
19288 See \`config.log' for more details." >&2;}
19289 { (exit 77); exit 77; }; }
19290 else
19291 ac_cv_sizeof_int=0
19292 fi ;;
19293 esac
19294 else
19295 cat >conftest.$ac_ext <<_ACEOF
19296 /* confdefs.h. */
19297 _ACEOF
19298 cat confdefs.h >>conftest.$ac_ext
19299 cat >>conftest.$ac_ext <<_ACEOF
19300 /* end confdefs.h. */
19301 $ac_includes_default
19302 typedef int ac__type_sizeof_;
19303 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19304 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19305 #include <stdio.h>
19306 #include <stdlib.h>
19307 int
19308 main ()
19309 {
19310
19311 FILE *f = fopen ("conftest.val", "w");
19312 if (! f)
19313 return 1;
19314 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19315 {
19316 long int i = longval ();
19317 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19318 return 1;
19319 fprintf (f, "%ld\n", i);
19320 }
19321 else
19322 {
19323 unsigned long int i = ulongval ();
19324 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19325 return 1;
19326 fprintf (f, "%lu\n", i);
19327 }
19328 return ferror (f) || fclose (f) != 0;
19329
19330 ;
19331 return 0;
19332 }
19333 _ACEOF
19334 rm -f conftest$ac_exeext
19335 if { (ac_try="$ac_link"
19336 case "(($ac_try" in
19337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19338 *) ac_try_echo=$ac_try;;
19339 esac
19340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19341 (eval "$ac_link") 2>&5
19342 ac_status=$?
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19345 { (case "(($ac_try" in
19346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19347 *) ac_try_echo=$ac_try;;
19348 esac
19349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19350 (eval "$ac_try") 2>&5
19351 ac_status=$?
19352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353 (exit $ac_status); }; }; then
19354 ac_cv_sizeof_int=`cat conftest.val`
19355 else
19356 echo "$as_me: program exited with status $ac_status" >&5
19357 echo "$as_me: failed program was:" >&5
19358 sed 's/^/| /' conftest.$ac_ext >&5
19359
19360 ( exit $ac_status )
19361 if test "$ac_cv_type_int" = yes; then
19362 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19363 See \`config.log' for more details." >&5
19364 echo "$as_me: error: cannot compute sizeof (int)
19365 See \`config.log' for more details." >&2;}
19366 { (exit 77); exit 77; }; }
19367 else
19368 ac_cv_sizeof_int=0
19369 fi
19370 fi
19371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19372 fi
19373 rm -f conftest.val
19374 fi
19375 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19376 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19377
19378
19379
19380 cat >>confdefs.h <<_ACEOF
19381 #define SIZEOF_INT $ac_cv_sizeof_int
19382 _ACEOF
19383
19384
19385 { echo "$as_me:$LINENO: checking for long" >&5
19386 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19387 if test "${ac_cv_type_long+set}" = set; then
19388 echo $ECHO_N "(cached) $ECHO_C" >&6
19389 else
19390 cat >conftest.$ac_ext <<_ACEOF
19391 /* confdefs.h. */
19392 _ACEOF
19393 cat confdefs.h >>conftest.$ac_ext
19394 cat >>conftest.$ac_ext <<_ACEOF
19395 /* end confdefs.h. */
19396 $ac_includes_default
19397 typedef long ac__type_new_;
19398 int
19399 main ()
19400 {
19401 if ((ac__type_new_ *) 0)
19402 return 0;
19403 if (sizeof (ac__type_new_))
19404 return 0;
19405 ;
19406 return 0;
19407 }
19408 _ACEOF
19409 rm -f conftest.$ac_objext
19410 if { (ac_try="$ac_compile"
19411 case "(($ac_try" in
19412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19413 *) ac_try_echo=$ac_try;;
19414 esac
19415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19416 (eval "$ac_compile") 2>conftest.er1
19417 ac_status=$?
19418 grep -v '^ *+' conftest.er1 >conftest.err
19419 rm -f conftest.er1
19420 cat conftest.err >&5
19421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19422 (exit $ac_status); } && {
19423 test -z "$ac_c_werror_flag" ||
19424 test ! -s conftest.err
19425 } && test -s conftest.$ac_objext; then
19426 ac_cv_type_long=yes
19427 else
19428 echo "$as_me: failed program was:" >&5
19429 sed 's/^/| /' conftest.$ac_ext >&5
19430
19431 ac_cv_type_long=no
19432 fi
19433
19434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19435 fi
19436 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19437 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19438
19439 # The cast to long int works around a bug in the HP C Compiler
19440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19442 # This bug is HP SR number 8606223364.
19443 { echo "$as_me:$LINENO: checking size of long" >&5
19444 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19445 if test "${ac_cv_sizeof_long+set}" = set; then
19446 echo $ECHO_N "(cached) $ECHO_C" >&6
19447 else
19448 if test "$cross_compiling" = yes; then
19449 # Depending upon the size, compute the lo and hi bounds.
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h. */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 $ac_includes_default
19457 typedef long ac__type_sizeof_;
19458 int
19459 main ()
19460 {
19461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19462 test_array [0] = 0
19463
19464 ;
19465 return 0;
19466 }
19467 _ACEOF
19468 rm -f conftest.$ac_objext
19469 if { (ac_try="$ac_compile"
19470 case "(($ac_try" in
19471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19472 *) ac_try_echo=$ac_try;;
19473 esac
19474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19475 (eval "$ac_compile") 2>conftest.er1
19476 ac_status=$?
19477 grep -v '^ *+' conftest.er1 >conftest.err
19478 rm -f conftest.er1
19479 cat conftest.err >&5
19480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19481 (exit $ac_status); } && {
19482 test -z "$ac_c_werror_flag" ||
19483 test ! -s conftest.err
19484 } && test -s conftest.$ac_objext; then
19485 ac_lo=0 ac_mid=0
19486 while :; do
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19494 typedef long ac__type_sizeof_;
19495 int
19496 main ()
19497 {
19498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19499 test_array [0] = 0
19500
19501 ;
19502 return 0;
19503 }
19504 _ACEOF
19505 rm -f conftest.$ac_objext
19506 if { (ac_try="$ac_compile"
19507 case "(($ac_try" in
19508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19509 *) ac_try_echo=$ac_try;;
19510 esac
19511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19512 (eval "$ac_compile") 2>conftest.er1
19513 ac_status=$?
19514 grep -v '^ *+' conftest.er1 >conftest.err
19515 rm -f conftest.er1
19516 cat conftest.err >&5
19517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518 (exit $ac_status); } && {
19519 test -z "$ac_c_werror_flag" ||
19520 test ! -s conftest.err
19521 } && test -s conftest.$ac_objext; then
19522 ac_hi=$ac_mid; break
19523 else
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19526
19527 ac_lo=`expr $ac_mid + 1`
19528 if test $ac_lo -le $ac_mid; then
19529 ac_lo= ac_hi=
19530 break
19531 fi
19532 ac_mid=`expr 2 '*' $ac_mid + 1`
19533 fi
19534
19535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19536 done
19537 else
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19540
19541 cat >conftest.$ac_ext <<_ACEOF
19542 /* confdefs.h. */
19543 _ACEOF
19544 cat confdefs.h >>conftest.$ac_ext
19545 cat >>conftest.$ac_ext <<_ACEOF
19546 /* end confdefs.h. */
19547 $ac_includes_default
19548 typedef long ac__type_sizeof_;
19549 int
19550 main ()
19551 {
19552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19553 test_array [0] = 0
19554
19555 ;
19556 return 0;
19557 }
19558 _ACEOF
19559 rm -f conftest.$ac_objext
19560 if { (ac_try="$ac_compile"
19561 case "(($ac_try" in
19562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19563 *) ac_try_echo=$ac_try;;
19564 esac
19565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19566 (eval "$ac_compile") 2>conftest.er1
19567 ac_status=$?
19568 grep -v '^ *+' conftest.er1 >conftest.err
19569 rm -f conftest.er1
19570 cat conftest.err >&5
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); } && {
19573 test -z "$ac_c_werror_flag" ||
19574 test ! -s conftest.err
19575 } && test -s conftest.$ac_objext; then
19576 ac_hi=-1 ac_mid=-1
19577 while :; do
19578 cat >conftest.$ac_ext <<_ACEOF
19579 /* confdefs.h. */
19580 _ACEOF
19581 cat confdefs.h >>conftest.$ac_ext
19582 cat >>conftest.$ac_ext <<_ACEOF
19583 /* end confdefs.h. */
19584 $ac_includes_default
19585 typedef long ac__type_sizeof_;
19586 int
19587 main ()
19588 {
19589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19590 test_array [0] = 0
19591
19592 ;
19593 return 0;
19594 }
19595 _ACEOF
19596 rm -f conftest.$ac_objext
19597 if { (ac_try="$ac_compile"
19598 case "(($ac_try" in
19599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19600 *) ac_try_echo=$ac_try;;
19601 esac
19602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19603 (eval "$ac_compile") 2>conftest.er1
19604 ac_status=$?
19605 grep -v '^ *+' conftest.er1 >conftest.err
19606 rm -f conftest.er1
19607 cat conftest.err >&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); } && {
19610 test -z "$ac_c_werror_flag" ||
19611 test ! -s conftest.err
19612 } && test -s conftest.$ac_objext; then
19613 ac_lo=$ac_mid; break
19614 else
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19617
19618 ac_hi=`expr '(' $ac_mid ')' - 1`
19619 if test $ac_mid -le $ac_hi; then
19620 ac_lo= ac_hi=
19621 break
19622 fi
19623 ac_mid=`expr 2 '*' $ac_mid`
19624 fi
19625
19626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19627 done
19628 else
19629 echo "$as_me: failed program was:" >&5
19630 sed 's/^/| /' conftest.$ac_ext >&5
19631
19632 ac_lo= ac_hi=
19633 fi
19634
19635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19636 fi
19637
19638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19639 # Binary search between lo and hi bounds.
19640 while test "x$ac_lo" != "x$ac_hi"; do
19641 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 $ac_includes_default
19649 typedef long ac__type_sizeof_;
19650 int
19651 main ()
19652 {
19653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19654 test_array [0] = 0
19655
19656 ;
19657 return 0;
19658 }
19659 _ACEOF
19660 rm -f conftest.$ac_objext
19661 if { (ac_try="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19665 esac
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19668 ac_status=$?
19669 grep -v '^ *+' conftest.er1 >conftest.err
19670 rm -f conftest.er1
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_c_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19677 ac_hi=$ac_mid
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 ac_lo=`expr '(' $ac_mid ')' + 1`
19683 fi
19684
19685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19686 done
19687 case $ac_lo in
19688 ?*) ac_cv_sizeof_long=$ac_lo;;
19689 '') if test "$ac_cv_type_long" = yes; then
19690 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19691 See \`config.log' for more details." >&5
19692 echo "$as_me: error: cannot compute sizeof (long)
19693 See \`config.log' for more details." >&2;}
19694 { (exit 77); exit 77; }; }
19695 else
19696 ac_cv_sizeof_long=0
19697 fi ;;
19698 esac
19699 else
19700 cat >conftest.$ac_ext <<_ACEOF
19701 /* confdefs.h. */
19702 _ACEOF
19703 cat confdefs.h >>conftest.$ac_ext
19704 cat >>conftest.$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 $ac_includes_default
19707 typedef long ac__type_sizeof_;
19708 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19709 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19710 #include <stdio.h>
19711 #include <stdlib.h>
19712 int
19713 main ()
19714 {
19715
19716 FILE *f = fopen ("conftest.val", "w");
19717 if (! f)
19718 return 1;
19719 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19720 {
19721 long int i = longval ();
19722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19723 return 1;
19724 fprintf (f, "%ld\n", i);
19725 }
19726 else
19727 {
19728 unsigned long int i = ulongval ();
19729 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19730 return 1;
19731 fprintf (f, "%lu\n", i);
19732 }
19733 return ferror (f) || fclose (f) != 0;
19734
19735 ;
19736 return 0;
19737 }
19738 _ACEOF
19739 rm -f conftest$ac_exeext
19740 if { (ac_try="$ac_link"
19741 case "(($ac_try" in
19742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19743 *) ac_try_echo=$ac_try;;
19744 esac
19745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19746 (eval "$ac_link") 2>&5
19747 ac_status=$?
19748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19750 { (case "(($ac_try" in
19751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19752 *) ac_try_echo=$ac_try;;
19753 esac
19754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19755 (eval "$ac_try") 2>&5
19756 ac_status=$?
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); }; }; then
19759 ac_cv_sizeof_long=`cat conftest.val`
19760 else
19761 echo "$as_me: program exited with status $ac_status" >&5
19762 echo "$as_me: failed program was:" >&5
19763 sed 's/^/| /' conftest.$ac_ext >&5
19764
19765 ( exit $ac_status )
19766 if test "$ac_cv_type_long" = yes; then
19767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19768 See \`config.log' for more details." >&5
19769 echo "$as_me: error: cannot compute sizeof (long)
19770 See \`config.log' for more details." >&2;}
19771 { (exit 77); exit 77; }; }
19772 else
19773 ac_cv_sizeof_long=0
19774 fi
19775 fi
19776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19777 fi
19778 rm -f conftest.val
19779 fi
19780 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19781 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19782
19783
19784
19785 cat >>confdefs.h <<_ACEOF
19786 #define SIZEOF_LONG $ac_cv_sizeof_long
19787 _ACEOF
19788
19789
19790 { echo "$as_me:$LINENO: checking for size_t" >&5
19791 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19792 if test "${ac_cv_type_size_t+set}" = set; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 else
19795 cat >conftest.$ac_ext <<_ACEOF
19796 /* confdefs.h. */
19797 _ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 $ac_includes_default
19802 typedef size_t ac__type_new_;
19803 int
19804 main ()
19805 {
19806 if ((ac__type_new_ *) 0)
19807 return 0;
19808 if (sizeof (ac__type_new_))
19809 return 0;
19810 ;
19811 return 0;
19812 }
19813 _ACEOF
19814 rm -f conftest.$ac_objext
19815 if { (ac_try="$ac_compile"
19816 case "(($ac_try" in
19817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19818 *) ac_try_echo=$ac_try;;
19819 esac
19820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19821 (eval "$ac_compile") 2>conftest.er1
19822 ac_status=$?
19823 grep -v '^ *+' conftest.er1 >conftest.err
19824 rm -f conftest.er1
19825 cat conftest.err >&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); } && {
19828 test -z "$ac_c_werror_flag" ||
19829 test ! -s conftest.err
19830 } && test -s conftest.$ac_objext; then
19831 ac_cv_type_size_t=yes
19832 else
19833 echo "$as_me: failed program was:" >&5
19834 sed 's/^/| /' conftest.$ac_ext >&5
19835
19836 ac_cv_type_size_t=no
19837 fi
19838
19839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19840 fi
19841 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19842 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19843
19844 # The cast to long int works around a bug in the HP C Compiler
19845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19847 # This bug is HP SR number 8606223364.
19848 { echo "$as_me:$LINENO: checking size of size_t" >&5
19849 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19850 if test "${ac_cv_sizeof_size_t+set}" = set; then
19851 echo $ECHO_N "(cached) $ECHO_C" >&6
19852 else
19853 if test "$cross_compiling" = yes; then
19854 # Depending upon the size, compute the lo and hi bounds.
19855 cat >conftest.$ac_ext <<_ACEOF
19856 /* confdefs.h. */
19857 _ACEOF
19858 cat confdefs.h >>conftest.$ac_ext
19859 cat >>conftest.$ac_ext <<_ACEOF
19860 /* end confdefs.h. */
19861 $ac_includes_default
19862 typedef size_t ac__type_sizeof_;
19863 int
19864 main ()
19865 {
19866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19867 test_array [0] = 0
19868
19869 ;
19870 return 0;
19871 }
19872 _ACEOF
19873 rm -f conftest.$ac_objext
19874 if { (ac_try="$ac_compile"
19875 case "(($ac_try" in
19876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19877 *) ac_try_echo=$ac_try;;
19878 esac
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_compile") 2>conftest.er1
19881 ac_status=$?
19882 grep -v '^ *+' conftest.er1 >conftest.err
19883 rm -f conftest.er1
19884 cat conftest.err >&5
19885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19886 (exit $ac_status); } && {
19887 test -z "$ac_c_werror_flag" ||
19888 test ! -s conftest.err
19889 } && test -s conftest.$ac_objext; then
19890 ac_lo=0 ac_mid=0
19891 while :; do
19892 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 $ac_includes_default
19899 typedef size_t ac__type_sizeof_;
19900 int
19901 main ()
19902 {
19903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19904 test_array [0] = 0
19905
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest.$ac_objext
19911 if { (ac_try="$ac_compile"
19912 case "(($ac_try" in
19913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19914 *) ac_try_echo=$ac_try;;
19915 esac
19916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19917 (eval "$ac_compile") 2>conftest.er1
19918 ac_status=$?
19919 grep -v '^ *+' conftest.er1 >conftest.err
19920 rm -f conftest.er1
19921 cat conftest.err >&5
19922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19923 (exit $ac_status); } && {
19924 test -z "$ac_c_werror_flag" ||
19925 test ! -s conftest.err
19926 } && test -s conftest.$ac_objext; then
19927 ac_hi=$ac_mid; break
19928 else
19929 echo "$as_me: failed program was:" >&5
19930 sed 's/^/| /' conftest.$ac_ext >&5
19931
19932 ac_lo=`expr $ac_mid + 1`
19933 if test $ac_lo -le $ac_mid; then
19934 ac_lo= ac_hi=
19935 break
19936 fi
19937 ac_mid=`expr 2 '*' $ac_mid + 1`
19938 fi
19939
19940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19941 done
19942 else
19943 echo "$as_me: failed program was:" >&5
19944 sed 's/^/| /' conftest.$ac_ext >&5
19945
19946 cat >conftest.$ac_ext <<_ACEOF
19947 /* confdefs.h. */
19948 _ACEOF
19949 cat confdefs.h >>conftest.$ac_ext
19950 cat >>conftest.$ac_ext <<_ACEOF
19951 /* end confdefs.h. */
19952 $ac_includes_default
19953 typedef size_t ac__type_sizeof_;
19954 int
19955 main ()
19956 {
19957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19958 test_array [0] = 0
19959
19960 ;
19961 return 0;
19962 }
19963 _ACEOF
19964 rm -f conftest.$ac_objext
19965 if { (ac_try="$ac_compile"
19966 case "(($ac_try" in
19967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19968 *) ac_try_echo=$ac_try;;
19969 esac
19970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19971 (eval "$ac_compile") 2>conftest.er1
19972 ac_status=$?
19973 grep -v '^ *+' conftest.er1 >conftest.err
19974 rm -f conftest.er1
19975 cat conftest.err >&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); } && {
19978 test -z "$ac_c_werror_flag" ||
19979 test ! -s conftest.err
19980 } && test -s conftest.$ac_objext; then
19981 ac_hi=-1 ac_mid=-1
19982 while :; do
19983 cat >conftest.$ac_ext <<_ACEOF
19984 /* confdefs.h. */
19985 _ACEOF
19986 cat confdefs.h >>conftest.$ac_ext
19987 cat >>conftest.$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19989 $ac_includes_default
19990 typedef size_t ac__type_sizeof_;
19991 int
19992 main ()
19993 {
19994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19995 test_array [0] = 0
19996
19997 ;
19998 return 0;
19999 }
20000 _ACEOF
20001 rm -f conftest.$ac_objext
20002 if { (ac_try="$ac_compile"
20003 case "(($ac_try" in
20004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20005 *) ac_try_echo=$ac_try;;
20006 esac
20007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20008 (eval "$ac_compile") 2>conftest.er1
20009 ac_status=$?
20010 grep -v '^ *+' conftest.er1 >conftest.err
20011 rm -f conftest.er1
20012 cat conftest.err >&5
20013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20014 (exit $ac_status); } && {
20015 test -z "$ac_c_werror_flag" ||
20016 test ! -s conftest.err
20017 } && test -s conftest.$ac_objext; then
20018 ac_lo=$ac_mid; break
20019 else
20020 echo "$as_me: failed program was:" >&5
20021 sed 's/^/| /' conftest.$ac_ext >&5
20022
20023 ac_hi=`expr '(' $ac_mid ')' - 1`
20024 if test $ac_mid -le $ac_hi; then
20025 ac_lo= ac_hi=
20026 break
20027 fi
20028 ac_mid=`expr 2 '*' $ac_mid`
20029 fi
20030
20031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20032 done
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20036
20037 ac_lo= ac_hi=
20038 fi
20039
20040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20041 fi
20042
20043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20044 # Binary search between lo and hi bounds.
20045 while test "x$ac_lo" != "x$ac_hi"; do
20046 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20047 cat >conftest.$ac_ext <<_ACEOF
20048 /* confdefs.h. */
20049 _ACEOF
20050 cat confdefs.h >>conftest.$ac_ext
20051 cat >>conftest.$ac_ext <<_ACEOF
20052 /* end confdefs.h. */
20053 $ac_includes_default
20054 typedef size_t ac__type_sizeof_;
20055 int
20056 main ()
20057 {
20058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20059 test_array [0] = 0
20060
20061 ;
20062 return 0;
20063 }
20064 _ACEOF
20065 rm -f conftest.$ac_objext
20066 if { (ac_try="$ac_compile"
20067 case "(($ac_try" in
20068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20069 *) ac_try_echo=$ac_try;;
20070 esac
20071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20072 (eval "$ac_compile") 2>conftest.er1
20073 ac_status=$?
20074 grep -v '^ *+' conftest.er1 >conftest.err
20075 rm -f conftest.er1
20076 cat conftest.err >&5
20077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20078 (exit $ac_status); } && {
20079 test -z "$ac_c_werror_flag" ||
20080 test ! -s conftest.err
20081 } && test -s conftest.$ac_objext; then
20082 ac_hi=$ac_mid
20083 else
20084 echo "$as_me: failed program was:" >&5
20085 sed 's/^/| /' conftest.$ac_ext >&5
20086
20087 ac_lo=`expr '(' $ac_mid ')' + 1`
20088 fi
20089
20090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20091 done
20092 case $ac_lo in
20093 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20094 '') if test "$ac_cv_type_size_t" = yes; then
20095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20096 See \`config.log' for more details." >&5
20097 echo "$as_me: error: cannot compute sizeof (size_t)
20098 See \`config.log' for more details." >&2;}
20099 { (exit 77); exit 77; }; }
20100 else
20101 ac_cv_sizeof_size_t=0
20102 fi ;;
20103 esac
20104 else
20105 cat >conftest.$ac_ext <<_ACEOF
20106 /* confdefs.h. */
20107 _ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20111 $ac_includes_default
20112 typedef size_t ac__type_sizeof_;
20113 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20114 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20115 #include <stdio.h>
20116 #include <stdlib.h>
20117 int
20118 main ()
20119 {
20120
20121 FILE *f = fopen ("conftest.val", "w");
20122 if (! f)
20123 return 1;
20124 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20125 {
20126 long int i = longval ();
20127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20128 return 1;
20129 fprintf (f, "%ld\n", i);
20130 }
20131 else
20132 {
20133 unsigned long int i = ulongval ();
20134 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20135 return 1;
20136 fprintf (f, "%lu\n", i);
20137 }
20138 return ferror (f) || fclose (f) != 0;
20139
20140 ;
20141 return 0;
20142 }
20143 _ACEOF
20144 rm -f conftest$ac_exeext
20145 if { (ac_try="$ac_link"
20146 case "(($ac_try" in
20147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20148 *) ac_try_echo=$ac_try;;
20149 esac
20150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20151 (eval "$ac_link") 2>&5
20152 ac_status=$?
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20155 { (case "(($ac_try" in
20156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20157 *) ac_try_echo=$ac_try;;
20158 esac
20159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20160 (eval "$ac_try") 2>&5
20161 ac_status=$?
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_sizeof_size_t=`cat conftest.val`
20165 else
20166 echo "$as_me: program exited with status $ac_status" >&5
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20169
20170 ( exit $ac_status )
20171 if test "$ac_cv_type_size_t" = yes; then
20172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20173 See \`config.log' for more details." >&5
20174 echo "$as_me: error: cannot compute sizeof (size_t)
20175 See \`config.log' for more details." >&2;}
20176 { (exit 77); exit 77; }; }
20177 else
20178 ac_cv_sizeof_size_t=0
20179 fi
20180 fi
20181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20182 fi
20183 rm -f conftest.val
20184 fi
20185 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20186 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20187
20188
20189
20190 cat >>confdefs.h <<_ACEOF
20191 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20192 _ACEOF
20193
20194
20195
20196 case "${host}" in
20197 arm-*-linux* )
20198 { echo "$as_me:$LINENO: checking for long long" >&5
20199 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20200 if test "${ac_cv_type_long_long+set}" = set; then
20201 echo $ECHO_N "(cached) $ECHO_C" >&6
20202 else
20203 cat >conftest.$ac_ext <<_ACEOF
20204 /* confdefs.h. */
20205 _ACEOF
20206 cat confdefs.h >>conftest.$ac_ext
20207 cat >>conftest.$ac_ext <<_ACEOF
20208 /* end confdefs.h. */
20209 $ac_includes_default
20210 typedef long long ac__type_new_;
20211 int
20212 main ()
20213 {
20214 if ((ac__type_new_ *) 0)
20215 return 0;
20216 if (sizeof (ac__type_new_))
20217 return 0;
20218 ;
20219 return 0;
20220 }
20221 _ACEOF
20222 rm -f conftest.$ac_objext
20223 if { (ac_try="$ac_compile"
20224 case "(($ac_try" in
20225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20226 *) ac_try_echo=$ac_try;;
20227 esac
20228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20229 (eval "$ac_compile") 2>conftest.er1
20230 ac_status=$?
20231 grep -v '^ *+' conftest.er1 >conftest.err
20232 rm -f conftest.er1
20233 cat conftest.err >&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); } && {
20236 test -z "$ac_c_werror_flag" ||
20237 test ! -s conftest.err
20238 } && test -s conftest.$ac_objext; then
20239 ac_cv_type_long_long=yes
20240 else
20241 echo "$as_me: failed program was:" >&5
20242 sed 's/^/| /' conftest.$ac_ext >&5
20243
20244 ac_cv_type_long_long=no
20245 fi
20246
20247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20248 fi
20249 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20250 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20251
20252 # The cast to long int works around a bug in the HP C Compiler
20253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20255 # This bug is HP SR number 8606223364.
20256 { echo "$as_me:$LINENO: checking size of long long" >&5
20257 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20258 if test "${ac_cv_sizeof_long_long+set}" = set; then
20259 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 else
20261 if test "$cross_compiling" = yes; then
20262 # Depending upon the size, compute the lo and hi bounds.
20263 cat >conftest.$ac_ext <<_ACEOF
20264 /* confdefs.h. */
20265 _ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h. */
20269 $ac_includes_default
20270 typedef long long ac__type_sizeof_;
20271 int
20272 main ()
20273 {
20274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20275 test_array [0] = 0
20276
20277 ;
20278 return 0;
20279 }
20280 _ACEOF
20281 rm -f conftest.$ac_objext
20282 if { (ac_try="$ac_compile"
20283 case "(($ac_try" in
20284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20285 *) ac_try_echo=$ac_try;;
20286 esac
20287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20288 (eval "$ac_compile") 2>conftest.er1
20289 ac_status=$?
20290 grep -v '^ *+' conftest.er1 >conftest.err
20291 rm -f conftest.er1
20292 cat conftest.err >&5
20293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294 (exit $ac_status); } && {
20295 test -z "$ac_c_werror_flag" ||
20296 test ! -s conftest.err
20297 } && test -s conftest.$ac_objext; then
20298 ac_lo=0 ac_mid=0
20299 while :; do
20300 cat >conftest.$ac_ext <<_ACEOF
20301 /* confdefs.h. */
20302 _ACEOF
20303 cat confdefs.h >>conftest.$ac_ext
20304 cat >>conftest.$ac_ext <<_ACEOF
20305 /* end confdefs.h. */
20306 $ac_includes_default
20307 typedef long long ac__type_sizeof_;
20308 int
20309 main ()
20310 {
20311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20312 test_array [0] = 0
20313
20314 ;
20315 return 0;
20316 }
20317 _ACEOF
20318 rm -f conftest.$ac_objext
20319 if { (ac_try="$ac_compile"
20320 case "(($ac_try" in
20321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20322 *) ac_try_echo=$ac_try;;
20323 esac
20324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20325 (eval "$ac_compile") 2>conftest.er1
20326 ac_status=$?
20327 grep -v '^ *+' conftest.er1 >conftest.err
20328 rm -f conftest.er1
20329 cat conftest.err >&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); } && {
20332 test -z "$ac_c_werror_flag" ||
20333 test ! -s conftest.err
20334 } && test -s conftest.$ac_objext; then
20335 ac_hi=$ac_mid; break
20336 else
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20339
20340 ac_lo=`expr $ac_mid + 1`
20341 if test $ac_lo -le $ac_mid; then
20342 ac_lo= ac_hi=
20343 break
20344 fi
20345 ac_mid=`expr 2 '*' $ac_mid + 1`
20346 fi
20347
20348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20349 done
20350 else
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20353
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 $ac_includes_default
20361 typedef long long ac__type_sizeof_;
20362 int
20363 main ()
20364 {
20365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20366 test_array [0] = 0
20367
20368 ;
20369 return 0;
20370 }
20371 _ACEOF
20372 rm -f conftest.$ac_objext
20373 if { (ac_try="$ac_compile"
20374 case "(($ac_try" in
20375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20376 *) ac_try_echo=$ac_try;;
20377 esac
20378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20379 (eval "$ac_compile") 2>conftest.er1
20380 ac_status=$?
20381 grep -v '^ *+' conftest.er1 >conftest.err
20382 rm -f conftest.er1
20383 cat conftest.err >&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } && {
20386 test -z "$ac_c_werror_flag" ||
20387 test ! -s conftest.err
20388 } && test -s conftest.$ac_objext; then
20389 ac_hi=-1 ac_mid=-1
20390 while :; do
20391 cat >conftest.$ac_ext <<_ACEOF
20392 /* confdefs.h. */
20393 _ACEOF
20394 cat confdefs.h >>conftest.$ac_ext
20395 cat >>conftest.$ac_ext <<_ACEOF
20396 /* end confdefs.h. */
20397 $ac_includes_default
20398 typedef long long ac__type_sizeof_;
20399 int
20400 main ()
20401 {
20402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20403 test_array [0] = 0
20404
20405 ;
20406 return 0;
20407 }
20408 _ACEOF
20409 rm -f conftest.$ac_objext
20410 if { (ac_try="$ac_compile"
20411 case "(($ac_try" in
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20413 *) ac_try_echo=$ac_try;;
20414 esac
20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20416 (eval "$ac_compile") 2>conftest.er1
20417 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && {
20423 test -z "$ac_c_werror_flag" ||
20424 test ! -s conftest.err
20425 } && test -s conftest.$ac_objext; then
20426 ac_lo=$ac_mid; break
20427 else
20428 echo "$as_me: failed program was:" >&5
20429 sed 's/^/| /' conftest.$ac_ext >&5
20430
20431 ac_hi=`expr '(' $ac_mid ')' - 1`
20432 if test $ac_mid -le $ac_hi; then
20433 ac_lo= ac_hi=
20434 break
20435 fi
20436 ac_mid=`expr 2 '*' $ac_mid`
20437 fi
20438
20439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20440 done
20441 else
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.$ac_ext >&5
20444
20445 ac_lo= ac_hi=
20446 fi
20447
20448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20449 fi
20450
20451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20452 # Binary search between lo and hi bounds.
20453 while test "x$ac_lo" != "x$ac_hi"; do
20454 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20455 cat >conftest.$ac_ext <<_ACEOF
20456 /* confdefs.h. */
20457 _ACEOF
20458 cat confdefs.h >>conftest.$ac_ext
20459 cat >>conftest.$ac_ext <<_ACEOF
20460 /* end confdefs.h. */
20461 $ac_includes_default
20462 typedef long long ac__type_sizeof_;
20463 int
20464 main ()
20465 {
20466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20467 test_array [0] = 0
20468
20469 ;
20470 return 0;
20471 }
20472 _ACEOF
20473 rm -f conftest.$ac_objext
20474 if { (ac_try="$ac_compile"
20475 case "(($ac_try" in
20476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20477 *) ac_try_echo=$ac_try;;
20478 esac
20479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20480 (eval "$ac_compile") 2>conftest.er1
20481 ac_status=$?
20482 grep -v '^ *+' conftest.er1 >conftest.err
20483 rm -f conftest.er1
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } && {
20487 test -z "$ac_c_werror_flag" ||
20488 test ! -s conftest.err
20489 } && test -s conftest.$ac_objext; then
20490 ac_hi=$ac_mid
20491 else
20492 echo "$as_me: failed program was:" >&5
20493 sed 's/^/| /' conftest.$ac_ext >&5
20494
20495 ac_lo=`expr '(' $ac_mid ')' + 1`
20496 fi
20497
20498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20499 done
20500 case $ac_lo in
20501 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20502 '') if test "$ac_cv_type_long_long" = yes; then
20503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20504 See \`config.log' for more details." >&5
20505 echo "$as_me: error: cannot compute sizeof (long long)
20506 See \`config.log' for more details." >&2;}
20507 { (exit 77); exit 77; }; }
20508 else
20509 ac_cv_sizeof_long_long=0
20510 fi ;;
20511 esac
20512 else
20513 cat >conftest.$ac_ext <<_ACEOF
20514 /* confdefs.h. */
20515 _ACEOF
20516 cat confdefs.h >>conftest.$ac_ext
20517 cat >>conftest.$ac_ext <<_ACEOF
20518 /* end confdefs.h. */
20519 $ac_includes_default
20520 typedef long long ac__type_sizeof_;
20521 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20522 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20523 #include <stdio.h>
20524 #include <stdlib.h>
20525 int
20526 main ()
20527 {
20528
20529 FILE *f = fopen ("conftest.val", "w");
20530 if (! f)
20531 return 1;
20532 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20533 {
20534 long int i = longval ();
20535 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20536 return 1;
20537 fprintf (f, "%ld\n", i);
20538 }
20539 else
20540 {
20541 unsigned long int i = ulongval ();
20542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20543 return 1;
20544 fprintf (f, "%lu\n", i);
20545 }
20546 return ferror (f) || fclose (f) != 0;
20547
20548 ;
20549 return 0;
20550 }
20551 _ACEOF
20552 rm -f conftest$ac_exeext
20553 if { (ac_try="$ac_link"
20554 case "(($ac_try" in
20555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20556 *) ac_try_echo=$ac_try;;
20557 esac
20558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20559 (eval "$ac_link") 2>&5
20560 ac_status=$?
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20563 { (case "(($ac_try" in
20564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20565 *) ac_try_echo=$ac_try;;
20566 esac
20567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20568 (eval "$ac_try") 2>&5
20569 ac_status=$?
20570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20571 (exit $ac_status); }; }; then
20572 ac_cv_sizeof_long_long=`cat conftest.val`
20573 else
20574 echo "$as_me: program exited with status $ac_status" >&5
20575 echo "$as_me: failed program was:" >&5
20576 sed 's/^/| /' conftest.$ac_ext >&5
20577
20578 ( exit $ac_status )
20579 if test "$ac_cv_type_long_long" = yes; then
20580 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20581 See \`config.log' for more details." >&5
20582 echo "$as_me: error: cannot compute sizeof (long long)
20583 See \`config.log' for more details." >&2;}
20584 { (exit 77); exit 77; }; }
20585 else
20586 ac_cv_sizeof_long_long=0
20587 fi
20588 fi
20589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20590 fi
20591 rm -f conftest.val
20592 fi
20593 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20594 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20595
20596
20597
20598 cat >>confdefs.h <<_ACEOF
20599 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20600 _ACEOF
20601
20602
20603 ;;
20604 *-hp-hpux* )
20605 { echo "$as_me:$LINENO: checking for long long" >&5
20606 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20607 if test "${ac_cv_type_long_long+set}" = set; then
20608 echo $ECHO_N "(cached) $ECHO_C" >&6
20609 else
20610 cat >conftest.$ac_ext <<_ACEOF
20611 /* confdefs.h. */
20612 _ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20616 $ac_includes_default
20617 typedef long long ac__type_new_;
20618 int
20619 main ()
20620 {
20621 if ((ac__type_new_ *) 0)
20622 return 0;
20623 if (sizeof (ac__type_new_))
20624 return 0;
20625 ;
20626 return 0;
20627 }
20628 _ACEOF
20629 rm -f conftest.$ac_objext
20630 if { (ac_try="$ac_compile"
20631 case "(($ac_try" in
20632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20633 *) ac_try_echo=$ac_try;;
20634 esac
20635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20636 (eval "$ac_compile") 2>conftest.er1
20637 ac_status=$?
20638 grep -v '^ *+' conftest.er1 >conftest.err
20639 rm -f conftest.er1
20640 cat conftest.err >&5
20641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642 (exit $ac_status); } && {
20643 test -z "$ac_c_werror_flag" ||
20644 test ! -s conftest.err
20645 } && test -s conftest.$ac_objext; then
20646 ac_cv_type_long_long=yes
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20650
20651 ac_cv_type_long_long=no
20652 fi
20653
20654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20655 fi
20656 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20657 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20658
20659 # The cast to long int works around a bug in the HP C Compiler
20660 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20661 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20662 # This bug is HP SR number 8606223364.
20663 { echo "$as_me:$LINENO: checking size of long long" >&5
20664 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20665 if test "${ac_cv_sizeof_long_long+set}" = set; then
20666 echo $ECHO_N "(cached) $ECHO_C" >&6
20667 else
20668 if test "$cross_compiling" = yes; then
20669 # Depending upon the size, compute the lo and hi bounds.
20670 cat >conftest.$ac_ext <<_ACEOF
20671 /* confdefs.h. */
20672 _ACEOF
20673 cat confdefs.h >>conftest.$ac_ext
20674 cat >>conftest.$ac_ext <<_ACEOF
20675 /* end confdefs.h. */
20676 $ac_includes_default
20677 typedef long long ac__type_sizeof_;
20678 int
20679 main ()
20680 {
20681 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20682 test_array [0] = 0
20683
20684 ;
20685 return 0;
20686 }
20687 _ACEOF
20688 rm -f conftest.$ac_objext
20689 if { (ac_try="$ac_compile"
20690 case "(($ac_try" in
20691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20692 *) ac_try_echo=$ac_try;;
20693 esac
20694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695 (eval "$ac_compile") 2>conftest.er1
20696 ac_status=$?
20697 grep -v '^ *+' conftest.er1 >conftest.err
20698 rm -f conftest.er1
20699 cat conftest.err >&5
20700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20701 (exit $ac_status); } && {
20702 test -z "$ac_c_werror_flag" ||
20703 test ! -s conftest.err
20704 } && test -s conftest.$ac_objext; then
20705 ac_lo=0 ac_mid=0
20706 while :; do
20707 cat >conftest.$ac_ext <<_ACEOF
20708 /* confdefs.h. */
20709 _ACEOF
20710 cat confdefs.h >>conftest.$ac_ext
20711 cat >>conftest.$ac_ext <<_ACEOF
20712 /* end confdefs.h. */
20713 $ac_includes_default
20714 typedef long long ac__type_sizeof_;
20715 int
20716 main ()
20717 {
20718 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20719 test_array [0] = 0
20720
20721 ;
20722 return 0;
20723 }
20724 _ACEOF
20725 rm -f conftest.$ac_objext
20726 if { (ac_try="$ac_compile"
20727 case "(($ac_try" in
20728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20729 *) ac_try_echo=$ac_try;;
20730 esac
20731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20732 (eval "$ac_compile") 2>conftest.er1
20733 ac_status=$?
20734 grep -v '^ *+' conftest.er1 >conftest.err
20735 rm -f conftest.er1
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } && {
20739 test -z "$ac_c_werror_flag" ||
20740 test ! -s conftest.err
20741 } && test -s conftest.$ac_objext; then
20742 ac_hi=$ac_mid; break
20743 else
20744 echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20746
20747 ac_lo=`expr $ac_mid + 1`
20748 if test $ac_lo -le $ac_mid; then
20749 ac_lo= ac_hi=
20750 break
20751 fi
20752 ac_mid=`expr 2 '*' $ac_mid + 1`
20753 fi
20754
20755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20756 done
20757 else
20758 echo "$as_me: failed program was:" >&5
20759 sed 's/^/| /' conftest.$ac_ext >&5
20760
20761 cat >conftest.$ac_ext <<_ACEOF
20762 /* confdefs.h. */
20763 _ACEOF
20764 cat confdefs.h >>conftest.$ac_ext
20765 cat >>conftest.$ac_ext <<_ACEOF
20766 /* end confdefs.h. */
20767 $ac_includes_default
20768 typedef long long ac__type_sizeof_;
20769 int
20770 main ()
20771 {
20772 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20773 test_array [0] = 0
20774
20775 ;
20776 return 0;
20777 }
20778 _ACEOF
20779 rm -f conftest.$ac_objext
20780 if { (ac_try="$ac_compile"
20781 case "(($ac_try" in
20782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20783 *) ac_try_echo=$ac_try;;
20784 esac
20785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20786 (eval "$ac_compile") 2>conftest.er1
20787 ac_status=$?
20788 grep -v '^ *+' conftest.er1 >conftest.err
20789 rm -f conftest.er1
20790 cat conftest.err >&5
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); } && {
20793 test -z "$ac_c_werror_flag" ||
20794 test ! -s conftest.err
20795 } && test -s conftest.$ac_objext; then
20796 ac_hi=-1 ac_mid=-1
20797 while :; do
20798 cat >conftest.$ac_ext <<_ACEOF
20799 /* confdefs.h. */
20800 _ACEOF
20801 cat confdefs.h >>conftest.$ac_ext
20802 cat >>conftest.$ac_ext <<_ACEOF
20803 /* end confdefs.h. */
20804 $ac_includes_default
20805 typedef long long ac__type_sizeof_;
20806 int
20807 main ()
20808 {
20809 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20810 test_array [0] = 0
20811
20812 ;
20813 return 0;
20814 }
20815 _ACEOF
20816 rm -f conftest.$ac_objext
20817 if { (ac_try="$ac_compile"
20818 case "(($ac_try" in
20819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20820 *) ac_try_echo=$ac_try;;
20821 esac
20822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20823 (eval "$ac_compile") 2>conftest.er1
20824 ac_status=$?
20825 grep -v '^ *+' conftest.er1 >conftest.err
20826 rm -f conftest.er1
20827 cat conftest.err >&5
20828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829 (exit $ac_status); } && {
20830 test -z "$ac_c_werror_flag" ||
20831 test ! -s conftest.err
20832 } && test -s conftest.$ac_objext; then
20833 ac_lo=$ac_mid; break
20834 else
20835 echo "$as_me: failed program was:" >&5
20836 sed 's/^/| /' conftest.$ac_ext >&5
20837
20838 ac_hi=`expr '(' $ac_mid ')' - 1`
20839 if test $ac_mid -le $ac_hi; then
20840 ac_lo= ac_hi=
20841 break
20842 fi
20843 ac_mid=`expr 2 '*' $ac_mid`
20844 fi
20845
20846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20847 done
20848 else
20849 echo "$as_me: failed program was:" >&5
20850 sed 's/^/| /' conftest.$ac_ext >&5
20851
20852 ac_lo= ac_hi=
20853 fi
20854
20855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20856 fi
20857
20858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20859 # Binary search between lo and hi bounds.
20860 while test "x$ac_lo" != "x$ac_hi"; do
20861 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20862 cat >conftest.$ac_ext <<_ACEOF
20863 /* confdefs.h. */
20864 _ACEOF
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20868 $ac_includes_default
20869 typedef long long ac__type_sizeof_;
20870 int
20871 main ()
20872 {
20873 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20874 test_array [0] = 0
20875
20876 ;
20877 return 0;
20878 }
20879 _ACEOF
20880 rm -f conftest.$ac_objext
20881 if { (ac_try="$ac_compile"
20882 case "(($ac_try" in
20883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20884 *) ac_try_echo=$ac_try;;
20885 esac
20886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20887 (eval "$ac_compile") 2>conftest.er1
20888 ac_status=$?
20889 grep -v '^ *+' conftest.er1 >conftest.err
20890 rm -f conftest.er1
20891 cat conftest.err >&5
20892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20893 (exit $ac_status); } && {
20894 test -z "$ac_c_werror_flag" ||
20895 test ! -s conftest.err
20896 } && test -s conftest.$ac_objext; then
20897 ac_hi=$ac_mid
20898 else
20899 echo "$as_me: failed program was:" >&5
20900 sed 's/^/| /' conftest.$ac_ext >&5
20901
20902 ac_lo=`expr '(' $ac_mid ')' + 1`
20903 fi
20904
20905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20906 done
20907 case $ac_lo in
20908 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20909 '') if test "$ac_cv_type_long_long" = yes; then
20910 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20911 See \`config.log' for more details." >&5
20912 echo "$as_me: error: cannot compute sizeof (long long)
20913 See \`config.log' for more details." >&2;}
20914 { (exit 77); exit 77; }; }
20915 else
20916 ac_cv_sizeof_long_long=0
20917 fi ;;
20918 esac
20919 else
20920 cat >conftest.$ac_ext <<_ACEOF
20921 /* confdefs.h. */
20922 _ACEOF
20923 cat confdefs.h >>conftest.$ac_ext
20924 cat >>conftest.$ac_ext <<_ACEOF
20925 /* end confdefs.h. */
20926 $ac_includes_default
20927 typedef long long ac__type_sizeof_;
20928 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20929 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20930 #include <stdio.h>
20931 #include <stdlib.h>
20932 int
20933 main ()
20934 {
20935
20936 FILE *f = fopen ("conftest.val", "w");
20937 if (! f)
20938 return 1;
20939 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20940 {
20941 long int i = longval ();
20942 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20943 return 1;
20944 fprintf (f, "%ld\n", i);
20945 }
20946 else
20947 {
20948 unsigned long int i = ulongval ();
20949 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20950 return 1;
20951 fprintf (f, "%lu\n", i);
20952 }
20953 return ferror (f) || fclose (f) != 0;
20954
20955 ;
20956 return 0;
20957 }
20958 _ACEOF
20959 rm -f conftest$ac_exeext
20960 if { (ac_try="$ac_link"
20961 case "(($ac_try" in
20962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20963 *) ac_try_echo=$ac_try;;
20964 esac
20965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20966 (eval "$ac_link") 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20970 { (case "(($ac_try" in
20971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20972 *) ac_try_echo=$ac_try;;
20973 esac
20974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20975 (eval "$ac_try") 2>&5
20976 ac_status=$?
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); }; }; then
20979 ac_cv_sizeof_long_long=`cat conftest.val`
20980 else
20981 echo "$as_me: program exited with status $ac_status" >&5
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.$ac_ext >&5
20984
20985 ( exit $ac_status )
20986 if test "$ac_cv_type_long_long" = yes; then
20987 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20988 See \`config.log' for more details." >&5
20989 echo "$as_me: error: cannot compute sizeof (long long)
20990 See \`config.log' for more details." >&2;}
20991 { (exit 77); exit 77; }; }
20992 else
20993 ac_cv_sizeof_long_long=0
20994 fi
20995 fi
20996 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20997 fi
20998 rm -f conftest.val
20999 fi
21000 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21001 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21002
21003
21004
21005 cat >>confdefs.h <<_ACEOF
21006 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21007 _ACEOF
21008
21009
21010 if test "$ac_cv_sizeof_long_long" != "0"; then
21011 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21012 fi
21013 ;;
21014 * )
21015 { echo "$as_me:$LINENO: checking for long long" >&5
21016 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21017 if test "${ac_cv_type_long_long+set}" = set; then
21018 echo $ECHO_N "(cached) $ECHO_C" >&6
21019 else
21020 cat >conftest.$ac_ext <<_ACEOF
21021 /* confdefs.h. */
21022 _ACEOF
21023 cat confdefs.h >>conftest.$ac_ext
21024 cat >>conftest.$ac_ext <<_ACEOF
21025 /* end confdefs.h. */
21026 $ac_includes_default
21027 typedef long long ac__type_new_;
21028 int
21029 main ()
21030 {
21031 if ((ac__type_new_ *) 0)
21032 return 0;
21033 if (sizeof (ac__type_new_))
21034 return 0;
21035 ;
21036 return 0;
21037 }
21038 _ACEOF
21039 rm -f conftest.$ac_objext
21040 if { (ac_try="$ac_compile"
21041 case "(($ac_try" in
21042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21043 *) ac_try_echo=$ac_try;;
21044 esac
21045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21046 (eval "$ac_compile") 2>conftest.er1
21047 ac_status=$?
21048 grep -v '^ *+' conftest.er1 >conftest.err
21049 rm -f conftest.er1
21050 cat conftest.err >&5
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); } && {
21053 test -z "$ac_c_werror_flag" ||
21054 test ! -s conftest.err
21055 } && test -s conftest.$ac_objext; then
21056 ac_cv_type_long_long=yes
21057 else
21058 echo "$as_me: failed program was:" >&5
21059 sed 's/^/| /' conftest.$ac_ext >&5
21060
21061 ac_cv_type_long_long=no
21062 fi
21063
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 fi
21066 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21067 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21068
21069 # The cast to long int works around a bug in the HP C Compiler
21070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21072 # This bug is HP SR number 8606223364.
21073 { echo "$as_me:$LINENO: checking size of long long" >&5
21074 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21075 if test "${ac_cv_sizeof_long_long+set}" = set; then
21076 echo $ECHO_N "(cached) $ECHO_C" >&6
21077 else
21078 if test "$cross_compiling" = yes; then
21079 # Depending upon the size, compute the lo and hi bounds.
21080 cat >conftest.$ac_ext <<_ACEOF
21081 /* confdefs.h. */
21082 _ACEOF
21083 cat confdefs.h >>conftest.$ac_ext
21084 cat >>conftest.$ac_ext <<_ACEOF
21085 /* end confdefs.h. */
21086 $ac_includes_default
21087 typedef long long ac__type_sizeof_;
21088 int
21089 main ()
21090 {
21091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21092 test_array [0] = 0
21093
21094 ;
21095 return 0;
21096 }
21097 _ACEOF
21098 rm -f conftest.$ac_objext
21099 if { (ac_try="$ac_compile"
21100 case "(($ac_try" in
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21102 *) ac_try_echo=$ac_try;;
21103 esac
21104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21105 (eval "$ac_compile") 2>conftest.er1
21106 ac_status=$?
21107 grep -v '^ *+' conftest.er1 >conftest.err
21108 rm -f conftest.er1
21109 cat conftest.err >&5
21110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21111 (exit $ac_status); } && {
21112 test -z "$ac_c_werror_flag" ||
21113 test ! -s conftest.err
21114 } && test -s conftest.$ac_objext; then
21115 ac_lo=0 ac_mid=0
21116 while :; do
21117 cat >conftest.$ac_ext <<_ACEOF
21118 /* confdefs.h. */
21119 _ACEOF
21120 cat confdefs.h >>conftest.$ac_ext
21121 cat >>conftest.$ac_ext <<_ACEOF
21122 /* end confdefs.h. */
21123 $ac_includes_default
21124 typedef long long ac__type_sizeof_;
21125 int
21126 main ()
21127 {
21128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21129 test_array [0] = 0
21130
21131 ;
21132 return 0;
21133 }
21134 _ACEOF
21135 rm -f conftest.$ac_objext
21136 if { (ac_try="$ac_compile"
21137 case "(($ac_try" in
21138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21139 *) ac_try_echo=$ac_try;;
21140 esac
21141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21142 (eval "$ac_compile") 2>conftest.er1
21143 ac_status=$?
21144 grep -v '^ *+' conftest.er1 >conftest.err
21145 rm -f conftest.er1
21146 cat conftest.err >&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); } && {
21149 test -z "$ac_c_werror_flag" ||
21150 test ! -s conftest.err
21151 } && test -s conftest.$ac_objext; then
21152 ac_hi=$ac_mid; break
21153 else
21154 echo "$as_me: failed program was:" >&5
21155 sed 's/^/| /' conftest.$ac_ext >&5
21156
21157 ac_lo=`expr $ac_mid + 1`
21158 if test $ac_lo -le $ac_mid; then
21159 ac_lo= ac_hi=
21160 break
21161 fi
21162 ac_mid=`expr 2 '*' $ac_mid + 1`
21163 fi
21164
21165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21166 done
21167 else
21168 echo "$as_me: failed program was:" >&5
21169 sed 's/^/| /' conftest.$ac_ext >&5
21170
21171 cat >conftest.$ac_ext <<_ACEOF
21172 /* confdefs.h. */
21173 _ACEOF
21174 cat confdefs.h >>conftest.$ac_ext
21175 cat >>conftest.$ac_ext <<_ACEOF
21176 /* end confdefs.h. */
21177 $ac_includes_default
21178 typedef long long ac__type_sizeof_;
21179 int
21180 main ()
21181 {
21182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21183 test_array [0] = 0
21184
21185 ;
21186 return 0;
21187 }
21188 _ACEOF
21189 rm -f conftest.$ac_objext
21190 if { (ac_try="$ac_compile"
21191 case "(($ac_try" in
21192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21193 *) ac_try_echo=$ac_try;;
21194 esac
21195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21196 (eval "$ac_compile") 2>conftest.er1
21197 ac_status=$?
21198 grep -v '^ *+' conftest.er1 >conftest.err
21199 rm -f conftest.er1
21200 cat conftest.err >&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } && {
21203 test -z "$ac_c_werror_flag" ||
21204 test ! -s conftest.err
21205 } && test -s conftest.$ac_objext; then
21206 ac_hi=-1 ac_mid=-1
21207 while :; do
21208 cat >conftest.$ac_ext <<_ACEOF
21209 /* confdefs.h. */
21210 _ACEOF
21211 cat confdefs.h >>conftest.$ac_ext
21212 cat >>conftest.$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 $ac_includes_default
21215 typedef long long ac__type_sizeof_;
21216 int
21217 main ()
21218 {
21219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21220 test_array [0] = 0
21221
21222 ;
21223 return 0;
21224 }
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (ac_try="$ac_compile"
21228 case "(($ac_try" in
21229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21230 *) ac_try_echo=$ac_try;;
21231 esac
21232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21233 (eval "$ac_compile") 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && {
21240 test -z "$ac_c_werror_flag" ||
21241 test ! -s conftest.err
21242 } && test -s conftest.$ac_objext; then
21243 ac_lo=$ac_mid; break
21244 else
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21247
21248 ac_hi=`expr '(' $ac_mid ')' - 1`
21249 if test $ac_mid -le $ac_hi; then
21250 ac_lo= ac_hi=
21251 break
21252 fi
21253 ac_mid=`expr 2 '*' $ac_mid`
21254 fi
21255
21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21257 done
21258 else
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21261
21262 ac_lo= ac_hi=
21263 fi
21264
21265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21266 fi
21267
21268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21269 # Binary search between lo and hi bounds.
21270 while test "x$ac_lo" != "x$ac_hi"; do
21271 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21272 cat >conftest.$ac_ext <<_ACEOF
21273 /* confdefs.h. */
21274 _ACEOF
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 $ac_includes_default
21279 typedef long long ac__type_sizeof_;
21280 int
21281 main ()
21282 {
21283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21284 test_array [0] = 0
21285
21286 ;
21287 return 0;
21288 }
21289 _ACEOF
21290 rm -f conftest.$ac_objext
21291 if { (ac_try="$ac_compile"
21292 case "(($ac_try" in
21293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21294 *) ac_try_echo=$ac_try;;
21295 esac
21296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21297 (eval "$ac_compile") 2>conftest.er1
21298 ac_status=$?
21299 grep -v '^ *+' conftest.er1 >conftest.err
21300 rm -f conftest.er1
21301 cat conftest.err >&5
21302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21303 (exit $ac_status); } && {
21304 test -z "$ac_c_werror_flag" ||
21305 test ! -s conftest.err
21306 } && test -s conftest.$ac_objext; then
21307 ac_hi=$ac_mid
21308 else
21309 echo "$as_me: failed program was:" >&5
21310 sed 's/^/| /' conftest.$ac_ext >&5
21311
21312 ac_lo=`expr '(' $ac_mid ')' + 1`
21313 fi
21314
21315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21316 done
21317 case $ac_lo in
21318 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21319 '') if test "$ac_cv_type_long_long" = yes; then
21320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21321 See \`config.log' for more details." >&5
21322 echo "$as_me: error: cannot compute sizeof (long long)
21323 See \`config.log' for more details." >&2;}
21324 { (exit 77); exit 77; }; }
21325 else
21326 ac_cv_sizeof_long_long=0
21327 fi ;;
21328 esac
21329 else
21330 cat >conftest.$ac_ext <<_ACEOF
21331 /* confdefs.h. */
21332 _ACEOF
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21336 $ac_includes_default
21337 typedef long long ac__type_sizeof_;
21338 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21339 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21340 #include <stdio.h>
21341 #include <stdlib.h>
21342 int
21343 main ()
21344 {
21345
21346 FILE *f = fopen ("conftest.val", "w");
21347 if (! f)
21348 return 1;
21349 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21350 {
21351 long int i = longval ();
21352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21353 return 1;
21354 fprintf (f, "%ld\n", i);
21355 }
21356 else
21357 {
21358 unsigned long int i = ulongval ();
21359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21360 return 1;
21361 fprintf (f, "%lu\n", i);
21362 }
21363 return ferror (f) || fclose (f) != 0;
21364
21365 ;
21366 return 0;
21367 }
21368 _ACEOF
21369 rm -f conftest$ac_exeext
21370 if { (ac_try="$ac_link"
21371 case "(($ac_try" in
21372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21373 *) ac_try_echo=$ac_try;;
21374 esac
21375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21376 (eval "$ac_link") 2>&5
21377 ac_status=$?
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21380 { (case "(($ac_try" in
21381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21382 *) ac_try_echo=$ac_try;;
21383 esac
21384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21385 (eval "$ac_try") 2>&5
21386 ac_status=$?
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; }; then
21389 ac_cv_sizeof_long_long=`cat conftest.val`
21390 else
21391 echo "$as_me: program exited with status $ac_status" >&5
21392 echo "$as_me: failed program was:" >&5
21393 sed 's/^/| /' conftest.$ac_ext >&5
21394
21395 ( exit $ac_status )
21396 if test "$ac_cv_type_long_long" = yes; then
21397 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21398 See \`config.log' for more details." >&5
21399 echo "$as_me: error: cannot compute sizeof (long long)
21400 See \`config.log' for more details." >&2;}
21401 { (exit 77); exit 77; }; }
21402 else
21403 ac_cv_sizeof_long_long=0
21404 fi
21405 fi
21406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21407 fi
21408 rm -f conftest.val
21409 fi
21410 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21411 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21412
21413
21414
21415 cat >>confdefs.h <<_ACEOF
21416 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21417 _ACEOF
21418
21419
21420 esac
21421
21422 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21423 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21424 if test "${ac_cv_type_wchar_t+set}" = set; then
21425 echo $ECHO_N "(cached) $ECHO_C" >&6
21426 else
21427 cat >conftest.$ac_ext <<_ACEOF
21428 /* confdefs.h. */
21429 _ACEOF
21430 cat confdefs.h >>conftest.$ac_ext
21431 cat >>conftest.$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433
21434 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21435 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21436 # error "fake wchar_t"
21437 #endif
21438 #ifdef HAVE_WCHAR_H
21439 # ifdef __CYGWIN__
21440 # include <stddef.h>
21441 # endif
21442 # include <wchar.h>
21443 #endif
21444 #ifdef HAVE_STDLIB_H
21445 # include <stdlib.h>
21446 #endif
21447 #include <stdio.h>
21448
21449
21450
21451 typedef wchar_t ac__type_new_;
21452 int
21453 main ()
21454 {
21455 if ((ac__type_new_ *) 0)
21456 return 0;
21457 if (sizeof (ac__type_new_))
21458 return 0;
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_type_wchar_t=yes
21481 else
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.$ac_ext >&5
21484
21485 ac_cv_type_wchar_t=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_type_wchar_t" >&5
21491 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21492
21493 # The cast to long int works around a bug in the HP C Compiler
21494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21496 # This bug is HP SR number 8606223364.
21497 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21498 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21499 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21500 echo $ECHO_N "(cached) $ECHO_C" >&6
21501 else
21502 if test "$cross_compiling" = yes; then
21503 # Depending upon the size, compute the lo and hi bounds.
21504 cat >conftest.$ac_ext <<_ACEOF
21505 /* confdefs.h. */
21506 _ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510
21511 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21512 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21513 # error "fake wchar_t"
21514 #endif
21515 #ifdef HAVE_WCHAR_H
21516 # ifdef __CYGWIN__
21517 # include <stddef.h>
21518 # endif
21519 # include <wchar.h>
21520 #endif
21521 #ifdef HAVE_STDLIB_H
21522 # include <stdlib.h>
21523 #endif
21524 #include <stdio.h>
21525
21526
21527
21528 typedef wchar_t ac__type_sizeof_;
21529 int
21530 main ()
21531 {
21532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21533 test_array [0] = 0
21534
21535 ;
21536 return 0;
21537 }
21538 _ACEOF
21539 rm -f conftest.$ac_objext
21540 if { (ac_try="$ac_compile"
21541 case "(($ac_try" in
21542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21543 *) ac_try_echo=$ac_try;;
21544 esac
21545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21546 (eval "$ac_compile") 2>conftest.er1
21547 ac_status=$?
21548 grep -v '^ *+' conftest.er1 >conftest.err
21549 rm -f conftest.er1
21550 cat conftest.err >&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); } && {
21553 test -z "$ac_c_werror_flag" ||
21554 test ! -s conftest.err
21555 } && test -s conftest.$ac_objext; then
21556 ac_lo=0 ac_mid=0
21557 while :; do
21558 cat >conftest.$ac_ext <<_ACEOF
21559 /* confdefs.h. */
21560 _ACEOF
21561 cat confdefs.h >>conftest.$ac_ext
21562 cat >>conftest.$ac_ext <<_ACEOF
21563 /* end confdefs.h. */
21564
21565 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21566 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21567 # error "fake wchar_t"
21568 #endif
21569 #ifdef HAVE_WCHAR_H
21570 # ifdef __CYGWIN__
21571 # include <stddef.h>
21572 # endif
21573 # include <wchar.h>
21574 #endif
21575 #ifdef HAVE_STDLIB_H
21576 # include <stdlib.h>
21577 #endif
21578 #include <stdio.h>
21579
21580
21581
21582 typedef wchar_t ac__type_sizeof_;
21583 int
21584 main ()
21585 {
21586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21587 test_array [0] = 0
21588
21589 ;
21590 return 0;
21591 }
21592 _ACEOF
21593 rm -f conftest.$ac_objext
21594 if { (ac_try="$ac_compile"
21595 case "(($ac_try" in
21596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21597 *) ac_try_echo=$ac_try;;
21598 esac
21599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21600 (eval "$ac_compile") 2>conftest.er1
21601 ac_status=$?
21602 grep -v '^ *+' conftest.er1 >conftest.err
21603 rm -f conftest.er1
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } && {
21607 test -z "$ac_c_werror_flag" ||
21608 test ! -s conftest.err
21609 } && test -s conftest.$ac_objext; then
21610 ac_hi=$ac_mid; break
21611 else
21612 echo "$as_me: failed program was:" >&5
21613 sed 's/^/| /' conftest.$ac_ext >&5
21614
21615 ac_lo=`expr $ac_mid + 1`
21616 if test $ac_lo -le $ac_mid; then
21617 ac_lo= ac_hi=
21618 break
21619 fi
21620 ac_mid=`expr 2 '*' $ac_mid + 1`
21621 fi
21622
21623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21624 done
21625 else
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21628
21629 cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h. */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h. */
21635
21636 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21637 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21638 # error "fake wchar_t"
21639 #endif
21640 #ifdef HAVE_WCHAR_H
21641 # ifdef __CYGWIN__
21642 # include <stddef.h>
21643 # endif
21644 # include <wchar.h>
21645 #endif
21646 #ifdef HAVE_STDLIB_H
21647 # include <stdlib.h>
21648 #endif
21649 #include <stdio.h>
21650
21651
21652
21653 typedef wchar_t ac__type_sizeof_;
21654 int
21655 main ()
21656 {
21657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21658 test_array [0] = 0
21659
21660 ;
21661 return 0;
21662 }
21663 _ACEOF
21664 rm -f conftest.$ac_objext
21665 if { (ac_try="$ac_compile"
21666 case "(($ac_try" in
21667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21668 *) ac_try_echo=$ac_try;;
21669 esac
21670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21671 (eval "$ac_compile") 2>conftest.er1
21672 ac_status=$?
21673 grep -v '^ *+' conftest.er1 >conftest.err
21674 rm -f conftest.er1
21675 cat conftest.err >&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); } && {
21678 test -z "$ac_c_werror_flag" ||
21679 test ! -s conftest.err
21680 } && test -s conftest.$ac_objext; then
21681 ac_hi=-1 ac_mid=-1
21682 while :; do
21683 cat >conftest.$ac_ext <<_ACEOF
21684 /* confdefs.h. */
21685 _ACEOF
21686 cat confdefs.h >>conftest.$ac_ext
21687 cat >>conftest.$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689
21690 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21691 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21692 # error "fake wchar_t"
21693 #endif
21694 #ifdef HAVE_WCHAR_H
21695 # ifdef __CYGWIN__
21696 # include <stddef.h>
21697 # endif
21698 # include <wchar.h>
21699 #endif
21700 #ifdef HAVE_STDLIB_H
21701 # include <stdlib.h>
21702 #endif
21703 #include <stdio.h>
21704
21705
21706
21707 typedef wchar_t ac__type_sizeof_;
21708 int
21709 main ()
21710 {
21711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21712 test_array [0] = 0
21713
21714 ;
21715 return 0;
21716 }
21717 _ACEOF
21718 rm -f conftest.$ac_objext
21719 if { (ac_try="$ac_compile"
21720 case "(($ac_try" in
21721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21722 *) ac_try_echo=$ac_try;;
21723 esac
21724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21725 (eval "$ac_compile") 2>conftest.er1
21726 ac_status=$?
21727 grep -v '^ *+' conftest.er1 >conftest.err
21728 rm -f conftest.er1
21729 cat conftest.err >&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); } && {
21732 test -z "$ac_c_werror_flag" ||
21733 test ! -s conftest.err
21734 } && test -s conftest.$ac_objext; then
21735 ac_lo=$ac_mid; break
21736 else
21737 echo "$as_me: failed program was:" >&5
21738 sed 's/^/| /' conftest.$ac_ext >&5
21739
21740 ac_hi=`expr '(' $ac_mid ')' - 1`
21741 if test $ac_mid -le $ac_hi; then
21742 ac_lo= ac_hi=
21743 break
21744 fi
21745 ac_mid=`expr 2 '*' $ac_mid`
21746 fi
21747
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 done
21750 else
21751 echo "$as_me: failed program was:" >&5
21752 sed 's/^/| /' conftest.$ac_ext >&5
21753
21754 ac_lo= ac_hi=
21755 fi
21756
21757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21758 fi
21759
21760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761 # Binary search between lo and hi bounds.
21762 while test "x$ac_lo" != "x$ac_hi"; do
21763 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21764 cat >conftest.$ac_ext <<_ACEOF
21765 /* confdefs.h. */
21766 _ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770
21771 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21773 # error "fake wchar_t"
21774 #endif
21775 #ifdef HAVE_WCHAR_H
21776 # ifdef __CYGWIN__
21777 # include <stddef.h>
21778 # endif
21779 # include <wchar.h>
21780 #endif
21781 #ifdef HAVE_STDLIB_H
21782 # include <stdlib.h>
21783 #endif
21784 #include <stdio.h>
21785
21786
21787
21788 typedef wchar_t ac__type_sizeof_;
21789 int
21790 main ()
21791 {
21792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21793 test_array [0] = 0
21794
21795 ;
21796 return 0;
21797 }
21798 _ACEOF
21799 rm -f conftest.$ac_objext
21800 if { (ac_try="$ac_compile"
21801 case "(($ac_try" in
21802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21803 *) ac_try_echo=$ac_try;;
21804 esac
21805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21806 (eval "$ac_compile") 2>conftest.er1
21807 ac_status=$?
21808 grep -v '^ *+' conftest.er1 >conftest.err
21809 rm -f conftest.er1
21810 cat conftest.err >&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); } && {
21813 test -z "$ac_c_werror_flag" ||
21814 test ! -s conftest.err
21815 } && test -s conftest.$ac_objext; then
21816 ac_hi=$ac_mid
21817 else
21818 echo "$as_me: failed program was:" >&5
21819 sed 's/^/| /' conftest.$ac_ext >&5
21820
21821 ac_lo=`expr '(' $ac_mid ')' + 1`
21822 fi
21823
21824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21825 done
21826 case $ac_lo in
21827 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21828 '') if test "$ac_cv_type_wchar_t" = yes; then
21829 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21830 See \`config.log' for more details." >&5
21831 echo "$as_me: error: cannot compute sizeof (wchar_t)
21832 See \`config.log' for more details." >&2;}
21833 { (exit 77); exit 77; }; }
21834 else
21835 ac_cv_sizeof_wchar_t=0
21836 fi ;;
21837 esac
21838 else
21839 cat >conftest.$ac_ext <<_ACEOF
21840 /* confdefs.h. */
21841 _ACEOF
21842 cat confdefs.h >>conftest.$ac_ext
21843 cat >>conftest.$ac_ext <<_ACEOF
21844 /* end confdefs.h. */
21845
21846 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21847 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21848 # error "fake wchar_t"
21849 #endif
21850 #ifdef HAVE_WCHAR_H
21851 # ifdef __CYGWIN__
21852 # include <stddef.h>
21853 # endif
21854 # include <wchar.h>
21855 #endif
21856 #ifdef HAVE_STDLIB_H
21857 # include <stdlib.h>
21858 #endif
21859 #include <stdio.h>
21860
21861
21862
21863 typedef wchar_t ac__type_sizeof_;
21864 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21865 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21866 #include <stdio.h>
21867 #include <stdlib.h>
21868 int
21869 main ()
21870 {
21871
21872 FILE *f = fopen ("conftest.val", "w");
21873 if (! f)
21874 return 1;
21875 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21876 {
21877 long int i = longval ();
21878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21879 return 1;
21880 fprintf (f, "%ld\n", i);
21881 }
21882 else
21883 {
21884 unsigned long int i = ulongval ();
21885 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21886 return 1;
21887 fprintf (f, "%lu\n", i);
21888 }
21889 return ferror (f) || fclose (f) != 0;
21890
21891 ;
21892 return 0;
21893 }
21894 _ACEOF
21895 rm -f conftest$ac_exeext
21896 if { (ac_try="$ac_link"
21897 case "(($ac_try" in
21898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21899 *) ac_try_echo=$ac_try;;
21900 esac
21901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21902 (eval "$ac_link") 2>&5
21903 ac_status=$?
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21906 { (case "(($ac_try" in
21907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21908 *) ac_try_echo=$ac_try;;
21909 esac
21910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21911 (eval "$ac_try") 2>&5
21912 ac_status=$?
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21915 ac_cv_sizeof_wchar_t=`cat conftest.val`
21916 else
21917 echo "$as_me: program exited with status $ac_status" >&5
21918 echo "$as_me: failed program was:" >&5
21919 sed 's/^/| /' conftest.$ac_ext >&5
21920
21921 ( exit $ac_status )
21922 if test "$ac_cv_type_wchar_t" = yes; then
21923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21924 See \`config.log' for more details." >&5
21925 echo "$as_me: error: cannot compute sizeof (wchar_t)
21926 See \`config.log' for more details." >&2;}
21927 { (exit 77); exit 77; }; }
21928 else
21929 ac_cv_sizeof_wchar_t=0
21930 fi
21931 fi
21932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21933 fi
21934 rm -f conftest.val
21935 fi
21936 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21937 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21938
21939
21940
21941 cat >>confdefs.h <<_ACEOF
21942 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21943 _ACEOF
21944
21945
21946 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21947 wxUSE_WCHAR_T=yes
21948 else
21949 wxUSE_WCHAR_T=no
21950 fi
21951
21952 { echo "$as_me:$LINENO: checking for va_copy" >&5
21953 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21954 if test "${wx_cv_func_va_copy+set}" = set; then
21955 echo $ECHO_N "(cached) $ECHO_C" >&6
21956 else
21957
21958 cat >conftest.$ac_ext <<_ACEOF
21959
21960 #include <stdarg.h>
21961 void foo(char *f, ...)
21962 {
21963 va_list ap1, ap2;
21964 va_start(ap1, f);
21965 va_copy(ap2, ap1);
21966 va_end(ap2);
21967 va_end(ap1);
21968 }
21969 int main()
21970 {
21971 foo("hi", 17);
21972 return 0;
21973 }
21974 _ACEOF
21975 rm -f conftest.$ac_objext conftest$ac_exeext
21976 if { (ac_try="$ac_link"
21977 case "(($ac_try" in
21978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21979 *) ac_try_echo=$ac_try;;
21980 esac
21981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21982 (eval "$ac_link") 2>conftest.er1
21983 ac_status=$?
21984 grep -v '^ *+' conftest.er1 >conftest.err
21985 rm -f conftest.er1
21986 cat conftest.err >&5
21987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21988 (exit $ac_status); } && {
21989 test -z "$ac_c_werror_flag" ||
21990 test ! -s conftest.err
21991 } && test -s conftest$ac_exeext &&
21992 $as_test_x conftest$ac_exeext; then
21993 wx_cv_func_va_copy=yes
21994 else
21995 echo "$as_me: failed program was:" >&5
21996 sed 's/^/| /' conftest.$ac_ext >&5
21997
21998 wx_cv_func_va_copy=no
21999
22000 fi
22001
22002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22003 conftest$ac_exeext conftest.$ac_ext
22004
22005
22006 fi
22007 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22008 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22009
22010 if test $wx_cv_func_va_copy = "yes"; then
22011 cat >>confdefs.h <<\_ACEOF
22012 #define HAVE_VA_COPY 1
22013 _ACEOF
22014
22015 else
22016 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22017 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22018 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22019 echo $ECHO_N "(cached) $ECHO_C" >&6
22020 else
22021
22022 if test "$cross_compiling" = yes; then
22023 wx_cv_type_va_list_lvalue=yes
22024
22025 else
22026 cat >conftest.$ac_ext <<_ACEOF
22027
22028 #include <stdarg.h>
22029 int foo(char *f, ...)
22030 {
22031 va_list ap1, ap2;
22032 va_start(ap1, f);
22033 ap2 = ap1;
22034 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22035 return 1;
22036 va_end(ap2);
22037 va_end(ap1);
22038 return 0;
22039 }
22040 int main()
22041 {
22042 return foo("hi", 17);
22043 }
22044 _ACEOF
22045 rm -f conftest$ac_exeext
22046 if { (ac_try="$ac_link"
22047 case "(($ac_try" in
22048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22049 *) ac_try_echo=$ac_try;;
22050 esac
22051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22052 (eval "$ac_link") 2>&5
22053 ac_status=$?
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22056 { (case "(($ac_try" in
22057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22058 *) ac_try_echo=$ac_try;;
22059 esac
22060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22061 (eval "$ac_try") 2>&5
22062 ac_status=$?
22063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22064 (exit $ac_status); }; }; then
22065 wx_cv_type_va_list_lvalue=yes
22066 else
22067 echo "$as_me: program exited with status $ac_status" >&5
22068 echo "$as_me: failed program was:" >&5
22069 sed 's/^/| /' conftest.$ac_ext >&5
22070
22071 ( exit $ac_status )
22072 wx_cv_type_va_list_lvalue=no
22073 fi
22074 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22075 fi
22076
22077
22078
22079
22080 fi
22081 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22082 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22083
22084 if test $wx_cv_type_va_list_lvalue != "yes"; then
22085 cat >>confdefs.h <<\_ACEOF
22086 #define VA_LIST_IS_ARRAY 1
22087 _ACEOF
22088
22089 fi
22090 fi
22091
22092 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22093
22094 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22095 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22096 if test "${wx_cv_have_variadic_macros+set}" = set; then
22097 echo $ECHO_N "(cached) $ECHO_C" >&6
22098 else
22099
22100 ac_ext=cpp
22101 ac_cpp='$CXXCPP $CPPFLAGS'
22102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22105
22106 cat >conftest.$ac_ext <<_ACEOF
22107 /* confdefs.h. */
22108 _ACEOF
22109 cat confdefs.h >>conftest.$ac_ext
22110 cat >>conftest.$ac_ext <<_ACEOF
22111 /* end confdefs.h. */
22112
22113 #include <stdio.h>
22114 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22115
22116 int
22117 main ()
22118 {
22119
22120 test("%s %d %p", "test", 1, 0);
22121
22122
22123 ;
22124 return 0;
22125 }
22126 _ACEOF
22127 rm -f conftest.$ac_objext
22128 if { (ac_try="$ac_compile"
22129 case "(($ac_try" in
22130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22131 *) ac_try_echo=$ac_try;;
22132 esac
22133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22134 (eval "$ac_compile") 2>conftest.er1
22135 ac_status=$?
22136 grep -v '^ *+' conftest.er1 >conftest.err
22137 rm -f conftest.er1
22138 cat conftest.err >&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); } && {
22141 test -z "$ac_cxx_werror_flag" ||
22142 test ! -s conftest.err
22143 } && test -s conftest.$ac_objext; then
22144 wx_cv_have_variadic_macros=yes
22145 else
22146 echo "$as_me: failed program was:" >&5
22147 sed 's/^/| /' conftest.$ac_ext >&5
22148
22149 wx_cv_have_variadic_macros=no
22150
22151 fi
22152
22153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22154 ac_ext=c
22155 ac_cpp='$CPP $CPPFLAGS'
22156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22159
22160
22161
22162 fi
22163 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22164 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22165
22166 if test $wx_cv_have_variadic_macros = "yes"; then
22167 cat >>confdefs.h <<\_ACEOF
22168 #define HAVE_VARIADIC_MACROS 1
22169 _ACEOF
22170
22171 fi
22172
22173 fi
22174 # Check whether --enable-largefile was given.
22175 if test "${enable_largefile+set}" = set; then
22176 enableval=$enable_largefile;
22177 fi
22178
22179 if test "$enable_largefile" != no; then
22180 wx_largefile=no
22181
22182 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22183 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22184 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187
22188 cat >conftest.$ac_ext <<_ACEOF
22189 /* confdefs.h. */
22190 _ACEOF
22191 cat confdefs.h >>conftest.$ac_ext
22192 cat >>conftest.$ac_ext <<_ACEOF
22193 /* end confdefs.h. */
22194 #define _FILE_OFFSET_BITS 64
22195 #include <sys/types.h>
22196 int
22197 main ()
22198 {
22199 typedef struct {
22200 unsigned int field: sizeof(off_t) == 8;
22201 } wxlf;
22202
22203 ;
22204 return 0;
22205 }
22206 _ACEOF
22207 rm -f conftest.$ac_objext
22208 if { (ac_try="$ac_compile"
22209 case "(($ac_try" in
22210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22211 *) ac_try_echo=$ac_try;;
22212 esac
22213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22214 (eval "$ac_compile") 2>conftest.er1
22215 ac_status=$?
22216 grep -v '^ *+' conftest.er1 >conftest.err
22217 rm -f conftest.er1
22218 cat conftest.err >&5
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); } && {
22221 test -z "$ac_c_werror_flag" ||
22222 test ! -s conftest.err
22223 } && test -s conftest.$ac_objext; then
22224 ac_cv_sys_file_offset_bits=64
22225 else
22226 echo "$as_me: failed program was:" >&5
22227 sed 's/^/| /' conftest.$ac_ext >&5
22228
22229 ac_cv_sys_file_offset_bits=no
22230 fi
22231
22232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22233
22234
22235 fi
22236 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22237 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22238
22239 if test "$ac_cv_sys_file_offset_bits" != no; then
22240 wx_largefile=yes
22241 cat >>confdefs.h <<_ACEOF
22242 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22243 _ACEOF
22244
22245 fi
22246
22247 if test "x$wx_largefile" != "xyes"; then
22248
22249 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22250 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22251 if test "${ac_cv_sys_large_files+set}" = set; then
22252 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 else
22254
22255 cat >conftest.$ac_ext <<_ACEOF
22256 /* confdefs.h. */
22257 _ACEOF
22258 cat confdefs.h >>conftest.$ac_ext
22259 cat >>conftest.$ac_ext <<_ACEOF
22260 /* end confdefs.h. */
22261 #define _LARGE_FILES 1
22262 #include <sys/types.h>
22263 int
22264 main ()
22265 {
22266 typedef struct {
22267 unsigned int field: sizeof(off_t) == 8;
22268 } wxlf;
22269
22270 ;
22271 return 0;
22272 }
22273 _ACEOF
22274 rm -f conftest.$ac_objext
22275 if { (ac_try="$ac_compile"
22276 case "(($ac_try" in
22277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22278 *) ac_try_echo=$ac_try;;
22279 esac
22280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22281 (eval "$ac_compile") 2>conftest.er1
22282 ac_status=$?
22283 grep -v '^ *+' conftest.er1 >conftest.err
22284 rm -f conftest.er1
22285 cat conftest.err >&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); } && {
22288 test -z "$ac_c_werror_flag" ||
22289 test ! -s conftest.err
22290 } && test -s conftest.$ac_objext; then
22291 ac_cv_sys_large_files=1
22292 else
22293 echo "$as_me: failed program was:" >&5
22294 sed 's/^/| /' conftest.$ac_ext >&5
22295
22296 ac_cv_sys_large_files=no
22297 fi
22298
22299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22300
22301
22302 fi
22303 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22304 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22305
22306 if test "$ac_cv_sys_large_files" != no; then
22307 wx_largefile=yes
22308 cat >>confdefs.h <<_ACEOF
22309 #define _LARGE_FILES $ac_cv_sys_large_files
22310 _ACEOF
22311
22312 fi
22313
22314 fi
22315
22316 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22317 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22318 if test "x$wx_largefile" = "xyes"; then
22319 cat >>confdefs.h <<\_ACEOF
22320 #define HAVE_LARGEFILE_SUPPORT 1
22321 _ACEOF
22322
22323 fi
22324 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22325 echo "${ECHO_T}$wx_largefile" >&6; }
22326 fi
22327
22328
22329 if test "x$wx_largefile" = "xyes"; then
22330 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22331 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22332
22333 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22334 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22335 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22336 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22338 else
22339
22340 ac_ext=cpp
22341 ac_cpp='$CXXCPP $CPPFLAGS'
22342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22345
22346 cat >conftest.$ac_ext <<_ACEOF
22347 /* confdefs.h. */
22348 _ACEOF
22349 cat confdefs.h >>conftest.$ac_ext
22350 cat >>conftest.$ac_ext <<_ACEOF
22351 /* end confdefs.h. */
22352
22353 int
22354 main ()
22355 {
22356
22357 #ifndef __STDC_EXT__
22358 choke me
22359 #endif
22360
22361 ;
22362 return 0;
22363 }
22364 _ACEOF
22365 rm -f conftest.$ac_objext
22366 if { (ac_try="$ac_compile"
22367 case "(($ac_try" in
22368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22369 *) ac_try_echo=$ac_try;;
22370 esac
22371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22372 (eval "$ac_compile") 2>conftest.er1
22373 ac_status=$?
22374 grep -v '^ *+' conftest.er1 >conftest.err
22375 rm -f conftest.er1
22376 cat conftest.err >&5
22377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22378 (exit $ac_status); } && {
22379 test -z "$ac_cxx_werror_flag" ||
22380 test ! -s conftest.err
22381 } && test -s conftest.$ac_objext; then
22382 wx_cv_STDC_EXT_required=no
22383 else
22384 echo "$as_me: failed program was:" >&5
22385 sed 's/^/| /' conftest.$ac_ext >&5
22386
22387 wx_cv_STDC_EXT_required=yes
22388
22389 fi
22390
22391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22392 ac_ext=c
22393 ac_cpp='$CPP $CPPFLAGS'
22394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22397
22398
22399
22400 fi
22401 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22402 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22403 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22404 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22405 fi
22406 fi
22407 else
22408 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22409 fi
22410 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22411 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22412 if test "${ac_cv_sys_largefile_source+set}" = set; then
22413 echo $ECHO_N "(cached) $ECHO_C" >&6
22414 else
22415 while :; do
22416 cat >conftest.$ac_ext <<_ACEOF
22417 /* confdefs.h. */
22418 _ACEOF
22419 cat confdefs.h >>conftest.$ac_ext
22420 cat >>conftest.$ac_ext <<_ACEOF
22421 /* end confdefs.h. */
22422 #include <sys/types.h> /* for off_t */
22423 #include <stdio.h>
22424 int
22425 main ()
22426 {
22427 int (*fp) (FILE *, off_t, int) = fseeko;
22428 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22429 ;
22430 return 0;
22431 }
22432 _ACEOF
22433 rm -f conftest.$ac_objext conftest$ac_exeext
22434 if { (ac_try="$ac_link"
22435 case "(($ac_try" in
22436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22437 *) ac_try_echo=$ac_try;;
22438 esac
22439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22440 (eval "$ac_link") 2>conftest.er1
22441 ac_status=$?
22442 grep -v '^ *+' conftest.er1 >conftest.err
22443 rm -f conftest.er1
22444 cat conftest.err >&5
22445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22446 (exit $ac_status); } && {
22447 test -z "$ac_c_werror_flag" ||
22448 test ! -s conftest.err
22449 } && test -s conftest$ac_exeext &&
22450 $as_test_x conftest$ac_exeext; then
22451 ac_cv_sys_largefile_source=no; break
22452 else
22453 echo "$as_me: failed program was:" >&5
22454 sed 's/^/| /' conftest.$ac_ext >&5
22455
22456
22457 fi
22458
22459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22460 conftest$ac_exeext conftest.$ac_ext
22461 cat >conftest.$ac_ext <<_ACEOF
22462 /* confdefs.h. */
22463 _ACEOF
22464 cat confdefs.h >>conftest.$ac_ext
22465 cat >>conftest.$ac_ext <<_ACEOF
22466 /* end confdefs.h. */
22467 #define _LARGEFILE_SOURCE 1
22468 #include <sys/types.h> /* for off_t */
22469 #include <stdio.h>
22470 int
22471 main ()
22472 {
22473 int (*fp) (FILE *, off_t, int) = fseeko;
22474 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22475 ;
22476 return 0;
22477 }
22478 _ACEOF
22479 rm -f conftest.$ac_objext conftest$ac_exeext
22480 if { (ac_try="$ac_link"
22481 case "(($ac_try" in
22482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22483 *) ac_try_echo=$ac_try;;
22484 esac
22485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22486 (eval "$ac_link") 2>conftest.er1
22487 ac_status=$?
22488 grep -v '^ *+' conftest.er1 >conftest.err
22489 rm -f conftest.er1
22490 cat conftest.err >&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } && {
22493 test -z "$ac_c_werror_flag" ||
22494 test ! -s conftest.err
22495 } && test -s conftest$ac_exeext &&
22496 $as_test_x conftest$ac_exeext; then
22497 ac_cv_sys_largefile_source=1; break
22498 else
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22501
22502
22503 fi
22504
22505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22506 conftest$ac_exeext conftest.$ac_ext
22507 ac_cv_sys_largefile_source=unknown
22508 break
22509 done
22510 fi
22511 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22512 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22513 case $ac_cv_sys_largefile_source in #(
22514 no | unknown) ;;
22515 *)
22516 cat >>confdefs.h <<_ACEOF
22517 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22518 _ACEOF
22519 ;;
22520 esac
22521 rm -f conftest*
22522
22523 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22524 # in glibc 2.1.3, but that breaks too many other things.
22525 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22526 if test $ac_cv_sys_largefile_source != unknown; then
22527
22528 cat >>confdefs.h <<\_ACEOF
22529 #define HAVE_FSEEKO 1
22530 _ACEOF
22531
22532 fi
22533
22534 if test "$ac_cv_sys_largefile_source" != no; then
22535 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22536 fi
22537 fi
22538
22539 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22540 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22541 if test "${ac_cv_c_bigendian+set}" = set; then
22542 echo $ECHO_N "(cached) $ECHO_C" >&6
22543 else
22544 ac_cv_c_bigendian=unknown
22545 # See if sys/param.h defines the BYTE_ORDER macro.
22546 cat >conftest.$ac_ext <<_ACEOF
22547 /* confdefs.h. */
22548 _ACEOF
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 #include <sys/types.h>
22553 #include <sys/param.h>
22554 int
22555 main ()
22556 {
22557
22558 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22559 bogus endian macros
22560 #endif
22561 ;
22562 return 0;
22563 }
22564 _ACEOF
22565 rm -f conftest.$ac_objext
22566 if { (ac_try="$ac_compile"
22567 case "(($ac_try" in
22568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22569 *) ac_try_echo=$ac_try;;
22570 esac
22571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22572 (eval "$ac_compile") 2>conftest.er1
22573 ac_status=$?
22574 grep -v '^ *+' conftest.er1 >conftest.err
22575 rm -f conftest.er1
22576 cat conftest.err >&5
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); } && {
22579 test -z "$ac_c_werror_flag" ||
22580 test ! -s conftest.err
22581 } && test -s conftest.$ac_objext; then
22582 # It does; now see whether it defined to BIG_ENDIAN or not.
22583 cat >conftest.$ac_ext <<_ACEOF
22584 /* confdefs.h. */
22585 _ACEOF
22586 cat confdefs.h >>conftest.$ac_ext
22587 cat >>conftest.$ac_ext <<_ACEOF
22588 /* end confdefs.h. */
22589 #include <sys/types.h>
22590 #include <sys/param.h>
22591 int
22592 main ()
22593 {
22594
22595 #if BYTE_ORDER != BIG_ENDIAN
22596 not big endian
22597 #endif
22598 ;
22599 return 0;
22600 }
22601 _ACEOF
22602 rm -f conftest.$ac_objext
22603 if { (ac_try="$ac_compile"
22604 case "(($ac_try" in
22605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22606 *) ac_try_echo=$ac_try;;
22607 esac
22608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22609 (eval "$ac_compile") 2>conftest.er1
22610 ac_status=$?
22611 grep -v '^ *+' conftest.er1 >conftest.err
22612 rm -f conftest.er1
22613 cat conftest.err >&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); } && {
22616 test -z "$ac_c_werror_flag" ||
22617 test ! -s conftest.err
22618 } && test -s conftest.$ac_objext; then
22619 ac_cv_c_bigendian=yes
22620 else
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.$ac_ext >&5
22623
22624 ac_cv_c_bigendian=no
22625 fi
22626
22627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22628 else
22629 echo "$as_me: failed program was:" >&5
22630 sed 's/^/| /' conftest.$ac_ext >&5
22631
22632
22633 fi
22634
22635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22636 if test $ac_cv_c_bigendian = unknown; then
22637 if test "$cross_compiling" = yes; then
22638 ac_cv_c_bigendian=unknown
22639 else
22640 cat >conftest.$ac_ext <<_ACEOF
22641 /* confdefs.h. */
22642 _ACEOF
22643 cat confdefs.h >>conftest.$ac_ext
22644 cat >>conftest.$ac_ext <<_ACEOF
22645 /* end confdefs.h. */
22646 main () {
22647 /* Are we little or big endian? From Harbison&Steele. */
22648 union
22649 {
22650 long l;
22651 char c[sizeof (long)];
22652 } u;
22653 u.l = 1;
22654 exit (u.c[sizeof (long) - 1] == 1);
22655 }
22656 _ACEOF
22657 rm -f conftest$ac_exeext
22658 if { (ac_try="$ac_link"
22659 case "(($ac_try" in
22660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22661 *) ac_try_echo=$ac_try;;
22662 esac
22663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22664 (eval "$ac_link") 2>&5
22665 ac_status=$?
22666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22667 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22668 { (case "(($ac_try" in
22669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22670 *) ac_try_echo=$ac_try;;
22671 esac
22672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22673 (eval "$ac_try") 2>&5
22674 ac_status=$?
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); }; }; then
22677 ac_cv_c_bigendian=no
22678 else
22679 echo "$as_me: program exited with status $ac_status" >&5
22680 echo "$as_me: failed program was:" >&5
22681 sed 's/^/| /' conftest.$ac_ext >&5
22682
22683 ( exit $ac_status )
22684 ac_cv_c_bigendian=yes
22685 fi
22686 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22687 fi
22688
22689
22690 fi
22691 fi
22692 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22693 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22694 if test $ac_cv_c_bigendian = unknown; then
22695 { 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
22696 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;}
22697 fi
22698 if test $ac_cv_c_bigendian = yes; then
22699 cat >>confdefs.h <<\_ACEOF
22700 #define WORDS_BIGENDIAN 1
22701 _ACEOF
22702
22703 fi
22704
22705
22706
22707
22708 ac_ext=cpp
22709 ac_cpp='$CXXCPP $CPPFLAGS'
22710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22713
22714
22715 { echo "$as_me:$LINENO: checking for iostream" >&5
22716 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22717 if test "${ac_cv_header_iostream+set}" = set; then
22718 echo $ECHO_N "(cached) $ECHO_C" >&6
22719 else
22720 cat >conftest.$ac_ext <<_ACEOF
22721 /* confdefs.h. */
22722 _ACEOF
22723 cat confdefs.h >>conftest.$ac_ext
22724 cat >>conftest.$ac_ext <<_ACEOF
22725 /* end confdefs.h. */
22726
22727
22728 #include <iostream>
22729 _ACEOF
22730 rm -f conftest.$ac_objext
22731 if { (ac_try="$ac_compile"
22732 case "(($ac_try" in
22733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22734 *) ac_try_echo=$ac_try;;
22735 esac
22736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22737 (eval "$ac_compile") 2>conftest.er1
22738 ac_status=$?
22739 grep -v '^ *+' conftest.er1 >conftest.err
22740 rm -f conftest.er1
22741 cat conftest.err >&5
22742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22743 (exit $ac_status); } && {
22744 test -z "$ac_cxx_werror_flag" ||
22745 test ! -s conftest.err
22746 } && test -s conftest.$ac_objext; then
22747 ac_cv_header_iostream=yes
22748 else
22749 echo "$as_me: failed program was:" >&5
22750 sed 's/^/| /' conftest.$ac_ext >&5
22751
22752 ac_cv_header_iostream=no
22753 fi
22754
22755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22756 fi
22757 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22758 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22759
22760
22761
22762 if test "$ac_cv_header_iostream" = "yes" ; then
22763 :
22764 else
22765 cat >>confdefs.h <<\_ACEOF
22766 #define wxUSE_IOSTREAMH 1
22767 _ACEOF
22768
22769 fi
22770
22771 ac_ext=c
22772 ac_cpp='$CPP $CPPFLAGS'
22773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22776
22777
22778
22779
22780 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22781 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22782 if test "${wx_cv_cpp_bool+set}" = set; then
22783 echo $ECHO_N "(cached) $ECHO_C" >&6
22784 else
22785
22786
22787 ac_ext=cpp
22788 ac_cpp='$CXXCPP $CPPFLAGS'
22789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22792
22793
22794 cat >conftest.$ac_ext <<_ACEOF
22795 /* confdefs.h. */
22796 _ACEOF
22797 cat confdefs.h >>conftest.$ac_ext
22798 cat >>conftest.$ac_ext <<_ACEOF
22799 /* end confdefs.h. */
22800
22801
22802 int
22803 main ()
22804 {
22805
22806 bool b = true;
22807
22808 return 0;
22809
22810 ;
22811 return 0;
22812 }
22813 _ACEOF
22814 rm -f conftest.$ac_objext
22815 if { (ac_try="$ac_compile"
22816 case "(($ac_try" in
22817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22818 *) ac_try_echo=$ac_try;;
22819 esac
22820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22821 (eval "$ac_compile") 2>conftest.er1
22822 ac_status=$?
22823 grep -v '^ *+' conftest.er1 >conftest.err
22824 rm -f conftest.er1
22825 cat conftest.err >&5
22826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22827 (exit $ac_status); } && {
22828 test -z "$ac_cxx_werror_flag" ||
22829 test ! -s conftest.err
22830 } && test -s conftest.$ac_objext; then
22831
22832 wx_cv_cpp_bool=yes
22833
22834 else
22835 echo "$as_me: failed program was:" >&5
22836 sed 's/^/| /' conftest.$ac_ext >&5
22837
22838
22839 wx_cv_cpp_bool=no
22840
22841
22842 fi
22843
22844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22845
22846 ac_ext=c
22847 ac_cpp='$CPP $CPPFLAGS'
22848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22851
22852
22853 fi
22854 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22855 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22856
22857 if test "$wx_cv_cpp_bool" = "yes"; then
22858 cat >>confdefs.h <<\_ACEOF
22859 #define HAVE_BOOL 1
22860 _ACEOF
22861
22862 fi
22863
22864
22865
22866 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22867 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22868 if test "${wx_cv_explicit+set}" = set; then
22869 echo $ECHO_N "(cached) $ECHO_C" >&6
22870 else
22871
22872
22873 ac_ext=cpp
22874 ac_cpp='$CXXCPP $CPPFLAGS'
22875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22878
22879
22880 cat >conftest.$ac_ext <<_ACEOF
22881 /* confdefs.h. */
22882 _ACEOF
22883 cat confdefs.h >>conftest.$ac_ext
22884 cat >>conftest.$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22886
22887 class Foo { public: explicit Foo(int) {} };
22888
22889 int
22890 main ()
22891 {
22892
22893 return 0;
22894
22895 ;
22896 return 0;
22897 }
22898 _ACEOF
22899 rm -f conftest.$ac_objext
22900 if { (ac_try="$ac_compile"
22901 case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22904 esac
22905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_compile") 2>conftest.er1
22907 ac_status=$?
22908 grep -v '^ *+' conftest.er1 >conftest.err
22909 rm -f conftest.er1
22910 cat conftest.err >&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && {
22913 test -z "$ac_cxx_werror_flag" ||
22914 test ! -s conftest.err
22915 } && test -s conftest.$ac_objext; then
22916
22917 cat >conftest.$ac_ext <<_ACEOF
22918 /* confdefs.h. */
22919 _ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923
22924 class Foo { public: explicit Foo(int) {} };
22925 static void TakeFoo(const Foo& foo) { }
22926
22927 int
22928 main ()
22929 {
22930
22931 TakeFoo(17);
22932 return 0;
22933
22934 ;
22935 return 0;
22936 }
22937 _ACEOF
22938 rm -f conftest.$ac_objext
22939 if { (ac_try="$ac_compile"
22940 case "(($ac_try" in
22941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22942 *) ac_try_echo=$ac_try;;
22943 esac
22944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22945 (eval "$ac_compile") 2>conftest.er1
22946 ac_status=$?
22947 grep -v '^ *+' conftest.er1 >conftest.err
22948 rm -f conftest.er1
22949 cat conftest.err >&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); } && {
22952 test -z "$ac_cxx_werror_flag" ||
22953 test ! -s conftest.err
22954 } && test -s conftest.$ac_objext; then
22955 wx_cv_explicit=no
22956 else
22957 echo "$as_me: failed program was:" >&5
22958 sed 's/^/| /' conftest.$ac_ext >&5
22959
22960 wx_cv_explicit=yes
22961
22962 fi
22963
22964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22965
22966 else
22967 echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.$ac_ext >&5
22969
22970 wx_cv_explicit=no
22971
22972 fi
22973
22974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22975
22976 ac_ext=c
22977 ac_cpp='$CPP $CPPFLAGS'
22978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22981
22982
22983 fi
22984 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22985 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22986
22987 if test "$wx_cv_explicit" = "yes"; then
22988 cat >>confdefs.h <<\_ACEOF
22989 #define HAVE_EXPLICIT 1
22990 _ACEOF
22991
22992 fi
22993
22994
22995 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22996 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22997 if test "${ac_cv_cxx_const_cast+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
22999 else
23000
23001 ac_ext=cpp
23002 ac_cpp='$CXXCPP $CPPFLAGS'
23003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23006
23007 cat >conftest.$ac_ext <<_ACEOF
23008 /* confdefs.h. */
23009 _ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013
23014 int
23015 main ()
23016 {
23017 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23018 ;
23019 return 0;
23020 }
23021 _ACEOF
23022 rm -f conftest.$ac_objext
23023 if { (ac_try="$ac_compile"
23024 case "(($ac_try" in
23025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23026 *) ac_try_echo=$ac_try;;
23027 esac
23028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23029 (eval "$ac_compile") 2>conftest.er1
23030 ac_status=$?
23031 grep -v '^ *+' conftest.er1 >conftest.err
23032 rm -f conftest.er1
23033 cat conftest.err >&5
23034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23035 (exit $ac_status); } && {
23036 test -z "$ac_cxx_werror_flag" ||
23037 test ! -s conftest.err
23038 } && test -s conftest.$ac_objext; then
23039 ac_cv_cxx_const_cast=yes
23040 else
23041 echo "$as_me: failed program was:" >&5
23042 sed 's/^/| /' conftest.$ac_ext >&5
23043
23044 ac_cv_cxx_const_cast=no
23045 fi
23046
23047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23048 ac_ext=c
23049 ac_cpp='$CPP $CPPFLAGS'
23050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23053
23054
23055 fi
23056 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23057 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23058 if test "$ac_cv_cxx_const_cast" = yes; then
23059
23060 cat >>confdefs.h <<\_ACEOF
23061 #define HAVE_CONST_CAST
23062 _ACEOF
23063
23064 fi
23065
23066 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23067 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23068 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23069 echo $ECHO_N "(cached) $ECHO_C" >&6
23070 else
23071
23072 ac_ext=cpp
23073 ac_cpp='$CXXCPP $CPPFLAGS'
23074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23077
23078 cat >conftest.$ac_ext <<_ACEOF
23079 /* confdefs.h. */
23080 _ACEOF
23081 cat confdefs.h >>conftest.$ac_ext
23082 cat >>conftest.$ac_ext <<_ACEOF
23083 /* end confdefs.h. */
23084 #include <typeinfo>
23085 class Base { public : Base () {} virtual void f () = 0;};
23086 class Derived : public Base { public : Derived () {} virtual void f () {} };
23087 class Unrelated { public : Unrelated () {} };
23088 int g (Unrelated&) { return 0; }
23089 int
23090 main ()
23091 {
23092
23093 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23094 ;
23095 return 0;
23096 }
23097 _ACEOF
23098 rm -f conftest.$ac_objext
23099 if { (ac_try="$ac_compile"
23100 case "(($ac_try" in
23101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23102 *) ac_try_echo=$ac_try;;
23103 esac
23104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23105 (eval "$ac_compile") 2>conftest.er1
23106 ac_status=$?
23107 grep -v '^ *+' conftest.er1 >conftest.err
23108 rm -f conftest.er1
23109 cat conftest.err >&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); } && {
23112 test -z "$ac_cxx_werror_flag" ||
23113 test ! -s conftest.err
23114 } && test -s conftest.$ac_objext; then
23115 ac_cv_cxx_reinterpret_cast=yes
23116 else
23117 echo "$as_me: failed program was:" >&5
23118 sed 's/^/| /' conftest.$ac_ext >&5
23119
23120 ac_cv_cxx_reinterpret_cast=no
23121 fi
23122
23123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23124 ac_ext=c
23125 ac_cpp='$CPP $CPPFLAGS'
23126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23129
23130
23131 fi
23132 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23133 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23134 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23135
23136 cat >>confdefs.h <<\_ACEOF
23137 #define HAVE_REINTERPRET_CAST
23138 _ACEOF
23139
23140 fi
23141
23142 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23143 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23144 if test "${ac_cv_cxx_static_cast+set}" = set; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23146 else
23147
23148 ac_ext=cpp
23149 ac_cpp='$CXXCPP $CPPFLAGS'
23150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23153
23154 cat >conftest.$ac_ext <<_ACEOF
23155 /* confdefs.h. */
23156 _ACEOF
23157 cat confdefs.h >>conftest.$ac_ext
23158 cat >>conftest.$ac_ext <<_ACEOF
23159 /* end confdefs.h. */
23160 #include <typeinfo>
23161 class Base { public : Base () {} virtual void f () = 0; };
23162 class Derived : public Base { public : Derived () {} virtual void f () {} };
23163 int g (Derived&) { return 0; }
23164 int
23165 main ()
23166 {
23167
23168 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23169 ;
23170 return 0;
23171 }
23172 _ACEOF
23173 rm -f conftest.$ac_objext
23174 if { (ac_try="$ac_compile"
23175 case "(($ac_try" in
23176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23177 *) ac_try_echo=$ac_try;;
23178 esac
23179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23180 (eval "$ac_compile") 2>conftest.er1
23181 ac_status=$?
23182 grep -v '^ *+' conftest.er1 >conftest.err
23183 rm -f conftest.er1
23184 cat conftest.err >&5
23185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23186 (exit $ac_status); } && {
23187 test -z "$ac_cxx_werror_flag" ||
23188 test ! -s conftest.err
23189 } && test -s conftest.$ac_objext; then
23190 ac_cv_cxx_static_cast=yes
23191 else
23192 echo "$as_me: failed program was:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23194
23195 ac_cv_cxx_static_cast=no
23196 fi
23197
23198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23199 ac_ext=c
23200 ac_cpp='$CPP $CPPFLAGS'
23201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23204
23205
23206 fi
23207 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23208 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23209 if test "$ac_cv_cxx_static_cast" = yes; then
23210
23211 cat >>confdefs.h <<\_ACEOF
23212 #define HAVE_STATIC_CAST
23213 _ACEOF
23214
23215 fi
23216
23217
23218 if test "x$SUNCXX" = xyes; then
23219 CXXFLAGS="-features=tmplife $CXXFLAGS"
23220 fi
23221
23222 if test "x$SUNCC" = xyes; then
23223 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23224 fi
23225
23226 if test "x$SGICC" = "xyes"; then
23227 CFLAGS="-woff 3970 $CFLAGS"
23228 fi
23229 if test "x$SGICXX" = "xyes"; then
23230 CXXFLAGS="-woff 3970 $CXXFLAGS"
23231 fi
23232
23233 if test "x$HPCC" = "xyes"; then
23234 CFLAGS="+W 2011,2450 $CFLAGS"
23235 fi
23236 if test "x$HPCXX" = "xyes"; then
23237 CXXFLAGS="+W 2340 $CXXFLAGS"
23238 fi
23239
23240 if test "x$COMPAQCXX" = "xyes"; then
23241 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23242 fi
23243
23244 ac_ext=cpp
23245 ac_cpp='$CXXCPP $CPPFLAGS'
23246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23249
23250
23251 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23252 if test "$wxUSE_UNICODE" = "yes"; then
23253 std_string="std::wstring"
23254 char_type="wchar_t"
23255 else
23256 std_string="std::string"
23257 char_type="char"
23258 fi
23259
23260 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23261 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23262 if test "${wx_cv_class_stdstring+set}" = set; then
23263 echo $ECHO_N "(cached) $ECHO_C" >&6
23264 else
23265
23266 cat >conftest.$ac_ext <<_ACEOF
23267 /* confdefs.h. */
23268 _ACEOF
23269 cat confdefs.h >>conftest.$ac_ext
23270 cat >>conftest.$ac_ext <<_ACEOF
23271 /* end confdefs.h. */
23272 #include <string>
23273 int
23274 main ()
23275 {
23276 $std_string foo;
23277 ;
23278 return 0;
23279 }
23280 _ACEOF
23281 rm -f conftest.$ac_objext
23282 if { (ac_try="$ac_compile"
23283 case "(($ac_try" in
23284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23285 *) ac_try_echo=$ac_try;;
23286 esac
23287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23288 (eval "$ac_compile") 2>conftest.er1
23289 ac_status=$?
23290 grep -v '^ *+' conftest.er1 >conftest.err
23291 rm -f conftest.er1
23292 cat conftest.err >&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); } && {
23295 test -z "$ac_cxx_werror_flag" ||
23296 test ! -s conftest.err
23297 } && test -s conftest.$ac_objext; then
23298 wx_cv_class_stdstring=yes
23299 else
23300 echo "$as_me: failed program was:" >&5
23301 sed 's/^/| /' conftest.$ac_ext >&5
23302
23303 wx_cv_class_stdstring=no
23304
23305 fi
23306
23307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23308
23309
23310 fi
23311 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23312 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23313
23314 if test "$wx_cv_class_stdstring" = yes; then
23315 if test "$wxUSE_UNICODE" = "yes"; then
23316 cat >>confdefs.h <<\_ACEOF
23317 #define HAVE_STD_WSTRING 1
23318 _ACEOF
23319
23320 fi
23321 else
23322 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23323 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23324 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23325 echo $ECHO_N "(cached) $ECHO_C" >&6
23326 else
23327
23328 cat >conftest.$ac_ext <<_ACEOF
23329 /* confdefs.h. */
23330 _ACEOF
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h. */
23334
23335 #ifdef HAVE_WCHAR_H
23336 # ifdef __CYGWIN__
23337 # include <stddef.h>
23338 # endif
23339 # include <wchar.h>
23340 #endif
23341 #ifdef HAVE_STDLIB_H
23342 # include <stdlib.h>
23343 #endif
23344 #include <stdio.h>
23345 #include <string>
23346
23347 int
23348 main ()
23349 {
23350 std::basic_string<$char_type> foo;
23351 const $char_type* dummy = foo.c_str();
23352 ;
23353 return 0;
23354 }
23355 _ACEOF
23356 rm -f conftest.$ac_objext
23357 if { (ac_try="$ac_compile"
23358 case "(($ac_try" in
23359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23360 *) ac_try_echo=$ac_try;;
23361 esac
23362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23363 (eval "$ac_compile") 2>conftest.er1
23364 ac_status=$?
23365 grep -v '^ *+' conftest.er1 >conftest.err
23366 rm -f conftest.er1
23367 cat conftest.err >&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); } && {
23370 test -z "$ac_cxx_werror_flag" ||
23371 test ! -s conftest.err
23372 } && test -s conftest.$ac_objext; then
23373 wx_cv_class_stdbasicstring=yes
23374 else
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23377
23378 wx_cv_class_stdbasicstring=no
23379
23380 fi
23381
23382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23383
23384
23385 fi
23386 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23387 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23388
23389 if test "$wx_cv_class_stdbasicstring" != yes; then
23390 if test "$wxUSE_STL" = "yes"; then
23391 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23392 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23393 { (exit 1); exit 1; }; }
23394 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23395 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23396 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23397 { (exit 1); exit 1; }; }
23398 else
23399 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23400 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23401 wxUSE_STD_STRING=no
23402 fi
23403 fi
23404 fi
23405 fi
23406
23407 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23408 { echo "$as_me:$LINENO: checking for std::istream" >&5
23409 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23410 if test "${ac_cv_type_std__istream+set}" = set; then
23411 echo $ECHO_N "(cached) $ECHO_C" >&6
23412 else
23413 cat >conftest.$ac_ext <<_ACEOF
23414 /* confdefs.h. */
23415 _ACEOF
23416 cat confdefs.h >>conftest.$ac_ext
23417 cat >>conftest.$ac_ext <<_ACEOF
23418 /* end confdefs.h. */
23419 #include <iostream>
23420
23421 typedef std::istream ac__type_new_;
23422 int
23423 main ()
23424 {
23425 if ((ac__type_new_ *) 0)
23426 return 0;
23427 if (sizeof (ac__type_new_))
23428 return 0;
23429 ;
23430 return 0;
23431 }
23432 _ACEOF
23433 rm -f conftest.$ac_objext
23434 if { (ac_try="$ac_compile"
23435 case "(($ac_try" in
23436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23437 *) ac_try_echo=$ac_try;;
23438 esac
23439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23440 (eval "$ac_compile") 2>conftest.er1
23441 ac_status=$?
23442 grep -v '^ *+' conftest.er1 >conftest.err
23443 rm -f conftest.er1
23444 cat conftest.err >&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } && {
23447 test -z "$ac_cxx_werror_flag" ||
23448 test ! -s conftest.err
23449 } && test -s conftest.$ac_objext; then
23450 ac_cv_type_std__istream=yes
23451 else
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455 ac_cv_type_std__istream=no
23456 fi
23457
23458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23459 fi
23460 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23461 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23462 if test $ac_cv_type_std__istream = yes; then
23463
23464 cat >>confdefs.h <<_ACEOF
23465 #define HAVE_STD__ISTREAM 1
23466 _ACEOF
23467
23468
23469 else
23470 wxUSE_STD_IOSTREAM=no
23471 fi
23472 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23473 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23474 if test "${ac_cv_type_std__ostream+set}" = set; then
23475 echo $ECHO_N "(cached) $ECHO_C" >&6
23476 else
23477 cat >conftest.$ac_ext <<_ACEOF
23478 /* confdefs.h. */
23479 _ACEOF
23480 cat confdefs.h >>conftest.$ac_ext
23481 cat >>conftest.$ac_ext <<_ACEOF
23482 /* end confdefs.h. */
23483 #include <iostream>
23484
23485 typedef std::ostream ac__type_new_;
23486 int
23487 main ()
23488 {
23489 if ((ac__type_new_ *) 0)
23490 return 0;
23491 if (sizeof (ac__type_new_))
23492 return 0;
23493 ;
23494 return 0;
23495 }
23496 _ACEOF
23497 rm -f conftest.$ac_objext
23498 if { (ac_try="$ac_compile"
23499 case "(($ac_try" in
23500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23501 *) ac_try_echo=$ac_try;;
23502 esac
23503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23504 (eval "$ac_compile") 2>conftest.er1
23505 ac_status=$?
23506 grep -v '^ *+' conftest.er1 >conftest.err
23507 rm -f conftest.er1
23508 cat conftest.err >&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); } && {
23511 test -z "$ac_cxx_werror_flag" ||
23512 test ! -s conftest.err
23513 } && test -s conftest.$ac_objext; then
23514 ac_cv_type_std__ostream=yes
23515 else
23516 echo "$as_me: failed program was:" >&5
23517 sed 's/^/| /' conftest.$ac_ext >&5
23518
23519 ac_cv_type_std__ostream=no
23520 fi
23521
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23523 fi
23524 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23525 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23526 if test $ac_cv_type_std__ostream = yes; then
23527
23528 cat >>confdefs.h <<_ACEOF
23529 #define HAVE_STD__OSTREAM 1
23530 _ACEOF
23531
23532
23533 else
23534 wxUSE_STD_IOSTREAM=no
23535 fi
23536
23537
23538 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23539 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23540 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23541 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23542 { (exit 1); exit 1; }; }
23543 else
23544 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23545 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23546 fi
23547 fi
23548 fi
23549
23550 if test "$wxUSE_STL" = "yes"; then
23551 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23552 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23553 if test "${wx_cv_lib_stl+set}" = set; then
23554 echo $ECHO_N "(cached) $ECHO_C" >&6
23555 else
23556 cat >conftest.$ac_ext <<_ACEOF
23557 /* confdefs.h. */
23558 _ACEOF
23559 cat confdefs.h >>conftest.$ac_ext
23560 cat >>conftest.$ac_ext <<_ACEOF
23561 /* end confdefs.h. */
23562 #include <string>
23563 #include <functional>
23564 #include <algorithm>
23565 #include <vector>
23566 #include <list>
23567 int
23568 main ()
23569 {
23570 std::vector<int> moo;
23571 std::list<int> foo;
23572 std::vector<int>::iterator it =
23573 std::find_if(moo.begin(), moo.end(),
23574 std::bind2nd(std::less<int>(), 3));
23575 ;
23576 return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext
23580 if { (ac_try="$ac_compile"
23581 case "(($ac_try" in
23582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23583 *) ac_try_echo=$ac_try;;
23584 esac
23585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23586 (eval "$ac_compile") 2>conftest.er1
23587 ac_status=$?
23588 grep -v '^ *+' conftest.er1 >conftest.err
23589 rm -f conftest.er1
23590 cat conftest.err >&5
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); } && {
23593 test -z "$ac_cxx_werror_flag" ||
23594 test ! -s conftest.err
23595 } && test -s conftest.$ac_objext; then
23596 wx_cv_lib_stl=yes
23597 else
23598 echo "$as_me: failed program was:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23600
23601 wx_cv_lib_stl=no
23602
23603 fi
23604
23605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23606
23607 fi
23608 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23609 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23610
23611 if test "$wx_cv_lib_stl" != yes; then
23612 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23613 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23614 { (exit 1); exit 1; }; }
23615 fi
23616
23617 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23618 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23619 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23620 echo $ECHO_N "(cached) $ECHO_C" >&6
23621 else
23622 cat >conftest.$ac_ext <<_ACEOF
23623 /* confdefs.h. */
23624 _ACEOF
23625 cat confdefs.h >>conftest.$ac_ext
23626 cat >>conftest.$ac_ext <<_ACEOF
23627 /* end confdefs.h. */
23628 #include <string>
23629 int
23630 main ()
23631 {
23632 std::string foo, bar;
23633 foo.compare(bar);
23634 foo.compare(1, 1, bar);
23635 foo.compare(1, 1, bar, 1, 1);
23636 foo.compare("");
23637 foo.compare(1, 1, "");
23638 foo.compare(1, 1, "", 2);
23639 ;
23640 return 0;
23641 }
23642 _ACEOF
23643 rm -f conftest.$ac_objext
23644 if { (ac_try="$ac_compile"
23645 case "(($ac_try" in
23646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23647 *) ac_try_echo=$ac_try;;
23648 esac
23649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23650 (eval "$ac_compile") 2>conftest.er1
23651 ac_status=$?
23652 grep -v '^ *+' conftest.er1 >conftest.err
23653 rm -f conftest.er1
23654 cat conftest.err >&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); } && {
23657 test -z "$ac_cxx_werror_flag" ||
23658 test ! -s conftest.err
23659 } && test -s conftest.$ac_objext; then
23660 wx_cv_func_stdstring_compare=yes
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23664
23665 wx_cv_func_stdstring_compare=no
23666
23667 fi
23668
23669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23670
23671 fi
23672 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23673 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23674
23675 if test "$wx_cv_func_stdstring_compare" = yes; then
23676 cat >>confdefs.h <<\_ACEOF
23677 #define HAVE_STD_STRING_COMPARE 1
23678 _ACEOF
23679
23680 fi
23681
23682 { echo "$as_me:$LINENO: checking for hash_map" >&5
23683 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23684 if test "${ac_cv_header_hash_map+set}" = set; then
23685 echo $ECHO_N "(cached) $ECHO_C" >&6
23686 else
23687 cat >conftest.$ac_ext <<_ACEOF
23688 /* confdefs.h. */
23689 _ACEOF
23690 cat confdefs.h >>conftest.$ac_ext
23691 cat >>conftest.$ac_ext <<_ACEOF
23692 /* end confdefs.h. */
23693
23694
23695
23696 #include <hash_map>
23697 _ACEOF
23698 rm -f conftest.$ac_objext
23699 if { (ac_try="$ac_compile"
23700 case "(($ac_try" in
23701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23702 *) ac_try_echo=$ac_try;;
23703 esac
23704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23705 (eval "$ac_compile") 2>conftest.er1
23706 ac_status=$?
23707 grep -v '^ *+' conftest.er1 >conftest.err
23708 rm -f conftest.er1
23709 cat conftest.err >&5
23710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711 (exit $ac_status); } && {
23712 test -z "$ac_cxx_werror_flag" ||
23713 test ! -s conftest.err
23714 } && test -s conftest.$ac_objext; then
23715 ac_cv_header_hash_map=yes
23716 else
23717 echo "$as_me: failed program was:" >&5
23718 sed 's/^/| /' conftest.$ac_ext >&5
23719
23720 ac_cv_header_hash_map=no
23721 fi
23722
23723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23724 fi
23725 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23726 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23727 if test $ac_cv_header_hash_map = yes; then
23728 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23729 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23730 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23731 echo $ECHO_N "(cached) $ECHO_C" >&6
23732 else
23733 cat >conftest.$ac_ext <<_ACEOF
23734 /* confdefs.h. */
23735 _ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739 #include <hash_map>
23740 #include <hash_set>
23741 int
23742 main ()
23743 {
23744 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23745 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23746 ;
23747 return 0;
23748 }
23749 _ACEOF
23750 rm -f conftest.$ac_objext
23751 if { (ac_try="$ac_compile"
23752 case "(($ac_try" in
23753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23754 *) ac_try_echo=$ac_try;;
23755 esac
23756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23757 (eval "$ac_compile") 2>conftest.er1
23758 ac_status=$?
23759 grep -v '^ *+' conftest.er1 >conftest.err
23760 rm -f conftest.er1
23761 cat conftest.err >&5
23762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23763 (exit $ac_status); } && {
23764 test -z "$ac_cxx_werror_flag" ||
23765 test ! -s conftest.err
23766 } && test -s conftest.$ac_objext; then
23767 wx_cv_class_stdhashmapset=yes
23768 else
23769 echo "$as_me: failed program was:" >&5
23770 sed 's/^/| /' conftest.$ac_ext >&5
23771
23772 wx_cv_class_stdhashmapset=no
23773 fi
23774
23775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23776
23777
23778 fi
23779 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23780 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23781 fi
23782
23783
23784
23785 if test "$wx_cv_class_stdhashmapset" = yes; then
23786 cat >>confdefs.h <<\_ACEOF
23787 #define HAVE_HASH_MAP 1
23788 _ACEOF
23789
23790 cat >>confdefs.h <<\_ACEOF
23791 #define HAVE_STD_HASH_MAP 1
23792 _ACEOF
23793
23794 fi
23795
23796 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23797 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23798 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23799 echo $ECHO_N "(cached) $ECHO_C" >&6
23800 else
23801 cat >conftest.$ac_ext <<_ACEOF
23802 /* confdefs.h. */
23803 _ACEOF
23804 cat confdefs.h >>conftest.$ac_ext
23805 cat >>conftest.$ac_ext <<_ACEOF
23806 /* end confdefs.h. */
23807
23808
23809
23810 #include <ext/hash_map>
23811 _ACEOF
23812 rm -f conftest.$ac_objext
23813 if { (ac_try="$ac_compile"
23814 case "(($ac_try" in
23815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23816 *) ac_try_echo=$ac_try;;
23817 esac
23818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23819 (eval "$ac_compile") 2>conftest.er1
23820 ac_status=$?
23821 grep -v '^ *+' conftest.er1 >conftest.err
23822 rm -f conftest.er1
23823 cat conftest.err >&5
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); } && {
23826 test -z "$ac_cxx_werror_flag" ||
23827 test ! -s conftest.err
23828 } && test -s conftest.$ac_objext; then
23829 ac_cv_header_ext_hash_map=yes
23830 else
23831 echo "$as_me: failed program was:" >&5
23832 sed 's/^/| /' conftest.$ac_ext >&5
23833
23834 ac_cv_header_ext_hash_map=no
23835 fi
23836
23837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23838 fi
23839 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23840 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23841 if test $ac_cv_header_ext_hash_map = yes; then
23842 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23843 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23844 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23846 else
23847 cat >conftest.$ac_ext <<_ACEOF
23848 /* confdefs.h. */
23849 _ACEOF
23850 cat confdefs.h >>conftest.$ac_ext
23851 cat >>conftest.$ac_ext <<_ACEOF
23852 /* end confdefs.h. */
23853 #include <ext/hash_map>
23854 #include <ext/hash_set>
23855 int
23856 main ()
23857 {
23858 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23859 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23860 ;
23861 return 0;
23862 }
23863 _ACEOF
23864 rm -f conftest.$ac_objext
23865 if { (ac_try="$ac_compile"
23866 case "(($ac_try" in
23867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23868 *) ac_try_echo=$ac_try;;
23869 esac
23870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23871 (eval "$ac_compile") 2>conftest.er1
23872 ac_status=$?
23873 grep -v '^ *+' conftest.er1 >conftest.err
23874 rm -f conftest.er1
23875 cat conftest.err >&5
23876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23877 (exit $ac_status); } && {
23878 test -z "$ac_cxx_werror_flag" ||
23879 test ! -s conftest.err
23880 } && test -s conftest.$ac_objext; then
23881 wx_cv_class_gnuhashmapset=yes
23882 else
23883 echo "$as_me: failed program was:" >&5
23884 sed 's/^/| /' conftest.$ac_ext >&5
23885
23886 wx_cv_class_gnuhashmapset=no
23887 fi
23888
23889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23890
23891
23892 fi
23893 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23894 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23895 fi
23896
23897
23898
23899 if test "$wx_cv_class_gnuhashmapset" = yes; then
23900 cat >>confdefs.h <<\_ACEOF
23901 #define HAVE_EXT_HASH_MAP 1
23902 _ACEOF
23903
23904 cat >>confdefs.h <<\_ACEOF
23905 #define HAVE_GNU_CXX_HASH_MAP 1
23906 _ACEOF
23907
23908 fi
23909 fi
23910
23911 ac_ext=c
23912 ac_cpp='$CPP $CPPFLAGS'
23913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23916
23917
23918
23919 SEARCH_INCLUDE="\
23920 /usr/local/include \
23921 \
23922 /usr/Motif-2.1/include \
23923 /usr/Motif-1.2/include \
23924 /usr/include/Motif1.2 \
23925 \
23926 /usr/dt/include \
23927 /usr/openwin/include \
23928 \
23929 /usr/include/Xm \
23930 \
23931 /usr/X11R6/include \
23932 /usr/X11R6.4/include \
23933 /usr/X11R5/include \
23934 /usr/X11R4/include \
23935 \
23936 /usr/include/X11R6 \
23937 /usr/include/X11R5 \
23938 /usr/include/X11R4 \
23939 \
23940 /usr/local/X11R6/include \
23941 /usr/local/X11R5/include \
23942 /usr/local/X11R4/include \
23943 \
23944 /usr/local/include/X11R6 \
23945 /usr/local/include/X11R5 \
23946 /usr/local/include/X11R4 \
23947 \
23948 /usr/X11/include \
23949 /usr/include/X11 \
23950 /usr/local/X11/include \
23951 /usr/local/include/X11 \
23952 \
23953 /usr/XFree86/include/X11 \
23954 /usr/pkg/include \
23955 \
23956 /usr/openwin/share/include"
23957
23958 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23959 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23960
23961 case "${host}" in
23962 *-*-irix6* )
23963 if test "${wx_cv_std_libpath+set}" = set; then
23964 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 else
23966
23967 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23968 for e in a so sl dylib dll.a; do
23969 libc="$d/libc.$e"
23970 if test -f $libc; then
23971 save_LIBS="$LIBS"
23972 LIBS="$libc"
23973 cat >conftest.$ac_ext <<_ACEOF
23974 int main() { return 0; }
23975 _ACEOF
23976 rm -f conftest.$ac_objext conftest$ac_exeext
23977 if { (ac_try="$ac_link"
23978 case "(($ac_try" in
23979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23980 *) ac_try_echo=$ac_try;;
23981 esac
23982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23983 (eval "$ac_link") 2>conftest.er1
23984 ac_status=$?
23985 grep -v '^ *+' conftest.er1 >conftest.err
23986 rm -f conftest.er1
23987 cat conftest.err >&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } && {
23990 test -z "$ac_c_werror_flag" ||
23991 test ! -s conftest.err
23992 } && test -s conftest$ac_exeext &&
23993 $as_test_x conftest$ac_exeext; then
23994 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23995 else
23996 echo "$as_me: failed program was:" >&5
23997 sed 's/^/| /' conftest.$ac_ext >&5
23998
23999
24000 fi
24001
24002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24003 conftest$ac_exeext conftest.$ac_ext
24004 LIBS="$save_LIBS"
24005 if test "x$wx_cv_std_libpath" != "x"; then
24006 break 2
24007 fi
24008 fi
24009 done
24010 done
24011 if test "x$wx_cv_std_libpath" = "x"; then
24012 wx_cv_std_libpath="lib"
24013 fi
24014
24015
24016 fi
24017
24018 ;;
24019
24020 *-*-solaris2* )
24021 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24022 wx_cv_std_libpath="lib/64"
24023 else
24024 wx_cv_std_libpath="lib"
24025 fi
24026 ;;
24027
24028 *-*-linux* )
24029 if test "$ac_cv_sizeof_void_p" = 8 -a \
24030 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24031 wx_cv_std_libpath="lib64"
24032 else
24033 wx_cv_std_libpath="lib"
24034 fi
24035 ;;
24036
24037 *)
24038 wx_cv_std_libpath="lib";
24039 ;;
24040 esac
24041
24042 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24043 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24044
24045 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24046
24047 if test "$build" != "$host" -a "$GCC" = yes; then
24048 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24049 cross_root=`dirname $cross_root`
24050 cross_root=`dirname $cross_root`
24051
24052 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24053 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24054 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24055
24056 if test -z "$PKG_CONFIG_PATH"; then
24057 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24058 export PKG_CONFIG_PATH
24059 fi
24060
24061 if test -z "$x_includes" -o "$x_includes" = NONE; then
24062
24063 ac_find_includes=
24064 for ac_dir in $SEARCH_INCLUDE /usr/include;
24065 do
24066 if test -f "$ac_dir/X11/Intrinsic.h"; then
24067 ac_find_includes=$ac_dir
24068 break
24069 fi
24070 done
24071
24072 x_includes=$ac_find_includes
24073 fi
24074 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24075
24076 ac_find_libraries=
24077 for ac_dir in $SEARCH_LIB;
24078 do
24079 for ac_extension in a so sl dylib dll.a; do
24080 if test -f "$ac_dir/libXt.$ac_extension"; then
24081 ac_find_libraries=$ac_dir
24082 break 2
24083 fi
24084 done
24085 done
24086
24087 x_libraries=$ac_find_libraries
24088 fi
24089 fi
24090 fi
24091
24092
24093 cat >confcache <<\_ACEOF
24094 # This file is a shell script that caches the results of configure
24095 # tests run on this system so they can be shared between configure
24096 # scripts and configure runs, see configure's option --config-cache.
24097 # It is not useful on other systems. If it contains results you don't
24098 # want to keep, you may remove or edit it.
24099 #
24100 # config.status only pays attention to the cache file if you give it
24101 # the --recheck option to rerun configure.
24102 #
24103 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24104 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24105 # following values.
24106
24107 _ACEOF
24108
24109 # The following way of writing the cache mishandles newlines in values,
24110 # but we know of no workaround that is simple, portable, and efficient.
24111 # So, we kill variables containing newlines.
24112 # Ultrix sh set writes to stderr and can't be redirected directly,
24113 # and sets the high bit in the cache file unless we assign to the vars.
24114 (
24115 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24116 eval ac_val=\$$ac_var
24117 case $ac_val in #(
24118 *${as_nl}*)
24119 case $ac_var in #(
24120 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24121 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24122 esac
24123 case $ac_var in #(
24124 _ | IFS | as_nl) ;; #(
24125 *) $as_unset $ac_var ;;
24126 esac ;;
24127 esac
24128 done
24129
24130 (set) 2>&1 |
24131 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24132 *${as_nl}ac_space=\ *)
24133 # `set' does not quote correctly, so add quotes (double-quote
24134 # substitution turns \\\\ into \\, and sed turns \\ into \).
24135 sed -n \
24136 "s/'/'\\\\''/g;
24137 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24138 ;; #(
24139 *)
24140 # `set' quotes correctly as required by POSIX, so do not add quotes.
24141 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24142 ;;
24143 esac |
24144 sort
24145 ) |
24146 sed '
24147 /^ac_cv_env_/b end
24148 t clear
24149 :clear
24150 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24151 t end
24152 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24153 :end' >>confcache
24154 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24155 if test -w "$cache_file"; then
24156 test "x$cache_file" != "x/dev/null" &&
24157 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24158 echo "$as_me: updating cache $cache_file" >&6;}
24159 cat confcache >$cache_file
24160 else
24161 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24162 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24163 fi
24164 fi
24165 rm -f confcache
24166
24167 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24168 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24169 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24170 if test "${wx_cv_lib_glibc21+set}" = set; then
24171 echo $ECHO_N "(cached) $ECHO_C" >&6
24172 else
24173
24174 cat >conftest.$ac_ext <<_ACEOF
24175 /* confdefs.h. */
24176 _ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24180 #include <features.h>
24181 int
24182 main ()
24183 {
24184
24185 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24186 not glibc 2.1
24187 #endif
24188
24189 ;
24190 return 0;
24191 }
24192 _ACEOF
24193 rm -f conftest.$ac_objext
24194 if { (ac_try="$ac_compile"
24195 case "(($ac_try" in
24196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24197 *) ac_try_echo=$ac_try;;
24198 esac
24199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24200 (eval "$ac_compile") 2>conftest.er1
24201 ac_status=$?
24202 grep -v '^ *+' conftest.er1 >conftest.err
24203 rm -f conftest.er1
24204 cat conftest.err >&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); } && {
24207 test -z "$ac_c_werror_flag" ||
24208 test ! -s conftest.err
24209 } && test -s conftest.$ac_objext; then
24210
24211 wx_cv_lib_glibc21=yes
24212
24213 else
24214 echo "$as_me: failed program was:" >&5
24215 sed 's/^/| /' conftest.$ac_ext >&5
24216
24217
24218 wx_cv_lib_glibc21=no
24219
24220
24221 fi
24222
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224
24225 fi
24226 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24227 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24228 if test "$wx_cv_lib_glibc21" = "yes"; then
24229 cat >>confdefs.h <<\_ACEOF
24230 #define wxHAVE_GLIBC2 1
24231 _ACEOF
24232
24233 fi
24234 fi
24235
24236 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24237 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24238 cat >>confdefs.h <<\_ACEOF
24239 #define _GNU_SOURCE 1
24240 _ACEOF
24241
24242 fi
24243 fi
24244
24245 have_cos=0
24246 have_floor=0
24247
24248 for ac_func in cos
24249 do
24250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24251 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24253 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24254 echo $ECHO_N "(cached) $ECHO_C" >&6
24255 else
24256 cat >conftest.$ac_ext <<_ACEOF
24257 /* confdefs.h. */
24258 _ACEOF
24259 cat confdefs.h >>conftest.$ac_ext
24260 cat >>conftest.$ac_ext <<_ACEOF
24261 /* end confdefs.h. */
24262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24264 #define $ac_func innocuous_$ac_func
24265
24266 /* System header to define __stub macros and hopefully few prototypes,
24267 which can conflict with char $ac_func (); below.
24268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24269 <limits.h> exists even on freestanding compilers. */
24270
24271 #ifdef __STDC__
24272 # include <limits.h>
24273 #else
24274 # include <assert.h>
24275 #endif
24276
24277 #undef $ac_func
24278
24279 /* Override any GCC internal prototype to avoid an error.
24280 Use char because int might match the return type of a GCC
24281 builtin and then its argument prototype would still apply. */
24282 #ifdef __cplusplus
24283 extern "C"
24284 #endif
24285 char $ac_func ();
24286 /* The GNU C library defines this for functions which it implements
24287 to always fail with ENOSYS. Some functions are actually named
24288 something starting with __ and the normal name is an alias. */
24289 #if defined __stub_$ac_func || defined __stub___$ac_func
24290 choke me
24291 #endif
24292
24293 int
24294 main ()
24295 {
24296 return $ac_func ();
24297 ;
24298 return 0;
24299 }
24300 _ACEOF
24301 rm -f conftest.$ac_objext conftest$ac_exeext
24302 if { (ac_try="$ac_link"
24303 case "(($ac_try" in
24304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24305 *) ac_try_echo=$ac_try;;
24306 esac
24307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24308 (eval "$ac_link") 2>conftest.er1
24309 ac_status=$?
24310 grep -v '^ *+' conftest.er1 >conftest.err
24311 rm -f conftest.er1
24312 cat conftest.err >&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } && {
24315 test -z "$ac_c_werror_flag" ||
24316 test ! -s conftest.err
24317 } && test -s conftest$ac_exeext &&
24318 $as_test_x conftest$ac_exeext; then
24319 eval "$as_ac_var=yes"
24320 else
24321 echo "$as_me: failed program was:" >&5
24322 sed 's/^/| /' conftest.$ac_ext >&5
24323
24324 eval "$as_ac_var=no"
24325 fi
24326
24327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24328 conftest$ac_exeext conftest.$ac_ext
24329 fi
24330 ac_res=`eval echo '${'$as_ac_var'}'`
24331 { echo "$as_me:$LINENO: result: $ac_res" >&5
24332 echo "${ECHO_T}$ac_res" >&6; }
24333 if test `eval echo '${'$as_ac_var'}'` = yes; then
24334 cat >>confdefs.h <<_ACEOF
24335 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24336 _ACEOF
24337 have_cos=1
24338 fi
24339 done
24340
24341
24342 for ac_func in floor
24343 do
24344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24345 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24347 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24348 echo $ECHO_N "(cached) $ECHO_C" >&6
24349 else
24350 cat >conftest.$ac_ext <<_ACEOF
24351 /* confdefs.h. */
24352 _ACEOF
24353 cat confdefs.h >>conftest.$ac_ext
24354 cat >>conftest.$ac_ext <<_ACEOF
24355 /* end confdefs.h. */
24356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24358 #define $ac_func innocuous_$ac_func
24359
24360 /* System header to define __stub macros and hopefully few prototypes,
24361 which can conflict with char $ac_func (); below.
24362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24363 <limits.h> exists even on freestanding compilers. */
24364
24365 #ifdef __STDC__
24366 # include <limits.h>
24367 #else
24368 # include <assert.h>
24369 #endif
24370
24371 #undef $ac_func
24372
24373 /* Override any GCC internal prototype to avoid an error.
24374 Use char because int might match the return type of a GCC
24375 builtin and then its argument prototype would still apply. */
24376 #ifdef __cplusplus
24377 extern "C"
24378 #endif
24379 char $ac_func ();
24380 /* The GNU C library defines this for functions which it implements
24381 to always fail with ENOSYS. Some functions are actually named
24382 something starting with __ and the normal name is an alias. */
24383 #if defined __stub_$ac_func || defined __stub___$ac_func
24384 choke me
24385 #endif
24386
24387 int
24388 main ()
24389 {
24390 return $ac_func ();
24391 ;
24392 return 0;
24393 }
24394 _ACEOF
24395 rm -f conftest.$ac_objext conftest$ac_exeext
24396 if { (ac_try="$ac_link"
24397 case "(($ac_try" in
24398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24399 *) ac_try_echo=$ac_try;;
24400 esac
24401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24402 (eval "$ac_link") 2>conftest.er1
24403 ac_status=$?
24404 grep -v '^ *+' conftest.er1 >conftest.err
24405 rm -f conftest.er1
24406 cat conftest.err >&5
24407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24408 (exit $ac_status); } && {
24409 test -z "$ac_c_werror_flag" ||
24410 test ! -s conftest.err
24411 } && test -s conftest$ac_exeext &&
24412 $as_test_x conftest$ac_exeext; then
24413 eval "$as_ac_var=yes"
24414 else
24415 echo "$as_me: failed program was:" >&5
24416 sed 's/^/| /' conftest.$ac_ext >&5
24417
24418 eval "$as_ac_var=no"
24419 fi
24420
24421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24422 conftest$ac_exeext conftest.$ac_ext
24423 fi
24424 ac_res=`eval echo '${'$as_ac_var'}'`
24425 { echo "$as_me:$LINENO: result: $ac_res" >&5
24426 echo "${ECHO_T}$ac_res" >&6; }
24427 if test `eval echo '${'$as_ac_var'}'` = yes; then
24428 cat >>confdefs.h <<_ACEOF
24429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24430 _ACEOF
24431 have_floor=1
24432 fi
24433 done
24434
24435 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24436 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24437 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24438 { echo "$as_me:$LINENO: result: yes" >&5
24439 echo "${ECHO_T}yes" >&6; }
24440 else
24441 { echo "$as_me:$LINENO: result: no" >&5
24442 echo "${ECHO_T}no" >&6; }
24443 LIBS="$LIBS -lm"
24444 # use different functions to avoid configure caching
24445 have_sin=0
24446 have_ceil=0
24447
24448 for ac_func in sin
24449 do
24450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24451 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24453 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24454 echo $ECHO_N "(cached) $ECHO_C" >&6
24455 else
24456 cat >conftest.$ac_ext <<_ACEOF
24457 /* confdefs.h. */
24458 _ACEOF
24459 cat confdefs.h >>conftest.$ac_ext
24460 cat >>conftest.$ac_ext <<_ACEOF
24461 /* end confdefs.h. */
24462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24464 #define $ac_func innocuous_$ac_func
24465
24466 /* System header to define __stub macros and hopefully few prototypes,
24467 which can conflict with char $ac_func (); below.
24468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24469 <limits.h> exists even on freestanding compilers. */
24470
24471 #ifdef __STDC__
24472 # include <limits.h>
24473 #else
24474 # include <assert.h>
24475 #endif
24476
24477 #undef $ac_func
24478
24479 /* Override any GCC internal prototype to avoid an error.
24480 Use char because int might match the return type of a GCC
24481 builtin and then its argument prototype would still apply. */
24482 #ifdef __cplusplus
24483 extern "C"
24484 #endif
24485 char $ac_func ();
24486 /* The GNU C library defines this for functions which it implements
24487 to always fail with ENOSYS. Some functions are actually named
24488 something starting with __ and the normal name is an alias. */
24489 #if defined __stub_$ac_func || defined __stub___$ac_func
24490 choke me
24491 #endif
24492
24493 int
24494 main ()
24495 {
24496 return $ac_func ();
24497 ;
24498 return 0;
24499 }
24500 _ACEOF
24501 rm -f conftest.$ac_objext conftest$ac_exeext
24502 if { (ac_try="$ac_link"
24503 case "(($ac_try" in
24504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24505 *) ac_try_echo=$ac_try;;
24506 esac
24507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24508 (eval "$ac_link") 2>conftest.er1
24509 ac_status=$?
24510 grep -v '^ *+' conftest.er1 >conftest.err
24511 rm -f conftest.er1
24512 cat conftest.err >&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } && {
24515 test -z "$ac_c_werror_flag" ||
24516 test ! -s conftest.err
24517 } && test -s conftest$ac_exeext &&
24518 $as_test_x conftest$ac_exeext; then
24519 eval "$as_ac_var=yes"
24520 else
24521 echo "$as_me: failed program was:" >&5
24522 sed 's/^/| /' conftest.$ac_ext >&5
24523
24524 eval "$as_ac_var=no"
24525 fi
24526
24527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24528 conftest$ac_exeext conftest.$ac_ext
24529 fi
24530 ac_res=`eval echo '${'$as_ac_var'}'`
24531 { echo "$as_me:$LINENO: result: $ac_res" >&5
24532 echo "${ECHO_T}$ac_res" >&6; }
24533 if test `eval echo '${'$as_ac_var'}'` = yes; then
24534 cat >>confdefs.h <<_ACEOF
24535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24536 _ACEOF
24537 have_sin=1
24538 fi
24539 done
24540
24541
24542 for ac_func in ceil
24543 do
24544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24545 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24547 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24548 echo $ECHO_N "(cached) $ECHO_C" >&6
24549 else
24550 cat >conftest.$ac_ext <<_ACEOF
24551 /* confdefs.h. */
24552 _ACEOF
24553 cat confdefs.h >>conftest.$ac_ext
24554 cat >>conftest.$ac_ext <<_ACEOF
24555 /* end confdefs.h. */
24556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24558 #define $ac_func innocuous_$ac_func
24559
24560 /* System header to define __stub macros and hopefully few prototypes,
24561 which can conflict with char $ac_func (); below.
24562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24563 <limits.h> exists even on freestanding compilers. */
24564
24565 #ifdef __STDC__
24566 # include <limits.h>
24567 #else
24568 # include <assert.h>
24569 #endif
24570
24571 #undef $ac_func
24572
24573 /* Override any GCC internal prototype to avoid an error.
24574 Use char because int might match the return type of a GCC
24575 builtin and then its argument prototype would still apply. */
24576 #ifdef __cplusplus
24577 extern "C"
24578 #endif
24579 char $ac_func ();
24580 /* The GNU C library defines this for functions which it implements
24581 to always fail with ENOSYS. Some functions are actually named
24582 something starting with __ and the normal name is an alias. */
24583 #if defined __stub_$ac_func || defined __stub___$ac_func
24584 choke me
24585 #endif
24586
24587 int
24588 main ()
24589 {
24590 return $ac_func ();
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 rm -f conftest.$ac_objext conftest$ac_exeext
24596 if { (ac_try="$ac_link"
24597 case "(($ac_try" in
24598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24599 *) ac_try_echo=$ac_try;;
24600 esac
24601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24602 (eval "$ac_link") 2>conftest.er1
24603 ac_status=$?
24604 grep -v '^ *+' conftest.er1 >conftest.err
24605 rm -f conftest.er1
24606 cat conftest.err >&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && {
24609 test -z "$ac_c_werror_flag" ||
24610 test ! -s conftest.err
24611 } && test -s conftest$ac_exeext &&
24612 $as_test_x conftest$ac_exeext; then
24613 eval "$as_ac_var=yes"
24614 else
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24617
24618 eval "$as_ac_var=no"
24619 fi
24620
24621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24622 conftest$ac_exeext conftest.$ac_ext
24623 fi
24624 ac_res=`eval echo '${'$as_ac_var'}'`
24625 { echo "$as_me:$LINENO: result: $ac_res" >&5
24626 echo "${ECHO_T}$ac_res" >&6; }
24627 if test `eval echo '${'$as_ac_var'}'` = yes; then
24628 cat >>confdefs.h <<_ACEOF
24629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24630 _ACEOF
24631 have_ceil=1
24632 fi
24633 done
24634
24635 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24636 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24637 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24638 { echo "$as_me:$LINENO: result: yes" >&5
24639 echo "${ECHO_T}yes" >&6; }
24640 else
24641 { echo "$as_me:$LINENO: result: no" >&5
24642 echo "${ECHO_T}no" >&6; }
24643 # not sure we should warn the user, crash, etc.
24644 fi
24645 fi
24646
24647 ac_ext=cpp
24648 ac_cpp='$CXXCPP $CPPFLAGS'
24649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24652
24653 if test "wxUSE_UNICODE" = "yes"; then
24654
24655 for wx_func in wcstoull
24656 do
24657 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24658 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24659 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24660 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 else
24662
24663 cat >conftest.$ac_ext <<_ACEOF
24664
24665 /* confdefs.h. */
24666 _ACEOF
24667 cat confdefs.h >>conftest.$ac_ext
24668 cat >>conftest.$ac_ext <<_ACEOF
24669 /* end confdefs.h. */
24670
24671
24672 $ac_includes_default
24673
24674 int
24675 main ()
24676 {
24677
24678 #ifndef $wx_func
24679 &$wx_func;
24680 #endif
24681
24682
24683 ;
24684 return 0;
24685 }
24686
24687 _ACEOF
24688 rm -f conftest.$ac_objext conftest$ac_exeext
24689 if { (ac_try="$ac_link"
24690 case "(($ac_try" in
24691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24692 *) ac_try_echo=$ac_try;;
24693 esac
24694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24695 (eval "$ac_link") 2>conftest.er1
24696 ac_status=$?
24697 grep -v '^ *+' conftest.er1 >conftest.err
24698 rm -f conftest.er1
24699 cat conftest.err >&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } && {
24702 test -z "$ac_cxx_werror_flag" ||
24703 test ! -s conftest.err
24704 } && test -s conftest$ac_exeext &&
24705 $as_test_x conftest$ac_exeext; then
24706 eval wx_cv_func_$wx_func=yes
24707 else
24708 echo "$as_me: failed program was:" >&5
24709 sed 's/^/| /' conftest.$ac_ext >&5
24710
24711 eval wx_cv_func_$wx_func=no
24712 fi
24713
24714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24715 conftest$ac_exeext conftest.$ac_ext
24716
24717 fi
24718 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24719 { echo "$as_me:$LINENO: result: $ac_res" >&5
24720 echo "${ECHO_T}$ac_res" >&6; }
24721
24722 if eval test \$wx_cv_func_$wx_func = yes
24723 then
24724 cat >>confdefs.h <<_ACEOF
24725 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24726 _ACEOF
24727
24728
24729 else
24730 :
24731
24732 fi
24733 done
24734
24735 else
24736
24737 for wx_func in strtoull
24738 do
24739 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24740 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24741 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24742 echo $ECHO_N "(cached) $ECHO_C" >&6
24743 else
24744
24745 cat >conftest.$ac_ext <<_ACEOF
24746
24747 /* confdefs.h. */
24748 _ACEOF
24749 cat confdefs.h >>conftest.$ac_ext
24750 cat >>conftest.$ac_ext <<_ACEOF
24751 /* end confdefs.h. */
24752
24753
24754 $ac_includes_default
24755
24756 int
24757 main ()
24758 {
24759
24760 #ifndef $wx_func
24761 &$wx_func;
24762 #endif
24763
24764
24765 ;
24766 return 0;
24767 }
24768
24769 _ACEOF
24770 rm -f conftest.$ac_objext conftest$ac_exeext
24771 if { (ac_try="$ac_link"
24772 case "(($ac_try" in
24773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24774 *) ac_try_echo=$ac_try;;
24775 esac
24776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24777 (eval "$ac_link") 2>conftest.er1
24778 ac_status=$?
24779 grep -v '^ *+' conftest.er1 >conftest.err
24780 rm -f conftest.er1
24781 cat conftest.err >&5
24782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24783 (exit $ac_status); } && {
24784 test -z "$ac_cxx_werror_flag" ||
24785 test ! -s conftest.err
24786 } && test -s conftest$ac_exeext &&
24787 $as_test_x conftest$ac_exeext; then
24788 eval wx_cv_func_$wx_func=yes
24789 else
24790 echo "$as_me: failed program was:" >&5
24791 sed 's/^/| /' conftest.$ac_ext >&5
24792
24793 eval wx_cv_func_$wx_func=no
24794 fi
24795
24796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24797 conftest$ac_exeext conftest.$ac_ext
24798
24799 fi
24800 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24801 { echo "$as_me:$LINENO: result: $ac_res" >&5
24802 echo "${ECHO_T}$ac_res" >&6; }
24803
24804 if eval test \$wx_cv_func_$wx_func = yes
24805 then
24806 cat >>confdefs.h <<_ACEOF
24807 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24808 _ACEOF
24809
24810
24811 else
24812 :
24813
24814 fi
24815 done
24816
24817 fi
24818 ac_ext=c
24819 ac_cpp='$CPP $CPPFLAGS'
24820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24823
24824
24825
24826
24827 if test "$wxUSE_REGEX" != "no"; then
24828 cat >>confdefs.h <<\_ACEOF
24829 #define wxUSE_REGEX 1
24830 _ACEOF
24831
24832
24833 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24834 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24835 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24836 wxUSE_REGEX=builtin
24837 fi
24838
24839 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24840 { echo "$as_me:$LINENO: checking for regex.h" >&5
24841 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24842 if test "${ac_cv_header_regex_h+set}" = set; then
24843 echo $ECHO_N "(cached) $ECHO_C" >&6
24844 else
24845 cat >conftest.$ac_ext <<_ACEOF
24846 /* confdefs.h. */
24847 _ACEOF
24848 cat confdefs.h >>conftest.$ac_ext
24849 cat >>conftest.$ac_ext <<_ACEOF
24850 /* end confdefs.h. */
24851
24852
24853 #include <regex.h>
24854 _ACEOF
24855 rm -f conftest.$ac_objext
24856 if { (ac_try="$ac_compile"
24857 case "(($ac_try" in
24858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24859 *) ac_try_echo=$ac_try;;
24860 esac
24861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24862 (eval "$ac_compile") 2>conftest.er1
24863 ac_status=$?
24864 grep -v '^ *+' conftest.er1 >conftest.err
24865 rm -f conftest.er1
24866 cat conftest.err >&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); } && {
24869 test -z "$ac_c_werror_flag" ||
24870 test ! -s conftest.err
24871 } && test -s conftest.$ac_objext; then
24872 ac_cv_header_regex_h=yes
24873 else
24874 echo "$as_me: failed program was:" >&5
24875 sed 's/^/| /' conftest.$ac_ext >&5
24876
24877 ac_cv_header_regex_h=no
24878 fi
24879
24880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24881 fi
24882 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24883 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24884 if test $ac_cv_header_regex_h = yes; then
24885
24886
24887 for ac_func in regcomp re_search
24888 do
24889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24894 else
24895 cat >conftest.$ac_ext <<_ACEOF
24896 /* confdefs.h. */
24897 _ACEOF
24898 cat confdefs.h >>conftest.$ac_ext
24899 cat >>conftest.$ac_ext <<_ACEOF
24900 /* end confdefs.h. */
24901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24903 #define $ac_func innocuous_$ac_func
24904
24905 /* System header to define __stub macros and hopefully few prototypes,
24906 which can conflict with char $ac_func (); below.
24907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24908 <limits.h> exists even on freestanding compilers. */
24909
24910 #ifdef __STDC__
24911 # include <limits.h>
24912 #else
24913 # include <assert.h>
24914 #endif
24915
24916 #undef $ac_func
24917
24918 /* Override any GCC internal prototype to avoid an error.
24919 Use char because int might match the return type of a GCC
24920 builtin and then its argument prototype would still apply. */
24921 #ifdef __cplusplus
24922 extern "C"
24923 #endif
24924 char $ac_func ();
24925 /* The GNU C library defines this for functions which it implements
24926 to always fail with ENOSYS. Some functions are actually named
24927 something starting with __ and the normal name is an alias. */
24928 #if defined __stub_$ac_func || defined __stub___$ac_func
24929 choke me
24930 #endif
24931
24932 int
24933 main ()
24934 {
24935 return $ac_func ();
24936 ;
24937 return 0;
24938 }
24939 _ACEOF
24940 rm -f conftest.$ac_objext conftest$ac_exeext
24941 if { (ac_try="$ac_link"
24942 case "(($ac_try" in
24943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24944 *) ac_try_echo=$ac_try;;
24945 esac
24946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24947 (eval "$ac_link") 2>conftest.er1
24948 ac_status=$?
24949 grep -v '^ *+' conftest.er1 >conftest.err
24950 rm -f conftest.er1
24951 cat conftest.err >&5
24952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24953 (exit $ac_status); } && {
24954 test -z "$ac_c_werror_flag" ||
24955 test ! -s conftest.err
24956 } && test -s conftest$ac_exeext &&
24957 $as_test_x conftest$ac_exeext; then
24958 eval "$as_ac_var=yes"
24959 else
24960 echo "$as_me: failed program was:" >&5
24961 sed 's/^/| /' conftest.$ac_ext >&5
24962
24963 eval "$as_ac_var=no"
24964 fi
24965
24966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24967 conftest$ac_exeext conftest.$ac_ext
24968 fi
24969 ac_res=`eval echo '${'$as_ac_var'}'`
24970 { echo "$as_me:$LINENO: result: $ac_res" >&5
24971 echo "${ECHO_T}$ac_res" >&6; }
24972 if test `eval echo '${'$as_ac_var'}'` = yes; then
24973 cat >>confdefs.h <<_ACEOF
24974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24975 _ACEOF
24976
24977 fi
24978 done
24979
24980 fi
24981
24982
24983
24984 if test "x$ac_cv_func_regcomp" != "xyes"; then
24985 if test "$wxUSE_REGEX" = "sys" ; then
24986 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24987 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24988 { (exit 1); exit 1; }; }
24989 else
24990 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24991 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24992 wxUSE_REGEX=builtin
24993 fi
24994 else
24995 wxUSE_REGEX=sys
24996 cat >>confdefs.h <<\_ACEOF
24997 #define WX_NO_REGEX_ADVANCED 1
24998 _ACEOF
24999
25000 fi
25001 fi
25002 fi
25003
25004
25005 ZLIB_LINK=
25006 if test "$wxUSE_ZLIB" != "no" ; then
25007 cat >>confdefs.h <<\_ACEOF
25008 #define wxUSE_ZLIB 1
25009 _ACEOF
25010
25011
25012 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25013 if test "$USE_DARWIN" = 1; then
25014 system_zlib_h_ok="yes"
25015 else
25016 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25017 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25018 if test "${ac_cv_header_zlib_h+set}" = set; then
25019 echo $ECHO_N "(cached) $ECHO_C" >&6
25020 else
25021 if test "$cross_compiling" = yes; then
25022 unset ac_cv_header_zlib_h
25023
25024 else
25025 cat >conftest.$ac_ext <<_ACEOF
25026 /* confdefs.h. */
25027 _ACEOF
25028 cat confdefs.h >>conftest.$ac_ext
25029 cat >>conftest.$ac_ext <<_ACEOF
25030 /* end confdefs.h. */
25031
25032 #include <zlib.h>
25033 #include <stdio.h>
25034
25035 int main()
25036 {
25037 FILE *f=fopen("conftestval", "w");
25038 if (!f) exit(1);
25039 fprintf(f, "%s",
25040 ZLIB_VERSION[0] == '1' &&
25041 (ZLIB_VERSION[2] > '1' ||
25042 (ZLIB_VERSION[2] == '1' &&
25043 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25044 exit(0);
25045 }
25046
25047 _ACEOF
25048 rm -f conftest$ac_exeext
25049 if { (ac_try="$ac_link"
25050 case "(($ac_try" in
25051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25052 *) ac_try_echo=$ac_try;;
25053 esac
25054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25055 (eval "$ac_link") 2>&5
25056 ac_status=$?
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25059 { (case "(($ac_try" in
25060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25061 *) ac_try_echo=$ac_try;;
25062 esac
25063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25064 (eval "$ac_try") 2>&5
25065 ac_status=$?
25066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25067 (exit $ac_status); }; }; then
25068 ac_cv_header_zlib_h=`cat conftestval`
25069 else
25070 echo "$as_me: program exited with status $ac_status" >&5
25071 echo "$as_me: failed program was:" >&5
25072 sed 's/^/| /' conftest.$ac_ext >&5
25073
25074 ( exit $ac_status )
25075 ac_cv_header_zlib_h=no
25076 fi
25077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25078 fi
25079
25080
25081
25082 fi
25083 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25084 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25085 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25086 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25087 if test "${ac_cv_header_zlib_h+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090 cat >conftest.$ac_ext <<_ACEOF
25091 /* confdefs.h. */
25092 _ACEOF
25093 cat confdefs.h >>conftest.$ac_ext
25094 cat >>conftest.$ac_ext <<_ACEOF
25095 /* end confdefs.h. */
25096
25097
25098 #include <zlib.h>
25099 _ACEOF
25100 rm -f conftest.$ac_objext
25101 if { (ac_try="$ac_compile"
25102 case "(($ac_try" in
25103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25104 *) ac_try_echo=$ac_try;;
25105 esac
25106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25107 (eval "$ac_compile") 2>conftest.er1
25108 ac_status=$?
25109 grep -v '^ *+' conftest.er1 >conftest.err
25110 rm -f conftest.er1
25111 cat conftest.err >&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); } && {
25114 test -z "$ac_c_werror_flag" ||
25115 test ! -s conftest.err
25116 } && test -s conftest.$ac_objext; then
25117 ac_cv_header_zlib_h=yes
25118 else
25119 echo "$as_me: failed program was:" >&5
25120 sed 's/^/| /' conftest.$ac_ext >&5
25121
25122 ac_cv_header_zlib_h=no
25123 fi
25124
25125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25126 fi
25127 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25128 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25129
25130
25131
25132 system_zlib_h_ok=$ac_cv_header_zlib_h
25133 fi
25134
25135 if test "$system_zlib_h_ok" = "yes"; then
25136 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25137 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25138 if test "${ac_cv_lib_z_deflate+set}" = set; then
25139 echo $ECHO_N "(cached) $ECHO_C" >&6
25140 else
25141 ac_check_lib_save_LIBS=$LIBS
25142 LIBS="-lz $LIBS"
25143 cat >conftest.$ac_ext <<_ACEOF
25144 /* confdefs.h. */
25145 _ACEOF
25146 cat confdefs.h >>conftest.$ac_ext
25147 cat >>conftest.$ac_ext <<_ACEOF
25148 /* end confdefs.h. */
25149
25150 /* Override any GCC internal prototype to avoid an error.
25151 Use char because int might match the return type of a GCC
25152 builtin and then its argument prototype would still apply. */
25153 #ifdef __cplusplus
25154 extern "C"
25155 #endif
25156 char deflate ();
25157 int
25158 main ()
25159 {
25160 return deflate ();
25161 ;
25162 return 0;
25163 }
25164 _ACEOF
25165 rm -f conftest.$ac_objext conftest$ac_exeext
25166 if { (ac_try="$ac_link"
25167 case "(($ac_try" in
25168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25169 *) ac_try_echo=$ac_try;;
25170 esac
25171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25172 (eval "$ac_link") 2>conftest.er1
25173 ac_status=$?
25174 grep -v '^ *+' conftest.er1 >conftest.err
25175 rm -f conftest.er1
25176 cat conftest.err >&5
25177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25178 (exit $ac_status); } && {
25179 test -z "$ac_c_werror_flag" ||
25180 test ! -s conftest.err
25181 } && test -s conftest$ac_exeext &&
25182 $as_test_x conftest$ac_exeext; then
25183 ac_cv_lib_z_deflate=yes
25184 else
25185 echo "$as_me: failed program was:" >&5
25186 sed 's/^/| /' conftest.$ac_ext >&5
25187
25188 ac_cv_lib_z_deflate=no
25189 fi
25190
25191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25192 conftest$ac_exeext conftest.$ac_ext
25193 LIBS=$ac_check_lib_save_LIBS
25194 fi
25195 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25196 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25197 if test $ac_cv_lib_z_deflate = yes; then
25198 ZLIB_LINK=" -lz"
25199 fi
25200
25201 fi
25202
25203 if test "x$ZLIB_LINK" = "x" ; then
25204 if test "$wxUSE_ZLIB" = "sys" ; then
25205 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25206 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25207 { (exit 1); exit 1; }; }
25208 else
25209 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25210 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25211 wxUSE_ZLIB=builtin
25212 fi
25213 else
25214 wxUSE_ZLIB=sys
25215 fi
25216 fi
25217 fi
25218
25219
25220 PNG_LINK=
25221 if test "$wxUSE_LIBPNG" != "no" ; then
25222 cat >>confdefs.h <<\_ACEOF
25223 #define wxUSE_LIBPNG 1
25224 _ACEOF
25225
25226
25227 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25228 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25229 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25230 wxUSE_LIBPNG=sys
25231 fi
25232
25233 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25234 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25235 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25236 wxUSE_LIBPNG=builtin
25237 fi
25238
25239 if test "$wxUSE_MGL" != 1 ; then
25240 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25241 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25242 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25243 if test "${ac_cv_header_png_h+set}" = set; then
25244 echo $ECHO_N "(cached) $ECHO_C" >&6
25245 else
25246 if test "$cross_compiling" = yes; then
25247 unset ac_cv_header_png_h
25248
25249 else
25250 cat >conftest.$ac_ext <<_ACEOF
25251 /* confdefs.h. */
25252 _ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256
25257 #include <png.h>
25258 #include <stdio.h>
25259
25260 int main()
25261 {
25262 FILE *f=fopen("conftestval", "w");
25263 if (!f) exit(1);
25264 fprintf(f, "%s",
25265 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25266 exit(0);
25267 }
25268
25269 _ACEOF
25270 rm -f conftest$ac_exeext
25271 if { (ac_try="$ac_link"
25272 case "(($ac_try" in
25273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25274 *) ac_try_echo=$ac_try;;
25275 esac
25276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25277 (eval "$ac_link") 2>&5
25278 ac_status=$?
25279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25280 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25281 { (case "(($ac_try" in
25282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25283 *) ac_try_echo=$ac_try;;
25284 esac
25285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25286 (eval "$ac_try") 2>&5
25287 ac_status=$?
25288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25289 (exit $ac_status); }; }; then
25290 ac_cv_header_png_h=`cat conftestval`
25291 else
25292 echo "$as_me: program exited with status $ac_status" >&5
25293 echo "$as_me: failed program was:" >&5
25294 sed 's/^/| /' conftest.$ac_ext >&5
25295
25296 ( exit $ac_status )
25297 ac_cv_header_png_h=no
25298 fi
25299 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25300 fi
25301
25302
25303
25304 fi
25305 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25306 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25307 { echo "$as_me:$LINENO: checking for png.h" >&5
25308 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25309 if test "${ac_cv_header_png_h+set}" = set; then
25310 echo $ECHO_N "(cached) $ECHO_C" >&6
25311 else
25312 cat >conftest.$ac_ext <<_ACEOF
25313 /* confdefs.h. */
25314 _ACEOF
25315 cat confdefs.h >>conftest.$ac_ext
25316 cat >>conftest.$ac_ext <<_ACEOF
25317 /* end confdefs.h. */
25318
25319
25320 #include <png.h>
25321 _ACEOF
25322 rm -f conftest.$ac_objext
25323 if { (ac_try="$ac_compile"
25324 case "(($ac_try" in
25325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25326 *) ac_try_echo=$ac_try;;
25327 esac
25328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25329 (eval "$ac_compile") 2>conftest.er1
25330 ac_status=$?
25331 grep -v '^ *+' conftest.er1 >conftest.err
25332 rm -f conftest.er1
25333 cat conftest.err >&5
25334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25335 (exit $ac_status); } && {
25336 test -z "$ac_c_werror_flag" ||
25337 test ! -s conftest.err
25338 } && test -s conftest.$ac_objext; then
25339 ac_cv_header_png_h=yes
25340 else
25341 echo "$as_me: failed program was:" >&5
25342 sed 's/^/| /' conftest.$ac_ext >&5
25343
25344 ac_cv_header_png_h=no
25345 fi
25346
25347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25348 fi
25349 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25350 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25351
25352
25353
25354 if test "$ac_cv_header_png_h" = "yes"; then
25355 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25356 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25357 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25358 echo $ECHO_N "(cached) $ECHO_C" >&6
25359 else
25360 ac_check_lib_save_LIBS=$LIBS
25361 LIBS="-lpng -lz -lm $LIBS"
25362 cat >conftest.$ac_ext <<_ACEOF
25363 /* confdefs.h. */
25364 _ACEOF
25365 cat confdefs.h >>conftest.$ac_ext
25366 cat >>conftest.$ac_ext <<_ACEOF
25367 /* end confdefs.h. */
25368
25369 /* Override any GCC internal prototype to avoid an error.
25370 Use char because int might match the return type of a GCC
25371 builtin and then its argument prototype would still apply. */
25372 #ifdef __cplusplus
25373 extern "C"
25374 #endif
25375 char png_check_sig ();
25376 int
25377 main ()
25378 {
25379 return png_check_sig ();
25380 ;
25381 return 0;
25382 }
25383 _ACEOF
25384 rm -f conftest.$ac_objext conftest$ac_exeext
25385 if { (ac_try="$ac_link"
25386 case "(($ac_try" in
25387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25388 *) ac_try_echo=$ac_try;;
25389 esac
25390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25391 (eval "$ac_link") 2>conftest.er1
25392 ac_status=$?
25393 grep -v '^ *+' conftest.er1 >conftest.err
25394 rm -f conftest.er1
25395 cat conftest.err >&5
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); } && {
25398 test -z "$ac_c_werror_flag" ||
25399 test ! -s conftest.err
25400 } && test -s conftest$ac_exeext &&
25401 $as_test_x conftest$ac_exeext; then
25402 ac_cv_lib_png_png_check_sig=yes
25403 else
25404 echo "$as_me: failed program was:" >&5
25405 sed 's/^/| /' conftest.$ac_ext >&5
25406
25407 ac_cv_lib_png_png_check_sig=no
25408 fi
25409
25410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25411 conftest$ac_exeext conftest.$ac_ext
25412 LIBS=$ac_check_lib_save_LIBS
25413 fi
25414 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25415 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25416 if test $ac_cv_lib_png_png_check_sig = yes; then
25417 PNG_LINK=" -lpng -lz"
25418 fi
25419
25420 fi
25421
25422 if test "x$PNG_LINK" = "x" ; then
25423 if test "$wxUSE_LIBPNG" = "sys" ; then
25424 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25425 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25426 { (exit 1); exit 1; }; }
25427 else
25428 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25429 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25430 wxUSE_LIBPNG=builtin
25431 fi
25432 else
25433 wxUSE_LIBPNG=sys
25434 fi
25435 fi
25436 fi
25437
25438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25439 fi
25440
25441
25442 JPEG_LINK=
25443 if test "$wxUSE_LIBJPEG" != "no" ; then
25444 cat >>confdefs.h <<\_ACEOF
25445 #define wxUSE_LIBJPEG 1
25446 _ACEOF
25447
25448
25449 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25450 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25451 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25452 wxUSE_LIBJPEG=sys
25453 fi
25454
25455 if test "$wxUSE_MGL" != 1 ; then
25456 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25457 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25458 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25459 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25460 echo $ECHO_N "(cached) $ECHO_C" >&6
25461 else
25462 cat >conftest.$ac_ext <<_ACEOF
25463 /* confdefs.h. */
25464 _ACEOF
25465 cat confdefs.h >>conftest.$ac_ext
25466 cat >>conftest.$ac_ext <<_ACEOF
25467 /* end confdefs.h. */
25468
25469 #undef HAVE_STDLIB_H
25470 #include <stdio.h>
25471 #include <jpeglib.h>
25472
25473 int
25474 main ()
25475 {
25476
25477
25478 ;
25479 return 0;
25480 }
25481 _ACEOF
25482 rm -f conftest.$ac_objext
25483 if { (ac_try="$ac_compile"
25484 case "(($ac_try" in
25485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25486 *) ac_try_echo=$ac_try;;
25487 esac
25488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25489 (eval "$ac_compile") 2>conftest.er1
25490 ac_status=$?
25491 grep -v '^ *+' conftest.er1 >conftest.err
25492 rm -f conftest.er1
25493 cat conftest.err >&5
25494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25495 (exit $ac_status); } && {
25496 test -z "$ac_c_werror_flag" ||
25497 test ! -s conftest.err
25498 } && test -s conftest.$ac_objext; then
25499 ac_cv_header_jpeglib_h=yes
25500 else
25501 echo "$as_me: failed program was:" >&5
25502 sed 's/^/| /' conftest.$ac_ext >&5
25503
25504 ac_cv_header_jpeglib_h=no
25505
25506 fi
25507
25508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25509
25510 fi
25511
25512 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25513 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25514
25515 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25516 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25517 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25518 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25519 echo $ECHO_N "(cached) $ECHO_C" >&6
25520 else
25521 ac_check_lib_save_LIBS=$LIBS
25522 LIBS="-ljpeg $LIBS"
25523 cat >conftest.$ac_ext <<_ACEOF
25524 /* confdefs.h. */
25525 _ACEOF
25526 cat confdefs.h >>conftest.$ac_ext
25527 cat >>conftest.$ac_ext <<_ACEOF
25528 /* end confdefs.h. */
25529
25530 /* Override any GCC internal prototype to avoid an error.
25531 Use char because int might match the return type of a GCC
25532 builtin and then its argument prototype would still apply. */
25533 #ifdef __cplusplus
25534 extern "C"
25535 #endif
25536 char jpeg_read_header ();
25537 int
25538 main ()
25539 {
25540 return jpeg_read_header ();
25541 ;
25542 return 0;
25543 }
25544 _ACEOF
25545 rm -f conftest.$ac_objext conftest$ac_exeext
25546 if { (ac_try="$ac_link"
25547 case "(($ac_try" in
25548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25549 *) ac_try_echo=$ac_try;;
25550 esac
25551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25552 (eval "$ac_link") 2>conftest.er1
25553 ac_status=$?
25554 grep -v '^ *+' conftest.er1 >conftest.err
25555 rm -f conftest.er1
25556 cat conftest.err >&5
25557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25558 (exit $ac_status); } && {
25559 test -z "$ac_c_werror_flag" ||
25560 test ! -s conftest.err
25561 } && test -s conftest$ac_exeext &&
25562 $as_test_x conftest$ac_exeext; then
25563 ac_cv_lib_jpeg_jpeg_read_header=yes
25564 else
25565 echo "$as_me: failed program was:" >&5
25566 sed 's/^/| /' conftest.$ac_ext >&5
25567
25568 ac_cv_lib_jpeg_jpeg_read_header=no
25569 fi
25570
25571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25572 conftest$ac_exeext conftest.$ac_ext
25573 LIBS=$ac_check_lib_save_LIBS
25574 fi
25575 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25576 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25577 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25578 JPEG_LINK=" -ljpeg"
25579 fi
25580
25581 fi
25582
25583 if test "x$JPEG_LINK" = "x" ; then
25584 if test "$wxUSE_LIBJPEG" = "sys" ; then
25585 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25586 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25587 { (exit 1); exit 1; }; }
25588 else
25589 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25590 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25591 wxUSE_LIBJPEG=builtin
25592 fi
25593 else
25594 wxUSE_LIBJPEG=sys
25595
25596 if test "$wxUSE_MSW" = 1; then
25597 { echo "$as_me:$LINENO: checking for boolean" >&5
25598 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25599 if test "${ac_cv_type_boolean+set}" = set; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25601 else
25602 cat >conftest.$ac_ext <<_ACEOF
25603 /* confdefs.h. */
25604 _ACEOF
25605 cat confdefs.h >>conftest.$ac_ext
25606 cat >>conftest.$ac_ext <<_ACEOF
25607 /* end confdefs.h. */
25608 #include <windows.h>
25609
25610 typedef boolean ac__type_new_;
25611 int
25612 main ()
25613 {
25614 if ((ac__type_new_ *) 0)
25615 return 0;
25616 if (sizeof (ac__type_new_))
25617 return 0;
25618 ;
25619 return 0;
25620 }
25621 _ACEOF
25622 rm -f conftest.$ac_objext
25623 if { (ac_try="$ac_compile"
25624 case "(($ac_try" in
25625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25626 *) ac_try_echo=$ac_try;;
25627 esac
25628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25629 (eval "$ac_compile") 2>conftest.er1
25630 ac_status=$?
25631 grep -v '^ *+' conftest.er1 >conftest.err
25632 rm -f conftest.er1
25633 cat conftest.err >&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } && {
25636 test -z "$ac_c_werror_flag" ||
25637 test ! -s conftest.err
25638 } && test -s conftest.$ac_objext; then
25639 ac_cv_type_boolean=yes
25640 else
25641 echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.$ac_ext >&5
25643
25644 ac_cv_type_boolean=no
25645 fi
25646
25647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25648 fi
25649 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25650 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25651 if test $ac_cv_type_boolean = yes; then
25652
25653 cat >>confdefs.h <<_ACEOF
25654 #define HAVE_BOOLEAN 1
25655 _ACEOF
25656
25657
25658 { echo "$as_me:$LINENO: checking for boolean" >&5
25659 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25660 if test "${ac_cv_type_boolean+set}" = set; then
25661 echo $ECHO_N "(cached) $ECHO_C" >&6
25662 else
25663 cat >conftest.$ac_ext <<_ACEOF
25664 /* confdefs.h. */
25665 _ACEOF
25666 cat confdefs.h >>conftest.$ac_ext
25667 cat >>conftest.$ac_ext <<_ACEOF
25668 /* end confdefs.h. */
25669
25670 #undef HAVE_BOOLEAN
25671 #include <stdio.h>
25672 #include <jpeglib.h>
25673
25674
25675 typedef boolean ac__type_new_;
25676 int
25677 main ()
25678 {
25679 if ((ac__type_new_ *) 0)
25680 return 0;
25681 if (sizeof (ac__type_new_))
25682 return 0;
25683 ;
25684 return 0;
25685 }
25686 _ACEOF
25687 rm -f conftest.$ac_objext
25688 if { (ac_try="$ac_compile"
25689 case "(($ac_try" in
25690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25691 *) ac_try_echo=$ac_try;;
25692 esac
25693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25694 (eval "$ac_compile") 2>conftest.er1
25695 ac_status=$?
25696 grep -v '^ *+' conftest.er1 >conftest.err
25697 rm -f conftest.er1
25698 cat conftest.err >&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); } && {
25701 test -z "$ac_c_werror_flag" ||
25702 test ! -s conftest.err
25703 } && test -s conftest.$ac_objext; then
25704 ac_cv_type_boolean=yes
25705 else
25706 echo "$as_me: failed program was:" >&5
25707 sed 's/^/| /' conftest.$ac_ext >&5
25708
25709 ac_cv_type_boolean=no
25710 fi
25711
25712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25713 fi
25714 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25715 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25716
25717 # The cast to long int works around a bug in the HP C Compiler
25718 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25719 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25720 # This bug is HP SR number 8606223364.
25721 { echo "$as_me:$LINENO: checking size of boolean" >&5
25722 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25723 if test "${ac_cv_sizeof_boolean+set}" = set; then
25724 echo $ECHO_N "(cached) $ECHO_C" >&6
25725 else
25726 if test "$cross_compiling" = yes; then
25727 # Depending upon the size, compute the lo and hi bounds.
25728 cat >conftest.$ac_ext <<_ACEOF
25729 /* confdefs.h. */
25730 _ACEOF
25731 cat confdefs.h >>conftest.$ac_ext
25732 cat >>conftest.$ac_ext <<_ACEOF
25733 /* end confdefs.h. */
25734
25735 #undef HAVE_BOOLEAN
25736 #include <stdio.h>
25737 #include <jpeglib.h>
25738
25739
25740 typedef boolean ac__type_sizeof_;
25741 int
25742 main ()
25743 {
25744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25745 test_array [0] = 0
25746
25747 ;
25748 return 0;
25749 }
25750 _ACEOF
25751 rm -f conftest.$ac_objext
25752 if { (ac_try="$ac_compile"
25753 case "(($ac_try" in
25754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25755 *) ac_try_echo=$ac_try;;
25756 esac
25757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25758 (eval "$ac_compile") 2>conftest.er1
25759 ac_status=$?
25760 grep -v '^ *+' conftest.er1 >conftest.err
25761 rm -f conftest.er1
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } && {
25765 test -z "$ac_c_werror_flag" ||
25766 test ! -s conftest.err
25767 } && test -s conftest.$ac_objext; then
25768 ac_lo=0 ac_mid=0
25769 while :; do
25770 cat >conftest.$ac_ext <<_ACEOF
25771 /* confdefs.h. */
25772 _ACEOF
25773 cat confdefs.h >>conftest.$ac_ext
25774 cat >>conftest.$ac_ext <<_ACEOF
25775 /* end confdefs.h. */
25776
25777 #undef HAVE_BOOLEAN
25778 #include <stdio.h>
25779 #include <jpeglib.h>
25780
25781
25782 typedef boolean ac__type_sizeof_;
25783 int
25784 main ()
25785 {
25786 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25787 test_array [0] = 0
25788
25789 ;
25790 return 0;
25791 }
25792 _ACEOF
25793 rm -f conftest.$ac_objext
25794 if { (ac_try="$ac_compile"
25795 case "(($ac_try" in
25796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25797 *) ac_try_echo=$ac_try;;
25798 esac
25799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25800 (eval "$ac_compile") 2>conftest.er1
25801 ac_status=$?
25802 grep -v '^ *+' conftest.er1 >conftest.err
25803 rm -f conftest.er1
25804 cat conftest.err >&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); } && {
25807 test -z "$ac_c_werror_flag" ||
25808 test ! -s conftest.err
25809 } && test -s conftest.$ac_objext; then
25810 ac_hi=$ac_mid; break
25811 else
25812 echo "$as_me: failed program was:" >&5
25813 sed 's/^/| /' conftest.$ac_ext >&5
25814
25815 ac_lo=`expr $ac_mid + 1`
25816 if test $ac_lo -le $ac_mid; then
25817 ac_lo= ac_hi=
25818 break
25819 fi
25820 ac_mid=`expr 2 '*' $ac_mid + 1`
25821 fi
25822
25823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25824 done
25825 else
25826 echo "$as_me: failed program was:" >&5
25827 sed 's/^/| /' conftest.$ac_ext >&5
25828
25829 cat >conftest.$ac_ext <<_ACEOF
25830 /* confdefs.h. */
25831 _ACEOF
25832 cat confdefs.h >>conftest.$ac_ext
25833 cat >>conftest.$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25835
25836 #undef HAVE_BOOLEAN
25837 #include <stdio.h>
25838 #include <jpeglib.h>
25839
25840
25841 typedef boolean ac__type_sizeof_;
25842 int
25843 main ()
25844 {
25845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25846 test_array [0] = 0
25847
25848 ;
25849 return 0;
25850 }
25851 _ACEOF
25852 rm -f conftest.$ac_objext
25853 if { (ac_try="$ac_compile"
25854 case "(($ac_try" in
25855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25856 *) ac_try_echo=$ac_try;;
25857 esac
25858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25859 (eval "$ac_compile") 2>conftest.er1
25860 ac_status=$?
25861 grep -v '^ *+' conftest.er1 >conftest.err
25862 rm -f conftest.er1
25863 cat conftest.err >&5
25864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25865 (exit $ac_status); } && {
25866 test -z "$ac_c_werror_flag" ||
25867 test ! -s conftest.err
25868 } && test -s conftest.$ac_objext; then
25869 ac_hi=-1 ac_mid=-1
25870 while :; do
25871 cat >conftest.$ac_ext <<_ACEOF
25872 /* confdefs.h. */
25873 _ACEOF
25874 cat confdefs.h >>conftest.$ac_ext
25875 cat >>conftest.$ac_ext <<_ACEOF
25876 /* end confdefs.h. */
25877
25878 #undef HAVE_BOOLEAN
25879 #include <stdio.h>
25880 #include <jpeglib.h>
25881
25882
25883 typedef boolean ac__type_sizeof_;
25884 int
25885 main ()
25886 {
25887 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25888 test_array [0] = 0
25889
25890 ;
25891 return 0;
25892 }
25893 _ACEOF
25894 rm -f conftest.$ac_objext
25895 if { (ac_try="$ac_compile"
25896 case "(($ac_try" in
25897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25898 *) ac_try_echo=$ac_try;;
25899 esac
25900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25901 (eval "$ac_compile") 2>conftest.er1
25902 ac_status=$?
25903 grep -v '^ *+' conftest.er1 >conftest.err
25904 rm -f conftest.er1
25905 cat conftest.err >&5
25906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25907 (exit $ac_status); } && {
25908 test -z "$ac_c_werror_flag" ||
25909 test ! -s conftest.err
25910 } && test -s conftest.$ac_objext; then
25911 ac_lo=$ac_mid; break
25912 else
25913 echo "$as_me: failed program was:" >&5
25914 sed 's/^/| /' conftest.$ac_ext >&5
25915
25916 ac_hi=`expr '(' $ac_mid ')' - 1`
25917 if test $ac_mid -le $ac_hi; then
25918 ac_lo= ac_hi=
25919 break
25920 fi
25921 ac_mid=`expr 2 '*' $ac_mid`
25922 fi
25923
25924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25925 done
25926 else
25927 echo "$as_me: failed program was:" >&5
25928 sed 's/^/| /' conftest.$ac_ext >&5
25929
25930 ac_lo= ac_hi=
25931 fi
25932
25933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25934 fi
25935
25936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25937 # Binary search between lo and hi bounds.
25938 while test "x$ac_lo" != "x$ac_hi"; do
25939 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25940 cat >conftest.$ac_ext <<_ACEOF
25941 /* confdefs.h. */
25942 _ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25946
25947 #undef HAVE_BOOLEAN
25948 #include <stdio.h>
25949 #include <jpeglib.h>
25950
25951
25952 typedef boolean ac__type_sizeof_;
25953 int
25954 main ()
25955 {
25956 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25957 test_array [0] = 0
25958
25959 ;
25960 return 0;
25961 }
25962 _ACEOF
25963 rm -f conftest.$ac_objext
25964 if { (ac_try="$ac_compile"
25965 case "(($ac_try" in
25966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25967 *) ac_try_echo=$ac_try;;
25968 esac
25969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25970 (eval "$ac_compile") 2>conftest.er1
25971 ac_status=$?
25972 grep -v '^ *+' conftest.er1 >conftest.err
25973 rm -f conftest.er1
25974 cat conftest.err >&5
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); } && {
25977 test -z "$ac_c_werror_flag" ||
25978 test ! -s conftest.err
25979 } && test -s conftest.$ac_objext; then
25980 ac_hi=$ac_mid
25981 else
25982 echo "$as_me: failed program was:" >&5
25983 sed 's/^/| /' conftest.$ac_ext >&5
25984
25985 ac_lo=`expr '(' $ac_mid ')' + 1`
25986 fi
25987
25988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25989 done
25990 case $ac_lo in
25991 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25992 '') if test "$ac_cv_type_boolean" = yes; then
25993 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25994 See \`config.log' for more details." >&5
25995 echo "$as_me: error: cannot compute sizeof (boolean)
25996 See \`config.log' for more details." >&2;}
25997 { (exit 77); exit 77; }; }
25998 else
25999 ac_cv_sizeof_boolean=0
26000 fi ;;
26001 esac
26002 else
26003 cat >conftest.$ac_ext <<_ACEOF
26004 /* confdefs.h. */
26005 _ACEOF
26006 cat confdefs.h >>conftest.$ac_ext
26007 cat >>conftest.$ac_ext <<_ACEOF
26008 /* end confdefs.h. */
26009
26010 #undef HAVE_BOOLEAN
26011 #include <stdio.h>
26012 #include <jpeglib.h>
26013
26014
26015 typedef boolean ac__type_sizeof_;
26016 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26017 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26018 #include <stdio.h>
26019 #include <stdlib.h>
26020 int
26021 main ()
26022 {
26023
26024 FILE *f = fopen ("conftest.val", "w");
26025 if (! f)
26026 return 1;
26027 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26028 {
26029 long int i = longval ();
26030 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26031 return 1;
26032 fprintf (f, "%ld\n", i);
26033 }
26034 else
26035 {
26036 unsigned long int i = ulongval ();
26037 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26038 return 1;
26039 fprintf (f, "%lu\n", i);
26040 }
26041 return ferror (f) || fclose (f) != 0;
26042
26043 ;
26044 return 0;
26045 }
26046 _ACEOF
26047 rm -f conftest$ac_exeext
26048 if { (ac_try="$ac_link"
26049 case "(($ac_try" in
26050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26051 *) ac_try_echo=$ac_try;;
26052 esac
26053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26054 (eval "$ac_link") 2>&5
26055 ac_status=$?
26056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26058 { (case "(($ac_try" in
26059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26060 *) ac_try_echo=$ac_try;;
26061 esac
26062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26063 (eval "$ac_try") 2>&5
26064 ac_status=$?
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); }; }; then
26067 ac_cv_sizeof_boolean=`cat conftest.val`
26068 else
26069 echo "$as_me: program exited with status $ac_status" >&5
26070 echo "$as_me: failed program was:" >&5
26071 sed 's/^/| /' conftest.$ac_ext >&5
26072
26073 ( exit $ac_status )
26074 if test "$ac_cv_type_boolean" = yes; then
26075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26076 See \`config.log' for more details." >&5
26077 echo "$as_me: error: cannot compute sizeof (boolean)
26078 See \`config.log' for more details." >&2;}
26079 { (exit 77); exit 77; }; }
26080 else
26081 ac_cv_sizeof_boolean=0
26082 fi
26083 fi
26084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26085 fi
26086 rm -f conftest.val
26087 fi
26088 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26089 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26090
26091
26092
26093 cat >>confdefs.h <<_ACEOF
26094 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26095 _ACEOF
26096
26097
26098 cat >>confdefs.h <<_ACEOF
26099 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26100 _ACEOF
26101
26102
26103 fi
26104
26105 fi
26106 fi
26107 fi
26108 fi
26109 fi
26110
26111
26112 TIFF_LINK=
26113 TIFF_PREREQ_LINKS=-lm
26114 if test "$wxUSE_LIBTIFF" != "no" ; then
26115 cat >>confdefs.h <<\_ACEOF
26116 #define wxUSE_LIBTIFF 1
26117 _ACEOF
26118
26119
26120 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26121 if test "$wxUSE_LIBJPEG" = "sys"; then
26122 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26123 fi
26124 if test "$wxUSE_ZLIB" = "sys"; then
26125 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26126 fi
26127 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26128 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26129 if test "${ac_cv_header_tiffio_h+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132 cat >conftest.$ac_ext <<_ACEOF
26133 /* confdefs.h. */
26134 _ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138
26139
26140
26141 #include <tiffio.h>
26142 _ACEOF
26143 rm -f conftest.$ac_objext
26144 if { (ac_try="$ac_compile"
26145 case "(($ac_try" in
26146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26147 *) ac_try_echo=$ac_try;;
26148 esac
26149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26150 (eval "$ac_compile") 2>conftest.er1
26151 ac_status=$?
26152 grep -v '^ *+' conftest.er1 >conftest.err
26153 rm -f conftest.er1
26154 cat conftest.err >&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); } && {
26157 test -z "$ac_c_werror_flag" ||
26158 test ! -s conftest.err
26159 } && test -s conftest.$ac_objext; then
26160 ac_cv_header_tiffio_h=yes
26161 else
26162 echo "$as_me: failed program was:" >&5
26163 sed 's/^/| /' conftest.$ac_ext >&5
26164
26165 ac_cv_header_tiffio_h=no
26166 fi
26167
26168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26169 fi
26170 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26171 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26172 if test $ac_cv_header_tiffio_h = yes; then
26173
26174 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26175 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26176 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26177 echo $ECHO_N "(cached) $ECHO_C" >&6
26178 else
26179 ac_check_lib_save_LIBS=$LIBS
26180 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26181 cat >conftest.$ac_ext <<_ACEOF
26182 /* confdefs.h. */
26183 _ACEOF
26184 cat confdefs.h >>conftest.$ac_ext
26185 cat >>conftest.$ac_ext <<_ACEOF
26186 /* end confdefs.h. */
26187
26188 /* Override any GCC internal prototype to avoid an error.
26189 Use char because int might match the return type of a GCC
26190 builtin and then its argument prototype would still apply. */
26191 #ifdef __cplusplus
26192 extern "C"
26193 #endif
26194 char TIFFError ();
26195 int
26196 main ()
26197 {
26198 return TIFFError ();
26199 ;
26200 return 0;
26201 }
26202 _ACEOF
26203 rm -f conftest.$ac_objext conftest$ac_exeext
26204 if { (ac_try="$ac_link"
26205 case "(($ac_try" in
26206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26207 *) ac_try_echo=$ac_try;;
26208 esac
26209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26210 (eval "$ac_link") 2>conftest.er1
26211 ac_status=$?
26212 grep -v '^ *+' conftest.er1 >conftest.err
26213 rm -f conftest.er1
26214 cat conftest.err >&5
26215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26216 (exit $ac_status); } && {
26217 test -z "$ac_c_werror_flag" ||
26218 test ! -s conftest.err
26219 } && test -s conftest$ac_exeext &&
26220 $as_test_x conftest$ac_exeext; then
26221 ac_cv_lib_tiff_TIFFError=yes
26222 else
26223 echo "$as_me: failed program was:" >&5
26224 sed 's/^/| /' conftest.$ac_ext >&5
26225
26226 ac_cv_lib_tiff_TIFFError=no
26227 fi
26228
26229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26230 conftest$ac_exeext conftest.$ac_ext
26231 LIBS=$ac_check_lib_save_LIBS
26232 fi
26233 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26234 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26235 if test $ac_cv_lib_tiff_TIFFError = yes; then
26236 TIFF_LINK=" -ltiff"
26237 fi
26238
26239
26240 fi
26241
26242
26243
26244 if test "x$TIFF_LINK" = "x" ; then
26245 if test "$wxUSE_LIBTIFF" = "sys" ; then
26246 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26247 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26248 { (exit 1); exit 1; }; }
26249 else
26250 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26251 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26252 wxUSE_LIBTIFF=builtin
26253 fi
26254 else
26255 wxUSE_LIBTIFF=sys
26256 fi
26257 fi
26258 fi
26259
26260
26261 if test "$wxUSE_WCHAR_T" != "yes"; then
26262 if test "$wxUSE_EXPAT" != "no"; then
26263 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26264 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26265 wxUSE_EXPAT=no
26266 fi
26267 if test "$wxUSE_XML" != "no"; then
26268 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26269 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26270 wxUSE_XML=no
26271 fi
26272 fi
26273
26274 if test "$wxUSE_EXPAT" != "no"; then
26275 wxUSE_XML=yes
26276 cat >>confdefs.h <<\_ACEOF
26277 #define wxUSE_EXPAT 1
26278 _ACEOF
26279
26280 cat >>confdefs.h <<\_ACEOF
26281 #define wxUSE_XML 1
26282 _ACEOF
26283
26284
26285 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26286 { echo "$as_me:$LINENO: checking for expat.h" >&5
26287 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26288 if test "${ac_cv_header_expat_h+set}" = set; then
26289 echo $ECHO_N "(cached) $ECHO_C" >&6
26290 else
26291 cat >conftest.$ac_ext <<_ACEOF
26292 /* confdefs.h. */
26293 _ACEOF
26294 cat confdefs.h >>conftest.$ac_ext
26295 cat >>conftest.$ac_ext <<_ACEOF
26296 /* end confdefs.h. */
26297
26298
26299 #include <expat.h>
26300 _ACEOF
26301 rm -f conftest.$ac_objext
26302 if { (ac_try="$ac_compile"
26303 case "(($ac_try" in
26304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26305 *) ac_try_echo=$ac_try;;
26306 esac
26307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26308 (eval "$ac_compile") 2>conftest.er1
26309 ac_status=$?
26310 grep -v '^ *+' conftest.er1 >conftest.err
26311 rm -f conftest.er1
26312 cat conftest.err >&5
26313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26314 (exit $ac_status); } && {
26315 test -z "$ac_c_werror_flag" ||
26316 test ! -s conftest.err
26317 } && test -s conftest.$ac_objext; then
26318 ac_cv_header_expat_h=yes
26319 else
26320 echo "$as_me: failed program was:" >&5
26321 sed 's/^/| /' conftest.$ac_ext >&5
26322
26323 ac_cv_header_expat_h=no
26324 fi
26325
26326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26327 fi
26328 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26329 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26330 if test $ac_cv_header_expat_h = yes; then
26331 found_expat_h=1
26332 fi
26333
26334
26335 if test "x$found_expat_h" = "x1"; then
26336 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26337 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26338 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26340 else
26341
26342 ac_ext=cpp
26343 ac_cpp='$CXXCPP $CPPFLAGS'
26344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26347
26348 cat >conftest.$ac_ext <<_ACEOF
26349 /* confdefs.h. */
26350 _ACEOF
26351 cat confdefs.h >>conftest.$ac_ext
26352 cat >>conftest.$ac_ext <<_ACEOF
26353 /* end confdefs.h. */
26354 #include <expat.h>
26355 int
26356 main ()
26357 {
26358
26359 ;
26360 return 0;
26361 }
26362 _ACEOF
26363 rm -f conftest.$ac_objext
26364 if { (ac_try="$ac_compile"
26365 case "(($ac_try" in
26366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26367 *) ac_try_echo=$ac_try;;
26368 esac
26369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26370 (eval "$ac_compile") 2>conftest.er1
26371 ac_status=$?
26372 grep -v '^ *+' conftest.er1 >conftest.err
26373 rm -f conftest.er1
26374 cat conftest.err >&5
26375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26376 (exit $ac_status); } && {
26377 test -z "$ac_cxx_werror_flag" ||
26378 test ! -s conftest.err
26379 } && test -s conftest.$ac_objext; then
26380 wx_cv_expat_is_not_broken=yes
26381 else
26382 echo "$as_me: failed program was:" >&5
26383 sed 's/^/| /' conftest.$ac_ext >&5
26384
26385 wx_cv_expat_is_not_broken=no
26386
26387 fi
26388
26389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26390 ac_ext=c
26391 ac_cpp='$CPP $CPPFLAGS'
26392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26395
26396
26397
26398 fi
26399 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26400 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26401 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26402 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26403 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26404 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26405 echo $ECHO_N "(cached) $ECHO_C" >&6
26406 else
26407 ac_check_lib_save_LIBS=$LIBS
26408 LIBS="-lexpat $LIBS"
26409 cat >conftest.$ac_ext <<_ACEOF
26410 /* confdefs.h. */
26411 _ACEOF
26412 cat confdefs.h >>conftest.$ac_ext
26413 cat >>conftest.$ac_ext <<_ACEOF
26414 /* end confdefs.h. */
26415
26416 /* Override any GCC internal prototype to avoid an error.
26417 Use char because int might match the return type of a GCC
26418 builtin and then its argument prototype would still apply. */
26419 #ifdef __cplusplus
26420 extern "C"
26421 #endif
26422 char XML_ParserCreate ();
26423 int
26424 main ()
26425 {
26426 return XML_ParserCreate ();
26427 ;
26428 return 0;
26429 }
26430 _ACEOF
26431 rm -f conftest.$ac_objext conftest$ac_exeext
26432 if { (ac_try="$ac_link"
26433 case "(($ac_try" in
26434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26435 *) ac_try_echo=$ac_try;;
26436 esac
26437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26438 (eval "$ac_link") 2>conftest.er1
26439 ac_status=$?
26440 grep -v '^ *+' conftest.er1 >conftest.err
26441 rm -f conftest.er1
26442 cat conftest.err >&5
26443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26444 (exit $ac_status); } && {
26445 test -z "$ac_c_werror_flag" ||
26446 test ! -s conftest.err
26447 } && test -s conftest$ac_exeext &&
26448 $as_test_x conftest$ac_exeext; then
26449 ac_cv_lib_expat_XML_ParserCreate=yes
26450 else
26451 echo "$as_me: failed program was:" >&5
26452 sed 's/^/| /' conftest.$ac_ext >&5
26453
26454 ac_cv_lib_expat_XML_ParserCreate=no
26455 fi
26456
26457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26458 conftest$ac_exeext conftest.$ac_ext
26459 LIBS=$ac_check_lib_save_LIBS
26460 fi
26461 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26462 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26463 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26464 EXPAT_LINK=" -lexpat"
26465 fi
26466
26467 fi
26468 fi
26469 if test "x$EXPAT_LINK" = "x" ; then
26470 if test "$wxUSE_EXPAT" = "sys" ; then
26471 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26472 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26473 { (exit 1); exit 1; }; }
26474 else
26475 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26476 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26477 wxUSE_EXPAT=builtin
26478 fi
26479 else
26480 wxUSE_EXPAT=sys
26481 fi
26482 fi
26483 if test "$wxUSE_EXPAT" = "builtin" ; then
26484 subdirs="$subdirs src/expat"
26485
26486 fi
26487 fi
26488
26489
26490
26491 if test "$wxUSE_LIBMSPACK" != "no"; then
26492 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26493 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26494 if test "${ac_cv_header_mspack_h+set}" = set; then
26495 echo $ECHO_N "(cached) $ECHO_C" >&6
26496 else
26497 cat >conftest.$ac_ext <<_ACEOF
26498 /* confdefs.h. */
26499 _ACEOF
26500 cat confdefs.h >>conftest.$ac_ext
26501 cat >>conftest.$ac_ext <<_ACEOF
26502 /* end confdefs.h. */
26503
26504
26505 #include <mspack.h>
26506 _ACEOF
26507 rm -f conftest.$ac_objext
26508 if { (ac_try="$ac_compile"
26509 case "(($ac_try" in
26510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26511 *) ac_try_echo=$ac_try;;
26512 esac
26513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26514 (eval "$ac_compile") 2>conftest.er1
26515 ac_status=$?
26516 grep -v '^ *+' conftest.er1 >conftest.err
26517 rm -f conftest.er1
26518 cat conftest.err >&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); } && {
26521 test -z "$ac_c_werror_flag" ||
26522 test ! -s conftest.err
26523 } && test -s conftest.$ac_objext; then
26524 ac_cv_header_mspack_h=yes
26525 else
26526 echo "$as_me: failed program was:" >&5
26527 sed 's/^/| /' conftest.$ac_ext >&5
26528
26529 ac_cv_header_mspack_h=no
26530 fi
26531
26532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26533 fi
26534 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26535 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26536 if test $ac_cv_header_mspack_h = yes; then
26537 found_mspack_h=1
26538 fi
26539
26540
26541 if test "x$found_mspack_h" = "x1"; then
26542 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26543 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26544 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26545 echo $ECHO_N "(cached) $ECHO_C" >&6
26546 else
26547 ac_check_lib_save_LIBS=$LIBS
26548 LIBS="-lmspack $LIBS"
26549 cat >conftest.$ac_ext <<_ACEOF
26550 /* confdefs.h. */
26551 _ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26555
26556 /* Override any GCC internal prototype to avoid an error.
26557 Use char because int might match the return type of a GCC
26558 builtin and then its argument prototype would still apply. */
26559 #ifdef __cplusplus
26560 extern "C"
26561 #endif
26562 char mspack_create_chm_decompressor ();
26563 int
26564 main ()
26565 {
26566 return mspack_create_chm_decompressor ();
26567 ;
26568 return 0;
26569 }
26570 _ACEOF
26571 rm -f conftest.$ac_objext conftest$ac_exeext
26572 if { (ac_try="$ac_link"
26573 case "(($ac_try" in
26574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26575 *) ac_try_echo=$ac_try;;
26576 esac
26577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26578 (eval "$ac_link") 2>conftest.er1
26579 ac_status=$?
26580 grep -v '^ *+' conftest.er1 >conftest.err
26581 rm -f conftest.er1
26582 cat conftest.err >&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } && {
26585 test -z "$ac_c_werror_flag" ||
26586 test ! -s conftest.err
26587 } && test -s conftest$ac_exeext &&
26588 $as_test_x conftest$ac_exeext; then
26589 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26590 else
26591 echo "$as_me: failed program was:" >&5
26592 sed 's/^/| /' conftest.$ac_ext >&5
26593
26594 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26595 fi
26596
26597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26598 conftest$ac_exeext conftest.$ac_ext
26599 LIBS=$ac_check_lib_save_LIBS
26600 fi
26601 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26602 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26603 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26604 MSPACK_LINK=" -lmspack"
26605 fi
26606
26607 fi
26608 if test "x$MSPACK_LINK" = "x" ; then
26609 wxUSE_LIBMSPACK=no
26610 fi
26611 fi
26612
26613 if test "$wxUSE_LIBMSPACK" != "no"; then
26614 cat >>confdefs.h <<\_ACEOF
26615 #define wxUSE_LIBMSPACK 1
26616 _ACEOF
26617
26618 fi
26619
26620
26621
26622 AFMINSTALL=
26623 WIN32INSTALL=
26624
26625 TOOLKIT=
26626 TOOLKIT_INCLUDE=
26627 WIDGET_SET=
26628
26629 if test "$USE_WIN32" = 1 ; then
26630 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26631 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26632 if test "${ac_cv_header_w32api_h+set}" = set; then
26633 echo $ECHO_N "(cached) $ECHO_C" >&6
26634 else
26635 cat >conftest.$ac_ext <<_ACEOF
26636 /* confdefs.h. */
26637 _ACEOF
26638 cat confdefs.h >>conftest.$ac_ext
26639 cat >>conftest.$ac_ext <<_ACEOF
26640 /* end confdefs.h. */
26641
26642
26643 #include <w32api.h>
26644 _ACEOF
26645 rm -f conftest.$ac_objext
26646 if { (ac_try="$ac_compile"
26647 case "(($ac_try" in
26648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26649 *) ac_try_echo=$ac_try;;
26650 esac
26651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26652 (eval "$ac_compile") 2>conftest.er1
26653 ac_status=$?
26654 grep -v '^ *+' conftest.er1 >conftest.err
26655 rm -f conftest.er1
26656 cat conftest.err >&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } && {
26659 test -z "$ac_c_werror_flag" ||
26660 test ! -s conftest.err
26661 } && test -s conftest.$ac_objext; then
26662 ac_cv_header_w32api_h=yes
26663 else
26664 echo "$as_me: failed program was:" >&5
26665 sed 's/^/| /' conftest.$ac_ext >&5
26666
26667 ac_cv_header_w32api_h=no
26668 fi
26669
26670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26671 fi
26672 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26673 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26674
26675
26676 { echo "$as_me:$LINENO: checking for windows.h" >&5
26677 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26678 if test "${ac_cv_header_windows_h+set}" = set; then
26679 echo $ECHO_N "(cached) $ECHO_C" >&6
26680 else
26681 cat >conftest.$ac_ext <<_ACEOF
26682 /* confdefs.h. */
26683 _ACEOF
26684 cat confdefs.h >>conftest.$ac_ext
26685 cat >>conftest.$ac_ext <<_ACEOF
26686 /* end confdefs.h. */
26687
26688
26689 #include <windows.h>
26690 _ACEOF
26691 rm -f conftest.$ac_objext
26692 if { (ac_try="$ac_compile"
26693 case "(($ac_try" in
26694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26695 *) ac_try_echo=$ac_try;;
26696 esac
26697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26698 (eval "$ac_compile") 2>conftest.er1
26699 ac_status=$?
26700 grep -v '^ *+' conftest.er1 >conftest.err
26701 rm -f conftest.er1
26702 cat conftest.err >&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); } && {
26705 test -z "$ac_c_werror_flag" ||
26706 test ! -s conftest.err
26707 } && test -s conftest.$ac_objext; then
26708 ac_cv_header_windows_h=yes
26709 else
26710 echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.$ac_ext >&5
26712
26713 ac_cv_header_windows_h=no
26714 fi
26715
26716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26717 fi
26718 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26719 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26720 if test $ac_cv_header_windows_h = yes; then
26721 :
26722 else
26723
26724 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26725 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26726 { (exit 1); exit 1; }; }
26727
26728 fi
26729
26730
26731
26732 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26733
26734 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26735 LIBS="$LIBS -loleacc"
26736 fi
26737
26738 case "${host}" in
26739 *-*-cygwin* )
26740 LIBS="$LIBS -lkernel32 -luser32"
26741 esac
26742
26743 if test "$wxUSE_ODBC" = "sys" ; then
26744 wxUSE_ODBC = "yes"
26745 fi
26746 if test "$wxUSE_ODBC" = "yes" ; then
26747 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26748 cat >>confdefs.h <<\_ACEOF
26749 #define wxUSE_ODBC 1
26750 _ACEOF
26751
26752 fi
26753
26754 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26755 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26756
26757 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26758
26759 WIN32INSTALL=win32install
26760
26761 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26762 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26763 if test "${ac_cv_header_pbt_h+set}" = set; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 else
26766 cat >conftest.$ac_ext <<_ACEOF
26767 /* confdefs.h. */
26768 _ACEOF
26769 cat confdefs.h >>conftest.$ac_ext
26770 cat >>conftest.$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772
26773
26774 #include <pbt.h>
26775 _ACEOF
26776 rm -f conftest.$ac_objext
26777 if { (ac_try="$ac_compile"
26778 case "(($ac_try" in
26779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26780 *) ac_try_echo=$ac_try;;
26781 esac
26782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26783 (eval "$ac_compile") 2>conftest.er1
26784 ac_status=$?
26785 grep -v '^ *+' conftest.er1 >conftest.err
26786 rm -f conftest.er1
26787 cat conftest.err >&5
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); } && {
26790 test -z "$ac_c_werror_flag" ||
26791 test ! -s conftest.err
26792 } && test -s conftest.$ac_objext; then
26793 ac_cv_header_pbt_h=yes
26794 else
26795 echo "$as_me: failed program was:" >&5
26796 sed 's/^/| /' conftest.$ac_ext >&5
26797
26798 ac_cv_header_pbt_h=no
26799 fi
26800
26801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26802 fi
26803 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26804 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26805 if test $ac_cv_header_pbt_h = yes; then
26806 :
26807 else
26808 cat >>confdefs.h <<\_ACEOF
26809 #define NEED_PBT_H 1
26810 _ACEOF
26811
26812 fi
26813
26814
26815 fi
26816
26817 if test "$wxUSE_GUI" = "yes"; then
26818 USE_GUI=1
26819
26820 GUI_TK_LIBRARY=
26821
26822 WXGTK12=
26823 WXGTK127=
26824 WXGTK20=
26825 WXGPE=
26826
26827 if test "$wxUSE_COCOA" = 1 ; then
26828 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26829 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26830 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26831 wxUSE_PRINTING_ARCHITECTURE=no
26832 fi
26833 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26834 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26835 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26836 wxUSE_DRAG_AND_DROP=no
26837 fi
26838 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26839 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26840 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26841 wxUSE_DRAGIMAGE=no
26842 fi
26843 fi
26844
26845 if test "$wxUSE_MSW" = 1 ; then
26846 TOOLKIT=MSW
26847 GUIDIST=MSW_DIST
26848
26849 case "${host}" in
26850 *-*-mingw32* )
26851 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26852 esac
26853 fi
26854
26855 if test "$wxUSE_GTK" = 1; then
26856 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26857 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26858
26859 gtk_version_cached=1
26860 if test "${wx_cv_lib_gtk+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26863
26864 gtk_version_cached=0
26865 { echo "$as_me:$LINENO: result: " >&5
26866 echo "${ECHO_T}" >&6; }
26867
26868 GTK_MODULES=
26869 if test "$wxUSE_THREADS" = "yes"; then
26870 GTK_MODULES=gthread
26871 fi
26872
26873 wx_cv_lib_gtk=
26874 if test "x$wxGTK_VERSION" != "x1"
26875 then
26876 case "${host}" in
26877 *-*-solaris2* )
26878 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26879 enable_gtktest=no
26880 fi
26881 esac
26882
26883 # Check whether --enable-gtktest was given.
26884 if test "${enable_gtktest+set}" = set; then
26885 enableval=$enable_gtktest;
26886 else
26887 enable_gtktest=yes
26888 fi
26889
26890
26891 pkg_config_args=gtk+-2.0
26892 for module in . $GTK_MODULES
26893 do
26894 case "$module" in
26895 gthread)
26896 pkg_config_args="$pkg_config_args gthread-2.0"
26897 ;;
26898 esac
26899 done
26900
26901 no_gtk=""
26902
26903 # Extract the first word of "pkg-config", so it can be a program name with args.
26904 set dummy pkg-config; ac_word=$2
26905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26907 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26908 echo $ECHO_N "(cached) $ECHO_C" >&6
26909 else
26910 case $PKG_CONFIG in
26911 [\\/]* | ?:[\\/]*)
26912 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26913 ;;
26914 *)
26915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26916 for as_dir in $PATH
26917 do
26918 IFS=$as_save_IFS
26919 test -z "$as_dir" && as_dir=.
26920 for ac_exec_ext in '' $ac_executable_extensions; do
26921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26922 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26924 break 2
26925 fi
26926 done
26927 done
26928 IFS=$as_save_IFS
26929
26930 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26931 ;;
26932 esac
26933 fi
26934 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26935 if test -n "$PKG_CONFIG"; then
26936 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26937 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26938 else
26939 { echo "$as_me:$LINENO: result: no" >&5
26940 echo "${ECHO_T}no" >&6; }
26941 fi
26942
26943
26944
26945 if test x$PKG_CONFIG != xno ; then
26946 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26947 :
26948 else
26949 echo "*** pkg-config too old; version 0.7 or better required."
26950 no_gtk=yes
26951 PKG_CONFIG=no
26952 fi
26953 else
26954 no_gtk=yes
26955 fi
26956
26957 min_gtk_version=2.0.0
26958 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26959 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
26960
26961 if test x$PKG_CONFIG != xno ; then
26962 ## don't try to run the test against uninstalled libtool libs
26963 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26964 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26965 enable_gtktest=no
26966 fi
26967
26968 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26969 :
26970 else
26971 no_gtk=yes
26972 fi
26973 fi
26974
26975 if test x"$no_gtk" = x ; then
26976 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26977 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26978 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26979 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26980 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26981 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26982 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26983 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26984 if test "x$enable_gtktest" = "xyes" ; then
26985 ac_save_CFLAGS="$CFLAGS"
26986 ac_save_LIBS="$LIBS"
26987 CFLAGS="$CFLAGS $GTK_CFLAGS"
26988 LIBS="$GTK_LIBS $LIBS"
26989 rm -f conf.gtktest
26990 if test "$cross_compiling" = yes; then
26991 echo $ac_n "cross compiling; assumed OK... $ac_c"
26992 else
26993 cat >conftest.$ac_ext <<_ACEOF
26994 /* confdefs.h. */
26995 _ACEOF
26996 cat confdefs.h >>conftest.$ac_ext
26997 cat >>conftest.$ac_ext <<_ACEOF
26998 /* end confdefs.h. */
26999
27000 #include <gtk/gtk.h>
27001 #include <stdio.h>
27002 #include <stdlib.h>
27003
27004 int
27005 main ()
27006 {
27007 int major, minor, micro;
27008 char *tmp_version;
27009
27010 system ("touch conf.gtktest");
27011
27012 /* HP/UX 9 (%@#!) writes to sscanf strings */
27013 tmp_version = g_strdup("$min_gtk_version");
27014 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27015 printf("%s, bad version string\n", "$min_gtk_version");
27016 exit(1);
27017 }
27018
27019 if ((gtk_major_version != $gtk_config_major_version) ||
27020 (gtk_minor_version != $gtk_config_minor_version) ||
27021 (gtk_micro_version != $gtk_config_micro_version))
27022 {
27023 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27024 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27025 gtk_major_version, gtk_minor_version, gtk_micro_version);
27026 printf ("*** was found! If pkg-config was correct, then it is best\n");
27027 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27028 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27029 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27030 printf("*** required on your system.\n");
27031 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27032 printf("*** to point to the correct configuration files\n");
27033 }
27034 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27035 (gtk_minor_version != GTK_MINOR_VERSION) ||
27036 (gtk_micro_version != GTK_MICRO_VERSION))
27037 {
27038 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27039 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27040 printf("*** library (version %d.%d.%d)\n",
27041 gtk_major_version, gtk_minor_version, gtk_micro_version);
27042 }
27043 else
27044 {
27045 if ((gtk_major_version > major) ||
27046 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27047 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27048 {
27049 return 0;
27050 }
27051 else
27052 {
27053 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27054 gtk_major_version, gtk_minor_version, gtk_micro_version);
27055 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27056 major, minor, micro);
27057 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27058 printf("***\n");
27059 printf("*** If you have already installed a sufficiently new version, this error\n");
27060 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27061 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27062 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27063 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27064 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27065 printf("*** so that the correct libraries are found at run-time))\n");
27066 }
27067 }
27068 return 1;
27069 }
27070
27071 _ACEOF
27072 rm -f conftest$ac_exeext
27073 if { (ac_try="$ac_link"
27074 case "(($ac_try" in
27075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27076 *) ac_try_echo=$ac_try;;
27077 esac
27078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27079 (eval "$ac_link") 2>&5
27080 ac_status=$?
27081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27082 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27083 { (case "(($ac_try" in
27084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27085 *) ac_try_echo=$ac_try;;
27086 esac
27087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27088 (eval "$ac_try") 2>&5
27089 ac_status=$?
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); }; }; then
27092 :
27093 else
27094 echo "$as_me: program exited with status $ac_status" >&5
27095 echo "$as_me: failed program was:" >&5
27096 sed 's/^/| /' conftest.$ac_ext >&5
27097
27098 ( exit $ac_status )
27099 no_gtk=yes
27100 fi
27101 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27102 fi
27103
27104
27105 CFLAGS="$ac_save_CFLAGS"
27106 LIBS="$ac_save_LIBS"
27107 fi
27108 fi
27109 if test "x$no_gtk" = x ; then
27110 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27111 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27112 wx_cv_lib_gtk=2.0
27113 else
27114 { echo "$as_me:$LINENO: result: no" >&5
27115 echo "${ECHO_T}no" >&6; }
27116 if test "$PKG_CONFIG" = "no" ; then
27117 echo "*** A new enough version of pkg-config was not found."
27118 echo "*** See http://pkgconfig.sourceforge.net"
27119 else
27120 if test -f conf.gtktest ; then
27121 :
27122 else
27123 echo "*** Could not run GTK+ test program, checking why..."
27124 ac_save_CFLAGS="$CFLAGS"
27125 ac_save_LIBS="$LIBS"
27126 CFLAGS="$CFLAGS $GTK_CFLAGS"
27127 LIBS="$LIBS $GTK_LIBS"
27128 cat >conftest.$ac_ext <<_ACEOF
27129 /* confdefs.h. */
27130 _ACEOF
27131 cat confdefs.h >>conftest.$ac_ext
27132 cat >>conftest.$ac_ext <<_ACEOF
27133 /* end confdefs.h. */
27134
27135 #include <gtk/gtk.h>
27136 #include <stdio.h>
27137
27138 int
27139 main ()
27140 {
27141 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27142 ;
27143 return 0;
27144 }
27145 _ACEOF
27146 rm -f conftest.$ac_objext conftest$ac_exeext
27147 if { (ac_try="$ac_link"
27148 case "(($ac_try" in
27149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27150 *) ac_try_echo=$ac_try;;
27151 esac
27152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27153 (eval "$ac_link") 2>conftest.er1
27154 ac_status=$?
27155 grep -v '^ *+' conftest.er1 >conftest.err
27156 rm -f conftest.er1
27157 cat conftest.err >&5
27158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27159 (exit $ac_status); } && {
27160 test -z "$ac_c_werror_flag" ||
27161 test ! -s conftest.err
27162 } && test -s conftest$ac_exeext &&
27163 $as_test_x conftest$ac_exeext; then
27164 echo "*** The test program compiled, but did not run. This usually means"
27165 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27166 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27167 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27168 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27169 echo "*** is required on your system"
27170 echo "***"
27171 echo "*** If you have an old version installed, it is best to remove it, although"
27172 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27173 else
27174 echo "$as_me: failed program was:" >&5
27175 sed 's/^/| /' conftest.$ac_ext >&5
27176
27177 echo "*** The test program failed to compile or link. See the file config.log for the"
27178 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27179 fi
27180
27181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27182 conftest$ac_exeext conftest.$ac_ext
27183 CFLAGS="$ac_save_CFLAGS"
27184 LIBS="$ac_save_LIBS"
27185 fi
27186 fi
27187 GTK_CFLAGS=""
27188 GTK_LIBS=""
27189 :
27190 fi
27191
27192
27193 rm -f conf.gtktest
27194
27195
27196 case "${host}" in
27197 *-*-solaris2* )
27198 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27199 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27200 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27201 fi
27202 if test "$wxUSE_SHARED" != "yes"; then
27203 GTK_LIBS="$GTK_LIBS -lX11"
27204 fi
27205 esac
27206 fi
27207
27208 if test -z "$wx_cv_lib_gtk"; then
27209 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27210
27211 # Check whether --with-gtk-prefix was given.
27212 if test "${with_gtk_prefix+set}" = set; then
27213 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27214 else
27215 gtk_config_prefix=""
27216 fi
27217
27218
27219 # Check whether --with-gtk-exec-prefix was given.
27220 if test "${with_gtk_exec_prefix+set}" = set; then
27221 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27222 else
27223 gtk_config_exec_prefix=""
27224 fi
27225
27226 # Check whether --enable-gtktest was given.
27227 if test "${enable_gtktest+set}" = set; then
27228 enableval=$enable_gtktest;
27229 else
27230 enable_gtktest=yes
27231 fi
27232
27233
27234 for module in . $GTK_MODULES
27235 do
27236 case "$module" in
27237 gthread)
27238 gtk_config_args="$gtk_config_args gthread"
27239 ;;
27240 esac
27241 done
27242
27243 if test x$gtk_config_exec_prefix != x ; then
27244 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27245 if test x${GTK_CONFIG+set} != xset ; then
27246 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27247 fi
27248 fi
27249 if test x$gtk_config_prefix != x ; then
27250 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27251 if test x${GTK_CONFIG+set} != xset ; then
27252 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27253 fi
27254 fi
27255
27256 # Extract the first word of "gtk-config", so it can be a program name with args.
27257 set dummy gtk-config; ac_word=$2
27258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27260 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27261 echo $ECHO_N "(cached) $ECHO_C" >&6
27262 else
27263 case $GTK_CONFIG in
27264 [\\/]* | ?:[\\/]*)
27265 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27266 ;;
27267 *)
27268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27269 for as_dir in $PATH
27270 do
27271 IFS=$as_save_IFS
27272 test -z "$as_dir" && as_dir=.
27273 for ac_exec_ext in '' $ac_executable_extensions; do
27274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27275 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27277 break 2
27278 fi
27279 done
27280 done
27281 IFS=$as_save_IFS
27282
27283 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27284 ;;
27285 esac
27286 fi
27287 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27288 if test -n "$GTK_CONFIG"; then
27289 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27290 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27291 else
27292 { echo "$as_me:$LINENO: result: no" >&5
27293 echo "${ECHO_T}no" >&6; }
27294 fi
27295
27296
27297 min_gtk_version=1.2.7
27298 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27299 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27300 no_gtk=""
27301 if test "$GTK_CONFIG" = "no" ; then
27302 no_gtk=yes
27303 else
27304 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27305 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27306 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27308 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27310 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27311 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27312 if test "x$enable_gtktest" = "xyes" ; then
27313 ac_save_CFLAGS="$CFLAGS"
27314 ac_save_LIBS="$LIBS"
27315 CFLAGS="$CFLAGS $GTK_CFLAGS"
27316 LIBS="$GTK_LIBS $LIBS"
27317 rm -f conf.gtktest
27318 if test "$cross_compiling" = yes; then
27319 echo $ac_n "cross compiling; assumed OK... $ac_c"
27320 else
27321 cat >conftest.$ac_ext <<_ACEOF
27322 /* confdefs.h. */
27323 _ACEOF
27324 cat confdefs.h >>conftest.$ac_ext
27325 cat >>conftest.$ac_ext <<_ACEOF
27326 /* end confdefs.h. */
27327
27328 #include <gtk/gtk.h>
27329 #include <stdio.h>
27330 #include <stdlib.h>
27331
27332 int
27333 main ()
27334 {
27335 int major, minor, micro;
27336 char *tmp_version;
27337
27338 system ("touch conf.gtktest");
27339
27340 /* HP/UX 9 (%@#!) writes to sscanf strings */
27341 tmp_version = g_strdup("$min_gtk_version");
27342 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27343 printf("%s, bad version string\n", "$min_gtk_version");
27344 exit(1);
27345 }
27346
27347 if ((gtk_major_version != $gtk_config_major_version) ||
27348 (gtk_minor_version != $gtk_config_minor_version) ||
27349 (gtk_micro_version != $gtk_config_micro_version))
27350 {
27351 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27352 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27353 gtk_major_version, gtk_minor_version, gtk_micro_version);
27354 printf ("*** was found! If gtk-config was correct, then it is best\n");
27355 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27356 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27357 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27358 printf("*** required on your system.\n");
27359 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27360 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27361 printf("*** before re-running configure\n");
27362 }
27363 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27364 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27365 (gtk_minor_version != GTK_MINOR_VERSION) ||
27366 (gtk_micro_version != GTK_MICRO_VERSION))
27367 {
27368 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27369 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27370 printf("*** library (version %d.%d.%d)\n",
27371 gtk_major_version, gtk_minor_version, gtk_micro_version);
27372 }
27373 #endif /* defined (GTK_MAJOR_VERSION) ... */
27374 else
27375 {
27376 if ((gtk_major_version > major) ||
27377 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27378 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27379 {
27380 return 0;
27381 }
27382 else
27383 {
27384 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27385 gtk_major_version, gtk_minor_version, gtk_micro_version);
27386 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27387 major, minor, micro);
27388 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27389 printf("***\n");
27390 printf("*** If you have already installed a sufficiently new version, this error\n");
27391 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27392 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27393 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27394 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27395 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27396 printf("*** so that the correct libraries are found at run-time))\n");
27397 }
27398 }
27399 return 1;
27400 }
27401
27402 _ACEOF
27403 rm -f conftest$ac_exeext
27404 if { (ac_try="$ac_link"
27405 case "(($ac_try" in
27406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27407 *) ac_try_echo=$ac_try;;
27408 esac
27409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27410 (eval "$ac_link") 2>&5
27411 ac_status=$?
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27414 { (case "(($ac_try" in
27415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27416 *) ac_try_echo=$ac_try;;
27417 esac
27418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27419 (eval "$ac_try") 2>&5
27420 ac_status=$?
27421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27422 (exit $ac_status); }; }; then
27423 :
27424 else
27425 echo "$as_me: program exited with status $ac_status" >&5
27426 echo "$as_me: failed program was:" >&5
27427 sed 's/^/| /' conftest.$ac_ext >&5
27428
27429 ( exit $ac_status )
27430 no_gtk=yes
27431 fi
27432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27433 fi
27434
27435
27436 CFLAGS="$ac_save_CFLAGS"
27437 LIBS="$ac_save_LIBS"
27438 fi
27439 fi
27440 if test "x$no_gtk" = x ; then
27441 { echo "$as_me:$LINENO: result: yes" >&5
27442 echo "${ECHO_T}yes" >&6; }
27443 wx_cv_lib_gtk=1.2.7
27444 else
27445 { echo "$as_me:$LINENO: result: no" >&5
27446 echo "${ECHO_T}no" >&6; }
27447 if test "$GTK_CONFIG" = "no" ; then
27448 echo "*** The gtk-config script installed by GTK could not be found"
27449 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27450 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27451 echo "*** full path to gtk-config."
27452 else
27453 if test -f conf.gtktest ; then
27454 :
27455 else
27456 echo "*** Could not run GTK test program, checking why..."
27457 CFLAGS="$CFLAGS $GTK_CFLAGS"
27458 LIBS="$LIBS $GTK_LIBS"
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465
27466 #include <gtk/gtk.h>
27467 #include <stdio.h>
27468
27469 int
27470 main ()
27471 {
27472 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27473 ;
27474 return 0;
27475 }
27476 _ACEOF
27477 rm -f conftest.$ac_objext conftest$ac_exeext
27478 if { (ac_try="$ac_link"
27479 case "(($ac_try" in
27480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27481 *) ac_try_echo=$ac_try;;
27482 esac
27483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27484 (eval "$ac_link") 2>conftest.er1
27485 ac_status=$?
27486 grep -v '^ *+' conftest.er1 >conftest.err
27487 rm -f conftest.er1
27488 cat conftest.err >&5
27489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27490 (exit $ac_status); } && {
27491 test -z "$ac_c_werror_flag" ||
27492 test ! -s conftest.err
27493 } && test -s conftest$ac_exeext &&
27494 $as_test_x conftest$ac_exeext; then
27495 echo "*** The test program compiled, but did not run. This usually means"
27496 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27497 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27498 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27499 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27500 echo "*** is required on your system"
27501 echo "***"
27502 echo "*** If you have an old version installed, it is best to remove it, although"
27503 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27504 echo "***"
27505 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27506 echo "*** came with the system with the command"
27507 echo "***"
27508 echo "*** rpm --erase --nodeps gtk gtk-devel"
27509 else
27510 echo "$as_me: failed program was:" >&5
27511 sed 's/^/| /' conftest.$ac_ext >&5
27512
27513 echo "*** The test program failed to compile or link. See the file config.log for the"
27514 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27515 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27516 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27517 fi
27518
27519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27520 conftest$ac_exeext conftest.$ac_ext
27521 CFLAGS="$ac_save_CFLAGS"
27522 LIBS="$ac_save_LIBS"
27523 fi
27524 fi
27525 GTK_CFLAGS=""
27526 GTK_LIBS=""
27527 :
27528 fi
27529
27530
27531 rm -f conf.gtktest
27532
27533
27534 if test -z "$wx_cv_lib_gtk"; then
27535
27536 # Check whether --with-gtk-prefix was given.
27537 if test "${with_gtk_prefix+set}" = set; then
27538 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27539 else
27540 gtk_config_prefix=""
27541 fi
27542
27543
27544 # Check whether --with-gtk-exec-prefix was given.
27545 if test "${with_gtk_exec_prefix+set}" = set; then
27546 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27547 else
27548 gtk_config_exec_prefix=""
27549 fi
27550
27551 # Check whether --enable-gtktest was given.
27552 if test "${enable_gtktest+set}" = set; then
27553 enableval=$enable_gtktest;
27554 else
27555 enable_gtktest=yes
27556 fi
27557
27558
27559 for module in . $GTK_MODULES
27560 do
27561 case "$module" in
27562 gthread)
27563 gtk_config_args="$gtk_config_args gthread"
27564 ;;
27565 esac
27566 done
27567
27568 if test x$gtk_config_exec_prefix != x ; then
27569 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27570 if test x${GTK_CONFIG+set} != xset ; then
27571 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27572 fi
27573 fi
27574 if test x$gtk_config_prefix != x ; then
27575 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27576 if test x${GTK_CONFIG+set} != xset ; then
27577 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27578 fi
27579 fi
27580
27581 # Extract the first word of "gtk-config", so it can be a program name with args.
27582 set dummy gtk-config; ac_word=$2
27583 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27585 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27586 echo $ECHO_N "(cached) $ECHO_C" >&6
27587 else
27588 case $GTK_CONFIG in
27589 [\\/]* | ?:[\\/]*)
27590 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27591 ;;
27592 *)
27593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27594 for as_dir in $PATH
27595 do
27596 IFS=$as_save_IFS
27597 test -z "$as_dir" && as_dir=.
27598 for ac_exec_ext in '' $ac_executable_extensions; do
27599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27600 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27602 break 2
27603 fi
27604 done
27605 done
27606 IFS=$as_save_IFS
27607
27608 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27609 ;;
27610 esac
27611 fi
27612 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27613 if test -n "$GTK_CONFIG"; then
27614 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27615 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27616 else
27617 { echo "$as_me:$LINENO: result: no" >&5
27618 echo "${ECHO_T}no" >&6; }
27619 fi
27620
27621
27622 min_gtk_version=1.2.3
27623 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27624 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27625 no_gtk=""
27626 if test "$GTK_CONFIG" = "no" ; then
27627 no_gtk=yes
27628 else
27629 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27630 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27631 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27633 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27635 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27636 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27637 if test "x$enable_gtktest" = "xyes" ; then
27638 ac_save_CFLAGS="$CFLAGS"
27639 ac_save_LIBS="$LIBS"
27640 CFLAGS="$CFLAGS $GTK_CFLAGS"
27641 LIBS="$GTK_LIBS $LIBS"
27642 rm -f conf.gtktest
27643 if test "$cross_compiling" = yes; then
27644 echo $ac_n "cross compiling; assumed OK... $ac_c"
27645 else
27646 cat >conftest.$ac_ext <<_ACEOF
27647 /* confdefs.h. */
27648 _ACEOF
27649 cat confdefs.h >>conftest.$ac_ext
27650 cat >>conftest.$ac_ext <<_ACEOF
27651 /* end confdefs.h. */
27652
27653 #include <gtk/gtk.h>
27654 #include <stdio.h>
27655 #include <stdlib.h>
27656
27657 int
27658 main ()
27659 {
27660 int major, minor, micro;
27661 char *tmp_version;
27662
27663 system ("touch conf.gtktest");
27664
27665 /* HP/UX 9 (%@#!) writes to sscanf strings */
27666 tmp_version = g_strdup("$min_gtk_version");
27667 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27668 printf("%s, bad version string\n", "$min_gtk_version");
27669 exit(1);
27670 }
27671
27672 if ((gtk_major_version != $gtk_config_major_version) ||
27673 (gtk_minor_version != $gtk_config_minor_version) ||
27674 (gtk_micro_version != $gtk_config_micro_version))
27675 {
27676 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27677 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27678 gtk_major_version, gtk_minor_version, gtk_micro_version);
27679 printf ("*** was found! If gtk-config was correct, then it is best\n");
27680 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27681 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27682 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27683 printf("*** required on your system.\n");
27684 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27685 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27686 printf("*** before re-running configure\n");
27687 }
27688 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27689 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27690 (gtk_minor_version != GTK_MINOR_VERSION) ||
27691 (gtk_micro_version != GTK_MICRO_VERSION))
27692 {
27693 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27694 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27695 printf("*** library (version %d.%d.%d)\n",
27696 gtk_major_version, gtk_minor_version, gtk_micro_version);
27697 }
27698 #endif /* defined (GTK_MAJOR_VERSION) ... */
27699 else
27700 {
27701 if ((gtk_major_version > major) ||
27702 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27703 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27704 {
27705 return 0;
27706 }
27707 else
27708 {
27709 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27710 gtk_major_version, gtk_minor_version, gtk_micro_version);
27711 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27712 major, minor, micro);
27713 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27714 printf("***\n");
27715 printf("*** If you have already installed a sufficiently new version, this error\n");
27716 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27717 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27718 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27719 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27720 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27721 printf("*** so that the correct libraries are found at run-time))\n");
27722 }
27723 }
27724 return 1;
27725 }
27726
27727 _ACEOF
27728 rm -f conftest$ac_exeext
27729 if { (ac_try="$ac_link"
27730 case "(($ac_try" in
27731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27732 *) ac_try_echo=$ac_try;;
27733 esac
27734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27735 (eval "$ac_link") 2>&5
27736 ac_status=$?
27737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27738 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27739 { (case "(($ac_try" in
27740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27741 *) ac_try_echo=$ac_try;;
27742 esac
27743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27744 (eval "$ac_try") 2>&5
27745 ac_status=$?
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); }; }; then
27748 :
27749 else
27750 echo "$as_me: program exited with status $ac_status" >&5
27751 echo "$as_me: failed program was:" >&5
27752 sed 's/^/| /' conftest.$ac_ext >&5
27753
27754 ( exit $ac_status )
27755 no_gtk=yes
27756 fi
27757 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27758 fi
27759
27760
27761 CFLAGS="$ac_save_CFLAGS"
27762 LIBS="$ac_save_LIBS"
27763 fi
27764 fi
27765 if test "x$no_gtk" = x ; then
27766 { echo "$as_me:$LINENO: result: yes" >&5
27767 echo "${ECHO_T}yes" >&6; }
27768 wx_cv_lib_gtk=1.2.3
27769 else
27770 { echo "$as_me:$LINENO: result: no" >&5
27771 echo "${ECHO_T}no" >&6; }
27772 if test "$GTK_CONFIG" = "no" ; then
27773 echo "*** The gtk-config script installed by GTK could not be found"
27774 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27775 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27776 echo "*** full path to gtk-config."
27777 else
27778 if test -f conf.gtktest ; then
27779 :
27780 else
27781 echo "*** Could not run GTK test program, checking why..."
27782 CFLAGS="$CFLAGS $GTK_CFLAGS"
27783 LIBS="$LIBS $GTK_LIBS"
27784 cat >conftest.$ac_ext <<_ACEOF
27785 /* confdefs.h. */
27786 _ACEOF
27787 cat confdefs.h >>conftest.$ac_ext
27788 cat >>conftest.$ac_ext <<_ACEOF
27789 /* end confdefs.h. */
27790
27791 #include <gtk/gtk.h>
27792 #include <stdio.h>
27793
27794 int
27795 main ()
27796 {
27797 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27798 ;
27799 return 0;
27800 }
27801 _ACEOF
27802 rm -f conftest.$ac_objext conftest$ac_exeext
27803 if { (ac_try="$ac_link"
27804 case "(($ac_try" in
27805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27806 *) ac_try_echo=$ac_try;;
27807 esac
27808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27809 (eval "$ac_link") 2>conftest.er1
27810 ac_status=$?
27811 grep -v '^ *+' conftest.er1 >conftest.err
27812 rm -f conftest.er1
27813 cat conftest.err >&5
27814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27815 (exit $ac_status); } && {
27816 test -z "$ac_c_werror_flag" ||
27817 test ! -s conftest.err
27818 } && test -s conftest$ac_exeext &&
27819 $as_test_x conftest$ac_exeext; then
27820 echo "*** The test program compiled, but did not run. This usually means"
27821 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27822 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27823 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27824 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27825 echo "*** is required on your system"
27826 echo "***"
27827 echo "*** If you have an old version installed, it is best to remove it, although"
27828 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27829 echo "***"
27830 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27831 echo "*** came with the system with the command"
27832 echo "***"
27833 echo "*** rpm --erase --nodeps gtk gtk-devel"
27834 else
27835 echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27837
27838 echo "*** The test program failed to compile or link. See the file config.log for the"
27839 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27840 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27841 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27842 fi
27843
27844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27845 conftest$ac_exeext conftest.$ac_ext
27846 CFLAGS="$ac_save_CFLAGS"
27847 LIBS="$ac_save_LIBS"
27848 fi
27849 fi
27850 GTK_CFLAGS=""
27851 GTK_LIBS=""
27852 :
27853 fi
27854
27855
27856 rm -f conf.gtktest
27857
27858 fi
27859 fi
27860 fi
27861
27862 if test -z "$wx_cv_lib_gtk"; then
27863 wx_cv_lib_gtk=none
27864 else
27865 wx_cv_cflags_gtk=$GTK_CFLAGS
27866 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27867 fi
27868
27869
27870 fi
27871
27872
27873 if test "$gtk_version_cached" = 1; then
27874 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27875 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27876 fi
27877
27878 case "$wx_cv_lib_gtk" in
27879 2.0) WXGTK20=1
27880 TOOLKIT_VERSION=2
27881 ;;
27882 1.2.7) WXGTK127=1
27883 WXGTK12=1
27884 ;;
27885 1.2.3) WXGTK12=1
27886 ;;
27887 *) { { echo "$as_me:$LINENO: error:
27888 The development files for GTK+ were not found. For GTK+ 2, please
27889 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27890 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27891 and that the version is 1.2.3 or above. Also check that the
27892 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27893 --libs' are in the LD_LIBRARY_PATH or equivalent.
27894 " >&5
27895 echo "$as_me: error:
27896 The development files for GTK+ were not found. For GTK+ 2, please
27897 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27898 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27899 and that the version is 1.2.3 or above. Also check that the
27900 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27901 --libs' are in the LD_LIBRARY_PATH or equivalent.
27902 " >&2;}
27903 { (exit 1); exit 1; }; }
27904 ;;
27905 esac
27906
27907 if test "$WXGTK20" = 1; then
27908 save_CFLAGS="$CFLAGS"
27909 save_LIBS="$LIBS"
27910 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27911 LIBS="$LIBS $wx_cv_libs_gtk"
27912
27913 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27914 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27915 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27917 else
27918 cat >conftest.$ac_ext <<_ACEOF
27919 /* confdefs.h. */
27920 _ACEOF
27921 cat confdefs.h >>conftest.$ac_ext
27922 cat >>conftest.$ac_ext <<_ACEOF
27923 /* end confdefs.h. */
27924 #include <gtk/gtk.h>
27925
27926 int
27927 main ()
27928 {
27929 #ifndef gtk_icon_size_lookup
27930 (void) gtk_icon_size_lookup;
27931 #endif
27932
27933 ;
27934 return 0;
27935 }
27936 _ACEOF
27937 rm -f conftest.$ac_objext
27938 if { (ac_try="$ac_compile"
27939 case "(($ac_try" in
27940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27941 *) ac_try_echo=$ac_try;;
27942 esac
27943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27944 (eval "$ac_compile") 2>conftest.er1
27945 ac_status=$?
27946 grep -v '^ *+' conftest.er1 >conftest.err
27947 rm -f conftest.er1
27948 cat conftest.err >&5
27949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27950 (exit $ac_status); } && {
27951 test -z "$ac_c_werror_flag" ||
27952 test ! -s conftest.err
27953 } && test -s conftest.$ac_objext; then
27954 ac_cv_have_decl_gtk_icon_size_lookup=yes
27955 else
27956 echo "$as_me: failed program was:" >&5
27957 sed 's/^/| /' conftest.$ac_ext >&5
27958
27959 ac_cv_have_decl_gtk_icon_size_lookup=no
27960 fi
27961
27962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27963 fi
27964 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27965 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27966 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27967
27968 cat >>confdefs.h <<_ACEOF
27969 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27970 _ACEOF
27971
27972
27973 else
27974 cat >>confdefs.h <<_ACEOF
27975 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27976 _ACEOF
27977
27978 cat >>confdefs.h <<\_ACEOF
27979 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27980 _ACEOF
27981
27982 fi
27983
27984
27985
27986
27987 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27988 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27989 cat >conftest.$ac_ext <<_ACEOF
27990 /* confdefs.h. */
27991 _ACEOF
27992 cat confdefs.h >>conftest.$ac_ext
27993 cat >>conftest.$ac_ext <<_ACEOF
27994 /* end confdefs.h. */
27995
27996 #include <gtk/gtk.h>
27997
27998 int
27999 main ()
28000 {
28001
28002 #if !GTK_CHECK_VERSION(2,10,0)
28003 Not GTK+ 2.10
28004 #endif
28005
28006 ;
28007 return 0;
28008 }
28009 _ACEOF
28010 rm -f conftest.$ac_objext
28011 if { (ac_try="$ac_compile"
28012 case "(($ac_try" in
28013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28014 *) ac_try_echo=$ac_try;;
28015 esac
28016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28017 (eval "$ac_compile") 2>conftest.er1
28018 ac_status=$?
28019 grep -v '^ *+' conftest.er1 >conftest.err
28020 rm -f conftest.er1
28021 cat conftest.err >&5
28022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28023 (exit $ac_status); } && {
28024 test -z "$ac_c_werror_flag" ||
28025 test ! -s conftest.err
28026 } && test -s conftest.$ac_objext; then
28027
28028 cat >>confdefs.h <<\_ACEOF
28029 #define __WXGTK210__ 1
28030 _ACEOF
28031
28032 cat >>confdefs.h <<\_ACEOF
28033 #define __WXGTK26__ 1
28034 _ACEOF
28035
28036 cat >>confdefs.h <<\_ACEOF
28037 #define __WXGTK24__ 1
28038 _ACEOF
28039
28040 { echo "$as_me:$LINENO: result: yes" >&5
28041 echo "${ECHO_T}yes" >&6; }
28042 ac_wxgtk210=1
28043
28044 else
28045 echo "$as_me: failed program was:" >&5
28046 sed 's/^/| /' conftest.$ac_ext >&5
28047
28048
28049 { echo "$as_me:$LINENO: result: no" >&5
28050 echo "${ECHO_T}no" >&6; }
28051 ac_wxgtk210=0
28052
28053 fi
28054
28055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28056
28057 if test "$ac_wxgtk210" = 0; then
28058 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28059 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28060 cat >conftest.$ac_ext <<_ACEOF
28061 /* confdefs.h. */
28062 _ACEOF
28063 cat confdefs.h >>conftest.$ac_ext
28064 cat >>conftest.$ac_ext <<_ACEOF
28065 /* end confdefs.h. */
28066
28067 #include <gtk/gtk.h>
28068
28069 int
28070 main ()
28071 {
28072
28073 #if !GTK_CHECK_VERSION(2,6,0)
28074 Not GTK+ 2.6
28075 #endif
28076
28077 ;
28078 return 0;
28079 }
28080 _ACEOF
28081 rm -f conftest.$ac_objext
28082 if { (ac_try="$ac_compile"
28083 case "(($ac_try" in
28084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28085 *) ac_try_echo=$ac_try;;
28086 esac
28087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28088 (eval "$ac_compile") 2>conftest.er1
28089 ac_status=$?
28090 grep -v '^ *+' conftest.er1 >conftest.err
28091 rm -f conftest.er1
28092 cat conftest.err >&5
28093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28094 (exit $ac_status); } && {
28095 test -z "$ac_c_werror_flag" ||
28096 test ! -s conftest.err
28097 } && test -s conftest.$ac_objext; then
28098
28099 cat >>confdefs.h <<\_ACEOF
28100 #define __WXGTK26__ 1
28101 _ACEOF
28102
28103 cat >>confdefs.h <<\_ACEOF
28104 #define __WXGTK24__ 1
28105 _ACEOF
28106
28107 { echo "$as_me:$LINENO: result: yes" >&5
28108 echo "${ECHO_T}yes" >&6; }
28109 ac_wxgtk26=1
28110
28111 else
28112 echo "$as_me: failed program was:" >&5
28113 sed 's/^/| /' conftest.$ac_ext >&5
28114
28115
28116 { echo "$as_me:$LINENO: result: no" >&5
28117 echo "${ECHO_T}no" >&6; }
28118 ac_wxgtk26=0
28119
28120 fi
28121
28122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28123 fi
28124
28125 if test "$ac_wxgtk26" = 0; then
28126 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28127 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28128 cat >conftest.$ac_ext <<_ACEOF
28129 /* confdefs.h. */
28130 _ACEOF
28131 cat confdefs.h >>conftest.$ac_ext
28132 cat >>conftest.$ac_ext <<_ACEOF
28133 /* end confdefs.h. */
28134
28135 #include <gtk/gtk.h>
28136
28137 int
28138 main ()
28139 {
28140
28141 #if !GTK_CHECK_VERSION(2,4,0)
28142 Not GTK+ 2.4
28143 #endif
28144
28145 ;
28146 return 0;
28147 }
28148 _ACEOF
28149 rm -f conftest.$ac_objext
28150 if { (ac_try="$ac_compile"
28151 case "(($ac_try" in
28152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28153 *) ac_try_echo=$ac_try;;
28154 esac
28155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28156 (eval "$ac_compile") 2>conftest.er1
28157 ac_status=$?
28158 grep -v '^ *+' conftest.er1 >conftest.err
28159 rm -f conftest.er1
28160 cat conftest.err >&5
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); } && {
28163 test -z "$ac_c_werror_flag" ||
28164 test ! -s conftest.err
28165 } && test -s conftest.$ac_objext; then
28166
28167 cat >>confdefs.h <<\_ACEOF
28168 #define __WXGTK24__ 1
28169 _ACEOF
28170
28171 { echo "$as_me:$LINENO: result: yes" >&5
28172 echo "${ECHO_T}yes" >&6; }
28173
28174 else
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28177
28178
28179 { echo "$as_me:$LINENO: result: no" >&5
28180 echo "${ECHO_T}no" >&6; }
28181
28182 fi
28183
28184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28185 fi
28186
28187 CFLAGS="$save_CFLAGS"
28188 LIBS="$save_LIBS"
28189 else
28190 if test "$wxUSE_UNICODE" = "yes"; then
28191 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28192 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28193 wxUSE_UNICODE=no
28194 fi
28195
28196 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28197 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28198 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28199 echo $ECHO_N "(cached) $ECHO_C" >&6
28200 else
28201 ac_check_lib_save_LIBS=$LIBS
28202 LIBS="-lgdk $LIBS"
28203 cat >conftest.$ac_ext <<_ACEOF
28204 /* confdefs.h. */
28205 _ACEOF
28206 cat confdefs.h >>conftest.$ac_ext
28207 cat >>conftest.$ac_ext <<_ACEOF
28208 /* end confdefs.h. */
28209
28210 /* Override any GCC internal prototype to avoid an error.
28211 Use char because int might match the return type of a GCC
28212 builtin and then its argument prototype would still apply. */
28213 #ifdef __cplusplus
28214 extern "C"
28215 #endif
28216 char gdk_im_open ();
28217 int
28218 main ()
28219 {
28220 return gdk_im_open ();
28221 ;
28222 return 0;
28223 }
28224 _ACEOF
28225 rm -f conftest.$ac_objext conftest$ac_exeext
28226 if { (ac_try="$ac_link"
28227 case "(($ac_try" in
28228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28229 *) ac_try_echo=$ac_try;;
28230 esac
28231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28232 (eval "$ac_link") 2>conftest.er1
28233 ac_status=$?
28234 grep -v '^ *+' conftest.er1 >conftest.err
28235 rm -f conftest.er1
28236 cat conftest.err >&5
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); } && {
28239 test -z "$ac_c_werror_flag" ||
28240 test ! -s conftest.err
28241 } && test -s conftest$ac_exeext &&
28242 $as_test_x conftest$ac_exeext; then
28243 ac_cv_lib_gdk_gdk_im_open=yes
28244 else
28245 echo "$as_me: failed program was:" >&5
28246 sed 's/^/| /' conftest.$ac_ext >&5
28247
28248 ac_cv_lib_gdk_gdk_im_open=no
28249 fi
28250
28251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28252 conftest$ac_exeext conftest.$ac_ext
28253 LIBS=$ac_check_lib_save_LIBS
28254 fi
28255 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28256 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28257 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28258 cat >>confdefs.h <<\_ACEOF
28259 #define HAVE_XIM 1
28260 _ACEOF
28261
28262 fi
28263
28264
28265 if test "$USE_DARWIN" != 1; then
28266
28267 for ac_func in poll
28268 do
28269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28270 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28273 echo $ECHO_N "(cached) $ECHO_C" >&6
28274 else
28275 cat >conftest.$ac_ext <<_ACEOF
28276 /* confdefs.h. */
28277 _ACEOF
28278 cat confdefs.h >>conftest.$ac_ext
28279 cat >>conftest.$ac_ext <<_ACEOF
28280 /* end confdefs.h. */
28281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28283 #define $ac_func innocuous_$ac_func
28284
28285 /* System header to define __stub macros and hopefully few prototypes,
28286 which can conflict with char $ac_func (); below.
28287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28288 <limits.h> exists even on freestanding compilers. */
28289
28290 #ifdef __STDC__
28291 # include <limits.h>
28292 #else
28293 # include <assert.h>
28294 #endif
28295
28296 #undef $ac_func
28297
28298 /* Override any GCC internal prototype to avoid an error.
28299 Use char because int might match the return type of a GCC
28300 builtin and then its argument prototype would still apply. */
28301 #ifdef __cplusplus
28302 extern "C"
28303 #endif
28304 char $ac_func ();
28305 /* The GNU C library defines this for functions which it implements
28306 to always fail with ENOSYS. Some functions are actually named
28307 something starting with __ and the normal name is an alias. */
28308 #if defined __stub_$ac_func || defined __stub___$ac_func
28309 choke me
28310 #endif
28311
28312 int
28313 main ()
28314 {
28315 return $ac_func ();
28316 ;
28317 return 0;
28318 }
28319 _ACEOF
28320 rm -f conftest.$ac_objext conftest$ac_exeext
28321 if { (ac_try="$ac_link"
28322 case "(($ac_try" in
28323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28324 *) ac_try_echo=$ac_try;;
28325 esac
28326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28327 (eval "$ac_link") 2>conftest.er1
28328 ac_status=$?
28329 grep -v '^ *+' conftest.er1 >conftest.err
28330 rm -f conftest.er1
28331 cat conftest.err >&5
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); } && {
28334 test -z "$ac_c_werror_flag" ||
28335 test ! -s conftest.err
28336 } && test -s conftest$ac_exeext &&
28337 $as_test_x conftest$ac_exeext; then
28338 eval "$as_ac_var=yes"
28339 else
28340 echo "$as_me: failed program was:" >&5
28341 sed 's/^/| /' conftest.$ac_ext >&5
28342
28343 eval "$as_ac_var=no"
28344 fi
28345
28346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28347 conftest$ac_exeext conftest.$ac_ext
28348 fi
28349 ac_res=`eval echo '${'$as_ac_var'}'`
28350 { echo "$as_me:$LINENO: result: $ac_res" >&5
28351 echo "${ECHO_T}$ac_res" >&6; }
28352 if test `eval echo '${'$as_ac_var'}'` = yes; then
28353 cat >>confdefs.h <<_ACEOF
28354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28355 _ACEOF
28356
28357 fi
28358 done
28359
28360 fi
28361 fi
28362
28363 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28364 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28365
28366 AFMINSTALL=afminstall
28367 TOOLKIT=GTK
28368 GUIDIST=GTK_DIST
28369
28370 if test "$wxUSE_GPE" = "yes"; then
28371 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28372 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28373
28374 ac_find_libraries=
28375 for ac_dir in $SEARCH_LIB;
28376 do
28377 for ac_extension in a so sl dylib dll.a; do
28378 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28379 ac_find_libraries=$ac_dir
28380 break 2
28381 fi
28382 done
28383 done
28384
28385 if test "$ac_find_libraries" != "" ; then
28386
28387 if test "$ac_find_libraries" = "default location"; then
28388 ac_path_to_link=""
28389 else
28390 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28391 result=$?
28392 if test $result = 0; then
28393 ac_path_to_link=""
28394 else
28395 ac_path_to_link=" -L$ac_find_libraries"
28396 fi
28397 fi
28398
28399 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28400 WXGPE=1
28401 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28402 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28403 else
28404 { echo "$as_me:$LINENO: result: not found" >&5
28405 echo "${ECHO_T}not found" >&6; }
28406 fi
28407
28408 fi
28409 fi
28410
28411 if test "$wxUSE_MGL" = 1; then
28412 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28413 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28414 if test "x$MGL_ROOT" = x ; then
28415 { echo "$as_me:$LINENO: result: not found" >&5
28416 echo "${ECHO_T}not found" >&6; }
28417 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28418 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28419 { (exit 1); exit 1; }; }
28420 else
28421 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28422 echo "${ECHO_T}$MGL_ROOT" >&6; }
28423 fi
28424
28425 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28426 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28427 case "${host}" in
28428 *-*-linux* )
28429 if test "x$wxUSE_SHARED" = xyes ; then
28430 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28431 else
28432 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28433 fi
28434 ;;
28435 *-pc-msdosdjgpp )
28436 mgl_os_candidates="dos32/dj2"
28437 ;;
28438 *)
28439 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28440 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28441 { (exit 1); exit 1; }; }
28442 esac
28443
28444 mgl_lib_type=""
28445 mgl_os=""
28446
28447 for mgl_os_i in $mgl_os_candidates ; do
28448 if test "x$mgl_os" = x ; then
28449 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28450 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28451 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28452 mgl_lib_type=debug
28453 mgl_os=$mgl_os_i
28454 fi
28455 fi
28456 if test "x$mgl_lib_type" = x ; then
28457 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28458 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28459 mgl_lib_type=release
28460 mgl_os=$mgl_os_i
28461 fi
28462 fi
28463 fi
28464 done
28465
28466 if test "x$mgl_os" = x ; then
28467 { echo "$as_me:$LINENO: result: not found" >&5
28468 echo "${ECHO_T}not found" >&6; }
28469 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28470 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28471 { (exit 1); exit 1; }; }
28472 fi
28473 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28474 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28475
28476 wxUSE_UNIVERSAL="yes"
28477
28478 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28479 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28480
28481 AFMINSTALL=afminstall
28482 TOOLKIT=MGL
28483 GUIDIST=MGL_DIST
28484 fi
28485
28486 if test "$wxUSE_DFB" = 1; then
28487
28488
28489 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28490 if test -n "$ac_tool_prefix"; then
28491 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28492 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28495 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28496 echo $ECHO_N "(cached) $ECHO_C" >&6
28497 else
28498 case $PKG_CONFIG in
28499 [\\/]* | ?:[\\/]*)
28500 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28501 ;;
28502 *)
28503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28504 for as_dir in $PATH
28505 do
28506 IFS=$as_save_IFS
28507 test -z "$as_dir" && as_dir=.
28508 for ac_exec_ext in '' $ac_executable_extensions; do
28509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28510 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28512 break 2
28513 fi
28514 done
28515 done
28516 IFS=$as_save_IFS
28517
28518 ;;
28519 esac
28520 fi
28521 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28522 if test -n "$PKG_CONFIG"; then
28523 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28524 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28525 else
28526 { echo "$as_me:$LINENO: result: no" >&5
28527 echo "${ECHO_T}no" >&6; }
28528 fi
28529
28530
28531 fi
28532 if test -z "$ac_cv_path_PKG_CONFIG"; then
28533 ac_pt_PKG_CONFIG=$PKG_CONFIG
28534 # Extract the first word of "pkg-config", so it can be a program name with args.
28535 set dummy pkg-config; ac_word=$2
28536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28538 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28539 echo $ECHO_N "(cached) $ECHO_C" >&6
28540 else
28541 case $ac_pt_PKG_CONFIG in
28542 [\\/]* | ?:[\\/]*)
28543 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28544 ;;
28545 *)
28546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28547 for as_dir in $PATH
28548 do
28549 IFS=$as_save_IFS
28550 test -z "$as_dir" && as_dir=.
28551 for ac_exec_ext in '' $ac_executable_extensions; do
28552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28553 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28555 break 2
28556 fi
28557 done
28558 done
28559 IFS=$as_save_IFS
28560
28561 ;;
28562 esac
28563 fi
28564 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28565 if test -n "$ac_pt_PKG_CONFIG"; then
28566 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28567 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28568 else
28569 { echo "$as_me:$LINENO: result: no" >&5
28570 echo "${ECHO_T}no" >&6; }
28571 fi
28572
28573 if test "x$ac_pt_PKG_CONFIG" = x; then
28574 PKG_CONFIG=""
28575 else
28576 case $cross_compiling:$ac_tool_warned in
28577 yes:)
28578 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28579 whose name does not start with the host triplet. If you think this
28580 configuration is useful to you, please write to autoconf@gnu.org." >&5
28581 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28582 whose name does not start with the host triplet. If you think this
28583 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28584 ac_tool_warned=yes ;;
28585 esac
28586 PKG_CONFIG=$ac_pt_PKG_CONFIG
28587 fi
28588 else
28589 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28590 fi
28591
28592 fi
28593 if test -n "$PKG_CONFIG"; then
28594 _pkg_min_version=0.9.0
28595 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28596 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28597 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28598 { echo "$as_me:$LINENO: result: yes" >&5
28599 echo "${ECHO_T}yes" >&6; }
28600 else
28601 { echo "$as_me:$LINENO: result: no" >&5
28602 echo "${ECHO_T}no" >&6; }
28603 PKG_CONFIG=""
28604 fi
28605
28606 fi
28607
28608
28609 pkg_failed=no
28610 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28611 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28612
28613 if test -n "$PKG_CONFIG"; then
28614 if test -n "$DIRECTFB_CFLAGS"; then
28615 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28616 else
28617 if test -n "$PKG_CONFIG" && \
28618 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28619 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28620 ac_status=$?
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); }; then
28623 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28624 else
28625 pkg_failed=yes
28626 fi
28627 fi
28628 else
28629 pkg_failed=untried
28630 fi
28631 if test -n "$PKG_CONFIG"; then
28632 if test -n "$DIRECTFB_LIBS"; then
28633 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28634 else
28635 if test -n "$PKG_CONFIG" && \
28636 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28637 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28638 ac_status=$?
28639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28640 (exit $ac_status); }; then
28641 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28642 else
28643 pkg_failed=yes
28644 fi
28645 fi
28646 else
28647 pkg_failed=untried
28648 fi
28649
28650
28651
28652 if test $pkg_failed = yes; then
28653
28654 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28655 _pkg_short_errors_supported=yes
28656 else
28657 _pkg_short_errors_supported=no
28658 fi
28659 if test $_pkg_short_errors_supported = yes; then
28660 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28661 else
28662 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28663 fi
28664 # Put the nasty error message in config.log where it belongs
28665 echo "$DIRECTFB_PKG_ERRORS" >&5
28666
28667
28668 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28669 echo "$as_me: error: DirectFB not found." >&2;}
28670 { (exit 1); exit 1; }; }
28671
28672
28673 elif test $pkg_failed = untried; then
28674
28675 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28676 echo "$as_me: error: DirectFB not found." >&2;}
28677 { (exit 1); exit 1; }; }
28678
28679
28680 else
28681 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28682 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28683 { echo "$as_me:$LINENO: result: yes" >&5
28684 echo "${ECHO_T}yes" >&6; }
28685
28686 wxUSE_UNIVERSAL="yes"
28687 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28688 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28689 TOOLKIT=DFB
28690 GUIDIST=DFB_DIST
28691
28692 fi
28693 fi
28694
28695 if test "$wxUSE_MICROWIN" = 1; then
28696 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28697 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28698 if test "x$MICROWINDOWS" = x ; then
28699 { echo "$as_me:$LINENO: result: not found" >&5
28700 echo "${ECHO_T}not found" >&6; }
28701 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28702 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28703 { (exit 1); exit 1; }; }
28704 else
28705 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28706 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28707 fi
28708
28709 if test -f $MICROWINDOWS/lib/libmwin.a; then
28710 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28711 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28712 else
28713 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28714 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28715 { (exit 1); exit 1; }; }
28716 fi
28717
28718 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28719 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28720
28721 wxUSE_UNIVERSAL="yes"
28722
28723 AFMINSTALL=afminstall
28724 TOOLKIT=MICROWIN
28725 GUIDIST=MICROWIN_DIST
28726
28727 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28728 fi
28729
28730 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28731 { echo "$as_me:$LINENO: checking for X" >&5
28732 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28733
28734
28735 # Check whether --with-x was given.
28736 if test "${with_x+set}" = set; then
28737 withval=$with_x;
28738 fi
28739
28740 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28741 if test "x$with_x" = xno; then
28742 # The user explicitly disabled X.
28743 have_x=disabled
28744 else
28745 case $x_includes,$x_libraries in #(
28746 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28747 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28748 { (exit 1); exit 1; }; };; #(
28749 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28750 echo $ECHO_N "(cached) $ECHO_C" >&6
28751 else
28752 # One or both of the vars are not set, and there is no cached value.
28753 ac_x_includes=no ac_x_libraries=no
28754 rm -f -r conftest.dir
28755 if mkdir conftest.dir; then
28756 cd conftest.dir
28757 cat >Imakefile <<'_ACEOF'
28758 incroot:
28759 @echo incroot='${INCROOT}'
28760 usrlibdir:
28761 @echo usrlibdir='${USRLIBDIR}'
28762 libdir:
28763 @echo libdir='${LIBDIR}'
28764 _ACEOF
28765 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28766 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28767 for ac_var in incroot usrlibdir libdir; do
28768 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28769 done
28770 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28771 for ac_extension in a so sl; do
28772 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28773 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28774 ac_im_usrlibdir=$ac_im_libdir; break
28775 fi
28776 done
28777 # Screen out bogus values from the imake configuration. They are
28778 # bogus both because they are the default anyway, and because
28779 # using them would break gcc on systems where it needs fixed includes.
28780 case $ac_im_incroot in
28781 /usr/include) ac_x_includes= ;;
28782 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28783 esac
28784 case $ac_im_usrlibdir in
28785 /usr/lib | /lib) ;;
28786 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28787 esac
28788 fi
28789 cd ..
28790 rm -f -r conftest.dir
28791 fi
28792
28793 # Standard set of common directories for X headers.
28794 # Check X11 before X11Rn because it is often a symlink to the current release.
28795 ac_x_header_dirs='
28796 /usr/X11/include
28797 /usr/X11R6/include
28798 /usr/X11R5/include
28799 /usr/X11R4/include
28800
28801 /usr/include/X11
28802 /usr/include/X11R6
28803 /usr/include/X11R5
28804 /usr/include/X11R4
28805
28806 /usr/local/X11/include
28807 /usr/local/X11R6/include
28808 /usr/local/X11R5/include
28809 /usr/local/X11R4/include
28810
28811 /usr/local/include/X11
28812 /usr/local/include/X11R6
28813 /usr/local/include/X11R5
28814 /usr/local/include/X11R4
28815
28816 /usr/X386/include
28817 /usr/x386/include
28818 /usr/XFree86/include/X11
28819
28820 /usr/include
28821 /usr/local/include
28822 /usr/unsupported/include
28823 /usr/athena/include
28824 /usr/local/x11r5/include
28825 /usr/lpp/Xamples/include
28826
28827 /usr/openwin/include
28828 /usr/openwin/share/include'
28829
28830 if test "$ac_x_includes" = no; then
28831 # Guess where to find include files, by looking for Xlib.h.
28832 # First, try using that file with no special directory specified.
28833 cat >conftest.$ac_ext <<_ACEOF
28834 /* confdefs.h. */
28835 _ACEOF
28836 cat confdefs.h >>conftest.$ac_ext
28837 cat >>conftest.$ac_ext <<_ACEOF
28838 /* end confdefs.h. */
28839 #include <X11/Xlib.h>
28840 _ACEOF
28841 if { (ac_try="$ac_cpp conftest.$ac_ext"
28842 case "(($ac_try" in
28843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28844 *) ac_try_echo=$ac_try;;
28845 esac
28846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28847 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28848 ac_status=$?
28849 grep -v '^ *+' conftest.er1 >conftest.err
28850 rm -f conftest.er1
28851 cat conftest.err >&5
28852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28853 (exit $ac_status); } >/dev/null && {
28854 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28855 test ! -s conftest.err
28856 }; then
28857 # We can compile using X headers with no special include directory.
28858 ac_x_includes=
28859 else
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28862
28863 for ac_dir in $ac_x_header_dirs; do
28864 if test -r "$ac_dir/X11/Xlib.h"; then
28865 ac_x_includes=$ac_dir
28866 break
28867 fi
28868 done
28869 fi
28870
28871 rm -f conftest.err conftest.$ac_ext
28872 fi # $ac_x_includes = no
28873
28874 if test "$ac_x_libraries" = no; then
28875 # Check for the libraries.
28876 # See if we find them without any special options.
28877 # Don't add to $LIBS permanently.
28878 ac_save_LIBS=$LIBS
28879 LIBS="-lX11 $LIBS"
28880 cat >conftest.$ac_ext <<_ACEOF
28881 /* confdefs.h. */
28882 _ACEOF
28883 cat confdefs.h >>conftest.$ac_ext
28884 cat >>conftest.$ac_ext <<_ACEOF
28885 /* end confdefs.h. */
28886 #include <X11/Xlib.h>
28887 int
28888 main ()
28889 {
28890 XrmInitialize ()
28891 ;
28892 return 0;
28893 }
28894 _ACEOF
28895 rm -f conftest.$ac_objext conftest$ac_exeext
28896 if { (ac_try="$ac_link"
28897 case "(($ac_try" in
28898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28899 *) ac_try_echo=$ac_try;;
28900 esac
28901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28902 (eval "$ac_link") 2>conftest.er1
28903 ac_status=$?
28904 grep -v '^ *+' conftest.er1 >conftest.err
28905 rm -f conftest.er1
28906 cat conftest.err >&5
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); } && {
28909 test -z "$ac_c_werror_flag" ||
28910 test ! -s conftest.err
28911 } && test -s conftest$ac_exeext &&
28912 $as_test_x conftest$ac_exeext; then
28913 LIBS=$ac_save_LIBS
28914 # We can link X programs with no special library path.
28915 ac_x_libraries=
28916 else
28917 echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.$ac_ext >&5
28919
28920 LIBS=$ac_save_LIBS
28921 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28922 do
28923 # Don't even attempt the hair of trying to link an X program!
28924 for ac_extension in a so sl; do
28925 if test -r "$ac_dir/libX11.$ac_extension"; then
28926 ac_x_libraries=$ac_dir
28927 break 2
28928 fi
28929 done
28930 done
28931 fi
28932
28933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28934 conftest$ac_exeext conftest.$ac_ext
28935 fi # $ac_x_libraries = no
28936
28937 case $ac_x_includes,$ac_x_libraries in #(
28938 no,* | *,no | *\'*)
28939 # Didn't find X, or a directory has "'" in its name.
28940 ac_cv_have_x="have_x=no";; #(
28941 *)
28942 # Record where we found X for the cache.
28943 ac_cv_have_x="have_x=yes\
28944 ac_x_includes='$ac_x_includes'\
28945 ac_x_libraries='$ac_x_libraries'"
28946 esac
28947 fi
28948 ;; #(
28949 *) have_x=yes;;
28950 esac
28951 eval "$ac_cv_have_x"
28952 fi # $with_x != no
28953
28954 if test "$have_x" != yes; then
28955 { echo "$as_me:$LINENO: result: $have_x" >&5
28956 echo "${ECHO_T}$have_x" >&6; }
28957 no_x=yes
28958 else
28959 # If each of the values was on the command line, it overrides each guess.
28960 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28961 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28962 # Update the cache value to reflect the command line values.
28963 ac_cv_have_x="have_x=yes\
28964 ac_x_includes='$x_includes'\
28965 ac_x_libraries='$x_libraries'"
28966 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28967 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28968 fi
28969
28970 if test "$no_x" = yes; then
28971 # Not all programs may use this symbol, but it does not hurt to define it.
28972
28973 cat >>confdefs.h <<\_ACEOF
28974 #define X_DISPLAY_MISSING 1
28975 _ACEOF
28976
28977 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28978 else
28979 if test -n "$x_includes"; then
28980 X_CFLAGS="$X_CFLAGS -I$x_includes"
28981 fi
28982
28983 # It would also be nice to do this for all -L options, not just this one.
28984 if test -n "$x_libraries"; then
28985 X_LIBS="$X_LIBS -L$x_libraries"
28986 # For Solaris; some versions of Sun CC require a space after -R and
28987 # others require no space. Words are not sufficient . . . .
28988 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28989 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28990 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28991 ac_xsave_c_werror_flag=$ac_c_werror_flag
28992 ac_c_werror_flag=yes
28993 cat >conftest.$ac_ext <<_ACEOF
28994 /* confdefs.h. */
28995 _ACEOF
28996 cat confdefs.h >>conftest.$ac_ext
28997 cat >>conftest.$ac_ext <<_ACEOF
28998 /* end confdefs.h. */
28999
29000 int
29001 main ()
29002 {
29003
29004 ;
29005 return 0;
29006 }
29007 _ACEOF
29008 rm -f conftest.$ac_objext conftest$ac_exeext
29009 if { (ac_try="$ac_link"
29010 case "(($ac_try" in
29011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29012 *) ac_try_echo=$ac_try;;
29013 esac
29014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29015 (eval "$ac_link") 2>conftest.er1
29016 ac_status=$?
29017 grep -v '^ *+' conftest.er1 >conftest.err
29018 rm -f conftest.er1
29019 cat conftest.err >&5
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); } && {
29022 test -z "$ac_c_werror_flag" ||
29023 test ! -s conftest.err
29024 } && test -s conftest$ac_exeext &&
29025 $as_test_x conftest$ac_exeext; then
29026 { echo "$as_me:$LINENO: result: no" >&5
29027 echo "${ECHO_T}no" >&6; }
29028 X_LIBS="$X_LIBS -R$x_libraries"
29029 else
29030 echo "$as_me: failed program was:" >&5
29031 sed 's/^/| /' conftest.$ac_ext >&5
29032
29033 LIBS="$ac_xsave_LIBS -R $x_libraries"
29034 cat >conftest.$ac_ext <<_ACEOF
29035 /* confdefs.h. */
29036 _ACEOF
29037 cat confdefs.h >>conftest.$ac_ext
29038 cat >>conftest.$ac_ext <<_ACEOF
29039 /* end confdefs.h. */
29040
29041 int
29042 main ()
29043 {
29044
29045 ;
29046 return 0;
29047 }
29048 _ACEOF
29049 rm -f conftest.$ac_objext conftest$ac_exeext
29050 if { (ac_try="$ac_link"
29051 case "(($ac_try" in
29052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29053 *) ac_try_echo=$ac_try;;
29054 esac
29055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29056 (eval "$ac_link") 2>conftest.er1
29057 ac_status=$?
29058 grep -v '^ *+' conftest.er1 >conftest.err
29059 rm -f conftest.er1
29060 cat conftest.err >&5
29061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29062 (exit $ac_status); } && {
29063 test -z "$ac_c_werror_flag" ||
29064 test ! -s conftest.err
29065 } && test -s conftest$ac_exeext &&
29066 $as_test_x conftest$ac_exeext; then
29067 { echo "$as_me:$LINENO: result: yes" >&5
29068 echo "${ECHO_T}yes" >&6; }
29069 X_LIBS="$X_LIBS -R $x_libraries"
29070 else
29071 echo "$as_me: failed program was:" >&5
29072 sed 's/^/| /' conftest.$ac_ext >&5
29073
29074 { echo "$as_me:$LINENO: result: neither works" >&5
29075 echo "${ECHO_T}neither works" >&6; }
29076 fi
29077
29078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29079 conftest$ac_exeext conftest.$ac_ext
29080 fi
29081
29082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29083 conftest$ac_exeext conftest.$ac_ext
29084 ac_c_werror_flag=$ac_xsave_c_werror_flag
29085 LIBS=$ac_xsave_LIBS
29086 fi
29087
29088 # Check for system-dependent libraries X programs must link with.
29089 # Do this before checking for the system-independent R6 libraries
29090 # (-lICE), since we may need -lsocket or whatever for X linking.
29091
29092 if test "$ISC" = yes; then
29093 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29094 else
29095 # Martyn Johnson says this is needed for Ultrix, if the X
29096 # libraries were built with DECnet support. And Karl Berry says
29097 # the Alpha needs dnet_stub (dnet does not exist).
29098 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29099 cat >conftest.$ac_ext <<_ACEOF
29100 /* confdefs.h. */
29101 _ACEOF
29102 cat confdefs.h >>conftest.$ac_ext
29103 cat >>conftest.$ac_ext <<_ACEOF
29104 /* end confdefs.h. */
29105
29106 /* Override any GCC internal prototype to avoid an error.
29107 Use char because int might match the return type of a GCC
29108 builtin and then its argument prototype would still apply. */
29109 #ifdef __cplusplus
29110 extern "C"
29111 #endif
29112 char XOpenDisplay ();
29113 int
29114 main ()
29115 {
29116 return XOpenDisplay ();
29117 ;
29118 return 0;
29119 }
29120 _ACEOF
29121 rm -f conftest.$ac_objext conftest$ac_exeext
29122 if { (ac_try="$ac_link"
29123 case "(($ac_try" in
29124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29125 *) ac_try_echo=$ac_try;;
29126 esac
29127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29128 (eval "$ac_link") 2>conftest.er1
29129 ac_status=$?
29130 grep -v '^ *+' conftest.er1 >conftest.err
29131 rm -f conftest.er1
29132 cat conftest.err >&5
29133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29134 (exit $ac_status); } && {
29135 test -z "$ac_c_werror_flag" ||
29136 test ! -s conftest.err
29137 } && test -s conftest$ac_exeext &&
29138 $as_test_x conftest$ac_exeext; then
29139 :
29140 else
29141 echo "$as_me: failed program was:" >&5
29142 sed 's/^/| /' conftest.$ac_ext >&5
29143
29144 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29145 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29146 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29147 echo $ECHO_N "(cached) $ECHO_C" >&6
29148 else
29149 ac_check_lib_save_LIBS=$LIBS
29150 LIBS="-ldnet $LIBS"
29151 cat >conftest.$ac_ext <<_ACEOF
29152 /* confdefs.h. */
29153 _ACEOF
29154 cat confdefs.h >>conftest.$ac_ext
29155 cat >>conftest.$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29157
29158 /* Override any GCC internal prototype to avoid an error.
29159 Use char because int might match the return type of a GCC
29160 builtin and then its argument prototype would still apply. */
29161 #ifdef __cplusplus
29162 extern "C"
29163 #endif
29164 char dnet_ntoa ();
29165 int
29166 main ()
29167 {
29168 return dnet_ntoa ();
29169 ;
29170 return 0;
29171 }
29172 _ACEOF
29173 rm -f conftest.$ac_objext conftest$ac_exeext
29174 if { (ac_try="$ac_link"
29175 case "(($ac_try" in
29176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29177 *) ac_try_echo=$ac_try;;
29178 esac
29179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29180 (eval "$ac_link") 2>conftest.er1
29181 ac_status=$?
29182 grep -v '^ *+' conftest.er1 >conftest.err
29183 rm -f conftest.er1
29184 cat conftest.err >&5
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); } && {
29187 test -z "$ac_c_werror_flag" ||
29188 test ! -s conftest.err
29189 } && test -s conftest$ac_exeext &&
29190 $as_test_x conftest$ac_exeext; then
29191 ac_cv_lib_dnet_dnet_ntoa=yes
29192 else
29193 echo "$as_me: failed program was:" >&5
29194 sed 's/^/| /' conftest.$ac_ext >&5
29195
29196 ac_cv_lib_dnet_dnet_ntoa=no
29197 fi
29198
29199 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29200 conftest$ac_exeext conftest.$ac_ext
29201 LIBS=$ac_check_lib_save_LIBS
29202 fi
29203 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29204 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29205 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29206 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29207 fi
29208
29209 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29210 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29211 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29212 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29213 echo $ECHO_N "(cached) $ECHO_C" >&6
29214 else
29215 ac_check_lib_save_LIBS=$LIBS
29216 LIBS="-ldnet_stub $LIBS"
29217 cat >conftest.$ac_ext <<_ACEOF
29218 /* confdefs.h. */
29219 _ACEOF
29220 cat confdefs.h >>conftest.$ac_ext
29221 cat >>conftest.$ac_ext <<_ACEOF
29222 /* end confdefs.h. */
29223
29224 /* Override any GCC internal prototype to avoid an error.
29225 Use char because int might match the return type of a GCC
29226 builtin and then its argument prototype would still apply. */
29227 #ifdef __cplusplus
29228 extern "C"
29229 #endif
29230 char dnet_ntoa ();
29231 int
29232 main ()
29233 {
29234 return dnet_ntoa ();
29235 ;
29236 return 0;
29237 }
29238 _ACEOF
29239 rm -f conftest.$ac_objext conftest$ac_exeext
29240 if { (ac_try="$ac_link"
29241 case "(($ac_try" in
29242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29243 *) ac_try_echo=$ac_try;;
29244 esac
29245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29246 (eval "$ac_link") 2>conftest.er1
29247 ac_status=$?
29248 grep -v '^ *+' conftest.er1 >conftest.err
29249 rm -f conftest.er1
29250 cat conftest.err >&5
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); } && {
29253 test -z "$ac_c_werror_flag" ||
29254 test ! -s conftest.err
29255 } && test -s conftest$ac_exeext &&
29256 $as_test_x conftest$ac_exeext; then
29257 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29258 else
29259 echo "$as_me: failed program was:" >&5
29260 sed 's/^/| /' conftest.$ac_ext >&5
29261
29262 ac_cv_lib_dnet_stub_dnet_ntoa=no
29263 fi
29264
29265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29266 conftest$ac_exeext conftest.$ac_ext
29267 LIBS=$ac_check_lib_save_LIBS
29268 fi
29269 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29270 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29271 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29272 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29273 fi
29274
29275 fi
29276 fi
29277
29278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29279 conftest$ac_exeext conftest.$ac_ext
29280 LIBS="$ac_xsave_LIBS"
29281
29282 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29283 # to get the SysV transport functions.
29284 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29285 # needs -lnsl.
29286 # The nsl library prevents programs from opening the X display
29287 # on Irix 5.2, according to T.E. Dickey.
29288 # The functions gethostbyname, getservbyname, and inet_addr are
29289 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29290 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29291 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29292 if test "${ac_cv_func_gethostbyname+set}" = set; then
29293 echo $ECHO_N "(cached) $ECHO_C" >&6
29294 else
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 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29303 #define gethostbyname innocuous_gethostbyname
29304
29305 /* System header to define __stub macros and hopefully few prototypes,
29306 which can conflict with char gethostbyname (); below.
29307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29308 <limits.h> exists even on freestanding compilers. */
29309
29310 #ifdef __STDC__
29311 # include <limits.h>
29312 #else
29313 # include <assert.h>
29314 #endif
29315
29316 #undef gethostbyname
29317
29318 /* Override any GCC internal prototype to avoid an error.
29319 Use char because int might match the return type of a GCC
29320 builtin and then its argument prototype would still apply. */
29321 #ifdef __cplusplus
29322 extern "C"
29323 #endif
29324 char gethostbyname ();
29325 /* The GNU C library defines this for functions which it implements
29326 to always fail with ENOSYS. Some functions are actually named
29327 something starting with __ and the normal name is an alias. */
29328 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29329 choke me
29330 #endif
29331
29332 int
29333 main ()
29334 {
29335 return gethostbyname ();
29336 ;
29337 return 0;
29338 }
29339 _ACEOF
29340 rm -f conftest.$ac_objext conftest$ac_exeext
29341 if { (ac_try="$ac_link"
29342 case "(($ac_try" in
29343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29344 *) ac_try_echo=$ac_try;;
29345 esac
29346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29347 (eval "$ac_link") 2>conftest.er1
29348 ac_status=$?
29349 grep -v '^ *+' conftest.er1 >conftest.err
29350 rm -f conftest.er1
29351 cat conftest.err >&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); } && {
29354 test -z "$ac_c_werror_flag" ||
29355 test ! -s conftest.err
29356 } && test -s conftest$ac_exeext &&
29357 $as_test_x conftest$ac_exeext; then
29358 ac_cv_func_gethostbyname=yes
29359 else
29360 echo "$as_me: failed program was:" >&5
29361 sed 's/^/| /' conftest.$ac_ext >&5
29362
29363 ac_cv_func_gethostbyname=no
29364 fi
29365
29366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29367 conftest$ac_exeext conftest.$ac_ext
29368 fi
29369 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29370 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29371
29372 if test $ac_cv_func_gethostbyname = no; then
29373 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29374 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29375 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29376 echo $ECHO_N "(cached) $ECHO_C" >&6
29377 else
29378 ac_check_lib_save_LIBS=$LIBS
29379 LIBS="-lnsl $LIBS"
29380 cat >conftest.$ac_ext <<_ACEOF
29381 /* confdefs.h. */
29382 _ACEOF
29383 cat confdefs.h >>conftest.$ac_ext
29384 cat >>conftest.$ac_ext <<_ACEOF
29385 /* end confdefs.h. */
29386
29387 /* Override any GCC internal prototype to avoid an error.
29388 Use char because int might match the return type of a GCC
29389 builtin and then its argument prototype would still apply. */
29390 #ifdef __cplusplus
29391 extern "C"
29392 #endif
29393 char gethostbyname ();
29394 int
29395 main ()
29396 {
29397 return gethostbyname ();
29398 ;
29399 return 0;
29400 }
29401 _ACEOF
29402 rm -f conftest.$ac_objext conftest$ac_exeext
29403 if { (ac_try="$ac_link"
29404 case "(($ac_try" in
29405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29406 *) ac_try_echo=$ac_try;;
29407 esac
29408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29409 (eval "$ac_link") 2>conftest.er1
29410 ac_status=$?
29411 grep -v '^ *+' conftest.er1 >conftest.err
29412 rm -f conftest.er1
29413 cat conftest.err >&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); } && {
29416 test -z "$ac_c_werror_flag" ||
29417 test ! -s conftest.err
29418 } && test -s conftest$ac_exeext &&
29419 $as_test_x conftest$ac_exeext; then
29420 ac_cv_lib_nsl_gethostbyname=yes
29421 else
29422 echo "$as_me: failed program was:" >&5
29423 sed 's/^/| /' conftest.$ac_ext >&5
29424
29425 ac_cv_lib_nsl_gethostbyname=no
29426 fi
29427
29428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29429 conftest$ac_exeext conftest.$ac_ext
29430 LIBS=$ac_check_lib_save_LIBS
29431 fi
29432 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29433 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29434 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29435 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29436 fi
29437
29438 if test $ac_cv_lib_nsl_gethostbyname = no; then
29439 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29440 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29441 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29442 echo $ECHO_N "(cached) $ECHO_C" >&6
29443 else
29444 ac_check_lib_save_LIBS=$LIBS
29445 LIBS="-lbsd $LIBS"
29446 cat >conftest.$ac_ext <<_ACEOF
29447 /* confdefs.h. */
29448 _ACEOF
29449 cat confdefs.h >>conftest.$ac_ext
29450 cat >>conftest.$ac_ext <<_ACEOF
29451 /* end confdefs.h. */
29452
29453 /* Override any GCC internal prototype to avoid an error.
29454 Use char because int might match the return type of a GCC
29455 builtin and then its argument prototype would still apply. */
29456 #ifdef __cplusplus
29457 extern "C"
29458 #endif
29459 char gethostbyname ();
29460 int
29461 main ()
29462 {
29463 return gethostbyname ();
29464 ;
29465 return 0;
29466 }
29467 _ACEOF
29468 rm -f conftest.$ac_objext conftest$ac_exeext
29469 if { (ac_try="$ac_link"
29470 case "(($ac_try" in
29471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29472 *) ac_try_echo=$ac_try;;
29473 esac
29474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29475 (eval "$ac_link") 2>conftest.er1
29476 ac_status=$?
29477 grep -v '^ *+' conftest.er1 >conftest.err
29478 rm -f conftest.er1
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } && {
29482 test -z "$ac_c_werror_flag" ||
29483 test ! -s conftest.err
29484 } && test -s conftest$ac_exeext &&
29485 $as_test_x conftest$ac_exeext; then
29486 ac_cv_lib_bsd_gethostbyname=yes
29487 else
29488 echo "$as_me: failed program was:" >&5
29489 sed 's/^/| /' conftest.$ac_ext >&5
29490
29491 ac_cv_lib_bsd_gethostbyname=no
29492 fi
29493
29494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29495 conftest$ac_exeext conftest.$ac_ext
29496 LIBS=$ac_check_lib_save_LIBS
29497 fi
29498 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29499 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29500 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29501 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29502 fi
29503
29504 fi
29505 fi
29506
29507 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29508 # socket/setsockopt and other routines are undefined under SCO ODT
29509 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29510 # on later versions), says Simon Leinen: it contains gethostby*
29511 # variants that don't use the name server (or something). -lsocket
29512 # must be given before -lnsl if both are needed. We assume that
29513 # if connect needs -lnsl, so does gethostbyname.
29514 { echo "$as_me:$LINENO: checking for connect" >&5
29515 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29516 if test "${ac_cv_func_connect+set}" = set; then
29517 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 else
29519 cat >conftest.$ac_ext <<_ACEOF
29520 /* confdefs.h. */
29521 _ACEOF
29522 cat confdefs.h >>conftest.$ac_ext
29523 cat >>conftest.$ac_ext <<_ACEOF
29524 /* end confdefs.h. */
29525 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29527 #define connect innocuous_connect
29528
29529 /* System header to define __stub macros and hopefully few prototypes,
29530 which can conflict with char connect (); below.
29531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29532 <limits.h> exists even on freestanding compilers. */
29533
29534 #ifdef __STDC__
29535 # include <limits.h>
29536 #else
29537 # include <assert.h>
29538 #endif
29539
29540 #undef connect
29541
29542 /* Override any GCC internal prototype to avoid an error.
29543 Use char because int might match the return type of a GCC
29544 builtin and then its argument prototype would still apply. */
29545 #ifdef __cplusplus
29546 extern "C"
29547 #endif
29548 char connect ();
29549 /* The GNU C library defines this for functions which it implements
29550 to always fail with ENOSYS. Some functions are actually named
29551 something starting with __ and the normal name is an alias. */
29552 #if defined __stub_connect || defined __stub___connect
29553 choke me
29554 #endif
29555
29556 int
29557 main ()
29558 {
29559 return connect ();
29560 ;
29561 return 0;
29562 }
29563 _ACEOF
29564 rm -f conftest.$ac_objext conftest$ac_exeext
29565 if { (ac_try="$ac_link"
29566 case "(($ac_try" in
29567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29568 *) ac_try_echo=$ac_try;;
29569 esac
29570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29571 (eval "$ac_link") 2>conftest.er1
29572 ac_status=$?
29573 grep -v '^ *+' conftest.er1 >conftest.err
29574 rm -f conftest.er1
29575 cat conftest.err >&5
29576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29577 (exit $ac_status); } && {
29578 test -z "$ac_c_werror_flag" ||
29579 test ! -s conftest.err
29580 } && test -s conftest$ac_exeext &&
29581 $as_test_x conftest$ac_exeext; then
29582 ac_cv_func_connect=yes
29583 else
29584 echo "$as_me: failed program was:" >&5
29585 sed 's/^/| /' conftest.$ac_ext >&5
29586
29587 ac_cv_func_connect=no
29588 fi
29589
29590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29591 conftest$ac_exeext conftest.$ac_ext
29592 fi
29593 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29594 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29595
29596 if test $ac_cv_func_connect = no; then
29597 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29598 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29599 if test "${ac_cv_lib_socket_connect+set}" = set; then
29600 echo $ECHO_N "(cached) $ECHO_C" >&6
29601 else
29602 ac_check_lib_save_LIBS=$LIBS
29603 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29604 cat >conftest.$ac_ext <<_ACEOF
29605 /* confdefs.h. */
29606 _ACEOF
29607 cat confdefs.h >>conftest.$ac_ext
29608 cat >>conftest.$ac_ext <<_ACEOF
29609 /* end confdefs.h. */
29610
29611 /* Override any GCC internal prototype to avoid an error.
29612 Use char because int might match the return type of a GCC
29613 builtin and then its argument prototype would still apply. */
29614 #ifdef __cplusplus
29615 extern "C"
29616 #endif
29617 char connect ();
29618 int
29619 main ()
29620 {
29621 return connect ();
29622 ;
29623 return 0;
29624 }
29625 _ACEOF
29626 rm -f conftest.$ac_objext conftest$ac_exeext
29627 if { (ac_try="$ac_link"
29628 case "(($ac_try" in
29629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29630 *) ac_try_echo=$ac_try;;
29631 esac
29632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29633 (eval "$ac_link") 2>conftest.er1
29634 ac_status=$?
29635 grep -v '^ *+' conftest.er1 >conftest.err
29636 rm -f conftest.er1
29637 cat conftest.err >&5
29638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29639 (exit $ac_status); } && {
29640 test -z "$ac_c_werror_flag" ||
29641 test ! -s conftest.err
29642 } && test -s conftest$ac_exeext &&
29643 $as_test_x conftest$ac_exeext; then
29644 ac_cv_lib_socket_connect=yes
29645 else
29646 echo "$as_me: failed program was:" >&5
29647 sed 's/^/| /' conftest.$ac_ext >&5
29648
29649 ac_cv_lib_socket_connect=no
29650 fi
29651
29652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29653 conftest$ac_exeext conftest.$ac_ext
29654 LIBS=$ac_check_lib_save_LIBS
29655 fi
29656 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29657 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29658 if test $ac_cv_lib_socket_connect = yes; then
29659 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29660 fi
29661
29662 fi
29663
29664 # Guillermo Gomez says -lposix is necessary on A/UX.
29665 { echo "$as_me:$LINENO: checking for remove" >&5
29666 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29667 if test "${ac_cv_func_remove+set}" = set; then
29668 echo $ECHO_N "(cached) $ECHO_C" >&6
29669 else
29670 cat >conftest.$ac_ext <<_ACEOF
29671 /* confdefs.h. */
29672 _ACEOF
29673 cat confdefs.h >>conftest.$ac_ext
29674 cat >>conftest.$ac_ext <<_ACEOF
29675 /* end confdefs.h. */
29676 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29678 #define remove innocuous_remove
29679
29680 /* System header to define __stub macros and hopefully few prototypes,
29681 which can conflict with char remove (); below.
29682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29683 <limits.h> exists even on freestanding compilers. */
29684
29685 #ifdef __STDC__
29686 # include <limits.h>
29687 #else
29688 # include <assert.h>
29689 #endif
29690
29691 #undef remove
29692
29693 /* Override any GCC internal prototype to avoid an error.
29694 Use char because int might match the return type of a GCC
29695 builtin and then its argument prototype would still apply. */
29696 #ifdef __cplusplus
29697 extern "C"
29698 #endif
29699 char remove ();
29700 /* The GNU C library defines this for functions which it implements
29701 to always fail with ENOSYS. Some functions are actually named
29702 something starting with __ and the normal name is an alias. */
29703 #if defined __stub_remove || defined __stub___remove
29704 choke me
29705 #endif
29706
29707 int
29708 main ()
29709 {
29710 return remove ();
29711 ;
29712 return 0;
29713 }
29714 _ACEOF
29715 rm -f conftest.$ac_objext conftest$ac_exeext
29716 if { (ac_try="$ac_link"
29717 case "(($ac_try" in
29718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29719 *) ac_try_echo=$ac_try;;
29720 esac
29721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29722 (eval "$ac_link") 2>conftest.er1
29723 ac_status=$?
29724 grep -v '^ *+' conftest.er1 >conftest.err
29725 rm -f conftest.er1
29726 cat conftest.err >&5
29727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728 (exit $ac_status); } && {
29729 test -z "$ac_c_werror_flag" ||
29730 test ! -s conftest.err
29731 } && test -s conftest$ac_exeext &&
29732 $as_test_x conftest$ac_exeext; then
29733 ac_cv_func_remove=yes
29734 else
29735 echo "$as_me: failed program was:" >&5
29736 sed 's/^/| /' conftest.$ac_ext >&5
29737
29738 ac_cv_func_remove=no
29739 fi
29740
29741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29742 conftest$ac_exeext conftest.$ac_ext
29743 fi
29744 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29745 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29746
29747 if test $ac_cv_func_remove = no; then
29748 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29749 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29750 if test "${ac_cv_lib_posix_remove+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29752 else
29753 ac_check_lib_save_LIBS=$LIBS
29754 LIBS="-lposix $LIBS"
29755 cat >conftest.$ac_ext <<_ACEOF
29756 /* confdefs.h. */
29757 _ACEOF
29758 cat confdefs.h >>conftest.$ac_ext
29759 cat >>conftest.$ac_ext <<_ACEOF
29760 /* end confdefs.h. */
29761
29762 /* Override any GCC internal prototype to avoid an error.
29763 Use char because int might match the return type of a GCC
29764 builtin and then its argument prototype would still apply. */
29765 #ifdef __cplusplus
29766 extern "C"
29767 #endif
29768 char remove ();
29769 int
29770 main ()
29771 {
29772 return remove ();
29773 ;
29774 return 0;
29775 }
29776 _ACEOF
29777 rm -f conftest.$ac_objext conftest$ac_exeext
29778 if { (ac_try="$ac_link"
29779 case "(($ac_try" in
29780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29781 *) ac_try_echo=$ac_try;;
29782 esac
29783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29784 (eval "$ac_link") 2>conftest.er1
29785 ac_status=$?
29786 grep -v '^ *+' conftest.er1 >conftest.err
29787 rm -f conftest.er1
29788 cat conftest.err >&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); } && {
29791 test -z "$ac_c_werror_flag" ||
29792 test ! -s conftest.err
29793 } && test -s conftest$ac_exeext &&
29794 $as_test_x conftest$ac_exeext; then
29795 ac_cv_lib_posix_remove=yes
29796 else
29797 echo "$as_me: failed program was:" >&5
29798 sed 's/^/| /' conftest.$ac_ext >&5
29799
29800 ac_cv_lib_posix_remove=no
29801 fi
29802
29803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29804 conftest$ac_exeext conftest.$ac_ext
29805 LIBS=$ac_check_lib_save_LIBS
29806 fi
29807 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29808 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29809 if test $ac_cv_lib_posix_remove = yes; then
29810 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29811 fi
29812
29813 fi
29814
29815 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29816 { echo "$as_me:$LINENO: checking for shmat" >&5
29817 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29818 if test "${ac_cv_func_shmat+set}" = set; then
29819 echo $ECHO_N "(cached) $ECHO_C" >&6
29820 else
29821 cat >conftest.$ac_ext <<_ACEOF
29822 /* confdefs.h. */
29823 _ACEOF
29824 cat confdefs.h >>conftest.$ac_ext
29825 cat >>conftest.$ac_ext <<_ACEOF
29826 /* end confdefs.h. */
29827 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29829 #define shmat innocuous_shmat
29830
29831 /* System header to define __stub macros and hopefully few prototypes,
29832 which can conflict with char shmat (); below.
29833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29834 <limits.h> exists even on freestanding compilers. */
29835
29836 #ifdef __STDC__
29837 # include <limits.h>
29838 #else
29839 # include <assert.h>
29840 #endif
29841
29842 #undef shmat
29843
29844 /* Override any GCC internal prototype to avoid an error.
29845 Use char because int might match the return type of a GCC
29846 builtin and then its argument prototype would still apply. */
29847 #ifdef __cplusplus
29848 extern "C"
29849 #endif
29850 char shmat ();
29851 /* The GNU C library defines this for functions which it implements
29852 to always fail with ENOSYS. Some functions are actually named
29853 something starting with __ and the normal name is an alias. */
29854 #if defined __stub_shmat || defined __stub___shmat
29855 choke me
29856 #endif
29857
29858 int
29859 main ()
29860 {
29861 return shmat ();
29862 ;
29863 return 0;
29864 }
29865 _ACEOF
29866 rm -f conftest.$ac_objext conftest$ac_exeext
29867 if { (ac_try="$ac_link"
29868 case "(($ac_try" in
29869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29870 *) ac_try_echo=$ac_try;;
29871 esac
29872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29873 (eval "$ac_link") 2>conftest.er1
29874 ac_status=$?
29875 grep -v '^ *+' conftest.er1 >conftest.err
29876 rm -f conftest.er1
29877 cat conftest.err >&5
29878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29879 (exit $ac_status); } && {
29880 test -z "$ac_c_werror_flag" ||
29881 test ! -s conftest.err
29882 } && test -s conftest$ac_exeext &&
29883 $as_test_x conftest$ac_exeext; then
29884 ac_cv_func_shmat=yes
29885 else
29886 echo "$as_me: failed program was:" >&5
29887 sed 's/^/| /' conftest.$ac_ext >&5
29888
29889 ac_cv_func_shmat=no
29890 fi
29891
29892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29893 conftest$ac_exeext conftest.$ac_ext
29894 fi
29895 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29896 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29897
29898 if test $ac_cv_func_shmat = no; then
29899 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29900 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29901 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29902 echo $ECHO_N "(cached) $ECHO_C" >&6
29903 else
29904 ac_check_lib_save_LIBS=$LIBS
29905 LIBS="-lipc $LIBS"
29906 cat >conftest.$ac_ext <<_ACEOF
29907 /* confdefs.h. */
29908 _ACEOF
29909 cat confdefs.h >>conftest.$ac_ext
29910 cat >>conftest.$ac_ext <<_ACEOF
29911 /* end confdefs.h. */
29912
29913 /* Override any GCC internal prototype to avoid an error.
29914 Use char because int might match the return type of a GCC
29915 builtin and then its argument prototype would still apply. */
29916 #ifdef __cplusplus
29917 extern "C"
29918 #endif
29919 char shmat ();
29920 int
29921 main ()
29922 {
29923 return shmat ();
29924 ;
29925 return 0;
29926 }
29927 _ACEOF
29928 rm -f conftest.$ac_objext conftest$ac_exeext
29929 if { (ac_try="$ac_link"
29930 case "(($ac_try" in
29931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29932 *) ac_try_echo=$ac_try;;
29933 esac
29934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29935 (eval "$ac_link") 2>conftest.er1
29936 ac_status=$?
29937 grep -v '^ *+' conftest.er1 >conftest.err
29938 rm -f conftest.er1
29939 cat conftest.err >&5
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); } && {
29942 test -z "$ac_c_werror_flag" ||
29943 test ! -s conftest.err
29944 } && test -s conftest$ac_exeext &&
29945 $as_test_x conftest$ac_exeext; then
29946 ac_cv_lib_ipc_shmat=yes
29947 else
29948 echo "$as_me: failed program was:" >&5
29949 sed 's/^/| /' conftest.$ac_ext >&5
29950
29951 ac_cv_lib_ipc_shmat=no
29952 fi
29953
29954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29955 conftest$ac_exeext conftest.$ac_ext
29956 LIBS=$ac_check_lib_save_LIBS
29957 fi
29958 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29959 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29960 if test $ac_cv_lib_ipc_shmat = yes; then
29961 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29962 fi
29963
29964 fi
29965 fi
29966
29967 # Check for libraries that X11R6 Xt/Xaw programs need.
29968 ac_save_LDFLAGS=$LDFLAGS
29969 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29970 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29971 # check for ICE first), but we must link in the order -lSM -lICE or
29972 # we get undefined symbols. So assume we have SM if we have ICE.
29973 # These have to be linked with before -lX11, unlike the other
29974 # libraries we check for below, so use a different variable.
29975 # John Interrante, Karl Berry
29976 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29977 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29978 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29979 echo $ECHO_N "(cached) $ECHO_C" >&6
29980 else
29981 ac_check_lib_save_LIBS=$LIBS
29982 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29983 cat >conftest.$ac_ext <<_ACEOF
29984 /* confdefs.h. */
29985 _ACEOF
29986 cat confdefs.h >>conftest.$ac_ext
29987 cat >>conftest.$ac_ext <<_ACEOF
29988 /* end confdefs.h. */
29989
29990 /* Override any GCC internal prototype to avoid an error.
29991 Use char because int might match the return type of a GCC
29992 builtin and then its argument prototype would still apply. */
29993 #ifdef __cplusplus
29994 extern "C"
29995 #endif
29996 char IceConnectionNumber ();
29997 int
29998 main ()
29999 {
30000 return IceConnectionNumber ();
30001 ;
30002 return 0;
30003 }
30004 _ACEOF
30005 rm -f conftest.$ac_objext conftest$ac_exeext
30006 if { (ac_try="$ac_link"
30007 case "(($ac_try" in
30008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30009 *) ac_try_echo=$ac_try;;
30010 esac
30011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30012 (eval "$ac_link") 2>conftest.er1
30013 ac_status=$?
30014 grep -v '^ *+' conftest.er1 >conftest.err
30015 rm -f conftest.er1
30016 cat conftest.err >&5
30017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30018 (exit $ac_status); } && {
30019 test -z "$ac_c_werror_flag" ||
30020 test ! -s conftest.err
30021 } && test -s conftest$ac_exeext &&
30022 $as_test_x conftest$ac_exeext; then
30023 ac_cv_lib_ICE_IceConnectionNumber=yes
30024 else
30025 echo "$as_me: failed program was:" >&5
30026 sed 's/^/| /' conftest.$ac_ext >&5
30027
30028 ac_cv_lib_ICE_IceConnectionNumber=no
30029 fi
30030
30031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30032 conftest$ac_exeext conftest.$ac_ext
30033 LIBS=$ac_check_lib_save_LIBS
30034 fi
30035 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30036 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30037 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30038 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30039 fi
30040
30041 LDFLAGS=$ac_save_LDFLAGS
30042
30043 fi
30044
30045
30046 if test "$no_x" = "yes"; then
30047 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30048 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30049 { (exit 1); exit 1; }; }
30050 fi
30051
30052 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30053 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30054 AFMINSTALL=afminstall
30055 COMPILED_X_PROGRAM=0
30056
30057 fi
30058
30059 if test "$wxUSE_X11" = 1; then
30060 if test "$wxUSE_NANOX" = "yes"; then
30061 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30062 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30063 if test "x$MICROWIN" = x ; then
30064 { echo "$as_me:$LINENO: result: not found" >&5
30065 echo "${ECHO_T}not found" >&6; }
30066 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30067 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30068 { (exit 1); exit 1; }; }
30069 else
30070 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30071 echo "${ECHO_T}$MICROWIN" >&6; }
30072 cat >>confdefs.h <<\_ACEOF
30073 #define wxUSE_NANOX 1
30074 _ACEOF
30075
30076 fi
30077 fi
30078
30079 if test "$wxUSE_UNICODE" = "yes"; then
30080
30081
30082 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30083 if test -n "$ac_tool_prefix"; then
30084 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30085 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30088 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30089 echo $ECHO_N "(cached) $ECHO_C" >&6
30090 else
30091 case $PKG_CONFIG in
30092 [\\/]* | ?:[\\/]*)
30093 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30094 ;;
30095 *)
30096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30097 for as_dir in $PATH
30098 do
30099 IFS=$as_save_IFS
30100 test -z "$as_dir" && as_dir=.
30101 for ac_exec_ext in '' $ac_executable_extensions; do
30102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30103 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30105 break 2
30106 fi
30107 done
30108 done
30109 IFS=$as_save_IFS
30110
30111 ;;
30112 esac
30113 fi
30114 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30115 if test -n "$PKG_CONFIG"; then
30116 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30117 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30118 else
30119 { echo "$as_me:$LINENO: result: no" >&5
30120 echo "${ECHO_T}no" >&6; }
30121 fi
30122
30123
30124 fi
30125 if test -z "$ac_cv_path_PKG_CONFIG"; then
30126 ac_pt_PKG_CONFIG=$PKG_CONFIG
30127 # Extract the first word of "pkg-config", so it can be a program name with args.
30128 set dummy pkg-config; ac_word=$2
30129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30131 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30132 echo $ECHO_N "(cached) $ECHO_C" >&6
30133 else
30134 case $ac_pt_PKG_CONFIG in
30135 [\\/]* | ?:[\\/]*)
30136 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30137 ;;
30138 *)
30139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30140 for as_dir in $PATH
30141 do
30142 IFS=$as_save_IFS
30143 test -z "$as_dir" && as_dir=.
30144 for ac_exec_ext in '' $ac_executable_extensions; do
30145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30146 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30148 break 2
30149 fi
30150 done
30151 done
30152 IFS=$as_save_IFS
30153
30154 ;;
30155 esac
30156 fi
30157 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30158 if test -n "$ac_pt_PKG_CONFIG"; then
30159 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30160 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30161 else
30162 { echo "$as_me:$LINENO: result: no" >&5
30163 echo "${ECHO_T}no" >&6; }
30164 fi
30165
30166 if test "x$ac_pt_PKG_CONFIG" = x; then
30167 PKG_CONFIG=""
30168 else
30169 case $cross_compiling:$ac_tool_warned in
30170 yes:)
30171 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30172 whose name does not start with the host triplet. If you think this
30173 configuration is useful to you, please write to autoconf@gnu.org." >&5
30174 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30175 whose name does not start with the host triplet. If you think this
30176 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30177 ac_tool_warned=yes ;;
30178 esac
30179 PKG_CONFIG=$ac_pt_PKG_CONFIG
30180 fi
30181 else
30182 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30183 fi
30184
30185 fi
30186 if test -n "$PKG_CONFIG"; then
30187 _pkg_min_version=0.9.0
30188 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30189 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30190 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30191 { echo "$as_me:$LINENO: result: yes" >&5
30192 echo "${ECHO_T}yes" >&6; }
30193 else
30194 { echo "$as_me:$LINENO: result: no" >&5
30195 echo "${ECHO_T}no" >&6; }
30196 PKG_CONFIG=""
30197 fi
30198
30199 fi
30200
30201
30202 pkg_failed=no
30203 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30204 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30205
30206 if test -n "$PKG_CONFIG"; then
30207 if test -n "$PANGOX_CFLAGS"; then
30208 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30209 else
30210 if test -n "$PKG_CONFIG" && \
30211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30212 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30213 ac_status=$?
30214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30215 (exit $ac_status); }; then
30216 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30217 else
30218 pkg_failed=yes
30219 fi
30220 fi
30221 else
30222 pkg_failed=untried
30223 fi
30224 if test -n "$PKG_CONFIG"; then
30225 if test -n "$PANGOX_LIBS"; then
30226 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30227 else
30228 if test -n "$PKG_CONFIG" && \
30229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30230 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30231 ac_status=$?
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; then
30234 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30235 else
30236 pkg_failed=yes
30237 fi
30238 fi
30239 else
30240 pkg_failed=untried
30241 fi
30242
30243
30244
30245 if test $pkg_failed = yes; then
30246
30247 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30248 _pkg_short_errors_supported=yes
30249 else
30250 _pkg_short_errors_supported=no
30251 fi
30252 if test $_pkg_short_errors_supported = yes; then
30253 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30254 else
30255 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30256 fi
30257 # Put the nasty error message in config.log where it belongs
30258 echo "$PANGOX_PKG_ERRORS" >&5
30259
30260
30261 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30262 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30263 { (exit 1); exit 1; }; }
30264
30265
30266 elif test $pkg_failed = untried; then
30267
30268 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30269 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30270 { (exit 1); exit 1; }; }
30271
30272
30273 else
30274 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30275 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30276 { echo "$as_me:$LINENO: result: yes" >&5
30277 echo "${ECHO_T}yes" >&6; }
30278
30279 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30280 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30281 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30282
30283 fi
30284
30285 pkg_failed=no
30286 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30287 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30288
30289 if test -n "$PKG_CONFIG"; then
30290 if test -n "$PANGOFT2_CFLAGS"; then
30291 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30292 else
30293 if test -n "$PKG_CONFIG" && \
30294 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30295 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30296 ac_status=$?
30297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30298 (exit $ac_status); }; then
30299 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30300 else
30301 pkg_failed=yes
30302 fi
30303 fi
30304 else
30305 pkg_failed=untried
30306 fi
30307 if test -n "$PKG_CONFIG"; then
30308 if test -n "$PANGOFT2_LIBS"; then
30309 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30310 else
30311 if test -n "$PKG_CONFIG" && \
30312 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30313 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30314 ac_status=$?
30315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30316 (exit $ac_status); }; then
30317 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30318 else
30319 pkg_failed=yes
30320 fi
30321 fi
30322 else
30323 pkg_failed=untried
30324 fi
30325
30326
30327
30328 if test $pkg_failed = yes; then
30329
30330 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30331 _pkg_short_errors_supported=yes
30332 else
30333 _pkg_short_errors_supported=no
30334 fi
30335 if test $_pkg_short_errors_supported = yes; then
30336 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30337 else
30338 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30339 fi
30340 # Put the nasty error message in config.log where it belongs
30341 echo "$PANGOFT2_PKG_ERRORS" >&5
30342
30343
30344 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30345 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30346 wxUSE_PRINTING_ARCHITECTURE="no"
30347
30348
30349 elif test $pkg_failed = untried; then
30350
30351 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30352 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30353 wxUSE_PRINTING_ARCHITECTURE="no"
30354
30355
30356 else
30357 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30358 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30359 { echo "$as_me:$LINENO: result: yes" >&5
30360 echo "${ECHO_T}yes" >&6; }
30361
30362 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30363 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30364 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30365
30366 fi
30367
30368 pkg_failed=no
30369 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30370 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30371
30372 if test -n "$PKG_CONFIG"; then
30373 if test -n "$PANGOXFT_CFLAGS"; then
30374 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30375 else
30376 if test -n "$PKG_CONFIG" && \
30377 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30378 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30379 ac_status=$?
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); }; then
30382 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30383 else
30384 pkg_failed=yes
30385 fi
30386 fi
30387 else
30388 pkg_failed=untried
30389 fi
30390 if test -n "$PKG_CONFIG"; then
30391 if test -n "$PANGOXFT_LIBS"; then
30392 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30393 else
30394 if test -n "$PKG_CONFIG" && \
30395 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30396 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30397 ac_status=$?
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); }; then
30400 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30401 else
30402 pkg_failed=yes
30403 fi
30404 fi
30405 else
30406 pkg_failed=untried
30407 fi
30408
30409
30410
30411 if test $pkg_failed = yes; then
30412
30413 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30414 _pkg_short_errors_supported=yes
30415 else
30416 _pkg_short_errors_supported=no
30417 fi
30418 if test $_pkg_short_errors_supported = yes; then
30419 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30420 else
30421 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30422 fi
30423 # Put the nasty error message in config.log where it belongs
30424 echo "$PANGOXFT_PKG_ERRORS" >&5
30425
30426
30427 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30428 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30429
30430
30431 elif test $pkg_failed = untried; then
30432
30433 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30434 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30435
30436
30437 else
30438 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30439 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30440 { echo "$as_me:$LINENO: result: yes" >&5
30441 echo "${ECHO_T}yes" >&6; }
30442
30443 cat >>confdefs.h <<\_ACEOF
30444 #define HAVE_PANGO_XFT 1
30445 _ACEOF
30446
30447 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30448 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30449 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30450
30451 fi
30452 save_LIBS="$LIBS"
30453 LIBS="$LIBS $PANGOX_LIBS"
30454
30455 for ac_func in pango_font_family_is_monospace
30456 do
30457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30458 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30460 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 else
30463 cat >conftest.$ac_ext <<_ACEOF
30464 /* confdefs.h. */
30465 _ACEOF
30466 cat confdefs.h >>conftest.$ac_ext
30467 cat >>conftest.$ac_ext <<_ACEOF
30468 /* end confdefs.h. */
30469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30471 #define $ac_func innocuous_$ac_func
30472
30473 /* System header to define __stub macros and hopefully few prototypes,
30474 which can conflict with char $ac_func (); below.
30475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30476 <limits.h> exists even on freestanding compilers. */
30477
30478 #ifdef __STDC__
30479 # include <limits.h>
30480 #else
30481 # include <assert.h>
30482 #endif
30483
30484 #undef $ac_func
30485
30486 /* Override any GCC internal prototype to avoid an error.
30487 Use char because int might match the return type of a GCC
30488 builtin and then its argument prototype would still apply. */
30489 #ifdef __cplusplus
30490 extern "C"
30491 #endif
30492 char $ac_func ();
30493 /* The GNU C library defines this for functions which it implements
30494 to always fail with ENOSYS. Some functions are actually named
30495 something starting with __ and the normal name is an alias. */
30496 #if defined __stub_$ac_func || defined __stub___$ac_func
30497 choke me
30498 #endif
30499
30500 int
30501 main ()
30502 {
30503 return $ac_func ();
30504 ;
30505 return 0;
30506 }
30507 _ACEOF
30508 rm -f conftest.$ac_objext 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>conftest.er1
30516 ac_status=$?
30517 grep -v '^ *+' conftest.er1 >conftest.err
30518 rm -f conftest.er1
30519 cat conftest.err >&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); } && {
30522 test -z "$ac_c_werror_flag" ||
30523 test ! -s conftest.err
30524 } && test -s conftest$ac_exeext &&
30525 $as_test_x conftest$ac_exeext; then
30526 eval "$as_ac_var=yes"
30527 else
30528 echo "$as_me: failed program was:" >&5
30529 sed 's/^/| /' conftest.$ac_ext >&5
30530
30531 eval "$as_ac_var=no"
30532 fi
30533
30534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30535 conftest$ac_exeext conftest.$ac_ext
30536 fi
30537 ac_res=`eval echo '${'$as_ac_var'}'`
30538 { echo "$as_me:$LINENO: result: $ac_res" >&5
30539 echo "${ECHO_T}$ac_res" >&6; }
30540 if test `eval echo '${'$as_ac_var'}'` = yes; then
30541 cat >>confdefs.h <<_ACEOF
30542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30543 _ACEOF
30544
30545 fi
30546 done
30547
30548 LIBS="$save_LIBS"
30549 fi
30550
30551 wxUSE_UNIVERSAL="yes"
30552
30553 if test "$wxUSE_NANOX" = "yes"; then
30554 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30555 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"
30556 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30557 else
30558 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30559 fi
30560
30561 TOOLKIT=X11
30562 GUIDIST=X11_DIST
30563 fi
30564
30565 if test "$wxUSE_MOTIF" = 1; then
30566 if test "$wxUSE_UNICODE" = "yes"; then
30567 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30568 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30569 { (exit 1); exit 1; }; }
30570 fi
30571
30572 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30573 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30574
30575 ac_find_includes=
30576 for ac_dir in $SEARCH_INCLUDE /usr/include;
30577 do
30578 if test -f "$ac_dir/Xm/Xm.h"; then
30579 ac_find_includes=$ac_dir
30580 break
30581 fi
30582 done
30583
30584 if test "$ac_find_includes" != "" ; then
30585 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30586 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30587
30588 if test "x$ac_find_includes" = "x/usr/include"; then
30589 ac_path_to_include=""
30590 else
30591 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30592 result=$?
30593 if test $result = 0; then
30594 ac_path_to_include=""
30595 else
30596 ac_path_to_include=" -I$ac_find_includes"
30597 fi
30598 fi
30599
30600 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30601 else
30602 save_CFLAGS=$CFLAGS
30603 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30604
30605 cat >conftest.$ac_ext <<_ACEOF
30606 /* confdefs.h. */
30607 _ACEOF
30608 cat confdefs.h >>conftest.$ac_ext
30609 cat >>conftest.$ac_ext <<_ACEOF
30610 /* end confdefs.h. */
30611
30612 #include <Xm/Xm.h>
30613
30614 int
30615 main ()
30616 {
30617
30618 int version;
30619 version = xmUseVersion;
30620
30621 ;
30622 return 0;
30623 }
30624 _ACEOF
30625 rm -f conftest.$ac_objext
30626 if { (ac_try="$ac_compile"
30627 case "(($ac_try" in
30628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30629 *) ac_try_echo=$ac_try;;
30630 esac
30631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30632 (eval "$ac_compile") 2>conftest.er1
30633 ac_status=$?
30634 grep -v '^ *+' conftest.er1 >conftest.err
30635 rm -f conftest.er1
30636 cat conftest.err >&5
30637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30638 (exit $ac_status); } && {
30639 test -z "$ac_c_werror_flag" ||
30640 test ! -s conftest.err
30641 } && test -s conftest.$ac_objext; then
30642
30643 { echo "$as_me:$LINENO: result: found in default search path" >&5
30644 echo "${ECHO_T}found in default search path" >&6; }
30645 COMPILED_X_PROGRAM=1
30646
30647 else
30648 echo "$as_me: failed program was:" >&5
30649 sed 's/^/| /' conftest.$ac_ext >&5
30650
30651
30652 { echo "$as_me:$LINENO: result: no" >&5
30653 echo "${ECHO_T}no" >&6; }
30654 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30655 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30656 { (exit 1); exit 1; }; }
30657
30658
30659 fi
30660
30661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30662
30663 CFLAGS=$save_CFLAGS
30664 fi
30665
30666
30667 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30668 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30669
30670 ac_find_libraries=
30671 for ac_dir in $SEARCH_LIB;
30672 do
30673 for ac_extension in a so sl dylib dll.a; do
30674 if test -f "$ac_dir/libXm.$ac_extension"; then
30675 ac_find_libraries=$ac_dir
30676 break 2
30677 fi
30678 done
30679 done
30680
30681
30682 if test "x$ac_find_libraries" != "x" ; then
30683 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30684 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30685
30686
30687 if test "$ac_find_libraries" = "default location"; then
30688 ac_path_to_link=""
30689 else
30690 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30691 result=$?
30692 if test $result = 0; then
30693 ac_path_to_link=""
30694 else
30695 ac_path_to_link=" -L$ac_find_libraries"
30696 fi
30697 fi
30698
30699 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30700 else
30701 save_CFLAGS=$CFLAGS
30702 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30703 save_LIBS="$LIBS"
30704 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30705
30706 cat >conftest.$ac_ext <<_ACEOF
30707 /* confdefs.h. */
30708 _ACEOF
30709 cat confdefs.h >>conftest.$ac_ext
30710 cat >>conftest.$ac_ext <<_ACEOF
30711 /* end confdefs.h. */
30712
30713 #include <Xm/Xm.h>
30714
30715 int
30716 main ()
30717 {
30718
30719 int version;
30720 version = xmUseVersion;
30721
30722 ;
30723 return 0;
30724 }
30725 _ACEOF
30726 rm -f conftest.$ac_objext conftest$ac_exeext
30727 if { (ac_try="$ac_link"
30728 case "(($ac_try" in
30729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30730 *) ac_try_echo=$ac_try;;
30731 esac
30732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30733 (eval "$ac_link") 2>conftest.er1
30734 ac_status=$?
30735 grep -v '^ *+' conftest.er1 >conftest.err
30736 rm -f conftest.er1
30737 cat conftest.err >&5
30738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30739 (exit $ac_status); } && {
30740 test -z "$ac_c_werror_flag" ||
30741 test ! -s conftest.err
30742 } && test -s conftest$ac_exeext &&
30743 $as_test_x conftest$ac_exeext; then
30744
30745 { echo "$as_me:$LINENO: result: found in default search path" >&5
30746 echo "${ECHO_T}found in default search path" >&6; }
30747 COMPILED_X_PROGRAM=1
30748
30749 else
30750 echo "$as_me: failed program was:" >&5
30751 sed 's/^/| /' conftest.$ac_ext >&5
30752
30753
30754 { echo "$as_me:$LINENO: result: no" >&5
30755 echo "${ECHO_T}no" >&6; }
30756 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30757 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30758 { (exit 1); exit 1; }; }
30759
30760
30761 fi
30762
30763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30764 conftest$ac_exeext conftest.$ac_ext
30765
30766 CFLAGS=$save_CFLAGS
30767 LIBS="$save_LIBS"
30768 fi
30769
30770 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30771 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30772 libp_link=""
30773 libsm_ice_link=""
30774 libs_found=0
30775 for libp in "" " -lXp"; do
30776 if test "$libs_found" = "0"; then
30777 for libsm_ice in "" " -lSM -lICE"; do
30778 if test "$libs_found" = "0"; then
30779 save_LIBS="$LIBS"
30780 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30781 save_CFLAGS=$CFLAGS
30782 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30783
30784 cat >conftest.$ac_ext <<_ACEOF
30785 /* confdefs.h. */
30786 _ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30790
30791 #include <Xm/Xm.h>
30792 #include <Xm/List.h>
30793
30794 int
30795 main ()
30796 {
30797
30798 XmString string = NULL;
30799 Widget w = NULL;
30800 int position = 0;
30801 XmListAddItem(w, string, position);
30802
30803 ;
30804 return 0;
30805 }
30806 _ACEOF
30807 rm -f conftest.$ac_objext conftest$ac_exeext
30808 if { (ac_try="$ac_link"
30809 case "(($ac_try" in
30810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30811 *) ac_try_echo=$ac_try;;
30812 esac
30813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30814 (eval "$ac_link") 2>conftest.er1
30815 ac_status=$?
30816 grep -v '^ *+' conftest.er1 >conftest.err
30817 rm -f conftest.er1
30818 cat conftest.err >&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } && {
30821 test -z "$ac_c_werror_flag" ||
30822 test ! -s conftest.err
30823 } && test -s conftest$ac_exeext &&
30824 $as_test_x conftest$ac_exeext; then
30825
30826 libp_link="$libp"
30827 libsm_ice_link="$libsm_ice"
30828 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30829 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30830 libs_found=1
30831
30832 else
30833 echo "$as_me: failed program was:" >&5
30834 sed 's/^/| /' conftest.$ac_ext >&5
30835
30836
30837
30838 fi
30839
30840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30841 conftest$ac_exeext conftest.$ac_ext
30842
30843 LIBS="$save_LIBS"
30844 CFLAGS=$save_CFLAGS
30845 fi
30846 done
30847 fi
30848 done
30849
30850 if test "$libs_found" = "0"; then
30851 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30852 echo "${ECHO_T}can't find the right libraries" >&6; }
30853 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30854 echo "$as_me: error: can't link a simple motif program" >&2;}
30855 { (exit 1); exit 1; }; }
30856 fi
30857
30858 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30859 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30860 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30861 echo $ECHO_N "(cached) $ECHO_C" >&6
30862 else
30863 ac_check_lib_save_LIBS=$LIBS
30864 LIBS="-lSgm $LIBS"
30865 cat >conftest.$ac_ext <<_ACEOF
30866 /* confdefs.h. */
30867 _ACEOF
30868 cat confdefs.h >>conftest.$ac_ext
30869 cat >>conftest.$ac_ext <<_ACEOF
30870 /* end confdefs.h. */
30871
30872 /* Override any GCC internal prototype to avoid an error.
30873 Use char because int might match the return type of a GCC
30874 builtin and then its argument prototype would still apply. */
30875 #ifdef __cplusplus
30876 extern "C"
30877 #endif
30878 char SgCreateList ();
30879 int
30880 main ()
30881 {
30882 return SgCreateList ();
30883 ;
30884 return 0;
30885 }
30886 _ACEOF
30887 rm -f conftest.$ac_objext conftest$ac_exeext
30888 if { (ac_try="$ac_link"
30889 case "(($ac_try" in
30890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30891 *) ac_try_echo=$ac_try;;
30892 esac
30893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30894 (eval "$ac_link") 2>conftest.er1
30895 ac_status=$?
30896 grep -v '^ *+' conftest.er1 >conftest.err
30897 rm -f conftest.er1
30898 cat conftest.err >&5
30899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30900 (exit $ac_status); } && {
30901 test -z "$ac_c_werror_flag" ||
30902 test ! -s conftest.err
30903 } && test -s conftest$ac_exeext &&
30904 $as_test_x conftest$ac_exeext; then
30905 ac_cv_lib_Sgm_SgCreateList=yes
30906 else
30907 echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.$ac_ext >&5
30909
30910 ac_cv_lib_Sgm_SgCreateList=no
30911 fi
30912
30913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30914 conftest$ac_exeext conftest.$ac_ext
30915 LIBS=$ac_check_lib_save_LIBS
30916 fi
30917 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30918 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30919 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30920 libsgm_link=" -lSgm"
30921 fi
30922
30923
30924 save_CFLAGS=$CFLAGS
30925 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30926
30927 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30928 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30929 if test "${wx_cv_lib_motif2+set}" = set; then
30930 echo $ECHO_N "(cached) $ECHO_C" >&6
30931 else
30932 cat >conftest.$ac_ext <<_ACEOF
30933 /* confdefs.h. */
30934 _ACEOF
30935 cat confdefs.h >>conftest.$ac_ext
30936 cat >>conftest.$ac_ext <<_ACEOF
30937 /* end confdefs.h. */
30938
30939 #include <Xm/Xm.h>
30940
30941 int
30942 main ()
30943 {
30944
30945 #if XmVersion < 2000
30946 Not Motif 2
30947 #endif
30948
30949 ;
30950 return 0;
30951 }
30952 _ACEOF
30953 rm -f conftest.$ac_objext
30954 if { (ac_try="$ac_compile"
30955 case "(($ac_try" in
30956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30957 *) ac_try_echo=$ac_try;;
30958 esac
30959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30960 (eval "$ac_compile") 2>conftest.er1
30961 ac_status=$?
30962 grep -v '^ *+' conftest.er1 >conftest.err
30963 rm -f conftest.er1
30964 cat conftest.err >&5
30965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30966 (exit $ac_status); } && {
30967 test -z "$ac_c_werror_flag" ||
30968 test ! -s conftest.err
30969 } && test -s conftest.$ac_objext; then
30970 wx_cv_lib_motif2="yes"
30971 else
30972 echo "$as_me: failed program was:" >&5
30973 sed 's/^/| /' conftest.$ac_ext >&5
30974
30975 wx_cv_lib_motif2="no"
30976 fi
30977
30978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30979 fi
30980 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30981 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30982 if test "$wx_cv_lib_motif2" = "yes"; then
30983 cat >>confdefs.h <<\_ACEOF
30984 #define __WXMOTIF20__ 1
30985 _ACEOF
30986
30987 else
30988 cat >>confdefs.h <<\_ACEOF
30989 #define __WXMOTIF20__ 0
30990 _ACEOF
30991
30992 fi
30993
30994 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30995 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30996 if test "${wx_cv_lib_lesstif+set}" = set; then
30997 echo $ECHO_N "(cached) $ECHO_C" >&6
30998 else
30999 cat >conftest.$ac_ext <<_ACEOF
31000 /* confdefs.h. */
31001 _ACEOF
31002 cat confdefs.h >>conftest.$ac_ext
31003 cat >>conftest.$ac_ext <<_ACEOF
31004 /* end confdefs.h. */
31005
31006 #include <Xm/Xm.h>
31007
31008 int
31009 main ()
31010 {
31011
31012 #if !defined(LesstifVersion) || LesstifVersion <= 0
31013 Not Lesstif
31014 #endif
31015
31016 ;
31017 return 0;
31018 }
31019 _ACEOF
31020 rm -f conftest.$ac_objext
31021 if { (ac_try="$ac_compile"
31022 case "(($ac_try" in
31023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31024 *) ac_try_echo=$ac_try;;
31025 esac
31026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31027 (eval "$ac_compile") 2>conftest.er1
31028 ac_status=$?
31029 grep -v '^ *+' conftest.er1 >conftest.err
31030 rm -f conftest.er1
31031 cat conftest.err >&5
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); } && {
31034 test -z "$ac_c_werror_flag" ||
31035 test ! -s conftest.err
31036 } && test -s conftest.$ac_objext; then
31037 wx_cv_lib_lesstif="yes"
31038 else
31039 echo "$as_me: failed program was:" >&5
31040 sed 's/^/| /' conftest.$ac_ext >&5
31041
31042 wx_cv_lib_lesstif="no"
31043 fi
31044
31045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31046
31047 fi
31048 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31049 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31050 if test "$wx_cv_lib_lesstif" = "yes"; then
31051 cat >>confdefs.h <<\_ACEOF
31052 #define __WXLESSTIF__ 1
31053 _ACEOF
31054
31055 else
31056 cat >>confdefs.h <<\_ACEOF
31057 #define __WXLESSTIF__ 0
31058 _ACEOF
31059
31060 fi
31061
31062 CFLAGS=$save_CFLAGS
31063
31064 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31065 TOOLKIT=MOTIF
31066 GUIDIST=MOTIF_DIST
31067 fi
31068
31069 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31070 if test "$wxUSE_LIBXPM" = "sys"; then
31071 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31072 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31073
31074 ac_find_libraries=
31075 for ac_dir in $SEARCH_LIB;
31076 do
31077 for ac_extension in a so sl dylib dll.a; do
31078 if test -f "$ac_dir/libXpm.$ac_extension"; then
31079 ac_find_libraries=$ac_dir
31080 break 2
31081 fi
31082 done
31083 done
31084
31085 if test "$ac_find_libraries" != "" ; then
31086
31087 if test "$ac_find_libraries" = "default location"; then
31088 ac_path_to_link=""
31089 else
31090 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31091 result=$?
31092 if test $result = 0; then
31093 ac_path_to_link=""
31094 else
31095 ac_path_to_link=" -L$ac_find_libraries"
31096 fi
31097 fi
31098
31099 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31100 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31101 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31102
31103 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31104 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31105 if test "${wx_cv_x11_xpm_h+set}" = set; then
31106 echo $ECHO_N "(cached) $ECHO_C" >&6
31107 else
31108
31109 save_CFLAGS=$CFLAGS
31110 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31111
31112 cat >conftest.$ac_ext <<_ACEOF
31113 /* confdefs.h. */
31114 _ACEOF
31115 cat confdefs.h >>conftest.$ac_ext
31116 cat >>conftest.$ac_ext <<_ACEOF
31117 /* end confdefs.h. */
31118
31119 #include <X11/xpm.h>
31120
31121 int
31122 main ()
31123 {
31124
31125 int version;
31126 version = XpmLibraryVersion();
31127
31128 ;
31129 return 0;
31130 }
31131 _ACEOF
31132 rm -f conftest.$ac_objext
31133 if { (ac_try="$ac_compile"
31134 case "(($ac_try" in
31135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31136 *) ac_try_echo=$ac_try;;
31137 esac
31138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31139 (eval "$ac_compile") 2>conftest.er1
31140 ac_status=$?
31141 grep -v '^ *+' conftest.er1 >conftest.err
31142 rm -f conftest.er1
31143 cat conftest.err >&5
31144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31145 (exit $ac_status); } && {
31146 test -z "$ac_c_werror_flag" ||
31147 test ! -s conftest.err
31148 } && test -s conftest.$ac_objext; then
31149 wx_cv_x11_xpm_h=yes
31150 else
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31153
31154 wx_cv_x11_xpm_h=no
31155
31156 fi
31157
31158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31159
31160 CFLAGS=$save_CFLAGS
31161
31162
31163 fi
31164 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31165 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31166
31167 if test $wx_cv_x11_xpm_h = "yes"; then
31168 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31169 cat >>confdefs.h <<\_ACEOF
31170 #define wxHAVE_LIB_XPM 1
31171 _ACEOF
31172
31173 else
31174 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31175 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31176 fi
31177 fi
31178
31179 fi
31180
31181 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31182 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31183 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31184 echo $ECHO_N "(cached) $ECHO_C" >&6
31185 else
31186 ac_check_lib_save_LIBS=$LIBS
31187 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31188 cat >conftest.$ac_ext <<_ACEOF
31189 /* confdefs.h. */
31190 _ACEOF
31191 cat confdefs.h >>conftest.$ac_ext
31192 cat >>conftest.$ac_ext <<_ACEOF
31193 /* end confdefs.h. */
31194
31195 /* Override any GCC internal prototype to avoid an error.
31196 Use char because int might match the return type of a GCC
31197 builtin and then its argument prototype would still apply. */
31198 #ifdef __cplusplus
31199 extern "C"
31200 #endif
31201 char XShapeQueryExtension ();
31202 int
31203 main ()
31204 {
31205 return XShapeQueryExtension ();
31206 ;
31207 return 0;
31208 }
31209 _ACEOF
31210 rm -f conftest.$ac_objext conftest$ac_exeext
31211 if { (ac_try="$ac_link"
31212 case "(($ac_try" in
31213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31214 *) ac_try_echo=$ac_try;;
31215 esac
31216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31217 (eval "$ac_link") 2>conftest.er1
31218 ac_status=$?
31219 grep -v '^ *+' conftest.er1 >conftest.err
31220 rm -f conftest.er1
31221 cat conftest.err >&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); } && {
31224 test -z "$ac_c_werror_flag" ||
31225 test ! -s conftest.err
31226 } && test -s conftest$ac_exeext &&
31227 $as_test_x conftest$ac_exeext; then
31228 ac_cv_lib_Xext_XShapeQueryExtension=yes
31229 else
31230 echo "$as_me: failed program was:" >&5
31231 sed 's/^/| /' conftest.$ac_ext >&5
31232
31233 ac_cv_lib_Xext_XShapeQueryExtension=no
31234 fi
31235
31236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31237 conftest$ac_exeext conftest.$ac_ext
31238 LIBS=$ac_check_lib_save_LIBS
31239 fi
31240 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31241 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31242 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31243
31244 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31245 wxHAVE_XEXT_LIB=1
31246
31247 fi
31248
31249
31250 if test "$wxHAVE_XEXT_LIB" = 1; then
31251 save_CFLAGS="$CFLAGS"
31252 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31253
31254 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31255 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31256 cat >conftest.$ac_ext <<_ACEOF
31257 /* confdefs.h. */
31258 _ACEOF
31259 cat confdefs.h >>conftest.$ac_ext
31260 cat >>conftest.$ac_ext <<_ACEOF
31261 /* end confdefs.h. */
31262
31263 #include <X11/Xlib.h>
31264 #include <X11/extensions/shape.h>
31265
31266 int
31267 main ()
31268 {
31269
31270 int dummy1, dummy2;
31271 XShapeQueryExtension((Display*)NULL,
31272 (int*)NULL, (int*)NULL);
31273
31274 ;
31275 return 0;
31276 }
31277 _ACEOF
31278 rm -f conftest.$ac_objext
31279 if { (ac_try="$ac_compile"
31280 case "(($ac_try" in
31281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31282 *) ac_try_echo=$ac_try;;
31283 esac
31284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31285 (eval "$ac_compile") 2>conftest.er1
31286 ac_status=$?
31287 grep -v '^ *+' conftest.er1 >conftest.err
31288 rm -f conftest.er1
31289 cat conftest.err >&5
31290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31291 (exit $ac_status); } && {
31292 test -z "$ac_c_werror_flag" ||
31293 test ! -s conftest.err
31294 } && test -s conftest.$ac_objext; then
31295
31296 cat >>confdefs.h <<\_ACEOF
31297 #define HAVE_XSHAPE 1
31298 _ACEOF
31299
31300 { echo "$as_me:$LINENO: result: found" >&5
31301 echo "${ECHO_T}found" >&6; }
31302
31303 else
31304 echo "$as_me: failed program was:" >&5
31305 sed 's/^/| /' conftest.$ac_ext >&5
31306
31307
31308 { echo "$as_me:$LINENO: result: not found" >&5
31309 echo "${ECHO_T}not found" >&6; }
31310
31311 fi
31312
31313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31314 CFLAGS="$save_CFLAGS"
31315
31316 fi
31317 fi
31318
31319 if test "$wxUSE_MAC" = 1; then
31320 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31321 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31322 if test "$GCC" = yes; then
31323 { echo "$as_me:$LINENO: result: gcc" >&5
31324 echo "${ECHO_T}gcc" >&6; }
31325 CPPFLAGS_PASCAL="-fpascal-strings"
31326 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31327 { echo "$as_me:$LINENO: result: xlc" >&5
31328 echo "${ECHO_T}xlc" >&6; }
31329 CPPFLAGS_PASCAL="-qmacpstr"
31330 else
31331 { echo "$as_me:$LINENO: result: none" >&5
31332 echo "${ECHO_T}none" >&6; }
31333 fi
31334
31335 if test "x$wxUSE_UNIX" = "xyes"; then
31336 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31337 else
31338 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31339 fi
31340
31341 TOOLKIT=MAC
31342 GUIDIST=MACX_DIST
31343 WXBASEPORT="_carbon"
31344 fi
31345
31346 if test "$wxUSE_COCOA" = 1; then
31347 TOOLKIT=COCOA
31348 GUIDIST=COCOA_DIST
31349 fi
31350
31351 if test "$wxUSE_PM" = 1; then
31352 TOOLKIT=PM
31353 GUIDIST=PM_DIST
31354 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31355 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31356 if test "${wx_cv_spbcdata+set}" = set; then
31357 echo $ECHO_N "(cached) $ECHO_C" >&6
31358 else
31359
31360 cat >conftest.$ac_ext <<_ACEOF
31361 /* confdefs.h. */
31362 _ACEOF
31363 cat confdefs.h >>conftest.$ac_ext
31364 cat >>conftest.$ac_ext <<_ACEOF
31365 /* end confdefs.h. */
31366
31367 #define INCL_PM
31368 #include <os2.h>
31369
31370 int
31371 main ()
31372 {
31373
31374 SPBCDATA test;
31375
31376 ;
31377 return 0;
31378 }
31379 _ACEOF
31380 rm -f conftest.$ac_objext
31381 if { (ac_try="$ac_compile"
31382 case "(($ac_try" in
31383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31384 *) ac_try_echo=$ac_try;;
31385 esac
31386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31387 (eval "$ac_compile") 2>conftest.er1
31388 ac_status=$?
31389 grep -v '^ *+' conftest.er1 >conftest.err
31390 rm -f conftest.er1
31391 cat conftest.err >&5
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); } && {
31394 test -z "$ac_c_werror_flag" ||
31395 test ! -s conftest.err
31396 } && test -s conftest.$ac_objext; then
31397 wx_cv_spbcdata=yes
31398 else
31399 echo "$as_me: failed program was:" >&5
31400 sed 's/^/| /' conftest.$ac_ext >&5
31401
31402 wx_cv_spbcdata=no
31403
31404 fi
31405
31406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31407
31408
31409 fi
31410 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31411 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31412
31413 if test $wx_cv_spbcdata = "yes"; then
31414 cat >>confdefs.h <<\_ACEOF
31415 #define HAVE_SPBCDATA 1
31416 _ACEOF
31417
31418 fi
31419 fi
31420
31421 if test "$TOOLKIT" = "PM" ; then
31422 TOOLKIT_DIR="os2"
31423 else
31424 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31425 fi
31426
31427 if test "$wxUSE_UNIVERSAL" = "yes"; then
31428 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31429 WIDGET_SET=univ
31430 fi
31431
31432 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31433 DISTDIR="wx\$(TOOLKIT)"
31434 else
31435 USE_GUI=0
31436
31437 TOOLKIT_DIR="base"
31438
31439 if test "$USE_WIN32" = 1 ; then
31440 TOOLKIT="MSW"
31441 fi
31442
31443 GUIDIST="BASE_DIST"
31444 DISTDIR="wxBase"
31445 fi
31446
31447
31448 if test "$wxUSE_GUI" = "yes"; then
31449 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31450 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31451 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31452 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31453 echo $ECHO_N "(cached) $ECHO_C" >&6
31454 else
31455 cat >conftest.$ac_ext <<_ACEOF
31456 /* confdefs.h. */
31457 _ACEOF
31458 cat confdefs.h >>conftest.$ac_ext
31459 cat >>conftest.$ac_ext <<_ACEOF
31460 /* end confdefs.h. */
31461
31462
31463 #include <X11/Xlib.h>
31464 _ACEOF
31465 rm -f conftest.$ac_objext
31466 if { (ac_try="$ac_compile"
31467 case "(($ac_try" in
31468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31469 *) ac_try_echo=$ac_try;;
31470 esac
31471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31472 (eval "$ac_compile") 2>conftest.er1
31473 ac_status=$?
31474 grep -v '^ *+' conftest.er1 >conftest.err
31475 rm -f conftest.er1
31476 cat conftest.err >&5
31477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31478 (exit $ac_status); } && {
31479 test -z "$ac_c_werror_flag" ||
31480 test ! -s conftest.err
31481 } && test -s conftest.$ac_objext; then
31482 ac_cv_header_X11_Xlib_h=yes
31483 else
31484 echo "$as_me: failed program was:" >&5
31485 sed 's/^/| /' conftest.$ac_ext >&5
31486
31487 ac_cv_header_X11_Xlib_h=no
31488 fi
31489
31490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31491 fi
31492 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31493 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31494
31495
31496 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31497 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31498 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31499 echo $ECHO_N "(cached) $ECHO_C" >&6
31500 else
31501 cat >conftest.$ac_ext <<_ACEOF
31502 /* confdefs.h. */
31503 _ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h. */
31507
31508 #if HAVE_X11_XLIB_H
31509 #include <X11/Xlib.h>
31510 #endif
31511
31512
31513 #include <X11/XKBlib.h>
31514 _ACEOF
31515 rm -f conftest.$ac_objext
31516 if { (ac_try="$ac_compile"
31517 case "(($ac_try" in
31518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31519 *) ac_try_echo=$ac_try;;
31520 esac
31521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31522 (eval "$ac_compile") 2>conftest.er1
31523 ac_status=$?
31524 grep -v '^ *+' conftest.er1 >conftest.err
31525 rm -f conftest.er1
31526 cat conftest.err >&5
31527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31528 (exit $ac_status); } && {
31529 test -z "$ac_c_werror_flag" ||
31530 test ! -s conftest.err
31531 } && test -s conftest.$ac_objext; then
31532 ac_cv_header_X11_XKBlib_h=yes
31533 else
31534 echo "$as_me: failed program was:" >&5
31535 sed 's/^/| /' conftest.$ac_ext >&5
31536
31537 ac_cv_header_X11_XKBlib_h=no
31538 fi
31539
31540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31541 fi
31542 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31543 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31544
31545
31546 fi
31547 fi
31548
31549
31550
31551 IODBC_C_SRC=""
31552
31553
31554 if test "$TOOLKIT" != "MSW" ; then
31555
31556 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31557
31558 { echo "$as_me:$LINENO: checking for sql.h" >&5
31559 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31560 if test "${ac_cv_header_sql_h+set}" = set; then
31561 echo $ECHO_N "(cached) $ECHO_C" >&6
31562 else
31563 cat >conftest.$ac_ext <<_ACEOF
31564 /* confdefs.h. */
31565 _ACEOF
31566 cat confdefs.h >>conftest.$ac_ext
31567 cat >>conftest.$ac_ext <<_ACEOF
31568 /* end confdefs.h. */
31569
31570
31571 #include <sql.h>
31572 _ACEOF
31573 rm -f conftest.$ac_objext
31574 if { (ac_try="$ac_compile"
31575 case "(($ac_try" in
31576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31577 *) ac_try_echo=$ac_try;;
31578 esac
31579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31580 (eval "$ac_compile") 2>conftest.er1
31581 ac_status=$?
31582 grep -v '^ *+' conftest.er1 >conftest.err
31583 rm -f conftest.er1
31584 cat conftest.err >&5
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); } && {
31587 test -z "$ac_c_werror_flag" ||
31588 test ! -s conftest.err
31589 } && test -s conftest.$ac_objext; then
31590 ac_cv_header_sql_h=yes
31591 else
31592 echo "$as_me: failed program was:" >&5
31593 sed 's/^/| /' conftest.$ac_ext >&5
31594
31595 ac_cv_header_sql_h=no
31596 fi
31597
31598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31599 fi
31600 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31601 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31602 if test $ac_cv_header_sql_h = yes; then
31603 found_sql_h=1
31604 fi
31605
31606
31607 if test "x$found_sql_h" = "x1" ; then
31608 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31609 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31610 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31611 echo $ECHO_N "(cached) $ECHO_C" >&6
31612 else
31613 ac_check_lib_save_LIBS=$LIBS
31614 LIBS="-liodbc $LIBS"
31615 cat >conftest.$ac_ext <<_ACEOF
31616 /* confdefs.h. */
31617 _ACEOF
31618 cat confdefs.h >>conftest.$ac_ext
31619 cat >>conftest.$ac_ext <<_ACEOF
31620 /* end confdefs.h. */
31621
31622 /* Override any GCC internal prototype to avoid an error.
31623 Use char because int might match the return type of a GCC
31624 builtin and then its argument prototype would still apply. */
31625 #ifdef __cplusplus
31626 extern "C"
31627 #endif
31628 char SQLAllocEnv ();
31629 int
31630 main ()
31631 {
31632 return SQLAllocEnv ();
31633 ;
31634 return 0;
31635 }
31636 _ACEOF
31637 rm -f conftest.$ac_objext conftest$ac_exeext
31638 if { (ac_try="$ac_link"
31639 case "(($ac_try" in
31640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31641 *) ac_try_echo=$ac_try;;
31642 esac
31643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31644 (eval "$ac_link") 2>conftest.er1
31645 ac_status=$?
31646 grep -v '^ *+' conftest.er1 >conftest.err
31647 rm -f conftest.er1
31648 cat conftest.err >&5
31649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31650 (exit $ac_status); } && {
31651 test -z "$ac_c_werror_flag" ||
31652 test ! -s conftest.err
31653 } && test -s conftest$ac_exeext &&
31654 $as_test_x conftest$ac_exeext; then
31655 ac_cv_lib_iodbc_SQLAllocEnv=yes
31656 else
31657 echo "$as_me: failed program was:" >&5
31658 sed 's/^/| /' conftest.$ac_ext >&5
31659
31660 ac_cv_lib_iodbc_SQLAllocEnv=no
31661 fi
31662
31663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31664 conftest$ac_exeext conftest.$ac_ext
31665 LIBS=$ac_check_lib_save_LIBS
31666 fi
31667 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31668 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31669 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31670 ODBC_LINK=" -liodbc"
31671 else
31672
31673 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31674 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31675 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31676 echo $ECHO_N "(cached) $ECHO_C" >&6
31677 else
31678 ac_check_lib_save_LIBS=$LIBS
31679 LIBS="-lunixodbc $LIBS"
31680 cat >conftest.$ac_ext <<_ACEOF
31681 /* confdefs.h. */
31682 _ACEOF
31683 cat confdefs.h >>conftest.$ac_ext
31684 cat >>conftest.$ac_ext <<_ACEOF
31685 /* end confdefs.h. */
31686
31687 /* Override any GCC internal prototype to avoid an error.
31688 Use char because int might match the return type of a GCC
31689 builtin and then its argument prototype would still apply. */
31690 #ifdef __cplusplus
31691 extern "C"
31692 #endif
31693 char SQLAllocEnv ();
31694 int
31695 main ()
31696 {
31697 return SQLAllocEnv ();
31698 ;
31699 return 0;
31700 }
31701 _ACEOF
31702 rm -f conftest.$ac_objext conftest$ac_exeext
31703 if { (ac_try="$ac_link"
31704 case "(($ac_try" in
31705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31706 *) ac_try_echo=$ac_try;;
31707 esac
31708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31709 (eval "$ac_link") 2>conftest.er1
31710 ac_status=$?
31711 grep -v '^ *+' conftest.er1 >conftest.err
31712 rm -f conftest.er1
31713 cat conftest.err >&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); } && {
31716 test -z "$ac_c_werror_flag" ||
31717 test ! -s conftest.err
31718 } && test -s conftest$ac_exeext &&
31719 $as_test_x conftest$ac_exeext; then
31720 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31721 else
31722 echo "$as_me: failed program was:" >&5
31723 sed 's/^/| /' conftest.$ac_ext >&5
31724
31725 ac_cv_lib_unixodbc_SQLAllocEnv=no
31726 fi
31727
31728 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31729 conftest$ac_exeext conftest.$ac_ext
31730 LIBS=$ac_check_lib_save_LIBS
31731 fi
31732 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31733 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31734 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31735 ODBC_LINK=" -lunixodbc"
31736 else
31737
31738 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31739 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31740 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31741 echo $ECHO_N "(cached) $ECHO_C" >&6
31742 else
31743 ac_check_lib_save_LIBS=$LIBS
31744 LIBS="-lodbc $LIBS"
31745 cat >conftest.$ac_ext <<_ACEOF
31746 /* confdefs.h. */
31747 _ACEOF
31748 cat confdefs.h >>conftest.$ac_ext
31749 cat >>conftest.$ac_ext <<_ACEOF
31750 /* end confdefs.h. */
31751
31752 /* Override any GCC internal prototype to avoid an error.
31753 Use char because int might match the return type of a GCC
31754 builtin and then its argument prototype would still apply. */
31755 #ifdef __cplusplus
31756 extern "C"
31757 #endif
31758 char SQLAllocEnv ();
31759 int
31760 main ()
31761 {
31762 return SQLAllocEnv ();
31763 ;
31764 return 0;
31765 }
31766 _ACEOF
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (ac_try="$ac_link"
31769 case "(($ac_try" in
31770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31771 *) ac_try_echo=$ac_try;;
31772 esac
31773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31774 (eval "$ac_link") 2>conftest.er1
31775 ac_status=$?
31776 grep -v '^ *+' conftest.er1 >conftest.err
31777 rm -f conftest.er1
31778 cat conftest.err >&5
31779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31780 (exit $ac_status); } && {
31781 test -z "$ac_c_werror_flag" ||
31782 test ! -s conftest.err
31783 } && test -s conftest$ac_exeext &&
31784 $as_test_x conftest$ac_exeext; then
31785 ac_cv_lib_odbc_SQLAllocEnv=yes
31786 else
31787 echo "$as_me: failed program was:" >&5
31788 sed 's/^/| /' conftest.$ac_ext >&5
31789
31790 ac_cv_lib_odbc_SQLAllocEnv=no
31791 fi
31792
31793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31794 conftest$ac_exeext conftest.$ac_ext
31795 LIBS=$ac_check_lib_save_LIBS
31796 fi
31797 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31798 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31799 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31800 ODBC_LINK=" -lodbc"
31801 fi
31802
31803
31804 fi
31805
31806
31807 fi
31808
31809 fi
31810 if test "x$ODBC_LINK" = "x" ; then
31811 if test "$wxUSE_ODBC" = "sys" ; then
31812 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31813 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31814 { (exit 1); exit 1; }; }
31815 else
31816 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31817 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31818 wxUSE_ODBC=builtin
31819 fi
31820 else
31821 wxUSE_ODBC=sys
31822 fi
31823 fi
31824
31825 if test "$wxUSE_ODBC" = "builtin" ; then
31826 cat >>confdefs.h <<\_ACEOF
31827 #define wxUSE_BUILTIN_IODBC 1
31828 _ACEOF
31829
31830 fi
31831 fi
31832
31833 if test "$wxUSE_ODBC" != "no" ; then
31834 cat >>confdefs.h <<\_ACEOF
31835 #define wxUSE_ODBC 1
31836 _ACEOF
31837
31838 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31839
31840 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31841 fi
31842
31843
31844 if test "$wxUSE_DISPLAY" = "yes"; then
31845 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31846 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31847 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31848
31849 ac_find_libraries=
31850 for ac_dir in $SEARCH_LIB;
31851 do
31852 for ac_extension in a so sl dylib dll.a; do
31853 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31854 ac_find_libraries=$ac_dir
31855 break 2
31856 fi
31857 done
31858 done
31859
31860 if test "$ac_find_libraries" != "" ; then
31861
31862 if test "$ac_find_libraries" = "default location"; then
31863 ac_path_to_link=""
31864 else
31865 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31866 result=$?
31867 if test $result = 0; then
31868 ac_path_to_link=""
31869 else
31870 ac_path_to_link=" -L$ac_find_libraries"
31871 fi
31872 fi
31873
31874 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31875 LDFLAGS="$LDFLAGS $ac_path_to_link"
31876 fi
31877 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31878 { echo "$as_me:$LINENO: result: yes" >&5
31879 echo "${ECHO_T}yes" >&6; }
31880
31881 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31882 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31883
31884 ac_find_libraries=
31885 for ac_dir in $SEARCH_LIB;
31886 do
31887 for ac_extension in a so sl dylib dll.a; do
31888 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31889 ac_find_libraries=$ac_dir
31890 break 2
31891 fi
31892 done
31893 done
31894
31895 if test "$ac_find_libraries" != "" ; then
31896 { echo "$as_me:$LINENO: result: yes" >&5
31897 echo "${ECHO_T}yes" >&6; }
31898 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31899 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31900 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31901 echo $ECHO_N "(cached) $ECHO_C" >&6
31902 else
31903 cat >conftest.$ac_ext <<_ACEOF
31904 /* confdefs.h. */
31905 _ACEOF
31906 cat confdefs.h >>conftest.$ac_ext
31907 cat >>conftest.$ac_ext <<_ACEOF
31908 /* end confdefs.h. */
31909
31910 #if HAVE_X11_XLIB_H
31911 #include <X11/Xlib.h>
31912 #endif
31913
31914
31915 #include <X11/extensions/xf86vmode.h>
31916 _ACEOF
31917 rm -f conftest.$ac_objext
31918 if { (ac_try="$ac_compile"
31919 case "(($ac_try" in
31920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31921 *) ac_try_echo=$ac_try;;
31922 esac
31923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31924 (eval "$ac_compile") 2>conftest.er1
31925 ac_status=$?
31926 grep -v '^ *+' conftest.er1 >conftest.err
31927 rm -f conftest.er1
31928 cat conftest.err >&5
31929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31930 (exit $ac_status); } && {
31931 test -z "$ac_c_werror_flag" ||
31932 test ! -s conftest.err
31933 } && test -s conftest.$ac_objext; then
31934 ac_cv_header_X11_extensions_xf86vmode_h=yes
31935 else
31936 echo "$as_me: failed program was:" >&5
31937 sed 's/^/| /' conftest.$ac_ext >&5
31938
31939 ac_cv_header_X11_extensions_xf86vmode_h=no
31940 fi
31941
31942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31943 fi
31944 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31945 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31946 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31947
31948 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31949
31950 fi
31951
31952
31953 else
31954 { echo "$as_me:$LINENO: result: no" >&5
31955 echo "${ECHO_T}no" >&6; }
31956 fi
31957
31958 else
31959 { echo "$as_me:$LINENO: result: no" >&5
31960 echo "${ECHO_T}no" >&6; }
31961 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31962 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31963 wxUSE_DISPLAY="no"
31964 fi
31965 elif test "$wxUSE_MSW" = 1; then
31966 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31967 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31968 if test "${ac_cv_header_ddraw_h+set}" = set; then
31969 echo $ECHO_N "(cached) $ECHO_C" >&6
31970 else
31971 cat >conftest.$ac_ext <<_ACEOF
31972 /* confdefs.h. */
31973 _ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31977 #include <windows.h>
31978
31979 #include <ddraw.h>
31980 _ACEOF
31981 rm -f conftest.$ac_objext
31982 if { (ac_try="$ac_compile"
31983 case "(($ac_try" in
31984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31985 *) ac_try_echo=$ac_try;;
31986 esac
31987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31988 (eval "$ac_compile") 2>conftest.er1
31989 ac_status=$?
31990 grep -v '^ *+' conftest.er1 >conftest.err
31991 rm -f conftest.er1
31992 cat conftest.err >&5
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); } && {
31995 test -z "$ac_c_werror_flag" ||
31996 test ! -s conftest.err
31997 } && test -s conftest.$ac_objext; then
31998 ac_cv_header_ddraw_h=yes
31999 else
32000 echo "$as_me: failed program was:" >&5
32001 sed 's/^/| /' conftest.$ac_ext >&5
32002
32003 ac_cv_header_ddraw_h=no
32004 fi
32005
32006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32007 fi
32008 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32009 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32010
32011
32012 fi
32013 fi
32014
32015 if test "$wxUSE_DETECT_SM" = "yes"; then
32016 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32017 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32018 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32019
32020 ac_find_libraries=
32021 for ac_dir in $SEARCH_LIB;
32022 do
32023 for ac_extension in a so sl dylib dll.a; do
32024 if test -f "$ac_dir/libSM.$ac_extension"; then
32025 ac_find_libraries=$ac_dir
32026 break 2
32027 fi
32028 done
32029 done
32030
32031 if test "$ac_find_libraries" != "" ; then
32032
32033 if test "$ac_find_libraries" = "default location"; then
32034 ac_path_to_link=""
32035 else
32036 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32037 result=$?
32038 if test $result = 0; then
32039 ac_path_to_link=""
32040 else
32041 ac_path_to_link=" -L$ac_find_libraries"
32042 fi
32043 fi
32044
32045 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32046 LDFLAGS="$LDFLAGS $ac_path_to_link"
32047 fi
32048 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32049 { echo "$as_me:$LINENO: result: yes" >&5
32050 echo "${ECHO_T}yes" >&6; }
32051 else
32052 { echo "$as_me:$LINENO: result: no" >&5
32053 echo "${ECHO_T}no" >&6; }
32054 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32055 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32056 wxUSE_DETECT_SM="no"
32057 fi
32058 else
32059 wxUSE_DETECT_SM="no"
32060 fi
32061 fi
32062
32063
32064
32065 USE_OPENGL=0
32066 if test "$wxUSE_OPENGL" = "yes"; then
32067 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32068 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32069 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32070 wxUSE_OPENGL="no"
32071 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32072 OPENGL_LIBS="-framework OpenGL -framework AGL"
32073 elif test "$wxUSE_MSW" = 1; then
32074 OPENGL_LIBS="-lopengl32 -lglu32"
32075 else
32076 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32077 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32078
32079 ac_find_includes=
32080 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32081 do
32082 if test -f "$ac_dir/GL/gl.h"; then
32083 ac_find_includes=$ac_dir
32084 break
32085 fi
32086 done
32087
32088 if test "$ac_find_includes" != "" ; then
32089 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32090 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32091
32092 if test "x$ac_find_includes" = "x/usr/include"; then
32093 ac_path_to_include=""
32094 else
32095 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32096 result=$?
32097 if test $result = 0; then
32098 ac_path_to_include=""
32099 else
32100 ac_path_to_include=" -I$ac_find_includes"
32101 fi
32102 fi
32103
32104 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32105 else
32106 { echo "$as_me:$LINENO: result: not found" >&5
32107 echo "${ECHO_T}not found" >&6; }
32108 fi
32109
32110 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32111 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32112 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32113 echo $ECHO_N "(cached) $ECHO_C" >&6
32114 else
32115 cat >conftest.$ac_ext <<_ACEOF
32116 /* confdefs.h. */
32117 _ACEOF
32118 cat confdefs.h >>conftest.$ac_ext
32119 cat >>conftest.$ac_ext <<_ACEOF
32120 /* end confdefs.h. */
32121
32122
32123 #include <GL/gl.h>
32124 _ACEOF
32125 rm -f conftest.$ac_objext
32126 if { (ac_try="$ac_compile"
32127 case "(($ac_try" in
32128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32129 *) ac_try_echo=$ac_try;;
32130 esac
32131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32132 (eval "$ac_compile") 2>conftest.er1
32133 ac_status=$?
32134 grep -v '^ *+' conftest.er1 >conftest.err
32135 rm -f conftest.er1
32136 cat conftest.err >&5
32137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32138 (exit $ac_status); } && {
32139 test -z "$ac_c_werror_flag" ||
32140 test ! -s conftest.err
32141 } && test -s conftest.$ac_objext; then
32142 ac_cv_header_GL_gl_h=yes
32143 else
32144 echo "$as_me: failed program was:" >&5
32145 sed 's/^/| /' conftest.$ac_ext >&5
32146
32147 ac_cv_header_GL_gl_h=no
32148 fi
32149
32150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32151 fi
32152 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32153 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32154 if test $ac_cv_header_GL_gl_h = yes; then
32155
32156 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32157 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32158 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32159 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32160 echo $ECHO_N "(cached) $ECHO_C" >&6
32161 fi
32162 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32163 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32164 else
32165 # Is the header compilable?
32166 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32167 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32168 cat >conftest.$ac_ext <<_ACEOF
32169 /* confdefs.h. */
32170 _ACEOF
32171 cat confdefs.h >>conftest.$ac_ext
32172 cat >>conftest.$ac_ext <<_ACEOF
32173 /* end confdefs.h. */
32174 $ac_includes_default
32175 #include <GL/glu.h>
32176 _ACEOF
32177 rm -f conftest.$ac_objext
32178 if { (ac_try="$ac_compile"
32179 case "(($ac_try" in
32180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32181 *) ac_try_echo=$ac_try;;
32182 esac
32183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32184 (eval "$ac_compile") 2>conftest.er1
32185 ac_status=$?
32186 grep -v '^ *+' conftest.er1 >conftest.err
32187 rm -f conftest.er1
32188 cat conftest.err >&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); } && {
32191 test -z "$ac_c_werror_flag" ||
32192 test ! -s conftest.err
32193 } && test -s conftest.$ac_objext; then
32194 ac_header_compiler=yes
32195 else
32196 echo "$as_me: failed program was:" >&5
32197 sed 's/^/| /' conftest.$ac_ext >&5
32198
32199 ac_header_compiler=no
32200 fi
32201
32202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32203 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32204 echo "${ECHO_T}$ac_header_compiler" >&6; }
32205
32206 # Is the header present?
32207 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32208 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32209 cat >conftest.$ac_ext <<_ACEOF
32210 /* confdefs.h. */
32211 _ACEOF
32212 cat confdefs.h >>conftest.$ac_ext
32213 cat >>conftest.$ac_ext <<_ACEOF
32214 /* end confdefs.h. */
32215 #include <GL/glu.h>
32216 _ACEOF
32217 if { (ac_try="$ac_cpp conftest.$ac_ext"
32218 case "(($ac_try" in
32219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32220 *) ac_try_echo=$ac_try;;
32221 esac
32222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32223 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32224 ac_status=$?
32225 grep -v '^ *+' conftest.er1 >conftest.err
32226 rm -f conftest.er1
32227 cat conftest.err >&5
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); } >/dev/null && {
32230 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32231 test ! -s conftest.err
32232 }; then
32233 ac_header_preproc=yes
32234 else
32235 echo "$as_me: failed program was:" >&5
32236 sed 's/^/| /' conftest.$ac_ext >&5
32237
32238 ac_header_preproc=no
32239 fi
32240
32241 rm -f conftest.err conftest.$ac_ext
32242 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32243 echo "${ECHO_T}$ac_header_preproc" >&6; }
32244
32245 # So? What about this header?
32246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32247 yes:no: )
32248 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32249 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32250 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32251 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32252 ac_header_preproc=yes
32253 ;;
32254 no:yes:* )
32255 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32256 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32257 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32258 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32259 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32260 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32261 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32262 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32263 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32264 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32265 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32266 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32267 ( cat <<\_ASBOX
32268 ## ----------------------------------------- ##
32269 ## Report this to wx-dev@lists.wxwidgets.org ##
32270 ## ----------------------------------------- ##
32271 _ASBOX
32272 ) | sed "s/^/$as_me: WARNING: /" >&2
32273 ;;
32274 esac
32275 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32276 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32277 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32278 echo $ECHO_N "(cached) $ECHO_C" >&6
32279 else
32280 ac_cv_header_GL_glu_h=$ac_header_preproc
32281 fi
32282 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32283 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32284
32285 fi
32286 if test $ac_cv_header_GL_glu_h = yes; then
32287
32288 found_gl=0
32289
32290 { echo "$as_me:$LINENO: checking for -lGL" >&5
32291 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32292
32293 ac_find_libraries=
32294 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32295 do
32296 for ac_extension in a so sl dylib dll.a; do
32297 if test -f "$ac_dir/libGL.$ac_extension"; then
32298 ac_find_libraries=$ac_dir
32299 break 2
32300 fi
32301 done
32302 done
32303
32304 if test "$ac_find_libraries" != "" ; then
32305 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32306 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32307
32308
32309 if test "$ac_find_libraries" = "default location"; then
32310 ac_path_to_link=""
32311 else
32312 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32313 result=$?
32314 if test $result = 0; then
32315 ac_path_to_link=""
32316 else
32317 ac_path_to_link=" -L$ac_find_libraries"
32318 fi
32319 fi
32320
32321 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32322 LDFLAGS_GL="$ac_path_to_link"
32323 fi
32324
32325 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32326 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32327
32328 ac_find_libraries=
32329 for ac_dir in $SEARCH_LIB;
32330 do
32331 for ac_extension in a so sl dylib dll.a; do
32332 if test -f "$ac_dir/libGLU.$ac_extension"; then
32333 ac_find_libraries=$ac_dir
32334 break 2
32335 fi
32336 done
32337 done
32338
32339 if test "$ac_find_libraries" != "" ; then
32340
32341 if test "$ac_find_libraries" = "default location"; then
32342 ac_path_to_link=""
32343 else
32344 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32345 result=$?
32346 if test $result = 0; then
32347 ac_path_to_link=""
32348 else
32349 ac_path_to_link=" -L$ac_find_libraries"
32350 fi
32351 fi
32352
32353 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32354 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32355 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32356 fi
32357
32358 found_gl=1
32359 OPENGL_LIBS="-lGL -lGLU"
32360 { echo "$as_me:$LINENO: result: yes" >&5
32361 echo "${ECHO_T}yes" >&6; }
32362 else
32363 { echo "$as_me:$LINENO: result: no" >&5
32364 echo "${ECHO_T}no" >&6; }
32365 fi
32366 else
32367 { echo "$as_me:$LINENO: result: no" >&5
32368 echo "${ECHO_T}no" >&6; }
32369 fi
32370
32371 if test "$found_gl" != 1; then
32372 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32373 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32374
32375 ac_find_libraries=
32376 for ac_dir in $SEARCH_LIB;
32377 do
32378 for ac_extension in a so sl dylib dll.a; do
32379 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32380 ac_find_libraries=$ac_dir
32381 break 2
32382 fi
32383 done
32384 done
32385
32386 if test "$ac_find_libraries" != "" ; then
32387
32388 if test "$ac_find_libraries" = "default location"; then
32389 ac_path_to_link=""
32390 else
32391 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32392 result=$?
32393 if test $result = 0; then
32394 ac_path_to_link=""
32395 else
32396 ac_path_to_link=" -L$ac_find_libraries"
32397 fi
32398 fi
32399
32400 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32401 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32402 { echo "$as_me:$LINENO: result: yes" >&5
32403 echo "${ECHO_T}yes" >&6; }
32404 else
32405 { echo "$as_me:$LINENO: result: no" >&5
32406 echo "${ECHO_T}no" >&6; }
32407 fi
32408 fi
32409
32410 fi
32411
32412
32413
32414 fi
32415
32416
32417
32418 if test "x$OPENGL_LIBS" = "x"; then
32419 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32420 echo "$as_me: error: OpenGL libraries not available" >&2;}
32421 { (exit 1); exit 1; }; }
32422 fi
32423 fi
32424
32425 if test "$wxUSE_OPENGL" = "yes"; then
32426 USE_OPENGL=1
32427 cat >>confdefs.h <<\_ACEOF
32428 #define wxUSE_OPENGL 1
32429 _ACEOF
32430
32431 cat >>confdefs.h <<\_ACEOF
32432 #define wxUSE_GLCANVAS 1
32433 _ACEOF
32434
32435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32436 fi
32437 fi
32438
32439
32440 if test -n "$TOOLKIT" ; then
32441 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32442 fi
32443
32444
32445
32446 if test "$wxUSE_SHARED" = "yes"; then
32447 case "${host}" in
32448 *-pc-msdosdjgpp )
32449 wxUSE_SHARED=no
32450 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32451 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32452 ;;
32453 esac
32454 fi
32455
32456 if test "$wxUSE_SHARED" = "yes"; then
32457
32458
32459 case "${host}" in
32460 *-*-cygwin* | *-*-mingw* )
32461 wx_cv_version_script=no
32462 ;;
32463
32464 *)
32465 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32466 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32467 if test "${wx_cv_version_script+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32469 else
32470
32471 echo "VER_1 { *; };" >conftest.sym
32472 echo "int main() { return 0; }" >conftest.cpp
32473
32474 if { ac_try='
32475 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32476 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32478 (eval $ac_try) 2>&5
32479 ac_status=$?
32480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32481 (exit $ac_status); }; } ; then
32482 if test -s conftest.stderr ; then
32483 wx_cv_version_script=no
32484 else
32485 wx_cv_version_script=yes
32486 fi
32487 else
32488 wx_cv_version_script=no
32489 fi
32490
32491 if test $wx_cv_version_script = yes
32492 then
32493 echo "struct B { virtual ~B() { } }; \
32494 struct D : public B { }; \
32495 void F() { D d; }" > conftest.cpp
32496
32497 if { ac_try='
32498 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32499 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32501 (eval $ac_try) 2>&5
32502 ac_status=$?
32503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32504 (exit $ac_status); }; } &&
32505 { ac_try='
32506 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32507 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32509 (eval $ac_try) 2>&5
32510 ac_status=$?
32511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32512 (exit $ac_status); }; }
32513 then
32514 if { ac_try='
32515 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32516 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32519 ac_status=$?
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; }
32522 then
32523 wx_cv_version_script=yes
32524 else
32525 wx_cv_version_script=no
32526 fi
32527 fi
32528 fi
32529
32530 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32531 rm -f conftest1.output conftest2.output conftest3.output
32532
32533 fi
32534 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32535 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32536
32537 if test $wx_cv_version_script = yes ; then
32538 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32539 fi
32540 ;;
32541 esac
32542
32543
32544 case "${host}" in
32545 *-*-linux* | *-*-gnu* )
32546 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32547 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32548 ;;
32549
32550 *-*-solaris2* )
32551 if test "$GCC" = yes ; then
32552 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32553
32554 saveLdflags="$LDFLAGS"
32555 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32556 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32557 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32558 cat >conftest.$ac_ext <<_ACEOF
32559 /* confdefs.h. */
32560 _ACEOF
32561 cat confdefs.h >>conftest.$ac_ext
32562 cat >>conftest.$ac_ext <<_ACEOF
32563 /* end confdefs.h. */
32564
32565 int
32566 main ()
32567 {
32568
32569 ;
32570 return 0;
32571 }
32572 _ACEOF
32573 rm -f conftest.$ac_objext conftest$ac_exeext
32574 if { (ac_try="$ac_link"
32575 case "(($ac_try" in
32576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32577 *) ac_try_echo=$ac_try;;
32578 esac
32579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32580 (eval "$ac_link") 2>conftest.er1
32581 ac_status=$?
32582 grep -v '^ *+' conftest.er1 >conftest.err
32583 rm -f conftest.er1
32584 cat conftest.err >&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); } && {
32587 test -z "$ac_c_werror_flag" ||
32588 test ! -s conftest.err
32589 } && test -s conftest$ac_exeext &&
32590 $as_test_x conftest$ac_exeext; then
32591
32592 { echo "$as_me:$LINENO: result: yes" >&5
32593 echo "${ECHO_T}yes" >&6; }
32594 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32595 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32596
32597 else
32598 echo "$as_me: failed program was:" >&5
32599 sed 's/^/| /' conftest.$ac_ext >&5
32600
32601
32602 { echo "$as_me:$LINENO: result: no" >&5
32603 echo "${ECHO_T}no" >&6; }
32604 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32605 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32606 LDFLAGS="$saveLdflags -Wl,-R,/"
32607 cat >conftest.$ac_ext <<_ACEOF
32608 /* confdefs.h. */
32609 _ACEOF
32610 cat confdefs.h >>conftest.$ac_ext
32611 cat >>conftest.$ac_ext <<_ACEOF
32612 /* end confdefs.h. */
32613
32614 int
32615 main ()
32616 {
32617
32618 ;
32619 return 0;
32620 }
32621 _ACEOF
32622 rm -f conftest.$ac_objext conftest$ac_exeext
32623 if { (ac_try="$ac_link"
32624 case "(($ac_try" in
32625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32626 *) ac_try_echo=$ac_try;;
32627 esac
32628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32629 (eval "$ac_link") 2>conftest.er1
32630 ac_status=$?
32631 grep -v '^ *+' conftest.er1 >conftest.err
32632 rm -f conftest.er1
32633 cat conftest.err >&5
32634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32635 (exit $ac_status); } && {
32636 test -z "$ac_c_werror_flag" ||
32637 test ! -s conftest.err
32638 } && test -s conftest$ac_exeext &&
32639 $as_test_x conftest$ac_exeext; then
32640
32641 { echo "$as_me:$LINENO: result: yes" >&5
32642 echo "${ECHO_T}yes" >&6; }
32643 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32644 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32645
32646 else
32647 echo "$as_me: failed program was:" >&5
32648 sed 's/^/| /' conftest.$ac_ext >&5
32649
32650
32651 { echo "$as_me:$LINENO: result: no" >&5
32652 echo "${ECHO_T}no" >&6; }
32653
32654 fi
32655
32656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32657 conftest$ac_exeext conftest.$ac_ext
32658
32659 fi
32660
32661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32662 conftest$ac_exeext conftest.$ac_ext
32663 LDFLAGS="$saveLdflags"
32664 else
32665 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32666 WXCONFIG_RPATH="-R\$libdir"
32667 fi
32668 ;;
32669
32670 *-*-darwin* )
32671 install_name_tool=`which install_name_tool`
32672 if test "$install_name_tool" -a -x "$install_name_tool"; then
32673 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32674 cat <<EOF >change-install-names
32675 #!/bin/sh
32676 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32677 inst_cmd="install_name_tool "
32678 for i in \${libnames} ; do
32679 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32680 done
32681 \${inst_cmd} \${3}
32682 EOF
32683 chmod +x change-install-names
32684 fi
32685 ;;
32686
32687 *-*-cygwin* | *-*-mingw32* )
32688 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32689 ;;
32690
32691 *-*-hpux* )
32692 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32693 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32694 ;;
32695
32696 esac
32697
32698 if test $wxUSE_RPATH = "no"; then
32699 SAMPLES_RPATH_FLAG=''
32700 SAMPLES_RPATH_POSTLINK=''
32701 WXCONFIG_RPATH=''
32702 fi
32703
32704 SHARED=1
32705
32706 else
32707
32708 config_linkage_component="-static"
32709 SHARED=0
32710
32711 fi
32712
32713
32714 UNICODE=0
32715 lib_unicode_suffix=
32716 WX_CHARTYPE="ansi"
32717 if test "$wxUSE_UNICODE" = "yes"; then
32718 lib_unicode_suffix=u
32719 WX_CHARTYPE="unicode"
32720 UNICODE=1
32721 fi
32722
32723 lib_debug_suffix=
32724 WX_DEBUGTYPE="release"
32725 DEBUG_FLAG=0
32726 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32727 lib_debug_suffix=d
32728 WX_DEBUGTYPE="debug"
32729 DEBUG_FLAG=1
32730 fi
32731
32732 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32733 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32734
32735 DEBUG_INFO=0
32736 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32737 DEBUG_INFO=1
32738 fi
32739
32740 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32741
32742 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32743
32744 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32745
32746 if test "$cross_compiling" = "yes"; then
32747 HOST_SUFFIX="-$host_alias"
32748 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32749 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32750 fi
32751
32752 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32753 if test "${TOOLKIT_DIR}" = "os2"; then
32754 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32755 else
32756 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32757 fi
32758
32759
32760
32761 if test "$wxUSE_COCOA" = 1; then
32762
32763 ac_ext=c
32764 ac_cpp='$CPP $CPPFLAGS'
32765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32768
32769 ac_ext=m
32770
32771 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32772 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32773 cat >conftest.$ac_ext <<_ACEOF
32774 /* confdefs.h. */
32775 _ACEOF
32776 cat confdefs.h >>conftest.$ac_ext
32777 cat >>conftest.$ac_ext <<_ACEOF
32778 /* end confdefs.h. */
32779 #include <AppKit/NSEvent.h>
32780 #include <CoreFoundation/CoreFoundation.h>
32781
32782 int
32783 main ()
32784 {
32785
32786 ;
32787 return 0;
32788 }
32789 _ACEOF
32790 rm -f conftest.$ac_objext
32791 if { (ac_try="$ac_compile"
32792 case "(($ac_try" in
32793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32794 *) ac_try_echo=$ac_try;;
32795 esac
32796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32797 (eval "$ac_compile") 2>conftest.er1
32798 ac_status=$?
32799 grep -v '^ *+' conftest.er1 >conftest.err
32800 rm -f conftest.er1
32801 cat conftest.err >&5
32802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32803 (exit $ac_status); } && {
32804 test -z "$ac_c_werror_flag" ||
32805 test ! -s conftest.err
32806 } && test -s conftest.$ac_objext; then
32807 { echo "$as_me:$LINENO: result: no" >&5
32808 echo "${ECHO_T}no" >&6; }
32809 else
32810 echo "$as_me: failed program was:" >&5
32811 sed 's/^/| /' conftest.$ac_ext >&5
32812
32813 { echo "$as_me:$LINENO: result: yes" >&5
32814 echo "${ECHO_T}yes" >&6; }
32815 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32816 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32817 cat >conftest.$ac_ext <<_ACEOF
32818 /* confdefs.h. */
32819 _ACEOF
32820 cat confdefs.h >>conftest.$ac_ext
32821 cat >>conftest.$ac_ext <<_ACEOF
32822 /* end confdefs.h. */
32823 #define __Point__ 1
32824 #include <AppKit/NSEvent.h>
32825 #include <CoreFoundation/CoreFoundation.h>
32826
32827 int
32828 main ()
32829 {
32830
32831 ;
32832 return 0;
32833 }
32834 _ACEOF
32835 rm -f conftest.$ac_objext
32836 if { (ac_try="$ac_compile"
32837 case "(($ac_try" in
32838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32839 *) ac_try_echo=$ac_try;;
32840 esac
32841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32842 (eval "$ac_compile") 2>conftest.er1
32843 ac_status=$?
32844 grep -v '^ *+' conftest.er1 >conftest.err
32845 rm -f conftest.er1
32846 cat conftest.err >&5
32847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32848 (exit $ac_status); } && {
32849 test -z "$ac_c_werror_flag" ||
32850 test ! -s conftest.err
32851 } && test -s conftest.$ac_objext; then
32852 { echo "$as_me:$LINENO: result: yes" >&5
32853 echo "${ECHO_T}yes" >&6; }
32854 cat >>confdefs.h <<\_ACEOF
32855 #define __Point__ 1
32856 _ACEOF
32857
32858
32859 else
32860 echo "$as_me: failed program was:" >&5
32861 sed 's/^/| /' conftest.$ac_ext >&5
32862
32863 { { echo "$as_me:$LINENO: error: no
32864 See \`config.log' for more details." >&5
32865 echo "$as_me: error: no
32866 See \`config.log' for more details." >&2;}
32867 { (exit 1); exit 1; }; }
32868
32869 fi
32870
32871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32872
32873 fi
32874
32875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32876 ac_ext=c
32877 ac_cpp='$CPP $CPPFLAGS'
32878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32881
32882 fi
32883
32884 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32885 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32886 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32887
32888 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32889
32890 # Extract the first word of "Rez", so it can be a program name with args.
32891 set dummy Rez; ac_word=$2
32892 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32894 if test "${ac_cv_prog_REZ+set}" = set; then
32895 echo $ECHO_N "(cached) $ECHO_C" >&6
32896 else
32897 if test -n "$REZ"; then
32898 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32899 else
32900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32901 for as_dir in $PATH
32902 do
32903 IFS=$as_save_IFS
32904 test -z "$as_dir" && as_dir=.
32905 for ac_exec_ext in '' $ac_executable_extensions; do
32906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32907 ac_cv_prog_REZ="Rez"
32908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32909 break 2
32910 fi
32911 done
32912 done
32913 IFS=$as_save_IFS
32914
32915 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32916 fi
32917 fi
32918 REZ=$ac_cv_prog_REZ
32919 if test -n "$REZ"; then
32920 { echo "$as_me:$LINENO: result: $REZ" >&5
32921 echo "${ECHO_T}$REZ" >&6; }
32922 else
32923 { echo "$as_me:$LINENO: result: no" >&5
32924 echo "${ECHO_T}no" >&6; }
32925 fi
32926
32927
32928 # Extract the first word of "DeRez", so it can be a program name with args.
32929 set dummy DeRez; ac_word=$2
32930 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32931 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32932 if test "${ac_cv_prog_DEREZ+set}" = set; then
32933 echo $ECHO_N "(cached) $ECHO_C" >&6
32934 else
32935 if test -n "$DEREZ"; then
32936 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32937 else
32938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32939 for as_dir in $PATH
32940 do
32941 IFS=$as_save_IFS
32942 test -z "$as_dir" && as_dir=.
32943 for ac_exec_ext in '' $ac_executable_extensions; do
32944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32945 ac_cv_prog_DEREZ="DeRez"
32946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32947 break 2
32948 fi
32949 done
32950 done
32951 IFS=$as_save_IFS
32952
32953 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32954 fi
32955 fi
32956 DEREZ=$ac_cv_prog_DEREZ
32957 if test -n "$DEREZ"; then
32958 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32959 echo "${ECHO_T}$DEREZ" >&6; }
32960 else
32961 { echo "$as_me:$LINENO: result: no" >&5
32962 echo "${ECHO_T}no" >&6; }
32963 fi
32964
32965
32966 # Extract the first word of "SetFile", so it can be a program name with args.
32967 set dummy SetFile; ac_word=$2
32968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32970 if test "${ac_cv_prog_SETFILE+set}" = set; then
32971 echo $ECHO_N "(cached) $ECHO_C" >&6
32972 else
32973 if test -n "$SETFILE"; then
32974 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32975 else
32976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32977 for as_dir in $PATH
32978 do
32979 IFS=$as_save_IFS
32980 test -z "$as_dir" && as_dir=.
32981 for ac_exec_ext in '' $ac_executable_extensions; do
32982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32983 ac_cv_prog_SETFILE="SetFile"
32984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32985 break 2
32986 fi
32987 done
32988 done
32989 IFS=$as_save_IFS
32990
32991 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32992 fi
32993 fi
32994 SETFILE=$ac_cv_prog_SETFILE
32995 if test -n "$SETFILE"; then
32996 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32997 echo "${ECHO_T}$SETFILE" >&6; }
32998 else
32999 { echo "$as_me:$LINENO: result: no" >&5
33000 echo "${ECHO_T}no" >&6; }
33001 fi
33002
33003
33004
33005 MACSETFILE="\$(SETFILE)"
33006
33007 if test "$wxUSE_MAC" = 1; then
33008 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33009 RESCOMP="$REZ"
33010 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33011 else
33012 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33013 RESCOMP="echo -n \| $REZ"
33014 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33015 fi
33016
33017 else
33018 MACSETFILE="@true"
33019
33020 if test "$wxUSE_PM" = 1; then
33021 RESCOMP="emxbind"
33022 WXCONFIG_RESFLAGS="-ep"
33023
33024 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33025 else
33026 POSTLINK_COMMAND="@true"
33027 fi
33028
33029 fi
33030
33031
33032
33033 { echo "$as_me:$LINENO: checking for mode_t" >&5
33034 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33035 if test "${ac_cv_type_mode_t+set}" = set; then
33036 echo $ECHO_N "(cached) $ECHO_C" >&6
33037 else
33038 cat >conftest.$ac_ext <<_ACEOF
33039 /* confdefs.h. */
33040 _ACEOF
33041 cat confdefs.h >>conftest.$ac_ext
33042 cat >>conftest.$ac_ext <<_ACEOF
33043 /* end confdefs.h. */
33044 $ac_includes_default
33045 typedef mode_t ac__type_new_;
33046 int
33047 main ()
33048 {
33049 if ((ac__type_new_ *) 0)
33050 return 0;
33051 if (sizeof (ac__type_new_))
33052 return 0;
33053 ;
33054 return 0;
33055 }
33056 _ACEOF
33057 rm -f conftest.$ac_objext
33058 if { (ac_try="$ac_compile"
33059 case "(($ac_try" in
33060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33061 *) ac_try_echo=$ac_try;;
33062 esac
33063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33064 (eval "$ac_compile") 2>conftest.er1
33065 ac_status=$?
33066 grep -v '^ *+' conftest.er1 >conftest.err
33067 rm -f conftest.er1
33068 cat conftest.err >&5
33069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33070 (exit $ac_status); } && {
33071 test -z "$ac_c_werror_flag" ||
33072 test ! -s conftest.err
33073 } && test -s conftest.$ac_objext; then
33074 ac_cv_type_mode_t=yes
33075 else
33076 echo "$as_me: failed program was:" >&5
33077 sed 's/^/| /' conftest.$ac_ext >&5
33078
33079 ac_cv_type_mode_t=no
33080 fi
33081
33082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33083 fi
33084 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33085 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33086 if test $ac_cv_type_mode_t = yes; then
33087 :
33088 else
33089
33090 cat >>confdefs.h <<_ACEOF
33091 #define mode_t int
33092 _ACEOF
33093
33094 fi
33095
33096 { echo "$as_me:$LINENO: checking for off_t" >&5
33097 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33098 if test "${ac_cv_type_off_t+set}" = set; then
33099 echo $ECHO_N "(cached) $ECHO_C" >&6
33100 else
33101 cat >conftest.$ac_ext <<_ACEOF
33102 /* confdefs.h. */
33103 _ACEOF
33104 cat confdefs.h >>conftest.$ac_ext
33105 cat >>conftest.$ac_ext <<_ACEOF
33106 /* end confdefs.h. */
33107 $ac_includes_default
33108 typedef off_t ac__type_new_;
33109 int
33110 main ()
33111 {
33112 if ((ac__type_new_ *) 0)
33113 return 0;
33114 if (sizeof (ac__type_new_))
33115 return 0;
33116 ;
33117 return 0;
33118 }
33119 _ACEOF
33120 rm -f conftest.$ac_objext
33121 if { (ac_try="$ac_compile"
33122 case "(($ac_try" in
33123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33124 *) ac_try_echo=$ac_try;;
33125 esac
33126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33127 (eval "$ac_compile") 2>conftest.er1
33128 ac_status=$?
33129 grep -v '^ *+' conftest.er1 >conftest.err
33130 rm -f conftest.er1
33131 cat conftest.err >&5
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); } && {
33134 test -z "$ac_c_werror_flag" ||
33135 test ! -s conftest.err
33136 } && test -s conftest.$ac_objext; then
33137 ac_cv_type_off_t=yes
33138 else
33139 echo "$as_me: failed program was:" >&5
33140 sed 's/^/| /' conftest.$ac_ext >&5
33141
33142 ac_cv_type_off_t=no
33143 fi
33144
33145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33146 fi
33147 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33148 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33149 if test $ac_cv_type_off_t = yes; then
33150 :
33151 else
33152
33153 cat >>confdefs.h <<_ACEOF
33154 #define off_t long int
33155 _ACEOF
33156
33157 fi
33158
33159 { echo "$as_me:$LINENO: checking for pid_t" >&5
33160 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33161 if test "${ac_cv_type_pid_t+set}" = set; then
33162 echo $ECHO_N "(cached) $ECHO_C" >&6
33163 else
33164 cat >conftest.$ac_ext <<_ACEOF
33165 /* confdefs.h. */
33166 _ACEOF
33167 cat confdefs.h >>conftest.$ac_ext
33168 cat >>conftest.$ac_ext <<_ACEOF
33169 /* end confdefs.h. */
33170 $ac_includes_default
33171 typedef pid_t ac__type_new_;
33172 int
33173 main ()
33174 {
33175 if ((ac__type_new_ *) 0)
33176 return 0;
33177 if (sizeof (ac__type_new_))
33178 return 0;
33179 ;
33180 return 0;
33181 }
33182 _ACEOF
33183 rm -f conftest.$ac_objext
33184 if { (ac_try="$ac_compile"
33185 case "(($ac_try" in
33186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33187 *) ac_try_echo=$ac_try;;
33188 esac
33189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33190 (eval "$ac_compile") 2>conftest.er1
33191 ac_status=$?
33192 grep -v '^ *+' conftest.er1 >conftest.err
33193 rm -f conftest.er1
33194 cat conftest.err >&5
33195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196 (exit $ac_status); } && {
33197 test -z "$ac_c_werror_flag" ||
33198 test ! -s conftest.err
33199 } && test -s conftest.$ac_objext; then
33200 ac_cv_type_pid_t=yes
33201 else
33202 echo "$as_me: failed program was:" >&5
33203 sed 's/^/| /' conftest.$ac_ext >&5
33204
33205 ac_cv_type_pid_t=no
33206 fi
33207
33208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33209 fi
33210 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33211 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33212 if test $ac_cv_type_pid_t = yes; then
33213 :
33214 else
33215
33216 cat >>confdefs.h <<_ACEOF
33217 #define pid_t int
33218 _ACEOF
33219
33220 fi
33221
33222 { echo "$as_me:$LINENO: checking for size_t" >&5
33223 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33224 if test "${ac_cv_type_size_t+set}" = set; then
33225 echo $ECHO_N "(cached) $ECHO_C" >&6
33226 else
33227 cat >conftest.$ac_ext <<_ACEOF
33228 /* confdefs.h. */
33229 _ACEOF
33230 cat confdefs.h >>conftest.$ac_ext
33231 cat >>conftest.$ac_ext <<_ACEOF
33232 /* end confdefs.h. */
33233 $ac_includes_default
33234 typedef size_t ac__type_new_;
33235 int
33236 main ()
33237 {
33238 if ((ac__type_new_ *) 0)
33239 return 0;
33240 if (sizeof (ac__type_new_))
33241 return 0;
33242 ;
33243 return 0;
33244 }
33245 _ACEOF
33246 rm -f conftest.$ac_objext
33247 if { (ac_try="$ac_compile"
33248 case "(($ac_try" in
33249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33250 *) ac_try_echo=$ac_try;;
33251 esac
33252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33253 (eval "$ac_compile") 2>conftest.er1
33254 ac_status=$?
33255 grep -v '^ *+' conftest.er1 >conftest.err
33256 rm -f conftest.er1
33257 cat conftest.err >&5
33258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259 (exit $ac_status); } && {
33260 test -z "$ac_c_werror_flag" ||
33261 test ! -s conftest.err
33262 } && test -s conftest.$ac_objext; then
33263 ac_cv_type_size_t=yes
33264 else
33265 echo "$as_me: failed program was:" >&5
33266 sed 's/^/| /' conftest.$ac_ext >&5
33267
33268 ac_cv_type_size_t=no
33269 fi
33270
33271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33272 fi
33273 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33274 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33275 if test $ac_cv_type_size_t = yes; then
33276 :
33277 else
33278
33279 cat >>confdefs.h <<_ACEOF
33280 #define size_t unsigned int
33281 _ACEOF
33282
33283 fi
33284
33285 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33286 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33287 if test "${ac_cv_type_uid_t+set}" = set; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33289 else
33290 cat >conftest.$ac_ext <<_ACEOF
33291 /* confdefs.h. */
33292 _ACEOF
33293 cat confdefs.h >>conftest.$ac_ext
33294 cat >>conftest.$ac_ext <<_ACEOF
33295 /* end confdefs.h. */
33296 #include <sys/types.h>
33297
33298 _ACEOF
33299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33300 $EGREP "uid_t" >/dev/null 2>&1; then
33301 ac_cv_type_uid_t=yes
33302 else
33303 ac_cv_type_uid_t=no
33304 fi
33305 rm -f conftest*
33306
33307 fi
33308 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33309 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33310 if test $ac_cv_type_uid_t = no; then
33311
33312 cat >>confdefs.h <<\_ACEOF
33313 #define uid_t int
33314 _ACEOF
33315
33316
33317 cat >>confdefs.h <<\_ACEOF
33318 #define gid_t int
33319 _ACEOF
33320
33321 fi
33322
33323
33324 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33325 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33326 if test "${ac_cv_type_ssize_t+set}" = set; then
33327 echo $ECHO_N "(cached) $ECHO_C" >&6
33328 else
33329 cat >conftest.$ac_ext <<_ACEOF
33330 /* confdefs.h. */
33331 _ACEOF
33332 cat confdefs.h >>conftest.$ac_ext
33333 cat >>conftest.$ac_ext <<_ACEOF
33334 /* end confdefs.h. */
33335 $ac_includes_default
33336 typedef ssize_t ac__type_new_;
33337 int
33338 main ()
33339 {
33340 if ((ac__type_new_ *) 0)
33341 return 0;
33342 if (sizeof (ac__type_new_))
33343 return 0;
33344 ;
33345 return 0;
33346 }
33347 _ACEOF
33348 rm -f conftest.$ac_objext
33349 if { (ac_try="$ac_compile"
33350 case "(($ac_try" in
33351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33352 *) ac_try_echo=$ac_try;;
33353 esac
33354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33355 (eval "$ac_compile") 2>conftest.er1
33356 ac_status=$?
33357 grep -v '^ *+' conftest.er1 >conftest.err
33358 rm -f conftest.er1
33359 cat conftest.err >&5
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); } && {
33362 test -z "$ac_c_werror_flag" ||
33363 test ! -s conftest.err
33364 } && test -s conftest.$ac_objext; then
33365 ac_cv_type_ssize_t=yes
33366 else
33367 echo "$as_me: failed program was:" >&5
33368 sed 's/^/| /' conftest.$ac_ext >&5
33369
33370 ac_cv_type_ssize_t=no
33371 fi
33372
33373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33374 fi
33375 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33376 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33377 if test $ac_cv_type_ssize_t = yes; then
33378
33379 cat >>confdefs.h <<_ACEOF
33380 #define HAVE_SSIZE_T 1
33381 _ACEOF
33382
33383
33384 fi
33385
33386
33387 ac_ext=cpp
33388 ac_cpp='$CXXCPP $CPPFLAGS'
33389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33392 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33393 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33394 if test "${wx_cv_size_t_is_uint+set}" = set; then
33395 echo $ECHO_N "(cached) $ECHO_C" >&6
33396 else
33397
33398 cat >conftest.$ac_ext <<_ACEOF
33399 /* confdefs.h. */
33400 _ACEOF
33401 cat confdefs.h >>conftest.$ac_ext
33402 cat >>conftest.$ac_ext <<_ACEOF
33403 /* end confdefs.h. */
33404 #include <stddef.h>
33405 int
33406 main ()
33407 {
33408
33409 return 0; }
33410
33411 struct Foo { void foo(size_t); void foo(unsigned int); };
33412
33413 int bar() {
33414
33415 ;
33416 return 0;
33417 }
33418 _ACEOF
33419 rm -f conftest.$ac_objext
33420 if { (ac_try="$ac_compile"
33421 case "(($ac_try" in
33422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33423 *) ac_try_echo=$ac_try;;
33424 esac
33425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33426 (eval "$ac_compile") 2>conftest.er1
33427 ac_status=$?
33428 grep -v '^ *+' conftest.er1 >conftest.err
33429 rm -f conftest.er1
33430 cat conftest.err >&5
33431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33432 (exit $ac_status); } && {
33433 test -z "$ac_cxx_werror_flag" ||
33434 test ! -s conftest.err
33435 } && test -s conftest.$ac_objext; then
33436 wx_cv_size_t_is_uint=no
33437 else
33438 echo "$as_me: failed program was:" >&5
33439 sed 's/^/| /' conftest.$ac_ext >&5
33440
33441 wx_cv_size_t_is_uint=yes
33442
33443 fi
33444
33445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33446
33447
33448 fi
33449 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33450 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33451
33452 if test "$wx_cv_size_t_is_uint" = "yes"; then
33453 cat >>confdefs.h <<\_ACEOF
33454 #define wxSIZE_T_IS_UINT 1
33455 _ACEOF
33456
33457 else
33458 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33459 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33460 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33461 echo $ECHO_N "(cached) $ECHO_C" >&6
33462 else
33463 cat >conftest.$ac_ext <<_ACEOF
33464 /* confdefs.h. */
33465 _ACEOF
33466 cat confdefs.h >>conftest.$ac_ext
33467 cat >>conftest.$ac_ext <<_ACEOF
33468 /* end confdefs.h. */
33469 #include <stddef.h>
33470 int
33471 main ()
33472 {
33473
33474 return 0; }
33475
33476 struct Foo { void foo(size_t); void foo(unsigned long); };
33477
33478 int bar() {
33479
33480 ;
33481 return 0;
33482 }
33483 _ACEOF
33484 rm -f conftest.$ac_objext
33485 if { (ac_try="$ac_compile"
33486 case "(($ac_try" in
33487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33488 *) ac_try_echo=$ac_try;;
33489 esac
33490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33491 (eval "$ac_compile") 2>conftest.er1
33492 ac_status=$?
33493 grep -v '^ *+' conftest.er1 >conftest.err
33494 rm -f conftest.er1
33495 cat conftest.err >&5
33496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33497 (exit $ac_status); } && {
33498 test -z "$ac_cxx_werror_flag" ||
33499 test ! -s conftest.err
33500 } && test -s conftest.$ac_objext; then
33501 wx_cv_size_t_is_ulong=no
33502 else
33503 echo "$as_me: failed program was:" >&5
33504 sed 's/^/| /' conftest.$ac_ext >&5
33505
33506 wx_cv_size_t_is_ulong=yes
33507
33508 fi
33509
33510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33511
33512 fi
33513 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33514 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33515
33516 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33517 cat >>confdefs.h <<\_ACEOF
33518 #define wxSIZE_T_IS_ULONG 1
33519 _ACEOF
33520
33521 fi
33522 fi
33523
33524 ac_ext=c
33525 ac_cpp='$CPP $CPPFLAGS'
33526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33529
33530
33531 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33532 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33533 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33534 echo $ECHO_N "(cached) $ECHO_C" >&6
33535 else
33536
33537 cat >conftest.$ac_ext <<_ACEOF
33538 /* confdefs.h. */
33539 _ACEOF
33540 cat confdefs.h >>conftest.$ac_ext
33541 cat >>conftest.$ac_ext <<_ACEOF
33542 /* end confdefs.h. */
33543 #include <pwd.h>
33544 int
33545 main ()
33546 {
33547
33548 char *p;
33549 struct passwd *pw;
33550 p = pw->pw_gecos;
33551
33552 ;
33553 return 0;
33554 }
33555 _ACEOF
33556 rm -f conftest.$ac_objext
33557 if { (ac_try="$ac_compile"
33558 case "(($ac_try" in
33559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33560 *) ac_try_echo=$ac_try;;
33561 esac
33562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33563 (eval "$ac_compile") 2>conftest.er1
33564 ac_status=$?
33565 grep -v '^ *+' conftest.er1 >conftest.err
33566 rm -f conftest.er1
33567 cat conftest.err >&5
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); } && {
33570 test -z "$ac_c_werror_flag" ||
33571 test ! -s conftest.err
33572 } && test -s conftest.$ac_objext; then
33573
33574 wx_cv_struct_pw_gecos=yes
33575
33576 else
33577 echo "$as_me: failed program was:" >&5
33578 sed 's/^/| /' conftest.$ac_ext >&5
33579
33580
33581 wx_cv_struct_pw_gecos=no
33582
33583
33584 fi
33585
33586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33587
33588
33589 fi
33590 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33591 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33592
33593 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33594 cat >>confdefs.h <<\_ACEOF
33595 #define HAVE_PW_GECOS 1
33596 _ACEOF
33597
33598 fi
33599
33600
33601 if test "$wxUSE_WCHAR_T" = "yes"; then
33602 cat >>confdefs.h <<\_ACEOF
33603 #define wxUSE_WCHAR_T 1
33604 _ACEOF
33605
33606
33607 WCSLEN_FOUND=0
33608 WCHAR_LINK=
33609
33610 for ac_func in wcslen
33611 do
33612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33613 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33615 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33616 echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33618 cat >conftest.$ac_ext <<_ACEOF
33619 /* confdefs.h. */
33620 _ACEOF
33621 cat confdefs.h >>conftest.$ac_ext
33622 cat >>conftest.$ac_ext <<_ACEOF
33623 /* end confdefs.h. */
33624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33626 #define $ac_func innocuous_$ac_func
33627
33628 /* System header to define __stub macros and hopefully few prototypes,
33629 which can conflict with char $ac_func (); below.
33630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33631 <limits.h> exists even on freestanding compilers. */
33632
33633 #ifdef __STDC__
33634 # include <limits.h>
33635 #else
33636 # include <assert.h>
33637 #endif
33638
33639 #undef $ac_func
33640
33641 /* Override any GCC internal prototype to avoid an error.
33642 Use char because int might match the return type of a GCC
33643 builtin and then its argument prototype would still apply. */
33644 #ifdef __cplusplus
33645 extern "C"
33646 #endif
33647 char $ac_func ();
33648 /* The GNU C library defines this for functions which it implements
33649 to always fail with ENOSYS. Some functions are actually named
33650 something starting with __ and the normal name is an alias. */
33651 #if defined __stub_$ac_func || defined __stub___$ac_func
33652 choke me
33653 #endif
33654
33655 int
33656 main ()
33657 {
33658 return $ac_func ();
33659 ;
33660 return 0;
33661 }
33662 _ACEOF
33663 rm -f conftest.$ac_objext conftest$ac_exeext
33664 if { (ac_try="$ac_link"
33665 case "(($ac_try" in
33666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33667 *) ac_try_echo=$ac_try;;
33668 esac
33669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33670 (eval "$ac_link") 2>conftest.er1
33671 ac_status=$?
33672 grep -v '^ *+' conftest.er1 >conftest.err
33673 rm -f conftest.er1
33674 cat conftest.err >&5
33675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33676 (exit $ac_status); } && {
33677 test -z "$ac_c_werror_flag" ||
33678 test ! -s conftest.err
33679 } && test -s conftest$ac_exeext &&
33680 $as_test_x conftest$ac_exeext; then
33681 eval "$as_ac_var=yes"
33682 else
33683 echo "$as_me: failed program was:" >&5
33684 sed 's/^/| /' conftest.$ac_ext >&5
33685
33686 eval "$as_ac_var=no"
33687 fi
33688
33689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33690 conftest$ac_exeext conftest.$ac_ext
33691 fi
33692 ac_res=`eval echo '${'$as_ac_var'}'`
33693 { echo "$as_me:$LINENO: result: $ac_res" >&5
33694 echo "${ECHO_T}$ac_res" >&6; }
33695 if test `eval echo '${'$as_ac_var'}'` = yes; then
33696 cat >>confdefs.h <<_ACEOF
33697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33698 _ACEOF
33699 WCSLEN_FOUND=1
33700 fi
33701 done
33702
33703
33704 if test "$WCSLEN_FOUND" = 0; then
33705 if test "$TOOLKIT" = "MSW"; then
33706 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33707 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33708 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33709 echo $ECHO_N "(cached) $ECHO_C" >&6
33710 else
33711 ac_check_lib_save_LIBS=$LIBS
33712 LIBS="-lmsvcrt $LIBS"
33713 cat >conftest.$ac_ext <<_ACEOF
33714 /* confdefs.h. */
33715 _ACEOF
33716 cat confdefs.h >>conftest.$ac_ext
33717 cat >>conftest.$ac_ext <<_ACEOF
33718 /* end confdefs.h. */
33719
33720 /* Override any GCC internal prototype to avoid an error.
33721 Use char because int might match the return type of a GCC
33722 builtin and then its argument prototype would still apply. */
33723 #ifdef __cplusplus
33724 extern "C"
33725 #endif
33726 char wcslen ();
33727 int
33728 main ()
33729 {
33730 return wcslen ();
33731 ;
33732 return 0;
33733 }
33734 _ACEOF
33735 rm -f conftest.$ac_objext conftest$ac_exeext
33736 if { (ac_try="$ac_link"
33737 case "(($ac_try" in
33738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33739 *) ac_try_echo=$ac_try;;
33740 esac
33741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33742 (eval "$ac_link") 2>conftest.er1
33743 ac_status=$?
33744 grep -v '^ *+' conftest.er1 >conftest.err
33745 rm -f conftest.er1
33746 cat conftest.err >&5
33747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33748 (exit $ac_status); } && {
33749 test -z "$ac_c_werror_flag" ||
33750 test ! -s conftest.err
33751 } && test -s conftest$ac_exeext &&
33752 $as_test_x conftest$ac_exeext; then
33753 ac_cv_lib_msvcrt_wcslen=yes
33754 else
33755 echo "$as_me: failed program was:" >&5
33756 sed 's/^/| /' conftest.$ac_ext >&5
33757
33758 ac_cv_lib_msvcrt_wcslen=no
33759 fi
33760
33761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33762 conftest$ac_exeext conftest.$ac_ext
33763 LIBS=$ac_check_lib_save_LIBS
33764 fi
33765 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33766 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33767 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33768 WCHAR_OK=1
33769 fi
33770
33771 else
33772 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33773 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33774 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33775 echo $ECHO_N "(cached) $ECHO_C" >&6
33776 else
33777 ac_check_lib_save_LIBS=$LIBS
33778 LIBS="-lw $LIBS"
33779 cat >conftest.$ac_ext <<_ACEOF
33780 /* confdefs.h. */
33781 _ACEOF
33782 cat confdefs.h >>conftest.$ac_ext
33783 cat >>conftest.$ac_ext <<_ACEOF
33784 /* end confdefs.h. */
33785
33786 /* Override any GCC internal prototype to avoid an error.
33787 Use char because int might match the return type of a GCC
33788 builtin and then its argument prototype would still apply. */
33789 #ifdef __cplusplus
33790 extern "C"
33791 #endif
33792 char wcslen ();
33793 int
33794 main ()
33795 {
33796 return wcslen ();
33797 ;
33798 return 0;
33799 }
33800 _ACEOF
33801 rm -f conftest.$ac_objext conftest$ac_exeext
33802 if { (ac_try="$ac_link"
33803 case "(($ac_try" in
33804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33805 *) ac_try_echo=$ac_try;;
33806 esac
33807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33808 (eval "$ac_link") 2>conftest.er1
33809 ac_status=$?
33810 grep -v '^ *+' conftest.er1 >conftest.err
33811 rm -f conftest.er1
33812 cat conftest.err >&5
33813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33814 (exit $ac_status); } && {
33815 test -z "$ac_c_werror_flag" ||
33816 test ! -s conftest.err
33817 } && test -s conftest$ac_exeext &&
33818 $as_test_x conftest$ac_exeext; then
33819 ac_cv_lib_w_wcslen=yes
33820 else
33821 echo "$as_me: failed program was:" >&5
33822 sed 's/^/| /' conftest.$ac_ext >&5
33823
33824 ac_cv_lib_w_wcslen=no
33825 fi
33826
33827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33828 conftest$ac_exeext conftest.$ac_ext
33829 LIBS=$ac_check_lib_save_LIBS
33830 fi
33831 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33832 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33833 if test $ac_cv_lib_w_wcslen = yes; then
33834
33835 WCHAR_LINK=" -lw"
33836 WCSLEN_FOUND=1
33837
33838 fi
33839
33840 fi
33841 fi
33842
33843 if test "$WCSLEN_FOUND" = 1; then
33844 cat >>confdefs.h <<\_ACEOF
33845 #define HAVE_WCSLEN 1
33846 _ACEOF
33847
33848 fi
33849
33850 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33851 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33852 fi
33853
33854 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33855 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33856 if test "${ac_cv_type_mbstate_t+set}" = set; then
33857 echo $ECHO_N "(cached) $ECHO_C" >&6
33858 else
33859 cat >conftest.$ac_ext <<_ACEOF
33860 /* confdefs.h. */
33861 _ACEOF
33862 cat confdefs.h >>conftest.$ac_ext
33863 cat >>conftest.$ac_ext <<_ACEOF
33864 /* end confdefs.h. */
33865 #include <wchar.h>
33866
33867 typedef mbstate_t ac__type_new_;
33868 int
33869 main ()
33870 {
33871 if ((ac__type_new_ *) 0)
33872 return 0;
33873 if (sizeof (ac__type_new_))
33874 return 0;
33875 ;
33876 return 0;
33877 }
33878 _ACEOF
33879 rm -f conftest.$ac_objext
33880 if { (ac_try="$ac_compile"
33881 case "(($ac_try" in
33882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33883 *) ac_try_echo=$ac_try;;
33884 esac
33885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33886 (eval "$ac_compile") 2>conftest.er1
33887 ac_status=$?
33888 grep -v '^ *+' conftest.er1 >conftest.err
33889 rm -f conftest.er1
33890 cat conftest.err >&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); } && {
33893 test -z "$ac_c_werror_flag" ||
33894 test ! -s conftest.err
33895 } && test -s conftest.$ac_objext; then
33896 ac_cv_type_mbstate_t=yes
33897 else
33898 echo "$as_me: failed program was:" >&5
33899 sed 's/^/| /' conftest.$ac_ext >&5
33900
33901 ac_cv_type_mbstate_t=no
33902 fi
33903
33904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33905 fi
33906 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33907 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33908 if test $ac_cv_type_mbstate_t = yes; then
33909
33910 cat >>confdefs.h <<_ACEOF
33911 #define HAVE_MBSTATE_T 1
33912 _ACEOF
33913
33914
33915 for ac_func in wcsrtombs
33916 do
33917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33918 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33920 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33921 echo $ECHO_N "(cached) $ECHO_C" >&6
33922 else
33923 cat >conftest.$ac_ext <<_ACEOF
33924 /* confdefs.h. */
33925 _ACEOF
33926 cat confdefs.h >>conftest.$ac_ext
33927 cat >>conftest.$ac_ext <<_ACEOF
33928 /* end confdefs.h. */
33929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33931 #define $ac_func innocuous_$ac_func
33932
33933 /* System header to define __stub macros and hopefully few prototypes,
33934 which can conflict with char $ac_func (); below.
33935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33936 <limits.h> exists even on freestanding compilers. */
33937
33938 #ifdef __STDC__
33939 # include <limits.h>
33940 #else
33941 # include <assert.h>
33942 #endif
33943
33944 #undef $ac_func
33945
33946 /* Override any GCC internal prototype to avoid an error.
33947 Use char because int might match the return type of a GCC
33948 builtin and then its argument prototype would still apply. */
33949 #ifdef __cplusplus
33950 extern "C"
33951 #endif
33952 char $ac_func ();
33953 /* The GNU C library defines this for functions which it implements
33954 to always fail with ENOSYS. Some functions are actually named
33955 something starting with __ and the normal name is an alias. */
33956 #if defined __stub_$ac_func || defined __stub___$ac_func
33957 choke me
33958 #endif
33959
33960 int
33961 main ()
33962 {
33963 return $ac_func ();
33964 ;
33965 return 0;
33966 }
33967 _ACEOF
33968 rm -f conftest.$ac_objext conftest$ac_exeext
33969 if { (ac_try="$ac_link"
33970 case "(($ac_try" in
33971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33972 *) ac_try_echo=$ac_try;;
33973 esac
33974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33975 (eval "$ac_link") 2>conftest.er1
33976 ac_status=$?
33977 grep -v '^ *+' conftest.er1 >conftest.err
33978 rm -f conftest.er1
33979 cat conftest.err >&5
33980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33981 (exit $ac_status); } && {
33982 test -z "$ac_c_werror_flag" ||
33983 test ! -s conftest.err
33984 } && test -s conftest$ac_exeext &&
33985 $as_test_x conftest$ac_exeext; then
33986 eval "$as_ac_var=yes"
33987 else
33988 echo "$as_me: failed program was:" >&5
33989 sed 's/^/| /' conftest.$ac_ext >&5
33990
33991 eval "$as_ac_var=no"
33992 fi
33993
33994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33995 conftest$ac_exeext conftest.$ac_ext
33996 fi
33997 ac_res=`eval echo '${'$as_ac_var'}'`
33998 { echo "$as_me:$LINENO: result: $ac_res" >&5
33999 echo "${ECHO_T}$ac_res" >&6; }
34000 if test `eval echo '${'$as_ac_var'}'` = yes; then
34001 cat >>confdefs.h <<_ACEOF
34002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34003 _ACEOF
34004
34005 fi
34006 done
34007
34008 fi
34009
34010 else
34011 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34012 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34013 fi
34014
34015
34016
34017 for ac_func in snprintf vsnprintf
34018 do
34019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34020 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34022 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34023 echo $ECHO_N "(cached) $ECHO_C" >&6
34024 else
34025 cat >conftest.$ac_ext <<_ACEOF
34026 /* confdefs.h. */
34027 _ACEOF
34028 cat confdefs.h >>conftest.$ac_ext
34029 cat >>conftest.$ac_ext <<_ACEOF
34030 /* end confdefs.h. */
34031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34033 #define $ac_func innocuous_$ac_func
34034
34035 /* System header to define __stub macros and hopefully few prototypes,
34036 which can conflict with char $ac_func (); below.
34037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34038 <limits.h> exists even on freestanding compilers. */
34039
34040 #ifdef __STDC__
34041 # include <limits.h>
34042 #else
34043 # include <assert.h>
34044 #endif
34045
34046 #undef $ac_func
34047
34048 /* Override any GCC internal prototype to avoid an error.
34049 Use char because int might match the return type of a GCC
34050 builtin and then its argument prototype would still apply. */
34051 #ifdef __cplusplus
34052 extern "C"
34053 #endif
34054 char $ac_func ();
34055 /* The GNU C library defines this for functions which it implements
34056 to always fail with ENOSYS. Some functions are actually named
34057 something starting with __ and the normal name is an alias. */
34058 #if defined __stub_$ac_func || defined __stub___$ac_func
34059 choke me
34060 #endif
34061
34062 int
34063 main ()
34064 {
34065 return $ac_func ();
34066 ;
34067 return 0;
34068 }
34069 _ACEOF
34070 rm -f conftest.$ac_objext conftest$ac_exeext
34071 if { (ac_try="$ac_link"
34072 case "(($ac_try" in
34073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34074 *) ac_try_echo=$ac_try;;
34075 esac
34076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34077 (eval "$ac_link") 2>conftest.er1
34078 ac_status=$?
34079 grep -v '^ *+' conftest.er1 >conftest.err
34080 rm -f conftest.er1
34081 cat conftest.err >&5
34082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34083 (exit $ac_status); } && {
34084 test -z "$ac_c_werror_flag" ||
34085 test ! -s conftest.err
34086 } && test -s conftest$ac_exeext &&
34087 $as_test_x conftest$ac_exeext; then
34088 eval "$as_ac_var=yes"
34089 else
34090 echo "$as_me: failed program was:" >&5
34091 sed 's/^/| /' conftest.$ac_ext >&5
34092
34093 eval "$as_ac_var=no"
34094 fi
34095
34096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34097 conftest$ac_exeext conftest.$ac_ext
34098 fi
34099 ac_res=`eval echo '${'$as_ac_var'}'`
34100 { echo "$as_me:$LINENO: result: $ac_res" >&5
34101 echo "${ECHO_T}$ac_res" >&6; }
34102 if test `eval echo '${'$as_ac_var'}'` = yes; then
34103 cat >>confdefs.h <<_ACEOF
34104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34105 _ACEOF
34106
34107 fi
34108 done
34109
34110
34111 if test "$ac_cv_func_vsnprintf" = "yes"; then
34112 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34113 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34114 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34115 echo $ECHO_N "(cached) $ECHO_C" >&6
34116 else
34117
34118 cat >conftest.$ac_ext <<_ACEOF
34119 /* confdefs.h. */
34120 _ACEOF
34121 cat confdefs.h >>conftest.$ac_ext
34122 cat >>conftest.$ac_ext <<_ACEOF
34123 /* end confdefs.h. */
34124
34125 #include <stdio.h>
34126 #include <stdarg.h>
34127 #ifdef __MSL__
34128 #if __MSL__ >= 0x6000
34129 namespace std {}
34130 using namespace std;
34131 #endif
34132 #endif
34133
34134 int
34135 main ()
34136 {
34137
34138 char *buf;
34139 va_list ap;
34140 vsnprintf(buf, 10u, "%s", ap);
34141
34142 ;
34143 return 0;
34144 }
34145 _ACEOF
34146 rm -f conftest.$ac_objext
34147 if { (ac_try="$ac_compile"
34148 case "(($ac_try" in
34149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34150 *) ac_try_echo=$ac_try;;
34151 esac
34152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34153 (eval "$ac_compile") 2>conftest.er1
34154 ac_status=$?
34155 grep -v '^ *+' conftest.er1 >conftest.err
34156 rm -f conftest.er1
34157 cat conftest.err >&5
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); } && {
34160 test -z "$ac_c_werror_flag" ||
34161 test ! -s conftest.err
34162 } && test -s conftest.$ac_objext; then
34163 wx_cv_func_vsnprintf_decl=yes
34164 else
34165 echo "$as_me: failed program was:" >&5
34166 sed 's/^/| /' conftest.$ac_ext >&5
34167
34168 wx_cv_func_vsnprintf_decl=no
34169
34170 fi
34171
34172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34173
34174
34175 fi
34176 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34177 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34178
34179 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34180 cat >>confdefs.h <<\_ACEOF
34181 #define HAVE_VSNPRINTF_DECL 1
34182 _ACEOF
34183
34184
34185 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34186 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34187 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34188 echo $ECHO_N "(cached) $ECHO_C" >&6
34189 else
34190
34191 cat >conftest.$ac_ext <<_ACEOF
34192 /* confdefs.h. */
34193 _ACEOF
34194 cat confdefs.h >>conftest.$ac_ext
34195 cat >>conftest.$ac_ext <<_ACEOF
34196 /* end confdefs.h. */
34197
34198 #include <stdio.h>
34199 #include <stdarg.h>
34200 #ifdef __MSL__
34201 #if __MSL__ >= 0x6000
34202 namespace std {}
34203 using namespace std;
34204 #endif
34205 #endif
34206
34207 int
34208 main ()
34209 {
34210
34211 char *buf;
34212 va_list ap;
34213 const char *fmt = "%s";
34214 vsnprintf(buf, 10u, fmt, ap);
34215
34216 ;
34217 return 0;
34218 }
34219 _ACEOF
34220 rm -f conftest.$ac_objext
34221 if { (ac_try="$ac_compile"
34222 case "(($ac_try" in
34223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34224 *) ac_try_echo=$ac_try;;
34225 esac
34226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34227 (eval "$ac_compile") 2>conftest.er1
34228 ac_status=$?
34229 grep -v '^ *+' conftest.er1 >conftest.err
34230 rm -f conftest.er1
34231 cat conftest.err >&5
34232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34233 (exit $ac_status); } && {
34234 test -z "$ac_c_werror_flag" ||
34235 test ! -s conftest.err
34236 } && test -s conftest.$ac_objext; then
34237 wx_cv_func_broken_vsnprintf_decl=no
34238 else
34239 echo "$as_me: failed program was:" >&5
34240 sed 's/^/| /' conftest.$ac_ext >&5
34241
34242 wx_cv_func_broken_vsnprintf_decl=yes
34243
34244 fi
34245
34246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34247
34248
34249 fi
34250 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34251 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34252
34253 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34254 cat >>confdefs.h <<\_ACEOF
34255 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34256 _ACEOF
34257
34258 fi
34259 fi
34260 fi
34261
34262 if test "$ac_cv_func_snprintf" = "yes"; then
34263 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34264 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34265 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34266 echo $ECHO_N "(cached) $ECHO_C" >&6
34267 else
34268
34269 cat >conftest.$ac_ext <<_ACEOF
34270 /* confdefs.h. */
34271 _ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275
34276 #include <stdio.h>
34277 #include <stdarg.h>
34278 #ifdef __MSL__
34279 #if __MSL__ >= 0x6000
34280 namespace std {}
34281 using namespace std;
34282 #endif
34283 #endif
34284
34285 int
34286 main ()
34287 {
34288
34289 char *buf;
34290 snprintf(buf, 10u, "%s", "wx");
34291
34292 ;
34293 return 0;
34294 }
34295 _ACEOF
34296 rm -f conftest.$ac_objext
34297 if { (ac_try="$ac_compile"
34298 case "(($ac_try" in
34299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34300 *) ac_try_echo=$ac_try;;
34301 esac
34302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34303 (eval "$ac_compile") 2>conftest.er1
34304 ac_status=$?
34305 grep -v '^ *+' conftest.er1 >conftest.err
34306 rm -f conftest.er1
34307 cat conftest.err >&5
34308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34309 (exit $ac_status); } && {
34310 test -z "$ac_c_werror_flag" ||
34311 test ! -s conftest.err
34312 } && test -s conftest.$ac_objext; then
34313 wx_cv_func_snprintf_decl=yes
34314 else
34315 echo "$as_me: failed program was:" >&5
34316 sed 's/^/| /' conftest.$ac_ext >&5
34317
34318 wx_cv_func_snprintf_decl=no
34319
34320 fi
34321
34322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34323
34324
34325 fi
34326 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34327 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34328
34329 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34330 cat >>confdefs.h <<\_ACEOF
34331 #define HAVE_SNPRINTF_DECL 1
34332 _ACEOF
34333
34334
34335 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34336 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34337 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34338 echo $ECHO_N "(cached) $ECHO_C" >&6
34339 else
34340
34341 cat >conftest.$ac_ext <<_ACEOF
34342 /* confdefs.h. */
34343 _ACEOF
34344 cat confdefs.h >>conftest.$ac_ext
34345 cat >>conftest.$ac_ext <<_ACEOF
34346 /* end confdefs.h. */
34347
34348 #include <stdio.h>
34349 #include <stdarg.h>
34350 #ifdef __MSL__
34351 #if __MSL__ >= 0x6000
34352 namespace std {}
34353 using namespace std;
34354 #endif
34355 #endif
34356
34357 int
34358 main ()
34359 {
34360
34361 char *buf;
34362 const char *fmt = "%s";
34363 snprintf(buf, 10u, fmt, "wx");
34364
34365 ;
34366 return 0;
34367 }
34368 _ACEOF
34369 rm -f conftest.$ac_objext
34370 if { (ac_try="$ac_compile"
34371 case "(($ac_try" in
34372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34373 *) ac_try_echo=$ac_try;;
34374 esac
34375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34376 (eval "$ac_compile") 2>conftest.er1
34377 ac_status=$?
34378 grep -v '^ *+' conftest.er1 >conftest.err
34379 rm -f conftest.er1
34380 cat conftest.err >&5
34381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34382 (exit $ac_status); } && {
34383 test -z "$ac_c_werror_flag" ||
34384 test ! -s conftest.err
34385 } && test -s conftest.$ac_objext; then
34386 wx_cv_func_broken_snprintf_decl=no
34387 else
34388 echo "$as_me: failed program was:" >&5
34389 sed 's/^/| /' conftest.$ac_ext >&5
34390
34391 wx_cv_func_broken_snprintf_decl=yes
34392
34393 fi
34394
34395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34396
34397
34398 fi
34399 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34400 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34401
34402 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34403 cat >>confdefs.h <<\_ACEOF
34404 #define HAVE_BROKEN_SNPRINTF_DECL 1
34405 _ACEOF
34406
34407 fi
34408 fi
34409
34410 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34411
34412 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34413 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34414 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34415 echo $ECHO_N "(cached) $ECHO_C" >&6
34416 else
34417
34418 if test "$cross_compiling" = yes; then
34419
34420 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34421 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34422 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34423 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34424 wx_cv_func_snprintf_pos_params=no
34425
34426
34427 else
34428 cat >conftest.$ac_ext <<_ACEOF
34429 /* confdefs.h. */
34430 _ACEOF
34431 cat confdefs.h >>conftest.$ac_ext
34432 cat >>conftest.$ac_ext <<_ACEOF
34433 /* end confdefs.h. */
34434
34435 #include <stdio.h>
34436
34437 int main (void)
34438 {
34439 char buffer[128];
34440 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34441 if (strcmp ("2 3 1", buffer) == 0)
34442 exit (0);
34443 exit (1);
34444 }
34445
34446 _ACEOF
34447 rm -f conftest$ac_exeext
34448 if { (ac_try="$ac_link"
34449 case "(($ac_try" in
34450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34451 *) ac_try_echo=$ac_try;;
34452 esac
34453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34454 (eval "$ac_link") 2>&5
34455 ac_status=$?
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34458 { (case "(($ac_try" in
34459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34460 *) ac_try_echo=$ac_try;;
34461 esac
34462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34463 (eval "$ac_try") 2>&5
34464 ac_status=$?
34465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34466 (exit $ac_status); }; }; then
34467 wx_cv_func_snprintf_pos_params=no
34468 else
34469 echo "$as_me: program exited with status $ac_status" >&5
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.$ac_ext >&5
34472
34473 ( exit $ac_status )
34474 wx_cv_func_snprintf_pos_params=yes
34475 fi
34476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34477 fi
34478
34479
34480
34481
34482 fi
34483 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34484 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34485
34486 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34487 cat >>confdefs.h <<\_ACEOF
34488 #define HAVE_UNIX98_PRINTF 1
34489 _ACEOF
34490
34491 fi
34492 fi
34493 fi
34494
34495 if test "$wxUSE_UNICODE" = yes; then
34496
34497
34498 for ac_func in swprintf
34499 do
34500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34501 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34503 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34504 echo $ECHO_N "(cached) $ECHO_C" >&6
34505 else
34506 cat >conftest.$ac_ext <<_ACEOF
34507 /* confdefs.h. */
34508 _ACEOF
34509 cat confdefs.h >>conftest.$ac_ext
34510 cat >>conftest.$ac_ext <<_ACEOF
34511 /* end confdefs.h. */
34512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34514 #define $ac_func innocuous_$ac_func
34515
34516 /* System header to define __stub macros and hopefully few prototypes,
34517 which can conflict with char $ac_func (); below.
34518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34519 <limits.h> exists even on freestanding compilers. */
34520
34521 #ifdef __STDC__
34522 # include <limits.h>
34523 #else
34524 # include <assert.h>
34525 #endif
34526
34527 #undef $ac_func
34528
34529 /* Override any GCC internal prototype to avoid an error.
34530 Use char because int might match the return type of a GCC
34531 builtin and then its argument prototype would still apply. */
34532 #ifdef __cplusplus
34533 extern "C"
34534 #endif
34535 char $ac_func ();
34536 /* The GNU C library defines this for functions which it implements
34537 to always fail with ENOSYS. Some functions are actually named
34538 something starting with __ and the normal name is an alias. */
34539 #if defined __stub_$ac_func || defined __stub___$ac_func
34540 choke me
34541 #endif
34542
34543 int
34544 main ()
34545 {
34546 return $ac_func ();
34547 ;
34548 return 0;
34549 }
34550 _ACEOF
34551 rm -f conftest.$ac_objext conftest$ac_exeext
34552 if { (ac_try="$ac_link"
34553 case "(($ac_try" in
34554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34555 *) ac_try_echo=$ac_try;;
34556 esac
34557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34558 (eval "$ac_link") 2>conftest.er1
34559 ac_status=$?
34560 grep -v '^ *+' conftest.er1 >conftest.err
34561 rm -f conftest.er1
34562 cat conftest.err >&5
34563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34564 (exit $ac_status); } && {
34565 test -z "$ac_c_werror_flag" ||
34566 test ! -s conftest.err
34567 } && test -s conftest$ac_exeext &&
34568 $as_test_x conftest$ac_exeext; then
34569 eval "$as_ac_var=yes"
34570 else
34571 echo "$as_me: failed program was:" >&5
34572 sed 's/^/| /' conftest.$ac_ext >&5
34573
34574 eval "$as_ac_var=no"
34575 fi
34576
34577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34578 conftest$ac_exeext conftest.$ac_ext
34579 fi
34580 ac_res=`eval echo '${'$as_ac_var'}'`
34581 { echo "$as_me:$LINENO: result: $ac_res" >&5
34582 echo "${ECHO_T}$ac_res" >&6; }
34583 if test `eval echo '${'$as_ac_var'}'` = yes; then
34584 cat >>confdefs.h <<_ACEOF
34585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34586 _ACEOF
34587
34588 fi
34589 done
34590
34591
34592 if test "$ac_cv_func_swprintf" = "yes"; then
34593 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34594 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34595 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34596 echo $ECHO_N "(cached) $ECHO_C" >&6
34597 else
34598
34599 cat >conftest.$ac_ext <<_ACEOF
34600 /* confdefs.h. */
34601 _ACEOF
34602 cat confdefs.h >>conftest.$ac_ext
34603 cat >>conftest.$ac_ext <<_ACEOF
34604 /* end confdefs.h. */
34605
34606 #include <stdio.h>
34607 #include <stdarg.h>
34608 #include <wchar.h>
34609
34610 int
34611 main ()
34612 {
34613
34614 wchar_t *buf;
34615 const wchar_t *fmt = L"test";
34616 swprintf(buf, 10u, fmt);
34617
34618 ;
34619 return 0;
34620 }
34621 _ACEOF
34622 rm -f conftest.$ac_objext
34623 if { (ac_try="$ac_compile"
34624 case "(($ac_try" in
34625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34626 *) ac_try_echo=$ac_try;;
34627 esac
34628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34629 (eval "$ac_compile") 2>conftest.er1
34630 ac_status=$?
34631 grep -v '^ *+' conftest.er1 >conftest.err
34632 rm -f conftest.er1
34633 cat conftest.err >&5
34634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34635 (exit $ac_status); } && {
34636 test -z "$ac_c_werror_flag" ||
34637 test ! -s conftest.err
34638 } && test -s conftest.$ac_objext; then
34639 wx_cv_func_broken_swprintf_decl=no
34640 else
34641 echo "$as_me: failed program was:" >&5
34642 sed 's/^/| /' conftest.$ac_ext >&5
34643
34644 wx_cv_func_broken_swprintf_decl=yes
34645
34646 fi
34647
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649
34650
34651 fi
34652 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34653 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34654
34655 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34656 cat >>confdefs.h <<\_ACEOF
34657 #define HAVE_BROKEN_SWPRINTF_DECL 1
34658 _ACEOF
34659
34660 fi
34661 fi
34662
34663 wchar_headers="#include <stdio.h>
34664 #include <wchar.h>"
34665 case "${host}" in
34666 *-*-solaris2* )
34667 { echo "$as_me:$LINENO: checking for widec.h" >&5
34668 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34669 if test "${ac_cv_header_widec_h+set}" = set; then
34670 echo $ECHO_N "(cached) $ECHO_C" >&6
34671 else
34672 cat >conftest.$ac_ext <<_ACEOF
34673 /* confdefs.h. */
34674 _ACEOF
34675 cat confdefs.h >>conftest.$ac_ext
34676 cat >>conftest.$ac_ext <<_ACEOF
34677 /* end confdefs.h. */
34678 $ac_includes_default
34679
34680 #include <widec.h>
34681 _ACEOF
34682 rm -f conftest.$ac_objext
34683 if { (ac_try="$ac_compile"
34684 case "(($ac_try" in
34685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34686 *) ac_try_echo=$ac_try;;
34687 esac
34688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34689 (eval "$ac_compile") 2>conftest.er1
34690 ac_status=$?
34691 grep -v '^ *+' conftest.er1 >conftest.err
34692 rm -f conftest.er1
34693 cat conftest.err >&5
34694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34695 (exit $ac_status); } && {
34696 test -z "$ac_c_werror_flag" ||
34697 test ! -s conftest.err
34698 } && test -s conftest.$ac_objext; then
34699 ac_cv_header_widec_h=yes
34700 else
34701 echo "$as_me: failed program was:" >&5
34702 sed 's/^/| /' conftest.$ac_ext >&5
34703
34704 ac_cv_header_widec_h=no
34705 fi
34706
34707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708 fi
34709 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34710 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34711
34712
34713 if test "$ac_cv_header_widec_h" = "yes"; then
34714 wchar_headers="$wchar_headers
34715 #include <widec.h>"
34716 fi
34717 esac
34718
34719
34720 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34721 do
34722 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34723 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34724 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 else
34727
34728 cat >conftest.$ac_ext <<_ACEOF
34729
34730 /* confdefs.h. */
34731 _ACEOF
34732 cat confdefs.h >>conftest.$ac_ext
34733 cat >>conftest.$ac_ext <<_ACEOF
34734 /* end confdefs.h. */
34735
34736 $wchar_headers
34737 $ac_includes_default
34738
34739 int
34740 main ()
34741 {
34742
34743 #ifndef $wx_func
34744 &$wx_func;
34745 #endif
34746
34747
34748 ;
34749 return 0;
34750 }
34751
34752 _ACEOF
34753 rm -f conftest.$ac_objext conftest$ac_exeext
34754 if { (ac_try="$ac_link"
34755 case "(($ac_try" in
34756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34757 *) ac_try_echo=$ac_try;;
34758 esac
34759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34760 (eval "$ac_link") 2>conftest.er1
34761 ac_status=$?
34762 grep -v '^ *+' conftest.er1 >conftest.err
34763 rm -f conftest.er1
34764 cat conftest.err >&5
34765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34766 (exit $ac_status); } && {
34767 test -z "$ac_c_werror_flag" ||
34768 test ! -s conftest.err
34769 } && test -s conftest$ac_exeext &&
34770 $as_test_x conftest$ac_exeext; then
34771 eval wx_cv_func_$wx_func=yes
34772 else
34773 echo "$as_me: failed program was:" >&5
34774 sed 's/^/| /' conftest.$ac_ext >&5
34775
34776 eval wx_cv_func_$wx_func=no
34777 fi
34778
34779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34780 conftest$ac_exeext conftest.$ac_ext
34781
34782 fi
34783 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34784 { echo "$as_me:$LINENO: result: $ac_res" >&5
34785 echo "${ECHO_T}$ac_res" >&6; }
34786
34787 if eval test \$wx_cv_func_$wx_func = yes
34788 then
34789 cat >>confdefs.h <<_ACEOF
34790 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34791 _ACEOF
34792
34793
34794 else
34795 :
34796
34797 fi
34798 done
34799
34800
34801 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34802 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34803 cat >conftest.$ac_ext <<_ACEOF
34804 /* confdefs.h. */
34805 _ACEOF
34806 cat confdefs.h >>conftest.$ac_ext
34807 cat >>conftest.$ac_ext <<_ACEOF
34808 /* end confdefs.h. */
34809 #include <wchar.h>
34810 int
34811 main ()
34812 {
34813 &_vsnwprintf;
34814 ;
34815 return 0;
34816 }
34817 _ACEOF
34818 rm -f conftest.$ac_objext
34819 if { (ac_try="$ac_compile"
34820 case "(($ac_try" in
34821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34822 *) ac_try_echo=$ac_try;;
34823 esac
34824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34825 (eval "$ac_compile") 2>conftest.er1
34826 ac_status=$?
34827 grep -v '^ *+' conftest.er1 >conftest.err
34828 rm -f conftest.er1
34829 cat conftest.err >&5
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); } && {
34832 test -z "$ac_c_werror_flag" ||
34833 test ! -s conftest.err
34834 } && test -s conftest.$ac_objext; then
34835 { echo "$as_me:$LINENO: result: yes" >&5
34836 echo "${ECHO_T}yes" >&6; }
34837 cat >>confdefs.h <<\_ACEOF
34838 #define HAVE__VSNWPRINTF 1
34839 _ACEOF
34840
34841 else
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34844
34845 { echo "$as_me:$LINENO: result: no" >&5
34846 echo "${ECHO_T}no" >&6; }
34847 fi
34848
34849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34850 fi
34851
34852 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34853
34854 for wx_func in fnmatch
34855 do
34856 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34857 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34858 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34859 echo $ECHO_N "(cached) $ECHO_C" >&6
34860 else
34861
34862 cat >conftest.$ac_ext <<_ACEOF
34863
34864 /* confdefs.h. */
34865 _ACEOF
34866 cat confdefs.h >>conftest.$ac_ext
34867 cat >>conftest.$ac_ext <<_ACEOF
34868 /* end confdefs.h. */
34869
34870 #include <fnmatch.h>
34871 $ac_includes_default
34872
34873 int
34874 main ()
34875 {
34876
34877 #ifndef $wx_func
34878 &$wx_func;
34879 #endif
34880
34881
34882 ;
34883 return 0;
34884 }
34885
34886 _ACEOF
34887 rm -f conftest.$ac_objext conftest$ac_exeext
34888 if { (ac_try="$ac_link"
34889 case "(($ac_try" in
34890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34891 *) ac_try_echo=$ac_try;;
34892 esac
34893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34894 (eval "$ac_link") 2>conftest.er1
34895 ac_status=$?
34896 grep -v '^ *+' conftest.er1 >conftest.err
34897 rm -f conftest.er1
34898 cat conftest.err >&5
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); } && {
34901 test -z "$ac_c_werror_flag" ||
34902 test ! -s conftest.err
34903 } && test -s conftest$ac_exeext &&
34904 $as_test_x conftest$ac_exeext; then
34905 eval wx_cv_func_$wx_func=yes
34906 else
34907 echo "$as_me: failed program was:" >&5
34908 sed 's/^/| /' conftest.$ac_ext >&5
34909
34910 eval wx_cv_func_$wx_func=no
34911 fi
34912
34913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34914 conftest$ac_exeext conftest.$ac_ext
34915
34916 fi
34917 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34918 { echo "$as_me:$LINENO: result: $ac_res" >&5
34919 echo "${ECHO_T}$ac_res" >&6; }
34920
34921 if eval test \$wx_cv_func_$wx_func = yes
34922 then
34923 cat >>confdefs.h <<_ACEOF
34924 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34925 _ACEOF
34926
34927
34928 else
34929 :
34930
34931 fi
34932 done
34933
34934 fi
34935
34936 if test "$wxUSE_FILE" = "yes"; then
34937
34938 for wx_func in fsync
34939 do
34940 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34941 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34942 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34943 echo $ECHO_N "(cached) $ECHO_C" >&6
34944 else
34945
34946 cat >conftest.$ac_ext <<_ACEOF
34947
34948 /* confdefs.h. */
34949 _ACEOF
34950 cat confdefs.h >>conftest.$ac_ext
34951 cat >>conftest.$ac_ext <<_ACEOF
34952 /* end confdefs.h. */
34953
34954
34955 $ac_includes_default
34956
34957 int
34958 main ()
34959 {
34960
34961 #ifndef $wx_func
34962 &$wx_func;
34963 #endif
34964
34965
34966 ;
34967 return 0;
34968 }
34969
34970 _ACEOF
34971 rm -f conftest.$ac_objext conftest$ac_exeext
34972 if { (ac_try="$ac_link"
34973 case "(($ac_try" in
34974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34975 *) ac_try_echo=$ac_try;;
34976 esac
34977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34978 (eval "$ac_link") 2>conftest.er1
34979 ac_status=$?
34980 grep -v '^ *+' conftest.er1 >conftest.err
34981 rm -f conftest.er1
34982 cat conftest.err >&5
34983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984 (exit $ac_status); } && {
34985 test -z "$ac_c_werror_flag" ||
34986 test ! -s conftest.err
34987 } && test -s conftest$ac_exeext &&
34988 $as_test_x conftest$ac_exeext; then
34989 eval wx_cv_func_$wx_func=yes
34990 else
34991 echo "$as_me: failed program was:" >&5
34992 sed 's/^/| /' conftest.$ac_ext >&5
34993
34994 eval wx_cv_func_$wx_func=no
34995 fi
34996
34997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34998 conftest$ac_exeext conftest.$ac_ext
34999
35000 fi
35001 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35002 { echo "$as_me:$LINENO: result: $ac_res" >&5
35003 echo "${ECHO_T}$ac_res" >&6; }
35004
35005 if eval test \$wx_cv_func_$wx_func = yes
35006 then
35007 cat >>confdefs.h <<_ACEOF
35008 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35009 _ACEOF
35010
35011
35012 else
35013 :
35014
35015 fi
35016 done
35017
35018 fi
35019
35020
35021 for wx_func in round
35022 do
35023 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35024 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35025 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35026 echo $ECHO_N "(cached) $ECHO_C" >&6
35027 else
35028
35029 cat >conftest.$ac_ext <<_ACEOF
35030
35031 /* confdefs.h. */
35032 _ACEOF
35033 cat confdefs.h >>conftest.$ac_ext
35034 cat >>conftest.$ac_ext <<_ACEOF
35035 /* end confdefs.h. */
35036
35037 #include <math.h>
35038 $ac_includes_default
35039
35040 int
35041 main ()
35042 {
35043
35044 #ifndef $wx_func
35045 &$wx_func;
35046 #endif
35047
35048
35049 ;
35050 return 0;
35051 }
35052
35053 _ACEOF
35054 rm -f conftest.$ac_objext conftest$ac_exeext
35055 if { (ac_try="$ac_link"
35056 case "(($ac_try" in
35057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35058 *) ac_try_echo=$ac_try;;
35059 esac
35060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35061 (eval "$ac_link") 2>conftest.er1
35062 ac_status=$?
35063 grep -v '^ *+' conftest.er1 >conftest.err
35064 rm -f conftest.er1
35065 cat conftest.err >&5
35066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35067 (exit $ac_status); } && {
35068 test -z "$ac_c_werror_flag" ||
35069 test ! -s conftest.err
35070 } && test -s conftest$ac_exeext &&
35071 $as_test_x conftest$ac_exeext; then
35072 eval wx_cv_func_$wx_func=yes
35073 else
35074 echo "$as_me: failed program was:" >&5
35075 sed 's/^/| /' conftest.$ac_ext >&5
35076
35077 eval wx_cv_func_$wx_func=no
35078 fi
35079
35080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35081 conftest$ac_exeext conftest.$ac_ext
35082
35083 fi
35084 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35085 { echo "$as_me:$LINENO: result: $ac_res" >&5
35086 echo "${ECHO_T}$ac_res" >&6; }
35087
35088 if eval test \$wx_cv_func_$wx_func = yes
35089 then
35090 cat >>confdefs.h <<_ACEOF
35091 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35092 _ACEOF
35093
35094
35095 else
35096 :
35097
35098 fi
35099 done
35100
35101
35102 if test "$TOOLKIT" != "MSW"; then
35103
35104
35105
35106
35107
35108 # Check whether --with-libiconv-prefix was given.
35109 if test "${with_libiconv_prefix+set}" = set; then
35110 withval=$with_libiconv_prefix;
35111 for dir in `echo "$withval" | tr : ' '`; do
35112 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35113 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35114 done
35115
35116 fi
35117
35118
35119 { echo "$as_me:$LINENO: checking for iconv" >&5
35120 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35121 if test "${am_cv_func_iconv+set}" = set; then
35122 echo $ECHO_N "(cached) $ECHO_C" >&6
35123 else
35124
35125 am_cv_func_iconv="no, consider installing GNU libiconv"
35126 am_cv_lib_iconv=no
35127 cat >conftest.$ac_ext <<_ACEOF
35128 /* confdefs.h. */
35129 _ACEOF
35130 cat confdefs.h >>conftest.$ac_ext
35131 cat >>conftest.$ac_ext <<_ACEOF
35132 /* end confdefs.h. */
35133 #include <stdlib.h>
35134 #include <iconv.h>
35135 int
35136 main ()
35137 {
35138 iconv_t cd = iconv_open("","");
35139 iconv(cd,NULL,NULL,NULL,NULL);
35140 iconv_close(cd);
35141 ;
35142 return 0;
35143 }
35144 _ACEOF
35145 rm -f conftest.$ac_objext conftest$ac_exeext
35146 if { (ac_try="$ac_link"
35147 case "(($ac_try" in
35148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35149 *) ac_try_echo=$ac_try;;
35150 esac
35151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35152 (eval "$ac_link") 2>conftest.er1
35153 ac_status=$?
35154 grep -v '^ *+' conftest.er1 >conftest.err
35155 rm -f conftest.er1
35156 cat conftest.err >&5
35157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35158 (exit $ac_status); } && {
35159 test -z "$ac_c_werror_flag" ||
35160 test ! -s conftest.err
35161 } && test -s conftest$ac_exeext &&
35162 $as_test_x conftest$ac_exeext; then
35163 am_cv_func_iconv=yes
35164 else
35165 echo "$as_me: failed program was:" >&5
35166 sed 's/^/| /' conftest.$ac_ext >&5
35167
35168
35169 fi
35170
35171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35172 conftest$ac_exeext conftest.$ac_ext
35173 if test "$am_cv_func_iconv" != yes; then
35174 am_save_LIBS="$LIBS"
35175 LIBS="$LIBS -liconv"
35176 cat >conftest.$ac_ext <<_ACEOF
35177 /* confdefs.h. */
35178 _ACEOF
35179 cat confdefs.h >>conftest.$ac_ext
35180 cat >>conftest.$ac_ext <<_ACEOF
35181 /* end confdefs.h. */
35182 #include <stdlib.h>
35183 #include <iconv.h>
35184 int
35185 main ()
35186 {
35187 iconv_t cd = iconv_open("","");
35188 iconv(cd,NULL,NULL,NULL,NULL);
35189 iconv_close(cd);
35190 ;
35191 return 0;
35192 }
35193 _ACEOF
35194 rm -f conftest.$ac_objext conftest$ac_exeext
35195 if { (ac_try="$ac_link"
35196 case "(($ac_try" in
35197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35198 *) ac_try_echo=$ac_try;;
35199 esac
35200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35201 (eval "$ac_link") 2>conftest.er1
35202 ac_status=$?
35203 grep -v '^ *+' conftest.er1 >conftest.err
35204 rm -f conftest.er1
35205 cat conftest.err >&5
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); } && {
35208 test -z "$ac_c_werror_flag" ||
35209 test ! -s conftest.err
35210 } && test -s conftest$ac_exeext &&
35211 $as_test_x conftest$ac_exeext; then
35212 am_cv_lib_iconv=yes
35213 am_cv_func_iconv=yes
35214 else
35215 echo "$as_me: failed program was:" >&5
35216 sed 's/^/| /' conftest.$ac_ext >&5
35217
35218
35219 fi
35220
35221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35222 conftest$ac_exeext conftest.$ac_ext
35223 LIBS="$am_save_LIBS"
35224 fi
35225
35226 fi
35227 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35228 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35229 if test "$am_cv_func_iconv" = yes; then
35230
35231 cat >>confdefs.h <<\_ACEOF
35232 #define HAVE_ICONV 1
35233 _ACEOF
35234
35235 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35236 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35237 if test "${wx_cv_func_iconv_const+set}" = set; then
35238 echo $ECHO_N "(cached) $ECHO_C" >&6
35239 else
35240 cat >conftest.$ac_ext <<_ACEOF
35241 /* confdefs.h. */
35242 _ACEOF
35243 cat confdefs.h >>conftest.$ac_ext
35244 cat >>conftest.$ac_ext <<_ACEOF
35245 /* end confdefs.h. */
35246
35247 #include <stdlib.h>
35248 #include <iconv.h>
35249 extern
35250 #ifdef __cplusplus
35251 "C"
35252 #endif
35253 #if defined(__STDC__) || defined(__cplusplus)
35254 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35255 #else
35256 size_t iconv();
35257 #endif
35258
35259 int
35260 main ()
35261 {
35262
35263 ;
35264 return 0;
35265 }
35266 _ACEOF
35267 rm -f conftest.$ac_objext
35268 if { (ac_try="$ac_compile"
35269 case "(($ac_try" in
35270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35271 *) ac_try_echo=$ac_try;;
35272 esac
35273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35274 (eval "$ac_compile") 2>conftest.er1
35275 ac_status=$?
35276 grep -v '^ *+' conftest.er1 >conftest.err
35277 rm -f conftest.er1
35278 cat conftest.err >&5
35279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35280 (exit $ac_status); } && {
35281 test -z "$ac_c_werror_flag" ||
35282 test ! -s conftest.err
35283 } && test -s conftest.$ac_objext; then
35284 wx_cv_func_iconv_const="no"
35285 else
35286 echo "$as_me: failed program was:" >&5
35287 sed 's/^/| /' conftest.$ac_ext >&5
35288
35289 wx_cv_func_iconv_const="yes"
35290
35291 fi
35292
35293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35294
35295 fi
35296 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35297 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35298
35299 iconv_const=
35300 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35301 iconv_const="const"
35302 fi
35303
35304
35305 cat >>confdefs.h <<_ACEOF
35306 #define ICONV_CONST $iconv_const
35307 _ACEOF
35308
35309 fi
35310 LIBICONV=
35311 if test "$am_cv_lib_iconv" = yes; then
35312 LIBICONV="-liconv"
35313 fi
35314
35315
35316 LIBS="$LIBICONV $LIBS"
35317
35318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35319
35320 for ac_func in sigaction
35321 do
35322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35323 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35325 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35326 echo $ECHO_N "(cached) $ECHO_C" >&6
35327 else
35328 cat >conftest.$ac_ext <<_ACEOF
35329 /* confdefs.h. */
35330 _ACEOF
35331 cat confdefs.h >>conftest.$ac_ext
35332 cat >>conftest.$ac_ext <<_ACEOF
35333 /* end confdefs.h. */
35334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35336 #define $ac_func innocuous_$ac_func
35337
35338 /* System header to define __stub macros and hopefully few prototypes,
35339 which can conflict with char $ac_func (); below.
35340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35341 <limits.h> exists even on freestanding compilers. */
35342
35343 #ifdef __STDC__
35344 # include <limits.h>
35345 #else
35346 # include <assert.h>
35347 #endif
35348
35349 #undef $ac_func
35350
35351 /* Override any GCC internal prototype to avoid an error.
35352 Use char because int might match the return type of a GCC
35353 builtin and then its argument prototype would still apply. */
35354 #ifdef __cplusplus
35355 extern "C"
35356 #endif
35357 char $ac_func ();
35358 /* The GNU C library defines this for functions which it implements
35359 to always fail with ENOSYS. Some functions are actually named
35360 something starting with __ and the normal name is an alias. */
35361 #if defined __stub_$ac_func || defined __stub___$ac_func
35362 choke me
35363 #endif
35364
35365 int
35366 main ()
35367 {
35368 return $ac_func ();
35369 ;
35370 return 0;
35371 }
35372 _ACEOF
35373 rm -f conftest.$ac_objext conftest$ac_exeext
35374 if { (ac_try="$ac_link"
35375 case "(($ac_try" in
35376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35377 *) ac_try_echo=$ac_try;;
35378 esac
35379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35380 (eval "$ac_link") 2>conftest.er1
35381 ac_status=$?
35382 grep -v '^ *+' conftest.er1 >conftest.err
35383 rm -f conftest.er1
35384 cat conftest.err >&5
35385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386 (exit $ac_status); } && {
35387 test -z "$ac_c_werror_flag" ||
35388 test ! -s conftest.err
35389 } && test -s conftest$ac_exeext &&
35390 $as_test_x conftest$ac_exeext; then
35391 eval "$as_ac_var=yes"
35392 else
35393 echo "$as_me: failed program was:" >&5
35394 sed 's/^/| /' conftest.$ac_ext >&5
35395
35396 eval "$as_ac_var=no"
35397 fi
35398
35399 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35400 conftest$ac_exeext conftest.$ac_ext
35401 fi
35402 ac_res=`eval echo '${'$as_ac_var'}'`
35403 { echo "$as_me:$LINENO: result: $ac_res" >&5
35404 echo "${ECHO_T}$ac_res" >&6; }
35405 if test `eval echo '${'$as_ac_var'}'` = yes; then
35406 cat >>confdefs.h <<_ACEOF
35407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35408 _ACEOF
35409
35410 fi
35411 done
35412
35413
35414 if test "$ac_cv_func_sigaction" = "no"; then
35415 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35416 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35417 wxUSE_ON_FATAL_EXCEPTION=no
35418 fi
35419
35420 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35421 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35422 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35423 if test "${wx_cv_type_sa_handler+set}" = set; then
35424 echo $ECHO_N "(cached) $ECHO_C" >&6
35425 else
35426
35427 ac_ext=cpp
35428 ac_cpp='$CXXCPP $CPPFLAGS'
35429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432
35433 cat >conftest.$ac_ext <<_ACEOF
35434 /* confdefs.h. */
35435 _ACEOF
35436 cat confdefs.h >>conftest.$ac_ext
35437 cat >>conftest.$ac_ext <<_ACEOF
35438 /* end confdefs.h. */
35439 #include <signal.h>
35440 int
35441 main ()
35442 {
35443
35444 extern void testSigHandler(int);
35445
35446 struct sigaction sa;
35447 sa.sa_handler = testSigHandler;
35448
35449 ;
35450 return 0;
35451 }
35452 _ACEOF
35453 rm -f conftest.$ac_objext
35454 if { (ac_try="$ac_compile"
35455 case "(($ac_try" in
35456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35457 *) ac_try_echo=$ac_try;;
35458 esac
35459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35460 (eval "$ac_compile") 2>conftest.er1
35461 ac_status=$?
35462 grep -v '^ *+' conftest.er1 >conftest.err
35463 rm -f conftest.er1
35464 cat conftest.err >&5
35465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35466 (exit $ac_status); } && {
35467 test -z "$ac_cxx_werror_flag" ||
35468 test ! -s conftest.err
35469 } && test -s conftest.$ac_objext; then
35470
35471 wx_cv_type_sa_handler=int
35472
35473 else
35474 echo "$as_me: failed program was:" >&5
35475 sed 's/^/| /' conftest.$ac_ext >&5
35476
35477
35478 wx_cv_type_sa_handler=void
35479
35480 fi
35481
35482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35483 ac_ext=c
35484 ac_cpp='$CPP $CPPFLAGS'
35485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35488
35489
35490 fi
35491 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35492 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35493
35494 cat >>confdefs.h <<_ACEOF
35495 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35496 _ACEOF
35497
35498 fi
35499 fi
35500
35501 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35502 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35503 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35504 if test "${wx_cv_func_backtrace+set}" = set; then
35505 echo $ECHO_N "(cached) $ECHO_C" >&6
35506 else
35507
35508 ac_ext=cpp
35509 ac_cpp='$CXXCPP $CPPFLAGS'
35510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35513
35514 cat >conftest.$ac_ext <<_ACEOF
35515 /* confdefs.h. */
35516 _ACEOF
35517 cat confdefs.h >>conftest.$ac_ext
35518 cat >>conftest.$ac_ext <<_ACEOF
35519 /* end confdefs.h. */
35520 #include <execinfo.h>
35521 int
35522 main ()
35523 {
35524
35525 void *trace[1];
35526 char **messages;
35527
35528 backtrace(trace, 1);
35529 messages = backtrace_symbols(trace, 1);
35530
35531 ;
35532 return 0;
35533 }
35534 _ACEOF
35535 rm -f conftest.$ac_objext
35536 if { (ac_try="$ac_compile"
35537 case "(($ac_try" in
35538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35539 *) ac_try_echo=$ac_try;;
35540 esac
35541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35542 (eval "$ac_compile") 2>conftest.er1
35543 ac_status=$?
35544 grep -v '^ *+' conftest.er1 >conftest.err
35545 rm -f conftest.er1
35546 cat conftest.err >&5
35547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35548 (exit $ac_status); } && {
35549 test -z "$ac_cxx_werror_flag" ||
35550 test ! -s conftest.err
35551 } && test -s conftest.$ac_objext; then
35552 wx_cv_func_backtrace=yes
35553 else
35554 echo "$as_me: failed program was:" >&5
35555 sed 's/^/| /' conftest.$ac_ext >&5
35556
35557 wx_cv_func_backtrace=no
35558
35559 fi
35560
35561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35562 ac_ext=c
35563 ac_cpp='$CPP $CPPFLAGS'
35564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35567
35568
35569
35570 fi
35571 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35572 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35573
35574
35575 if test "$wx_cv_func_backtrace" = "no"; then
35576 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35577 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35578 wxUSE_STACKWALKER=no
35579 else
35580 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35581 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35582 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585
35586 ac_ext=cpp
35587 ac_cpp='$CXXCPP $CPPFLAGS'
35588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35591
35592 cat >conftest.$ac_ext <<_ACEOF
35593 /* confdefs.h. */
35594 _ACEOF
35595 cat confdefs.h >>conftest.$ac_ext
35596 cat >>conftest.$ac_ext <<_ACEOF
35597 /* end confdefs.h. */
35598 #include <cxxabi.h>
35599 int
35600 main ()
35601 {
35602
35603 int rc;
35604 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35605
35606 ;
35607 return 0;
35608 }
35609 _ACEOF
35610 rm -f conftest.$ac_objext conftest$ac_exeext
35611 if { (ac_try="$ac_link"
35612 case "(($ac_try" in
35613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35614 *) ac_try_echo=$ac_try;;
35615 esac
35616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35617 (eval "$ac_link") 2>conftest.er1
35618 ac_status=$?
35619 grep -v '^ *+' conftest.er1 >conftest.err
35620 rm -f conftest.er1
35621 cat conftest.err >&5
35622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35623 (exit $ac_status); } && {
35624 test -z "$ac_cxx_werror_flag" ||
35625 test ! -s conftest.err
35626 } && test -s conftest$ac_exeext &&
35627 $as_test_x conftest$ac_exeext; then
35628 wx_cv_func_cxa_demangle=yes
35629 else
35630 echo "$as_me: failed program was:" >&5
35631 sed 's/^/| /' conftest.$ac_ext >&5
35632
35633 wx_cv_func_cxa_demangle=no
35634
35635 fi
35636
35637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35638 conftest$ac_exeext conftest.$ac_ext
35639 ac_ext=c
35640 ac_cpp='$CPP $CPPFLAGS'
35641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35644
35645
35646
35647 fi
35648 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35649 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35650
35651 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35652 cat >>confdefs.h <<\_ACEOF
35653 #define HAVE_CXA_DEMANGLE 1
35654 _ACEOF
35655
35656 fi
35657 fi
35658 fi
35659
35660 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35661 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35662 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35663 wxUSE_STACKWALKER=no
35664 fi
35665
35666
35667
35668
35669 for ac_func in mkstemp mktemp
35670 do
35671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35672 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35674 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35675 echo $ECHO_N "(cached) $ECHO_C" >&6
35676 else
35677 cat >conftest.$ac_ext <<_ACEOF
35678 /* confdefs.h. */
35679 _ACEOF
35680 cat confdefs.h >>conftest.$ac_ext
35681 cat >>conftest.$ac_ext <<_ACEOF
35682 /* end confdefs.h. */
35683 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35685 #define $ac_func innocuous_$ac_func
35686
35687 /* System header to define __stub macros and hopefully few prototypes,
35688 which can conflict with char $ac_func (); below.
35689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35690 <limits.h> exists even on freestanding compilers. */
35691
35692 #ifdef __STDC__
35693 # include <limits.h>
35694 #else
35695 # include <assert.h>
35696 #endif
35697
35698 #undef $ac_func
35699
35700 /* Override any GCC internal prototype to avoid an error.
35701 Use char because int might match the return type of a GCC
35702 builtin and then its argument prototype would still apply. */
35703 #ifdef __cplusplus
35704 extern "C"
35705 #endif
35706 char $ac_func ();
35707 /* The GNU C library defines this for functions which it implements
35708 to always fail with ENOSYS. Some functions are actually named
35709 something starting with __ and the normal name is an alias. */
35710 #if defined __stub_$ac_func || defined __stub___$ac_func
35711 choke me
35712 #endif
35713
35714 int
35715 main ()
35716 {
35717 return $ac_func ();
35718 ;
35719 return 0;
35720 }
35721 _ACEOF
35722 rm -f conftest.$ac_objext conftest$ac_exeext
35723 if { (ac_try="$ac_link"
35724 case "(($ac_try" in
35725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35726 *) ac_try_echo=$ac_try;;
35727 esac
35728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35729 (eval "$ac_link") 2>conftest.er1
35730 ac_status=$?
35731 grep -v '^ *+' conftest.er1 >conftest.err
35732 rm -f conftest.er1
35733 cat conftest.err >&5
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); } && {
35736 test -z "$ac_c_werror_flag" ||
35737 test ! -s conftest.err
35738 } && test -s conftest$ac_exeext &&
35739 $as_test_x conftest$ac_exeext; then
35740 eval "$as_ac_var=yes"
35741 else
35742 echo "$as_me: failed program was:" >&5
35743 sed 's/^/| /' conftest.$ac_ext >&5
35744
35745 eval "$as_ac_var=no"
35746 fi
35747
35748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35749 conftest$ac_exeext conftest.$ac_ext
35750 fi
35751 ac_res=`eval echo '${'$as_ac_var'}'`
35752 { echo "$as_me:$LINENO: result: $ac_res" >&5
35753 echo "${ECHO_T}$ac_res" >&6; }
35754 if test `eval echo '${'$as_ac_var'}'` = yes; then
35755 cat >>confdefs.h <<_ACEOF
35756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35757 _ACEOF
35758 break
35759 fi
35760 done
35761
35762
35763 { echo "$as_me:$LINENO: checking for statfs" >&5
35764 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35765 if test "${wx_cv_func_statfs+set}" = set; then
35766 echo $ECHO_N "(cached) $ECHO_C" >&6
35767 else
35768 cat >conftest.$ac_ext <<_ACEOF
35769 /* confdefs.h. */
35770 _ACEOF
35771 cat confdefs.h >>conftest.$ac_ext
35772 cat >>conftest.$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774
35775 #if defined(__BSD__)
35776 #include <sys/param.h>
35777 #include <sys/mount.h>
35778 #else
35779 #include <sys/vfs.h>
35780 #endif
35781
35782 int
35783 main ()
35784 {
35785
35786 long l;
35787 struct statfs fs;
35788 statfs("/", &fs);
35789 l = fs.f_bsize;
35790 l += fs.f_blocks;
35791 l += fs.f_bavail;
35792
35793 ;
35794 return 0;
35795 }
35796 _ACEOF
35797 rm -f conftest.$ac_objext
35798 if { (ac_try="$ac_compile"
35799 case "(($ac_try" in
35800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35801 *) ac_try_echo=$ac_try;;
35802 esac
35803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35804 (eval "$ac_compile") 2>conftest.er1
35805 ac_status=$?
35806 grep -v '^ *+' conftest.er1 >conftest.err
35807 rm -f conftest.er1
35808 cat conftest.err >&5
35809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35810 (exit $ac_status); } && {
35811 test -z "$ac_c_werror_flag" ||
35812 test ! -s conftest.err
35813 } && test -s conftest.$ac_objext; then
35814 wx_cv_func_statfs=yes
35815 else
35816 echo "$as_me: failed program was:" >&5
35817 sed 's/^/| /' conftest.$ac_ext >&5
35818
35819 wx_cv_func_statfs=no
35820
35821 fi
35822
35823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35824
35825 fi
35826 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35827 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35828
35829 if test "$wx_cv_func_statfs" = "yes"; then
35830 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35831 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35832 if test "${wx_cv_func_statfs_decl+set}" = set; then
35833 echo $ECHO_N "(cached) $ECHO_C" >&6
35834 else
35835 ac_ext=cpp
35836 ac_cpp='$CXXCPP $CPPFLAGS'
35837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35840
35841 cat >conftest.$ac_ext <<_ACEOF
35842 /* confdefs.h. */
35843 _ACEOF
35844 cat confdefs.h >>conftest.$ac_ext
35845 cat >>conftest.$ac_ext <<_ACEOF
35846 /* end confdefs.h. */
35847
35848 #if defined(__BSD__)
35849 #include <sys/param.h>
35850 #include <sys/mount.h>
35851 #else
35852 #include <sys/vfs.h>
35853 #endif
35854
35855 int
35856 main ()
35857 {
35858
35859 struct statfs fs;
35860 statfs("", &fs);
35861
35862 ;
35863 return 0;
35864 }
35865 _ACEOF
35866 rm -f conftest.$ac_objext
35867 if { (ac_try="$ac_compile"
35868 case "(($ac_try" in
35869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35870 *) ac_try_echo=$ac_try;;
35871 esac
35872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35873 (eval "$ac_compile") 2>conftest.er1
35874 ac_status=$?
35875 grep -v '^ *+' conftest.er1 >conftest.err
35876 rm -f conftest.er1
35877 cat conftest.err >&5
35878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35879 (exit $ac_status); } && {
35880 test -z "$ac_cxx_werror_flag" ||
35881 test ! -s conftest.err
35882 } && test -s conftest.$ac_objext; then
35883 wx_cv_func_statfs_decl=yes
35884 else
35885 echo "$as_me: failed program was:" >&5
35886 sed 's/^/| /' conftest.$ac_ext >&5
35887
35888 wx_cv_func_statfs_decl=no
35889
35890 fi
35891
35892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35893 ac_ext=c
35894 ac_cpp='$CPP $CPPFLAGS'
35895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35898
35899
35900 fi
35901 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35902 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35903
35904 if test "$wx_cv_func_statfs_decl" = "yes"; then
35905 cat >>confdefs.h <<\_ACEOF
35906 #define HAVE_STATFS_DECL 1
35907 _ACEOF
35908
35909 fi
35910
35911 wx_cv_type_statvfs_t="struct statfs"
35912 cat >>confdefs.h <<\_ACEOF
35913 #define HAVE_STATFS 1
35914 _ACEOF
35915
35916 else
35917 { echo "$as_me:$LINENO: checking for statvfs" >&5
35918 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35919 if test "${wx_cv_func_statvfs+set}" = set; then
35920 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 else
35922 cat >conftest.$ac_ext <<_ACEOF
35923 /* confdefs.h. */
35924 _ACEOF
35925 cat confdefs.h >>conftest.$ac_ext
35926 cat >>conftest.$ac_ext <<_ACEOF
35927 /* end confdefs.h. */
35928
35929 #include <stddef.h>
35930 #include <sys/statvfs.h>
35931
35932 int
35933 main ()
35934 {
35935
35936 statvfs("/", NULL);
35937
35938 ;
35939 return 0;
35940 }
35941 _ACEOF
35942 rm -f conftest.$ac_objext
35943 if { (ac_try="$ac_compile"
35944 case "(($ac_try" in
35945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35946 *) ac_try_echo=$ac_try;;
35947 esac
35948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35949 (eval "$ac_compile") 2>conftest.er1
35950 ac_status=$?
35951 grep -v '^ *+' conftest.er1 >conftest.err
35952 rm -f conftest.er1
35953 cat conftest.err >&5
35954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35955 (exit $ac_status); } && {
35956 test -z "$ac_c_werror_flag" ||
35957 test ! -s conftest.err
35958 } && test -s conftest.$ac_objext; then
35959 wx_cv_func_statvfs=yes
35960 else
35961 echo "$as_me: failed program was:" >&5
35962 sed 's/^/| /' conftest.$ac_ext >&5
35963
35964 wx_cv_func_statvfs=no
35965
35966 fi
35967
35968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35969
35970 fi
35971 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35972 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35973
35974 if test "$wx_cv_func_statvfs" = "yes"; then
35975 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35976 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35977 if test "${wx_cv_type_statvfs_t+set}" = set; then
35978 echo $ECHO_N "(cached) $ECHO_C" >&6
35979 else
35980 ac_ext=cpp
35981 ac_cpp='$CXXCPP $CPPFLAGS'
35982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35985
35986 cat >conftest.$ac_ext <<_ACEOF
35987 /* confdefs.h. */
35988 _ACEOF
35989 cat confdefs.h >>conftest.$ac_ext
35990 cat >>conftest.$ac_ext <<_ACEOF
35991 /* end confdefs.h. */
35992
35993 #include <sys/statvfs.h>
35994
35995 int
35996 main ()
35997 {
35998
35999 long l;
36000 statvfs_t fs;
36001 statvfs("/", &fs);
36002 l = fs.f_bsize;
36003 l += fs.f_blocks;
36004 l += fs.f_bavail;
36005
36006 ;
36007 return 0;
36008 }
36009 _ACEOF
36010 rm -f conftest.$ac_objext
36011 if { (ac_try="$ac_compile"
36012 case "(($ac_try" in
36013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36014 *) ac_try_echo=$ac_try;;
36015 esac
36016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36017 (eval "$ac_compile") 2>conftest.er1
36018 ac_status=$?
36019 grep -v '^ *+' conftest.er1 >conftest.err
36020 rm -f conftest.er1
36021 cat conftest.err >&5
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); } && {
36024 test -z "$ac_cxx_werror_flag" ||
36025 test ! -s conftest.err
36026 } && test -s conftest.$ac_objext; then
36027 wx_cv_type_statvfs_t=statvfs_t
36028 else
36029 echo "$as_me: failed program was:" >&5
36030 sed 's/^/| /' conftest.$ac_ext >&5
36031
36032
36033 cat >conftest.$ac_ext <<_ACEOF
36034 /* confdefs.h. */
36035 _ACEOF
36036 cat confdefs.h >>conftest.$ac_ext
36037 cat >>conftest.$ac_ext <<_ACEOF
36038 /* end confdefs.h. */
36039
36040 #include <sys/statvfs.h>
36041
36042 int
36043 main ()
36044 {
36045
36046 long l;
36047 struct statvfs fs;
36048 statvfs("/", &fs);
36049 l = fs.f_bsize;
36050 l += fs.f_blocks;
36051 l += fs.f_bavail;
36052
36053 ;
36054 return 0;
36055 }
36056 _ACEOF
36057 rm -f conftest.$ac_objext
36058 if { (ac_try="$ac_compile"
36059 case "(($ac_try" in
36060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36061 *) ac_try_echo=$ac_try;;
36062 esac
36063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36064 (eval "$ac_compile") 2>conftest.er1
36065 ac_status=$?
36066 grep -v '^ *+' conftest.er1 >conftest.err
36067 rm -f conftest.er1
36068 cat conftest.err >&5
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); } && {
36071 test -z "$ac_cxx_werror_flag" ||
36072 test ! -s conftest.err
36073 } && test -s conftest.$ac_objext; then
36074 wx_cv_type_statvfs_t="struct statvfs"
36075 else
36076 echo "$as_me: failed program was:" >&5
36077 sed 's/^/| /' conftest.$ac_ext >&5
36078
36079 wx_cv_type_statvfs_t="unknown"
36080
36081 fi
36082
36083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36084
36085
36086 fi
36087
36088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36089 ac_ext=c
36090 ac_cpp='$CPP $CPPFLAGS'
36091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36094
36095
36096 fi
36097 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36098 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36099
36100 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36101 cat >>confdefs.h <<\_ACEOF
36102 #define HAVE_STATVFS 1
36103 _ACEOF
36104
36105 fi
36106 else
36107 wx_cv_type_statvfs_t="unknown"
36108 fi
36109 fi
36110
36111 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36112 cat >>confdefs.h <<_ACEOF
36113 #define WX_STATFS_T $wx_cv_type_statvfs_t
36114 _ACEOF
36115
36116 else
36117 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36118 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36119 fi
36120
36121 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36122
36123
36124 for ac_func in fcntl flock
36125 do
36126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36127 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36129 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36130 echo $ECHO_N "(cached) $ECHO_C" >&6
36131 else
36132 cat >conftest.$ac_ext <<_ACEOF
36133 /* confdefs.h. */
36134 _ACEOF
36135 cat confdefs.h >>conftest.$ac_ext
36136 cat >>conftest.$ac_ext <<_ACEOF
36137 /* end confdefs.h. */
36138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36140 #define $ac_func innocuous_$ac_func
36141
36142 /* System header to define __stub macros and hopefully few prototypes,
36143 which can conflict with char $ac_func (); below.
36144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36145 <limits.h> exists even on freestanding compilers. */
36146
36147 #ifdef __STDC__
36148 # include <limits.h>
36149 #else
36150 # include <assert.h>
36151 #endif
36152
36153 #undef $ac_func
36154
36155 /* Override any GCC internal prototype to avoid an error.
36156 Use char because int might match the return type of a GCC
36157 builtin and then its argument prototype would still apply. */
36158 #ifdef __cplusplus
36159 extern "C"
36160 #endif
36161 char $ac_func ();
36162 /* The GNU C library defines this for functions which it implements
36163 to always fail with ENOSYS. Some functions are actually named
36164 something starting with __ and the normal name is an alias. */
36165 #if defined __stub_$ac_func || defined __stub___$ac_func
36166 choke me
36167 #endif
36168
36169 int
36170 main ()
36171 {
36172 return $ac_func ();
36173 ;
36174 return 0;
36175 }
36176 _ACEOF
36177 rm -f conftest.$ac_objext conftest$ac_exeext
36178 if { (ac_try="$ac_link"
36179 case "(($ac_try" in
36180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36181 *) ac_try_echo=$ac_try;;
36182 esac
36183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36184 (eval "$ac_link") 2>conftest.er1
36185 ac_status=$?
36186 grep -v '^ *+' conftest.er1 >conftest.err
36187 rm -f conftest.er1
36188 cat conftest.err >&5
36189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36190 (exit $ac_status); } && {
36191 test -z "$ac_c_werror_flag" ||
36192 test ! -s conftest.err
36193 } && test -s conftest$ac_exeext &&
36194 $as_test_x conftest$ac_exeext; then
36195 eval "$as_ac_var=yes"
36196 else
36197 echo "$as_me: failed program was:" >&5
36198 sed 's/^/| /' conftest.$ac_ext >&5
36199
36200 eval "$as_ac_var=no"
36201 fi
36202
36203 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36204 conftest$ac_exeext conftest.$ac_ext
36205 fi
36206 ac_res=`eval echo '${'$as_ac_var'}'`
36207 { echo "$as_me:$LINENO: result: $ac_res" >&5
36208 echo "${ECHO_T}$ac_res" >&6; }
36209 if test `eval echo '${'$as_ac_var'}'` = yes; then
36210 cat >>confdefs.h <<_ACEOF
36211 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36212 _ACEOF
36213 break
36214 fi
36215 done
36216
36217
36218 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36219 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36220 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36221 wxUSE_SNGLINST_CHECKER=no
36222 fi
36223 fi
36224
36225
36226 for ac_func in timegm
36227 do
36228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36229 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36231 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36232 echo $ECHO_N "(cached) $ECHO_C" >&6
36233 else
36234 cat >conftest.$ac_ext <<_ACEOF
36235 /* confdefs.h. */
36236 _ACEOF
36237 cat confdefs.h >>conftest.$ac_ext
36238 cat >>conftest.$ac_ext <<_ACEOF
36239 /* end confdefs.h. */
36240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36242 #define $ac_func innocuous_$ac_func
36243
36244 /* System header to define __stub macros and hopefully few prototypes,
36245 which can conflict with char $ac_func (); below.
36246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36247 <limits.h> exists even on freestanding compilers. */
36248
36249 #ifdef __STDC__
36250 # include <limits.h>
36251 #else
36252 # include <assert.h>
36253 #endif
36254
36255 #undef $ac_func
36256
36257 /* Override any GCC internal prototype to avoid an error.
36258 Use char because int might match the return type of a GCC
36259 builtin and then its argument prototype would still apply. */
36260 #ifdef __cplusplus
36261 extern "C"
36262 #endif
36263 char $ac_func ();
36264 /* The GNU C library defines this for functions which it implements
36265 to always fail with ENOSYS. Some functions are actually named
36266 something starting with __ and the normal name is an alias. */
36267 #if defined __stub_$ac_func || defined __stub___$ac_func
36268 choke me
36269 #endif
36270
36271 int
36272 main ()
36273 {
36274 return $ac_func ();
36275 ;
36276 return 0;
36277 }
36278 _ACEOF
36279 rm -f conftest.$ac_objext conftest$ac_exeext
36280 if { (ac_try="$ac_link"
36281 case "(($ac_try" in
36282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36283 *) ac_try_echo=$ac_try;;
36284 esac
36285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36286 (eval "$ac_link") 2>conftest.er1
36287 ac_status=$?
36288 grep -v '^ *+' conftest.er1 >conftest.err
36289 rm -f conftest.er1
36290 cat conftest.err >&5
36291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36292 (exit $ac_status); } && {
36293 test -z "$ac_c_werror_flag" ||
36294 test ! -s conftest.err
36295 } && test -s conftest$ac_exeext &&
36296 $as_test_x conftest$ac_exeext; then
36297 eval "$as_ac_var=yes"
36298 else
36299 echo "$as_me: failed program was:" >&5
36300 sed 's/^/| /' conftest.$ac_ext >&5
36301
36302 eval "$as_ac_var=no"
36303 fi
36304
36305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36306 conftest$ac_exeext conftest.$ac_ext
36307 fi
36308 ac_res=`eval echo '${'$as_ac_var'}'`
36309 { echo "$as_me:$LINENO: result: $ac_res" >&5
36310 echo "${ECHO_T}$ac_res" >&6; }
36311 if test `eval echo '${'$as_ac_var'}'` = yes; then
36312 cat >>confdefs.h <<_ACEOF
36313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36314 _ACEOF
36315
36316 fi
36317 done
36318
36319
36320
36321
36322 for ac_func in putenv setenv
36323 do
36324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36328 echo $ECHO_N "(cached) $ECHO_C" >&6
36329 else
36330 cat >conftest.$ac_ext <<_ACEOF
36331 /* confdefs.h. */
36332 _ACEOF
36333 cat confdefs.h >>conftest.$ac_ext
36334 cat >>conftest.$ac_ext <<_ACEOF
36335 /* end confdefs.h. */
36336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36338 #define $ac_func innocuous_$ac_func
36339
36340 /* System header to define __stub macros and hopefully few prototypes,
36341 which can conflict with char $ac_func (); below.
36342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36343 <limits.h> exists even on freestanding compilers. */
36344
36345 #ifdef __STDC__
36346 # include <limits.h>
36347 #else
36348 # include <assert.h>
36349 #endif
36350
36351 #undef $ac_func
36352
36353 /* Override any GCC internal prototype to avoid an error.
36354 Use char because int might match the return type of a GCC
36355 builtin and then its argument prototype would still apply. */
36356 #ifdef __cplusplus
36357 extern "C"
36358 #endif
36359 char $ac_func ();
36360 /* The GNU C library defines this for functions which it implements
36361 to always fail with ENOSYS. Some functions are actually named
36362 something starting with __ and the normal name is an alias. */
36363 #if defined __stub_$ac_func || defined __stub___$ac_func
36364 choke me
36365 #endif
36366
36367 int
36368 main ()
36369 {
36370 return $ac_func ();
36371 ;
36372 return 0;
36373 }
36374 _ACEOF
36375 rm -f conftest.$ac_objext conftest$ac_exeext
36376 if { (ac_try="$ac_link"
36377 case "(($ac_try" in
36378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36379 *) ac_try_echo=$ac_try;;
36380 esac
36381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36382 (eval "$ac_link") 2>conftest.er1
36383 ac_status=$?
36384 grep -v '^ *+' conftest.er1 >conftest.err
36385 rm -f conftest.er1
36386 cat conftest.err >&5
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); } && {
36389 test -z "$ac_c_werror_flag" ||
36390 test ! -s conftest.err
36391 } && test -s conftest$ac_exeext &&
36392 $as_test_x conftest$ac_exeext; then
36393 eval "$as_ac_var=yes"
36394 else
36395 echo "$as_me: failed program was:" >&5
36396 sed 's/^/| /' conftest.$ac_ext >&5
36397
36398 eval "$as_ac_var=no"
36399 fi
36400
36401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36402 conftest$ac_exeext conftest.$ac_ext
36403 fi
36404 ac_res=`eval echo '${'$as_ac_var'}'`
36405 { echo "$as_me:$LINENO: result: $ac_res" >&5
36406 echo "${ECHO_T}$ac_res" >&6; }
36407 if test `eval echo '${'$as_ac_var'}'` = yes; then
36408 cat >>confdefs.h <<_ACEOF
36409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36410 _ACEOF
36411 break
36412 fi
36413 done
36414
36415
36416 HAVE_SOME_SLEEP_FUNC=0
36417 if test "$USE_BEOS" = 1; then
36418 cat >>confdefs.h <<\_ACEOF
36419 #define HAVE_SLEEP 1
36420 _ACEOF
36421
36422 HAVE_SOME_SLEEP_FUNC=1
36423 fi
36424
36425 if test "$USE_DARWIN" = 1; then
36426 cat >>confdefs.h <<\_ACEOF
36427 #define HAVE_USLEEP 1
36428 _ACEOF
36429
36430 HAVE_SOME_SLEEP_FUNC=1
36431 fi
36432
36433 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36434 POSIX4_LINK=
36435
36436 for ac_func in nanosleep
36437 do
36438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36439 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36441 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36442 echo $ECHO_N "(cached) $ECHO_C" >&6
36443 else
36444 cat >conftest.$ac_ext <<_ACEOF
36445 /* confdefs.h. */
36446 _ACEOF
36447 cat confdefs.h >>conftest.$ac_ext
36448 cat >>conftest.$ac_ext <<_ACEOF
36449 /* end confdefs.h. */
36450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36452 #define $ac_func innocuous_$ac_func
36453
36454 /* System header to define __stub macros and hopefully few prototypes,
36455 which can conflict with char $ac_func (); below.
36456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36457 <limits.h> exists even on freestanding compilers. */
36458
36459 #ifdef __STDC__
36460 # include <limits.h>
36461 #else
36462 # include <assert.h>
36463 #endif
36464
36465 #undef $ac_func
36466
36467 /* Override any GCC internal prototype to avoid an error.
36468 Use char because int might match the return type of a GCC
36469 builtin and then its argument prototype would still apply. */
36470 #ifdef __cplusplus
36471 extern "C"
36472 #endif
36473 char $ac_func ();
36474 /* The GNU C library defines this for functions which it implements
36475 to always fail with ENOSYS. Some functions are actually named
36476 something starting with __ and the normal name is an alias. */
36477 #if defined __stub_$ac_func || defined __stub___$ac_func
36478 choke me
36479 #endif
36480
36481 int
36482 main ()
36483 {
36484 return $ac_func ();
36485 ;
36486 return 0;
36487 }
36488 _ACEOF
36489 rm -f conftest.$ac_objext conftest$ac_exeext
36490 if { (ac_try="$ac_link"
36491 case "(($ac_try" in
36492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36493 *) ac_try_echo=$ac_try;;
36494 esac
36495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36496 (eval "$ac_link") 2>conftest.er1
36497 ac_status=$?
36498 grep -v '^ *+' conftest.er1 >conftest.err
36499 rm -f conftest.er1
36500 cat conftest.err >&5
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); } && {
36503 test -z "$ac_c_werror_flag" ||
36504 test ! -s conftest.err
36505 } && test -s conftest$ac_exeext &&
36506 $as_test_x conftest$ac_exeext; then
36507 eval "$as_ac_var=yes"
36508 else
36509 echo "$as_me: failed program was:" >&5
36510 sed 's/^/| /' conftest.$ac_ext >&5
36511
36512 eval "$as_ac_var=no"
36513 fi
36514
36515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36516 conftest$ac_exeext conftest.$ac_ext
36517 fi
36518 ac_res=`eval echo '${'$as_ac_var'}'`
36519 { echo "$as_me:$LINENO: result: $ac_res" >&5
36520 echo "${ECHO_T}$ac_res" >&6; }
36521 if test `eval echo '${'$as_ac_var'}'` = yes; then
36522 cat >>confdefs.h <<_ACEOF
36523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36524 _ACEOF
36525 cat >>confdefs.h <<\_ACEOF
36526 #define HAVE_NANOSLEEP 1
36527 _ACEOF
36528
36529 else
36530
36531 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36532 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36533 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36534 echo $ECHO_N "(cached) $ECHO_C" >&6
36535 else
36536 ac_check_lib_save_LIBS=$LIBS
36537 LIBS="-lposix4 $LIBS"
36538 cat >conftest.$ac_ext <<_ACEOF
36539 /* confdefs.h. */
36540 _ACEOF
36541 cat confdefs.h >>conftest.$ac_ext
36542 cat >>conftest.$ac_ext <<_ACEOF
36543 /* end confdefs.h. */
36544
36545 /* Override any GCC internal prototype to avoid an error.
36546 Use char because int might match the return type of a GCC
36547 builtin and then its argument prototype would still apply. */
36548 #ifdef __cplusplus
36549 extern "C"
36550 #endif
36551 char nanosleep ();
36552 int
36553 main ()
36554 {
36555 return nanosleep ();
36556 ;
36557 return 0;
36558 }
36559 _ACEOF
36560 rm -f conftest.$ac_objext conftest$ac_exeext
36561 if { (ac_try="$ac_link"
36562 case "(($ac_try" in
36563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36564 *) ac_try_echo=$ac_try;;
36565 esac
36566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36567 (eval "$ac_link") 2>conftest.er1
36568 ac_status=$?
36569 grep -v '^ *+' conftest.er1 >conftest.err
36570 rm -f conftest.er1
36571 cat conftest.err >&5
36572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36573 (exit $ac_status); } && {
36574 test -z "$ac_c_werror_flag" ||
36575 test ! -s conftest.err
36576 } && test -s conftest$ac_exeext &&
36577 $as_test_x conftest$ac_exeext; then
36578 ac_cv_lib_posix4_nanosleep=yes
36579 else
36580 echo "$as_me: failed program was:" >&5
36581 sed 's/^/| /' conftest.$ac_ext >&5
36582
36583 ac_cv_lib_posix4_nanosleep=no
36584 fi
36585
36586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36587 conftest$ac_exeext conftest.$ac_ext
36588 LIBS=$ac_check_lib_save_LIBS
36589 fi
36590 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36591 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36592 if test $ac_cv_lib_posix4_nanosleep = yes; then
36593
36594 cat >>confdefs.h <<\_ACEOF
36595 #define HAVE_NANOSLEEP 1
36596 _ACEOF
36597
36598 POSIX4_LINK=" -lposix4"
36599
36600 else
36601
36602
36603 for wx_func in usleep
36604 do
36605 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36606 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36607 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36608 echo $ECHO_N "(cached) $ECHO_C" >&6
36609 else
36610
36611 cat >conftest.$ac_ext <<_ACEOF
36612
36613 /* confdefs.h. */
36614 _ACEOF
36615 cat confdefs.h >>conftest.$ac_ext
36616 cat >>conftest.$ac_ext <<_ACEOF
36617 /* end confdefs.h. */
36618
36619
36620 $ac_includes_default
36621
36622 int
36623 main ()
36624 {
36625
36626 #ifndef $wx_func
36627 &$wx_func;
36628 #endif
36629
36630
36631 ;
36632 return 0;
36633 }
36634
36635 _ACEOF
36636 rm -f conftest.$ac_objext conftest$ac_exeext
36637 if { (ac_try="$ac_link"
36638 case "(($ac_try" in
36639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36640 *) ac_try_echo=$ac_try;;
36641 esac
36642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36643 (eval "$ac_link") 2>conftest.er1
36644 ac_status=$?
36645 grep -v '^ *+' conftest.er1 >conftest.err
36646 rm -f conftest.er1
36647 cat conftest.err >&5
36648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36649 (exit $ac_status); } && {
36650 test -z "$ac_c_werror_flag" ||
36651 test ! -s conftest.err
36652 } && test -s conftest$ac_exeext &&
36653 $as_test_x conftest$ac_exeext; then
36654 eval wx_cv_func_$wx_func=yes
36655 else
36656 echo "$as_me: failed program was:" >&5
36657 sed 's/^/| /' conftest.$ac_ext >&5
36658
36659 eval wx_cv_func_$wx_func=no
36660 fi
36661
36662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36663 conftest$ac_exeext conftest.$ac_ext
36664
36665 fi
36666 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36667 { echo "$as_me:$LINENO: result: $ac_res" >&5
36668 echo "${ECHO_T}$ac_res" >&6; }
36669
36670 if eval test \$wx_cv_func_$wx_func = yes
36671 then
36672 cat >>confdefs.h <<_ACEOF
36673 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36674 _ACEOF
36675
36676
36677 else
36678 :
36679 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36680 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36681
36682 fi
36683 done
36684
36685
36686
36687 fi
36688
36689
36690
36691 fi
36692 done
36693
36694 fi
36695
36696
36697 for wx_func in uname
36698 do
36699 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36700 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36701 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36702 echo $ECHO_N "(cached) $ECHO_C" >&6
36703 else
36704
36705 cat >conftest.$ac_ext <<_ACEOF
36706
36707 /* confdefs.h. */
36708 _ACEOF
36709 cat confdefs.h >>conftest.$ac_ext
36710 cat >>conftest.$ac_ext <<_ACEOF
36711 /* end confdefs.h. */
36712
36713 #include <sys/utsname.h>
36714 $ac_includes_default
36715
36716 int
36717 main ()
36718 {
36719
36720 #ifndef $wx_func
36721 &$wx_func;
36722 #endif
36723
36724
36725 ;
36726 return 0;
36727 }
36728
36729 _ACEOF
36730 rm -f conftest.$ac_objext conftest$ac_exeext
36731 if { (ac_try="$ac_link"
36732 case "(($ac_try" in
36733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36734 *) ac_try_echo=$ac_try;;
36735 esac
36736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36737 (eval "$ac_link") 2>conftest.er1
36738 ac_status=$?
36739 grep -v '^ *+' conftest.er1 >conftest.err
36740 rm -f conftest.er1
36741 cat conftest.err >&5
36742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36743 (exit $ac_status); } && {
36744 test -z "$ac_c_werror_flag" ||
36745 test ! -s conftest.err
36746 } && test -s conftest$ac_exeext &&
36747 $as_test_x conftest$ac_exeext; then
36748 eval wx_cv_func_$wx_func=yes
36749 else
36750 echo "$as_me: failed program was:" >&5
36751 sed 's/^/| /' conftest.$ac_ext >&5
36752
36753 eval wx_cv_func_$wx_func=no
36754 fi
36755
36756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36757 conftest$ac_exeext conftest.$ac_ext
36758
36759 fi
36760 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36761 { echo "$as_me:$LINENO: result: $ac_res" >&5
36762 echo "${ECHO_T}$ac_res" >&6; }
36763
36764 if eval test \$wx_cv_func_$wx_func = yes
36765 then
36766 cat >>confdefs.h <<_ACEOF
36767 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36768 _ACEOF
36769
36770
36771 else
36772 :
36773
36774 fi
36775 done
36776
36777 if test "$wx_cv_func_uname" != yes; then
36778
36779 for wx_func in gethostname
36780 do
36781 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36782 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36783 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786
36787 cat >conftest.$ac_ext <<_ACEOF
36788
36789 /* confdefs.h. */
36790 _ACEOF
36791 cat confdefs.h >>conftest.$ac_ext
36792 cat >>conftest.$ac_ext <<_ACEOF
36793 /* end confdefs.h. */
36794
36795
36796 $ac_includes_default
36797
36798 int
36799 main ()
36800 {
36801
36802 #ifndef $wx_func
36803 &$wx_func;
36804 #endif
36805
36806
36807 ;
36808 return 0;
36809 }
36810
36811 _ACEOF
36812 rm -f conftest.$ac_objext conftest$ac_exeext
36813 if { (ac_try="$ac_link"
36814 case "(($ac_try" in
36815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36816 *) ac_try_echo=$ac_try;;
36817 esac
36818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36819 (eval "$ac_link") 2>conftest.er1
36820 ac_status=$?
36821 grep -v '^ *+' conftest.er1 >conftest.err
36822 rm -f conftest.er1
36823 cat conftest.err >&5
36824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36825 (exit $ac_status); } && {
36826 test -z "$ac_c_werror_flag" ||
36827 test ! -s conftest.err
36828 } && test -s conftest$ac_exeext &&
36829 $as_test_x conftest$ac_exeext; then
36830 eval wx_cv_func_$wx_func=yes
36831 else
36832 echo "$as_me: failed program was:" >&5
36833 sed 's/^/| /' conftest.$ac_ext >&5
36834
36835 eval wx_cv_func_$wx_func=no
36836 fi
36837
36838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36839 conftest$ac_exeext conftest.$ac_ext
36840
36841 fi
36842 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36843 { echo "$as_me:$LINENO: result: $ac_res" >&5
36844 echo "${ECHO_T}$ac_res" >&6; }
36845
36846 if eval test \$wx_cv_func_$wx_func = yes
36847 then
36848 cat >>confdefs.h <<_ACEOF
36849 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36850 _ACEOF
36851
36852
36853 else
36854 :
36855
36856 fi
36857 done
36858
36859 fi
36860
36861
36862 for wx_func in strtok_r
36863 do
36864 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36865 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36866 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36867 echo $ECHO_N "(cached) $ECHO_C" >&6
36868 else
36869
36870 cat >conftest.$ac_ext <<_ACEOF
36871
36872 /* confdefs.h. */
36873 _ACEOF
36874 cat confdefs.h >>conftest.$ac_ext
36875 cat >>conftest.$ac_ext <<_ACEOF
36876 /* end confdefs.h. */
36877
36878 #define _REENTRANT
36879 $ac_includes_default
36880
36881 int
36882 main ()
36883 {
36884
36885 #ifndef $wx_func
36886 &$wx_func;
36887 #endif
36888
36889
36890 ;
36891 return 0;
36892 }
36893
36894 _ACEOF
36895 rm -f conftest.$ac_objext conftest$ac_exeext
36896 if { (ac_try="$ac_link"
36897 case "(($ac_try" in
36898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36899 *) ac_try_echo=$ac_try;;
36900 esac
36901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36902 (eval "$ac_link") 2>conftest.er1
36903 ac_status=$?
36904 grep -v '^ *+' conftest.er1 >conftest.err
36905 rm -f conftest.er1
36906 cat conftest.err >&5
36907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36908 (exit $ac_status); } && {
36909 test -z "$ac_c_werror_flag" ||
36910 test ! -s conftest.err
36911 } && test -s conftest$ac_exeext &&
36912 $as_test_x conftest$ac_exeext; then
36913 eval wx_cv_func_$wx_func=yes
36914 else
36915 echo "$as_me: failed program was:" >&5
36916 sed 's/^/| /' conftest.$ac_ext >&5
36917
36918 eval wx_cv_func_$wx_func=no
36919 fi
36920
36921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36922 conftest$ac_exeext conftest.$ac_ext
36923
36924 fi
36925 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36926 { echo "$as_me:$LINENO: result: $ac_res" >&5
36927 echo "${ECHO_T}$ac_res" >&6; }
36928
36929 if eval test \$wx_cv_func_$wx_func = yes
36930 then
36931 cat >>confdefs.h <<_ACEOF
36932 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36933 _ACEOF
36934
36935
36936 else
36937 :
36938
36939 fi
36940 done
36941
36942
36943 INET_LINK=
36944
36945 for ac_func in inet_addr
36946 do
36947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36948 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36950 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36951 echo $ECHO_N "(cached) $ECHO_C" >&6
36952 else
36953 cat >conftest.$ac_ext <<_ACEOF
36954 /* confdefs.h. */
36955 _ACEOF
36956 cat confdefs.h >>conftest.$ac_ext
36957 cat >>conftest.$ac_ext <<_ACEOF
36958 /* end confdefs.h. */
36959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36961 #define $ac_func innocuous_$ac_func
36962
36963 /* System header to define __stub macros and hopefully few prototypes,
36964 which can conflict with char $ac_func (); below.
36965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36966 <limits.h> exists even on freestanding compilers. */
36967
36968 #ifdef __STDC__
36969 # include <limits.h>
36970 #else
36971 # include <assert.h>
36972 #endif
36973
36974 #undef $ac_func
36975
36976 /* Override any GCC internal prototype to avoid an error.
36977 Use char because int might match the return type of a GCC
36978 builtin and then its argument prototype would still apply. */
36979 #ifdef __cplusplus
36980 extern "C"
36981 #endif
36982 char $ac_func ();
36983 /* The GNU C library defines this for functions which it implements
36984 to always fail with ENOSYS. Some functions are actually named
36985 something starting with __ and the normal name is an alias. */
36986 #if defined __stub_$ac_func || defined __stub___$ac_func
36987 choke me
36988 #endif
36989
36990 int
36991 main ()
36992 {
36993 return $ac_func ();
36994 ;
36995 return 0;
36996 }
36997 _ACEOF
36998 rm -f conftest.$ac_objext conftest$ac_exeext
36999 if { (ac_try="$ac_link"
37000 case "(($ac_try" in
37001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37002 *) ac_try_echo=$ac_try;;
37003 esac
37004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37005 (eval "$ac_link") 2>conftest.er1
37006 ac_status=$?
37007 grep -v '^ *+' conftest.er1 >conftest.err
37008 rm -f conftest.er1
37009 cat conftest.err >&5
37010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37011 (exit $ac_status); } && {
37012 test -z "$ac_c_werror_flag" ||
37013 test ! -s conftest.err
37014 } && test -s conftest$ac_exeext &&
37015 $as_test_x conftest$ac_exeext; then
37016 eval "$as_ac_var=yes"
37017 else
37018 echo "$as_me: failed program was:" >&5
37019 sed 's/^/| /' conftest.$ac_ext >&5
37020
37021 eval "$as_ac_var=no"
37022 fi
37023
37024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37025 conftest$ac_exeext conftest.$ac_ext
37026 fi
37027 ac_res=`eval echo '${'$as_ac_var'}'`
37028 { echo "$as_me:$LINENO: result: $ac_res" >&5
37029 echo "${ECHO_T}$ac_res" >&6; }
37030 if test `eval echo '${'$as_ac_var'}'` = yes; then
37031 cat >>confdefs.h <<_ACEOF
37032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37033 _ACEOF
37034 cat >>confdefs.h <<\_ACEOF
37035 #define HAVE_INET_ADDR 1
37036 _ACEOF
37037
37038 else
37039
37040 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37041 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37042 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37043 echo $ECHO_N "(cached) $ECHO_C" >&6
37044 else
37045 ac_check_lib_save_LIBS=$LIBS
37046 LIBS="-lnsl $LIBS"
37047 cat >conftest.$ac_ext <<_ACEOF
37048 /* confdefs.h. */
37049 _ACEOF
37050 cat confdefs.h >>conftest.$ac_ext
37051 cat >>conftest.$ac_ext <<_ACEOF
37052 /* end confdefs.h. */
37053
37054 /* Override any GCC internal prototype to avoid an error.
37055 Use char because int might match the return type of a GCC
37056 builtin and then its argument prototype would still apply. */
37057 #ifdef __cplusplus
37058 extern "C"
37059 #endif
37060 char inet_addr ();
37061 int
37062 main ()
37063 {
37064 return inet_addr ();
37065 ;
37066 return 0;
37067 }
37068 _ACEOF
37069 rm -f conftest.$ac_objext conftest$ac_exeext
37070 if { (ac_try="$ac_link"
37071 case "(($ac_try" in
37072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37073 *) ac_try_echo=$ac_try;;
37074 esac
37075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37076 (eval "$ac_link") 2>conftest.er1
37077 ac_status=$?
37078 grep -v '^ *+' conftest.er1 >conftest.err
37079 rm -f conftest.er1
37080 cat conftest.err >&5
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); } && {
37083 test -z "$ac_c_werror_flag" ||
37084 test ! -s conftest.err
37085 } && test -s conftest$ac_exeext &&
37086 $as_test_x conftest$ac_exeext; then
37087 ac_cv_lib_nsl_inet_addr=yes
37088 else
37089 echo "$as_me: failed program was:" >&5
37090 sed 's/^/| /' conftest.$ac_ext >&5
37091
37092 ac_cv_lib_nsl_inet_addr=no
37093 fi
37094
37095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37096 conftest$ac_exeext conftest.$ac_ext
37097 LIBS=$ac_check_lib_save_LIBS
37098 fi
37099 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37100 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37101 if test $ac_cv_lib_nsl_inet_addr = yes; then
37102 INET_LINK="nsl"
37103 else
37104
37105 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37106 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37107 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37108 echo $ECHO_N "(cached) $ECHO_C" >&6
37109 else
37110 ac_check_lib_save_LIBS=$LIBS
37111 LIBS="-lresolv $LIBS"
37112 cat >conftest.$ac_ext <<_ACEOF
37113 /* confdefs.h. */
37114 _ACEOF
37115 cat confdefs.h >>conftest.$ac_ext
37116 cat >>conftest.$ac_ext <<_ACEOF
37117 /* end confdefs.h. */
37118
37119 /* Override any GCC internal prototype to avoid an error.
37120 Use char because int might match the return type of a GCC
37121 builtin and then its argument prototype would still apply. */
37122 #ifdef __cplusplus
37123 extern "C"
37124 #endif
37125 char inet_addr ();
37126 int
37127 main ()
37128 {
37129 return inet_addr ();
37130 ;
37131 return 0;
37132 }
37133 _ACEOF
37134 rm -f conftest.$ac_objext conftest$ac_exeext
37135 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
37149 test ! -s conftest.err
37150 } && test -s conftest$ac_exeext &&
37151 $as_test_x conftest$ac_exeext; then
37152 ac_cv_lib_resolv_inet_addr=yes
37153 else
37154 echo "$as_me: failed program was:" >&5
37155 sed 's/^/| /' conftest.$ac_ext >&5
37156
37157 ac_cv_lib_resolv_inet_addr=no
37158 fi
37159
37160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37161 conftest$ac_exeext conftest.$ac_ext
37162 LIBS=$ac_check_lib_save_LIBS
37163 fi
37164 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37165 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37166 if test $ac_cv_lib_resolv_inet_addr = yes; then
37167 INET_LINK="resolv"
37168 else
37169
37170 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37171 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37172 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37173 echo $ECHO_N "(cached) $ECHO_C" >&6
37174 else
37175 ac_check_lib_save_LIBS=$LIBS
37176 LIBS="-lsocket $LIBS"
37177 cat >conftest.$ac_ext <<_ACEOF
37178 /* confdefs.h. */
37179 _ACEOF
37180 cat confdefs.h >>conftest.$ac_ext
37181 cat >>conftest.$ac_ext <<_ACEOF
37182 /* end confdefs.h. */
37183
37184 /* Override any GCC internal prototype to avoid an error.
37185 Use char because int might match the return type of a GCC
37186 builtin and then its argument prototype would still apply. */
37187 #ifdef __cplusplus
37188 extern "C"
37189 #endif
37190 char inet_addr ();
37191 int
37192 main ()
37193 {
37194 return inet_addr ();
37195 ;
37196 return 0;
37197 }
37198 _ACEOF
37199 rm -f conftest.$ac_objext conftest$ac_exeext
37200 if { (ac_try="$ac_link"
37201 case "(($ac_try" in
37202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37203 *) ac_try_echo=$ac_try;;
37204 esac
37205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37206 (eval "$ac_link") 2>conftest.er1
37207 ac_status=$?
37208 grep -v '^ *+' conftest.er1 >conftest.err
37209 rm -f conftest.er1
37210 cat conftest.err >&5
37211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37212 (exit $ac_status); } && {
37213 test -z "$ac_c_werror_flag" ||
37214 test ! -s conftest.err
37215 } && test -s conftest$ac_exeext &&
37216 $as_test_x conftest$ac_exeext; then
37217 ac_cv_lib_socket_inet_addr=yes
37218 else
37219 echo "$as_me: failed program was:" >&5
37220 sed 's/^/| /' conftest.$ac_ext >&5
37221
37222 ac_cv_lib_socket_inet_addr=no
37223 fi
37224
37225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37226 conftest$ac_exeext conftest.$ac_ext
37227 LIBS=$ac_check_lib_save_LIBS
37228 fi
37229 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37230 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37231 if test $ac_cv_lib_socket_inet_addr = yes; then
37232 INET_LINK="socket"
37233
37234 fi
37235
37236
37237
37238 fi
37239
37240
37241
37242 fi
37243
37244
37245
37246 fi
37247 done
37248
37249
37250
37251 for ac_func in inet_aton
37252 do
37253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37254 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37256 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37257 echo $ECHO_N "(cached) $ECHO_C" >&6
37258 else
37259 cat >conftest.$ac_ext <<_ACEOF
37260 /* confdefs.h. */
37261 _ACEOF
37262 cat confdefs.h >>conftest.$ac_ext
37263 cat >>conftest.$ac_ext <<_ACEOF
37264 /* end confdefs.h. */
37265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37267 #define $ac_func innocuous_$ac_func
37268
37269 /* System header to define __stub macros and hopefully few prototypes,
37270 which can conflict with char $ac_func (); below.
37271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37272 <limits.h> exists even on freestanding compilers. */
37273
37274 #ifdef __STDC__
37275 # include <limits.h>
37276 #else
37277 # include <assert.h>
37278 #endif
37279
37280 #undef $ac_func
37281
37282 /* Override any GCC internal prototype to avoid an error.
37283 Use char because int might match the return type of a GCC
37284 builtin and then its argument prototype would still apply. */
37285 #ifdef __cplusplus
37286 extern "C"
37287 #endif
37288 char $ac_func ();
37289 /* The GNU C library defines this for functions which it implements
37290 to always fail with ENOSYS. Some functions are actually named
37291 something starting with __ and the normal name is an alias. */
37292 #if defined __stub_$ac_func || defined __stub___$ac_func
37293 choke me
37294 #endif
37295
37296 int
37297 main ()
37298 {
37299 return $ac_func ();
37300 ;
37301 return 0;
37302 }
37303 _ACEOF
37304 rm -f conftest.$ac_objext conftest$ac_exeext
37305 if { (ac_try="$ac_link"
37306 case "(($ac_try" in
37307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37308 *) ac_try_echo=$ac_try;;
37309 esac
37310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37311 (eval "$ac_link") 2>conftest.er1
37312 ac_status=$?
37313 grep -v '^ *+' conftest.er1 >conftest.err
37314 rm -f conftest.er1
37315 cat conftest.err >&5
37316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37317 (exit $ac_status); } && {
37318 test -z "$ac_c_werror_flag" ||
37319 test ! -s conftest.err
37320 } && test -s conftest$ac_exeext &&
37321 $as_test_x conftest$ac_exeext; then
37322 eval "$as_ac_var=yes"
37323 else
37324 echo "$as_me: failed program was:" >&5
37325 sed 's/^/| /' conftest.$ac_ext >&5
37326
37327 eval "$as_ac_var=no"
37328 fi
37329
37330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37331 conftest$ac_exeext conftest.$ac_ext
37332 fi
37333 ac_res=`eval echo '${'$as_ac_var'}'`
37334 { echo "$as_me:$LINENO: result: $ac_res" >&5
37335 echo "${ECHO_T}$ac_res" >&6; }
37336 if test `eval echo '${'$as_ac_var'}'` = yes; then
37337 cat >>confdefs.h <<_ACEOF
37338 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37339 _ACEOF
37340 cat >>confdefs.h <<\_ACEOF
37341 #define HAVE_INET_ATON 1
37342 _ACEOF
37343
37344 else
37345
37346 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37347 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37348 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37349 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37350 echo $ECHO_N "(cached) $ECHO_C" >&6
37351 else
37352 ac_check_lib_save_LIBS=$LIBS
37353 LIBS="-l$INET_LINK $LIBS"
37354 cat >conftest.$ac_ext <<_ACEOF
37355 /* confdefs.h. */
37356 _ACEOF
37357 cat confdefs.h >>conftest.$ac_ext
37358 cat >>conftest.$ac_ext <<_ACEOF
37359 /* end confdefs.h. */
37360
37361 /* Override any GCC internal prototype to avoid an error.
37362 Use char because int might match the return type of a GCC
37363 builtin and then its argument prototype would still apply. */
37364 #ifdef __cplusplus
37365 extern "C"
37366 #endif
37367 char inet_aton ();
37368 int
37369 main ()
37370 {
37371 return inet_aton ();
37372 ;
37373 return 0;
37374 }
37375 _ACEOF
37376 rm -f conftest.$ac_objext conftest$ac_exeext
37377 if { (ac_try="$ac_link"
37378 case "(($ac_try" in
37379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37380 *) ac_try_echo=$ac_try;;
37381 esac
37382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37383 (eval "$ac_link") 2>conftest.er1
37384 ac_status=$?
37385 grep -v '^ *+' conftest.er1 >conftest.err
37386 rm -f conftest.er1
37387 cat conftest.err >&5
37388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37389 (exit $ac_status); } && {
37390 test -z "$ac_c_werror_flag" ||
37391 test ! -s conftest.err
37392 } && test -s conftest$ac_exeext &&
37393 $as_test_x conftest$ac_exeext; then
37394 eval "$as_ac_Lib=yes"
37395 else
37396 echo "$as_me: failed program was:" >&5
37397 sed 's/^/| /' conftest.$ac_ext >&5
37398
37399 eval "$as_ac_Lib=no"
37400 fi
37401
37402 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37403 conftest$ac_exeext conftest.$ac_ext
37404 LIBS=$ac_check_lib_save_LIBS
37405 fi
37406 ac_res=`eval echo '${'$as_ac_Lib'}'`
37407 { echo "$as_me:$LINENO: result: $ac_res" >&5
37408 echo "${ECHO_T}$ac_res" >&6; }
37409 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37410 cat >>confdefs.h <<\_ACEOF
37411 #define HAVE_INET_ATON 1
37412 _ACEOF
37413
37414 fi
37415
37416
37417 fi
37418 done
37419
37420
37421 if test "x$INET_LINK" != "x"; then
37422 cat >>confdefs.h <<\_ACEOF
37423 #define HAVE_INET_ADDR 1
37424 _ACEOF
37425
37426 INET_LINK=" -l$INET_LINK"
37427 fi
37428
37429
37430 for wx_func in fdopen
37431 do
37432 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37433 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37434 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37435 echo $ECHO_N "(cached) $ECHO_C" >&6
37436 else
37437
37438 cat >conftest.$ac_ext <<_ACEOF
37439
37440 /* confdefs.h. */
37441 _ACEOF
37442 cat confdefs.h >>conftest.$ac_ext
37443 cat >>conftest.$ac_ext <<_ACEOF
37444 /* end confdefs.h. */
37445
37446
37447 $ac_includes_default
37448
37449 int
37450 main ()
37451 {
37452
37453 #ifndef $wx_func
37454 &$wx_func;
37455 #endif
37456
37457
37458 ;
37459 return 0;
37460 }
37461
37462 _ACEOF
37463 rm -f conftest.$ac_objext conftest$ac_exeext
37464 if { (ac_try="$ac_link"
37465 case "(($ac_try" in
37466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37467 *) ac_try_echo=$ac_try;;
37468 esac
37469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37470 (eval "$ac_link") 2>conftest.er1
37471 ac_status=$?
37472 grep -v '^ *+' conftest.er1 >conftest.err
37473 rm -f conftest.er1
37474 cat conftest.err >&5
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); } && {
37477 test -z "$ac_c_werror_flag" ||
37478 test ! -s conftest.err
37479 } && test -s conftest$ac_exeext &&
37480 $as_test_x conftest$ac_exeext; then
37481 eval wx_cv_func_$wx_func=yes
37482 else
37483 echo "$as_me: failed program was:" >&5
37484 sed 's/^/| /' conftest.$ac_ext >&5
37485
37486 eval wx_cv_func_$wx_func=no
37487 fi
37488
37489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37490 conftest$ac_exeext conftest.$ac_ext
37491
37492 fi
37493 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37494 { echo "$as_me:$LINENO: result: $ac_res" >&5
37495 echo "${ECHO_T}$ac_res" >&6; }
37496
37497 if eval test \$wx_cv_func_$wx_func = yes
37498 then
37499 cat >>confdefs.h <<_ACEOF
37500 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37501 _ACEOF
37502
37503
37504 else
37505 :
37506
37507 fi
37508 done
37509
37510
37511 fi
37512
37513
37514
37515
37516 EXTRALIBS_ESD=
37517 { echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
37518 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6; }
37519 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
37520 echo $ECHO_N "(cached) $ECHO_C" >&6
37521 else
37522 ac_check_lib_save_LIBS=$LIBS
37523 LIBS="-lesd $LIBS"
37524 cat >conftest.$ac_ext <<_ACEOF
37525 /* confdefs.h. */
37526 _ACEOF
37527 cat confdefs.h >>conftest.$ac_ext
37528 cat >>conftest.$ac_ext <<_ACEOF
37529 /* end confdefs.h. */
37530
37531 /* Override any GCC internal prototype to avoid an error.
37532 Use char because int might match the return type of a GCC
37533 builtin and then its argument prototype would still apply. */
37534 #ifdef __cplusplus
37535 extern "C"
37536 #endif
37537 char esd_close ();
37538 int
37539 main ()
37540 {
37541 return esd_close ();
37542 ;
37543 return 0;
37544 }
37545 _ACEOF
37546 rm -f conftest.$ac_objext conftest$ac_exeext
37547 if { (ac_try="$ac_link"
37548 case "(($ac_try" in
37549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37550 *) ac_try_echo=$ac_try;;
37551 esac
37552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37553 (eval "$ac_link") 2>conftest.er1
37554 ac_status=$?
37555 grep -v '^ *+' conftest.er1 >conftest.err
37556 rm -f conftest.er1
37557 cat conftest.err >&5
37558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37559 (exit $ac_status); } && {
37560 test -z "$ac_c_werror_flag" ||
37561 test ! -s conftest.err
37562 } && test -s conftest$ac_exeext &&
37563 $as_test_x conftest$ac_exeext; then
37564 ac_cv_lib_esd_esd_close=yes
37565 else
37566 echo "$as_me: failed program was:" >&5
37567 sed 's/^/| /' conftest.$ac_ext >&5
37568
37569 ac_cv_lib_esd_esd_close=no
37570 fi
37571
37572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37573 conftest$ac_exeext conftest.$ac_ext
37574 LIBS=$ac_check_lib_save_LIBS
37575 fi
37576 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
37577 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6; }
37578 if test $ac_cv_lib_esd_esd_close = yes; then
37579
37580 { echo "$as_me:$LINENO: checking for esd.h" >&5
37581 echo $ECHO_N "checking for esd.h... $ECHO_C" >&6; }
37582 if test "${ac_cv_header_esd_h+set}" = set; then
37583 echo $ECHO_N "(cached) $ECHO_C" >&6
37584 else
37585 cat >conftest.$ac_ext <<_ACEOF
37586 /* confdefs.h. */
37587 _ACEOF
37588 cat confdefs.h >>conftest.$ac_ext
37589 cat >>conftest.$ac_ext <<_ACEOF
37590 /* end confdefs.h. */
37591
37592
37593 #include <esd.h>
37594 _ACEOF
37595 rm -f conftest.$ac_objext
37596 if { (ac_try="$ac_compile"
37597 case "(($ac_try" in
37598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37599 *) ac_try_echo=$ac_try;;
37600 esac
37601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37602 (eval "$ac_compile") 2>conftest.er1
37603 ac_status=$?
37604 grep -v '^ *+' conftest.er1 >conftest.err
37605 rm -f conftest.er1
37606 cat conftest.err >&5
37607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37608 (exit $ac_status); } && {
37609 test -z "$ac_c_werror_flag" ||
37610 test ! -s conftest.err
37611 } && test -s conftest.$ac_objext; then
37612 ac_cv_header_esd_h=yes
37613 else
37614 echo "$as_me: failed program was:" >&5
37615 sed 's/^/| /' conftest.$ac_ext >&5
37616
37617 ac_cv_header_esd_h=no
37618 fi
37619
37620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37621 fi
37622 { echo "$as_me:$LINENO: result: $ac_cv_header_esd_h" >&5
37623 echo "${ECHO_T}$ac_cv_header_esd_h" >&6; }
37624 if test $ac_cv_header_esd_h = yes; then
37625
37626 EXTRALIBS_ESD="-lesd"
37627
37628 fi
37629
37630
37631
37632 fi
37633
37634
37635
37636 { echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
37637 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6; }
37638 cat >conftest.$ac_ext <<_ACEOF
37639 /* confdefs.h. */
37640 _ACEOF
37641 cat confdefs.h >>conftest.$ac_ext
37642 cat >>conftest.$ac_ext <<_ACEOF
37643 /* end confdefs.h. */
37644 #ifdef __linux__
37645 #include <linux/cdrom.h>
37646 #else
37647 /* For Solaris */
37648 #include <sys/cdio.h>
37649 #endif
37650
37651 int
37652 main ()
37653 {
37654 struct cdrom_tocentry entry, old_entry;
37655 ;
37656 return 0;
37657 }
37658 _ACEOF
37659 rm -f conftest.$ac_objext
37660 if { (ac_try="$ac_compile"
37661 case "(($ac_try" in
37662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37663 *) ac_try_echo=$ac_try;;
37664 esac
37665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37666 (eval "$ac_compile") 2>conftest.er1
37667 ac_status=$?
37668 grep -v '^ *+' conftest.er1 >conftest.err
37669 rm -f conftest.er1
37670 cat conftest.err >&5
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); } && {
37673 test -z "$ac_c_werror_flag" ||
37674 test ! -s conftest.err
37675 } && test -s conftest.$ac_objext; then
37676 { echo "$as_me:$LINENO: result: yes" >&5
37677 echo "${ECHO_T}yes" >&6; }
37678 cat >>confdefs.h <<\_ACEOF
37679 #define HAVE_KNOWN_CDROM_INTERFACE 1
37680 _ACEOF
37681
37682 else
37683 echo "$as_me: failed program was:" >&5
37684 sed 's/^/| /' conftest.$ac_ext >&5
37685
37686 { echo "$as_me:$LINENO: result: no" >&5
37687 echo "${ECHO_T}no" >&6; }
37688 fi
37689
37690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37691
37692
37693 cat >confcache <<\_ACEOF
37694 # This file is a shell script that caches the results of configure
37695 # tests run on this system so they can be shared between configure
37696 # scripts and configure runs, see configure's option --config-cache.
37697 # It is not useful on other systems. If it contains results you don't
37698 # want to keep, you may remove or edit it.
37699 #
37700 # config.status only pays attention to the cache file if you give it
37701 # the --recheck option to rerun configure.
37702 #
37703 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37704 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37705 # following values.
37706
37707 _ACEOF
37708
37709 # The following way of writing the cache mishandles newlines in values,
37710 # but we know of no workaround that is simple, portable, and efficient.
37711 # So, we kill variables containing newlines.
37712 # Ultrix sh set writes to stderr and can't be redirected directly,
37713 # and sets the high bit in the cache file unless we assign to the vars.
37714 (
37715 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37716 eval ac_val=\$$ac_var
37717 case $ac_val in #(
37718 *${as_nl}*)
37719 case $ac_var in #(
37720 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37721 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37722 esac
37723 case $ac_var in #(
37724 _ | IFS | as_nl) ;; #(
37725 *) $as_unset $ac_var ;;
37726 esac ;;
37727 esac
37728 done
37729
37730 (set) 2>&1 |
37731 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37732 *${as_nl}ac_space=\ *)
37733 # `set' does not quote correctly, so add quotes (double-quote
37734 # substitution turns \\\\ into \\, and sed turns \\ into \).
37735 sed -n \
37736 "s/'/'\\\\''/g;
37737 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37738 ;; #(
37739 *)
37740 # `set' quotes correctly as required by POSIX, so do not add quotes.
37741 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37742 ;;
37743 esac |
37744 sort
37745 ) |
37746 sed '
37747 /^ac_cv_env_/b end
37748 t clear
37749 :clear
37750 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37751 t end
37752 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37753 :end' >>confcache
37754 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37755 if test -w "$cache_file"; then
37756 test "x$cache_file" != "x/dev/null" &&
37757 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37758 echo "$as_me: updating cache $cache_file" >&6;}
37759 cat confcache >$cache_file
37760 else
37761 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37762 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37763 fi
37764 fi
37765 rm -f confcache
37766
37767
37768 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37769
37770
37771 THREADS_LINK=
37772 THREADS_CFLAGS=
37773
37774 if test "$wxUSE_THREADS" = "yes" ; then
37775 if test "$USE_BEOS" = 1; then
37776 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37777 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37778 wxUSE_THREADS="no"
37779 fi
37780 fi
37781
37782 if test "$wxUSE_THREADS" = "yes" ; then
37783
37784
37785 THREAD_OPTS="-pthread"
37786 case "${host}" in
37787 *-*-solaris2* | *-*-sunos4* )
37788 if test "x$GCC" = "xyes"; then
37789 THREAD_OPTS="-pthreads $THREAD_OPTS"
37790 else
37791 THREAD_OPTS="-mt $THREAD_OPTS"
37792 fi
37793 ;;
37794 *-*-freebsd*)
37795 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37796 ;;
37797 *-*-darwin* | *-*-cygwin* )
37798 THREAD_OPTS=""
37799 ;;
37800 *-*-aix*)
37801 THREAD_OPTS="pthreads"
37802 ;;
37803 *-hp-hpux* )
37804 if test "x$GCC" = "xyes"; then
37805 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37806 THREAD_OPTS=""
37807 else
37808 THREAD_OPTS="-mt"
37809 fi
37810 ;;
37811
37812 *-*-irix* )
37813 if test "x$GCC" = "xyes"; then
37814 THREAD_OPTS=""
37815 fi
37816 ;;
37817
37818 *-*-*UnixWare*)
37819 if test "x$GCC" != "xyes"; then
37820 THREAD_OPTS="-Ethread"
37821 fi
37822 ;;
37823 esac
37824
37825 THREAD_OPTS="$THREAD_OPTS pthread none"
37826
37827 THREADS_OK=no
37828 for flag in $THREAD_OPTS; do
37829 case $flag in
37830 none)
37831 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37832 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37833 ;;
37834
37835 -*)
37836 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37837 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37838 THREADS_CFLAGS="$flag"
37839 ;;
37840
37841 *)
37842 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37843 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37844 THREADS_LINK="-l$flag"
37845 ;;
37846 esac
37847
37848 save_LIBS="$LIBS"
37849 save_CFLAGS="$CFLAGS"
37850 LIBS="$THREADS_LINK $LIBS"
37851 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37852
37853 cat >conftest.$ac_ext <<_ACEOF
37854 /* confdefs.h. */
37855 _ACEOF
37856 cat confdefs.h >>conftest.$ac_ext
37857 cat >>conftest.$ac_ext <<_ACEOF
37858 /* end confdefs.h. */
37859 #include <pthread.h>
37860 int
37861 main ()
37862 {
37863 pthread_create(0,0,0,0);
37864 ;
37865 return 0;
37866 }
37867 _ACEOF
37868 rm -f conftest.$ac_objext conftest$ac_exeext
37869 if { (ac_try="$ac_link"
37870 case "(($ac_try" in
37871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37872 *) ac_try_echo=$ac_try;;
37873 esac
37874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37875 (eval "$ac_link") 2>conftest.er1
37876 ac_status=$?
37877 grep -v '^ *+' conftest.er1 >conftest.err
37878 rm -f conftest.er1
37879 cat conftest.err >&5
37880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37881 (exit $ac_status); } && {
37882 test -z "$ac_c_werror_flag" ||
37883 test ! -s conftest.err
37884 } && test -s conftest$ac_exeext &&
37885 $as_test_x conftest$ac_exeext; then
37886 THREADS_OK=yes
37887 else
37888 echo "$as_me: failed program was:" >&5
37889 sed 's/^/| /' conftest.$ac_ext >&5
37890
37891
37892 fi
37893
37894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37895 conftest$ac_exeext conftest.$ac_ext
37896
37897 LIBS="$save_LIBS"
37898 CFLAGS="$save_CFLAGS"
37899
37900 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37901 echo "${ECHO_T}$THREADS_OK" >&6; }
37902 if test "x$THREADS_OK" = "xyes"; then
37903 break;
37904 fi
37905
37906 THREADS_LINK=""
37907 THREADS_CFLAGS=""
37908 done
37909
37910 if test "x$THREADS_OK" != "xyes"; then
37911 wxUSE_THREADS=no
37912 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37913 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37914 else
37915 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37916 LIBS="$THREADS_LINK $LIBS"
37917
37918 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37919 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37920 flag=no
37921 case "${host}" in
37922 *-aix*)
37923 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37924 flag="-D_THREAD_SAFE"
37925 ;;
37926 *-freebsd*)
37927 flag="-D_THREAD_SAFE"
37928 ;;
37929 *-hp-hpux* )
37930 flag="-D_REENTRANT"
37931 if test "x$GCC" != "xyes"; then
37932 flag="$flag -D_RWSTD_MULTI_THREAD"
37933 fi
37934 ;;
37935 *solaris* | alpha*-osf*)
37936 flag="-D_REENTRANT"
37937 ;;
37938 esac
37939 { echo "$as_me:$LINENO: result: ${flag}" >&5
37940 echo "${ECHO_T}${flag}" >&6; }
37941 if test "x$flag" != xno; then
37942 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37943 fi
37944
37945 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37946 fi
37947 fi
37948
37949 if test "$wxUSE_THREADS" = "yes" ; then
37950
37951 for ac_func in thr_setconcurrency
37952 do
37953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37954 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37956 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37957 echo $ECHO_N "(cached) $ECHO_C" >&6
37958 else
37959 cat >conftest.$ac_ext <<_ACEOF
37960 /* confdefs.h. */
37961 _ACEOF
37962 cat confdefs.h >>conftest.$ac_ext
37963 cat >>conftest.$ac_ext <<_ACEOF
37964 /* end confdefs.h. */
37965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37967 #define $ac_func innocuous_$ac_func
37968
37969 /* System header to define __stub macros and hopefully few prototypes,
37970 which can conflict with char $ac_func (); below.
37971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37972 <limits.h> exists even on freestanding compilers. */
37973
37974 #ifdef __STDC__
37975 # include <limits.h>
37976 #else
37977 # include <assert.h>
37978 #endif
37979
37980 #undef $ac_func
37981
37982 /* Override any GCC internal prototype to avoid an error.
37983 Use char because int might match the return type of a GCC
37984 builtin and then its argument prototype would still apply. */
37985 #ifdef __cplusplus
37986 extern "C"
37987 #endif
37988 char $ac_func ();
37989 /* The GNU C library defines this for functions which it implements
37990 to always fail with ENOSYS. Some functions are actually named
37991 something starting with __ and the normal name is an alias. */
37992 #if defined __stub_$ac_func || defined __stub___$ac_func
37993 choke me
37994 #endif
37995
37996 int
37997 main ()
37998 {
37999 return $ac_func ();
38000 ;
38001 return 0;
38002 }
38003 _ACEOF
38004 rm -f conftest.$ac_objext conftest$ac_exeext
38005 if { (ac_try="$ac_link"
38006 case "(($ac_try" in
38007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38008 *) ac_try_echo=$ac_try;;
38009 esac
38010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38011 (eval "$ac_link") 2>conftest.er1
38012 ac_status=$?
38013 grep -v '^ *+' conftest.er1 >conftest.err
38014 rm -f conftest.er1
38015 cat conftest.err >&5
38016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38017 (exit $ac_status); } && {
38018 test -z "$ac_c_werror_flag" ||
38019 test ! -s conftest.err
38020 } && test -s conftest$ac_exeext &&
38021 $as_test_x conftest$ac_exeext; then
38022 eval "$as_ac_var=yes"
38023 else
38024 echo "$as_me: failed program was:" >&5
38025 sed 's/^/| /' conftest.$ac_ext >&5
38026
38027 eval "$as_ac_var=no"
38028 fi
38029
38030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38031 conftest$ac_exeext conftest.$ac_ext
38032 fi
38033 ac_res=`eval echo '${'$as_ac_var'}'`
38034 { echo "$as_me:$LINENO: result: $ac_res" >&5
38035 echo "${ECHO_T}$ac_res" >&6; }
38036 if test `eval echo '${'$as_ac_var'}'` = yes; then
38037 cat >>confdefs.h <<_ACEOF
38038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38039 _ACEOF
38040
38041 fi
38042 done
38043
38044
38045 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38046 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38047 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38048 echo $ECHO_N "(cached) $ECHO_C" >&6
38049 else
38050
38051 cat >conftest.$ac_ext <<_ACEOF
38052 /* confdefs.h. */
38053 _ACEOF
38054 cat confdefs.h >>conftest.$ac_ext
38055 cat >>conftest.$ac_ext <<_ACEOF
38056 /* end confdefs.h. */
38057 #include <pthread.h>
38058 void ThreadCleanupFunc(void *p);
38059
38060 int
38061 main ()
38062 {
38063
38064 void *p;
38065 pthread_cleanup_push(ThreadCleanupFunc, p);
38066 pthread_cleanup_pop(0);
38067
38068 ;
38069 return 0;
38070 }
38071 _ACEOF
38072 rm -f conftest.$ac_objext
38073 if { (ac_try="$ac_compile"
38074 case "(($ac_try" in
38075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38076 *) ac_try_echo=$ac_try;;
38077 esac
38078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38079 (eval "$ac_compile") 2>conftest.er1
38080 ac_status=$?
38081 grep -v '^ *+' conftest.er1 >conftest.err
38082 rm -f conftest.er1
38083 cat conftest.err >&5
38084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085 (exit $ac_status); } && {
38086 test -z "$ac_c_werror_flag" ||
38087 test ! -s conftest.err
38088 } && test -s conftest.$ac_objext; then
38089
38090 wx_cv_func_pthread_cleanup=yes
38091
38092 else
38093 echo "$as_me: failed program was:" >&5
38094 sed 's/^/| /' conftest.$ac_ext >&5
38095
38096
38097 wx_cv_func_pthread_cleanup=no
38098
38099
38100 fi
38101
38102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38103
38104 fi
38105 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38106 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38107 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38108 cat >>confdefs.h <<\_ACEOF
38109 #define wxHAVE_PTHREAD_CLEANUP 1
38110 _ACEOF
38111
38112 fi
38113
38114 { echo "$as_me:$LINENO: checking for sched.h" >&5
38115 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38116 if test "${ac_cv_header_sched_h+set}" = set; then
38117 echo $ECHO_N "(cached) $ECHO_C" >&6
38118 else
38119 cat >conftest.$ac_ext <<_ACEOF
38120 /* confdefs.h. */
38121 _ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38125 $ac_includes_default
38126
38127 #include <sched.h>
38128 _ACEOF
38129 rm -f conftest.$ac_objext
38130 if { (ac_try="$ac_compile"
38131 case "(($ac_try" in
38132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38133 *) ac_try_echo=$ac_try;;
38134 esac
38135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38136 (eval "$ac_compile") 2>conftest.er1
38137 ac_status=$?
38138 grep -v '^ *+' conftest.er1 >conftest.err
38139 rm -f conftest.er1
38140 cat conftest.err >&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); } && {
38143 test -z "$ac_c_werror_flag" ||
38144 test ! -s conftest.err
38145 } && test -s conftest.$ac_objext; then
38146 ac_cv_header_sched_h=yes
38147 else
38148 echo "$as_me: failed program was:" >&5
38149 sed 's/^/| /' conftest.$ac_ext >&5
38150
38151 ac_cv_header_sched_h=no
38152 fi
38153
38154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38155 fi
38156 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38157 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38158
38159
38160 if test "$ac_cv_header_sched_h" = "yes"; then
38161 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38162 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38163 if test "${ac_cv_func_sched_yield+set}" = set; then
38164 echo $ECHO_N "(cached) $ECHO_C" >&6
38165 else
38166 cat >conftest.$ac_ext <<_ACEOF
38167 /* confdefs.h. */
38168 _ACEOF
38169 cat confdefs.h >>conftest.$ac_ext
38170 cat >>conftest.$ac_ext <<_ACEOF
38171 /* end confdefs.h. */
38172 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38174 #define sched_yield innocuous_sched_yield
38175
38176 /* System header to define __stub macros and hopefully few prototypes,
38177 which can conflict with char sched_yield (); below.
38178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38179 <limits.h> exists even on freestanding compilers. */
38180
38181 #ifdef __STDC__
38182 # include <limits.h>
38183 #else
38184 # include <assert.h>
38185 #endif
38186
38187 #undef sched_yield
38188
38189 /* Override any GCC internal prototype to avoid an error.
38190 Use char because int might match the return type of a GCC
38191 builtin and then its argument prototype would still apply. */
38192 #ifdef __cplusplus
38193 extern "C"
38194 #endif
38195 char sched_yield ();
38196 /* The GNU C library defines this for functions which it implements
38197 to always fail with ENOSYS. Some functions are actually named
38198 something starting with __ and the normal name is an alias. */
38199 #if defined __stub_sched_yield || defined __stub___sched_yield
38200 choke me
38201 #endif
38202
38203 int
38204 main ()
38205 {
38206 return sched_yield ();
38207 ;
38208 return 0;
38209 }
38210 _ACEOF
38211 rm -f conftest.$ac_objext conftest$ac_exeext
38212 if { (ac_try="$ac_link"
38213 case "(($ac_try" in
38214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38215 *) ac_try_echo=$ac_try;;
38216 esac
38217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38218 (eval "$ac_link") 2>conftest.er1
38219 ac_status=$?
38220 grep -v '^ *+' conftest.er1 >conftest.err
38221 rm -f conftest.er1
38222 cat conftest.err >&5
38223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38224 (exit $ac_status); } && {
38225 test -z "$ac_c_werror_flag" ||
38226 test ! -s conftest.err
38227 } && test -s conftest$ac_exeext &&
38228 $as_test_x conftest$ac_exeext; then
38229 ac_cv_func_sched_yield=yes
38230 else
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.$ac_ext >&5
38233
38234 ac_cv_func_sched_yield=no
38235 fi
38236
38237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38238 conftest$ac_exeext conftest.$ac_ext
38239 fi
38240 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38241 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38242 if test $ac_cv_func_sched_yield = yes; then
38243 cat >>confdefs.h <<\_ACEOF
38244 #define HAVE_SCHED_YIELD 1
38245 _ACEOF
38246
38247 else
38248
38249 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38250 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38251 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38252 echo $ECHO_N "(cached) $ECHO_C" >&6
38253 else
38254 ac_check_lib_save_LIBS=$LIBS
38255 LIBS="-lposix4 $LIBS"
38256 cat >conftest.$ac_ext <<_ACEOF
38257 /* confdefs.h. */
38258 _ACEOF
38259 cat confdefs.h >>conftest.$ac_ext
38260 cat >>conftest.$ac_ext <<_ACEOF
38261 /* end confdefs.h. */
38262
38263 /* Override any GCC internal prototype to avoid an error.
38264 Use char because int might match the return type of a GCC
38265 builtin and then its argument prototype would still apply. */
38266 #ifdef __cplusplus
38267 extern "C"
38268 #endif
38269 char sched_yield ();
38270 int
38271 main ()
38272 {
38273 return sched_yield ();
38274 ;
38275 return 0;
38276 }
38277 _ACEOF
38278 rm -f conftest.$ac_objext conftest$ac_exeext
38279 if { (ac_try="$ac_link"
38280 case "(($ac_try" in
38281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38282 *) ac_try_echo=$ac_try;;
38283 esac
38284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38285 (eval "$ac_link") 2>conftest.er1
38286 ac_status=$?
38287 grep -v '^ *+' conftest.er1 >conftest.err
38288 rm -f conftest.er1
38289 cat conftest.err >&5
38290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38291 (exit $ac_status); } && {
38292 test -z "$ac_c_werror_flag" ||
38293 test ! -s conftest.err
38294 } && test -s conftest$ac_exeext &&
38295 $as_test_x conftest$ac_exeext; then
38296 ac_cv_lib_posix4_sched_yield=yes
38297 else
38298 echo "$as_me: failed program was:" >&5
38299 sed 's/^/| /' conftest.$ac_ext >&5
38300
38301 ac_cv_lib_posix4_sched_yield=no
38302 fi
38303
38304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38305 conftest$ac_exeext conftest.$ac_ext
38306 LIBS=$ac_check_lib_save_LIBS
38307 fi
38308 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38309 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38310 if test $ac_cv_lib_posix4_sched_yield = yes; then
38311 cat >>confdefs.h <<\_ACEOF
38312 #define HAVE_SCHED_YIELD 1
38313 _ACEOF
38314 POSIX4_LINK=" -lposix4"
38315 else
38316 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38317 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38318
38319 fi
38320
38321
38322
38323 fi
38324
38325 fi
38326
38327 HAVE_PRIOR_FUNCS=0
38328 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38329 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38330 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38331 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 else
38333 cat >conftest.$ac_ext <<_ACEOF
38334 /* confdefs.h. */
38335 _ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38339 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38341 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38342
38343 /* System header to define __stub macros and hopefully few prototypes,
38344 which can conflict with char pthread_attr_getschedpolicy (); below.
38345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38346 <limits.h> exists even on freestanding compilers. */
38347
38348 #ifdef __STDC__
38349 # include <limits.h>
38350 #else
38351 # include <assert.h>
38352 #endif
38353
38354 #undef pthread_attr_getschedpolicy
38355
38356 /* Override any GCC internal prototype to avoid an error.
38357 Use char because int might match the return type of a GCC
38358 builtin and then its argument prototype would still apply. */
38359 #ifdef __cplusplus
38360 extern "C"
38361 #endif
38362 char pthread_attr_getschedpolicy ();
38363 /* The GNU C library defines this for functions which it implements
38364 to always fail with ENOSYS. Some functions are actually named
38365 something starting with __ and the normal name is an alias. */
38366 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38367 choke me
38368 #endif
38369
38370 int
38371 main ()
38372 {
38373 return pthread_attr_getschedpolicy ();
38374 ;
38375 return 0;
38376 }
38377 _ACEOF
38378 rm -f conftest.$ac_objext conftest$ac_exeext
38379 if { (ac_try="$ac_link"
38380 case "(($ac_try" in
38381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38382 *) ac_try_echo=$ac_try;;
38383 esac
38384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38385 (eval "$ac_link") 2>conftest.er1
38386 ac_status=$?
38387 grep -v '^ *+' conftest.er1 >conftest.err
38388 rm -f conftest.er1
38389 cat conftest.err >&5
38390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38391 (exit $ac_status); } && {
38392 test -z "$ac_c_werror_flag" ||
38393 test ! -s conftest.err
38394 } && test -s conftest$ac_exeext &&
38395 $as_test_x conftest$ac_exeext; then
38396 ac_cv_func_pthread_attr_getschedpolicy=yes
38397 else
38398 echo "$as_me: failed program was:" >&5
38399 sed 's/^/| /' conftest.$ac_ext >&5
38400
38401 ac_cv_func_pthread_attr_getschedpolicy=no
38402 fi
38403
38404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38405 conftest$ac_exeext conftest.$ac_ext
38406 fi
38407 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38408 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38409 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38410 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38411 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38412 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38413 echo $ECHO_N "(cached) $ECHO_C" >&6
38414 else
38415 cat >conftest.$ac_ext <<_ACEOF
38416 /* confdefs.h. */
38417 _ACEOF
38418 cat confdefs.h >>conftest.$ac_ext
38419 cat >>conftest.$ac_ext <<_ACEOF
38420 /* end confdefs.h. */
38421 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38423 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38424
38425 /* System header to define __stub macros and hopefully few prototypes,
38426 which can conflict with char pthread_attr_setschedparam (); below.
38427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38428 <limits.h> exists even on freestanding compilers. */
38429
38430 #ifdef __STDC__
38431 # include <limits.h>
38432 #else
38433 # include <assert.h>
38434 #endif
38435
38436 #undef pthread_attr_setschedparam
38437
38438 /* Override any GCC internal prototype to avoid an error.
38439 Use char because int might match the return type of a GCC
38440 builtin and then its argument prototype would still apply. */
38441 #ifdef __cplusplus
38442 extern "C"
38443 #endif
38444 char pthread_attr_setschedparam ();
38445 /* The GNU C library defines this for functions which it implements
38446 to always fail with ENOSYS. Some functions are actually named
38447 something starting with __ and the normal name is an alias. */
38448 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38449 choke me
38450 #endif
38451
38452 int
38453 main ()
38454 {
38455 return pthread_attr_setschedparam ();
38456 ;
38457 return 0;
38458 }
38459 _ACEOF
38460 rm -f conftest.$ac_objext conftest$ac_exeext
38461 if { (ac_try="$ac_link"
38462 case "(($ac_try" in
38463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38464 *) ac_try_echo=$ac_try;;
38465 esac
38466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38467 (eval "$ac_link") 2>conftest.er1
38468 ac_status=$?
38469 grep -v '^ *+' conftest.er1 >conftest.err
38470 rm -f conftest.er1
38471 cat conftest.err >&5
38472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38473 (exit $ac_status); } && {
38474 test -z "$ac_c_werror_flag" ||
38475 test ! -s conftest.err
38476 } && test -s conftest$ac_exeext &&
38477 $as_test_x conftest$ac_exeext; then
38478 ac_cv_func_pthread_attr_setschedparam=yes
38479 else
38480 echo "$as_me: failed program was:" >&5
38481 sed 's/^/| /' conftest.$ac_ext >&5
38482
38483 ac_cv_func_pthread_attr_setschedparam=no
38484 fi
38485
38486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38487 conftest$ac_exeext conftest.$ac_ext
38488 fi
38489 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38490 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38491 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38492 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38493 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38494 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38496 else
38497 cat >conftest.$ac_ext <<_ACEOF
38498 /* confdefs.h. */
38499 _ACEOF
38500 cat confdefs.h >>conftest.$ac_ext
38501 cat >>conftest.$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38503 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38505 #define sched_get_priority_max innocuous_sched_get_priority_max
38506
38507 /* System header to define __stub macros and hopefully few prototypes,
38508 which can conflict with char sched_get_priority_max (); below.
38509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38510 <limits.h> exists even on freestanding compilers. */
38511
38512 #ifdef __STDC__
38513 # include <limits.h>
38514 #else
38515 # include <assert.h>
38516 #endif
38517
38518 #undef sched_get_priority_max
38519
38520 /* Override any GCC internal prototype to avoid an error.
38521 Use char because int might match the return type of a GCC
38522 builtin and then its argument prototype would still apply. */
38523 #ifdef __cplusplus
38524 extern "C"
38525 #endif
38526 char sched_get_priority_max ();
38527 /* The GNU C library defines this for functions which it implements
38528 to always fail with ENOSYS. Some functions are actually named
38529 something starting with __ and the normal name is an alias. */
38530 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38531 choke me
38532 #endif
38533
38534 int
38535 main ()
38536 {
38537 return sched_get_priority_max ();
38538 ;
38539 return 0;
38540 }
38541 _ACEOF
38542 rm -f conftest.$ac_objext conftest$ac_exeext
38543 if { (ac_try="$ac_link"
38544 case "(($ac_try" in
38545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38546 *) ac_try_echo=$ac_try;;
38547 esac
38548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38549 (eval "$ac_link") 2>conftest.er1
38550 ac_status=$?
38551 grep -v '^ *+' conftest.er1 >conftest.err
38552 rm -f conftest.er1
38553 cat conftest.err >&5
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); } && {
38556 test -z "$ac_c_werror_flag" ||
38557 test ! -s conftest.err
38558 } && test -s conftest$ac_exeext &&
38559 $as_test_x conftest$ac_exeext; then
38560 ac_cv_func_sched_get_priority_max=yes
38561 else
38562 echo "$as_me: failed program was:" >&5
38563 sed 's/^/| /' conftest.$ac_ext >&5
38564
38565 ac_cv_func_sched_get_priority_max=no
38566 fi
38567
38568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38569 conftest$ac_exeext conftest.$ac_ext
38570 fi
38571 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38572 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38573 if test $ac_cv_func_sched_get_priority_max = yes; then
38574 HAVE_PRIOR_FUNCS=1
38575 else
38576 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38577 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38578 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38579 echo $ECHO_N "(cached) $ECHO_C" >&6
38580 else
38581 ac_check_lib_save_LIBS=$LIBS
38582 LIBS="-lposix4 $LIBS"
38583 cat >conftest.$ac_ext <<_ACEOF
38584 /* confdefs.h. */
38585 _ACEOF
38586 cat confdefs.h >>conftest.$ac_ext
38587 cat >>conftest.$ac_ext <<_ACEOF
38588 /* end confdefs.h. */
38589
38590 /* Override any GCC internal prototype to avoid an error.
38591 Use char because int might match the return type of a GCC
38592 builtin and then its argument prototype would still apply. */
38593 #ifdef __cplusplus
38594 extern "C"
38595 #endif
38596 char sched_get_priority_max ();
38597 int
38598 main ()
38599 {
38600 return sched_get_priority_max ();
38601 ;
38602 return 0;
38603 }
38604 _ACEOF
38605 rm -f conftest.$ac_objext conftest$ac_exeext
38606 if { (ac_try="$ac_link"
38607 case "(($ac_try" in
38608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38609 *) ac_try_echo=$ac_try;;
38610 esac
38611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38612 (eval "$ac_link") 2>conftest.er1
38613 ac_status=$?
38614 grep -v '^ *+' conftest.er1 >conftest.err
38615 rm -f conftest.er1
38616 cat conftest.err >&5
38617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618 (exit $ac_status); } && {
38619 test -z "$ac_c_werror_flag" ||
38620 test ! -s conftest.err
38621 } && test -s conftest$ac_exeext &&
38622 $as_test_x conftest$ac_exeext; then
38623 ac_cv_lib_posix4_sched_get_priority_max=yes
38624 else
38625 echo "$as_me: failed program was:" >&5
38626 sed 's/^/| /' conftest.$ac_ext >&5
38627
38628 ac_cv_lib_posix4_sched_get_priority_max=no
38629 fi
38630
38631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38632 conftest$ac_exeext conftest.$ac_ext
38633 LIBS=$ac_check_lib_save_LIBS
38634 fi
38635 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38636 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38637 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38638
38639 HAVE_PRIOR_FUNCS=1
38640 POSIX4_LINK=" -lposix4"
38641
38642 fi
38643
38644
38645 fi
38646
38647
38648 fi
38649
38650
38651 fi
38652
38653
38654 if test "$HAVE_PRIOR_FUNCS" = 1; then
38655 cat >>confdefs.h <<\_ACEOF
38656 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38657 _ACEOF
38658
38659 else
38660 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38661 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38662 fi
38663
38664 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38665 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38666 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38667 echo $ECHO_N "(cached) $ECHO_C" >&6
38668 else
38669 cat >conftest.$ac_ext <<_ACEOF
38670 /* confdefs.h. */
38671 _ACEOF
38672 cat confdefs.h >>conftest.$ac_ext
38673 cat >>conftest.$ac_ext <<_ACEOF
38674 /* end confdefs.h. */
38675 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38677 #define pthread_cancel innocuous_pthread_cancel
38678
38679 /* System header to define __stub macros and hopefully few prototypes,
38680 which can conflict with char pthread_cancel (); below.
38681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38682 <limits.h> exists even on freestanding compilers. */
38683
38684 #ifdef __STDC__
38685 # include <limits.h>
38686 #else
38687 # include <assert.h>
38688 #endif
38689
38690 #undef pthread_cancel
38691
38692 /* Override any GCC internal prototype to avoid an error.
38693 Use char because int might match the return type of a GCC
38694 builtin and then its argument prototype would still apply. */
38695 #ifdef __cplusplus
38696 extern "C"
38697 #endif
38698 char pthread_cancel ();
38699 /* The GNU C library defines this for functions which it implements
38700 to always fail with ENOSYS. Some functions are actually named
38701 something starting with __ and the normal name is an alias. */
38702 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38703 choke me
38704 #endif
38705
38706 int
38707 main ()
38708 {
38709 return pthread_cancel ();
38710 ;
38711 return 0;
38712 }
38713 _ACEOF
38714 rm -f conftest.$ac_objext conftest$ac_exeext
38715 if { (ac_try="$ac_link"
38716 case "(($ac_try" in
38717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38718 *) ac_try_echo=$ac_try;;
38719 esac
38720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38721 (eval "$ac_link") 2>conftest.er1
38722 ac_status=$?
38723 grep -v '^ *+' conftest.er1 >conftest.err
38724 rm -f conftest.er1
38725 cat conftest.err >&5
38726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727 (exit $ac_status); } && {
38728 test -z "$ac_c_werror_flag" ||
38729 test ! -s conftest.err
38730 } && test -s conftest$ac_exeext &&
38731 $as_test_x conftest$ac_exeext; then
38732 ac_cv_func_pthread_cancel=yes
38733 else
38734 echo "$as_me: failed program was:" >&5
38735 sed 's/^/| /' conftest.$ac_ext >&5
38736
38737 ac_cv_func_pthread_cancel=no
38738 fi
38739
38740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38741 conftest$ac_exeext conftest.$ac_ext
38742 fi
38743 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38744 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38745 if test $ac_cv_func_pthread_cancel = yes; then
38746 cat >>confdefs.h <<\_ACEOF
38747 #define HAVE_PTHREAD_CANCEL 1
38748 _ACEOF
38749
38750 else
38751 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38752 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38753 fi
38754
38755
38756 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38757 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38758 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38759 echo $ECHO_N "(cached) $ECHO_C" >&6
38760 else
38761 cat >conftest.$ac_ext <<_ACEOF
38762 /* confdefs.h. */
38763 _ACEOF
38764 cat confdefs.h >>conftest.$ac_ext
38765 cat >>conftest.$ac_ext <<_ACEOF
38766 /* end confdefs.h. */
38767 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38768 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38769 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38770
38771 /* System header to define __stub macros and hopefully few prototypes,
38772 which can conflict with char pthread_mutex_timedlock (); below.
38773 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38774 <limits.h> exists even on freestanding compilers. */
38775
38776 #ifdef __STDC__
38777 # include <limits.h>
38778 #else
38779 # include <assert.h>
38780 #endif
38781
38782 #undef pthread_mutex_timedlock
38783
38784 /* Override any GCC internal prototype to avoid an error.
38785 Use char because int might match the return type of a GCC
38786 builtin and then its argument prototype would still apply. */
38787 #ifdef __cplusplus
38788 extern "C"
38789 #endif
38790 char pthread_mutex_timedlock ();
38791 /* The GNU C library defines this for functions which it implements
38792 to always fail with ENOSYS. Some functions are actually named
38793 something starting with __ and the normal name is an alias. */
38794 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38795 choke me
38796 #endif
38797
38798 int
38799 main ()
38800 {
38801 return pthread_mutex_timedlock ();
38802 ;
38803 return 0;
38804 }
38805 _ACEOF
38806 rm -f conftest.$ac_objext conftest$ac_exeext
38807 if { (ac_try="$ac_link"
38808 case "(($ac_try" in
38809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38810 *) ac_try_echo=$ac_try;;
38811 esac
38812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38813 (eval "$ac_link") 2>conftest.er1
38814 ac_status=$?
38815 grep -v '^ *+' conftest.er1 >conftest.err
38816 rm -f conftest.er1
38817 cat conftest.err >&5
38818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38819 (exit $ac_status); } && {
38820 test -z "$ac_c_werror_flag" ||
38821 test ! -s conftest.err
38822 } && test -s conftest$ac_exeext &&
38823 $as_test_x conftest$ac_exeext; then
38824 ac_cv_func_pthread_mutex_timedlock=yes
38825 else
38826 echo "$as_me: failed program was:" >&5
38827 sed 's/^/| /' conftest.$ac_ext >&5
38828
38829 ac_cv_func_pthread_mutex_timedlock=no
38830 fi
38831
38832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38833 conftest$ac_exeext conftest.$ac_ext
38834 fi
38835 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38836 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38837 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38838 cat >>confdefs.h <<\_ACEOF
38839 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38840 _ACEOF
38841
38842 else
38843 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38844 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38845 fi
38846
38847
38848 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38849 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38850 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38852 else
38853 cat >conftest.$ac_ext <<_ACEOF
38854 /* confdefs.h. */
38855 _ACEOF
38856 cat confdefs.h >>conftest.$ac_ext
38857 cat >>conftest.$ac_ext <<_ACEOF
38858 /* end confdefs.h. */
38859 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38861 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38862
38863 /* System header to define __stub macros and hopefully few prototypes,
38864 which can conflict with char pthread_attr_setstacksize (); below.
38865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38866 <limits.h> exists even on freestanding compilers. */
38867
38868 #ifdef __STDC__
38869 # include <limits.h>
38870 #else
38871 # include <assert.h>
38872 #endif
38873
38874 #undef pthread_attr_setstacksize
38875
38876 /* Override any GCC internal prototype to avoid an error.
38877 Use char because int might match the return type of a GCC
38878 builtin and then its argument prototype would still apply. */
38879 #ifdef __cplusplus
38880 extern "C"
38881 #endif
38882 char pthread_attr_setstacksize ();
38883 /* The GNU C library defines this for functions which it implements
38884 to always fail with ENOSYS. Some functions are actually named
38885 something starting with __ and the normal name is an alias. */
38886 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38887 choke me
38888 #endif
38889
38890 int
38891 main ()
38892 {
38893 return pthread_attr_setstacksize ();
38894 ;
38895 return 0;
38896 }
38897 _ACEOF
38898 rm -f conftest.$ac_objext conftest$ac_exeext
38899 if { (ac_try="$ac_link"
38900 case "(($ac_try" in
38901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38902 *) ac_try_echo=$ac_try;;
38903 esac
38904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38905 (eval "$ac_link") 2>conftest.er1
38906 ac_status=$?
38907 grep -v '^ *+' conftest.er1 >conftest.err
38908 rm -f conftest.er1
38909 cat conftest.err >&5
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); } && {
38912 test -z "$ac_c_werror_flag" ||
38913 test ! -s conftest.err
38914 } && test -s conftest$ac_exeext &&
38915 $as_test_x conftest$ac_exeext; then
38916 ac_cv_func_pthread_attr_setstacksize=yes
38917 else
38918 echo "$as_me: failed program was:" >&5
38919 sed 's/^/| /' conftest.$ac_ext >&5
38920
38921 ac_cv_func_pthread_attr_setstacksize=no
38922 fi
38923
38924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38925 conftest$ac_exeext conftest.$ac_ext
38926 fi
38927 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38928 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38929 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38930 cat >>confdefs.h <<\_ACEOF
38931 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38932 _ACEOF
38933
38934 fi
38935
38936
38937
38938 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38939 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38940 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38941 echo $ECHO_N "(cached) $ECHO_C" >&6
38942 else
38943
38944 cat >conftest.$ac_ext <<_ACEOF
38945 /* confdefs.h. */
38946 _ACEOF
38947 cat confdefs.h >>conftest.$ac_ext
38948 cat >>conftest.$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38950 #include <pthread.h>
38951 int
38952 main ()
38953 {
38954
38955 pthread_mutexattr_t attr;
38956 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38957
38958 ;
38959 return 0;
38960 }
38961 _ACEOF
38962 rm -f conftest.$ac_objext
38963 if { (ac_try="$ac_compile"
38964 case "(($ac_try" in
38965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38966 *) ac_try_echo=$ac_try;;
38967 esac
38968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38969 (eval "$ac_compile") 2>conftest.er1
38970 ac_status=$?
38971 grep -v '^ *+' conftest.er1 >conftest.err
38972 rm -f conftest.er1
38973 cat conftest.err >&5
38974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975 (exit $ac_status); } && {
38976 test -z "$ac_c_werror_flag" ||
38977 test ! -s conftest.err
38978 } && test -s conftest.$ac_objext; then
38979 wx_cv_type_pthread_mutexattr_t=yes
38980 else
38981 echo "$as_me: failed program was:" >&5
38982 sed 's/^/| /' conftest.$ac_ext >&5
38983
38984 wx_cv_type_pthread_mutexattr_t=no
38985
38986 fi
38987
38988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38989
38990 fi
38991 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38992 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38993
38994 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38995 cat >>confdefs.h <<\_ACEOF
38996 #define HAVE_PTHREAD_MUTEXATTR_T 1
38997 _ACEOF
38998
38999
39000 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39001 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39002 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39003 echo $ECHO_N "(cached) $ECHO_C" >&6
39004 else
39005
39006 cat >conftest.$ac_ext <<_ACEOF
39007 /* confdefs.h. */
39008 _ACEOF
39009 cat confdefs.h >>conftest.$ac_ext
39010 cat >>conftest.$ac_ext <<_ACEOF
39011 /* end confdefs.h. */
39012 #include <pthread.h>
39013 int
39014 main ()
39015 {
39016
39017 pthread_mutexattr_t attr;
39018 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39019
39020 ;
39021 return 0;
39022 }
39023 _ACEOF
39024 rm -f conftest.$ac_objext
39025 if { (ac_try="$ac_compile"
39026 case "(($ac_try" in
39027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39028 *) ac_try_echo=$ac_try;;
39029 esac
39030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39031 (eval "$ac_compile") 2>conftest.er1
39032 ac_status=$?
39033 grep -v '^ *+' conftest.er1 >conftest.err
39034 rm -f conftest.er1
39035 cat conftest.err >&5
39036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39037 (exit $ac_status); } && {
39038 test -z "$ac_c_werror_flag" ||
39039 test ! -s conftest.err
39040 } && test -s conftest.$ac_objext; then
39041 wx_cv_func_pthread_mutexattr_settype_decl=yes
39042 else
39043 echo "$as_me: failed program was:" >&5
39044 sed 's/^/| /' conftest.$ac_ext >&5
39045
39046 wx_cv_func_pthread_mutexattr_settype_decl=no
39047
39048 fi
39049
39050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39051
39052 fi
39053 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39054 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39055 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39056 cat >>confdefs.h <<\_ACEOF
39057 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39058 _ACEOF
39059
39060 fi
39061 else
39062 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39063 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39064 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39065 echo $ECHO_N "(cached) $ECHO_C" >&6
39066 else
39067
39068 cat >conftest.$ac_ext <<_ACEOF
39069 /* confdefs.h. */
39070 _ACEOF
39071 cat confdefs.h >>conftest.$ac_ext
39072 cat >>conftest.$ac_ext <<_ACEOF
39073 /* end confdefs.h. */
39074 #include <pthread.h>
39075 int
39076 main ()
39077 {
39078
39079 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39080
39081 ;
39082 return 0;
39083 }
39084 _ACEOF
39085 rm -f conftest.$ac_objext
39086 if { (ac_try="$ac_compile"
39087 case "(($ac_try" in
39088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39089 *) ac_try_echo=$ac_try;;
39090 esac
39091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39092 (eval "$ac_compile") 2>conftest.er1
39093 ac_status=$?
39094 grep -v '^ *+' conftest.er1 >conftest.err
39095 rm -f conftest.er1
39096 cat conftest.err >&5
39097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39098 (exit $ac_status); } && {
39099 test -z "$ac_c_werror_flag" ||
39100 test ! -s conftest.err
39101 } && test -s conftest.$ac_objext; then
39102
39103 wx_cv_type_pthread_rec_mutex_init=yes
39104
39105 else
39106 echo "$as_me: failed program was:" >&5
39107 sed 's/^/| /' conftest.$ac_ext >&5
39108
39109
39110 wx_cv_type_pthread_rec_mutex_init=no
39111
39112
39113 fi
39114
39115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39116
39117 fi
39118 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39119 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39120 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39121 cat >>confdefs.h <<\_ACEOF
39122 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39123 _ACEOF
39124
39125 else
39126 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39127 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39128 fi
39129 fi
39130 fi
39131
39132 else
39133 if test "$wxUSE_THREADS" = "yes" ; then
39134 case "${host}" in
39135 *-*-mingw32* )
39136 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39137 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39138 if test "${wx_cv_cflags_mthread+set}" = set; then
39139 echo $ECHO_N "(cached) $ECHO_C" >&6
39140 else
39141
39142 CFLAGS_OLD="$CFLAGS"
39143 CFLAGS="-mthreads $CFLAGS"
39144 cat >conftest.$ac_ext <<_ACEOF
39145 /* confdefs.h. */
39146 _ACEOF
39147 cat confdefs.h >>conftest.$ac_ext
39148 cat >>conftest.$ac_ext <<_ACEOF
39149 /* end confdefs.h. */
39150
39151 int
39152 main ()
39153 {
39154
39155 ;
39156 return 0;
39157 }
39158 _ACEOF
39159 rm -f conftest.$ac_objext
39160 if { (ac_try="$ac_compile"
39161 case "(($ac_try" in
39162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39163 *) ac_try_echo=$ac_try;;
39164 esac
39165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39166 (eval "$ac_compile") 2>conftest.er1
39167 ac_status=$?
39168 grep -v '^ *+' conftest.er1 >conftest.err
39169 rm -f conftest.er1
39170 cat conftest.err >&5
39171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39172 (exit $ac_status); } && {
39173 test -z "$ac_c_werror_flag" ||
39174 test ! -s conftest.err
39175 } && test -s conftest.$ac_objext; then
39176 wx_cv_cflags_mthread=yes
39177 else
39178 echo "$as_me: failed program was:" >&5
39179 sed 's/^/| /' conftest.$ac_ext >&5
39180
39181 wx_cv_cflags_mthread=no
39182
39183 fi
39184
39185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39186
39187
39188 fi
39189 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39190 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39191
39192 if test "$wx_cv_cflags_mthread" = "yes"; then
39193 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39194 LDFLAGS="$LDFLAGS -mthreads"
39195 else
39196 CFLAGS="$CFLAGS_OLD"
39197 fi
39198 ;;
39199 *-pc-os2*emx )
39200 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39201 LDFLAGS="$LDFLAGS -Zmt"
39202 ;;
39203 esac
39204 fi
39205 fi
39206
39207 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39208 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39209 if test "${ac_cv_func_localtime_r+set}" = set; then
39210 echo $ECHO_N "(cached) $ECHO_C" >&6
39211 else
39212 cat >conftest.$ac_ext <<_ACEOF
39213 /* confdefs.h. */
39214 _ACEOF
39215 cat confdefs.h >>conftest.$ac_ext
39216 cat >>conftest.$ac_ext <<_ACEOF
39217 /* end confdefs.h. */
39218 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39219 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39220 #define localtime_r innocuous_localtime_r
39221
39222 /* System header to define __stub macros and hopefully few prototypes,
39223 which can conflict with char localtime_r (); below.
39224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39225 <limits.h> exists even on freestanding compilers. */
39226
39227 #ifdef __STDC__
39228 # include <limits.h>
39229 #else
39230 # include <assert.h>
39231 #endif
39232
39233 #undef localtime_r
39234
39235 /* Override any GCC internal prototype to avoid an error.
39236 Use char because int might match the return type of a GCC
39237 builtin and then its argument prototype would still apply. */
39238 #ifdef __cplusplus
39239 extern "C"
39240 #endif
39241 char localtime_r ();
39242 /* The GNU C library defines this for functions which it implements
39243 to always fail with ENOSYS. Some functions are actually named
39244 something starting with __ and the normal name is an alias. */
39245 #if defined __stub_localtime_r || defined __stub___localtime_r
39246 choke me
39247 #endif
39248
39249 int
39250 main ()
39251 {
39252 return localtime_r ();
39253 ;
39254 return 0;
39255 }
39256 _ACEOF
39257 rm -f conftest.$ac_objext conftest$ac_exeext
39258 if { (ac_try="$ac_link"
39259 case "(($ac_try" in
39260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39261 *) ac_try_echo=$ac_try;;
39262 esac
39263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39264 (eval "$ac_link") 2>conftest.er1
39265 ac_status=$?
39266 grep -v '^ *+' conftest.er1 >conftest.err
39267 rm -f conftest.er1
39268 cat conftest.err >&5
39269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39270 (exit $ac_status); } && {
39271 test -z "$ac_c_werror_flag" ||
39272 test ! -s conftest.err
39273 } && test -s conftest$ac_exeext &&
39274 $as_test_x conftest$ac_exeext; then
39275 ac_cv_func_localtime_r=yes
39276 else
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.$ac_ext >&5
39279
39280 ac_cv_func_localtime_r=no
39281 fi
39282
39283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39284 conftest$ac_exeext conftest.$ac_ext
39285 fi
39286 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39287 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39288 if test $ac_cv_func_localtime_r = yes; then
39289 cat >>confdefs.h <<\_ACEOF
39290 #define HAVE_LOCALTIME_R 1
39291 _ACEOF
39292
39293 fi
39294
39295 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39296 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39297 if test "${ac_cv_func_gmtime_r+set}" = set; then
39298 echo $ECHO_N "(cached) $ECHO_C" >&6
39299 else
39300 cat >conftest.$ac_ext <<_ACEOF
39301 /* confdefs.h. */
39302 _ACEOF
39303 cat confdefs.h >>conftest.$ac_ext
39304 cat >>conftest.$ac_ext <<_ACEOF
39305 /* end confdefs.h. */
39306 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39308 #define gmtime_r innocuous_gmtime_r
39309
39310 /* System header to define __stub macros and hopefully few prototypes,
39311 which can conflict with char gmtime_r (); below.
39312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39313 <limits.h> exists even on freestanding compilers. */
39314
39315 #ifdef __STDC__
39316 # include <limits.h>
39317 #else
39318 # include <assert.h>
39319 #endif
39320
39321 #undef gmtime_r
39322
39323 /* Override any GCC internal prototype to avoid an error.
39324 Use char because int might match the return type of a GCC
39325 builtin and then its argument prototype would still apply. */
39326 #ifdef __cplusplus
39327 extern "C"
39328 #endif
39329 char gmtime_r ();
39330 /* The GNU C library defines this for functions which it implements
39331 to always fail with ENOSYS. Some functions are actually named
39332 something starting with __ and the normal name is an alias. */
39333 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39334 choke me
39335 #endif
39336
39337 int
39338 main ()
39339 {
39340 return gmtime_r ();
39341 ;
39342 return 0;
39343 }
39344 _ACEOF
39345 rm -f conftest.$ac_objext conftest$ac_exeext
39346 if { (ac_try="$ac_link"
39347 case "(($ac_try" in
39348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39349 *) ac_try_echo=$ac_try;;
39350 esac
39351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39352 (eval "$ac_link") 2>conftest.er1
39353 ac_status=$?
39354 grep -v '^ *+' conftest.er1 >conftest.err
39355 rm -f conftest.er1
39356 cat conftest.err >&5
39357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358 (exit $ac_status); } && {
39359 test -z "$ac_c_werror_flag" ||
39360 test ! -s conftest.err
39361 } && test -s conftest$ac_exeext &&
39362 $as_test_x conftest$ac_exeext; then
39363 ac_cv_func_gmtime_r=yes
39364 else
39365 echo "$as_me: failed program was:" >&5
39366 sed 's/^/| /' conftest.$ac_ext >&5
39367
39368 ac_cv_func_gmtime_r=no
39369 fi
39370
39371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39372 conftest$ac_exeext conftest.$ac_ext
39373 fi
39374 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39375 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39376 if test $ac_cv_func_gmtime_r = yes; then
39377 cat >>confdefs.h <<\_ACEOF
39378 #define HAVE_GMTIME_R 1
39379 _ACEOF
39380
39381 fi
39382
39383 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39384 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39385 if test "${ac_cv_func_readdir_r+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39387 else
39388 cat >conftest.$ac_ext <<_ACEOF
39389 /* confdefs.h. */
39390 _ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39394 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39396 #define readdir_r innocuous_readdir_r
39397
39398 /* System header to define __stub macros and hopefully few prototypes,
39399 which can conflict with char readdir_r (); below.
39400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39401 <limits.h> exists even on freestanding compilers. */
39402
39403 #ifdef __STDC__
39404 # include <limits.h>
39405 #else
39406 # include <assert.h>
39407 #endif
39408
39409 #undef readdir_r
39410
39411 /* Override any GCC internal prototype to avoid an error.
39412 Use char because int might match the return type of a GCC
39413 builtin and then its argument prototype would still apply. */
39414 #ifdef __cplusplus
39415 extern "C"
39416 #endif
39417 char readdir_r ();
39418 /* The GNU C library defines this for functions which it implements
39419 to always fail with ENOSYS. Some functions are actually named
39420 something starting with __ and the normal name is an alias. */
39421 #if defined __stub_readdir_r || defined __stub___readdir_r
39422 choke me
39423 #endif
39424
39425 int
39426 main ()
39427 {
39428 return readdir_r ();
39429 ;
39430 return 0;
39431 }
39432 _ACEOF
39433 rm -f conftest.$ac_objext conftest$ac_exeext
39434 if { (ac_try="$ac_link"
39435 case "(($ac_try" in
39436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39437 *) ac_try_echo=$ac_try;;
39438 esac
39439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39440 (eval "$ac_link") 2>conftest.er1
39441 ac_status=$?
39442 grep -v '^ *+' conftest.er1 >conftest.err
39443 rm -f conftest.er1
39444 cat conftest.err >&5
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); } && {
39447 test -z "$ac_c_werror_flag" ||
39448 test ! -s conftest.err
39449 } && test -s conftest$ac_exeext &&
39450 $as_test_x conftest$ac_exeext; then
39451 ac_cv_func_readdir_r=yes
39452 else
39453 echo "$as_me: failed program was:" >&5
39454 sed 's/^/| /' conftest.$ac_ext >&5
39455
39456 ac_cv_func_readdir_r=no
39457 fi
39458
39459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39460 conftest$ac_exeext conftest.$ac_ext
39461 fi
39462 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39463 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39464 if test $ac_cv_func_readdir_r = yes; then
39465 cat >>confdefs.h <<\_ACEOF
39466 #define HAVE_READDIR_R 1
39467 _ACEOF
39468
39469 fi
39470
39471
39472
39473
39474 ac_ext=c
39475 ac_cpp='$CPP $CPPFLAGS'
39476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39479
39480 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39481 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39482
39483 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39484 echo $ECHO_N "(cached) $ECHO_C" >&6
39485 else
39486
39487
39488 ################################################################
39489
39490 ac_cv_func_which_gethostbyname_r=unknown
39491
39492 #
39493 # ONE ARGUMENT (sanity check)
39494 #
39495
39496 # This should fail, as there is no variant of gethostbyname_r() that takes
39497 # a single argument. If it actually compiles, then we can assume that
39498 # netdb.h is not declaring the function, and the compiler is thereby
39499 # assuming an implicit prototype. In which case, we're out of luck.
39500 #
39501 cat >conftest.$ac_ext <<_ACEOF
39502 /* confdefs.h. */
39503 _ACEOF
39504 cat confdefs.h >>conftest.$ac_ext
39505 cat >>conftest.$ac_ext <<_ACEOF
39506 /* end confdefs.h. */
39507 #include <netdb.h>
39508 int
39509 main ()
39510 {
39511
39512 char *name = "www.gnu.org";
39513 (void)gethostbyname_r(name) /* ; */
39514
39515 ;
39516 return 0;
39517 }
39518 _ACEOF
39519 rm -f conftest.$ac_objext
39520 if { (ac_try="$ac_compile"
39521 case "(($ac_try" in
39522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39523 *) ac_try_echo=$ac_try;;
39524 esac
39525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39526 (eval "$ac_compile") 2>conftest.er1
39527 ac_status=$?
39528 grep -v '^ *+' conftest.er1 >conftest.err
39529 rm -f conftest.er1
39530 cat conftest.err >&5
39531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39532 (exit $ac_status); } && {
39533 test -z "$ac_c_werror_flag" ||
39534 test ! -s conftest.err
39535 } && test -s conftest.$ac_objext; then
39536 ac_cv_func_which_gethostbyname_r=no
39537 else
39538 echo "$as_me: failed program was:" >&5
39539 sed 's/^/| /' conftest.$ac_ext >&5
39540
39541
39542 fi
39543
39544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39545
39546 #
39547 # SIX ARGUMENTS
39548 # (e.g. Linux)
39549 #
39550
39551 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39552
39553 cat >conftest.$ac_ext <<_ACEOF
39554 /* confdefs.h. */
39555 _ACEOF
39556 cat confdefs.h >>conftest.$ac_ext
39557 cat >>conftest.$ac_ext <<_ACEOF
39558 /* end confdefs.h. */
39559 #include <netdb.h>
39560 int
39561 main ()
39562 {
39563
39564 char *name = "www.gnu.org";
39565 struct hostent ret, *retp;
39566 char buf[1024];
39567 int buflen = 1024;
39568 int my_h_errno;
39569 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39570
39571 ;
39572 return 0;
39573 }
39574 _ACEOF
39575 rm -f conftest.$ac_objext
39576 if { (ac_try="$ac_compile"
39577 case "(($ac_try" in
39578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39579 *) ac_try_echo=$ac_try;;
39580 esac
39581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39582 (eval "$ac_compile") 2>conftest.er1
39583 ac_status=$?
39584 grep -v '^ *+' conftest.er1 >conftest.err
39585 rm -f conftest.er1
39586 cat conftest.err >&5
39587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39588 (exit $ac_status); } && {
39589 test -z "$ac_c_werror_flag" ||
39590 test ! -s conftest.err
39591 } && test -s conftest.$ac_objext; then
39592 ac_cv_func_which_gethostbyname_r=six
39593 else
39594 echo "$as_me: failed program was:" >&5
39595 sed 's/^/| /' conftest.$ac_ext >&5
39596
39597
39598 fi
39599
39600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39601
39602 fi
39603
39604 #
39605 # FIVE ARGUMENTS
39606 # (e.g. Solaris)
39607 #
39608
39609 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39610
39611 cat >conftest.$ac_ext <<_ACEOF
39612 /* confdefs.h. */
39613 _ACEOF
39614 cat confdefs.h >>conftest.$ac_ext
39615 cat >>conftest.$ac_ext <<_ACEOF
39616 /* end confdefs.h. */
39617 #include <netdb.h>
39618 int
39619 main ()
39620 {
39621
39622 char *name = "www.gnu.org";
39623 struct hostent ret;
39624 char buf[1024];
39625 int buflen = 1024;
39626 int my_h_errno;
39627 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39628
39629 ;
39630 return 0;
39631 }
39632 _ACEOF
39633 rm -f conftest.$ac_objext
39634 if { (ac_try="$ac_compile"
39635 case "(($ac_try" in
39636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39637 *) ac_try_echo=$ac_try;;
39638 esac
39639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39640 (eval "$ac_compile") 2>conftest.er1
39641 ac_status=$?
39642 grep -v '^ *+' conftest.er1 >conftest.err
39643 rm -f conftest.er1
39644 cat conftest.err >&5
39645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39646 (exit $ac_status); } && {
39647 test -z "$ac_c_werror_flag" ||
39648 test ! -s conftest.err
39649 } && test -s conftest.$ac_objext; then
39650 ac_cv_func_which_gethostbyname_r=five
39651 else
39652 echo "$as_me: failed program was:" >&5
39653 sed 's/^/| /' conftest.$ac_ext >&5
39654
39655
39656 fi
39657
39658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39659
39660 fi
39661
39662 #
39663 # THREE ARGUMENTS
39664 # (e.g. AIX, HP-UX, Tru64)
39665 #
39666
39667 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39668
39669 cat >conftest.$ac_ext <<_ACEOF
39670 /* confdefs.h. */
39671 _ACEOF
39672 cat confdefs.h >>conftest.$ac_ext
39673 cat >>conftest.$ac_ext <<_ACEOF
39674 /* end confdefs.h. */
39675 #include <netdb.h>
39676 int
39677 main ()
39678 {
39679
39680 char *name = "www.gnu.org";
39681 struct hostent ret;
39682 struct hostent_data data;
39683 (void)gethostbyname_r(name, &ret, &data) /* ; */
39684
39685 ;
39686 return 0;
39687 }
39688 _ACEOF
39689 rm -f conftest.$ac_objext
39690 if { (ac_try="$ac_compile"
39691 case "(($ac_try" in
39692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39693 *) ac_try_echo=$ac_try;;
39694 esac
39695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39696 (eval "$ac_compile") 2>conftest.er1
39697 ac_status=$?
39698 grep -v '^ *+' conftest.er1 >conftest.err
39699 rm -f conftest.er1
39700 cat conftest.err >&5
39701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39702 (exit $ac_status); } && {
39703 test -z "$ac_c_werror_flag" ||
39704 test ! -s conftest.err
39705 } && test -s conftest.$ac_objext; then
39706 ac_cv_func_which_gethostbyname_r=three
39707 else
39708 echo "$as_me: failed program was:" >&5
39709 sed 's/^/| /' conftest.$ac_ext >&5
39710
39711
39712 fi
39713
39714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39715
39716 fi
39717
39718 ################################################################
39719
39720
39721 fi
39722
39723 case "$ac_cv_func_which_gethostbyname_r" in
39724 three)
39725 { echo "$as_me:$LINENO: result: three" >&5
39726 echo "${ECHO_T}three" >&6; }
39727 cat >>confdefs.h <<\_ACEOF
39728 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39729 _ACEOF
39730
39731 ;;
39732
39733 five)
39734 { echo "$as_me:$LINENO: result: five" >&5
39735 echo "${ECHO_T}five" >&6; }
39736 cat >>confdefs.h <<\_ACEOF
39737 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39738 _ACEOF
39739
39740 ;;
39741
39742 six)
39743 { echo "$as_me:$LINENO: result: six" >&5
39744 echo "${ECHO_T}six" >&6; }
39745 cat >>confdefs.h <<\_ACEOF
39746 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39747 _ACEOF
39748
39749 ;;
39750
39751 no)
39752 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39753 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39754 ;;
39755
39756 unknown)
39757 { echo "$as_me:$LINENO: result: can't tell" >&5
39758 echo "${ECHO_T}can't tell" >&6; }
39759 ;;
39760
39761 *)
39762 { { echo "$as_me:$LINENO: error: internal error" >&5
39763 echo "$as_me: error: internal error" >&2;}
39764 { (exit 1); exit 1; }; }
39765 ;;
39766 esac
39767
39768 ac_ext=c
39769 ac_cpp='$CPP $CPPFLAGS'
39770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39773
39774
39775
39776 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39777 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39778 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39779 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39780 if test "${ac_cv_func_gethostbyname+set}" = set; then
39781 echo $ECHO_N "(cached) $ECHO_C" >&6
39782 else
39783 cat >conftest.$ac_ext <<_ACEOF
39784 /* confdefs.h. */
39785 _ACEOF
39786 cat confdefs.h >>conftest.$ac_ext
39787 cat >>conftest.$ac_ext <<_ACEOF
39788 /* end confdefs.h. */
39789 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39791 #define gethostbyname innocuous_gethostbyname
39792
39793 /* System header to define __stub macros and hopefully few prototypes,
39794 which can conflict with char gethostbyname (); below.
39795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39796 <limits.h> exists even on freestanding compilers. */
39797
39798 #ifdef __STDC__
39799 # include <limits.h>
39800 #else
39801 # include <assert.h>
39802 #endif
39803
39804 #undef gethostbyname
39805
39806 /* Override any GCC internal prototype to avoid an error.
39807 Use char because int might match the return type of a GCC
39808 builtin and then its argument prototype would still apply. */
39809 #ifdef __cplusplus
39810 extern "C"
39811 #endif
39812 char gethostbyname ();
39813 /* The GNU C library defines this for functions which it implements
39814 to always fail with ENOSYS. Some functions are actually named
39815 something starting with __ and the normal name is an alias. */
39816 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39817 choke me
39818 #endif
39819
39820 int
39821 main ()
39822 {
39823 return gethostbyname ();
39824 ;
39825 return 0;
39826 }
39827 _ACEOF
39828 rm -f conftest.$ac_objext conftest$ac_exeext
39829 if { (ac_try="$ac_link"
39830 case "(($ac_try" in
39831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39832 *) ac_try_echo=$ac_try;;
39833 esac
39834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39835 (eval "$ac_link") 2>conftest.er1
39836 ac_status=$?
39837 grep -v '^ *+' conftest.er1 >conftest.err
39838 rm -f conftest.er1
39839 cat conftest.err >&5
39840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841 (exit $ac_status); } && {
39842 test -z "$ac_c_werror_flag" ||
39843 test ! -s conftest.err
39844 } && test -s conftest$ac_exeext &&
39845 $as_test_x conftest$ac_exeext; then
39846 ac_cv_func_gethostbyname=yes
39847 else
39848 echo "$as_me: failed program was:" >&5
39849 sed 's/^/| /' conftest.$ac_ext >&5
39850
39851 ac_cv_func_gethostbyname=no
39852 fi
39853
39854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39855 conftest$ac_exeext conftest.$ac_ext
39856 fi
39857 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39858 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39859 if test $ac_cv_func_gethostbyname = yes; then
39860 cat >>confdefs.h <<\_ACEOF
39861 #define HAVE_GETHOSTBYNAME 1
39862 _ACEOF
39863
39864 fi
39865
39866 fi
39867
39868 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39869 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39870 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39871 echo $ECHO_N "(cached) $ECHO_C" >&6
39872 else
39873
39874 ac_ext=cpp
39875 ac_cpp='$CXXCPP $CPPFLAGS'
39876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39879
39880
39881 cat >conftest.$ac_ext <<_ACEOF
39882 /* confdefs.h. */
39883 _ACEOF
39884 cat confdefs.h >>conftest.$ac_ext
39885 cat >>conftest.$ac_ext <<_ACEOF
39886 /* end confdefs.h. */
39887 #include <netdb.h>
39888 int
39889 main ()
39890 {
39891
39892 char *name;
39893 char *proto;
39894 struct servent *se, *res;
39895 char buffer[2048];
39896 int buflen = 2048;
39897 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39898
39899 ;
39900 return 0;
39901 }
39902 _ACEOF
39903 rm -f conftest.$ac_objext
39904 if { (ac_try="$ac_compile"
39905 case "(($ac_try" in
39906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39907 *) ac_try_echo=$ac_try;;
39908 esac
39909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39910 (eval "$ac_compile") 2>conftest.er1
39911 ac_status=$?
39912 grep -v '^ *+' conftest.er1 >conftest.err
39913 rm -f conftest.er1
39914 cat conftest.err >&5
39915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39916 (exit $ac_status); } && {
39917 test -z "$ac_cxx_werror_flag" ||
39918 test ! -s conftest.err
39919 } && test -s conftest.$ac_objext; then
39920 ac_cv_func_which_getservbyname_r=six
39921 else
39922 echo "$as_me: failed program was:" >&5
39923 sed 's/^/| /' conftest.$ac_ext >&5
39924
39925
39926 cat >conftest.$ac_ext <<_ACEOF
39927 /* confdefs.h. */
39928 _ACEOF
39929 cat confdefs.h >>conftest.$ac_ext
39930 cat >>conftest.$ac_ext <<_ACEOF
39931 /* end confdefs.h. */
39932 #include <netdb.h>
39933 int
39934 main ()
39935 {
39936
39937 char *name;
39938 char *proto;
39939 struct servent *se;
39940 char buffer[2048];
39941 int buflen = 2048;
39942 (void) getservbyname_r(name, proto, se, buffer, buflen)
39943
39944 ;
39945 return 0;
39946 }
39947 _ACEOF
39948 rm -f conftest.$ac_objext
39949 if { (ac_try="$ac_compile"
39950 case "(($ac_try" in
39951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39952 *) ac_try_echo=$ac_try;;
39953 esac
39954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39955 (eval "$ac_compile") 2>conftest.er1
39956 ac_status=$?
39957 grep -v '^ *+' conftest.er1 >conftest.err
39958 rm -f conftest.er1
39959 cat conftest.err >&5
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); } && {
39962 test -z "$ac_cxx_werror_flag" ||
39963 test ! -s conftest.err
39964 } && test -s conftest.$ac_objext; then
39965 ac_cv_func_which_getservbyname_r=five
39966 else
39967 echo "$as_me: failed program was:" >&5
39968 sed 's/^/| /' conftest.$ac_ext >&5
39969
39970
39971 cat >conftest.$ac_ext <<_ACEOF
39972 /* confdefs.h. */
39973 _ACEOF
39974 cat confdefs.h >>conftest.$ac_ext
39975 cat >>conftest.$ac_ext <<_ACEOF
39976 /* end confdefs.h. */
39977 #include <netdb.h>
39978 int
39979 main ()
39980 {
39981
39982 char *name;
39983 char *proto;
39984 struct servent *se;
39985 struct servent_data data;
39986 (void) getservbyname_r(name, proto, se, &data);
39987
39988 ;
39989 return 0;
39990 }
39991 _ACEOF
39992 rm -f conftest.$ac_objext
39993 if { (ac_try="$ac_compile"
39994 case "(($ac_try" in
39995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39996 *) ac_try_echo=$ac_try;;
39997 esac
39998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39999 (eval "$ac_compile") 2>conftest.er1
40000 ac_status=$?
40001 grep -v '^ *+' conftest.er1 >conftest.err
40002 rm -f conftest.er1
40003 cat conftest.err >&5
40004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40005 (exit $ac_status); } && {
40006 test -z "$ac_cxx_werror_flag" ||
40007 test ! -s conftest.err
40008 } && test -s conftest.$ac_objext; then
40009 ac_cv_func_which_getservbyname_r=four
40010 else
40011 echo "$as_me: failed program was:" >&5
40012 sed 's/^/| /' conftest.$ac_ext >&5
40013
40014 ac_cv_func_which_getservbyname_r=no
40015
40016 fi
40017
40018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40019
40020
40021 fi
40022
40023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40024
40025
40026 fi
40027
40028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40029 ac_ext=c
40030 ac_cpp='$CPP $CPPFLAGS'
40031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40034
40035
40036
40037 fi
40038 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40039 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40040
40041 if test $ac_cv_func_which_getservbyname_r = six; then
40042 cat >>confdefs.h <<\_ACEOF
40043 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40044 _ACEOF
40045
40046 elif test $ac_cv_func_which_getservbyname_r = five; then
40047 cat >>confdefs.h <<\_ACEOF
40048 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40049 _ACEOF
40050
40051 elif test $ac_cv_func_which_getservbyname_r = four; then
40052 cat >>confdefs.h <<\_ACEOF
40053 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40054 _ACEOF
40055
40056 fi
40057
40058
40059 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40060 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40061
40062 for ac_func in getservbyname
40063 do
40064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40065 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40067 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40068 echo $ECHO_N "(cached) $ECHO_C" >&6
40069 else
40070 cat >conftest.$ac_ext <<_ACEOF
40071 /* confdefs.h. */
40072 _ACEOF
40073 cat confdefs.h >>conftest.$ac_ext
40074 cat >>conftest.$ac_ext <<_ACEOF
40075 /* end confdefs.h. */
40076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40078 #define $ac_func innocuous_$ac_func
40079
40080 /* System header to define __stub macros and hopefully few prototypes,
40081 which can conflict with char $ac_func (); below.
40082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40083 <limits.h> exists even on freestanding compilers. */
40084
40085 #ifdef __STDC__
40086 # include <limits.h>
40087 #else
40088 # include <assert.h>
40089 #endif
40090
40091 #undef $ac_func
40092
40093 /* Override any GCC internal prototype to avoid an error.
40094 Use char because int might match the return type of a GCC
40095 builtin and then its argument prototype would still apply. */
40096 #ifdef __cplusplus
40097 extern "C"
40098 #endif
40099 char $ac_func ();
40100 /* The GNU C library defines this for functions which it implements
40101 to always fail with ENOSYS. Some functions are actually named
40102 something starting with __ and the normal name is an alias. */
40103 #if defined __stub_$ac_func || defined __stub___$ac_func
40104 choke me
40105 #endif
40106
40107 int
40108 main ()
40109 {
40110 return $ac_func ();
40111 ;
40112 return 0;
40113 }
40114 _ACEOF
40115 rm -f conftest.$ac_objext conftest$ac_exeext
40116 if { (ac_try="$ac_link"
40117 case "(($ac_try" in
40118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40119 *) ac_try_echo=$ac_try;;
40120 esac
40121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40122 (eval "$ac_link") 2>conftest.er1
40123 ac_status=$?
40124 grep -v '^ *+' conftest.er1 >conftest.err
40125 rm -f conftest.er1
40126 cat conftest.err >&5
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); } && {
40129 test -z "$ac_c_werror_flag" ||
40130 test ! -s conftest.err
40131 } && test -s conftest$ac_exeext &&
40132 $as_test_x conftest$ac_exeext; then
40133 eval "$as_ac_var=yes"
40134 else
40135 echo "$as_me: failed program was:" >&5
40136 sed 's/^/| /' conftest.$ac_ext >&5
40137
40138 eval "$as_ac_var=no"
40139 fi
40140
40141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40142 conftest$ac_exeext conftest.$ac_ext
40143 fi
40144 ac_res=`eval echo '${'$as_ac_var'}'`
40145 { echo "$as_me:$LINENO: result: $ac_res" >&5
40146 echo "${ECHO_T}$ac_res" >&6; }
40147 if test `eval echo '${'$as_ac_var'}'` = yes; then
40148 cat >>confdefs.h <<_ACEOF
40149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40150 _ACEOF
40151 cat >>confdefs.h <<\_ACEOF
40152 #define HAVE_GETSERVBYNAME 1
40153 _ACEOF
40154
40155 fi
40156 done
40157
40158 fi
40159
40160 if test "$wxUSE_THREADS" = "yes"; then
40161 cat >>confdefs.h <<\_ACEOF
40162 #define wxUSE_THREADS 1
40163 _ACEOF
40164
40165
40166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40167 else
40168 if test "$wx_cv_func_strtok_r" = "yes"; then
40169 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40170 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40171 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40172 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40173 { echo "$as_me:$LINENO: result: yes" >&5
40174 echo "${ECHO_T}yes" >&6; }
40175 else
40176 { echo "$as_me:$LINENO: result: no" >&5
40177 echo "${ECHO_T}no" >&6; }
40178 fi
40179 fi
40180 fi
40181
40182 if test "$WXGTK20" = 1 ; then
40183 cat >>confdefs.h <<_ACEOF
40184 #define __WXGTK20__ $WXGTK20
40185 _ACEOF
40186
40187 WXGTK12=1
40188 fi
40189
40190 if test "$WXGTK12" = 1 ; then
40191 cat >>confdefs.h <<_ACEOF
40192 #define __WXGTK12__ $WXGTK12
40193 _ACEOF
40194
40195 fi
40196
40197 if test "$WXGTK127" = 1 ; then
40198 cat >>confdefs.h <<_ACEOF
40199 #define __WXGTK127__ $WXGTK127
40200 _ACEOF
40201
40202 fi
40203
40204 if test "$WXGPE" = 1 ; then
40205 cat >>confdefs.h <<_ACEOF
40206 #define __WXGPE__ $WXGPE
40207 _ACEOF
40208
40209 fi
40210
40211 DEBUG_CFLAGS=
40212 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40213 DEBUG_CFLAGS="-g"
40214 wxUSE_OPTIMISE=no
40215 fi
40216
40217 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40218 wxUSE_DEBUG_INFO=yes
40219 if test "$GCC" = yes; then
40220 DEBUG_CFLAGS="-ggdb"
40221 fi
40222 fi
40223
40224 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40225 cat >>confdefs.h <<\_ACEOF
40226 #define WXDEBUG 1
40227 _ACEOF
40228
40229 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40230 else
40231 if test "$wxUSE_GTK" = 1 ; then
40232 if test "x$wxGTK_VERSION" = "x1" ; then
40233 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40234 fi
40235 fi
40236 fi
40237
40238 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40239 cat >>confdefs.h <<\_ACEOF
40240 #define wxUSE_MEMORY_TRACING 1
40241 _ACEOF
40242
40243 cat >>confdefs.h <<\_ACEOF
40244 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40245 _ACEOF
40246
40247 cat >>confdefs.h <<\_ACEOF
40248 #define wxUSE_DEBUG_NEW_ALWAYS 1
40249 _ACEOF
40250
40251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40252 fi
40253
40254 if test "$wxUSE_DMALLOC" = "yes" ; then
40255 DMALLOC_LIBS="-ldmallocthcxx"
40256 fi
40257
40258 PROFILE_FLAGS=
40259 if test "$wxUSE_PROFILE" = "yes" ; then
40260 PROFILE_FLAGS=" -pg"
40261 fi
40262
40263 if test "$GCC" = "yes" ; then
40264 if test "$wxUSE_NO_RTTI" = "yes" ; then
40265 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40266 fi
40267 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40268 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40269 fi
40270 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40271 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40272 fi
40273
40274 case "${host}" in
40275 powerpc*-*-aix* )
40276 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40277 ;;
40278 *-hppa* )
40279 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40280 ;;
40281 esac
40282 fi
40283
40284 OPTIMISE_CFLAGS=
40285 if test "$wxUSE_OPTIMISE" = "no" ; then
40286 if test "$GCC" = yes ; then
40287 OPTIMISE_CFLAGS="-O0"
40288 fi
40289 else
40290 if test "$GCC" = yes ; then
40291 case "${host}" in
40292 *-pc-os2_emx | *-pc-os2-emx )
40293 OPTIMISE_CFLAGS="-O2"
40294 ;;
40295 *)
40296 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40297 ;;
40298 esac
40299 else
40300 OPTIMISE_CFLAGS="-O"
40301 fi
40302 fi
40303
40304
40305 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40306 cat >>confdefs.h <<\_ACEOF
40307 #define WXWIN_COMPATIBILITY_2_6 1
40308 _ACEOF
40309
40310
40311 WXWIN_COMPATIBILITY_2_8="yes"
40312 fi
40313
40314 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40315 cat >>confdefs.h <<\_ACEOF
40316 #define WXWIN_COMPATIBILITY_2_8 1
40317 _ACEOF
40318
40319 fi
40320
40321
40322 if test "$wxUSE_GUI" = "yes"; then
40323 cat >>confdefs.h <<\_ACEOF
40324 #define wxUSE_GUI 1
40325 _ACEOF
40326
40327
40328 fi
40329
40330
40331 if test "$wxUSE_UNIX" = "yes"; then
40332 cat >>confdefs.h <<\_ACEOF
40333 #define wxUSE_UNIX 1
40334 _ACEOF
40335
40336 fi
40337
40338
40339 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40340
40341 HAVE_DL_FUNCS=0
40342 HAVE_SHL_FUNCS=0
40343 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40344 if test "$USE_DARWIN" = 1; then
40345 HAVE_DL_FUNCS=1
40346 elif test "$USE_DOS" = 1; then
40347 HAVE_DL_FUNCS=0
40348 else
40349
40350 for ac_func in dlopen
40351 do
40352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40353 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40356 echo $ECHO_N "(cached) $ECHO_C" >&6
40357 else
40358 cat >conftest.$ac_ext <<_ACEOF
40359 /* confdefs.h. */
40360 _ACEOF
40361 cat confdefs.h >>conftest.$ac_ext
40362 cat >>conftest.$ac_ext <<_ACEOF
40363 /* end confdefs.h. */
40364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40366 #define $ac_func innocuous_$ac_func
40367
40368 /* System header to define __stub macros and hopefully few prototypes,
40369 which can conflict with char $ac_func (); below.
40370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40371 <limits.h> exists even on freestanding compilers. */
40372
40373 #ifdef __STDC__
40374 # include <limits.h>
40375 #else
40376 # include <assert.h>
40377 #endif
40378
40379 #undef $ac_func
40380
40381 /* Override any GCC internal prototype to avoid an error.
40382 Use char because int might match the return type of a GCC
40383 builtin and then its argument prototype would still apply. */
40384 #ifdef __cplusplus
40385 extern "C"
40386 #endif
40387 char $ac_func ();
40388 /* The GNU C library defines this for functions which it implements
40389 to always fail with ENOSYS. Some functions are actually named
40390 something starting with __ and the normal name is an alias. */
40391 #if defined __stub_$ac_func || defined __stub___$ac_func
40392 choke me
40393 #endif
40394
40395 int
40396 main ()
40397 {
40398 return $ac_func ();
40399 ;
40400 return 0;
40401 }
40402 _ACEOF
40403 rm -f conftest.$ac_objext conftest$ac_exeext
40404 if { (ac_try="$ac_link"
40405 case "(($ac_try" in
40406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40407 *) ac_try_echo=$ac_try;;
40408 esac
40409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40410 (eval "$ac_link") 2>conftest.er1
40411 ac_status=$?
40412 grep -v '^ *+' conftest.er1 >conftest.err
40413 rm -f conftest.er1
40414 cat conftest.err >&5
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); } && {
40417 test -z "$ac_c_werror_flag" ||
40418 test ! -s conftest.err
40419 } && test -s conftest$ac_exeext &&
40420 $as_test_x conftest$ac_exeext; then
40421 eval "$as_ac_var=yes"
40422 else
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.$ac_ext >&5
40425
40426 eval "$as_ac_var=no"
40427 fi
40428
40429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40430 conftest$ac_exeext conftest.$ac_ext
40431 fi
40432 ac_res=`eval echo '${'$as_ac_var'}'`
40433 { echo "$as_me:$LINENO: result: $ac_res" >&5
40434 echo "${ECHO_T}$ac_res" >&6; }
40435 if test `eval echo '${'$as_ac_var'}'` = yes; then
40436 cat >>confdefs.h <<_ACEOF
40437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40438 _ACEOF
40439
40440 cat >>confdefs.h <<\_ACEOF
40441 #define HAVE_DLOPEN 1
40442 _ACEOF
40443
40444 HAVE_DL_FUNCS=1
40445
40446 else
40447
40448 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40449 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40450 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40451 echo $ECHO_N "(cached) $ECHO_C" >&6
40452 else
40453 ac_check_lib_save_LIBS=$LIBS
40454 LIBS="-ldl $LIBS"
40455 cat >conftest.$ac_ext <<_ACEOF
40456 /* confdefs.h. */
40457 _ACEOF
40458 cat confdefs.h >>conftest.$ac_ext
40459 cat >>conftest.$ac_ext <<_ACEOF
40460 /* end confdefs.h. */
40461
40462 /* Override any GCC internal prototype to avoid an error.
40463 Use char because int might match the return type of a GCC
40464 builtin and then its argument prototype would still apply. */
40465 #ifdef __cplusplus
40466 extern "C"
40467 #endif
40468 char dlopen ();
40469 int
40470 main ()
40471 {
40472 return dlopen ();
40473 ;
40474 return 0;
40475 }
40476 _ACEOF
40477 rm -f conftest.$ac_objext conftest$ac_exeext
40478 if { (ac_try="$ac_link"
40479 case "(($ac_try" in
40480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40481 *) ac_try_echo=$ac_try;;
40482 esac
40483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40484 (eval "$ac_link") 2>conftest.er1
40485 ac_status=$?
40486 grep -v '^ *+' conftest.er1 >conftest.err
40487 rm -f conftest.er1
40488 cat conftest.err >&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); } && {
40491 test -z "$ac_c_werror_flag" ||
40492 test ! -s conftest.err
40493 } && test -s conftest$ac_exeext &&
40494 $as_test_x conftest$ac_exeext; then
40495 ac_cv_lib_dl_dlopen=yes
40496 else
40497 echo "$as_me: failed program was:" >&5
40498 sed 's/^/| /' conftest.$ac_ext >&5
40499
40500 ac_cv_lib_dl_dlopen=no
40501 fi
40502
40503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40504 conftest$ac_exeext conftest.$ac_ext
40505 LIBS=$ac_check_lib_save_LIBS
40506 fi
40507 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40508 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40509 if test $ac_cv_lib_dl_dlopen = yes; then
40510
40511 cat >>confdefs.h <<\_ACEOF
40512 #define HAVE_DLOPEN 1
40513 _ACEOF
40514
40515 HAVE_DL_FUNCS=1
40516 DL_LINK=" -ldl$DL_LINK"
40517
40518 else
40519
40520
40521 for ac_func in shl_load
40522 do
40523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40524 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40526 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40527 echo $ECHO_N "(cached) $ECHO_C" >&6
40528 else
40529 cat >conftest.$ac_ext <<_ACEOF
40530 /* confdefs.h. */
40531 _ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h. */
40535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40537 #define $ac_func innocuous_$ac_func
40538
40539 /* System header to define __stub macros and hopefully few prototypes,
40540 which can conflict with char $ac_func (); below.
40541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40542 <limits.h> exists even on freestanding compilers. */
40543
40544 #ifdef __STDC__
40545 # include <limits.h>
40546 #else
40547 # include <assert.h>
40548 #endif
40549
40550 #undef $ac_func
40551
40552 /* Override any GCC internal prototype to avoid an error.
40553 Use char because int might match the return type of a GCC
40554 builtin and then its argument prototype would still apply. */
40555 #ifdef __cplusplus
40556 extern "C"
40557 #endif
40558 char $ac_func ();
40559 /* The GNU C library defines this for functions which it implements
40560 to always fail with ENOSYS. Some functions are actually named
40561 something starting with __ and the normal name is an alias. */
40562 #if defined __stub_$ac_func || defined __stub___$ac_func
40563 choke me
40564 #endif
40565
40566 int
40567 main ()
40568 {
40569 return $ac_func ();
40570 ;
40571 return 0;
40572 }
40573 _ACEOF
40574 rm -f conftest.$ac_objext conftest$ac_exeext
40575 if { (ac_try="$ac_link"
40576 case "(($ac_try" in
40577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40579 esac
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_link") 2>conftest.er1
40582 ac_status=$?
40583 grep -v '^ *+' conftest.er1 >conftest.err
40584 rm -f conftest.er1
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_c_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest$ac_exeext &&
40591 $as_test_x conftest$ac_exeext; then
40592 eval "$as_ac_var=yes"
40593 else
40594 echo "$as_me: failed program was:" >&5
40595 sed 's/^/| /' conftest.$ac_ext >&5
40596
40597 eval "$as_ac_var=no"
40598 fi
40599
40600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40601 conftest$ac_exeext conftest.$ac_ext
40602 fi
40603 ac_res=`eval echo '${'$as_ac_var'}'`
40604 { echo "$as_me:$LINENO: result: $ac_res" >&5
40605 echo "${ECHO_T}$ac_res" >&6; }
40606 if test `eval echo '${'$as_ac_var'}'` = yes; then
40607 cat >>confdefs.h <<_ACEOF
40608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40609 _ACEOF
40610
40611 cat >>confdefs.h <<\_ACEOF
40612 #define HAVE_SHL_LOAD 1
40613 _ACEOF
40614
40615 HAVE_SHL_FUNCS=1
40616
40617 else
40618
40619 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40620 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40621 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40622 echo $ECHO_N "(cached) $ECHO_C" >&6
40623 else
40624 ac_check_lib_save_LIBS=$LIBS
40625 LIBS="-lshl_load $LIBS"
40626 cat >conftest.$ac_ext <<_ACEOF
40627 /* confdefs.h. */
40628 _ACEOF
40629 cat confdefs.h >>conftest.$ac_ext
40630 cat >>conftest.$ac_ext <<_ACEOF
40631 /* end confdefs.h. */
40632
40633 /* Override any GCC internal prototype to avoid an error.
40634 Use char because int might match the return type of a GCC
40635 builtin and then its argument prototype would still apply. */
40636 #ifdef __cplusplus
40637 extern "C"
40638 #endif
40639 char dld ();
40640 int
40641 main ()
40642 {
40643 return dld ();
40644 ;
40645 return 0;
40646 }
40647 _ACEOF
40648 rm -f conftest.$ac_objext conftest$ac_exeext
40649 if { (ac_try="$ac_link"
40650 case "(($ac_try" in
40651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40652 *) ac_try_echo=$ac_try;;
40653 esac
40654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40655 (eval "$ac_link") 2>conftest.er1
40656 ac_status=$?
40657 grep -v '^ *+' conftest.er1 >conftest.err
40658 rm -f conftest.er1
40659 cat conftest.err >&5
40660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40661 (exit $ac_status); } && {
40662 test -z "$ac_c_werror_flag" ||
40663 test ! -s conftest.err
40664 } && test -s conftest$ac_exeext &&
40665 $as_test_x conftest$ac_exeext; then
40666 ac_cv_lib_shl_load_dld=yes
40667 else
40668 echo "$as_me: failed program was:" >&5
40669 sed 's/^/| /' conftest.$ac_ext >&5
40670
40671 ac_cv_lib_shl_load_dld=no
40672 fi
40673
40674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40675 conftest$ac_exeext conftest.$ac_ext
40676 LIBS=$ac_check_lib_save_LIBS
40677 fi
40678 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40679 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40680 if test $ac_cv_lib_shl_load_dld = yes; then
40681
40682 HAVE_SHL_FUNCS=1
40683 DL_LINK=" -ldld$DL_LINK"
40684
40685 fi
40686
40687
40688 fi
40689 done
40690
40691
40692 fi
40693
40694
40695 fi
40696 done
40697
40698
40699 if test "$HAVE_DL_FUNCS" = 1; then
40700
40701 for ac_func in dlerror
40702 do
40703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40704 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40706 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40707 echo $ECHO_N "(cached) $ECHO_C" >&6
40708 else
40709 cat >conftest.$ac_ext <<_ACEOF
40710 /* confdefs.h. */
40711 _ACEOF
40712 cat confdefs.h >>conftest.$ac_ext
40713 cat >>conftest.$ac_ext <<_ACEOF
40714 /* end confdefs.h. */
40715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40717 #define $ac_func innocuous_$ac_func
40718
40719 /* System header to define __stub macros and hopefully few prototypes,
40720 which can conflict with char $ac_func (); below.
40721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40722 <limits.h> exists even on freestanding compilers. */
40723
40724 #ifdef __STDC__
40725 # include <limits.h>
40726 #else
40727 # include <assert.h>
40728 #endif
40729
40730 #undef $ac_func
40731
40732 /* Override any GCC internal prototype to avoid an error.
40733 Use char because int might match the return type of a GCC
40734 builtin and then its argument prototype would still apply. */
40735 #ifdef __cplusplus
40736 extern "C"
40737 #endif
40738 char $ac_func ();
40739 /* The GNU C library defines this for functions which it implements
40740 to always fail with ENOSYS. Some functions are actually named
40741 something starting with __ and the normal name is an alias. */
40742 #if defined __stub_$ac_func || defined __stub___$ac_func
40743 choke me
40744 #endif
40745
40746 int
40747 main ()
40748 {
40749 return $ac_func ();
40750 ;
40751 return 0;
40752 }
40753 _ACEOF
40754 rm -f conftest.$ac_objext conftest$ac_exeext
40755 if { (ac_try="$ac_link"
40756 case "(($ac_try" in
40757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40758 *) ac_try_echo=$ac_try;;
40759 esac
40760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40761 (eval "$ac_link") 2>conftest.er1
40762 ac_status=$?
40763 grep -v '^ *+' conftest.er1 >conftest.err
40764 rm -f conftest.er1
40765 cat conftest.err >&5
40766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40767 (exit $ac_status); } && {
40768 test -z "$ac_c_werror_flag" ||
40769 test ! -s conftest.err
40770 } && test -s conftest$ac_exeext &&
40771 $as_test_x conftest$ac_exeext; then
40772 eval "$as_ac_var=yes"
40773 else
40774 echo "$as_me: failed program was:" >&5
40775 sed 's/^/| /' conftest.$ac_ext >&5
40776
40777 eval "$as_ac_var=no"
40778 fi
40779
40780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40781 conftest$ac_exeext conftest.$ac_ext
40782 fi
40783 ac_res=`eval echo '${'$as_ac_var'}'`
40784 { echo "$as_me:$LINENO: result: $ac_res" >&5
40785 echo "${ECHO_T}$ac_res" >&6; }
40786 if test `eval echo '${'$as_ac_var'}'` = yes; then
40787 cat >>confdefs.h <<_ACEOF
40788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40789 _ACEOF
40790 cat >>confdefs.h <<\_ACEOF
40791 #define HAVE_DLERROR 1
40792 _ACEOF
40793
40794 else
40795
40796 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40797 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40798 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40799 echo $ECHO_N "(cached) $ECHO_C" >&6
40800 else
40801 ac_check_lib_save_LIBS=$LIBS
40802 LIBS="-ldl $LIBS"
40803 cat >conftest.$ac_ext <<_ACEOF
40804 /* confdefs.h. */
40805 _ACEOF
40806 cat confdefs.h >>conftest.$ac_ext
40807 cat >>conftest.$ac_ext <<_ACEOF
40808 /* end confdefs.h. */
40809
40810 /* Override any GCC internal prototype to avoid an error.
40811 Use char because int might match the return type of a GCC
40812 builtin and then its argument prototype would still apply. */
40813 #ifdef __cplusplus
40814 extern "C"
40815 #endif
40816 char dlerror ();
40817 int
40818 main ()
40819 {
40820 return dlerror ();
40821 ;
40822 return 0;
40823 }
40824 _ACEOF
40825 rm -f conftest.$ac_objext conftest$ac_exeext
40826 if { (ac_try="$ac_link"
40827 case "(($ac_try" in
40828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40829 *) ac_try_echo=$ac_try;;
40830 esac
40831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40832 (eval "$ac_link") 2>conftest.er1
40833 ac_status=$?
40834 grep -v '^ *+' conftest.er1 >conftest.err
40835 rm -f conftest.er1
40836 cat conftest.err >&5
40837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838 (exit $ac_status); } && {
40839 test -z "$ac_c_werror_flag" ||
40840 test ! -s conftest.err
40841 } && test -s conftest$ac_exeext &&
40842 $as_test_x conftest$ac_exeext; then
40843 ac_cv_lib_dl_dlerror=yes
40844 else
40845 echo "$as_me: failed program was:" >&5
40846 sed 's/^/| /' conftest.$ac_ext >&5
40847
40848 ac_cv_lib_dl_dlerror=no
40849 fi
40850
40851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40852 conftest$ac_exeext conftest.$ac_ext
40853 LIBS=$ac_check_lib_save_LIBS
40854 fi
40855 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40856 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40857 if test $ac_cv_lib_dl_dlerror = yes; then
40858 cat >>confdefs.h <<\_ACEOF
40859 #define HAVE_DLERROR 1
40860 _ACEOF
40861
40862 fi
40863
40864
40865
40866 fi
40867 done
40868
40869 fi
40870 fi
40871
40872 if test "$HAVE_DL_FUNCS" = 0; then
40873 if test "$HAVE_SHL_FUNCS" = 0; then
40874 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40875 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40876 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40877 wxUSE_DYNAMIC_LOADER=no
40878 wxUSE_DYNLIB_CLASS=no
40879 else
40880 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40881 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40882 fi
40883 fi
40884 fi
40885 fi
40886 fi
40887
40888 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40889 cat >>confdefs.h <<\_ACEOF
40890 #define wxUSE_DYNAMIC_LOADER 1
40891 _ACEOF
40892
40893 fi
40894 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40895 cat >>confdefs.h <<\_ACEOF
40896 #define wxUSE_DYNLIB_CLASS 1
40897 _ACEOF
40898
40899 fi
40900
40901
40902
40903 if test "$wxUSE_PLUGINS" = "yes" ; then
40904 if test "$wxUSE_SHARED" = "no" ; then
40905 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40906 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40907 wxUSE_PLUGINS=no
40908 fi
40909 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40910 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40911 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40912 wxUSE_PLUGINS=no
40913 fi
40914 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40915 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40916 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40917 wxUSE_PLUGINS=no
40918 fi
40919 if test "$wxUSE_PLUGINS" = "yes" ; then
40920 cat >>confdefs.h <<\_ACEOF
40921 #define wxUSE_PLUGINS 1
40922 _ACEOF
40923
40924 fi
40925 fi
40926
40927
40928 if test "$wxUSE_STL" = "yes"; then
40929 cat >>confdefs.h <<\_ACEOF
40930 #define wxUSE_STL 1
40931 _ACEOF
40932
40933 fi
40934
40935 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40936 cat >>confdefs.h <<\_ACEOF
40937 #define wxUSE_APPLE_IEEE 1
40938 _ACEOF
40939
40940 fi
40941
40942 if test "$wxUSE_TIMER" = "yes"; then
40943 cat >>confdefs.h <<\_ACEOF
40944 #define wxUSE_TIMER 1
40945 _ACEOF
40946
40947 fi
40948
40949 if test "$USE_UNIX" = "1" ; then
40950 if test "$wxUSE_MGL" != 1; then
40951 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40952 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40953 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40955 else
40956
40957 cat >conftest.$ac_ext <<_ACEOF
40958 /* confdefs.h. */
40959 _ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963
40964 #include <sys/ioctl.h>
40965 #include <sys/soundcard.h>
40966
40967 int
40968 main ()
40969 {
40970
40971 ioctl(0, SNDCTL_DSP_SPEED, 0);
40972
40973 ;
40974 return 0;
40975 }
40976 _ACEOF
40977 rm -f conftest.$ac_objext conftest$ac_exeext
40978 if { (ac_try="$ac_link"
40979 case "(($ac_try" in
40980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40981 *) ac_try_echo=$ac_try;;
40982 esac
40983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40984 (eval "$ac_link") 2>conftest.er1
40985 ac_status=$?
40986 grep -v '^ *+' conftest.er1 >conftest.err
40987 rm -f conftest.er1
40988 cat conftest.err >&5
40989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40990 (exit $ac_status); } && {
40991 test -z "$ac_c_werror_flag" ||
40992 test ! -s conftest.err
40993 } && test -s conftest$ac_exeext &&
40994 $as_test_x conftest$ac_exeext; then
40995 ac_cv_header_sys_soundcard=yes
40996 else
40997 echo "$as_me: failed program was:" >&5
40998 sed 's/^/| /' conftest.$ac_ext >&5
40999
41000
41001 saveLibs="$LIBS"
41002 LIBS="$saveLibs -lossaudio"
41003 cat >conftest.$ac_ext <<_ACEOF
41004 /* confdefs.h. */
41005 _ACEOF
41006 cat confdefs.h >>conftest.$ac_ext
41007 cat >>conftest.$ac_ext <<_ACEOF
41008 /* end confdefs.h. */
41009
41010 #include <sys/ioctl.h>
41011 #include <sys/soundcard.h>
41012
41013 int
41014 main ()
41015 {
41016
41017 ioctl(0, SNDCTL_DSP_SPEED, 0);
41018
41019 ;
41020 return 0;
41021 }
41022 _ACEOF
41023 rm -f conftest.$ac_objext conftest$ac_exeext
41024 if { (ac_try="$ac_link"
41025 case "(($ac_try" in
41026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41027 *) ac_try_echo=$ac_try;;
41028 esac
41029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41030 (eval "$ac_link") 2>conftest.er1
41031 ac_status=$?
41032 grep -v '^ *+' conftest.er1 >conftest.err
41033 rm -f conftest.er1
41034 cat conftest.err >&5
41035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41036 (exit $ac_status); } && {
41037 test -z "$ac_c_werror_flag" ||
41038 test ! -s conftest.err
41039 } && test -s conftest$ac_exeext &&
41040 $as_test_x conftest$ac_exeext; then
41041 ac_cv_header_sys_soundcard=yes
41042 else
41043 echo "$as_me: failed program was:" >&5
41044 sed 's/^/| /' conftest.$ac_ext >&5
41045
41046
41047 LIBS="$saveLibs"
41048 ac_cv_header_sys_soundcard=no
41049
41050
41051 fi
41052
41053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41054 conftest$ac_exeext conftest.$ac_ext
41055
41056
41057 fi
41058
41059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41060 conftest$ac_exeext conftest.$ac_ext
41061
41062 fi
41063 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41064 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41065 fi
41066
41067 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41068 cat >>confdefs.h <<\_ACEOF
41069 #define HAVE_SYS_SOUNDCARD_H 1
41070 _ACEOF
41071
41072 else
41073 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
41074 fi
41075 fi
41076
41077 WITH_PLUGIN_SDL=0
41078 if test "$wxUSE_SOUND" = "yes"; then
41079 if test "$USE_UNIX" = "1" ; then
41080 if test "$wxUSE_LIBSDL" != "no"; then
41081
41082 # Check whether --with-sdl-prefix was given.
41083 if test "${with_sdl_prefix+set}" = set; then
41084 withval=$with_sdl_prefix; sdl_prefix="$withval"
41085 else
41086 sdl_prefix=""
41087 fi
41088
41089
41090 # Check whether --with-sdl-exec-prefix was given.
41091 if test "${with_sdl_exec_prefix+set}" = set; then
41092 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41093 else
41094 sdl_exec_prefix=""
41095 fi
41096
41097 # Check whether --enable-sdltest was given.
41098 if test "${enable_sdltest+set}" = set; then
41099 enableval=$enable_sdltest;
41100 else
41101 enable_sdltest=yes
41102 fi
41103
41104
41105 if test x$sdl_exec_prefix != x ; then
41106 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41107 if test x${SDL_CONFIG+set} != xset ; then
41108 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41109 fi
41110 fi
41111 if test x$sdl_prefix != x ; then
41112 sdl_args="$sdl_args --prefix=$sdl_prefix"
41113 if test x${SDL_CONFIG+set} != xset ; then
41114 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41115 fi
41116 fi
41117
41118 if test "x$prefix" != xNONE; then
41119 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41120 fi
41121 # Extract the first word of "sdl-config", so it can be a program name with args.
41122 set dummy sdl-config; ac_word=$2
41123 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41124 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41125 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41126 echo $ECHO_N "(cached) $ECHO_C" >&6
41127 else
41128 case $SDL_CONFIG in
41129 [\\/]* | ?:[\\/]*)
41130 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41131 ;;
41132 *)
41133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41134 for as_dir in $PATH
41135 do
41136 IFS=$as_save_IFS
41137 test -z "$as_dir" && as_dir=.
41138 for ac_exec_ext in '' $ac_executable_extensions; do
41139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41140 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41142 break 2
41143 fi
41144 done
41145 done
41146 IFS=$as_save_IFS
41147
41148 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41149 ;;
41150 esac
41151 fi
41152 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41153 if test -n "$SDL_CONFIG"; then
41154 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41155 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41156 else
41157 { echo "$as_me:$LINENO: result: no" >&5
41158 echo "${ECHO_T}no" >&6; }
41159 fi
41160
41161
41162 min_sdl_version=1.2.0
41163 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41164 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41165 no_sdl=""
41166 if test "$SDL_CONFIG" = "no" ; then
41167 no_sdl=yes
41168 else
41169 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41170 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41171
41172 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41174 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41176 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41178 if test "x$enable_sdltest" = "xyes" ; then
41179 ac_save_CFLAGS="$CFLAGS"
41180 ac_save_CXXFLAGS="$CXXFLAGS"
41181 ac_save_LIBS="$LIBS"
41182 CFLAGS="$CFLAGS $SDL_CFLAGS"
41183 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41184 LIBS="$LIBS $SDL_LIBS"
41185 rm -f conf.sdltest
41186 if test "$cross_compiling" = yes; then
41187 echo $ac_n "cross compiling; assumed OK... $ac_c"
41188 else
41189 cat >conftest.$ac_ext <<_ACEOF
41190 /* confdefs.h. */
41191 _ACEOF
41192 cat confdefs.h >>conftest.$ac_ext
41193 cat >>conftest.$ac_ext <<_ACEOF
41194 /* end confdefs.h. */
41195
41196 #include <stdio.h>
41197 #include <stdlib.h>
41198 #include <string.h>
41199 #include "SDL.h"
41200
41201 char*
41202 my_strdup (char *str)
41203 {
41204 char *new_str;
41205
41206 if (str)
41207 {
41208 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41209 strcpy (new_str, str);
41210 }
41211 else
41212 new_str = NULL;
41213
41214 return new_str;
41215 }
41216
41217 int main (int argc, char *argv[])
41218 {
41219 int major, minor, micro;
41220 char *tmp_version;
41221
41222 /* This hangs on some systems (?)
41223 system ("touch conf.sdltest");
41224 */
41225 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41226
41227 /* HP/UX 9 (%@#!) writes to sscanf strings */
41228 tmp_version = my_strdup("$min_sdl_version");
41229 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41230 printf("%s, bad version string\n", "$min_sdl_version");
41231 exit(1);
41232 }
41233
41234 if (($sdl_major_version > major) ||
41235 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41236 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41237 {
41238 return 0;
41239 }
41240 else
41241 {
41242 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41243 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41244 printf("*** best to upgrade to the required version.\n");
41245 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41246 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41247 printf("*** config.cache before re-running configure\n");
41248 return 1;
41249 }
41250 }
41251
41252
41253 _ACEOF
41254 rm -f conftest$ac_exeext
41255 if { (ac_try="$ac_link"
41256 case "(($ac_try" in
41257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41258 *) ac_try_echo=$ac_try;;
41259 esac
41260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41261 (eval "$ac_link") 2>&5
41262 ac_status=$?
41263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41265 { (case "(($ac_try" in
41266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41267 *) ac_try_echo=$ac_try;;
41268 esac
41269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41270 (eval "$ac_try") 2>&5
41271 ac_status=$?
41272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41273 (exit $ac_status); }; }; then
41274 :
41275 else
41276 echo "$as_me: program exited with status $ac_status" >&5
41277 echo "$as_me: failed program was:" >&5
41278 sed 's/^/| /' conftest.$ac_ext >&5
41279
41280 ( exit $ac_status )
41281 no_sdl=yes
41282 fi
41283 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41284 fi
41285
41286
41287 CFLAGS="$ac_save_CFLAGS"
41288 CXXFLAGS="$ac_save_CXXFLAGS"
41289 LIBS="$ac_save_LIBS"
41290 fi
41291 fi
41292 if test "x$no_sdl" = x ; then
41293 { echo "$as_me:$LINENO: result: yes" >&5
41294 echo "${ECHO_T}yes" >&6; }
41295
41296 EXTRALIBS_SDL="$SDL_LIBS"
41297 CFLAGS="$SDL_CFLAGS $CFLAGS"
41298 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41299 cat >>confdefs.h <<\_ACEOF
41300 #define wxUSE_LIBSDL 1
41301 _ACEOF
41302
41303
41304 else
41305 { echo "$as_me:$LINENO: result: no" >&5
41306 echo "${ECHO_T}no" >&6; }
41307 if test "$SDL_CONFIG" = "no" ; then
41308 echo "*** The sdl-config script installed by SDL could not be found"
41309 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41310 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41311 echo "*** full path to sdl-config."
41312 else
41313 if test -f conf.sdltest ; then
41314 :
41315 else
41316 echo "*** Could not run SDL test program, checking why..."
41317 CFLAGS="$CFLAGS $SDL_CFLAGS"
41318 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41319 LIBS="$LIBS $SDL_LIBS"
41320 cat >conftest.$ac_ext <<_ACEOF
41321 /* confdefs.h. */
41322 _ACEOF
41323 cat confdefs.h >>conftest.$ac_ext
41324 cat >>conftest.$ac_ext <<_ACEOF
41325 /* end confdefs.h. */
41326
41327 #include <stdio.h>
41328 #include "SDL.h"
41329
41330 int main(int argc, char *argv[])
41331 { return 0; }
41332 #undef main
41333 #define main K_and_R_C_main
41334
41335 int
41336 main ()
41337 {
41338 return 0;
41339 ;
41340 return 0;
41341 }
41342 _ACEOF
41343 rm -f conftest.$ac_objext conftest$ac_exeext
41344 if { (ac_try="$ac_link"
41345 case "(($ac_try" in
41346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41347 *) ac_try_echo=$ac_try;;
41348 esac
41349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41350 (eval "$ac_link") 2>conftest.er1
41351 ac_status=$?
41352 grep -v '^ *+' conftest.er1 >conftest.err
41353 rm -f conftest.er1
41354 cat conftest.err >&5
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); } && {
41357 test -z "$ac_c_werror_flag" ||
41358 test ! -s conftest.err
41359 } && test -s conftest$ac_exeext &&
41360 $as_test_x conftest$ac_exeext; then
41361 echo "*** The test program compiled, but did not run. This usually means"
41362 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41363 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41364 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41365 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41366 echo "*** is required on your system"
41367 echo "***"
41368 echo "*** If you have an old version installed, it is best to remove it, although"
41369 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41370 else
41371 echo "$as_me: failed program was:" >&5
41372 sed 's/^/| /' conftest.$ac_ext >&5
41373
41374 echo "*** The test program failed to compile or link. See the file config.log for the"
41375 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41376 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41377 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41378 fi
41379
41380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41381 conftest$ac_exeext conftest.$ac_ext
41382 CFLAGS="$ac_save_CFLAGS"
41383 CXXFLAGS="$ac_save_CXXFLAGS"
41384 LIBS="$ac_save_LIBS"
41385 fi
41386 fi
41387 SDL_CFLAGS=""
41388 SDL_LIBS=""
41389 wxUSE_LIBSDL="no"
41390 fi
41391
41392
41393 rm -f conf.sdltest
41394
41395 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41396 WITH_PLUGIN_SDL=1
41397 fi
41398 fi
41399 else
41400 if test "$wxUSE_MGL" = 1; then
41401 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41402 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41403 wxUSE_SOUND="no"
41404 fi
41405 fi
41406 fi
41407
41408 if test "$wxUSE_SOUND" = "yes"; then
41409 cat >>confdefs.h <<\_ACEOF
41410 #define wxUSE_SOUND 1
41411 _ACEOF
41412
41413 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41414 fi
41415
41416 if test "$WXGTK20" = 1; then
41417
41418
41419 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41420 if test -n "$ac_tool_prefix"; then
41421 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41422 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41425 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41426 echo $ECHO_N "(cached) $ECHO_C" >&6
41427 else
41428 case $PKG_CONFIG in
41429 [\\/]* | ?:[\\/]*)
41430 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41431 ;;
41432 *)
41433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41434 for as_dir in $PATH
41435 do
41436 IFS=$as_save_IFS
41437 test -z "$as_dir" && as_dir=.
41438 for ac_exec_ext in '' $ac_executable_extensions; do
41439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41440 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41442 break 2
41443 fi
41444 done
41445 done
41446 IFS=$as_save_IFS
41447
41448 ;;
41449 esac
41450 fi
41451 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41452 if test -n "$PKG_CONFIG"; then
41453 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41454 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41455 else
41456 { echo "$as_me:$LINENO: result: no" >&5
41457 echo "${ECHO_T}no" >&6; }
41458 fi
41459
41460
41461 fi
41462 if test -z "$ac_cv_path_PKG_CONFIG"; then
41463 ac_pt_PKG_CONFIG=$PKG_CONFIG
41464 # Extract the first word of "pkg-config", so it can be a program name with args.
41465 set dummy pkg-config; ac_word=$2
41466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41468 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41469 echo $ECHO_N "(cached) $ECHO_C" >&6
41470 else
41471 case $ac_pt_PKG_CONFIG in
41472 [\\/]* | ?:[\\/]*)
41473 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41474 ;;
41475 *)
41476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41477 for as_dir in $PATH
41478 do
41479 IFS=$as_save_IFS
41480 test -z "$as_dir" && as_dir=.
41481 for ac_exec_ext in '' $ac_executable_extensions; do
41482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41483 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41485 break 2
41486 fi
41487 done
41488 done
41489 IFS=$as_save_IFS
41490
41491 ;;
41492 esac
41493 fi
41494 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41495 if test -n "$ac_pt_PKG_CONFIG"; then
41496 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41497 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41498 else
41499 { echo "$as_me:$LINENO: result: no" >&5
41500 echo "${ECHO_T}no" >&6; }
41501 fi
41502
41503 if test "x$ac_pt_PKG_CONFIG" = x; then
41504 PKG_CONFIG=""
41505 else
41506 case $cross_compiling:$ac_tool_warned in
41507 yes:)
41508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41509 whose name does not start with the host triplet. If you think this
41510 configuration is useful to you, please write to autoconf@gnu.org." >&5
41511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41512 whose name does not start with the host triplet. If you think this
41513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41514 ac_tool_warned=yes ;;
41515 esac
41516 PKG_CONFIG=$ac_pt_PKG_CONFIG
41517 fi
41518 else
41519 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41520 fi
41521
41522 fi
41523 if test -n "$PKG_CONFIG"; then
41524 _pkg_min_version=0.9.0
41525 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41526 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41527 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41528 { echo "$as_me:$LINENO: result: yes" >&5
41529 echo "${ECHO_T}yes" >&6; }
41530 else
41531 { echo "$as_me:$LINENO: result: no" >&5
41532 echo "${ECHO_T}no" >&6; }
41533 PKG_CONFIG=""
41534 fi
41535
41536 fi
41537
41538 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41539 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41540
41541
41542 pkg_failed=no
41543 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41544 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41545
41546 if test -n "$PKG_CONFIG"; then
41547 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41548 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41549 else
41550 if test -n "$PKG_CONFIG" && \
41551 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41552 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41553 ac_status=$?
41554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41555 (exit $ac_status); }; then
41556 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41557 else
41558 pkg_failed=yes
41559 fi
41560 fi
41561 else
41562 pkg_failed=untried
41563 fi
41564 if test -n "$PKG_CONFIG"; then
41565 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41566 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41567 else
41568 if test -n "$PKG_CONFIG" && \
41569 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41570 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41571 ac_status=$?
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); }; then
41574 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41575 else
41576 pkg_failed=yes
41577 fi
41578 fi
41579 else
41580 pkg_failed=untried
41581 fi
41582
41583
41584
41585 if test $pkg_failed = yes; then
41586
41587 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41588 _pkg_short_errors_supported=yes
41589 else
41590 _pkg_short_errors_supported=no
41591 fi
41592 if test $_pkg_short_errors_supported = yes; then
41593 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41594 else
41595 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41596 fi
41597 # Put the nasty error message in config.log where it belongs
41598 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41599
41600
41601 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41602 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41603 wxUSE_LIBGNOMEPRINT="no"
41604
41605
41606 elif test $pkg_failed = untried; then
41607
41608 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41609 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41610 wxUSE_LIBGNOMEPRINT="no"
41611
41612
41613 else
41614 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41615 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41616 { echo "$as_me:$LINENO: result: yes" >&5
41617 echo "${ECHO_T}yes" >&6; }
41618
41619 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41620 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41621 cat >>confdefs.h <<\_ACEOF
41622 #define wxUSE_LIBGNOMEPRINT 1
41623 _ACEOF
41624
41625
41626 fi
41627 fi
41628 fi
41629
41630 if test "$wxUSE_MIMETYPE" = "yes" ; then
41631 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41632
41633
41634 pkg_failed=no
41635 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41636 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41637
41638 if test -n "$PKG_CONFIG"; then
41639 if test -n "$GNOMEVFS_CFLAGS"; then
41640 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41641 else
41642 if test -n "$PKG_CONFIG" && \
41643 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41644 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41645 ac_status=$?
41646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41647 (exit $ac_status); }; then
41648 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41649 else
41650 pkg_failed=yes
41651 fi
41652 fi
41653 else
41654 pkg_failed=untried
41655 fi
41656 if test -n "$PKG_CONFIG"; then
41657 if test -n "$GNOMEVFS_LIBS"; then
41658 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41659 else
41660 if test -n "$PKG_CONFIG" && \
41661 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41662 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41663 ac_status=$?
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); }; then
41666 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41667 else
41668 pkg_failed=yes
41669 fi
41670 fi
41671 else
41672 pkg_failed=untried
41673 fi
41674
41675
41676
41677 if test $pkg_failed = yes; then
41678
41679 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41680 _pkg_short_errors_supported=yes
41681 else
41682 _pkg_short_errors_supported=no
41683 fi
41684 if test $_pkg_short_errors_supported = yes; then
41685 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41686 else
41687 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41688 fi
41689 # Put the nasty error message in config.log where it belongs
41690 echo "$GNOMEVFS_PKG_ERRORS" >&5
41691
41692
41693 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41694 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41695 wxUSE_LIBGNOMEVFS="no"
41696
41697
41698 elif test $pkg_failed = untried; then
41699
41700 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41701 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41702 wxUSE_LIBGNOMEVFS="no"
41703
41704
41705 else
41706 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41707 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41708 { echo "$as_me:$LINENO: result: yes" >&5
41709 echo "${ECHO_T}yes" >&6; }
41710
41711 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41712 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41713 cat >>confdefs.h <<\_ACEOF
41714 #define wxUSE_LIBGNOMEVFS 1
41715 _ACEOF
41716
41717
41718 fi
41719 fi
41720 fi
41721
41722 if test "$wxUSE_LIBHILDON" = "yes" ; then
41723
41724 pkg_failed=no
41725 { echo "$as_me:$LINENO: checking for HILDON" >&5
41726 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41727
41728 if test -n "$PKG_CONFIG"; then
41729 if test -n "$HILDON_CFLAGS"; then
41730 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41731 else
41732 if test -n "$PKG_CONFIG" && \
41733 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41734 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41735 ac_status=$?
41736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41737 (exit $ac_status); }; then
41738 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41739 else
41740 pkg_failed=yes
41741 fi
41742 fi
41743 else
41744 pkg_failed=untried
41745 fi
41746 if test -n "$PKG_CONFIG"; then
41747 if test -n "$HILDON_LIBS"; then
41748 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41749 else
41750 if test -n "$PKG_CONFIG" && \
41751 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41752 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41753 ac_status=$?
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); }; then
41756 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41757 else
41758 pkg_failed=yes
41759 fi
41760 fi
41761 else
41762 pkg_failed=untried
41763 fi
41764
41765
41766
41767 if test $pkg_failed = yes; then
41768
41769 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41770 _pkg_short_errors_supported=yes
41771 else
41772 _pkg_short_errors_supported=no
41773 fi
41774 if test $_pkg_short_errors_supported = yes; then
41775 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41776 else
41777 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41778 fi
41779 # Put the nasty error message in config.log where it belongs
41780 echo "$HILDON_PKG_ERRORS" >&5
41781
41782
41783 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41784 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41785 wxUSE_LIBHILDON="no"
41786
41787
41788 elif test $pkg_failed = untried; then
41789
41790 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41791 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41792 wxUSE_LIBHILDON="no"
41793
41794
41795 else
41796 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41797 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41798 { echo "$as_me:$LINENO: result: yes" >&5
41799 echo "${ECHO_T}yes" >&6; }
41800
41801 EXTRALIBS_HILDON="$HILDON_LIBS"
41802 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41803 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41804 cat >>confdefs.h <<\_ACEOF
41805 #define wxUSE_LIBHILDON 1
41806 _ACEOF
41807
41808
41809 fi
41810 fi
41811 fi
41812
41813 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41814 cat >>confdefs.h <<\_ACEOF
41815 #define wxUSE_CMDLINE_PARSER 1
41816 _ACEOF
41817
41818 fi
41819
41820 if test "$wxUSE_STOPWATCH" = "yes"; then
41821 cat >>confdefs.h <<\_ACEOF
41822 #define wxUSE_STOPWATCH 1
41823 _ACEOF
41824
41825 fi
41826
41827 if test "$wxUSE_DATETIME" = "yes"; then
41828 cat >>confdefs.h <<\_ACEOF
41829 #define wxUSE_DATETIME 1
41830 _ACEOF
41831
41832 fi
41833
41834 if test "$wxUSE_FILE" = "yes"; then
41835 cat >>confdefs.h <<\_ACEOF
41836 #define wxUSE_FILE 1
41837 _ACEOF
41838
41839 fi
41840
41841 if test "$wxUSE_FFILE" = "yes"; then
41842 cat >>confdefs.h <<\_ACEOF
41843 #define wxUSE_FFILE 1
41844 _ACEOF
41845
41846 fi
41847
41848 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41849 if test "$wxUSE_STREAMS" != yes; then
41850 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41851 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41852 wxUSE_ARCHIVE_STREAMS=no
41853 else
41854 cat >>confdefs.h <<\_ACEOF
41855 #define wxUSE_ARCHIVE_STREAMS 1
41856 _ACEOF
41857
41858 fi
41859 fi
41860
41861 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41862 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41863 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41864 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41865 elif test "$wxUSE_ZLIB" = "no"; then
41866 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41867 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41868 else
41869 cat >>confdefs.h <<\_ACEOF
41870 #define wxUSE_ZIPSTREAM 1
41871 _ACEOF
41872
41873 fi
41874 fi
41875
41876 if test "$wxUSE_TARSTREAM" = "yes"; then
41877 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41878 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41879 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41880 else
41881 cat >>confdefs.h <<\_ACEOF
41882 #define wxUSE_TARSTREAM 1
41883 _ACEOF
41884
41885 fi
41886 fi
41887
41888 if test "$wxUSE_FILESYSTEM" = "yes"; then
41889 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41890 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41891 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41892 wxUSE_FILESYSTEM=no
41893 else
41894 cat >>confdefs.h <<\_ACEOF
41895 #define wxUSE_FILESYSTEM 1
41896 _ACEOF
41897
41898 fi
41899 fi
41900
41901 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41902 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41903 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41904 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41905 else
41906 cat >>confdefs.h <<\_ACEOF
41907 #define wxUSE_FS_ARCHIVE 1
41908 _ACEOF
41909
41910 fi
41911 fi
41912
41913 if test "$wxUSE_FS_ZIP" = "yes"; then
41914 if test "$wxUSE_FS_ARCHIVE" != yes; then
41915 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41916 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41917 else
41918 cat >>confdefs.h <<\_ACEOF
41919 #define wxUSE_FS_ZIP 1
41920 _ACEOF
41921
41922 fi
41923 fi
41924
41925 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41926 if test "$USE_UNIX" != 1; then
41927 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41928 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41929 wxUSE_ON_FATAL_EXCEPTION=no
41930 else
41931 cat >>confdefs.h <<\_ACEOF
41932 #define wxUSE_ON_FATAL_EXCEPTION 1
41933 _ACEOF
41934
41935 fi
41936 fi
41937
41938 if test "$wxUSE_STACKWALKER" = "yes"; then
41939 cat >>confdefs.h <<\_ACEOF
41940 #define wxUSE_STACKWALKER 1
41941 _ACEOF
41942
41943 fi
41944
41945 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41946 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41947 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41948 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41949 wxUSE_DEBUGREPORT=no
41950 else
41951 cat >>confdefs.h <<\_ACEOF
41952 #define wxUSE_DEBUGREPORT 1
41953 _ACEOF
41954
41955 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41957 fi
41958 fi
41959 fi
41960
41961 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41962 cat >>confdefs.h <<\_ACEOF
41963 #define wxUSE_SNGLINST_CHECKER 1
41964 _ACEOF
41965
41966 fi
41967
41968 if test "$wxUSE_BUSYINFO" = "yes"; then
41969 cat >>confdefs.h <<\_ACEOF
41970 #define wxUSE_BUSYINFO 1
41971 _ACEOF
41972
41973 fi
41974
41975 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41976 cat >>confdefs.h <<\_ACEOF
41977 #define wxUSE_STD_IOSTREAM 1
41978 _ACEOF
41979
41980 fi
41981
41982 if test "$wxUSE_STD_STRING" = "yes"; then
41983 cat >>confdefs.h <<\_ACEOF
41984 #define wxUSE_STD_STRING 1
41985 _ACEOF
41986
41987 fi
41988
41989 if test "$wxUSE_STDPATHS" = "yes"; then
41990 cat >>confdefs.h <<\_ACEOF
41991 #define wxUSE_STDPATHS 1
41992 _ACEOF
41993
41994 fi
41995
41996 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41997 cat >>confdefs.h <<\_ACEOF
41998 #define wxUSE_TEXTBUFFER 1
41999 _ACEOF
42000
42001 fi
42002
42003 if test "$wxUSE_TEXTFILE" = "yes"; then
42004 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42005 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42006 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42007 else
42008 cat >>confdefs.h <<\_ACEOF
42009 #define wxUSE_TEXTFILE 1
42010 _ACEOF
42011
42012 fi
42013 fi
42014
42015 if test "$wxUSE_CONFIG" = "yes" ; then
42016 if test "$wxUSE_TEXTFILE" != "yes"; then
42017 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42018 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42019 else
42020 cat >>confdefs.h <<\_ACEOF
42021 #define wxUSE_CONFIG 1
42022 _ACEOF
42023
42024 cat >>confdefs.h <<\_ACEOF
42025 #define wxUSE_CONFIG_NATIVE 1
42026 _ACEOF
42027
42028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42029 fi
42030 fi
42031
42032 if test "$wxUSE_INTL" = "yes" ; then
42033 if test "$wxUSE_FILE" != "yes"; then
42034 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42035 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42036 else
42037 cat >>confdefs.h <<\_ACEOF
42038 #define wxUSE_INTL 1
42039 _ACEOF
42040
42041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42042 GUIDIST="$GUIDIST INTL_DIST"
42043 fi
42044 fi
42045
42046 if test "$wxUSE_LOG" = "yes"; then
42047 cat >>confdefs.h <<\_ACEOF
42048 #define wxUSE_LOG 1
42049 _ACEOF
42050
42051
42052 if test "$wxUSE_LOGGUI" = "yes"; then
42053 cat >>confdefs.h <<\_ACEOF
42054 #define wxUSE_LOGGUI 1
42055 _ACEOF
42056
42057 fi
42058
42059 if test "$wxUSE_LOGWINDOW" = "yes"; then
42060 cat >>confdefs.h <<\_ACEOF
42061 #define wxUSE_LOGWINDOW 1
42062 _ACEOF
42063
42064 fi
42065
42066 if test "$wxUSE_LOGDIALOG" = "yes"; then
42067 cat >>confdefs.h <<\_ACEOF
42068 #define wxUSE_LOG_DIALOG 1
42069 _ACEOF
42070
42071 fi
42072
42073 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42074 fi
42075
42076 if test "$wxUSE_LONGLONG" = "yes"; then
42077 cat >>confdefs.h <<\_ACEOF
42078 #define wxUSE_LONGLONG 1
42079 _ACEOF
42080
42081 fi
42082
42083 if test "$wxUSE_GEOMETRY" = "yes"; then
42084 cat >>confdefs.h <<\_ACEOF
42085 #define wxUSE_GEOMETRY 1
42086 _ACEOF
42087
42088 fi
42089
42090 if test "$wxUSE_STREAMS" = "yes" ; then
42091 cat >>confdefs.h <<\_ACEOF
42092 #define wxUSE_STREAMS 1
42093 _ACEOF
42094
42095 fi
42096
42097 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42098 cat >>confdefs.h <<\_ACEOF
42099 #define wxUSE_PRINTF_POS_PARAMS 1
42100 _ACEOF
42101
42102 fi
42103
42104
42105
42106 if test "$wxUSE_DATETIME" = "yes"; then
42107
42108 for ac_func in strptime
42109 do
42110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42114 echo $ECHO_N "(cached) $ECHO_C" >&6
42115 else
42116 cat >conftest.$ac_ext <<_ACEOF
42117 /* confdefs.h. */
42118 _ACEOF
42119 cat confdefs.h >>conftest.$ac_ext
42120 cat >>conftest.$ac_ext <<_ACEOF
42121 /* end confdefs.h. */
42122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42124 #define $ac_func innocuous_$ac_func
42125
42126 /* System header to define __stub macros and hopefully few prototypes,
42127 which can conflict with char $ac_func (); below.
42128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42129 <limits.h> exists even on freestanding compilers. */
42130
42131 #ifdef __STDC__
42132 # include <limits.h>
42133 #else
42134 # include <assert.h>
42135 #endif
42136
42137 #undef $ac_func
42138
42139 /* Override any GCC internal prototype to avoid an error.
42140 Use char because int might match the return type of a GCC
42141 builtin and then its argument prototype would still apply. */
42142 #ifdef __cplusplus
42143 extern "C"
42144 #endif
42145 char $ac_func ();
42146 /* The GNU C library defines this for functions which it implements
42147 to always fail with ENOSYS. Some functions are actually named
42148 something starting with __ and the normal name is an alias. */
42149 #if defined __stub_$ac_func || defined __stub___$ac_func
42150 choke me
42151 #endif
42152
42153 int
42154 main ()
42155 {
42156 return $ac_func ();
42157 ;
42158 return 0;
42159 }
42160 _ACEOF
42161 rm -f conftest.$ac_objext conftest$ac_exeext
42162 if { (ac_try="$ac_link"
42163 case "(($ac_try" in
42164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42165 *) ac_try_echo=$ac_try;;
42166 esac
42167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42168 (eval "$ac_link") 2>conftest.er1
42169 ac_status=$?
42170 grep -v '^ *+' conftest.er1 >conftest.err
42171 rm -f conftest.er1
42172 cat conftest.err >&5
42173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42174 (exit $ac_status); } && {
42175 test -z "$ac_c_werror_flag" ||
42176 test ! -s conftest.err
42177 } && test -s conftest$ac_exeext &&
42178 $as_test_x conftest$ac_exeext; then
42179 eval "$as_ac_var=yes"
42180 else
42181 echo "$as_me: failed program was:" >&5
42182 sed 's/^/| /' conftest.$ac_ext >&5
42183
42184 eval "$as_ac_var=no"
42185 fi
42186
42187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42188 conftest$ac_exeext conftest.$ac_ext
42189 fi
42190 ac_res=`eval echo '${'$as_ac_var'}'`
42191 { echo "$as_me:$LINENO: result: $ac_res" >&5
42192 echo "${ECHO_T}$ac_res" >&6; }
42193 if test `eval echo '${'$as_ac_var'}'` = yes; then
42194 cat >>confdefs.h <<_ACEOF
42195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42196 _ACEOF
42197
42198 fi
42199 done
42200
42201 if test "$ac_cv_func_strptime" = "yes"; then
42202 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42203 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42204 if test "${wx_cv_func_strptime_decl+set}" = set; then
42205 echo $ECHO_N "(cached) $ECHO_C" >&6
42206 else
42207
42208 ac_ext=cpp
42209 ac_cpp='$CXXCPP $CPPFLAGS'
42210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42213
42214 cat >conftest.$ac_ext <<_ACEOF
42215 /* confdefs.h. */
42216 _ACEOF
42217 cat confdefs.h >>conftest.$ac_ext
42218 cat >>conftest.$ac_ext <<_ACEOF
42219 /* end confdefs.h. */
42220
42221 #include <time.h>
42222
42223 int
42224 main ()
42225 {
42226
42227 struct tm t;
42228 strptime("foo", "bar", &t);
42229
42230 ;
42231 return 0;
42232 }
42233 _ACEOF
42234 rm -f conftest.$ac_objext
42235 if { (ac_try="$ac_compile"
42236 case "(($ac_try" in
42237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42238 *) ac_try_echo=$ac_try;;
42239 esac
42240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42241 (eval "$ac_compile") 2>conftest.er1
42242 ac_status=$?
42243 grep -v '^ *+' conftest.er1 >conftest.err
42244 rm -f conftest.er1
42245 cat conftest.err >&5
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); } && {
42248 test -z "$ac_cxx_werror_flag" ||
42249 test ! -s conftest.err
42250 } && test -s conftest.$ac_objext; then
42251 wx_cv_func_strptime_decl=yes
42252 else
42253 echo "$as_me: failed program was:" >&5
42254 sed 's/^/| /' conftest.$ac_ext >&5
42255
42256 wx_cv_func_strptime_decl=no
42257
42258 fi
42259
42260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42261 ac_ext=c
42262 ac_cpp='$CPP $CPPFLAGS'
42263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42266
42267
42268
42269 fi
42270 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42271 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42272 fi
42273 if test "$wx_cv_func_strptime_decl" = "yes"; then
42274 cat >>confdefs.h <<\_ACEOF
42275 #define HAVE_STRPTIME_DECL 1
42276 _ACEOF
42277
42278 fi
42279
42280 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42281 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42282 if test "${wx_cv_var_timezone+set}" = set; then
42283 echo $ECHO_N "(cached) $ECHO_C" >&6
42284 else
42285
42286 ac_ext=cpp
42287 ac_cpp='$CXXCPP $CPPFLAGS'
42288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42291
42292 cat >conftest.$ac_ext <<_ACEOF
42293 /* confdefs.h. */
42294 _ACEOF
42295 cat confdefs.h >>conftest.$ac_ext
42296 cat >>conftest.$ac_ext <<_ACEOF
42297 /* end confdefs.h. */
42298
42299 #include <time.h>
42300
42301 int
42302 main ()
42303 {
42304
42305 int tz;
42306 tz = timezone;
42307
42308 ;
42309 return 0;
42310 }
42311 _ACEOF
42312 rm -f conftest.$ac_objext
42313 if { (ac_try="$ac_compile"
42314 case "(($ac_try" in
42315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42316 *) ac_try_echo=$ac_try;;
42317 esac
42318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42319 (eval "$ac_compile") 2>conftest.er1
42320 ac_status=$?
42321 grep -v '^ *+' conftest.er1 >conftest.err
42322 rm -f conftest.er1
42323 cat conftest.err >&5
42324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42325 (exit $ac_status); } && {
42326 test -z "$ac_cxx_werror_flag" ||
42327 test ! -s conftest.err
42328 } && test -s conftest.$ac_objext; then
42329
42330 wx_cv_var_timezone=timezone
42331
42332 else
42333 echo "$as_me: failed program was:" >&5
42334 sed 's/^/| /' conftest.$ac_ext >&5
42335
42336
42337 cat >conftest.$ac_ext <<_ACEOF
42338 /* confdefs.h. */
42339 _ACEOF
42340 cat confdefs.h >>conftest.$ac_ext
42341 cat >>conftest.$ac_ext <<_ACEOF
42342 /* end confdefs.h. */
42343
42344 #include <time.h>
42345
42346 int
42347 main ()
42348 {
42349
42350 int tz;
42351 tz = _timezone;
42352
42353 ;
42354 return 0;
42355 }
42356 _ACEOF
42357 rm -f conftest.$ac_objext
42358 if { (ac_try="$ac_compile"
42359 case "(($ac_try" in
42360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42361 *) ac_try_echo=$ac_try;;
42362 esac
42363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42364 (eval "$ac_compile") 2>conftest.er1
42365 ac_status=$?
42366 grep -v '^ *+' conftest.er1 >conftest.err
42367 rm -f conftest.er1
42368 cat conftest.err >&5
42369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42370 (exit $ac_status); } && {
42371 test -z "$ac_cxx_werror_flag" ||
42372 test ! -s conftest.err
42373 } && test -s conftest.$ac_objext; then
42374
42375 wx_cv_var_timezone=_timezone
42376
42377 else
42378 echo "$as_me: failed program was:" >&5
42379 sed 's/^/| /' conftest.$ac_ext >&5
42380
42381
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
42389 #include <time.h>
42390
42391 int
42392 main ()
42393 {
42394
42395 int tz;
42396 tz = __timezone;
42397
42398 ;
42399 return 0;
42400 }
42401 _ACEOF
42402 rm -f conftest.$ac_objext
42403 if { (ac_try="$ac_compile"
42404 case "(($ac_try" in
42405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42406 *) ac_try_echo=$ac_try;;
42407 esac
42408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42409 (eval "$ac_compile") 2>conftest.er1
42410 ac_status=$?
42411 grep -v '^ *+' conftest.er1 >conftest.err
42412 rm -f conftest.er1
42413 cat conftest.err >&5
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); } && {
42416 test -z "$ac_cxx_werror_flag" ||
42417 test ! -s conftest.err
42418 } && test -s conftest.$ac_objext; then
42419
42420 wx_cv_var_timezone=__timezone
42421
42422 else
42423 echo "$as_me: failed program was:" >&5
42424 sed 's/^/| /' conftest.$ac_ext >&5
42425
42426
42427 if test "$USE_DOS" = 0 ; then
42428 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42429 echo "$as_me: WARNING: no timezone variable" >&2;}
42430 fi
42431
42432
42433 fi
42434
42435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42436
42437
42438 fi
42439
42440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42441
42442
42443 fi
42444
42445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42446 ac_ext=c
42447 ac_cpp='$CPP $CPPFLAGS'
42448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42451
42452
42453
42454 fi
42455 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42456 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42457
42458 if test "x$wx_cv_var_timezone" != x ; then
42459 cat >>confdefs.h <<_ACEOF
42460 #define WX_TIMEZONE $wx_cv_var_timezone
42461 _ACEOF
42462
42463 fi
42464
42465
42466 for ac_func in localtime
42467 do
42468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42469 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42471 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42482 #define $ac_func innocuous_$ac_func
42483
42484 /* System header to define __stub macros and hopefully few prototypes,
42485 which can conflict with char $ac_func (); 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 $ac_func
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 $ac_func ();
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_$ac_func || defined __stub___$ac_func
42508 choke me
42509 #endif
42510
42511 int
42512 main ()
42513 {
42514 return $ac_func ();
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 eval "$as_ac_var=yes"
42538 else
42539 echo "$as_me: failed program was:" >&5
42540 sed 's/^/| /' conftest.$ac_ext >&5
42541
42542 eval "$as_ac_var=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 ac_res=`eval echo '${'$as_ac_var'}'`
42549 { echo "$as_me:$LINENO: result: $ac_res" >&5
42550 echo "${ECHO_T}$ac_res" >&6; }
42551 if test `eval echo '${'$as_ac_var'}'` = yes; then
42552 cat >>confdefs.h <<_ACEOF
42553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42554 _ACEOF
42555
42556 fi
42557 done
42558
42559
42560 if test "$ac_cv_func_localtime" = "yes"; then
42561 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42562 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42563 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42564 echo $ECHO_N "(cached) $ECHO_C" >&6
42565 else
42566
42567 cat >conftest.$ac_ext <<_ACEOF
42568 /* confdefs.h. */
42569 _ACEOF
42570 cat confdefs.h >>conftest.$ac_ext
42571 cat >>conftest.$ac_ext <<_ACEOF
42572 /* end confdefs.h. */
42573
42574 #include <time.h>
42575
42576 int
42577 main ()
42578 {
42579
42580 struct tm tm;
42581 tm.tm_gmtoff++;
42582
42583 ;
42584 return 0;
42585 }
42586 _ACEOF
42587 rm -f conftest.$ac_objext
42588 if { (ac_try="$ac_compile"
42589 case "(($ac_try" in
42590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42591 *) ac_try_echo=$ac_try;;
42592 esac
42593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42594 (eval "$ac_compile") 2>conftest.er1
42595 ac_status=$?
42596 grep -v '^ *+' conftest.er1 >conftest.err
42597 rm -f conftest.er1
42598 cat conftest.err >&5
42599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42600 (exit $ac_status); } && {
42601 test -z "$ac_c_werror_flag" ||
42602 test ! -s conftest.err
42603 } && test -s conftest.$ac_objext; then
42604
42605 wx_cv_struct_tm_has_gmtoff=yes
42606
42607 else
42608 echo "$as_me: failed program was:" >&5
42609 sed 's/^/| /' conftest.$ac_ext >&5
42610
42611 wx_cv_struct_tm_has_gmtoff=no
42612
42613 fi
42614
42615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42616
42617 fi
42618 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42619 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42620 fi
42621
42622 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42623 cat >>confdefs.h <<\_ACEOF
42624 #define WX_GMTOFF_IN_TM 1
42625 _ACEOF
42626
42627 fi
42628
42629
42630
42631 for ac_func in gettimeofday ftime
42632 do
42633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42634 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42636 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42637 echo $ECHO_N "(cached) $ECHO_C" >&6
42638 else
42639 cat >conftest.$ac_ext <<_ACEOF
42640 /* confdefs.h. */
42641 _ACEOF
42642 cat confdefs.h >>conftest.$ac_ext
42643 cat >>conftest.$ac_ext <<_ACEOF
42644 /* end confdefs.h. */
42645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42647 #define $ac_func innocuous_$ac_func
42648
42649 /* System header to define __stub macros and hopefully few prototypes,
42650 which can conflict with char $ac_func (); below.
42651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42652 <limits.h> exists even on freestanding compilers. */
42653
42654 #ifdef __STDC__
42655 # include <limits.h>
42656 #else
42657 # include <assert.h>
42658 #endif
42659
42660 #undef $ac_func
42661
42662 /* Override any GCC internal prototype to avoid an error.
42663 Use char because int might match the return type of a GCC
42664 builtin and then its argument prototype would still apply. */
42665 #ifdef __cplusplus
42666 extern "C"
42667 #endif
42668 char $ac_func ();
42669 /* The GNU C library defines this for functions which it implements
42670 to always fail with ENOSYS. Some functions are actually named
42671 something starting with __ and the normal name is an alias. */
42672 #if defined __stub_$ac_func || defined __stub___$ac_func
42673 choke me
42674 #endif
42675
42676 int
42677 main ()
42678 {
42679 return $ac_func ();
42680 ;
42681 return 0;
42682 }
42683 _ACEOF
42684 rm -f conftest.$ac_objext conftest$ac_exeext
42685 if { (ac_try="$ac_link"
42686 case "(($ac_try" in
42687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42688 *) ac_try_echo=$ac_try;;
42689 esac
42690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42691 (eval "$ac_link") 2>conftest.er1
42692 ac_status=$?
42693 grep -v '^ *+' conftest.er1 >conftest.err
42694 rm -f conftest.er1
42695 cat conftest.err >&5
42696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42697 (exit $ac_status); } && {
42698 test -z "$ac_c_werror_flag" ||
42699 test ! -s conftest.err
42700 } && test -s conftest$ac_exeext &&
42701 $as_test_x conftest$ac_exeext; then
42702 eval "$as_ac_var=yes"
42703 else
42704 echo "$as_me: failed program was:" >&5
42705 sed 's/^/| /' conftest.$ac_ext >&5
42706
42707 eval "$as_ac_var=no"
42708 fi
42709
42710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42711 conftest$ac_exeext conftest.$ac_ext
42712 fi
42713 ac_res=`eval echo '${'$as_ac_var'}'`
42714 { echo "$as_me:$LINENO: result: $ac_res" >&5
42715 echo "${ECHO_T}$ac_res" >&6; }
42716 if test `eval echo '${'$as_ac_var'}'` = yes; then
42717 cat >>confdefs.h <<_ACEOF
42718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42719 _ACEOF
42720 break
42721 fi
42722 done
42723
42724
42725 if test "$ac_cv_func_gettimeofday" = "yes"; then
42726 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42727 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42728 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42729 echo $ECHO_N "(cached) $ECHO_C" >&6
42730 else
42731
42732 cat >conftest.$ac_ext <<_ACEOF
42733 /* confdefs.h. */
42734 _ACEOF
42735 cat confdefs.h >>conftest.$ac_ext
42736 cat >>conftest.$ac_ext <<_ACEOF
42737 /* end confdefs.h. */
42738
42739 #include <sys/time.h>
42740 #include <unistd.h>
42741
42742 int
42743 main ()
42744 {
42745
42746 struct timeval tv;
42747 gettimeofday(&tv, NULL);
42748
42749 ;
42750 return 0;
42751 }
42752 _ACEOF
42753 rm -f conftest.$ac_objext
42754 if { (ac_try="$ac_compile"
42755 case "(($ac_try" in
42756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42757 *) ac_try_echo=$ac_try;;
42758 esac
42759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42760 (eval "$ac_compile") 2>conftest.er1
42761 ac_status=$?
42762 grep -v '^ *+' conftest.er1 >conftest.err
42763 rm -f conftest.er1
42764 cat conftest.err >&5
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); } && {
42767 test -z "$ac_c_werror_flag" ||
42768 test ! -s conftest.err
42769 } && test -s conftest.$ac_objext; then
42770 wx_cv_func_gettimeofday_has_2_args=yes
42771 else
42772 echo "$as_me: failed program was:" >&5
42773 sed 's/^/| /' conftest.$ac_ext >&5
42774
42775 cat >conftest.$ac_ext <<_ACEOF
42776 /* confdefs.h. */
42777 _ACEOF
42778 cat confdefs.h >>conftest.$ac_ext
42779 cat >>conftest.$ac_ext <<_ACEOF
42780 /* end confdefs.h. */
42781
42782 #include <sys/time.h>
42783 #include <unistd.h>
42784
42785 int
42786 main ()
42787 {
42788
42789 struct timeval tv;
42790 gettimeofday(&tv);
42791
42792 ;
42793 return 0;
42794 }
42795 _ACEOF
42796 rm -f conftest.$ac_objext
42797 if { (ac_try="$ac_compile"
42798 case "(($ac_try" in
42799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42800 *) ac_try_echo=$ac_try;;
42801 esac
42802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42803 (eval "$ac_compile") 2>conftest.er1
42804 ac_status=$?
42805 grep -v '^ *+' conftest.er1 >conftest.err
42806 rm -f conftest.er1
42807 cat conftest.err >&5
42808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42809 (exit $ac_status); } && {
42810 test -z "$ac_c_werror_flag" ||
42811 test ! -s conftest.err
42812 } && test -s conftest.$ac_objext; then
42813 wx_cv_func_gettimeofday_has_2_args=no
42814 else
42815 echo "$as_me: failed program was:" >&5
42816 sed 's/^/| /' conftest.$ac_ext >&5
42817
42818
42819 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42820 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42821 wx_cv_func_gettimeofday_has_2_args=unknown
42822
42823
42824 fi
42825
42826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42827
42828 fi
42829
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831
42832 fi
42833 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42834 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42835
42836 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42837 cat >>confdefs.h <<\_ACEOF
42838 #define WX_GETTIMEOFDAY_NO_TZ 1
42839 _ACEOF
42840
42841 fi
42842 fi
42843
42844 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42845 fi
42846
42847
42848 if test "$wxUSE_SOCKETS" = "yes"; then
42849 if test "$wxUSE_MGL" = "1"; then
42850 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42851 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42852 wxUSE_SOCKETS="no"
42853 fi
42854 fi
42855
42856 if test "$wxUSE_SOCKETS" = "yes"; then
42857 if test "$TOOLKIT" != "MSW"; then
42858 { echo "$as_me:$LINENO: checking for socket" >&5
42859 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42860 if test "${ac_cv_func_socket+set}" = set; then
42861 echo $ECHO_N "(cached) $ECHO_C" >&6
42862 else
42863 cat >conftest.$ac_ext <<_ACEOF
42864 /* confdefs.h. */
42865 _ACEOF
42866 cat confdefs.h >>conftest.$ac_ext
42867 cat >>conftest.$ac_ext <<_ACEOF
42868 /* end confdefs.h. */
42869 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42871 #define socket innocuous_socket
42872
42873 /* System header to define __stub macros and hopefully few prototypes,
42874 which can conflict with char socket (); below.
42875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42876 <limits.h> exists even on freestanding compilers. */
42877
42878 #ifdef __STDC__
42879 # include <limits.h>
42880 #else
42881 # include <assert.h>
42882 #endif
42883
42884 #undef socket
42885
42886 /* Override any GCC internal prototype to avoid an error.
42887 Use char because int might match the return type of a GCC
42888 builtin and then its argument prototype would still apply. */
42889 #ifdef __cplusplus
42890 extern "C"
42891 #endif
42892 char socket ();
42893 /* The GNU C library defines this for functions which it implements
42894 to always fail with ENOSYS. Some functions are actually named
42895 something starting with __ and the normal name is an alias. */
42896 #if defined __stub_socket || defined __stub___socket
42897 choke me
42898 #endif
42899
42900 int
42901 main ()
42902 {
42903 return socket ();
42904 ;
42905 return 0;
42906 }
42907 _ACEOF
42908 rm -f conftest.$ac_objext conftest$ac_exeext
42909 if { (ac_try="$ac_link"
42910 case "(($ac_try" in
42911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42912 *) ac_try_echo=$ac_try;;
42913 esac
42914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42915 (eval "$ac_link") 2>conftest.er1
42916 ac_status=$?
42917 grep -v '^ *+' conftest.er1 >conftest.err
42918 rm -f conftest.er1
42919 cat conftest.err >&5
42920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42921 (exit $ac_status); } && {
42922 test -z "$ac_c_werror_flag" ||
42923 test ! -s conftest.err
42924 } && test -s conftest$ac_exeext &&
42925 $as_test_x conftest$ac_exeext; then
42926 ac_cv_func_socket=yes
42927 else
42928 echo "$as_me: failed program was:" >&5
42929 sed 's/^/| /' conftest.$ac_ext >&5
42930
42931 ac_cv_func_socket=no
42932 fi
42933
42934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42935 conftest$ac_exeext conftest.$ac_ext
42936 fi
42937 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42938 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42939 if test $ac_cv_func_socket = yes; then
42940 :
42941 else
42942
42943 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42944 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42945 if test "${ac_cv_lib_socket_socket+set}" = set; then
42946 echo $ECHO_N "(cached) $ECHO_C" >&6
42947 else
42948 ac_check_lib_save_LIBS=$LIBS
42949 LIBS="-lsocket $LIBS"
42950 cat >conftest.$ac_ext <<_ACEOF
42951 /* confdefs.h. */
42952 _ACEOF
42953 cat confdefs.h >>conftest.$ac_ext
42954 cat >>conftest.$ac_ext <<_ACEOF
42955 /* end confdefs.h. */
42956
42957 /* Override any GCC internal prototype to avoid an error.
42958 Use char because int might match the return type of a GCC
42959 builtin and then its argument prototype would still apply. */
42960 #ifdef __cplusplus
42961 extern "C"
42962 #endif
42963 char socket ();
42964 int
42965 main ()
42966 {
42967 return socket ();
42968 ;
42969 return 0;
42970 }
42971 _ACEOF
42972 rm -f conftest.$ac_objext conftest$ac_exeext
42973 if { (ac_try="$ac_link"
42974 case "(($ac_try" in
42975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42976 *) ac_try_echo=$ac_try;;
42977 esac
42978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42979 (eval "$ac_link") 2>conftest.er1
42980 ac_status=$?
42981 grep -v '^ *+' conftest.er1 >conftest.err
42982 rm -f conftest.er1
42983 cat conftest.err >&5
42984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42985 (exit $ac_status); } && {
42986 test -z "$ac_c_werror_flag" ||
42987 test ! -s conftest.err
42988 } && test -s conftest$ac_exeext &&
42989 $as_test_x conftest$ac_exeext; then
42990 ac_cv_lib_socket_socket=yes
42991 else
42992 echo "$as_me: failed program was:" >&5
42993 sed 's/^/| /' conftest.$ac_ext >&5
42994
42995 ac_cv_lib_socket_socket=no
42996 fi
42997
42998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42999 conftest$ac_exeext conftest.$ac_ext
43000 LIBS=$ac_check_lib_save_LIBS
43001 fi
43002 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43003 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43004 if test $ac_cv_lib_socket_socket = yes; then
43005 if test "$INET_LINK" != " -lsocket"; then
43006 INET_LINK="$INET_LINK -lsocket"
43007 fi
43008 else
43009
43010 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43011 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43012 wxUSE_SOCKETS=no
43013
43014
43015 fi
43016
43017
43018
43019 fi
43020
43021 fi
43022 fi
43023
43024 if test "$wxUSE_SOCKETS" = "yes" ; then
43025 if test "$TOOLKIT" != "MSW"; then
43026 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43027 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43028 if test "${wx_cv_type_getsockname3+set}" = set; then
43029 echo $ECHO_N "(cached) $ECHO_C" >&6
43030 else
43031
43032 ac_ext=cpp
43033 ac_cpp='$CXXCPP $CPPFLAGS'
43034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43037
43038 cat >conftest.$ac_ext <<_ACEOF
43039 /* confdefs.h. */
43040 _ACEOF
43041 cat confdefs.h >>conftest.$ac_ext
43042 cat >>conftest.$ac_ext <<_ACEOF
43043 /* end confdefs.h. */
43044
43045 #include <sys/types.h>
43046 #include <sys/socket.h>
43047
43048 int
43049 main ()
43050 {
43051
43052 socklen_t len;
43053 getsockname(0, 0, &len);
43054
43055 ;
43056 return 0;
43057 }
43058 _ACEOF
43059 rm -f conftest.$ac_objext
43060 if { (ac_try="$ac_compile"
43061 case "(($ac_try" in
43062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43063 *) ac_try_echo=$ac_try;;
43064 esac
43065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43066 (eval "$ac_compile") 2>conftest.er1
43067 ac_status=$?
43068 grep -v '^ *+' conftest.er1 >conftest.err
43069 rm -f conftest.er1
43070 cat conftest.err >&5
43071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43072 (exit $ac_status); } && {
43073 test -z "$ac_cxx_werror_flag" ||
43074 test ! -s conftest.err
43075 } && test -s conftest.$ac_objext; then
43076 wx_cv_type_getsockname3=socklen_t
43077 else
43078 echo "$as_me: failed program was:" >&5
43079 sed 's/^/| /' conftest.$ac_ext >&5
43080
43081
43082 CFLAGS_OLD="$CFLAGS"
43083 if test "$GCC" = yes ; then
43084 CFLAGS="-Werror $CFLAGS"
43085 fi
43086
43087 cat >conftest.$ac_ext <<_ACEOF
43088 /* confdefs.h. */
43089 _ACEOF
43090 cat confdefs.h >>conftest.$ac_ext
43091 cat >>conftest.$ac_ext <<_ACEOF
43092 /* end confdefs.h. */
43093
43094 #include <sys/types.h>
43095 #include <sys/socket.h>
43096
43097 int
43098 main ()
43099 {
43100
43101 size_t len;
43102 getsockname(0, 0, &len);
43103
43104 ;
43105 return 0;
43106 }
43107 _ACEOF
43108 rm -f conftest.$ac_objext
43109 if { (ac_try="$ac_compile"
43110 case "(($ac_try" in
43111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43112 *) ac_try_echo=$ac_try;;
43113 esac
43114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43115 (eval "$ac_compile") 2>conftest.er1
43116 ac_status=$?
43117 grep -v '^ *+' conftest.er1 >conftest.err
43118 rm -f conftest.er1
43119 cat conftest.err >&5
43120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43121 (exit $ac_status); } && {
43122 test -z "$ac_cxx_werror_flag" ||
43123 test ! -s conftest.err
43124 } && test -s conftest.$ac_objext; then
43125 wx_cv_type_getsockname3=size_t
43126 else
43127 echo "$as_me: failed program was:" >&5
43128 sed 's/^/| /' conftest.$ac_ext >&5
43129
43130 cat >conftest.$ac_ext <<_ACEOF
43131 /* confdefs.h. */
43132 _ACEOF
43133 cat confdefs.h >>conftest.$ac_ext
43134 cat >>conftest.$ac_ext <<_ACEOF
43135 /* end confdefs.h. */
43136
43137 #include <sys/types.h>
43138 #include <sys/socket.h>
43139
43140 int
43141 main ()
43142 {
43143
43144 int len;
43145 getsockname(0, 0, &len);
43146
43147 ;
43148 return 0;
43149 }
43150 _ACEOF
43151 rm -f conftest.$ac_objext
43152 if { (ac_try="$ac_compile"
43153 case "(($ac_try" in
43154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43155 *) ac_try_echo=$ac_try;;
43156 esac
43157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43158 (eval "$ac_compile") 2>conftest.er1
43159 ac_status=$?
43160 grep -v '^ *+' conftest.er1 >conftest.err
43161 rm -f conftest.er1
43162 cat conftest.err >&5
43163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43164 (exit $ac_status); } && {
43165 test -z "$ac_cxx_werror_flag" ||
43166 test ! -s conftest.err
43167 } && test -s conftest.$ac_objext; then
43168 wx_cv_type_getsockname3=int
43169 else
43170 echo "$as_me: failed program was:" >&5
43171 sed 's/^/| /' conftest.$ac_ext >&5
43172
43173 wx_cv_type_getsockname3=unknown
43174
43175 fi
43176
43177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43178
43179 fi
43180
43181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43182
43183 CFLAGS="$CFLAGS_OLD"
43184
43185
43186 fi
43187
43188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43189 ac_ext=c
43190 ac_cpp='$CPP $CPPFLAGS'
43191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43194
43195
43196 fi
43197 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43198 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43199
43200 if test "$wx_cv_type_getsockname3" = "unknown"; then
43201 wxUSE_SOCKETS=no
43202 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43203 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43204 else
43205 cat >>confdefs.h <<_ACEOF
43206 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43207 _ACEOF
43208
43209 fi
43210 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43211 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43212 if test "${wx_cv_type_getsockopt5+set}" = set; then
43213 echo $ECHO_N "(cached) $ECHO_C" >&6
43214 else
43215
43216 cat >conftest.$ac_ext <<_ACEOF
43217 /* confdefs.h. */
43218 _ACEOF
43219 cat confdefs.h >>conftest.$ac_ext
43220 cat >>conftest.$ac_ext <<_ACEOF
43221 /* end confdefs.h. */
43222
43223 #include <sys/types.h>
43224 #include <sys/socket.h>
43225
43226 int
43227 main ()
43228 {
43229
43230 socklen_t len;
43231 getsockopt(0, 0, 0, 0, &len);
43232
43233 ;
43234 return 0;
43235 }
43236 _ACEOF
43237 rm -f conftest.$ac_objext
43238 if { (ac_try="$ac_compile"
43239 case "(($ac_try" in
43240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43241 *) ac_try_echo=$ac_try;;
43242 esac
43243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43244 (eval "$ac_compile") 2>conftest.er1
43245 ac_status=$?
43246 grep -v '^ *+' conftest.er1 >conftest.err
43247 rm -f conftest.er1
43248 cat conftest.err >&5
43249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250 (exit $ac_status); } && {
43251 test -z "$ac_c_werror_flag" ||
43252 test ! -s conftest.err
43253 } && test -s conftest.$ac_objext; then
43254 wx_cv_type_getsockopt5=socklen_t
43255 else
43256 echo "$as_me: failed program was:" >&5
43257 sed 's/^/| /' conftest.$ac_ext >&5
43258
43259
43260 ac_ext=cpp
43261 ac_cpp='$CXXCPP $CPPFLAGS'
43262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43265
43266 cat >conftest.$ac_ext <<_ACEOF
43267 /* confdefs.h. */
43268 _ACEOF
43269 cat confdefs.h >>conftest.$ac_ext
43270 cat >>conftest.$ac_ext <<_ACEOF
43271 /* end confdefs.h. */
43272
43273 #include <sys/types.h>
43274 #include <sys/socket.h>
43275
43276 int
43277 main ()
43278 {
43279
43280 size_t len;
43281 getsockopt(0, 0, 0, 0, &len);
43282
43283 ;
43284 return 0;
43285 }
43286 _ACEOF
43287 rm -f conftest.$ac_objext
43288 if { (ac_try="$ac_compile"
43289 case "(($ac_try" in
43290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43291 *) ac_try_echo=$ac_try;;
43292 esac
43293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43294 (eval "$ac_compile") 2>conftest.er1
43295 ac_status=$?
43296 grep -v '^ *+' conftest.er1 >conftest.err
43297 rm -f conftest.er1
43298 cat conftest.err >&5
43299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43300 (exit $ac_status); } && {
43301 test -z "$ac_cxx_werror_flag" ||
43302 test ! -s conftest.err
43303 } && test -s conftest.$ac_objext; then
43304 wx_cv_type_getsockopt5=size_t
43305 else
43306 echo "$as_me: failed program was:" >&5
43307 sed 's/^/| /' conftest.$ac_ext >&5
43308
43309 cat >conftest.$ac_ext <<_ACEOF
43310 /* confdefs.h. */
43311 _ACEOF
43312 cat confdefs.h >>conftest.$ac_ext
43313 cat >>conftest.$ac_ext <<_ACEOF
43314 /* end confdefs.h. */
43315
43316 #include <sys/types.h>
43317 #include <sys/socket.h>
43318
43319 int
43320 main ()
43321 {
43322
43323 int len;
43324 getsockopt(0, 0, 0, 0, &len);
43325
43326 ;
43327 return 0;
43328 }
43329 _ACEOF
43330 rm -f conftest.$ac_objext
43331 if { (ac_try="$ac_compile"
43332 case "(($ac_try" in
43333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43334 *) ac_try_echo=$ac_try;;
43335 esac
43336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43337 (eval "$ac_compile") 2>conftest.er1
43338 ac_status=$?
43339 grep -v '^ *+' conftest.er1 >conftest.err
43340 rm -f conftest.er1
43341 cat conftest.err >&5
43342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43343 (exit $ac_status); } && {
43344 test -z "$ac_cxx_werror_flag" ||
43345 test ! -s conftest.err
43346 } && test -s conftest.$ac_objext; then
43347 wx_cv_type_getsockopt5=int
43348 else
43349 echo "$as_me: failed program was:" >&5
43350 sed 's/^/| /' conftest.$ac_ext >&5
43351
43352 wx_cv_type_getsockopt5=unknown
43353
43354 fi
43355
43356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43357
43358 fi
43359
43360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43361 ac_ext=c
43362 ac_cpp='$CPP $CPPFLAGS'
43363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43366
43367
43368
43369 fi
43370
43371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43372
43373 fi
43374 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43375 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43376
43377 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43378 wxUSE_SOCKETS=no
43379 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43380 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43381 else
43382 cat >>confdefs.h <<_ACEOF
43383 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43384 _ACEOF
43385
43386 fi
43387 fi
43388 fi
43389
43390 if test "$wxUSE_SOCKETS" = "yes" ; then
43391 cat >>confdefs.h <<\_ACEOF
43392 #define wxUSE_SOCKETS 1
43393 _ACEOF
43394
43395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43396 fi
43397
43398 if test "$wxUSE_PROTOCOL" = "yes"; then
43399 if test "$wxUSE_SOCKETS" != "yes"; then
43400 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43401 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43402 wxUSE_PROTOCOL=no
43403 fi
43404 fi
43405
43406 if test "$wxUSE_PROTOCOL" = "yes"; then
43407 cat >>confdefs.h <<\_ACEOF
43408 #define wxUSE_PROTOCOL 1
43409 _ACEOF
43410
43411
43412 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43413 cat >>confdefs.h <<\_ACEOF
43414 #define wxUSE_PROTOCOL_HTTP 1
43415 _ACEOF
43416
43417 fi
43418 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43419 cat >>confdefs.h <<\_ACEOF
43420 #define wxUSE_PROTOCOL_FTP 1
43421 _ACEOF
43422
43423 fi
43424 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43425 cat >>confdefs.h <<\_ACEOF
43426 #define wxUSE_PROTOCOL_FILE 1
43427 _ACEOF
43428
43429 fi
43430 else
43431 if test "$wxUSE_FS_INET" = "yes"; then
43432 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43433 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43434 wxUSE_FS_INET="no"
43435 fi
43436 fi
43437
43438 if test "$wxUSE_URL" = "yes"; then
43439 if test "$wxUSE_PROTOCOL" != "yes"; then
43440 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43441 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43442 wxUSE_URL=no
43443 fi
43444 if test "$wxUSE_URL" = "yes"; then
43445 cat >>confdefs.h <<\_ACEOF
43446 #define wxUSE_URL 1
43447 _ACEOF
43448
43449 fi
43450 fi
43451
43452 if test "$wxUSE_VARIANT" = "yes"; then
43453 cat >>confdefs.h <<\_ACEOF
43454 #define wxUSE_VARIANT 1
43455 _ACEOF
43456
43457 fi
43458
43459 if test "$wxUSE_FS_INET" = "yes"; then
43460 cat >>confdefs.h <<\_ACEOF
43461 #define wxUSE_FS_INET 1
43462 _ACEOF
43463
43464 fi
43465
43466
43467 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43468 wxUSE_JOYSTICK=no
43469
43470 if test "$TOOLKIT" = "MSW"; then
43471 wxUSE_JOYSTICK=yes
43472
43473 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43474 if test "$USE_DARWIN" = 1; then
43475 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43476 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43477 ac_ext=cpp
43478 ac_cpp='$CXXCPP $CPPFLAGS'
43479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43482
43483 cat >conftest.$ac_ext <<_ACEOF
43484 /* confdefs.h. */
43485 _ACEOF
43486 cat confdefs.h >>conftest.$ac_ext
43487 cat >>conftest.$ac_ext <<_ACEOF
43488 /* end confdefs.h. */
43489 #include <IOKit/hid/IOHIDLib.h>
43490 int
43491 main ()
43492 {
43493 IOHIDQueueInterface *qi = NULL;
43494 IOHIDCallbackFunction cb = NULL;
43495 qi->setEventCallout(NULL, cb, NULL, NULL);
43496 ;
43497 return 0;
43498 }
43499 _ACEOF
43500 rm -f conftest.$ac_objext
43501 if { (ac_try="$ac_compile"
43502 case "(($ac_try" in
43503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43504 *) ac_try_echo=$ac_try;;
43505 esac
43506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43507 (eval "$ac_compile") 2>conftest.er1
43508 ac_status=$?
43509 grep -v '^ *+' conftest.er1 >conftest.err
43510 rm -f conftest.er1
43511 cat conftest.err >&5
43512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43513 (exit $ac_status); } && {
43514 test -z "$ac_cxx_werror_flag" ||
43515 test ! -s conftest.err
43516 } && test -s conftest.$ac_objext; then
43517 wxUSE_JOYSTICK=yes
43518
43519 else
43520 echo "$as_me: failed program was:" >&5
43521 sed 's/^/| /' conftest.$ac_ext >&5
43522
43523
43524 fi
43525
43526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43527 ac_ext=c
43528 ac_cpp='$CPP $CPPFLAGS'
43529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43532
43533 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43534 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43535 fi
43536
43537 else
43538 if test "$wxUSE_MGL" != "1"; then
43539 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43540 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43541 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43542 echo $ECHO_N "(cached) $ECHO_C" >&6
43543 else
43544 cat >conftest.$ac_ext <<_ACEOF
43545 /* confdefs.h. */
43546 _ACEOF
43547 cat confdefs.h >>conftest.$ac_ext
43548 cat >>conftest.$ac_ext <<_ACEOF
43549 /* end confdefs.h. */
43550 $ac_includes_default
43551
43552 #include <linux/joystick.h>
43553 _ACEOF
43554 rm -f conftest.$ac_objext
43555 if { (ac_try="$ac_compile"
43556 case "(($ac_try" in
43557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43558 *) ac_try_echo=$ac_try;;
43559 esac
43560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43561 (eval "$ac_compile") 2>conftest.er1
43562 ac_status=$?
43563 grep -v '^ *+' conftest.er1 >conftest.err
43564 rm -f conftest.er1
43565 cat conftest.err >&5
43566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567 (exit $ac_status); } && {
43568 test -z "$ac_c_werror_flag" ||
43569 test ! -s conftest.err
43570 } && test -s conftest.$ac_objext; then
43571 ac_cv_header_linux_joystick_h=yes
43572 else
43573 echo "$as_me: failed program was:" >&5
43574 sed 's/^/| /' conftest.$ac_ext >&5
43575
43576 ac_cv_header_linux_joystick_h=no
43577 fi
43578
43579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43580 fi
43581 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43582 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43583 if test $ac_cv_header_linux_joystick_h = yes; then
43584 wxUSE_JOYSTICK=yes
43585 fi
43586
43587
43588 fi
43589 fi
43590
43591 if test "$wxUSE_JOYSTICK" = "yes"; then
43592 cat >>confdefs.h <<\_ACEOF
43593 #define wxUSE_JOYSTICK 1
43594 _ACEOF
43595
43596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43597 else
43598 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43599 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43600 fi
43601 fi
43602
43603
43604
43605 if test "$wxUSE_FONTMAP" = "yes" ; then
43606 cat >>confdefs.h <<\_ACEOF
43607 #define wxUSE_FONTMAP 1
43608 _ACEOF
43609
43610 fi
43611
43612 if test "$wxUSE_UNICODE" = "yes" ; then
43613 cat >>confdefs.h <<\_ACEOF
43614 #define wxUSE_UNICODE 1
43615 _ACEOF
43616
43617
43618 if test "$USE_WIN32" != 1; then
43619 wxUSE_UNICODE_MSLU=no
43620 fi
43621
43622 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43623 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43624 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43625 if test "${ac_cv_lib_unicows_main+set}" = set; then
43626 echo $ECHO_N "(cached) $ECHO_C" >&6
43627 else
43628 ac_check_lib_save_LIBS=$LIBS
43629 LIBS="-lunicows $LIBS"
43630 cat >conftest.$ac_ext <<_ACEOF
43631 /* confdefs.h. */
43632 _ACEOF
43633 cat confdefs.h >>conftest.$ac_ext
43634 cat >>conftest.$ac_ext <<_ACEOF
43635 /* end confdefs.h. */
43636
43637
43638 int
43639 main ()
43640 {
43641 return main ();
43642 ;
43643 return 0;
43644 }
43645 _ACEOF
43646 rm -f conftest.$ac_objext conftest$ac_exeext
43647 if { (ac_try="$ac_link"
43648 case "(($ac_try" in
43649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43650 *) ac_try_echo=$ac_try;;
43651 esac
43652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43653 (eval "$ac_link") 2>conftest.er1
43654 ac_status=$?
43655 grep -v '^ *+' conftest.er1 >conftest.err
43656 rm -f conftest.er1
43657 cat conftest.err >&5
43658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43659 (exit $ac_status); } && {
43660 test -z "$ac_c_werror_flag" ||
43661 test ! -s conftest.err
43662 } && test -s conftest$ac_exeext &&
43663 $as_test_x conftest$ac_exeext; then
43664 ac_cv_lib_unicows_main=yes
43665 else
43666 echo "$as_me: failed program was:" >&5
43667 sed 's/^/| /' conftest.$ac_ext >&5
43668
43669 ac_cv_lib_unicows_main=no
43670 fi
43671
43672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43673 conftest$ac_exeext conftest.$ac_ext
43674 LIBS=$ac_check_lib_save_LIBS
43675 fi
43676 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43677 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43678 if test $ac_cv_lib_unicows_main = yes; then
43679
43680 cat >>confdefs.h <<\_ACEOF
43681 #define wxUSE_UNICODE_MSLU 1
43682 _ACEOF
43683
43684
43685 else
43686
43687 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43688 Applications will only run on Windows NT/2000/XP!" >&5
43689 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43690 Applications will only run on Windows NT/2000/XP!" >&2;}
43691 wxUSE_UNICODE_MSLU=no
43692
43693 fi
43694
43695 fi
43696 fi
43697
43698 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_EXPERIMENTAL_PRINTF 1
43701 _ACEOF
43702
43703 fi
43704
43705
43706 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43707 cat >>confdefs.h <<\_ACEOF
43708 #define wxUSE_POSTSCRIPT 1
43709 _ACEOF
43710
43711 fi
43712
43713 cat >>confdefs.h <<\_ACEOF
43714 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43715 _ACEOF
43716
43717
43718 cat >>confdefs.h <<\_ACEOF
43719 #define wxUSE_NORMALIZED_PS_FONTS 1
43720 _ACEOF
43721
43722
43723
43724 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_CONSTRAINTS 1
43727 _ACEOF
43728
43729 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43730 fi
43731
43732 if test "$wxUSE_MDI" = "yes"; then
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_MDI 1
43735 _ACEOF
43736
43737
43738 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43739 cat >>confdefs.h <<\_ACEOF
43740 #define wxUSE_MDI_ARCHITECTURE 1
43741 _ACEOF
43742
43743 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43744 fi
43745 fi
43746
43747 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43750 _ACEOF
43751
43752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43753 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43754 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43755 fi
43756 fi
43757
43758 if test "$wxUSE_HELP" = "yes"; then
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_HELP 1
43761 _ACEOF
43762
43763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43764
43765 if test "$wxUSE_MSW" = 1; then
43766 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43767 cat >>confdefs.h <<\_ACEOF
43768 #define wxUSE_MS_HTML_HELP 1
43769 _ACEOF
43770
43771 fi
43772 fi
43773
43774 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43775 if test "$wxUSE_HTML" = "yes"; then
43776 cat >>confdefs.h <<\_ACEOF
43777 #define wxUSE_WXHTML_HELP 1
43778 _ACEOF
43779
43780 else
43781 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43782 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43783 wxUSE_WXHTML_HELP=no
43784 fi
43785 fi
43786 fi
43787
43788 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43789 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43790 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43791 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43792 else
43793 cat >>confdefs.h <<\_ACEOF
43794 #define wxUSE_PRINTING_ARCHITECTURE 1
43795 _ACEOF
43796
43797 fi
43798 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43799 fi
43800
43801 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
43802 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
43803 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
43804 { (exit 1); exit 1; }; }
43805 fi
43806
43807
43808 if test "$wxUSE_METAFILE" = "yes"; then
43809 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43810 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43811 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43812 wxUSE_METAFILE=no
43813 fi
43814 fi
43815
43816
43817 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43818 -o "$wxUSE_CLIPBOARD" = "yes" \
43819 -o "$wxUSE_OLE" = "yes" \
43820 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43821 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43822 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43823 if test "${ac_cv_header_ole2_h+set}" = set; then
43824 echo $ECHO_N "(cached) $ECHO_C" >&6
43825 else
43826 cat >conftest.$ac_ext <<_ACEOF
43827 /* confdefs.h. */
43828 _ACEOF
43829 cat confdefs.h >>conftest.$ac_ext
43830 cat >>conftest.$ac_ext <<_ACEOF
43831 /* end confdefs.h. */
43832
43833
43834 #include <ole2.h>
43835 _ACEOF
43836 rm -f conftest.$ac_objext
43837 if { (ac_try="$ac_compile"
43838 case "(($ac_try" in
43839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43840 *) ac_try_echo=$ac_try;;
43841 esac
43842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43843 (eval "$ac_compile") 2>conftest.er1
43844 ac_status=$?
43845 grep -v '^ *+' conftest.er1 >conftest.err
43846 rm -f conftest.er1
43847 cat conftest.err >&5
43848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43849 (exit $ac_status); } && {
43850 test -z "$ac_c_werror_flag" ||
43851 test ! -s conftest.err
43852 } && test -s conftest.$ac_objext; then
43853 ac_cv_header_ole2_h=yes
43854 else
43855 echo "$as_me: failed program was:" >&5
43856 sed 's/^/| /' conftest.$ac_ext >&5
43857
43858 ac_cv_header_ole2_h=no
43859 fi
43860
43861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43862 fi
43863 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43864 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43865
43866
43867
43868 if test "$ac_cv_header_ole2_h" = "yes" ; then
43869 if test "$GCC" = yes ; then
43870 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43871 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43872 cat >conftest.$ac_ext <<_ACEOF
43873 /* confdefs.h. */
43874 _ACEOF
43875 cat confdefs.h >>conftest.$ac_ext
43876 cat >>conftest.$ac_ext <<_ACEOF
43877 /* end confdefs.h. */
43878 #include <windows.h>
43879 #include <ole2.h>
43880 int
43881 main ()
43882 {
43883
43884 ;
43885 return 0;
43886 }
43887 _ACEOF
43888 rm -f conftest.$ac_objext
43889 if { (ac_try="$ac_compile"
43890 case "(($ac_try" in
43891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43892 *) ac_try_echo=$ac_try;;
43893 esac
43894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43895 (eval "$ac_compile") 2>conftest.er1
43896 ac_status=$?
43897 grep -v '^ *+' conftest.er1 >conftest.err
43898 rm -f conftest.er1
43899 cat conftest.err >&5
43900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43901 (exit $ac_status); } && {
43902 test -z "$ac_c_werror_flag" ||
43903 test ! -s conftest.err
43904 } && test -s conftest.$ac_objext; then
43905 { echo "$as_me:$LINENO: result: no" >&5
43906 echo "${ECHO_T}no" >&6; }
43907 else
43908 echo "$as_me: failed program was:" >&5
43909 sed 's/^/| /' conftest.$ac_ext >&5
43910
43911 { echo "$as_me:$LINENO: result: yes" >&5
43912 echo "${ECHO_T}yes" >&6; }
43913 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43914 fi
43915
43916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43917 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43918 if test "$wxUSE_OLE" = "yes" ; then
43919 cat >>confdefs.h <<\_ACEOF
43920 #define wxUSE_OLE 1
43921 _ACEOF
43922
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_OLE_AUTOMATION 1
43925 _ACEOF
43926
43927 cat >>confdefs.h <<\_ACEOF
43928 #define wxUSE_ACTIVEX 1
43929 _ACEOF
43930
43931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43932 fi
43933 fi
43934
43935 if test "$wxUSE_DATAOBJ" = "yes" ; then
43936 cat >>confdefs.h <<\_ACEOF
43937 #define wxUSE_DATAOBJ 1
43938 _ACEOF
43939
43940 fi
43941 else
43942 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43943 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43944
43945 wxUSE_CLIPBOARD=no
43946 wxUSE_DRAG_AND_DROP=no
43947 wxUSE_DATAOBJ=no
43948 wxUSE_OLE=no
43949 fi
43950
43951 if test "$wxUSE_METAFILE" = "yes"; then
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_METAFILE 1
43954 _ACEOF
43955
43956
43957 cat >>confdefs.h <<\_ACEOF
43958 #define wxUSE_ENH_METAFILE 1
43959 _ACEOF
43960
43961 fi
43962 fi
43963
43964 if test "$wxUSE_IPC" = "yes"; then
43965 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43966 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43967 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43968 wxUSE_IPC=no
43969 fi
43970
43971 if test "$wxUSE_IPC" = "yes"; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxUSE_IPC 1
43974 _ACEOF
43975
43976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43977 fi
43978 fi
43979
43980 if test "$wxUSE_DATAOBJ" = "yes"; then
43981 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43982 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43983 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43984 wxUSE_DATAOBJ=no
43985 else
43986 cat >>confdefs.h <<\_ACEOF
43987 #define wxUSE_DATAOBJ 1
43988 _ACEOF
43989
43990 fi
43991 else
43992 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43993 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43994 wxUSE_CLIPBOARD=no
43995 wxUSE_DRAG_AND_DROP=no
43996 fi
43997
43998 if test "$wxUSE_CLIPBOARD" = "yes"; then
43999 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44000 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44001 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44002 wxUSE_CLIPBOARD=no
44003 fi
44004
44005 if test "$wxUSE_CLIPBOARD" = "yes"; then
44006 cat >>confdefs.h <<\_ACEOF
44007 #define wxUSE_CLIPBOARD 1
44008 _ACEOF
44009
44010 fi
44011 fi
44012
44013 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44014 if test "$wxUSE_GTK" = 1; then
44015 if test "$WXGTK12" != 1; then
44016 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44017 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44018 wxUSE_DRAG_AND_DROP=no
44019 fi
44020 fi
44021
44022 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44023 "$wxUSE_DFB" = 1; then
44024 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44025 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44026 wxUSE_DRAG_AND_DROP=no
44027 fi
44028
44029 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44030 cat >>confdefs.h <<\_ACEOF
44031 #define wxUSE_DRAG_AND_DROP 1
44032 _ACEOF
44033
44034 fi
44035
44036 fi
44037
44038 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44040 fi
44041
44042 if test "$wxUSE_SPLINES" = "yes" ; then
44043 cat >>confdefs.h <<\_ACEOF
44044 #define wxUSE_SPLINES 1
44045 _ACEOF
44046
44047 fi
44048
44049 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44050 cat >>confdefs.h <<\_ACEOF
44051 #define wxUSE_MOUSEWHEEL 1
44052 _ACEOF
44053
44054 fi
44055
44056
44057 USES_CONTROLS=0
44058 if test "$wxUSE_CONTROLS" = "yes"; then
44059 USES_CONTROLS=1
44060 fi
44061
44062 if test "$wxUSE_ACCEL" = "yes"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_ACCEL 1
44065 _ACEOF
44066
44067 USES_CONTROLS=1
44068 fi
44069
44070 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44071 cat >>confdefs.h <<\_ACEOF
44072 #define wxUSE_ANIMATIONCTRL 1
44073 _ACEOF
44074
44075 USES_CONTROLS=1
44076 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44077 fi
44078
44079 if test "$wxUSE_BUTTON" = "yes"; then
44080 cat >>confdefs.h <<\_ACEOF
44081 #define wxUSE_BUTTON 1
44082 _ACEOF
44083
44084 USES_CONTROLS=1
44085 fi
44086
44087 if test "$wxUSE_BMPBUTTON" = "yes"; then
44088 cat >>confdefs.h <<\_ACEOF
44089 #define wxUSE_BMPBUTTON 1
44090 _ACEOF
44091
44092 USES_CONTROLS=1
44093 fi
44094
44095 if test "$wxUSE_CALCTRL" = "yes"; then
44096 cat >>confdefs.h <<\_ACEOF
44097 #define wxUSE_CALENDARCTRL 1
44098 _ACEOF
44099
44100 USES_CONTROLS=1
44101 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44102 fi
44103
44104 if test "$wxUSE_CARET" = "yes"; then
44105 cat >>confdefs.h <<\_ACEOF
44106 #define wxUSE_CARET 1
44107 _ACEOF
44108
44109 USES_CONTROLS=1
44110 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44111 fi
44112
44113 if test "$wxUSE_COLLPANE" = "yes"; then
44114 cat >>confdefs.h <<\_ACEOF
44115 #define wxUSE_COLLPANE 1
44116 _ACEOF
44117
44118 USES_CONTROLS=1
44119 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44120 fi
44121
44122 if test "$wxUSE_COMBOBOX" = "yes"; then
44123 cat >>confdefs.h <<\_ACEOF
44124 #define wxUSE_COMBOBOX 1
44125 _ACEOF
44126
44127 USES_CONTROLS=1
44128 fi
44129
44130 if test "$wxUSE_COMBOCTRL" = "yes"; then
44131 cat >>confdefs.h <<\_ACEOF
44132 #define wxUSE_COMBOCTRL 1
44133 _ACEOF
44134
44135 USES_CONTROLS=1
44136 fi
44137
44138 if test "$wxUSE_CHOICE" = "yes"; then
44139 cat >>confdefs.h <<\_ACEOF
44140 #define wxUSE_CHOICE 1
44141 _ACEOF
44142
44143 USES_CONTROLS=1
44144 fi
44145
44146 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_CHOICEBOOK 1
44149 _ACEOF
44150
44151 USES_CONTROLS=1
44152 fi
44153
44154 if test "$wxUSE_CHECKBOX" = "yes"; then
44155 cat >>confdefs.h <<\_ACEOF
44156 #define wxUSE_CHECKBOX 1
44157 _ACEOF
44158
44159 USES_CONTROLS=1
44160 fi
44161
44162 if test "$wxUSE_CHECKLST" = "yes"; then
44163 cat >>confdefs.h <<\_ACEOF
44164 #define wxUSE_CHECKLISTBOX 1
44165 _ACEOF
44166
44167 USES_CONTROLS=1
44168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44169 fi
44170
44171 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44172 cat >>confdefs.h <<\_ACEOF
44173 #define wxUSE_COLOURPICKERCTRL 1
44174 _ACEOF
44175
44176 USES_CONTROLS=1
44177 fi
44178
44179 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44180 cat >>confdefs.h <<\_ACEOF
44181 #define wxUSE_DATEPICKCTRL 1
44182 _ACEOF
44183
44184 USES_CONTROLS=1
44185 fi
44186
44187 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44188 cat >>confdefs.h <<\_ACEOF
44189 #define wxUSE_DIRPICKERCTRL 1
44190 _ACEOF
44191
44192 USES_CONTROLS=1
44193 fi
44194
44195 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44196 cat >>confdefs.h <<\_ACEOF
44197 #define wxUSE_FILEPICKERCTRL 1
44198 _ACEOF
44199
44200 USES_CONTROLS=1
44201 fi
44202
44203 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_FONTPICKERCTRL 1
44206 _ACEOF
44207
44208 USES_CONTROLS=1
44209 fi
44210
44211 if test "$wxUSE_DISPLAY" = "yes"; then
44212 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44213 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44214 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44215 wxUSE_DISPLAY=no
44216 else
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_DISPLAY 1
44219 _ACEOF
44220
44221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44222 fi
44223 fi
44224
44225 if test "$wxUSE_DETECT_SM" = "yes"; then
44226 cat >>confdefs.h <<\_ACEOF
44227 #define wxUSE_DETECT_SM 1
44228 _ACEOF
44229
44230 fi
44231
44232 if test "$wxUSE_GAUGE" = "yes"; then
44233 cat >>confdefs.h <<\_ACEOF
44234 #define wxUSE_GAUGE 1
44235 _ACEOF
44236
44237 USES_CONTROLS=1
44238 fi
44239
44240 if test "$wxUSE_GRID" = "yes"; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define wxUSE_GRID 1
44243 _ACEOF
44244
44245 USES_CONTROLS=1
44246 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44247 fi
44248
44249 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44250 cat >>confdefs.h <<\_ACEOF
44251 #define wxUSE_HYPERLINKCTRL 1
44252 _ACEOF
44253
44254 USES_CONTROLS=1
44255 fi
44256
44257 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_BITMAPCOMBOBOX 1
44260 _ACEOF
44261
44262 USES_CONTROLS=1
44263 fi
44264
44265 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44266 cat >>confdefs.h <<\_ACEOF
44267 #define wxUSE_DATAVIEWCTRL 1
44268 _ACEOF
44269
44270 USES_CONTROLS=1
44271 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44272 fi
44273
44274 if test "$wxUSE_IMAGLIST" = "yes"; then
44275 cat >>confdefs.h <<\_ACEOF
44276 #define wxUSE_IMAGLIST 1
44277 _ACEOF
44278
44279 fi
44280
44281 if test "$wxUSE_LISTBOOK" = "yes"; then
44282 cat >>confdefs.h <<\_ACEOF
44283 #define wxUSE_LISTBOOK 1
44284 _ACEOF
44285
44286 USES_CONTROLS=1
44287 fi
44288
44289 if test "$wxUSE_LISTBOX" = "yes"; then
44290 cat >>confdefs.h <<\_ACEOF
44291 #define wxUSE_LISTBOX 1
44292 _ACEOF
44293
44294 USES_CONTROLS=1
44295 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44296 fi
44297
44298 if test "$wxUSE_LISTCTRL" = "yes"; then
44299 if test "$wxUSE_IMAGLIST" = "yes"; then
44300 cat >>confdefs.h <<\_ACEOF
44301 #define wxUSE_LISTCTRL 1
44302 _ACEOF
44303
44304 USES_CONTROLS=1
44305 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44306 else
44307 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44308 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44309 fi
44310 fi
44311
44312 if test "$wxUSE_NOTEBOOK" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_NOTEBOOK 1
44315 _ACEOF
44316
44317 USES_CONTROLS=1
44318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44319 fi
44320
44321 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44322 cat >>confdefs.h <<\_ACEOF
44323 #define wxUSE_ODCOMBOBOX 1
44324 _ACEOF
44325
44326 USES_CONTROLS=1
44327 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44328 fi
44329
44330
44331 if test "$wxUSE_RADIOBOX" = "yes"; then
44332 cat >>confdefs.h <<\_ACEOF
44333 #define wxUSE_RADIOBOX 1
44334 _ACEOF
44335
44336 USES_CONTROLS=1
44337 fi
44338
44339 if test "$wxUSE_RADIOBTN" = "yes"; then
44340 cat >>confdefs.h <<\_ACEOF
44341 #define wxUSE_RADIOBTN 1
44342 _ACEOF
44343
44344 USES_CONTROLS=1
44345 fi
44346
44347 if test "$wxUSE_SASH" = "yes"; then
44348 cat >>confdefs.h <<\_ACEOF
44349 #define wxUSE_SASH 1
44350 _ACEOF
44351
44352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44353 fi
44354
44355 if test "$wxUSE_SCROLLBAR" = "yes"; then
44356 cat >>confdefs.h <<\_ACEOF
44357 #define wxUSE_SCROLLBAR 1
44358 _ACEOF
44359
44360 USES_CONTROLS=1
44361 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44362 fi
44363
44364 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44365 cat >>confdefs.h <<\_ACEOF
44366 #define wxUSE_SEARCHCTRL 1
44367 _ACEOF
44368
44369 USES_CONTROLS=1
44370 fi
44371
44372 if test "$wxUSE_SLIDER" = "yes"; then
44373 cat >>confdefs.h <<\_ACEOF
44374 #define wxUSE_SLIDER 1
44375 _ACEOF
44376
44377 USES_CONTROLS=1
44378 fi
44379
44380 if test "$wxUSE_SPINBTN" = "yes"; then
44381 cat >>confdefs.h <<\_ACEOF
44382 #define wxUSE_SPINBTN 1
44383 _ACEOF
44384
44385 USES_CONTROLS=1
44386 fi
44387
44388 if test "$wxUSE_SPINCTRL" = "yes"; then
44389 cat >>confdefs.h <<\_ACEOF
44390 #define wxUSE_SPINCTRL 1
44391 _ACEOF
44392
44393 USES_CONTROLS=1
44394 fi
44395
44396 if test "$wxUSE_SPLITTER" = "yes"; then
44397 cat >>confdefs.h <<\_ACEOF
44398 #define wxUSE_SPLITTER 1
44399 _ACEOF
44400
44401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44402 fi
44403
44404 if test "$wxUSE_STATBMP" = "yes"; then
44405 cat >>confdefs.h <<\_ACEOF
44406 #define wxUSE_STATBMP 1
44407 _ACEOF
44408
44409 USES_CONTROLS=1
44410 fi
44411
44412 if test "$wxUSE_STATBOX" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_STATBOX 1
44415 _ACEOF
44416
44417 USES_CONTROLS=1
44418 fi
44419
44420 if test "$wxUSE_STATTEXT" = "yes"; then
44421 cat >>confdefs.h <<\_ACEOF
44422 #define wxUSE_STATTEXT 1
44423 _ACEOF
44424
44425 USES_CONTROLS=1
44426 fi
44427
44428 if test "$wxUSE_STATLINE" = "yes"; then
44429 cat >>confdefs.h <<\_ACEOF
44430 #define wxUSE_STATLINE 1
44431 _ACEOF
44432
44433 USES_CONTROLS=1
44434 fi
44435
44436 if test "$wxUSE_STATUSBAR" = "yes"; then
44437 cat >>confdefs.h <<\_ACEOF
44438 #define wxUSE_NATIVE_STATUSBAR 1
44439 _ACEOF
44440
44441 cat >>confdefs.h <<\_ACEOF
44442 #define wxUSE_STATUSBAR 1
44443 _ACEOF
44444
44445 USES_CONTROLS=1
44446
44447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44448 fi
44449
44450 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44451 cat >>confdefs.h <<\_ACEOF
44452 #define wxUSE_TAB_DIALOG 1
44453 _ACEOF
44454
44455 fi
44456
44457 if test "$wxUSE_TEXTCTRL" = "yes"; then
44458 cat >>confdefs.h <<\_ACEOF
44459 #define wxUSE_TEXTCTRL 1
44460 _ACEOF
44461
44462 USES_CONTROLS=1
44463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44464 fi
44465
44466 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44467 if test "$wxUSE_COCOA" = 1 ; then
44468 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44469 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44470 wxUSE_TOGGLEBTN=no
44471 fi
44472
44473 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44474 cat >>confdefs.h <<\_ACEOF
44475 #define wxUSE_TOGGLEBTN 1
44476 _ACEOF
44477
44478 USES_CONTROLS=1
44479 fi
44480 fi
44481
44482 if test "$wxUSE_TOOLBAR" = "yes"; then
44483 cat >>confdefs.h <<\_ACEOF
44484 #define wxUSE_TOOLBAR 1
44485 _ACEOF
44486
44487 USES_CONTROLS=1
44488
44489 if test "$wxUSE_UNIVERSAL" = "yes"; then
44490 wxUSE_TOOLBAR_NATIVE="no"
44491 else
44492 wxUSE_TOOLBAR_NATIVE="yes"
44493 cat >>confdefs.h <<\_ACEOF
44494 #define wxUSE_TOOLBAR_NATIVE 1
44495 _ACEOF
44496
44497 fi
44498
44499 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44500 fi
44501
44502 if test "$wxUSE_TOOLTIPS" = "yes"; then
44503 if test "$wxUSE_MOTIF" = 1; then
44504 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44505 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44506 else
44507 if test "$wxUSE_UNIVERSAL" = "yes"; then
44508 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44509 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44510 else
44511 cat >>confdefs.h <<\_ACEOF
44512 #define wxUSE_TOOLTIPS 1
44513 _ACEOF
44514
44515 fi
44516 fi
44517 fi
44518
44519 if test "$wxUSE_TREEBOOK" = "yes"; then
44520 cat >>confdefs.h <<\_ACEOF
44521 #define wxUSE_TREEBOOK 1
44522 _ACEOF
44523
44524 USES_CONTROLS=1
44525 fi
44526
44527 if test "$wxUSE_TOOLBOOK" = "yes"; then
44528 cat >>confdefs.h <<\_ACEOF
44529 #define wxUSE_TOOLBOOK 1
44530 _ACEOF
44531
44532 USES_CONTROLS=1
44533 fi
44534
44535 if test "$wxUSE_TREECTRL" = "yes"; then
44536 if test "$wxUSE_IMAGLIST" = "yes"; then
44537 cat >>confdefs.h <<\_ACEOF
44538 #define wxUSE_TREECTRL 1
44539 _ACEOF
44540
44541 USES_CONTROLS=1
44542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44543 else
44544 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44545 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44546 fi
44547 fi
44548
44549 if test "$wxUSE_POPUPWIN" = "yes"; then
44550 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44551 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44552 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44553 else
44554 if test "$wxUSE_PM" = 1; then
44555 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44556 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44557 else
44558 cat >>confdefs.h <<\_ACEOF
44559 #define wxUSE_POPUPWIN 1
44560 _ACEOF
44561
44562 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44563
44564 USES_CONTROLS=1
44565 fi
44566 fi
44567 fi
44568
44569 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44570 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44571 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44572 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44573 else
44574 cat >>confdefs.h <<\_ACEOF
44575 #define wxUSE_DIALUP_MANAGER 1
44576 _ACEOF
44577
44578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44579 fi
44580 fi
44581
44582 if test "$wxUSE_TIPWINDOW" = "yes"; then
44583 if test "$wxUSE_PM" = 1; then
44584 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44585 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44586 else
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_TIPWINDOW 1
44589 _ACEOF
44590
44591 fi
44592 fi
44593
44594 if test "$USES_CONTROLS" = 1; then
44595 cat >>confdefs.h <<\_ACEOF
44596 #define wxUSE_CONTROLS 1
44597 _ACEOF
44598
44599 fi
44600
44601
44602 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44603 cat >>confdefs.h <<\_ACEOF
44604 #define wxUSE_ACCESSIBILITY 1
44605 _ACEOF
44606
44607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44608 fi
44609
44610 if test "$wxUSE_DC_CACHEING" = "yes"; then
44611 cat >>confdefs.h <<\_ACEOF
44612 #define wxUSE_DC_CACHEING 1
44613 _ACEOF
44614
44615 fi
44616
44617 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44618 cat >>confdefs.h <<\_ACEOF
44619 #define wxUSE_DRAGIMAGE 1
44620 _ACEOF
44621
44622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44623 fi
44624
44625 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44626 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44627 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44628 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44629 else
44630 cat >>confdefs.h <<\_ACEOF
44631 #define wxUSE_EXCEPTIONS 1
44632 _ACEOF
44633
44634 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44635 fi
44636 fi
44637
44638 USE_HTML=0
44639 if test "$wxUSE_HTML" = "yes"; then
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_HTML 1
44642 _ACEOF
44643
44644 USE_HTML=1
44645 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44646 if test "$wxUSE_MAC" = 1; then
44647 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44648 fi
44649 fi
44650 if test "$wxUSE_WEBKIT" = "yes"; then
44651 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44652 old_CPPFLAGS="$CPPFLAGS"
44653 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44654 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44655 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44656 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44657 echo $ECHO_N "(cached) $ECHO_C" >&6
44658 else
44659 cat >conftest.$ac_ext <<_ACEOF
44660 /* confdefs.h. */
44661 _ACEOF
44662 cat confdefs.h >>conftest.$ac_ext
44663 cat >>conftest.$ac_ext <<_ACEOF
44664 /* end confdefs.h. */
44665
44666 #include <Carbon/Carbon.h>
44667 #include <WebKit/WebKit.h>
44668
44669
44670 #include <WebKit/HIWebView.h>
44671 _ACEOF
44672 rm -f conftest.$ac_objext
44673 if { (ac_try="$ac_compile"
44674 case "(($ac_try" in
44675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44676 *) ac_try_echo=$ac_try;;
44677 esac
44678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44679 (eval "$ac_compile") 2>conftest.er1
44680 ac_status=$?
44681 grep -v '^ *+' conftest.er1 >conftest.err
44682 rm -f conftest.er1
44683 cat conftest.err >&5
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); } && {
44686 test -z "$ac_c_werror_flag" ||
44687 test ! -s conftest.err
44688 } && test -s conftest.$ac_objext; then
44689 ac_cv_header_WebKit_HIWebView_h=yes
44690 else
44691 echo "$as_me: failed program was:" >&5
44692 sed 's/^/| /' conftest.$ac_ext >&5
44693
44694 ac_cv_header_WebKit_HIWebView_h=no
44695 fi
44696
44697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44698 fi
44699 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44700 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44701 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44702
44703 cat >>confdefs.h <<\_ACEOF
44704 #define wxUSE_WEBKIT 1
44705 _ACEOF
44706
44707 WEBKIT_LINK="-framework WebKit"
44708
44709 else
44710
44711 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44712 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44713 wxUSE_WEBKIT=no
44714
44715 fi
44716
44717
44718 CPPFLAGS="$old_CPPFLAGS"
44719 elif test "$wxUSE_COCOA" = 1; then
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_WEBKIT 1
44722 _ACEOF
44723
44724 else
44725 wxUSE_WEBKIT=no
44726 fi
44727 fi
44728
44729 USE_XRC=0
44730 if test "$wxUSE_XRC" = "yes"; then
44731 if test "$wxUSE_XML" != "yes"; then
44732 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44733 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44734 wxUSE_XRC=no
44735 else
44736 cat >>confdefs.h <<\_ACEOF
44737 #define wxUSE_XRC 1
44738 _ACEOF
44739
44740 USE_XRC=1
44741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44742 fi
44743 fi
44744
44745 USE_AUI=0
44746 if test "$wxUSE_AUI" = "yes"; then
44747 cat >>confdefs.h <<\_ACEOF
44748 #define wxUSE_AUI 1
44749 _ACEOF
44750
44751 USE_AUI=1
44752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44753 fi
44754
44755 if test "$wxUSE_MENUS" = "yes"; then
44756 cat >>confdefs.h <<\_ACEOF
44757 #define wxUSE_MENUS 1
44758 _ACEOF
44759
44760 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44761 fi
44762
44763 if test "$wxUSE_METAFILE" = "yes"; then
44764 cat >>confdefs.h <<\_ACEOF
44765 #define wxUSE_METAFILE 1
44766 _ACEOF
44767
44768 fi
44769
44770 if test "$wxUSE_MIMETYPE" = "yes"; then
44771 cat >>confdefs.h <<\_ACEOF
44772 #define wxUSE_MIMETYPE 1
44773 _ACEOF
44774
44775 fi
44776
44777 if test "$wxUSE_MINIFRAME" = "yes"; then
44778 cat >>confdefs.h <<\_ACEOF
44779 #define wxUSE_MINIFRAME 1
44780 _ACEOF
44781
44782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44783 fi
44784
44785 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44786 cat >>confdefs.h <<\_ACEOF
44787 #define wxUSE_SYSTEM_OPTIONS 1
44788 _ACEOF
44789
44790 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44791 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44793 fi
44794 fi
44795
44796
44797 if test "$wxUSE_VALIDATORS" = "yes"; then
44798 cat >>confdefs.h <<\_ACEOF
44799 #define wxUSE_VALIDATORS 1
44800 _ACEOF
44801
44802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44803 fi
44804
44805 if test "$wxUSE_PALETTE" = "yes" ; then
44806 if test "$wxUSE_DFB" = 1; then
44807 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44808 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44809 wxUSE_PALETTE=no
44810 else
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_PALETTE 1
44813 _ACEOF
44814
44815 fi
44816 fi
44817
44818 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44819 LIBS=" -lunicows $LIBS"
44820 fi
44821
44822 USE_RICHTEXT=0
44823 if test "$wxUSE_RICHTEXT" = "yes"; then
44824 cat >>confdefs.h <<\_ACEOF
44825 #define wxUSE_RICHTEXT 1
44826 _ACEOF
44827
44828 USE_RICHTEXT=1
44829 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44830 fi
44831
44832
44833 if test "$wxUSE_IMAGE" = "yes" ; then
44834 cat >>confdefs.h <<\_ACEOF
44835 #define wxUSE_IMAGE 1
44836 _ACEOF
44837
44838
44839 if test "$wxUSE_GIF" = "yes" ; then
44840 cat >>confdefs.h <<\_ACEOF
44841 #define wxUSE_GIF 1
44842 _ACEOF
44843
44844 fi
44845
44846 if test "$wxUSE_PCX" = "yes" ; then
44847 cat >>confdefs.h <<\_ACEOF
44848 #define wxUSE_PCX 1
44849 _ACEOF
44850
44851 fi
44852
44853 if test "$wxUSE_TGA" = "yes" ; then
44854 cat >>confdefs.h <<\_ACEOF
44855 #define wxUSE_TGA 1
44856 _ACEOF
44857
44858 fi
44859
44860 if test "$wxUSE_IFF" = "yes" ; then
44861 cat >>confdefs.h <<\_ACEOF
44862 #define wxUSE_IFF 1
44863 _ACEOF
44864
44865 fi
44866
44867 if test "$wxUSE_PNM" = "yes" ; then
44868 cat >>confdefs.h <<\_ACEOF
44869 #define wxUSE_PNM 1
44870 _ACEOF
44871
44872 fi
44873
44874 if test "$wxUSE_XPM" = "yes" ; then
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_XPM 1
44877 _ACEOF
44878
44879 fi
44880
44881 if test "$wxUSE_ICO_CUR" = "yes" ; then
44882 cat >>confdefs.h <<\_ACEOF
44883 #define wxUSE_ICO_CUR 1
44884 _ACEOF
44885
44886 fi
44887 fi
44888
44889
44890 if test "$wxUSE_ABOUTDLG" = "yes"; then
44891 cat >>confdefs.h <<\_ACEOF
44892 #define wxUSE_ABOUTDLG 1
44893 _ACEOF
44894
44895 fi
44896
44897 if test "$wxUSE_CHOICEDLG" = "yes"; then
44898 cat >>confdefs.h <<\_ACEOF
44899 #define wxUSE_CHOICEDLG 1
44900 _ACEOF
44901
44902 fi
44903
44904 if test "$wxUSE_COLOURDLG" = "yes"; then
44905 cat >>confdefs.h <<\_ACEOF
44906 #define wxUSE_COLOURDLG 1
44907 _ACEOF
44908
44909 fi
44910
44911 if test "$wxUSE_FILEDLG" = "yes"; then
44912 cat >>confdefs.h <<\_ACEOF
44913 #define wxUSE_FILEDLG 1
44914 _ACEOF
44915
44916 fi
44917
44918 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44919 cat >>confdefs.h <<\_ACEOF
44920 #define wxUSE_FINDREPLDLG 1
44921 _ACEOF
44922
44923 fi
44924
44925 if test "$wxUSE_FONTDLG" = "yes"; then
44926 cat >>confdefs.h <<\_ACEOF
44927 #define wxUSE_FONTDLG 1
44928 _ACEOF
44929
44930 fi
44931
44932 if test "$wxUSE_DIRDLG" = "yes"; then
44933 if test "$wxUSE_TREECTRL" != "yes"; then
44934 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44935 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44936 else
44937 cat >>confdefs.h <<\_ACEOF
44938 #define wxUSE_DIRDLG 1
44939 _ACEOF
44940
44941 fi
44942 fi
44943
44944 if test "$wxUSE_MSGDLG" = "yes"; then
44945 cat >>confdefs.h <<\_ACEOF
44946 #define wxUSE_MSGDLG 1
44947 _ACEOF
44948
44949 fi
44950
44951 if test "$wxUSE_NUMBERDLG" = "yes"; then
44952 cat >>confdefs.h <<\_ACEOF
44953 #define wxUSE_NUMBERDLG 1
44954 _ACEOF
44955
44956 fi
44957
44958 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44959 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44960 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44961 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44962 else
44963 cat >>confdefs.h <<\_ACEOF
44964 #define wxUSE_PROGRESSDLG 1
44965 _ACEOF
44966
44967 fi
44968 fi
44969
44970 if test "$wxUSE_SPLASH" = "yes"; then
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_SPLASH 1
44973 _ACEOF
44974
44975 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44976 fi
44977
44978 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44979 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44980 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44981 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44982 else
44983 cat >>confdefs.h <<\_ACEOF
44984 #define wxUSE_STARTUP_TIPS 1
44985 _ACEOF
44986
44987 fi
44988 fi
44989
44990 if test "$wxUSE_TEXTDLG" = "yes"; then
44991 cat >>confdefs.h <<\_ACEOF
44992 #define wxUSE_TEXTDLG 1
44993 _ACEOF
44994
44995 fi
44996
44997 if test "$wxUSE_WIZARDDLG" = "yes"; then
44998 cat >>confdefs.h <<\_ACEOF
44999 #define wxUSE_WIZARDDLG 1
45000 _ACEOF
45001
45002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45003 fi
45004
45005
45006 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45007 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_GRAPHICS_CONTEXT 1
45010 _ACEOF
45011
45012 elif test "$wxUSE_GTK" != 1; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_GRAPHICS_CONTEXT 1
45015 _ACEOF
45016
45017 else
45018
45019 pkg_failed=no
45020 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45021 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45022
45023 if test -n "$PKG_CONFIG"; then
45024 if test -n "$CAIRO_CFLAGS"; then
45025 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45026 else
45027 if test -n "$PKG_CONFIG" && \
45028 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45029 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45030 ac_status=$?
45031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45032 (exit $ac_status); }; then
45033 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45034 else
45035 pkg_failed=yes
45036 fi
45037 fi
45038 else
45039 pkg_failed=untried
45040 fi
45041 if test -n "$PKG_CONFIG"; then
45042 if test -n "$CAIRO_LIBS"; then
45043 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45044 else
45045 if test -n "$PKG_CONFIG" && \
45046 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45047 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45048 ac_status=$?
45049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45050 (exit $ac_status); }; then
45051 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45052 else
45053 pkg_failed=yes
45054 fi
45055 fi
45056 else
45057 pkg_failed=untried
45058 fi
45059
45060
45061
45062 if test $pkg_failed = yes; then
45063
45064 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45065 _pkg_short_errors_supported=yes
45066 else
45067 _pkg_short_errors_supported=no
45068 fi
45069 if test $_pkg_short_errors_supported = yes; then
45070 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45071 else
45072 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45073 fi
45074 # Put the nasty error message in config.log where it belongs
45075 echo "$CAIRO_PKG_ERRORS" >&5
45076
45077 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45078 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45079
45080 elif test $pkg_failed = untried; then
45081 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45082 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45083
45084 else
45085 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45086 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45087 { echo "$as_me:$LINENO: result: yes" >&5
45088 echo "${ECHO_T}yes" >&6; }
45089 cat >>confdefs.h <<\_ACEOF
45090 #define wxUSE_GRAPHICS_CONTEXT 1
45091 _ACEOF
45092
45093 fi
45094 fi
45095 fi
45096
45097
45098 USE_MEDIA=0
45099
45100 if test "$wxUSE_MEDIACTRL" = "yes"; then
45101 USE_MEDIA=1
45102
45103 if test "$wxUSE_GTK" = 1; then
45104 wxUSE_GSTREAMER="no"
45105
45106 GST_VERSION_MAJOR=0
45107 GST_VERSION_MINOR=10
45108 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45109
45110 if test "$wxUSE_GSTREAMER8" = "no"; then
45111
45112 pkg_failed=no
45113 { echo "$as_me:$LINENO: checking for GST" >&5
45114 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45115
45116 if test -n "$PKG_CONFIG"; then
45117 if test -n "$GST_CFLAGS"; then
45118 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45119 else
45120 if test -n "$PKG_CONFIG" && \
45121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45122 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45123 ac_status=$?
45124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45125 (exit $ac_status); }; then
45126 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45127 else
45128 pkg_failed=yes
45129 fi
45130 fi
45131 else
45132 pkg_failed=untried
45133 fi
45134 if test -n "$PKG_CONFIG"; then
45135 if test -n "$GST_LIBS"; then
45136 pkg_cv_GST_LIBS="$GST_LIBS"
45137 else
45138 if test -n "$PKG_CONFIG" && \
45139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45140 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45141 ac_status=$?
45142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45143 (exit $ac_status); }; then
45144 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45145 else
45146 pkg_failed=yes
45147 fi
45148 fi
45149 else
45150 pkg_failed=untried
45151 fi
45152
45153
45154
45155 if test $pkg_failed = yes; then
45156
45157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45158 _pkg_short_errors_supported=yes
45159 else
45160 _pkg_short_errors_supported=no
45161 fi
45162 if test $_pkg_short_errors_supported = yes; then
45163 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45164 else
45165 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45166 fi
45167 # Put the nasty error message in config.log where it belongs
45168 echo "$GST_PKG_ERRORS" >&5
45169
45170
45171 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45172 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45173 GST_VERSION_MINOR=8
45174
45175
45176 elif test $pkg_failed = untried; then
45177
45178 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45179 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45180 GST_VERSION_MINOR=8
45181
45182
45183 else
45184 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45185 GST_LIBS=$pkg_cv_GST_LIBS
45186 { echo "$as_me:$LINENO: result: yes" >&5
45187 echo "${ECHO_T}yes" >&6; }
45188
45189 wxUSE_GSTREAMER="yes"
45190 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45191
45192 fi
45193 else
45194 GST_VERSION_MINOR=8
45195 fi
45196
45197 if test $GST_VERSION_MINOR = "8"; then
45198 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45199
45200 pkg_failed=no
45201 { echo "$as_me:$LINENO: checking for GST" >&5
45202 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45203
45204 if test -n "$PKG_CONFIG"; then
45205 if test -n "$GST_CFLAGS"; then
45206 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45207 else
45208 if test -n "$PKG_CONFIG" && \
45209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45210 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45211 ac_status=$?
45212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45213 (exit $ac_status); }; then
45214 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45215 else
45216 pkg_failed=yes
45217 fi
45218 fi
45219 else
45220 pkg_failed=untried
45221 fi
45222 if test -n "$PKG_CONFIG"; then
45223 if test -n "$GST_LIBS"; then
45224 pkg_cv_GST_LIBS="$GST_LIBS"
45225 else
45226 if test -n "$PKG_CONFIG" && \
45227 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45228 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45229 ac_status=$?
45230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45231 (exit $ac_status); }; then
45232 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45233 else
45234 pkg_failed=yes
45235 fi
45236 fi
45237 else
45238 pkg_failed=untried
45239 fi
45240
45241
45242
45243 if test $pkg_failed = yes; then
45244
45245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45246 _pkg_short_errors_supported=yes
45247 else
45248 _pkg_short_errors_supported=no
45249 fi
45250 if test $_pkg_short_errors_supported = yes; then
45251 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45252 else
45253 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45254 fi
45255 # Put the nasty error message in config.log where it belongs
45256 echo "$GST_PKG_ERRORS" >&5
45257
45258
45259 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45260 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45261
45262 elif test $pkg_failed = untried; then
45263
45264 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45265 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45266
45267 else
45268 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45269 GST_LIBS=$pkg_cv_GST_LIBS
45270 { echo "$as_me:$LINENO: result: yes" >&5
45271 echo "${ECHO_T}yes" >&6; }
45272 wxUSE_GSTREAMER="yes"
45273 fi
45274 fi
45275
45276
45277 if test "$wxUSE_GSTREAMER" = "yes"; then
45278 case "${host}" in
45279 *-*-solaris2* )
45280 if "$GCC" = yes; then
45281 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45282 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45283 fi
45284 esac
45285
45286 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45287 LIBS="$GST_LIBS $LIBS"
45288
45289 cat >>confdefs.h <<\_ACEOF
45290 #define wxUSE_GSTREAMER 1
45291 _ACEOF
45292
45293 else
45294 USE_MEDIA=0
45295 fi
45296 fi
45297
45298 if test $USE_MEDIA = 1; then
45299 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45300 cat >>confdefs.h <<\_ACEOF
45301 #define wxUSE_MEDIACTRL 1
45302 _ACEOF
45303
45304 fi
45305 fi
45306
45307
45308 if test "$cross_compiling" = "yes"; then
45309 OSINFO="\"$host\""
45310 else
45311 OSINFO=`uname -s -r -m`
45312 OSINFO="\"$OSINFO\""
45313 fi
45314
45315 cat >>confdefs.h <<_ACEOF
45316 #define WXWIN_OS_DESCRIPTION $OSINFO
45317 _ACEOF
45318
45319
45320
45321 if test "x$prefix" != "xNONE"; then
45322 wxPREFIX=$prefix
45323 else
45324 wxPREFIX=$ac_default_prefix
45325 fi
45326
45327 cat >>confdefs.h <<_ACEOF
45328 #define wxINSTALL_PREFIX "$wxPREFIX"
45329 _ACEOF
45330
45331
45332
45333
45334 CORE_BASE_LIBS="net base"
45335 CORE_GUI_LIBS="adv core"
45336
45337 if test "$wxUSE_XML" = "yes" ; then
45338 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45339 fi
45340 if test "$wxUSE_ODBC" != "no" ; then
45341 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45342 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45343 fi
45344 if test "$wxUSE_HTML" = "yes" ; then
45345 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45346 fi
45347 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45348 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45349 fi
45350 if test "$wxUSE_XRC" = "yes" ; then
45351 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45352 fi
45353 if test "$wxUSE_AUI" = "yes" ; then
45354 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45355 fi
45356
45357 if test "$wxUSE_GUI" != "yes"; then
45358 CORE_GUI_LIBS=""
45359 fi
45360
45361
45362
45363
45364
45365
45366 if test "$wxUSE_MAC" = 1 ; then
45367 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45368 if test "$USE_DARWIN" = 1; then
45369 LDFLAGS="$LDFLAGS -framework QuickTime"
45370 else
45371 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45372 fi
45373 fi
45374 if test "$USE_DARWIN" = 1; then
45375 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45376 else
45377 LDFLAGS="$LDFLAGS -lCarbonLib"
45378 fi
45379 fi
45380 if test "$wxUSE_COCOA" = 1 ; then
45381 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45382 if test "$wxUSE_MEDIACTRL" = "yes"; then
45383 LDFLAGS="$LDFLAGS -framework QuickTime"
45384 fi
45385 fi
45386 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45387 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45388 fi
45389
45390 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45391
45392 if test "$wxUSE_GUI" = "yes"; then
45393
45394
45395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45396 dynamic erase event exec font image minimal mobile \
45397 mobile/wxedit mobile/styles propsize render \
45398 rotate shaped taborder vscroll widgets"
45399
45400 if test "$wxUSE_MONOLITHIC" != "yes"; then
45401 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45402 fi
45403 if test "$TOOLKIT" = "MSW"; then
45404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45405 if test "$wxUSE_UNIVERSAL" != "yes"; then
45406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45407 fi
45408 fi
45409 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45411 fi
45412 else
45413 SAMPLES_SUBDIRS="console"
45414 fi
45415
45416
45417 if test "x$INTELCC" = "xyes" ; then
45418 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45419 elif test "$GCC" = yes ; then
45420 CWARNINGS="-Wall -Wundef"
45421 fi
45422
45423 if test "x$INTELCXX" = "xyes" ; then
45424 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45425 elif test "$GXX" = yes ; then
45426 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45427 fi
45428
45429
45430 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45431 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45432
45433
45434 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45435 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45436 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45437 $CPPFLAGS `
45438
45439 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45440 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45441 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45442
45443 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45444
45445
45446 if test "x$MWCC" = "xyes"; then
45447
45448 CC="$CC -cwd source -I-"
45449 CXX="$CXX -cwd source -I-"
45450 fi
45451
45452
45453 LIBS=`echo $LIBS`
45454 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45455 EXTRALIBS_XML="$EXPAT_LINK"
45456 EXTRALIBS_HTML="$MSPACK_LINK"
45457 EXTRALIBS_ODBC="$ODBC_LINK"
45458 if test "$wxUSE_GUI" = "yes"; then
45459 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45460 fi
45461 if test "$wxUSE_OPENGL" = "yes"; then
45462 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45463 fi
45464
45465 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45466
45467 WXCONFIG_LIBS="$LIBS"
45468
45469 if test "$wxUSE_REGEX" = "builtin" ; then
45470 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45471 fi
45472 if test "$wxUSE_EXPAT" = "builtin" ; then
45473 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45474 fi
45475 if test "$wxUSE_ODBC" = "builtin" ; then
45476 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45477 fi
45478 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45479 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45480 fi
45481 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45482 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45483 fi
45484 if test "$wxUSE_LIBPNG" = "builtin" ; then
45485 wxconfig_3rdparty="png $wxconfig_3rdparty"
45486 fi
45487 if test "$wxUSE_ZLIB" = "builtin" ; then
45488 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45489 fi
45490
45491 for i in $wxconfig_3rdparty ; do
45492 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45493 done
45494
45495
45496 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45497 WXUNIV=1
45498
45499 case "$wxUNIV_THEMES" in
45500 ''|all)
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_ALL_THEMES 1
45503 _ACEOF
45504
45505 ;;
45506
45507 *)
45508 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45509 cat >>confdefs.h <<_ACEOF
45510 #define wxUSE_THEME_$t 1
45511 _ACEOF
45512
45513 done
45514 esac
45515 else
45516 WXUNIV=0
45517 fi
45518
45519
45520
45521
45522
45523
45524
45525
45526
45527 if test $wxUSE_MONOLITHIC = "yes" ; then
45528 MONOLITHIC=1
45529 else
45530 MONOLITHIC=0
45531 fi
45532
45533 if test $wxUSE_PLUGINS = "yes" ; then
45534 USE_PLUGINS=1
45535 else
45536 USE_PLUGINS=0
45537 fi
45538
45539 if test $wxUSE_ODBC != "no" ; then
45540 USE_ODBC=1
45541 else
45542 USE_ODBC=0
45543 fi
45544
45545 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45546 USE_QA=1
45547 else
45548 USE_QA=0
45549 fi
45550
45551 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45552 OFFICIAL_BUILD=1
45553 else
45554 OFFICIAL_BUILD=0
45555 fi
45556
45557
45558
45559
45560
45561
45562
45563
45564
45565
45566
45567
45568
45569
45570
45571
45572
45573
45574
45575
45576
45577
45578
45579
45580
45581 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45582
45583
45584
45585
45586
45587
45588
45589
45590 case "$TOOLKIT" in
45591 GTK)
45592 TOOLKIT_DESC="GTK+"
45593 if test "$WXGTK20" = 1; then
45594 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45595 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45596 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45597 fi
45598 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45599 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45600 fi
45601 if test "$wxUSE_LIBHILDON" = "yes"; then
45602 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45603 fi
45604
45605 if test "$TOOLKIT_EXTRA" != ""; then
45606 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45607 fi
45608 fi
45609 ;;
45610
45611 ?*)
45612 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45613 ;;
45614
45615 *)
45616 TOOLKIT_DESC="base only"
45617 ;;
45618 esac
45619
45620 if test "$wxUSE_WINE" = "yes"; then
45621 BAKEFILE_FORCE_PLATFORM=win32
45622 fi
45623
45624 if test "$wxUSE_MAC" = 1 ; then
45625 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45626 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45627 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45628 else
45629 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45630 fi
45631 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45632 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45633 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45634 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45635 bk_use_pch=no
45636 fi
45637 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45638 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45639 fi
45640
45641 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45642 then
45643 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45644 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45645 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45646 echo $ECHO_N "(cached) $ECHO_C" >&6
45647 else
45648
45649 echo '#include <stdio.h>
45650 const wchar_t test_var[] = L"awidetest";' > conftest.h
45651
45652 echo '#include "conftest.h"
45653 int main()
45654 {
45655 printf("%ls", test_var);
45656 return 0;
45657 }' > conftest.cpp
45658
45659 wx_cv_gcc_pch_bug="pch not supported"
45660
45661 if $CXX conftest.h >/dev/null 2>&1
45662 then
45663 wx_cv_gcc_pch_bug=
45664
45665 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45666 then
45667 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45668 grep awidetest >/dev/null
45669 then
45670 wx_cv_gcc_pch_bug=no
45671 else
45672 wx_cv_gcc_pch_bug=yes
45673 fi
45674 fi
45675 fi
45676
45677 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45678
45679 fi
45680 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45681 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45682
45683 if test "$wx_cv_gcc_pch_bug" = yes; then
45684 bk_use_pch=no
45685 fi
45686 fi
45687
45688
45689
45690
45691 if test "x$BAKEFILE_HOST" = "x"; then
45692 if test "x${host}" = "x" ; then
45693 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45694 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45695 { (exit 1); exit 1; }; }
45696 fi
45697
45698 BAKEFILE_HOST="${host}"
45699 fi
45700
45701 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45702
45703 if test -n "$ac_tool_prefix"; then
45704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45708 if test "${ac_cv_prog_RANLIB+set}" = set; then
45709 echo $ECHO_N "(cached) $ECHO_C" >&6
45710 else
45711 if test -n "$RANLIB"; then
45712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45713 else
45714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45715 for as_dir in $PATH
45716 do
45717 IFS=$as_save_IFS
45718 test -z "$as_dir" && as_dir=.
45719 for ac_exec_ext in '' $ac_executable_extensions; do
45720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45723 break 2
45724 fi
45725 done
45726 done
45727 IFS=$as_save_IFS
45728
45729 fi
45730 fi
45731 RANLIB=$ac_cv_prog_RANLIB
45732 if test -n "$RANLIB"; then
45733 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45734 echo "${ECHO_T}$RANLIB" >&6; }
45735 else
45736 { echo "$as_me:$LINENO: result: no" >&5
45737 echo "${ECHO_T}no" >&6; }
45738 fi
45739
45740
45741 fi
45742 if test -z "$ac_cv_prog_RANLIB"; then
45743 ac_ct_RANLIB=$RANLIB
45744 # Extract the first word of "ranlib", so it can be a program name with args.
45745 set dummy ranlib; ac_word=$2
45746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45749 echo $ECHO_N "(cached) $ECHO_C" >&6
45750 else
45751 if test -n "$ac_ct_RANLIB"; then
45752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45753 else
45754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45755 for as_dir in $PATH
45756 do
45757 IFS=$as_save_IFS
45758 test -z "$as_dir" && as_dir=.
45759 for ac_exec_ext in '' $ac_executable_extensions; do
45760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45761 ac_cv_prog_ac_ct_RANLIB="ranlib"
45762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45763 break 2
45764 fi
45765 done
45766 done
45767 IFS=$as_save_IFS
45768
45769 fi
45770 fi
45771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45772 if test -n "$ac_ct_RANLIB"; then
45773 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45774 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45775 else
45776 { echo "$as_me:$LINENO: result: no" >&5
45777 echo "${ECHO_T}no" >&6; }
45778 fi
45779
45780 if test "x$ac_ct_RANLIB" = x; then
45781 RANLIB=":"
45782 else
45783 case $cross_compiling:$ac_tool_warned in
45784 yes:)
45785 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45786 whose name does not start with the host triplet. If you think this
45787 configuration is useful to you, please write to autoconf@gnu.org." >&5
45788 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45789 whose name does not start with the host triplet. If you think this
45790 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45791 ac_tool_warned=yes ;;
45792 esac
45793 RANLIB=$ac_ct_RANLIB
45794 fi
45795 else
45796 RANLIB="$ac_cv_prog_RANLIB"
45797 fi
45798
45799 # Find a good install program. We prefer a C program (faster),
45800 # so one script is as good as another. But avoid the broken or
45801 # incompatible versions:
45802 # SysV /etc/install, /usr/sbin/install
45803 # SunOS /usr/etc/install
45804 # IRIX /sbin/install
45805 # AIX /bin/install
45806 # AmigaOS /C/install, which installs bootblocks on floppy discs
45807 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45808 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45809 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45810 # OS/2's system install, which has a completely different semantic
45811 # ./install, which can be erroneously created by make from ./install.sh.
45812 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45813 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45814 if test -z "$INSTALL"; then
45815 if test "${ac_cv_path_install+set}" = set; then
45816 echo $ECHO_N "(cached) $ECHO_C" >&6
45817 else
45818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45819 for as_dir in $PATH
45820 do
45821 IFS=$as_save_IFS
45822 test -z "$as_dir" && as_dir=.
45823 # Account for people who put trailing slashes in PATH elements.
45824 case $as_dir/ in
45825 ./ | .// | /cC/* | \
45826 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45827 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45828 /usr/ucb/* ) ;;
45829 *)
45830 # OSF1 and SCO ODT 3.0 have their own names for install.
45831 # Don't use installbsd from OSF since it installs stuff as root
45832 # by default.
45833 for ac_prog in ginstall scoinst install; do
45834 for ac_exec_ext in '' $ac_executable_extensions; do
45835 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45836 if test $ac_prog = install &&
45837 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45838 # AIX install. It has an incompatible calling convention.
45839 :
45840 elif test $ac_prog = install &&
45841 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45842 # program-specific install script used by HP pwplus--don't use.
45843 :
45844 else
45845 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45846 break 3
45847 fi
45848 fi
45849 done
45850 done
45851 ;;
45852 esac
45853 done
45854 IFS=$as_save_IFS
45855
45856
45857 fi
45858 if test "${ac_cv_path_install+set}" = set; then
45859 INSTALL=$ac_cv_path_install
45860 else
45861 # As a last resort, use the slow shell script. Don't cache a
45862 # value for INSTALL within a source directory, because that will
45863 # break other packages using the cache if that directory is
45864 # removed, or if the value is a relative name.
45865 INSTALL=$ac_install_sh
45866 fi
45867 fi
45868 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45869 echo "${ECHO_T}$INSTALL" >&6; }
45870
45871 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45872 # It thinks the first close brace ends the variable substitution.
45873 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45874
45875 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45876
45877 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45878
45879 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45880 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45881 LN_S=$as_ln_s
45882 if test "$LN_S" = "ln -s"; then
45883 { echo "$as_me:$LINENO: result: yes" >&5
45884 echo "${ECHO_T}yes" >&6; }
45885 else
45886 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45887 echo "${ECHO_T}no, using $LN_S" >&6; }
45888 fi
45889
45890
45891 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45892 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45893 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45894 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45895 echo $ECHO_N "(cached) $ECHO_C" >&6
45896 else
45897 cat >conftest.make <<\_ACEOF
45898 SHELL = /bin/sh
45899 all:
45900 @echo '@@@%%%=$(MAKE)=@@@%%%'
45901 _ACEOF
45902 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45903 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45904 *@@@%%%=?*=@@@%%%*)
45905 eval ac_cv_prog_make_${ac_make}_set=yes;;
45906 *)
45907 eval ac_cv_prog_make_${ac_make}_set=no;;
45908 esac
45909 rm -f conftest.make
45910 fi
45911 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45912 { echo "$as_me:$LINENO: result: yes" >&5
45913 echo "${ECHO_T}yes" >&6; }
45914 SET_MAKE=
45915 else
45916 { echo "$as_me:$LINENO: result: no" >&5
45917 echo "${ECHO_T}no" >&6; }
45918 SET_MAKE="MAKE=${MAKE-make}"
45919 fi
45920
45921
45922
45923 if test "x$SUNCXX" = "xyes"; then
45924 AR=$CXX
45925 AROPTIONS="-xar -o"
45926
45927 elif test "x$SGICC" = "xyes"; then
45928 AR=$CXX
45929 AROPTIONS="-ar -o"
45930
45931 else
45932 if test -n "$ac_tool_prefix"; then
45933 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45934 set dummy ${ac_tool_prefix}ar; ac_word=$2
45935 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45937 if test "${ac_cv_prog_AR+set}" = set; then
45938 echo $ECHO_N "(cached) $ECHO_C" >&6
45939 else
45940 if test -n "$AR"; then
45941 ac_cv_prog_AR="$AR" # Let the user override the test.
45942 else
45943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45944 for as_dir in $PATH
45945 do
45946 IFS=$as_save_IFS
45947 test -z "$as_dir" && as_dir=.
45948 for ac_exec_ext in '' $ac_executable_extensions; do
45949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45950 ac_cv_prog_AR="${ac_tool_prefix}ar"
45951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45952 break 2
45953 fi
45954 done
45955 done
45956 IFS=$as_save_IFS
45957
45958 fi
45959 fi
45960 AR=$ac_cv_prog_AR
45961 if test -n "$AR"; then
45962 { echo "$as_me:$LINENO: result: $AR" >&5
45963 echo "${ECHO_T}$AR" >&6; }
45964 else
45965 { echo "$as_me:$LINENO: result: no" >&5
45966 echo "${ECHO_T}no" >&6; }
45967 fi
45968
45969
45970 fi
45971 if test -z "$ac_cv_prog_AR"; then
45972 ac_ct_AR=$AR
45973 # Extract the first word of "ar", so it can be a program name with args.
45974 set dummy ar; ac_word=$2
45975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45977 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45978 echo $ECHO_N "(cached) $ECHO_C" >&6
45979 else
45980 if test -n "$ac_ct_AR"; then
45981 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45982 else
45983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45984 for as_dir in $PATH
45985 do
45986 IFS=$as_save_IFS
45987 test -z "$as_dir" && as_dir=.
45988 for ac_exec_ext in '' $ac_executable_extensions; do
45989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45990 ac_cv_prog_ac_ct_AR="ar"
45991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45992 break 2
45993 fi
45994 done
45995 done
45996 IFS=$as_save_IFS
45997
45998 fi
45999 fi
46000 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46001 if test -n "$ac_ct_AR"; then
46002 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46003 echo "${ECHO_T}$ac_ct_AR" >&6; }
46004 else
46005 { echo "$as_me:$LINENO: result: no" >&5
46006 echo "${ECHO_T}no" >&6; }
46007 fi
46008
46009 if test "x$ac_ct_AR" = x; then
46010 AR="ar"
46011 else
46012 case $cross_compiling:$ac_tool_warned in
46013 yes:)
46014 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46015 whose name does not start with the host triplet. If you think this
46016 configuration is useful to you, please write to autoconf@gnu.org." >&5
46017 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46018 whose name does not start with the host triplet. If you think this
46019 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46020 ac_tool_warned=yes ;;
46021 esac
46022 AR=$ac_ct_AR
46023 fi
46024 else
46025 AR="$ac_cv_prog_AR"
46026 fi
46027
46028 AROPTIONS=rcu
46029 fi
46030
46031
46032 if test -n "$ac_tool_prefix"; then
46033 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46034 set dummy ${ac_tool_prefix}strip; ac_word=$2
46035 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46037 if test "${ac_cv_prog_STRIP+set}" = set; then
46038 echo $ECHO_N "(cached) $ECHO_C" >&6
46039 else
46040 if test -n "$STRIP"; then
46041 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46042 else
46043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46044 for as_dir in $PATH
46045 do
46046 IFS=$as_save_IFS
46047 test -z "$as_dir" && as_dir=.
46048 for ac_exec_ext in '' $ac_executable_extensions; do
46049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46050 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46052 break 2
46053 fi
46054 done
46055 done
46056 IFS=$as_save_IFS
46057
46058 fi
46059 fi
46060 STRIP=$ac_cv_prog_STRIP
46061 if test -n "$STRIP"; then
46062 { echo "$as_me:$LINENO: result: $STRIP" >&5
46063 echo "${ECHO_T}$STRIP" >&6; }
46064 else
46065 { echo "$as_me:$LINENO: result: no" >&5
46066 echo "${ECHO_T}no" >&6; }
46067 fi
46068
46069
46070 fi
46071 if test -z "$ac_cv_prog_STRIP"; then
46072 ac_ct_STRIP=$STRIP
46073 # Extract the first word of "strip", so it can be a program name with args.
46074 set dummy strip; ac_word=$2
46075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46077 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46078 echo $ECHO_N "(cached) $ECHO_C" >&6
46079 else
46080 if test -n "$ac_ct_STRIP"; then
46081 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46082 else
46083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46084 for as_dir in $PATH
46085 do
46086 IFS=$as_save_IFS
46087 test -z "$as_dir" && as_dir=.
46088 for ac_exec_ext in '' $ac_executable_extensions; do
46089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46090 ac_cv_prog_ac_ct_STRIP="strip"
46091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46092 break 2
46093 fi
46094 done
46095 done
46096 IFS=$as_save_IFS
46097
46098 fi
46099 fi
46100 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46101 if test -n "$ac_ct_STRIP"; then
46102 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46103 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46104 else
46105 { echo "$as_me:$LINENO: result: no" >&5
46106 echo "${ECHO_T}no" >&6; }
46107 fi
46108
46109 if test "x$ac_ct_STRIP" = x; then
46110 STRIP=":"
46111 else
46112 case $cross_compiling:$ac_tool_warned in
46113 yes:)
46114 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46115 whose name does not start with the host triplet. If you think this
46116 configuration is useful to you, please write to autoconf@gnu.org." >&5
46117 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46118 whose name does not start with the host triplet. If you think this
46119 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46120 ac_tool_warned=yes ;;
46121 esac
46122 STRIP=$ac_ct_STRIP
46123 fi
46124 else
46125 STRIP="$ac_cv_prog_STRIP"
46126 fi
46127
46128 if test -n "$ac_tool_prefix"; then
46129 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46130 set dummy ${ac_tool_prefix}nm; ac_word=$2
46131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46133 if test "${ac_cv_prog_NM+set}" = set; then
46134 echo $ECHO_N "(cached) $ECHO_C" >&6
46135 else
46136 if test -n "$NM"; then
46137 ac_cv_prog_NM="$NM" # Let the user override the test.
46138 else
46139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46140 for as_dir in $PATH
46141 do
46142 IFS=$as_save_IFS
46143 test -z "$as_dir" && as_dir=.
46144 for ac_exec_ext in '' $ac_executable_extensions; do
46145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46146 ac_cv_prog_NM="${ac_tool_prefix}nm"
46147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46148 break 2
46149 fi
46150 done
46151 done
46152 IFS=$as_save_IFS
46153
46154 fi
46155 fi
46156 NM=$ac_cv_prog_NM
46157 if test -n "$NM"; then
46158 { echo "$as_me:$LINENO: result: $NM" >&5
46159 echo "${ECHO_T}$NM" >&6; }
46160 else
46161 { echo "$as_me:$LINENO: result: no" >&5
46162 echo "${ECHO_T}no" >&6; }
46163 fi
46164
46165
46166 fi
46167 if test -z "$ac_cv_prog_NM"; then
46168 ac_ct_NM=$NM
46169 # Extract the first word of "nm", so it can be a program name with args.
46170 set dummy nm; ac_word=$2
46171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46173 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46174 echo $ECHO_N "(cached) $ECHO_C" >&6
46175 else
46176 if test -n "$ac_ct_NM"; then
46177 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46178 else
46179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46180 for as_dir in $PATH
46181 do
46182 IFS=$as_save_IFS
46183 test -z "$as_dir" && as_dir=.
46184 for ac_exec_ext in '' $ac_executable_extensions; do
46185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46186 ac_cv_prog_ac_ct_NM="nm"
46187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46188 break 2
46189 fi
46190 done
46191 done
46192 IFS=$as_save_IFS
46193
46194 fi
46195 fi
46196 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46197 if test -n "$ac_ct_NM"; then
46198 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46199 echo "${ECHO_T}$ac_ct_NM" >&6; }
46200 else
46201 { echo "$as_me:$LINENO: result: no" >&5
46202 echo "${ECHO_T}no" >&6; }
46203 fi
46204
46205 if test "x$ac_ct_NM" = x; then
46206 NM=":"
46207 else
46208 case $cross_compiling:$ac_tool_warned in
46209 yes:)
46210 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46211 whose name does not start with the host triplet. If you think this
46212 configuration is useful to you, please write to autoconf@gnu.org." >&5
46213 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46214 whose name does not start with the host triplet. If you think this
46215 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46216 ac_tool_warned=yes ;;
46217 esac
46218 NM=$ac_ct_NM
46219 fi
46220 else
46221 NM="$ac_cv_prog_NM"
46222 fi
46223
46224
46225 case ${BAKEFILE_HOST} in
46226 *-hp-hpux* )
46227 INSTALL_DIR="mkdir -p"
46228 ;;
46229 * )
46230 INSTALL_DIR='$(INSTALL) -d'
46231 ;;
46232 esac
46233
46234
46235 LDFLAGS_GUI=
46236 case ${BAKEFILE_HOST} in
46237 *-*-cygwin* | *-*-mingw32* )
46238 LDFLAGS_GUI="-mwindows"
46239 esac
46240
46241
46242 fi
46243
46244 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46245 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46246 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46247 echo $ECHO_N "(cached) $ECHO_C" >&6
46248 else
46249
46250 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46251 egrep -s GNU > /dev/null); then
46252 bakefile_cv_prog_makeisgnu="yes"
46253 else
46254 bakefile_cv_prog_makeisgnu="no"
46255 fi
46256
46257 fi
46258 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46259 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46260
46261 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46262 IF_GNU_MAKE=""
46263 else
46264 IF_GNU_MAKE="#"
46265 fi
46266
46267
46268
46269 PLATFORM_UNIX=0
46270 PLATFORM_WIN32=0
46271 PLATFORM_MSDOS=0
46272 PLATFORM_MAC=0
46273 PLATFORM_MACOS=0
46274 PLATFORM_MACOSX=0
46275 PLATFORM_OS2=0
46276 PLATFORM_BEOS=0
46277
46278 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46279 case "${BAKEFILE_HOST}" in
46280 *-*-mingw32* )
46281 PLATFORM_WIN32=1
46282 ;;
46283 *-pc-msdosdjgpp )
46284 PLATFORM_MSDOS=1
46285 ;;
46286 *-pc-os2_emx | *-pc-os2-emx )
46287 PLATFORM_OS2=1
46288 ;;
46289 *-*-darwin* )
46290 PLATFORM_MAC=1
46291 PLATFORM_MACOSX=1
46292 ;;
46293 *-*-beos* )
46294 PLATFORM_BEOS=1
46295 ;;
46296 powerpc-apple-macos* )
46297 PLATFORM_MAC=1
46298 PLATFORM_MACOS=1
46299 ;;
46300 * )
46301 PLATFORM_UNIX=1
46302 ;;
46303 esac
46304 else
46305 case "$BAKEFILE_FORCE_PLATFORM" in
46306 win32 )
46307 PLATFORM_WIN32=1
46308 ;;
46309 msdos )
46310 PLATFORM_MSDOS=1
46311 ;;
46312 os2 )
46313 PLATFORM_OS2=1
46314 ;;
46315 darwin )
46316 PLATFORM_MAC=1
46317 PLATFORM_MACOSX=1
46318 ;;
46319 unix )
46320 PLATFORM_UNIX=1
46321 ;;
46322 beos )
46323 PLATFORM_BEOS=1
46324 ;;
46325 * )
46326 ;;
46327 esac
46328 fi
46329
46330
46331
46332
46333
46334
46335
46336
46337
46338
46339
46340 # Check whether --enable-omf was given.
46341 if test "${enable_omf+set}" = set; then
46342 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46343 fi
46344
46345
46346 case "${BAKEFILE_HOST}" in
46347 *-*-darwin* )
46348 if test "x$GCC" = "xyes"; then
46349 CFLAGS="$CFLAGS -fno-common"
46350 CXXFLAGS="$CXXFLAGS -fno-common"
46351 fi
46352 if test "x$XLCC" = "xyes"; then
46353 CFLAGS="$CFLAGS -qnocommon"
46354 CXXFLAGS="$CXXFLAGS -qnocommon"
46355 fi
46356 ;;
46357
46358 *-pc-os2_emx | *-pc-os2-emx )
46359 if test "x$bk_os2_use_omf" = "xyes" ; then
46360 AR=emxomfar
46361 RANLIB=:
46362 LDFLAGS="-Zomf $LDFLAGS"
46363 CFLAGS="-Zomf $CFLAGS"
46364 CXXFLAGS="-Zomf $CXXFLAGS"
46365 OS2_LIBEXT="lib"
46366 else
46367 OS2_LIBEXT="a"
46368 fi
46369 ;;
46370
46371 i*86-*-beos* )
46372 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46373 ;;
46374 esac
46375
46376
46377 SO_SUFFIX="so"
46378 SO_SUFFIX_MODULE="so"
46379 EXEEXT=""
46380 LIBPREFIX="lib"
46381 LIBEXT=".a"
46382 DLLPREFIX="lib"
46383 DLLPREFIX_MODULE=""
46384 DLLIMP_SUFFIX=""
46385 dlldir="$libdir"
46386
46387 case "${BAKEFILE_HOST}" in
46388 *-hp-hpux* )
46389 SO_SUFFIX="sl"
46390 SO_SUFFIX_MODULE="sl"
46391 ;;
46392 *-*-aix* )
46393 SO_SUFFIX="a"
46394 SO_SUFFIX_MODULE="a"
46395 ;;
46396 *-*-cygwin* )
46397 SO_SUFFIX="dll"
46398 SO_SUFFIX_MODULE="dll"
46399 DLLIMP_SUFFIX="dll.a"
46400 EXEEXT=".exe"
46401 DLLPREFIX="cyg"
46402 dlldir="$bindir"
46403 ;;
46404 *-*-mingw32* )
46405 SO_SUFFIX="dll"
46406 SO_SUFFIX_MODULE="dll"
46407 DLLIMP_SUFFIX="dll.a"
46408 EXEEXT=".exe"
46409 DLLPREFIX=""
46410 dlldir="$bindir"
46411 ;;
46412 *-pc-msdosdjgpp )
46413 EXEEXT=".exe"
46414 DLLPREFIX=""
46415 dlldir="$bindir"
46416 ;;
46417 *-pc-os2_emx | *-pc-os2-emx )
46418 SO_SUFFIX="dll"
46419 SO_SUFFIX_MODULE="dll"
46420 DLLIMP_SUFFIX=$OS2_LIBEXT
46421 EXEEXT=".exe"
46422 DLLPREFIX=""
46423 LIBPREFIX=""
46424 LIBEXT=".$OS2_LIBEXT"
46425 dlldir="$bindir"
46426 ;;
46427 *-*-darwin* )
46428 SO_SUFFIX="dylib"
46429 SO_SUFFIX_MODULE="bundle"
46430 ;;
46431 esac
46432
46433 if test "x$DLLIMP_SUFFIX" = "x" ; then
46434 DLLIMP_SUFFIX="$SO_SUFFIX"
46435 fi
46436
46437
46438
46439
46440
46441
46442
46443
46444
46445
46446
46447
46448 PIC_FLAG=""
46449 if test "x$GCC" = "xyes"; then
46450 PIC_FLAG="-fPIC"
46451 fi
46452
46453 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46454 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46455 WINDOWS_IMPLIB=0
46456
46457 case "${BAKEFILE_HOST}" in
46458 *-hp-hpux* )
46459 if test "x$GCC" != "xyes"; then
46460 LDFLAGS="$LDFLAGS -L/usr/lib"
46461
46462 SHARED_LD_CC="${CC} -b -o"
46463 SHARED_LD_CXX="${CXX} -b -o"
46464 PIC_FLAG="+Z"
46465 fi
46466 ;;
46467
46468 *-*-linux* )
46469 if test "x$GCC" != "xyes"; then
46470 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46471 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46472 if test "${bakefile_cv_prog_icc+set}" = set; then
46473 echo $ECHO_N "(cached) $ECHO_C" >&6
46474 else
46475
46476 cat >conftest.$ac_ext <<_ACEOF
46477 /* confdefs.h. */
46478 _ACEOF
46479 cat confdefs.h >>conftest.$ac_ext
46480 cat >>conftest.$ac_ext <<_ACEOF
46481 /* end confdefs.h. */
46482
46483 int
46484 main ()
46485 {
46486
46487 #ifndef __INTEL_COMPILER
46488 This is not ICC
46489 #endif
46490
46491 ;
46492 return 0;
46493 }
46494 _ACEOF
46495 rm -f conftest.$ac_objext
46496 if { (ac_try="$ac_compile"
46497 case "(($ac_try" in
46498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46499 *) ac_try_echo=$ac_try;;
46500 esac
46501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46502 (eval "$ac_compile") 2>conftest.er1
46503 ac_status=$?
46504 grep -v '^ *+' conftest.er1 >conftest.err
46505 rm -f conftest.er1
46506 cat conftest.err >&5
46507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46508 (exit $ac_status); } && {
46509 test -z "$ac_c_werror_flag" ||
46510 test ! -s conftest.err
46511 } && test -s conftest.$ac_objext; then
46512 bakefile_cv_prog_icc=yes
46513 else
46514 echo "$as_me: failed program was:" >&5
46515 sed 's/^/| /' conftest.$ac_ext >&5
46516
46517 bakefile_cv_prog_icc=no
46518
46519 fi
46520
46521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46522
46523 fi
46524 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46525 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46526 if test "$bakefile_cv_prog_icc" = "yes"; then
46527 PIC_FLAG="-KPIC"
46528 fi
46529 fi
46530 ;;
46531
46532 *-*-solaris2* )
46533 if test "x$GCC" != xyes ; then
46534 SHARED_LD_CC="${CC} -G -o"
46535 SHARED_LD_CXX="${CXX} -G -o"
46536 PIC_FLAG="-KPIC"
46537 fi
46538 ;;
46539
46540 *-*-darwin* )
46541
46542 D='$'
46543 cat <<EOF >shared-ld-sh
46544 #!/bin/sh
46545 #-----------------------------------------------------------------------------
46546 #-- Name: distrib/mac/shared-ld-sh
46547 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46548 #-- Author: Gilles Depeyrot
46549 #-- Copyright: (c) 2002 Gilles Depeyrot
46550 #-- Licence: any use permitted
46551 #-----------------------------------------------------------------------------
46552
46553 verbose=0
46554 args=""
46555 objects=""
46556 linking_flag="-dynamiclib"
46557 ldargs="-r -keep_private_externs -nostdlib"
46558
46559 while test ${D}# -gt 0; do
46560 case ${D}1 in
46561
46562 -v)
46563 verbose=1
46564 ;;
46565
46566 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46567 # collect these options and values
46568 args="${D}{args} ${D}1 ${D}2"
46569 shift
46570 ;;
46571
46572 -s|-Wl,*)
46573 # collect these load args
46574 ldargs="${D}{ldargs} ${D}1"
46575 ;;
46576
46577 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46578 # collect these options
46579 args="${D}{args} ${D}1"
46580 ;;
46581
46582 -dynamiclib|-bundle)
46583 linking_flag="${D}1"
46584 ;;
46585
46586 -*)
46587 echo "shared-ld: unhandled option '${D}1'"
46588 exit 1
46589 ;;
46590
46591 *.o | *.a | *.dylib)
46592 # collect object files
46593 objects="${D}{objects} ${D}1"
46594 ;;
46595
46596 *)
46597 echo "shared-ld: unhandled argument '${D}1'"
46598 exit 1
46599 ;;
46600
46601 esac
46602 shift
46603 done
46604
46605 status=0
46606
46607 #
46608 # Link one module containing all the others
46609 #
46610 if test ${D}{verbose} = 1; then
46611 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46612 fi
46613 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46614 status=${D}?
46615
46616 #
46617 # Link the shared library from the single module created, but only if the
46618 # previous command didn't fail:
46619 #
46620 if test ${D}{status} = 0; then
46621 if test ${D}{verbose} = 1; then
46622 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46623 fi
46624 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46625 status=${D}?
46626 fi
46627
46628 #
46629 # Remove intermediate module
46630 #
46631 rm -f master.${D}${D}.o
46632
46633 exit ${D}status
46634 EOF
46635
46636 chmod +x shared-ld-sh
46637
46638 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46639 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46640
46641
46642 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46643 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46644 if test "${bakefile_cv_gcc31+set}" = set; then
46645 echo $ECHO_N "(cached) $ECHO_C" >&6
46646 else
46647
46648 cat >conftest.$ac_ext <<_ACEOF
46649 /* confdefs.h. */
46650 _ACEOF
46651 cat confdefs.h >>conftest.$ac_ext
46652 cat >>conftest.$ac_ext <<_ACEOF
46653 /* end confdefs.h. */
46654
46655 int
46656 main ()
46657 {
46658
46659 #if (__GNUC__ < 3) || \
46660 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46661 This is old gcc
46662 #endif
46663
46664 ;
46665 return 0;
46666 }
46667 _ACEOF
46668 rm -f conftest.$ac_objext
46669 if { (ac_try="$ac_compile"
46670 case "(($ac_try" in
46671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46672 *) ac_try_echo=$ac_try;;
46673 esac
46674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46675 (eval "$ac_compile") 2>conftest.er1
46676 ac_status=$?
46677 grep -v '^ *+' conftest.er1 >conftest.err
46678 rm -f conftest.er1
46679 cat conftest.err >&5
46680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46681 (exit $ac_status); } && {
46682 test -z "$ac_c_werror_flag" ||
46683 test ! -s conftest.err
46684 } && test -s conftest.$ac_objext; then
46685
46686 bakefile_cv_gcc31=yes
46687
46688 else
46689 echo "$as_me: failed program was:" >&5
46690 sed 's/^/| /' conftest.$ac_ext >&5
46691
46692
46693 bakefile_cv_gcc31=no
46694
46695
46696 fi
46697
46698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46699
46700 fi
46701 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46702 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46703 if test "$bakefile_cv_gcc31" = "no"; then
46704 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46705 SHARED_LD_CXX="$SHARED_LD_CC"
46706 else
46707 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46708 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46709 fi
46710
46711 if test "x$GCC" == "xyes"; then
46712 PIC_FLAG="-dynamic -fPIC"
46713 fi
46714 if test "x$XLCC" = "xyes"; then
46715 PIC_FLAG="-dynamic -DPIC"
46716 fi
46717 ;;
46718
46719 *-*-aix* )
46720 if test "x$GCC" = "xyes"; then
46721 PIC_FLAG=""
46722
46723 case "${BAKEFILE_HOST}" in
46724 *-*-aix5* )
46725 LD_EXPFULL="-Wl,-bexpfull"
46726 ;;
46727 esac
46728
46729 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46730 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46731 else
46732 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46733 set dummy makeC++SharedLib; ac_word=$2
46734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46736 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46737 echo $ECHO_N "(cached) $ECHO_C" >&6
46738 else
46739 if test -n "$AIX_CXX_LD"; then
46740 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46741 else
46742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46743 for as_dir in $PATH
46744 do
46745 IFS=$as_save_IFS
46746 test -z "$as_dir" && as_dir=.
46747 for ac_exec_ext in '' $ac_executable_extensions; do
46748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46749 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46751 break 2
46752 fi
46753 done
46754 done
46755 IFS=$as_save_IFS
46756
46757 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46758 fi
46759 fi
46760 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46761 if test -n "$AIX_CXX_LD"; then
46762 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46763 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46764 else
46765 { echo "$as_me:$LINENO: result: no" >&5
46766 echo "${ECHO_T}no" >&6; }
46767 fi
46768
46769
46770 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46771 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46772 fi
46773 ;;
46774
46775 *-*-beos* )
46776 SHARED_LD_CC="${LD} -nostart -o"
46777 SHARED_LD_CXX="${LD} -nostart -o"
46778 ;;
46779
46780 *-*-irix* )
46781 if test "x$GCC" != "xyes"; then
46782 PIC_FLAG="-KPIC"
46783 fi
46784 ;;
46785
46786 *-*-cygwin* | *-*-mingw32* )
46787 PIC_FLAG=""
46788 SHARED_LD_CC="\$(CC) -shared -o"
46789 SHARED_LD_CXX="\$(CXX) -shared -o"
46790 WINDOWS_IMPLIB=1
46791 ;;
46792
46793 *-pc-os2_emx | *-pc-os2-emx )
46794 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46795 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46796 PIC_FLAG=""
46797
46798 D='$'
46799 cat <<EOF >dllar.sh
46800 #!/bin/sh
46801 #
46802 # dllar - a tool to build both a .dll and an .a file
46803 # from a set of object (.o) files for EMX/OS2.
46804 #
46805 # Written by Andrew Zabolotny, bit@freya.etu.ru
46806 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46807 #
46808 # This script will accept a set of files on the command line.
46809 # All the public symbols from the .o files will be exported into
46810 # a .DEF file, then linker will be run (through gcc) against them to
46811 # build a shared library consisting of all given .o files. All libraries
46812 # (.a) will be first decompressed into component .o files then act as
46813 # described above. You can optionally give a description (-d "description")
46814 # which will be put into .DLL. To see the list of accepted options (as well
46815 # as command-line format) simply run this program without options. The .DLL
46816 # is built to be imported by name (there is no guarantee that new versions
46817 # of the library you build will have same ordinals for same symbols).
46818 #
46819 # dllar is free software; you can redistribute it and/or modify
46820 # it under the terms of the GNU General Public License as published by
46821 # the Free Software Foundation; either version 2, or (at your option)
46822 # any later version.
46823 #
46824 # dllar is distributed in the hope that it will be useful,
46825 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46826 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46827 # GNU General Public License for more details.
46828 #
46829 # You should have received a copy of the GNU General Public License
46830 # along with dllar; see the file COPYING. If not, write to the Free
46831 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46832 # 02111-1307, USA.
46833
46834 # To successfuly run this program you will need:
46835 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46836 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46837 # - gcc
46838 # (used to build the .dll)
46839 # - emxexp
46840 # (used to create .def file from .o files)
46841 # - emximp
46842 # (used to create .a file from .def file)
46843 # - GNU text utilites (cat, sort, uniq)
46844 # used to process emxexp output
46845 # - GNU file utilities (mv, rm)
46846 # - GNU sed
46847 # - lxlite (optional, see flag below)
46848 # (used for general .dll cleanup)
46849 #
46850
46851 flag_USE_LXLITE=1;
46852
46853 #
46854 # helper functions
46855 # basnam, variant of basename, which does _not_ remove the path, _iff_
46856 # second argument (suffix to remove) is given
46857 basnam(){
46858 case ${D}# in
46859 1)
46860 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46861 ;;
46862 2)
46863 echo ${D}1 | sed 's/'${D}2'${D}//'
46864 ;;
46865 *)
46866 echo "error in basnam ${D}*"
46867 exit 8
46868 ;;
46869 esac
46870 }
46871
46872 # Cleanup temporary files and output
46873 CleanUp() {
46874 cd ${D}curDir
46875 for i in ${D}inputFiles ; do
46876 case ${D}i in
46877 *!)
46878 rm -rf \`basnam ${D}i !\`
46879 ;;
46880 *)
46881 ;;
46882 esac
46883 done
46884
46885 # Kill result in case of failure as there is just to many stupid make/nmake
46886 # things out there which doesn't do this.
46887 if [ ${D}# -eq 0 ]; then
46888 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46889 fi
46890 }
46891
46892 # Print usage and exit script with rc=1.
46893 PrintHelp() {
46894 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46895 echo ' [-name-mangler-script script.sh]'
46896 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46897 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46898 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46899 echo ' [*.o] [*.a]'
46900 echo '*> "output_file" should have no extension.'
46901 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46902 echo ' The import library name is derived from this and is set to "name".a,'
46903 echo ' unless overridden by -import'
46904 echo '*> "importlib_name" should have no extension.'
46905 echo ' If it has the .o, or .a extension, it is automatically removed.'
46906 echo ' This name is used as the import library name and may be longer and'
46907 echo ' more descriptive than the DLL name which has to follow the old '
46908 echo ' 8.3 convention of FAT.'
46909 echo '*> "script.sh may be given to override the output_file name by a'
46910 echo ' different name. It is mainly useful if the regular make process'
46911 echo ' of some package does not take into account OS/2 restriction of'
46912 echo ' DLL name lengths. It takes the importlib name as input and is'
46913 echo ' supposed to procude a shorter name as output. The script should'
46914 echo ' expect to get importlib_name without extension and should produce'
46915 echo ' a (max.) 8 letter name without extension.'
46916 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46917 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46918 echo ' These flags will be put at the start of GCC command line.'
46919 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46920 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46921 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46922 echo ' If the last character of a symbol is "*", all symbols beginning'
46923 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46924 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46925 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46926 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46927 echo ' C runtime DLLs.'
46928 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46929 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46930 echo ' unchanged to GCC at the end of command line.'
46931 echo '*> If you create a DLL from a library and you do not specify -o,'
46932 echo ' the basename for DLL and import library will be set to library name,'
46933 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46934 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46935 echo ' library will be renamed into gcc_s.a.'
46936 echo '--------'
46937 echo 'Example:'
46938 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46939 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46940 CleanUp
46941 exit 1
46942 }
46943
46944 # Execute a command.
46945 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46946 # @Uses Whatever CleanUp() uses.
46947 doCommand() {
46948 echo "${D}*"
46949 eval ${D}*
46950 rcCmd=${D}?
46951
46952 if [ ${D}rcCmd -ne 0 ]; then
46953 echo "command failed, exit code="${D}rcCmd
46954 CleanUp
46955 exit ${D}rcCmd
46956 fi
46957 }
46958
46959 # main routine
46960 # setup globals
46961 cmdLine=${D}*
46962 outFile=""
46963 outimpFile=""
46964 inputFiles=""
46965 renameScript=""
46966 description=""
46967 CC=gcc.exe
46968 CFLAGS="-s -Zcrtdll"
46969 EXTRA_CFLAGS=""
46970 EXPORT_BY_ORDINALS=0
46971 exclude_symbols=""
46972 library_flags=""
46973 curDir=\`pwd\`
46974 curDirS=curDir
46975 case ${D}curDirS in
46976 */)
46977 ;;
46978 *)
46979 curDirS=${D}{curDirS}"/"
46980 ;;
46981 esac
46982 # Parse commandline
46983 libsToLink=0
46984 omfLinking=0
46985 while [ ${D}1 ]; do
46986 case ${D}1 in
46987 -ord*)
46988 EXPORT_BY_ORDINALS=1;
46989 ;;
46990 -o*)
46991 shift
46992 outFile=${D}1
46993 ;;
46994 -i*)
46995 shift
46996 outimpFile=${D}1
46997 ;;
46998 -name-mangler-script)
46999 shift
47000 renameScript=${D}1
47001 ;;
47002 -d*)
47003 shift
47004 description=${D}1
47005 ;;
47006 -f*)
47007 shift
47008 CFLAGS=${D}1
47009 ;;
47010 -c*)
47011 shift
47012 CC=${D}1
47013 ;;
47014 -h*)
47015 PrintHelp
47016 ;;
47017 -ex*)
47018 shift
47019 exclude_symbols=${D}{exclude_symbols}${D}1" "
47020 ;;
47021 -libf*)
47022 shift
47023 library_flags=${D}{library_flags}${D}1" "
47024 ;;
47025 -nocrt*)
47026 CFLAGS="-s"
47027 ;;
47028 -nolxl*)
47029 flag_USE_LXLITE=0
47030 ;;
47031 -* | /*)
47032 case ${D}1 in
47033 -L* | -l*)
47034 libsToLink=1
47035 ;;
47036 -Zomf)
47037 omfLinking=1
47038 ;;
47039 *)
47040 ;;
47041 esac
47042 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47043 ;;
47044 *.dll)
47045 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47046 if [ ${D}omfLinking -eq 1 ]; then
47047 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47048 else
47049 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47050 fi
47051 ;;
47052 *)
47053 found=0;
47054 if [ ${D}libsToLink -ne 0 ]; then
47055 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47056 else
47057 for file in ${D}1 ; do
47058 if [ -f ${D}file ]; then
47059 inputFiles="${D}{inputFiles} ${D}file"
47060 found=1
47061 fi
47062 done
47063 if [ ${D}found -eq 0 ]; then
47064 echo "ERROR: No file(s) found: "${D}1
47065 exit 8
47066 fi
47067 fi
47068 ;;
47069 esac
47070 shift
47071 done # iterate cmdline words
47072
47073 #
47074 if [ -z "${D}inputFiles" ]; then
47075 echo "dllar: no input files"
47076 PrintHelp
47077 fi
47078
47079 # Now extract all .o files from .a files
47080 newInputFiles=""
47081 for file in ${D}inputFiles ; do
47082 case ${D}file in
47083 *.a | *.lib)
47084 case ${D}file in
47085 *.a)
47086 suffix=".a"
47087 AR="ar"
47088 ;;
47089 *.lib)
47090 suffix=".lib"
47091 AR="emxomfar"
47092 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47093 ;;
47094 *)
47095 ;;
47096 esac
47097 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47098 mkdir ${D}dirname
47099 if [ ${D}? -ne 0 ]; then
47100 echo "Failed to create subdirectory ./${D}dirname"
47101 CleanUp
47102 exit 8;
47103 fi
47104 # Append '!' to indicate archive
47105 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47106 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47107 cd ${D}curDir
47108 found=0;
47109 for subfile in ${D}dirname/*.o* ; do
47110 if [ -f ${D}subfile ]; then
47111 found=1
47112 if [ -s ${D}subfile ]; then
47113 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47114 newInputFiles="${D}newInputFiles ${D}subfile"
47115 fi
47116 fi
47117 done
47118 if [ ${D}found -eq 0 ]; then
47119 echo "WARNING: there are no files in archive \\'${D}file\\'"
47120 fi
47121 ;;
47122 *)
47123 newInputFiles="${D}{newInputFiles} ${D}file"
47124 ;;
47125 esac
47126 done
47127 inputFiles="${D}newInputFiles"
47128
47129 # Output filename(s).
47130 do_backup=0;
47131 if [ -z ${D}outFile ]; then
47132 do_backup=1;
47133 set outFile ${D}inputFiles; outFile=${D}2
47134 fi
47135
47136 # If it is an archive, remove the '!' and the '_%' suffixes
47137 case ${D}outFile in
47138 *_%!)
47139 outFile=\`basnam ${D}outFile _%!\`
47140 ;;
47141 *)
47142 ;;
47143 esac
47144 case ${D}outFile in
47145 *.dll)
47146 outFile=\`basnam ${D}outFile .dll\`
47147 ;;
47148 *.DLL)
47149 outFile=\`basnam ${D}outFile .DLL\`
47150 ;;
47151 *.o)
47152 outFile=\`basnam ${D}outFile .o\`
47153 ;;
47154 *.obj)
47155 outFile=\`basnam ${D}outFile .obj\`
47156 ;;
47157 *.a)
47158 outFile=\`basnam ${D}outFile .a\`
47159 ;;
47160 *.lib)
47161 outFile=\`basnam ${D}outFile .lib\`
47162 ;;
47163 *)
47164 ;;
47165 esac
47166 case ${D}outimpFile in
47167 *.a)
47168 outimpFile=\`basnam ${D}outimpFile .a\`
47169 ;;
47170 *.lib)
47171 outimpFile=\`basnam ${D}outimpFile .lib\`
47172 ;;
47173 *)
47174 ;;
47175 esac
47176 if [ -z ${D}outimpFile ]; then
47177 outimpFile=${D}outFile
47178 fi
47179 defFile="${D}{outFile}.def"
47180 arcFile="${D}{outimpFile}.a"
47181 arcFile2="${D}{outimpFile}.lib"
47182
47183 #create ${D}dllFile as something matching 8.3 restrictions,
47184 if [ -z ${D}renameScript ] ; then
47185 dllFile="${D}outFile"
47186 else
47187 dllFile=\`${D}renameScript ${D}outimpFile\`
47188 fi
47189
47190 if [ ${D}do_backup -ne 0 ] ; then
47191 if [ -f ${D}arcFile ] ; then
47192 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47193 fi
47194 if [ -f ${D}arcFile2 ] ; then
47195 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47196 fi
47197 fi
47198
47199 # Extract public symbols from all the object files.
47200 tmpdefFile=${D}{defFile}_%
47201 rm -f ${D}tmpdefFile
47202 for file in ${D}inputFiles ; do
47203 case ${D}file in
47204 *!)
47205 ;;
47206 *)
47207 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47208 ;;
47209 esac
47210 done
47211
47212 # Create the def file.
47213 rm -f ${D}defFile
47214 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47215 dllFile="${D}{dllFile}.dll"
47216 if [ ! -z ${D}description ]; then
47217 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47218 fi
47219 echo "EXPORTS" >> ${D}defFile
47220
47221 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47222 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47223
47224 # Checks if the export is ok or not.
47225 for word in ${D}exclude_symbols; do
47226 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47227 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47228 done
47229
47230
47231 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47232 sed "=" < ${D}tmpdefFile | \\
47233 sed '
47234 N
47235 : loop
47236 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47237 t loop
47238 ' > ${D}{tmpdefFile}%
47239 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47240 else
47241 rm -f ${D}{tmpdefFile}%
47242 fi
47243 cat ${D}tmpdefFile >> ${D}defFile
47244 rm -f ${D}tmpdefFile
47245
47246 # Do linking, create implib, and apply lxlite.
47247 gccCmdl="";
47248 for file in ${D}inputFiles ; do
47249 case ${D}file in
47250 *!)
47251 ;;
47252 *)
47253 gccCmdl="${D}gccCmdl ${D}file"
47254 ;;
47255 esac
47256 done
47257 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47258 touch "${D}{outFile}.dll"
47259
47260 doCommand "emximp -o ${D}arcFile ${D}defFile"
47261 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47262 add_flags="";
47263 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47264 add_flags="-ynd"
47265 fi
47266 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47267 fi
47268 doCommand "emxomf -s -l ${D}arcFile"
47269
47270 # Successful exit.
47271 CleanUp 1
47272 exit 0
47273 EOF
47274
47275 chmod +x dllar.sh
47276 ;;
47277
47278 powerpc-apple-macos* | \
47279 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47280 *-*-mirbsd* | \
47281 *-*-sunos4* | \
47282 *-*-osf* | \
47283 *-*-dgux5* | \
47284 *-*-sysv5* | \
47285 *-pc-msdosdjgpp )
47286 ;;
47287
47288 *)
47289 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47290 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47291 { (exit 1); exit 1; }; }
47292 esac
47293
47294 if test "x$PIC_FLAG" != "x" ; then
47295 PIC_FLAG="$PIC_FLAG -DPIC"
47296 fi
47297
47298 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47299 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47300 fi
47301 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47302 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47303 fi
47304
47305
47306
47307
47308
47309
47310
47311
47312
47313 USE_SOVERSION=0
47314 USE_SOVERLINUX=0
47315 USE_SOVERSOLARIS=0
47316 USE_SOVERCYGWIN=0
47317 USE_SOSYMLINKS=0
47318 USE_MACVERSION=0
47319 SONAME_FLAG=
47320
47321 case "${BAKEFILE_HOST}" in
47322 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47323 SONAME_FLAG="-Wl,-soname,"
47324 USE_SOVERSION=1
47325 USE_SOVERLINUX=1
47326 USE_SOSYMLINKS=1
47327 ;;
47328
47329 *-*-solaris2* )
47330 SONAME_FLAG="-h "
47331 USE_SOVERSION=1
47332 USE_SOVERSOLARIS=1
47333 USE_SOSYMLINKS=1
47334 ;;
47335
47336 *-*-darwin* )
47337 USE_MACVERSION=1
47338 USE_SOVERSION=1
47339 USE_SOSYMLINKS=1
47340 ;;
47341
47342 *-*-cygwin* )
47343 USE_SOVERSION=1
47344 USE_SOVERCYGWIN=1
47345 ;;
47346 esac
47347
47348
47349
47350
47351
47352
47353
47354
47355
47356
47357 # Check whether --enable-dependency-tracking was given.
47358 if test "${enable_dependency_tracking+set}" = set; then
47359 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47360 fi
47361
47362
47363 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47364 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47365
47366 BK_DEPS=""
47367 if test "x$bk_use_trackdeps" = "xno" ; then
47368 DEPS_TRACKING=0
47369 { echo "$as_me:$LINENO: result: disabled" >&5
47370 echo "${ECHO_T}disabled" >&6; }
47371 else
47372 DEPS_TRACKING=1
47373
47374 if test "x$GCC" = "xyes"; then
47375 DEPSMODE=gcc
47376 case "${BAKEFILE_HOST}" in
47377 *-*-darwin* )
47378 DEPSFLAG="-no-cpp-precomp -MMD"
47379 ;;
47380 * )
47381 DEPSFLAG="-MMD"
47382 ;;
47383 esac
47384 { echo "$as_me:$LINENO: result: gcc" >&5
47385 echo "${ECHO_T}gcc" >&6; }
47386 elif test "x$MWCC" = "xyes"; then
47387 DEPSMODE=mwcc
47388 DEPSFLAG="-MM"
47389 { echo "$as_me:$LINENO: result: mwcc" >&5
47390 echo "${ECHO_T}mwcc" >&6; }
47391 elif test "x$SUNCC" = "xyes"; then
47392 DEPSMODE=unixcc
47393 DEPSFLAG="-xM1"
47394 { echo "$as_me:$LINENO: result: Sun cc" >&5
47395 echo "${ECHO_T}Sun cc" >&6; }
47396 elif test "x$SGICC" = "xyes"; then
47397 DEPSMODE=unixcc
47398 DEPSFLAG="-M"
47399 { echo "$as_me:$LINENO: result: SGI cc" >&5
47400 echo "${ECHO_T}SGI cc" >&6; }
47401 elif test "x$HPCC" = "xyes"; then
47402 DEPSMODE=unixcc
47403 DEPSFLAG="+make"
47404 { echo "$as_me:$LINENO: result: HP cc" >&5
47405 echo "${ECHO_T}HP cc" >&6; }
47406 elif test "x$COMPAQCC" = "xyes"; then
47407 DEPSMODE=gcc
47408 DEPSFLAG="-MD"
47409 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47410 echo "${ECHO_T}Compaq cc" >&6; }
47411 else
47412 DEPS_TRACKING=0
47413 { echo "$as_me:$LINENO: result: none" >&5
47414 echo "${ECHO_T}none" >&6; }
47415 fi
47416
47417 if test $DEPS_TRACKING = 1 ; then
47418
47419 D='$'
47420 cat <<EOF >bk-deps
47421 #!/bin/sh
47422
47423 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47424 # script. It is used to track C/C++ files dependencies in portable way.
47425 #
47426 # Permission is given to use this file in any way.
47427
47428 DEPSMODE=${DEPSMODE}
47429 DEPSDIR=.deps
47430 DEPSFLAG="${DEPSFLAG}"
47431
47432 mkdir -p ${D}DEPSDIR
47433
47434 if test ${D}DEPSMODE = gcc ; then
47435 ${D}* ${D}{DEPSFLAG}
47436 status=${D}?
47437 if test ${D}{status} != 0 ; then
47438 exit ${D}{status}
47439 fi
47440 # move created file to the location we want it in:
47441 while test ${D}# -gt 0; do
47442 case "${D}1" in
47443 -o )
47444 shift
47445 objfile=${D}1
47446 ;;
47447 -* )
47448 ;;
47449 * )
47450 srcfile=${D}1
47451 ;;
47452 esac
47453 shift
47454 done
47455 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47456 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47457 if test -f ${D}depfile ; then
47458 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47459 rm -f ${D}depfile
47460 else
47461 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47462 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47463 if test ! -f ${D}depfile ; then
47464 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47465 depfile="${D}objfile.d"
47466 fi
47467 if test -f ${D}depfile ; then
47468 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47469 rm -f ${D}depfile
47470 fi
47471 fi
47472 exit 0
47473 elif test ${D}DEPSMODE = mwcc ; then
47474 ${D}* || exit ${D}?
47475 # Run mwcc again with -MM and redirect into the dep file we want
47476 # NOTE: We can't use shift here because we need ${D}* to be valid
47477 prevarg=
47478 for arg in ${D}* ; do
47479 if test "${D}prevarg" = "-o"; then
47480 objfile=${D}arg
47481 else
47482 case "${D}arg" in
47483 -* )
47484 ;;
47485 * )
47486 srcfile=${D}arg
47487 ;;
47488 esac
47489 fi
47490 prevarg="${D}arg"
47491 done
47492 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47493 exit 0
47494 elif test ${D}DEPSMODE = unixcc; then
47495 ${D}* || exit ${D}?
47496 # Run compiler again with deps flag and redirect into the dep file.
47497 # It doesn't work if the '-o FILE' option is used, but without it the
47498 # dependency file will contain the wrong name for the object. So it is
47499 # removed from the command line, and the dep file is fixed with sed.
47500 cmd=""
47501 while test ${D}# -gt 0; do
47502 case "${D}1" in
47503 -o )
47504 shift
47505 objfile=${D}1
47506 ;;
47507 * )
47508 eval arg${D}#=\\${D}1
47509 cmd="${D}cmd \\${D}arg${D}#"
47510 ;;
47511 esac
47512 shift
47513 done
47514 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47515 exit 0
47516 else
47517 ${D}*
47518 exit ${D}?
47519 fi
47520 EOF
47521
47522 chmod +x bk-deps
47523 BK_DEPS="`pwd`/bk-deps"
47524 fi
47525 fi
47526
47527
47528
47529
47530
47531 case ${BAKEFILE_HOST} in
47532 *-*-cygwin* | *-*-mingw32* )
47533 if test -n "$ac_tool_prefix"; then
47534 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47535 set dummy ${ac_tool_prefix}windres; ac_word=$2
47536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47538 if test "${ac_cv_prog_WINDRES+set}" = set; then
47539 echo $ECHO_N "(cached) $ECHO_C" >&6
47540 else
47541 if test -n "$WINDRES"; then
47542 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47543 else
47544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47545 for as_dir in $PATH
47546 do
47547 IFS=$as_save_IFS
47548 test -z "$as_dir" && as_dir=.
47549 for ac_exec_ext in '' $ac_executable_extensions; do
47550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47551 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47553 break 2
47554 fi
47555 done
47556 done
47557 IFS=$as_save_IFS
47558
47559 fi
47560 fi
47561 WINDRES=$ac_cv_prog_WINDRES
47562 if test -n "$WINDRES"; then
47563 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47564 echo "${ECHO_T}$WINDRES" >&6; }
47565 else
47566 { echo "$as_me:$LINENO: result: no" >&5
47567 echo "${ECHO_T}no" >&6; }
47568 fi
47569
47570
47571 fi
47572 if test -z "$ac_cv_prog_WINDRES"; then
47573 ac_ct_WINDRES=$WINDRES
47574 # Extract the first word of "windres", so it can be a program name with args.
47575 set dummy windres; ac_word=$2
47576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47578 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47579 echo $ECHO_N "(cached) $ECHO_C" >&6
47580 else
47581 if test -n "$ac_ct_WINDRES"; then
47582 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47583 else
47584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47585 for as_dir in $PATH
47586 do
47587 IFS=$as_save_IFS
47588 test -z "$as_dir" && as_dir=.
47589 for ac_exec_ext in '' $ac_executable_extensions; do
47590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47591 ac_cv_prog_ac_ct_WINDRES="windres"
47592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47593 break 2
47594 fi
47595 done
47596 done
47597 IFS=$as_save_IFS
47598
47599 fi
47600 fi
47601 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47602 if test -n "$ac_ct_WINDRES"; then
47603 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47604 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47605 else
47606 { echo "$as_me:$LINENO: result: no" >&5
47607 echo "${ECHO_T}no" >&6; }
47608 fi
47609
47610 if test "x$ac_ct_WINDRES" = x; then
47611 WINDRES=""
47612 else
47613 case $cross_compiling:$ac_tool_warned in
47614 yes:)
47615 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47616 whose name does not start with the host triplet. If you think this
47617 configuration is useful to you, please write to autoconf@gnu.org." >&5
47618 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47619 whose name does not start with the host triplet. If you think this
47620 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47621 ac_tool_warned=yes ;;
47622 esac
47623 WINDRES=$ac_ct_WINDRES
47624 fi
47625 else
47626 WINDRES="$ac_cv_prog_WINDRES"
47627 fi
47628
47629 ;;
47630
47631 *-*-darwin* | powerpc-apple-macos* )
47632 # Extract the first word of "Rez", so it can be a program name with args.
47633 set dummy Rez; ac_word=$2
47634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47636 if test "${ac_cv_prog_REZ+set}" = set; then
47637 echo $ECHO_N "(cached) $ECHO_C" >&6
47638 else
47639 if test -n "$REZ"; then
47640 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47641 else
47642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47643 for as_dir in $PATH
47644 do
47645 IFS=$as_save_IFS
47646 test -z "$as_dir" && as_dir=.
47647 for ac_exec_ext in '' $ac_executable_extensions; do
47648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47649 ac_cv_prog_REZ="Rez"
47650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47651 break 2
47652 fi
47653 done
47654 done
47655 IFS=$as_save_IFS
47656
47657 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47658 fi
47659 fi
47660 REZ=$ac_cv_prog_REZ
47661 if test -n "$REZ"; then
47662 { echo "$as_me:$LINENO: result: $REZ" >&5
47663 echo "${ECHO_T}$REZ" >&6; }
47664 else
47665 { echo "$as_me:$LINENO: result: no" >&5
47666 echo "${ECHO_T}no" >&6; }
47667 fi
47668
47669
47670 # Extract the first word of "SetFile", so it can be a program name with args.
47671 set dummy SetFile; ac_word=$2
47672 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47673 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47674 if test "${ac_cv_prog_SETFILE+set}" = set; then
47675 echo $ECHO_N "(cached) $ECHO_C" >&6
47676 else
47677 if test -n "$SETFILE"; then
47678 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47679 else
47680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47681 for as_dir in $PATH
47682 do
47683 IFS=$as_save_IFS
47684 test -z "$as_dir" && as_dir=.
47685 for ac_exec_ext in '' $ac_executable_extensions; do
47686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47687 ac_cv_prog_SETFILE="SetFile"
47688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47689 break 2
47690 fi
47691 done
47692 done
47693 IFS=$as_save_IFS
47694
47695 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47696 fi
47697 fi
47698 SETFILE=$ac_cv_prog_SETFILE
47699 if test -n "$SETFILE"; then
47700 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47701 echo "${ECHO_T}$SETFILE" >&6; }
47702 else
47703 { echo "$as_me:$LINENO: result: no" >&5
47704 echo "${ECHO_T}no" >&6; }
47705 fi
47706
47707
47708 ;;
47709 esac
47710
47711
47712
47713
47714
47715
47716 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47717
47718
47719 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47720
47721
47722
47723 # Check whether --enable-precomp-headers was given.
47724 if test "${enable_precomp_headers+set}" = set; then
47725 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47726 fi
47727
47728
47729 GCC_PCH=0
47730 ICC_PCH=0
47731 USE_PCH=0
47732 BK_MAKE_PCH=""
47733
47734 case ${BAKEFILE_HOST} in
47735 *-*-cygwin* )
47736 bk_use_pch="no"
47737 ;;
47738 esac
47739
47740 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47741 if test "x$GCC" = "xyes"; then
47742 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47743 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47744 cat >conftest.$ac_ext <<_ACEOF
47745 /* confdefs.h. */
47746 _ACEOF
47747 cat confdefs.h >>conftest.$ac_ext
47748 cat >>conftest.$ac_ext <<_ACEOF
47749 /* end confdefs.h. */
47750
47751 int
47752 main ()
47753 {
47754
47755 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47756 There is no PCH support
47757 #endif
47758 #if (__GNUC__ < 3)
47759 There is no PCH support
47760 #endif
47761 #if (__GNUC__ == 3) && \
47762 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47763 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47764 ( defined(__INTEL_COMPILER) )
47765 There is no PCH support
47766 #endif
47767
47768 ;
47769 return 0;
47770 }
47771 _ACEOF
47772 rm -f conftest.$ac_objext
47773 if { (ac_try="$ac_compile"
47774 case "(($ac_try" in
47775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47776 *) ac_try_echo=$ac_try;;
47777 esac
47778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47779 (eval "$ac_compile") 2>conftest.er1
47780 ac_status=$?
47781 grep -v '^ *+' conftest.er1 >conftest.err
47782 rm -f conftest.er1
47783 cat conftest.err >&5
47784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47785 (exit $ac_status); } && {
47786 test -z "$ac_c_werror_flag" ||
47787 test ! -s conftest.err
47788 } && test -s conftest.$ac_objext; then
47789
47790 { echo "$as_me:$LINENO: result: yes" >&5
47791 echo "${ECHO_T}yes" >&6; }
47792 GCC_PCH=1
47793
47794 else
47795 echo "$as_me: failed program was:" >&5
47796 sed 's/^/| /' conftest.$ac_ext >&5
47797
47798
47799 cat >conftest.$ac_ext <<_ACEOF
47800 /* confdefs.h. */
47801 _ACEOF
47802 cat confdefs.h >>conftest.$ac_ext
47803 cat >>conftest.$ac_ext <<_ACEOF
47804 /* end confdefs.h. */
47805
47806 int
47807 main ()
47808 {
47809
47810 #if !defined(__INTEL_COMPILER) || \
47811 (__INTEL_COMPILER < 800)
47812 There is no PCH support
47813 #endif
47814
47815 ;
47816 return 0;
47817 }
47818 _ACEOF
47819 rm -f conftest.$ac_objext
47820 if { (ac_try="$ac_compile"
47821 case "(($ac_try" in
47822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47823 *) ac_try_echo=$ac_try;;
47824 esac
47825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47826 (eval "$ac_compile") 2>conftest.er1
47827 ac_status=$?
47828 grep -v '^ *+' conftest.er1 >conftest.err
47829 rm -f conftest.er1
47830 cat conftest.err >&5
47831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47832 (exit $ac_status); } && {
47833 test -z "$ac_c_werror_flag" ||
47834 test ! -s conftest.err
47835 } && test -s conftest.$ac_objext; then
47836
47837 { echo "$as_me:$LINENO: result: yes" >&5
47838 echo "${ECHO_T}yes" >&6; }
47839 ICC_PCH=1
47840
47841 else
47842 echo "$as_me: failed program was:" >&5
47843 sed 's/^/| /' conftest.$ac_ext >&5
47844
47845
47846 { echo "$as_me:$LINENO: result: no" >&5
47847 echo "${ECHO_T}no" >&6; }
47848
47849 fi
47850
47851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47852
47853 fi
47854
47855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47856 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47857 USE_PCH=1
47858
47859 D='$'
47860 cat <<EOF >bk-make-pch
47861 #!/bin/sh
47862
47863 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47864 # script. It is used to generated precompiled headers.
47865 #
47866 # Permission is given to use this file in any way.
47867
47868 outfile="${D}{1}"
47869 header="${D}{2}"
47870 shift
47871 shift
47872
47873 compiler=""
47874 headerfile=""
47875
47876 while test ${D}{#} -gt 0; do
47877 add_to_cmdline=1
47878 case "${D}{1}" in
47879 -I* )
47880 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47881 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47882 headerfile="${D}{incdir}/${D}{header}"
47883 fi
47884 ;;
47885 -use-pch|-use_pch )
47886 shift
47887 add_to_cmdline=0
47888 ;;
47889 esac
47890 if test ${D}add_to_cmdline = 1 ; then
47891 compiler="${D}{compiler} ${D}{1}"
47892 fi
47893 shift
47894 done
47895
47896 if test "x${D}{headerfile}" = "x" ; then
47897 echo "error: can't find header ${D}{header} in include paths" >&2
47898 else
47899 if test -f ${D}{outfile} ; then
47900 rm -f ${D}{outfile}
47901 else
47902 mkdir -p \`dirname ${D}{outfile}\`
47903 fi
47904 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47905 mkdir -p .deps
47906 if test "x${GCC_PCH}" = "x1" ; then
47907 # can do this because gcc is >= 3.4:
47908 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47909 elif test "x${ICC_PCH}" = "x1" ; then
47910 filename=pch_gen-${D}${D}
47911 file=${D}{filename}.c
47912 dfile=${D}{filename}.d
47913 cat > ${D}file <<EOT
47914 #include "${D}header"
47915 EOT
47916 # using -MF icc complains about differing command lines in creation/use
47917 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47918 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47919 rm -f ${D}file ${D}dfile ${D}{filename}.o
47920 fi
47921 exit ${D}{?}
47922 fi
47923 EOF
47924
47925 chmod +x bk-make-pch
47926 BK_MAKE_PCH="`pwd`/bk-make-pch"
47927 fi
47928 fi
47929 fi
47930
47931
47932
47933
47934
47935 COND_BUILD_DEBUG="#"
47936 if test "x$BUILD" = "xdebug" ; then
47937 COND_BUILD_DEBUG=""
47938 fi
47939
47940 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47941 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47942 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47943 fi
47944
47945 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47946 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47947 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47948 fi
47949
47950 COND_BUILD_DEBUG_UNICODE_0="#"
47951 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47952 COND_BUILD_DEBUG_UNICODE_0=""
47953 fi
47954
47955 COND_BUILD_DEBUG_UNICODE_1="#"
47956 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47957 COND_BUILD_DEBUG_UNICODE_1=""
47958 fi
47959
47960 COND_BUILD_RELEASE="#"
47961 if test "x$BUILD" = "xrelease" ; then
47962 COND_BUILD_RELEASE=""
47963 fi
47964
47965 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47966 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47967 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47968 fi
47969
47970 COND_BUILD_RELEASE_UNICODE_0="#"
47971 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47972 COND_BUILD_RELEASE_UNICODE_0=""
47973 fi
47974
47975 COND_BUILD_RELEASE_UNICODE_1="#"
47976 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47977 COND_BUILD_RELEASE_UNICODE_1=""
47978 fi
47979
47980 COND_DEBUG_FLAG_1="#"
47981 if test "x$DEBUG_FLAG" = "x1" ; then
47982 COND_DEBUG_FLAG_1=""
47983 fi
47984
47985 COND_DEBUG_INFO_0="#"
47986 if test "x$DEBUG_INFO" = "x0" ; then
47987 COND_DEBUG_INFO_0=""
47988 fi
47989
47990 COND_DEBUG_INFO_1="#"
47991 if test "x$DEBUG_INFO" = "x1" ; then
47992 COND_DEBUG_INFO_1=""
47993 fi
47994
47995 COND_DEPS_TRACKING_0="#"
47996 if test "x$DEPS_TRACKING" = "x0" ; then
47997 COND_DEPS_TRACKING_0=""
47998 fi
47999
48000 COND_DEPS_TRACKING_1="#"
48001 if test "x$DEPS_TRACKING" = "x1" ; then
48002 COND_DEPS_TRACKING_1=""
48003 fi
48004
48005 COND_GCC_PCH_1="#"
48006 if test "x$GCC_PCH" = "x1" ; then
48007 COND_GCC_PCH_1=""
48008 fi
48009
48010 COND_ICC_PCH_1="#"
48011 if test "x$ICC_PCH" = "x1" ; then
48012 COND_ICC_PCH_1=""
48013 fi
48014
48015 COND_MONOLITHIC_0="#"
48016 if test "x$MONOLITHIC" = "x0" ; then
48017 COND_MONOLITHIC_0=""
48018 fi
48019
48020 COND_MONOLITHIC_0_SHARED_0="#"
48021 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48022 COND_MONOLITHIC_0_SHARED_0=""
48023 fi
48024
48025 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48026 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48027 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48028 fi
48029
48030 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48031 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48032 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48033 fi
48034
48035 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48036 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48037 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48038 fi
48039
48040 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48041 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48042 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48043 fi
48044
48045 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48046 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48047 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48048 fi
48049
48050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48051 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48053 fi
48054
48055 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48056 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48057 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48058 fi
48059
48060 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48061 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48062 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48063 fi
48064
48065 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48066 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48067 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48068 fi
48069
48070 COND_MONOLITHIC_0_SHARED_1="#"
48071 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48072 COND_MONOLITHIC_0_SHARED_1=""
48073 fi
48074
48075 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48076 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48077 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48078 fi
48079
48080 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48081 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48082 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48083 fi
48084
48085 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48086 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48087 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48088 fi
48089
48090 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48091 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48092 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48093 fi
48094
48095 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48096 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48097 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48098 fi
48099
48100 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48101 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48102 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48103 fi
48104
48105 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48106 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48107 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48108 fi
48109
48110 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48111 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48112 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48113 fi
48114
48115 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48116 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48117 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48118 fi
48119
48120 COND_MONOLITHIC_0_USE_AUI_1="#"
48121 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48122 COND_MONOLITHIC_0_USE_AUI_1=""
48123 fi
48124
48125 COND_MONOLITHIC_0_USE_GUI_1="#"
48126 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48127 COND_MONOLITHIC_0_USE_GUI_1=""
48128 fi
48129
48130 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48131 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48132 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48133 fi
48134
48135 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48136 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48137 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48138 fi
48139
48140 COND_MONOLITHIC_0_USE_HTML_1="#"
48141 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48142 COND_MONOLITHIC_0_USE_HTML_1=""
48143 fi
48144
48145 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48146 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48147 COND_MONOLITHIC_0_USE_MEDIA_1=""
48148 fi
48149
48150 COND_MONOLITHIC_0_USE_ODBC_1="#"
48151 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48152 COND_MONOLITHIC_0_USE_ODBC_1=""
48153 fi
48154
48155 COND_MONOLITHIC_0_USE_QA_1="#"
48156 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48157 COND_MONOLITHIC_0_USE_QA_1=""
48158 fi
48159
48160 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48161 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48162 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48163 fi
48164
48165 COND_MONOLITHIC_0_USE_XRC_1="#"
48166 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48167 COND_MONOLITHIC_0_USE_XRC_1=""
48168 fi
48169
48170 COND_MONOLITHIC_1="#"
48171 if test "x$MONOLITHIC" = "x1" ; then
48172 COND_MONOLITHIC_1=""
48173 fi
48174
48175 COND_MONOLITHIC_1_SHARED_0="#"
48176 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48177 COND_MONOLITHIC_1_SHARED_0=""
48178 fi
48179
48180 COND_MONOLITHIC_1_SHARED_1="#"
48181 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48182 COND_MONOLITHIC_1_SHARED_1=""
48183 fi
48184
48185 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48186 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48187 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48188 fi
48189
48190 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48191 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48192 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48193 fi
48194
48195 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48196 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48197 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48198 fi
48199
48200 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48201 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48202 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48203 fi
48204
48205 COND_PLATFORM_MACOSX_1="#"
48206 if test "x$PLATFORM_MACOSX" = "x1" ; then
48207 COND_PLATFORM_MACOSX_1=""
48208 fi
48209
48210 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48211 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48212 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48213 fi
48214
48215 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48216 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48217 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48218 fi
48219
48220 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48221 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48222 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48223 fi
48224
48225 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48226 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48227 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48228 fi
48229
48230 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48231 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48232 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48233 fi
48234
48235 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48236 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48237 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48238 fi
48239
48240 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48241 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48242 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48243 fi
48244
48245 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48246 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48247 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48248 fi
48249
48250 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48251 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48252 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48253 fi
48254
48255 COND_PLATFORM_MACOS_1="#"
48256 if test "x$PLATFORM_MACOS" = "x1" ; then
48257 COND_PLATFORM_MACOS_1=""
48258 fi
48259
48260 COND_PLATFORM_MAC_1="#"
48261 if test "x$PLATFORM_MAC" = "x1" ; then
48262 COND_PLATFORM_MAC_1=""
48263 fi
48264
48265 COND_PLATFORM_MSDOS_0="#"
48266 if test "x$PLATFORM_MSDOS" = "x0" ; then
48267 COND_PLATFORM_MSDOS_0=""
48268 fi
48269
48270 COND_PLATFORM_MSDOS_1="#"
48271 if test "x$PLATFORM_MSDOS" = "x1" ; then
48272 COND_PLATFORM_MSDOS_1=""
48273 fi
48274
48275 COND_PLATFORM_OS2_1="#"
48276 if test "x$PLATFORM_OS2" = "x1" ; then
48277 COND_PLATFORM_OS2_1=""
48278 fi
48279
48280 COND_PLATFORM_UNIX_0="#"
48281 if test "x$PLATFORM_UNIX" = "x0" ; then
48282 COND_PLATFORM_UNIX_0=""
48283 fi
48284
48285 COND_PLATFORM_UNIX_1="#"
48286 if test "x$PLATFORM_UNIX" = "x1" ; then
48287 COND_PLATFORM_UNIX_1=""
48288 fi
48289
48290 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48291 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48292 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48293 fi
48294
48295 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48296 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48297 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48298 fi
48299
48300 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48301 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48302 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48303 fi
48304
48305 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48306 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48307 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48308 fi
48309
48310 COND_PLATFORM_WIN32_0="#"
48311 if test "x$PLATFORM_WIN32" = "x0" ; then
48312 COND_PLATFORM_WIN32_0=""
48313 fi
48314
48315 COND_PLATFORM_WIN32_1="#"
48316 if test "x$PLATFORM_WIN32" = "x1" ; then
48317 COND_PLATFORM_WIN32_1=""
48318 fi
48319
48320 COND_SHARED_0="#"
48321 if test "x$SHARED" = "x0" ; then
48322 COND_SHARED_0=""
48323 fi
48324
48325 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48326 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48327 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48328 fi
48329
48330 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48331 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48332 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48333 fi
48334
48335 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48336 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48337 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48338 fi
48339
48340 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48341 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48342 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48343 fi
48344
48345 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48346 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48347 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48348 fi
48349
48350 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48351 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48352 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48353 fi
48354
48355 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48356 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48357 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48358 fi
48359
48360 COND_SHARED_0_USE_XRC_1="#"
48361 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48362 COND_SHARED_0_USE_XRC_1=""
48363 fi
48364
48365 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48366 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48367 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48368 fi
48369
48370 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48371 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48372 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48373 fi
48374
48375 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48376 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48377 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48378 fi
48379
48380 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48381 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48382 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48383 fi
48384
48385 COND_SHARED_1="#"
48386 if test "x$SHARED" = "x1" ; then
48387 COND_SHARED_1=""
48388 fi
48389
48390 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48391 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48392 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48393 fi
48394
48395 COND_SHARED_1_USE_XRC_1="#"
48396 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48397 COND_SHARED_1_USE_XRC_1=""
48398 fi
48399
48400 COND_TOOLKIT_="#"
48401 if test "x$TOOLKIT" = "x" ; then
48402 COND_TOOLKIT_=""
48403 fi
48404
48405 COND_TOOLKIT_COCOA="#"
48406 if test "x$TOOLKIT" = "xCOCOA" ; then
48407 COND_TOOLKIT_COCOA=""
48408 fi
48409
48410 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48411 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48412 COND_TOOLKIT_COCOA_USE_GUI_1=""
48413 fi
48414
48415 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48416 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48417 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48418 fi
48419
48420 COND_TOOLKIT_DFB="#"
48421 if test "x$TOOLKIT" = "xDFB" ; then
48422 COND_TOOLKIT_DFB=""
48423 fi
48424
48425 COND_TOOLKIT_DFB_USE_GUI_1="#"
48426 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48427 COND_TOOLKIT_DFB_USE_GUI_1=""
48428 fi
48429
48430 COND_TOOLKIT_GTK="#"
48431 if test "x$TOOLKIT" = "xGTK" ; then
48432 COND_TOOLKIT_GTK=""
48433 fi
48434
48435 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48436 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48437 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48438 fi
48439
48440 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48441 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48442 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48443 fi
48444
48445 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48446 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48447 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48448 fi
48449
48450 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48451 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48452 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48453 fi
48454
48455 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48456 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48457 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48458 fi
48459
48460 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48461 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48462 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48463 fi
48464
48465 COND_TOOLKIT_GTK_USE_GUI_1="#"
48466 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48467 COND_TOOLKIT_GTK_USE_GUI_1=""
48468 fi
48469
48470 COND_TOOLKIT_MAC="#"
48471 if test "x$TOOLKIT" = "xMAC" ; then
48472 COND_TOOLKIT_MAC=""
48473 fi
48474
48475 COND_TOOLKIT_MAC_USE_GUI_1="#"
48476 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48477 COND_TOOLKIT_MAC_USE_GUI_1=""
48478 fi
48479
48480 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48481 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48482 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48483 fi
48484
48485 COND_TOOLKIT_MGL="#"
48486 if test "x$TOOLKIT" = "xMGL" ; then
48487 COND_TOOLKIT_MGL=""
48488 fi
48489
48490 COND_TOOLKIT_MGL_USE_GUI_1="#"
48491 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48492 COND_TOOLKIT_MGL_USE_GUI_1=""
48493 fi
48494
48495 COND_TOOLKIT_MOTIF="#"
48496 if test "x$TOOLKIT" = "xMOTIF" ; then
48497 COND_TOOLKIT_MOTIF=""
48498 fi
48499
48500 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48501 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48502 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48503 fi
48504
48505 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48506 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48507 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48508 fi
48509
48510 COND_TOOLKIT_MSW="#"
48511 if test "x$TOOLKIT" = "xMSW" ; then
48512 COND_TOOLKIT_MSW=""
48513 fi
48514
48515 COND_TOOLKIT_MSW_USE_GUI_1="#"
48516 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48517 COND_TOOLKIT_MSW_USE_GUI_1=""
48518 fi
48519
48520 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48521 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48522 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48523 fi
48524
48525 COND_TOOLKIT_MSW_WXUNIV_0="#"
48526 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48527 COND_TOOLKIT_MSW_WXUNIV_0=""
48528 fi
48529
48530 COND_TOOLKIT_PM="#"
48531 if test "x$TOOLKIT" = "xPM" ; then
48532 COND_TOOLKIT_PM=""
48533 fi
48534
48535 COND_TOOLKIT_PM_USE_GUI_1="#"
48536 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48537 COND_TOOLKIT_PM_USE_GUI_1=""
48538 fi
48539
48540 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48541 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48542 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48543 fi
48544
48545 COND_TOOLKIT_WINCE="#"
48546 if test "x$TOOLKIT" = "xWINCE" ; then
48547 COND_TOOLKIT_WINCE=""
48548 fi
48549
48550 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48551 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48552 COND_TOOLKIT_WINCE_USE_GUI_1=""
48553 fi
48554
48555 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48556 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48557 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48558 fi
48559
48560 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48561 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48562 COND_TOOLKIT_WINCE_WXUNIV_0=""
48563 fi
48564
48565 COND_TOOLKIT_X11="#"
48566 if test "x$TOOLKIT" = "xX11" ; then
48567 COND_TOOLKIT_X11=""
48568 fi
48569
48570 COND_TOOLKIT_X11_USE_GUI_1="#"
48571 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48572 COND_TOOLKIT_X11_USE_GUI_1=""
48573 fi
48574
48575 COND_UNICODE_1="#"
48576 if test "x$UNICODE" = "x1" ; then
48577 COND_UNICODE_1=""
48578 fi
48579
48580 COND_USE_EXCEPTIONS_0="#"
48581 if test "x$USE_EXCEPTIONS" = "x0" ; then
48582 COND_USE_EXCEPTIONS_0=""
48583 fi
48584
48585 COND_USE_EXCEPTIONS_1="#"
48586 if test "x$USE_EXCEPTIONS" = "x1" ; then
48587 COND_USE_EXCEPTIONS_1=""
48588 fi
48589
48590 COND_USE_GUI_0="#"
48591 if test "x$USE_GUI" = "x0" ; then
48592 COND_USE_GUI_0=""
48593 fi
48594
48595 COND_USE_GUI_1="#"
48596 if test "x$USE_GUI" = "x1" ; then
48597 COND_USE_GUI_1=""
48598 fi
48599
48600 COND_USE_GUI_1_WXUNIV_0="#"
48601 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48602 COND_USE_GUI_1_WXUNIV_0=""
48603 fi
48604
48605 COND_USE_GUI_1_WXUNIV_1="#"
48606 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48607 COND_USE_GUI_1_WXUNIV_1=""
48608 fi
48609
48610 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48611 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48612 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48613 fi
48614
48615 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48616 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48617 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48618 fi
48619
48620 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48621 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48622 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48623 fi
48624
48625 COND_USE_ODBC_1="#"
48626 if test "x$USE_ODBC" = "x1" ; then
48627 COND_USE_ODBC_1=""
48628 fi
48629
48630 COND_USE_OPENGL_1="#"
48631 if test "x$USE_OPENGL" = "x1" ; then
48632 COND_USE_OPENGL_1=""
48633 fi
48634
48635 COND_USE_PCH_1="#"
48636 if test "x$USE_PCH" = "x1" ; then
48637 COND_USE_PCH_1=""
48638 fi
48639
48640 COND_USE_PLUGINS_0="#"
48641 if test "x$USE_PLUGINS" = "x0" ; then
48642 COND_USE_PLUGINS_0=""
48643 fi
48644
48645 COND_USE_RTTI_0="#"
48646 if test "x$USE_RTTI" = "x0" ; then
48647 COND_USE_RTTI_0=""
48648 fi
48649
48650 COND_USE_RTTI_1="#"
48651 if test "x$USE_RTTI" = "x1" ; then
48652 COND_USE_RTTI_1=""
48653 fi
48654
48655 COND_USE_SOSYMLINKS_1="#"
48656 if test "x$USE_SOSYMLINKS" = "x1" ; then
48657 COND_USE_SOSYMLINKS_1=""
48658 fi
48659
48660 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48661 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48662 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48663 fi
48664
48665 COND_USE_SOVERLINUX_1="#"
48666 if test "x$USE_SOVERLINUX" = "x1" ; then
48667 COND_USE_SOVERLINUX_1=""
48668 fi
48669
48670 COND_USE_SOVERSION_0="#"
48671 if test "x$USE_SOVERSION" = "x0" ; then
48672 COND_USE_SOVERSION_0=""
48673 fi
48674
48675 COND_USE_SOVERSOLARIS_1="#"
48676 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48677 COND_USE_SOVERSOLARIS_1=""
48678 fi
48679
48680 COND_USE_THREADS_0="#"
48681 if test "x$USE_THREADS" = "x0" ; then
48682 COND_USE_THREADS_0=""
48683 fi
48684
48685 COND_USE_THREADS_1="#"
48686 if test "x$USE_THREADS" = "x1" ; then
48687 COND_USE_THREADS_1=""
48688 fi
48689
48690 COND_USE_XRC_1="#"
48691 if test "x$USE_XRC" = "x1" ; then
48692 COND_USE_XRC_1=""
48693 fi
48694
48695 COND_WINDOWS_IMPLIB_1="#"
48696 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48697 COND_WINDOWS_IMPLIB_1=""
48698 fi
48699
48700 COND_WITH_PLUGIN_SDL_1="#"
48701 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48702 COND_WITH_PLUGIN_SDL_1=""
48703 fi
48704
48705 COND_WXUNIV_0="#"
48706 if test "x$WXUNIV" = "x0" ; then
48707 COND_WXUNIV_0=""
48708 fi
48709
48710 COND_WXUNIV_1="#"
48711 if test "x$WXUNIV" = "x1" ; then
48712 COND_WXUNIV_1=""
48713 fi
48714
48715 COND_WXUSE_EXPAT_BUILTIN="#"
48716 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48717 COND_WXUSE_EXPAT_BUILTIN=""
48718 fi
48719
48720 COND_WXUSE_LIBJPEG_BUILTIN="#"
48721 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48722 COND_WXUSE_LIBJPEG_BUILTIN=""
48723 fi
48724
48725 COND_WXUSE_LIBPNG_BUILTIN="#"
48726 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48727 COND_WXUSE_LIBPNG_BUILTIN=""
48728 fi
48729
48730 COND_WXUSE_LIBTIFF_BUILTIN="#"
48731 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48732 COND_WXUSE_LIBTIFF_BUILTIN=""
48733 fi
48734
48735 COND_WXUSE_ODBC_BUILTIN="#"
48736 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48737 COND_WXUSE_ODBC_BUILTIN=""
48738 fi
48739
48740 COND_WXUSE_REGEX_BUILTIN="#"
48741 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48742 COND_WXUSE_REGEX_BUILTIN=""
48743 fi
48744
48745 COND_WXUSE_ZLIB_BUILTIN="#"
48746 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48747 COND_WXUSE_ZLIB_BUILTIN=""
48748 fi
48749
48750
48751
48752 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48753 { { 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
48754 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;}
48755 { (exit 1); exit 1; }; }
48756 fi
48757
48758 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48759 { { 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
48760 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;}
48761 { (exit 1); exit 1; }; }
48762 fi
48763
48764
48765 if test $GCC_PCH = 1
48766 then
48767 if test "$wx_cv_gcc_pch_bug" = yes; then
48768 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48769 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48770 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48771 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48772 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48773 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48774 fi
48775
48776 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48777 fi
48778
48779
48780 if test "$wxUSE_MAC" = 1 ; then
48781 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48782 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48783 mv temp bk-deps
48784 chmod +x bk-deps
48785 fi
48786 fi
48787
48788 if test "$wxUSE_SHARED" = "yes"; then
48789
48790 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48791 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48792
48793 case "${host}" in
48794 *-pc-os2_emx | *-pc-os2-emx )
48795 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48796 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48797 cp -p ${srcdir}/src/os2/dllnames.sh .
48798 cp -p ${srcdir}/src/os2/dllar.sh .
48799 ;;
48800 esac
48801 else
48802
48803 EXE_LINKER="$CXX -o"
48804
48805 fi
48806 if test "$wxUSE_OMF" = "yes"; then
48807 case "${host}" in
48808 *-pc-os2_emx | *-pc-os2-emx )
48809 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48810 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48811 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48812 ;;
48813 esac
48814 fi
48815
48816 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48817
48818 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48819
48820
48821
48822
48823
48824
48825
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836
48837
48838
48839
48840
48841
48842
48843
48844
48845
48846
48847
48848
48849
48850
48851
48852
48853
48854
48855
48856
48857
48858
48859
48860
48861
48862
48863
48864
48865
48866
48867
48868
48869
48870
48871
48872
48873
48874
48875
48876
48877
48878
48879
48880 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48881 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48882 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48883 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48884 echo $ECHO_N "(cached) $ECHO_C" >&6
48885 else
48886 cat >conftest.make <<\_ACEOF
48887 SHELL = /bin/sh
48888 all:
48889 @echo '@@@%%%=$(MAKE)=@@@%%%'
48890 _ACEOF
48891 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48892 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48893 *@@@%%%=?*=@@@%%%*)
48894 eval ac_cv_prog_make_${ac_make}_set=yes;;
48895 *)
48896 eval ac_cv_prog_make_${ac_make}_set=no;;
48897 esac
48898 rm -f conftest.make
48899 fi
48900 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48901 { echo "$as_me:$LINENO: result: yes" >&5
48902 echo "${ECHO_T}yes" >&6; }
48903 SET_MAKE=
48904 else
48905 { echo "$as_me:$LINENO: result: no" >&5
48906 echo "${ECHO_T}no" >&6; }
48907 SET_MAKE="MAKE=${MAKE-make}"
48908 fi
48909
48910
48911
48912 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48913
48914
48915 if test "$USE_WIN32" = 1; then
48916 ac_config_commands="$ac_config_commands
48917 rcdefs.h
48918 "
48919
48920 fi
48921
48922 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48923
48924
48925 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48926
48927
48928 if test "$wx_cv_version_script" = "yes"; then
48929 ac_config_files="$ac_config_files version-script"
48930
48931 fi
48932 ac_config_files="$ac_config_files Makefile"
48933
48934
48935 ac_config_commands="$ac_config_commands wx-config"
48936
48937
48938
48939 if test "$wxWITH_SUBDIRS" != "no"; then
48940 if test "$wxUSE_GUI" = "yes"; then
48941 SUBDIRS="samples demos utils contrib"
48942 else SUBDIRS="samples utils"
48943 fi
48944
48945
48946
48947 # Check whether --with-cppunit-prefix was given.
48948 if test "${with_cppunit_prefix+set}" = set; then
48949 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48950 else
48951 cppunit_config_prefix=""
48952 fi
48953
48954
48955 # Check whether --with-cppunit-exec-prefix was given.
48956 if test "${with_cppunit_exec_prefix+set}" = set; then
48957 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48958 else
48959 cppunit_config_exec_prefix=""
48960 fi
48961
48962
48963 if test x$cppunit_config_exec_prefix != x ; then
48964 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48965 if test x${CPPUNIT_CONFIG+set} != xset ; then
48966 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48967 fi
48968 fi
48969 if test x$cppunit_config_prefix != x ; then
48970 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48971 if test x${CPPUNIT_CONFIG+set} != xset ; then
48972 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48973 fi
48974 fi
48975
48976 # Extract the first word of "cppunit-config", so it can be a program name with args.
48977 set dummy cppunit-config; ac_word=$2
48978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48980 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48981 echo $ECHO_N "(cached) $ECHO_C" >&6
48982 else
48983 case $CPPUNIT_CONFIG in
48984 [\\/]* | ?:[\\/]*)
48985 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48986 ;;
48987 *)
48988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48989 for as_dir in $PATH
48990 do
48991 IFS=$as_save_IFS
48992 test -z "$as_dir" && as_dir=.
48993 for ac_exec_ext in '' $ac_executable_extensions; do
48994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48995 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48997 break 2
48998 fi
48999 done
49000 done
49001 IFS=$as_save_IFS
49002
49003 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49004 ;;
49005 esac
49006 fi
49007 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49008 if test -n "$CPPUNIT_CONFIG"; then
49009 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49010 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49011 else
49012 { echo "$as_me:$LINENO: result: no" >&5
49013 echo "${ECHO_T}no" >&6; }
49014 fi
49015
49016
49017 cppunit_version_min=1.8.0
49018
49019 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49020 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49021 no_cppunit=""
49022 if test "$CPPUNIT_CONFIG" = "no" ; then
49023 { echo "$as_me:$LINENO: result: no" >&5
49024 echo "${ECHO_T}no" >&6; }
49025 no_cppunit=yes
49026 else
49027 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49028 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49029 cppunit_version=`$CPPUNIT_CONFIG --version`
49030
49031 cppunit_major_version=`echo $cppunit_version | \
49032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49033 cppunit_minor_version=`echo $cppunit_version | \
49034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49035 cppunit_micro_version=`echo $cppunit_version | \
49036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49037
49038 cppunit_major_min=`echo $cppunit_version_min | \
49039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49040 cppunit_minor_min=`echo $cppunit_version_min | \
49041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49042 cppunit_micro_min=`echo $cppunit_version_min | \
49043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49044
49045 cppunit_version_proper=`expr \
49046 $cppunit_major_version \> $cppunit_major_min \| \
49047 $cppunit_major_version \= $cppunit_major_min \& \
49048 $cppunit_minor_version \> $cppunit_minor_min \| \
49049 $cppunit_major_version \= $cppunit_major_min \& \
49050 $cppunit_minor_version \= $cppunit_minor_min \& \
49051 $cppunit_micro_version \>= $cppunit_micro_min `
49052
49053 if test "$cppunit_version_proper" = "1" ; then
49054 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49055 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49056 else
49057 { echo "$as_me:$LINENO: result: no" >&5
49058 echo "${ECHO_T}no" >&6; }
49059 no_cppunit=yes
49060 fi
49061 fi
49062
49063 if test "x$no_cppunit" = x ; then
49064 SUBDIRS="$SUBDIRS tests"
49065 else
49066 CPPUNIT_CFLAGS=""
49067 CPPUNIT_LIBS=""
49068 :
49069 fi
49070
49071
49072
49073
49074
49075 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
49076 DISABLED_CONTRIB="$DISABLED_CONTRIB net"
49077 fi
49078
49079 for subdir in `echo $SUBDIRS`; do
49080 if test -d ${srcdir}/${subdir} ; then
49081 if test "$wxUSE_GUI" = "yes"; then
49082 if test ${subdir} = "samples"; then
49083 makefiles="samples/Makefile.in $makefiles"
49084 for sample in `echo $SAMPLES_SUBDIRS`; do
49085 if test -d $srcdir/samples/$sample; then
49086 makefiles="samples/$sample/Makefile.in $makefiles"
49087 fi
49088 done
49089 else
49090 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49091 eval "disabled=\$$disabled_var"
49092 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49093 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49094 fi
49095 else if test ${subdir} = "samples"; then
49096 makefiles="samples/Makefile.in samples/console/Makefile.in"
49097 elif test ${subdir} = "utils"; then
49098 makefiles=""
49099 for util in HelpGen tex2rtf ; do
49100 if test -d $srcdir/utils/$util ; then
49101 makefiles="utils/$util/Makefile.in \
49102 utils/$util/src/Makefile.in \
49103 $makefiles"
49104 fi
49105 done
49106 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49107 fi
49108 fi
49109
49110 for mkin in $makefiles ; do
49111 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49112 ac_config_files="$ac_config_files $mk"
49113
49114 done
49115 fi
49116 done
49117 fi
49118 cat >confcache <<\_ACEOF
49119 # This file is a shell script that caches the results of configure
49120 # tests run on this system so they can be shared between configure
49121 # scripts and configure runs, see configure's option --config-cache.
49122 # It is not useful on other systems. If it contains results you don't
49123 # want to keep, you may remove or edit it.
49124 #
49125 # config.status only pays attention to the cache file if you give it
49126 # the --recheck option to rerun configure.
49127 #
49128 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49129 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49130 # following values.
49131
49132 _ACEOF
49133
49134 # The following way of writing the cache mishandles newlines in values,
49135 # but we know of no workaround that is simple, portable, and efficient.
49136 # So, we kill variables containing newlines.
49137 # Ultrix sh set writes to stderr and can't be redirected directly,
49138 # and sets the high bit in the cache file unless we assign to the vars.
49139 (
49140 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49141 eval ac_val=\$$ac_var
49142 case $ac_val in #(
49143 *${as_nl}*)
49144 case $ac_var in #(
49145 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49146 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49147 esac
49148 case $ac_var in #(
49149 _ | IFS | as_nl) ;; #(
49150 *) $as_unset $ac_var ;;
49151 esac ;;
49152 esac
49153 done
49154
49155 (set) 2>&1 |
49156 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49157 *${as_nl}ac_space=\ *)
49158 # `set' does not quote correctly, so add quotes (double-quote
49159 # substitution turns \\\\ into \\, and sed turns \\ into \).
49160 sed -n \
49161 "s/'/'\\\\''/g;
49162 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49163 ;; #(
49164 *)
49165 # `set' quotes correctly as required by POSIX, so do not add quotes.
49166 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49167 ;;
49168 esac |
49169 sort
49170 ) |
49171 sed '
49172 /^ac_cv_env_/b end
49173 t clear
49174 :clear
49175 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49176 t end
49177 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49178 :end' >>confcache
49179 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49180 if test -w "$cache_file"; then
49181 test "x$cache_file" != "x/dev/null" &&
49182 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49183 echo "$as_me: updating cache $cache_file" >&6;}
49184 cat confcache >$cache_file
49185 else
49186 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49187 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49188 fi
49189 fi
49190 rm -f confcache
49191
49192 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49193 # Let make expand exec_prefix.
49194 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49195
49196 DEFS=-DHAVE_CONFIG_H
49197
49198 ac_libobjs=
49199 ac_ltlibobjs=
49200 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49201 # 1. Remove the extension, and $U if already installed.
49202 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49203 ac_i=`echo "$ac_i" | sed "$ac_script"`
49204 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49205 # will be set to the directory where LIBOBJS objects are built.
49206 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49207 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49208 done
49209 LIBOBJS=$ac_libobjs
49210
49211 LTLIBOBJS=$ac_ltlibobjs
49212
49213
49214
49215 : ${CONFIG_STATUS=./config.status}
49216 ac_clean_files_save=$ac_clean_files
49217 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49218 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49219 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49220 cat >$CONFIG_STATUS <<_ACEOF
49221 #! $SHELL
49222 # Generated by $as_me.
49223 # Run this file to recreate the current configuration.
49224 # Compiler output produced by configure, useful for debugging
49225 # configure, is in config.log if it exists.
49226
49227 debug=false
49228 ac_cs_recheck=false
49229 ac_cs_silent=false
49230 SHELL=\${CONFIG_SHELL-$SHELL}
49231 _ACEOF
49232
49233 cat >>$CONFIG_STATUS <<\_ACEOF
49234 ## --------------------- ##
49235 ## M4sh Initialization. ##
49236 ## --------------------- ##
49237
49238 # Be more Bourne compatible
49239 DUALCASE=1; export DUALCASE # for MKS sh
49240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49241 emulate sh
49242 NULLCMD=:
49243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49244 # is contrary to our usage. Disable this feature.
49245 alias -g '${1+"$@"}'='"$@"'
49246 setopt NO_GLOB_SUBST
49247 else
49248 case `(set -o) 2>/dev/null` in
49249 *posix*) set -o posix ;;
49250 esac
49251
49252 fi
49253
49254
49255
49256
49257 # PATH needs CR
49258 # Avoid depending upon Character Ranges.
49259 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49260 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49261 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49262 as_cr_digits='0123456789'
49263 as_cr_alnum=$as_cr_Letters$as_cr_digits
49264
49265 # The user is always right.
49266 if test "${PATH_SEPARATOR+set}" != set; then
49267 echo "#! /bin/sh" >conf$$.sh
49268 echo "exit 0" >>conf$$.sh
49269 chmod +x conf$$.sh
49270 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49271 PATH_SEPARATOR=';'
49272 else
49273 PATH_SEPARATOR=:
49274 fi
49275 rm -f conf$$.sh
49276 fi
49277
49278 # Support unset when possible.
49279 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49280 as_unset=unset
49281 else
49282 as_unset=false
49283 fi
49284
49285
49286 # IFS
49287 # We need space, tab and new line, in precisely that order. Quoting is
49288 # there to prevent editors from complaining about space-tab.
49289 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49290 # splitting by setting IFS to empty value.)
49291 as_nl='
49292 '
49293 IFS=" "" $as_nl"
49294
49295 # Find who we are. Look in the path if we contain no directory separator.
49296 case $0 in
49297 *[\\/]* ) as_myself=$0 ;;
49298 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49299 for as_dir in $PATH
49300 do
49301 IFS=$as_save_IFS
49302 test -z "$as_dir" && as_dir=.
49303 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49304 done
49305 IFS=$as_save_IFS
49306
49307 ;;
49308 esac
49309 # We did not find ourselves, most probably we were run as `sh COMMAND'
49310 # in which case we are not to be found in the path.
49311 if test "x$as_myself" = x; then
49312 as_myself=$0
49313 fi
49314 if test ! -f "$as_myself"; then
49315 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49316 { (exit 1); exit 1; }
49317 fi
49318
49319 # Work around bugs in pre-3.0 UWIN ksh.
49320 for as_var in ENV MAIL MAILPATH
49321 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49322 done
49323 PS1='$ '
49324 PS2='> '
49325 PS4='+ '
49326
49327 # NLS nuisances.
49328 for as_var in \
49329 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49330 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49331 LC_TELEPHONE LC_TIME
49332 do
49333 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49334 eval $as_var=C; export $as_var
49335 else
49336 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49337 fi
49338 done
49339
49340 # Required to use basename.
49341 if expr a : '\(a\)' >/dev/null 2>&1 &&
49342 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49343 as_expr=expr
49344 else
49345 as_expr=false
49346 fi
49347
49348 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49349 as_basename=basename
49350 else
49351 as_basename=false
49352 fi
49353
49354
49355 # Name of the executable.
49356 as_me=`$as_basename -- "$0" ||
49357 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49358 X"$0" : 'X\(//\)$' \| \
49359 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49360 echo X/"$0" |
49361 sed '/^.*\/\([^/][^/]*\)\/*$/{
49362 s//\1/
49363 q
49364 }
49365 /^X\/\(\/\/\)$/{
49366 s//\1/
49367 q
49368 }
49369 /^X\/\(\/\).*/{
49370 s//\1/
49371 q
49372 }
49373 s/.*/./; q'`
49374
49375 # CDPATH.
49376 $as_unset CDPATH
49377
49378
49379
49380 as_lineno_1=$LINENO
49381 as_lineno_2=$LINENO
49382 test "x$as_lineno_1" != "x$as_lineno_2" &&
49383 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49384
49385 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49386 # uniformly replaced by the line number. The first 'sed' inserts a
49387 # line-number line after each line using $LINENO; the second 'sed'
49388 # does the real work. The second script uses 'N' to pair each
49389 # line-number line with the line containing $LINENO, and appends
49390 # trailing '-' during substitution so that $LINENO is not a special
49391 # case at line end.
49392 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49393 # scripts with optimization help from Paolo Bonzini. Blame Lee
49394 # E. McMahon (1931-1989) for sed's syntax. :-)
49395 sed -n '
49396 p
49397 /[$]LINENO/=
49398 ' <$as_myself |
49399 sed '
49400 s/[$]LINENO.*/&-/
49401 t lineno
49402 b
49403 :lineno
49404 N
49405 :loop
49406 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49407 t loop
49408 s/-\n.*//
49409 ' >$as_me.lineno &&
49410 chmod +x "$as_me.lineno" ||
49411 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49412 { (exit 1); exit 1; }; }
49413
49414 # Don't try to exec as it changes $[0], causing all sort of problems
49415 # (the dirname of $[0] is not the place where we might find the
49416 # original and so on. Autoconf is especially sensitive to this).
49417 . "./$as_me.lineno"
49418 # Exit status is that of the last command.
49419 exit
49420 }
49421
49422
49423 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49424 as_dirname=dirname
49425 else
49426 as_dirname=false
49427 fi
49428
49429 ECHO_C= ECHO_N= ECHO_T=
49430 case `echo -n x` in
49431 -n*)
49432 case `echo 'x\c'` in
49433 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49434 *) ECHO_C='\c';;
49435 esac;;
49436 *)
49437 ECHO_N='-n';;
49438 esac
49439
49440 if expr a : '\(a\)' >/dev/null 2>&1 &&
49441 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49442 as_expr=expr
49443 else
49444 as_expr=false
49445 fi
49446
49447 rm -f conf$$ conf$$.exe conf$$.file
49448 if test -d conf$$.dir; then
49449 rm -f conf$$.dir/conf$$.file
49450 else
49451 rm -f conf$$.dir
49452 mkdir conf$$.dir
49453 fi
49454 echo >conf$$.file
49455 if ln -s conf$$.file conf$$ 2>/dev/null; then
49456 as_ln_s='ln -s'
49457 # ... but there are two gotchas:
49458 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49459 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49460 # In both cases, we have to default to `cp -p'.
49461 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49462 as_ln_s='cp -p'
49463 elif ln conf$$.file conf$$ 2>/dev/null; then
49464 as_ln_s=ln
49465 else
49466 as_ln_s='cp -p'
49467 fi
49468 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49469 rmdir conf$$.dir 2>/dev/null
49470
49471 if mkdir -p . 2>/dev/null; then
49472 as_mkdir_p=:
49473 else
49474 test -d ./-p && rmdir ./-p
49475 as_mkdir_p=false
49476 fi
49477
49478 if test -x / >/dev/null 2>&1; then
49479 as_test_x='test -x'
49480 else
49481 if ls -dL / >/dev/null 2>&1; then
49482 as_ls_L_option=L
49483 else
49484 as_ls_L_option=
49485 fi
49486 as_test_x='
49487 eval sh -c '\''
49488 if test -d "$1"; then
49489 test -d "$1/.";
49490 else
49491 case $1 in
49492 -*)set "./$1";;
49493 esac;
49494 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49495 ???[sx]*):;;*)false;;esac;fi
49496 '\'' sh
49497 '
49498 fi
49499 as_executable_p=$as_test_x
49500
49501 # Sed expression to map a string onto a valid CPP name.
49502 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49503
49504 # Sed expression to map a string onto a valid variable name.
49505 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49506
49507
49508 exec 6>&1
49509
49510 # Save the log message, to keep $[0] and so on meaningful, and to
49511 # report actual input values of CONFIG_FILES etc. instead of their
49512 # values after options handling.
49513 ac_log="
49514 This file was extended by wxWidgets $as_me 2.9.0, which was
49515 generated by GNU Autoconf 2.61. Invocation command line was
49516
49517 CONFIG_FILES = $CONFIG_FILES
49518 CONFIG_HEADERS = $CONFIG_HEADERS
49519 CONFIG_LINKS = $CONFIG_LINKS
49520 CONFIG_COMMANDS = $CONFIG_COMMANDS
49521 $ $0 $@
49522
49523 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49524 "
49525
49526 _ACEOF
49527
49528 cat >>$CONFIG_STATUS <<_ACEOF
49529 # Files that config.status was made for.
49530 config_files="$ac_config_files"
49531 config_headers="$ac_config_headers"
49532 config_commands="$ac_config_commands"
49533
49534 _ACEOF
49535
49536 cat >>$CONFIG_STATUS <<\_ACEOF
49537 ac_cs_usage="\
49538 \`$as_me' instantiates files from templates according to the
49539 current configuration.
49540
49541 Usage: $0 [OPTIONS] [FILE]...
49542
49543 -h, --help print this help, then exit
49544 -V, --version print version number and configuration settings, then exit
49545 -q, --quiet do not print progress messages
49546 -d, --debug don't remove temporary files
49547 --recheck update $as_me by reconfiguring in the same conditions
49548 --file=FILE[:TEMPLATE]
49549 instantiate the configuration file FILE
49550 --header=FILE[:TEMPLATE]
49551 instantiate the configuration header FILE
49552
49553 Configuration files:
49554 $config_files
49555
49556 Configuration headers:
49557 $config_headers
49558
49559 Configuration commands:
49560 $config_commands
49561
49562 Report bugs to <bug-autoconf@gnu.org>."
49563
49564 _ACEOF
49565 cat >>$CONFIG_STATUS <<_ACEOF
49566 ac_cs_version="\\
49567 wxWidgets config.status 2.9.0
49568 configured by $0, generated by GNU Autoconf 2.61,
49569 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49570
49571 Copyright (C) 2006 Free Software Foundation, Inc.
49572 This config.status script is free software; the Free Software Foundation
49573 gives unlimited permission to copy, distribute and modify it."
49574
49575 ac_pwd='$ac_pwd'
49576 srcdir='$srcdir'
49577 INSTALL='$INSTALL'
49578 _ACEOF
49579
49580 cat >>$CONFIG_STATUS <<\_ACEOF
49581 # If no file are specified by the user, then we need to provide default
49582 # value. By we need to know if files were specified by the user.
49583 ac_need_defaults=:
49584 while test $# != 0
49585 do
49586 case $1 in
49587 --*=*)
49588 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49589 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49590 ac_shift=:
49591 ;;
49592 *)
49593 ac_option=$1
49594 ac_optarg=$2
49595 ac_shift=shift
49596 ;;
49597 esac
49598
49599 case $ac_option in
49600 # Handling of the options.
49601 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49602 ac_cs_recheck=: ;;
49603 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49604 echo "$ac_cs_version"; exit ;;
49605 --debug | --debu | --deb | --de | --d | -d )
49606 debug=: ;;
49607 --file | --fil | --fi | --f )
49608 $ac_shift
49609 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49610 ac_need_defaults=false;;
49611 --header | --heade | --head | --hea )
49612 $ac_shift
49613 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49614 ac_need_defaults=false;;
49615 --he | --h)
49616 # Conflict between --help and --header
49617 { echo "$as_me: error: ambiguous option: $1
49618 Try \`$0 --help' for more information." >&2
49619 { (exit 1); exit 1; }; };;
49620 --help | --hel | -h )
49621 echo "$ac_cs_usage"; exit ;;
49622 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49623 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49624 ac_cs_silent=: ;;
49625
49626 # This is an error.
49627 -*) { echo "$as_me: error: unrecognized option: $1
49628 Try \`$0 --help' for more information." >&2
49629 { (exit 1); exit 1; }; } ;;
49630
49631 *) ac_config_targets="$ac_config_targets $1"
49632 ac_need_defaults=false ;;
49633
49634 esac
49635 shift
49636 done
49637
49638 ac_configure_extra_args=
49639
49640 if $ac_cs_silent; then
49641 exec 6>/dev/null
49642 ac_configure_extra_args="$ac_configure_extra_args --silent"
49643 fi
49644
49645 _ACEOF
49646 cat >>$CONFIG_STATUS <<_ACEOF
49647 if \$ac_cs_recheck; then
49648 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49649 CONFIG_SHELL=$SHELL
49650 export CONFIG_SHELL
49651 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49652 fi
49653
49654 _ACEOF
49655 cat >>$CONFIG_STATUS <<\_ACEOF
49656 exec 5>>config.log
49657 {
49658 echo
49659 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49660 ## Running $as_me. ##
49661 _ASBOX
49662 echo "$ac_log"
49663 } >&5
49664
49665 _ACEOF
49666 cat >>$CONFIG_STATUS <<_ACEOF
49667 #
49668 # INIT-COMMANDS
49669 #
49670
49671 CPP="$CPP"
49672 infile="$srcdir/include/wx/msw/genrcdefs.h"
49673 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49674
49675
49676 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49677 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49678 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49679 LN_S="${LN_S}"
49680
49681
49682 _ACEOF
49683
49684 cat >>$CONFIG_STATUS <<\_ACEOF
49685
49686 # Handling of arguments.
49687 for ac_config_target in $ac_config_targets
49688 do
49689 case $ac_config_target in
49690 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49691 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49692 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49693 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49694 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49695 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49696 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49697 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49698
49699 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49700 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49701 { (exit 1); exit 1; }; };;
49702 esac
49703 done
49704
49705
49706 # If the user did not use the arguments to specify the items to instantiate,
49707 # then the envvar interface is used. Set only those that are not.
49708 # We use the long form for the default assignment because of an extremely
49709 # bizarre bug on SunOS 4.1.3.
49710 if $ac_need_defaults; then
49711 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49712 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49713 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49714 fi
49715
49716 # Have a temporary directory for convenience. Make it in the build tree
49717 # simply because there is no reason against having it here, and in addition,
49718 # creating and moving files from /tmp can sometimes cause problems.
49719 # Hook for its removal unless debugging.
49720 # Note that there is a small window in which the directory will not be cleaned:
49721 # after its creation but before its name has been assigned to `$tmp'.
49722 $debug ||
49723 {
49724 tmp=
49725 trap 'exit_status=$?
49726 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49727 ' 0
49728 trap '{ (exit 1); exit 1; }' 1 2 13 15
49729 }
49730 # Create a (secure) tmp directory for tmp files.
49731
49732 {
49733 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49734 test -n "$tmp" && test -d "$tmp"
49735 } ||
49736 {
49737 tmp=./conf$$-$RANDOM
49738 (umask 077 && mkdir "$tmp")
49739 } ||
49740 {
49741 echo "$me: cannot create a temporary directory in ." >&2
49742 { (exit 1); exit 1; }
49743 }
49744
49745 #
49746 # Set up the sed scripts for CONFIG_FILES section.
49747 #
49748
49749 # No need to generate the scripts if there are no CONFIG_FILES.
49750 # This happens for instance when ./config.status config.h
49751 if test -n "$CONFIG_FILES"; then
49752
49753 _ACEOF
49754
49755
49756
49757 ac_delim='%!_!# '
49758 for ac_last_try in false false false false false :; do
49759 cat >conf$$subs.sed <<_ACEOF
49760 SHELL!$SHELL$ac_delim
49761 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49762 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49763 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49764 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49765 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49766 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49767 exec_prefix!$exec_prefix$ac_delim
49768 prefix!$prefix$ac_delim
49769 program_transform_name!$program_transform_name$ac_delim
49770 bindir!$bindir$ac_delim
49771 sbindir!$sbindir$ac_delim
49772 libexecdir!$libexecdir$ac_delim
49773 datarootdir!$datarootdir$ac_delim
49774 datadir!$datadir$ac_delim
49775 sysconfdir!$sysconfdir$ac_delim
49776 sharedstatedir!$sharedstatedir$ac_delim
49777 localstatedir!$localstatedir$ac_delim
49778 includedir!$includedir$ac_delim
49779 oldincludedir!$oldincludedir$ac_delim
49780 docdir!$docdir$ac_delim
49781 infodir!$infodir$ac_delim
49782 htmldir!$htmldir$ac_delim
49783 dvidir!$dvidir$ac_delim
49784 pdfdir!$pdfdir$ac_delim
49785 psdir!$psdir$ac_delim
49786 libdir!$libdir$ac_delim
49787 localedir!$localedir$ac_delim
49788 mandir!$mandir$ac_delim
49789 DEFS!$DEFS$ac_delim
49790 ECHO_C!$ECHO_C$ac_delim
49791 ECHO_N!$ECHO_N$ac_delim
49792 ECHO_T!$ECHO_T$ac_delim
49793 LIBS!$LIBS$ac_delim
49794 build_alias!$build_alias$ac_delim
49795 host_alias!$host_alias$ac_delim
49796 target_alias!$target_alias$ac_delim
49797 build!$build$ac_delim
49798 build_cpu!$build_cpu$ac_delim
49799 build_vendor!$build_vendor$ac_delim
49800 build_os!$build_os$ac_delim
49801 host!$host$ac_delim
49802 host_cpu!$host_cpu$ac_delim
49803 host_vendor!$host_vendor$ac_delim
49804 host_os!$host_os$ac_delim
49805 target!$target$ac_delim
49806 target_cpu!$target_cpu$ac_delim
49807 target_vendor!$target_vendor$ac_delim
49808 target_os!$target_os$ac_delim
49809 wx_top_builddir!$wx_top_builddir$ac_delim
49810 CC!$CC$ac_delim
49811 CFLAGS!$CFLAGS$ac_delim
49812 LDFLAGS!$LDFLAGS$ac_delim
49813 CPPFLAGS!$CPPFLAGS$ac_delim
49814 ac_ct_CC!$ac_ct_CC$ac_delim
49815 EXEEXT!$EXEEXT$ac_delim
49816 OBJEXT!$OBJEXT$ac_delim
49817 CPP!$CPP$ac_delim
49818 GREP!$GREP$ac_delim
49819 EGREP!$EGREP$ac_delim
49820 CXX!$CXX$ac_delim
49821 CXXFLAGS!$CXXFLAGS$ac_delim
49822 ac_ct_CXX!$ac_ct_CXX$ac_delim
49823 RANLIB!$RANLIB$ac_delim
49824 AR!$AR$ac_delim
49825 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49826 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49827 INSTALL_DATA!$INSTALL_DATA$ac_delim
49828 STRIP!$STRIP$ac_delim
49829 WINDRES!$WINDRES$ac_delim
49830 DLLTOOL!$DLLTOOL$ac_delim
49831 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49832 LN_S!$LN_S$ac_delim
49833 subdirs!$subdirs$ac_delim
49834 PKG_CONFIG!$PKG_CONFIG$ac_delim
49835 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49836 GTK_LIBS!$GTK_LIBS$ac_delim
49837 GTK_CONFIG!$GTK_CONFIG$ac_delim
49838 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49839 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49840 XMKMF!$XMKMF$ac_delim
49841 X_CFLAGS!$X_CFLAGS$ac_delim
49842 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49843 X_LIBS!$X_LIBS$ac_delim
49844 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49845 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49846 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49847 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49848 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49849 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49850 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49851 REZ!$REZ$ac_delim
49852 DEREZ!$DEREZ$ac_delim
49853 SETFILE!$SETFILE$ac_delim
49854 LIBICONV!$LIBICONV$ac_delim
49855 EXTRALIBS_ESD!$EXTRALIBS_ESD$ac_delim
49856 SDL_CONFIG!$SDL_CONFIG$ac_delim
49857 _ACEOF
49858
49859 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49860 break
49861 elif $ac_last_try; then
49862 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49863 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49864 { (exit 1); exit 1; }; }
49865 else
49866 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49867 fi
49868 done
49869
49870 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49871 if test -n "$ac_eof"; then
49872 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49873 ac_eof=`expr $ac_eof + 1`
49874 fi
49875
49876 cat >>$CONFIG_STATUS <<_ACEOF
49877 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49878 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49879 _ACEOF
49880 sed '
49881 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49882 s/^/s,@/; s/!/@,|#_!!_#|/
49883 :n
49884 t n
49885 s/'"$ac_delim"'$/,g/; t
49886 s/$/\\/; p
49887 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49888 ' >>$CONFIG_STATUS <conf$$subs.sed
49889 rm -f conf$$subs.sed
49890 cat >>$CONFIG_STATUS <<_ACEOF
49891 CEOF$ac_eof
49892 _ACEOF
49893
49894
49895 ac_delim='%!_!# '
49896 for ac_last_try in false false false false false :; do
49897 cat >conf$$subs.sed <<_ACEOF
49898 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49899 SDL_LIBS!$SDL_LIBS$ac_delim
49900 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49901 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49902 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49903 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49904 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49905 HILDON_LIBS!$HILDON_LIBS$ac_delim
49906 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49907 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49908 GST_CFLAGS!$GST_CFLAGS$ac_delim
49909 GST_LIBS!$GST_LIBS$ac_delim
49910 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49911 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49912 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49913 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49914 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49915 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49916 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49917 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49918 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49919 VENDOR!$VENDOR$ac_delim
49920 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49921 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49922 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49923 WXUNIV!$WXUNIV$ac_delim
49924 MONOLITHIC!$MONOLITHIC$ac_delim
49925 USE_PLUGINS!$USE_PLUGINS$ac_delim
49926 EXTRALIBS!$EXTRALIBS$ac_delim
49927 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49928 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49929 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49930 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49931 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49932 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49933 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49934 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49935 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49936 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49937 UNICODE!$UNICODE$ac_delim
49938 BUILD!$BUILD$ac_delim
49939 DEBUG_INFO!$DEBUG_INFO$ac_delim
49940 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49941 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49942 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49943 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49944 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49945 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49946 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49947 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49948 SET_MAKE!$SET_MAKE$ac_delim
49949 MAKE_SET!$MAKE_SET$ac_delim
49950 AROPTIONS!$AROPTIONS$ac_delim
49951 NM!$NM$ac_delim
49952 INSTALL_DIR!$INSTALL_DIR$ac_delim
49953 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49954 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49955 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49956 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49957 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49958 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49959 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49960 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49961 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49962 SO_SUFFIX!$SO_SUFFIX$ac_delim
49963 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49964 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49965 LIBPREFIX!$LIBPREFIX$ac_delim
49966 LIBEXT!$LIBEXT$ac_delim
49967 DLLPREFIX!$DLLPREFIX$ac_delim
49968 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49969 dlldir!$dlldir$ac_delim
49970 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49971 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49972 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49973 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49974 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49975 PIC_FLAG!$PIC_FLAG$ac_delim
49976 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49977 USE_SOVERSION!$USE_SOVERSION$ac_delim
49978 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49979 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49980 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49981 USE_MACVERSION!$USE_MACVERSION$ac_delim
49982 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49983 SONAME_FLAG!$SONAME_FLAG$ac_delim
49984 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49985 BK_DEPS!$BK_DEPS$ac_delim
49986 GCC_PCH!$GCC_PCH$ac_delim
49987 ICC_PCH!$ICC_PCH$ac_delim
49988 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49989 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49990 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49991 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49992 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49993 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49994 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49995 _ACEOF
49996
49997 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49998 break
49999 elif $ac_last_try; then
50000 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50001 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50002 { (exit 1); exit 1; }; }
50003 else
50004 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50005 fi
50006 done
50007
50008 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50009 if test -n "$ac_eof"; then
50010 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50011 ac_eof=`expr $ac_eof + 1`
50012 fi
50013
50014 cat >>$CONFIG_STATUS <<_ACEOF
50015 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50016 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50017 _ACEOF
50018 sed '
50019 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50020 s/^/s,@/; s/!/@,|#_!!_#|/
50021 :n
50022 t n
50023 s/'"$ac_delim"'$/,g/; t
50024 s/$/\\/; p
50025 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50026 ' >>$CONFIG_STATUS <conf$$subs.sed
50027 rm -f conf$$subs.sed
50028 cat >>$CONFIG_STATUS <<_ACEOF
50029 CEOF$ac_eof
50030 _ACEOF
50031
50032
50033 ac_delim='%!_!# '
50034 for ac_last_try in false false false false false :; do
50035 cat >conf$$subs.sed <<_ACEOF
50036 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50037 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50038 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50039 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50040 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50041 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50042 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50043 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50044 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50045 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50046 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50047 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50048 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50049 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50050 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50051 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50052 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50053 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50054 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50055 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50056 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50057 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50058 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50059 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50060 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50061 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50062 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50063 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50064 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50065 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50066 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50067 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50068 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50069 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50070 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50071 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50072 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50073 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50074 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50075 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50076 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50077 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50078 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50079 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50080 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50081 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50082 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50083 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50084 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50085 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50086 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50087 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50088 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50089 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50090 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50091 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50092 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50093 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50094 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50095 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50096 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50097 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50098 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50099 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50100 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50101 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50102 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50103 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50104 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50105 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50106 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50107 COND_SHARED_0!$COND_SHARED_0$ac_delim
50108 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50109 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50110 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50111 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50112 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50113 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50114 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50115 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50116 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50117 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50118 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50119 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50120 COND_SHARED_1!$COND_SHARED_1$ac_delim
50121 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50122 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50123 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50124 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50125 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50126 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50127 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50128 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50129 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50130 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50131 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50132 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50133 _ACEOF
50134
50135 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50136 break
50137 elif $ac_last_try; then
50138 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50139 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50140 { (exit 1); exit 1; }; }
50141 else
50142 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50143 fi
50144 done
50145
50146 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50147 if test -n "$ac_eof"; then
50148 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50149 ac_eof=`expr $ac_eof + 1`
50150 fi
50151
50152 cat >>$CONFIG_STATUS <<_ACEOF
50153 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50154 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50155 _ACEOF
50156 sed '
50157 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50158 s/^/s,@/; s/!/@,|#_!!_#|/
50159 :n
50160 t n
50161 s/'"$ac_delim"'$/,g/; t
50162 s/$/\\/; p
50163 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50164 ' >>$CONFIG_STATUS <conf$$subs.sed
50165 rm -f conf$$subs.sed
50166 cat >>$CONFIG_STATUS <<_ACEOF
50167 CEOF$ac_eof
50168 _ACEOF
50169
50170
50171 ac_delim='%!_!# '
50172 for ac_last_try in false false false false false :; do
50173 cat >conf$$subs.sed <<_ACEOF
50174 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50175 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50176 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50177 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50178 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50179 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50180 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50181 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50182 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50183 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50184 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50185 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50186 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50187 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50188 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50189 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50190 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50191 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50192 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50193 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50194 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50195 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50196 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50197 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50198 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50199 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50200 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50201 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50202 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50203 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50204 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50205 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50206 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50207 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50208 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50209 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50210 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50211 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50212 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50213 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50214 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50215 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50216 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50217 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50218 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50219 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50220 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50221 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50222 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50223 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50224 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50225 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50226 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50227 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50228 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50229 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50230 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50231 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50232 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50233 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50234 SHARED!$SHARED$ac_delim
50235 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50236 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50237 USE_GUI!$USE_GUI$ac_delim
50238 AFMINSTALL!$AFMINSTALL$ac_delim
50239 WIN32INSTALL!$WIN32INSTALL$ac_delim
50240 TOOLKIT!$TOOLKIT$ac_delim
50241 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50242 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50243 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50244 cross_compiling!$cross_compiling$ac_delim
50245 WIDGET_SET!$WIDGET_SET$ac_delim
50246 WX_RELEASE!$WX_RELEASE$ac_delim
50247 WX_VERSION!$WX_VERSION$ac_delim
50248 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50249 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50250 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50251 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50252 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50253 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50254 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50255 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50256 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50257 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50258 EXE_LINKER!$EXE_LINKER$ac_delim
50259 GUIDIST!$GUIDIST$ac_delim
50260 DISTDIR!$DISTDIR$ac_delim
50261 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50262 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50263 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50264 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50265 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50266 RESCOMP!$RESCOMP$ac_delim
50267 RESFLAGS!$RESFLAGS$ac_delim
50268 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50269 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50270 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50271 _ACEOF
50272
50273 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50274 break
50275 elif $ac_last_try; then
50276 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50277 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50278 { (exit 1); exit 1; }; }
50279 else
50280 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50281 fi
50282 done
50283
50284 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50285 if test -n "$ac_eof"; then
50286 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50287 ac_eof=`expr $ac_eof + 1`
50288 fi
50289
50290 cat >>$CONFIG_STATUS <<_ACEOF
50291 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50292 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50293 _ACEOF
50294 sed '
50295 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50296 s/^/s,@/; s/!/@,|#_!!_#|/
50297 :n
50298 t n
50299 s/'"$ac_delim"'$/,g/; t
50300 s/$/\\/; p
50301 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50302 ' >>$CONFIG_STATUS <conf$$subs.sed
50303 rm -f conf$$subs.sed
50304 cat >>$CONFIG_STATUS <<_ACEOF
50305 CEOF$ac_eof
50306 _ACEOF
50307
50308
50309 ac_delim='%!_!# '
50310 for ac_last_try in false false false false false :; do
50311 cat >conf$$subs.sed <<_ACEOF
50312 LIBWXMACRES!$LIBWXMACRES$ac_delim
50313 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50314 MACSETFILE!$MACSETFILE$ac_delim
50315 GCC!$GCC$ac_delim
50316 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50317 LIBOBJS!$LIBOBJS$ac_delim
50318 LTLIBOBJS!$LTLIBOBJS$ac_delim
50319 _ACEOF
50320
50321 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
50322 break
50323 elif $ac_last_try; then
50324 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50325 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50326 { (exit 1); exit 1; }; }
50327 else
50328 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50329 fi
50330 done
50331
50332 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50333 if test -n "$ac_eof"; then
50334 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50335 ac_eof=`expr $ac_eof + 1`
50336 fi
50337
50338 cat >>$CONFIG_STATUS <<_ACEOF
50339 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50340 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50341 _ACEOF
50342 sed '
50343 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50344 s/^/s,@/; s/!/@,|#_!!_#|/
50345 :n
50346 t n
50347 s/'"$ac_delim"'$/,g/; t
50348 s/$/\\/; p
50349 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50350 ' >>$CONFIG_STATUS <conf$$subs.sed
50351 rm -f conf$$subs.sed
50352 cat >>$CONFIG_STATUS <<_ACEOF
50353 :end
50354 s/|#_!!_#|//g
50355 CEOF$ac_eof
50356 _ACEOF
50357
50358
50359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50361 # trailing colons and then remove the whole line if VPATH becomes empty
50362 # (actually we leave an empty line to preserve line numbers).
50363 if test "x$srcdir" = x.; then
50364 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50365 s/:*\$(srcdir):*/:/
50366 s/:*\${srcdir}:*/:/
50367 s/:*@srcdir@:*/:/
50368 s/^\([^=]*=[ ]*\):*/\1/
50369 s/:*$//
50370 s/^[^=]*=[ ]*$//
50371 }'
50372 fi
50373
50374 cat >>$CONFIG_STATUS <<\_ACEOF
50375 fi # test -n "$CONFIG_FILES"
50376
50377
50378 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50379 do
50380 case $ac_tag in
50381 :[FHLC]) ac_mode=$ac_tag; continue;;
50382 esac
50383 case $ac_mode$ac_tag in
50384 :[FHL]*:*);;
50385 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50386 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50387 { (exit 1); exit 1; }; };;
50388 :[FH]-) ac_tag=-:-;;
50389 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50390 esac
50391 ac_save_IFS=$IFS
50392 IFS=:
50393 set x $ac_tag
50394 IFS=$ac_save_IFS
50395 shift
50396 ac_file=$1
50397 shift
50398
50399 case $ac_mode in
50400 :L) ac_source=$1;;
50401 :[FH])
50402 ac_file_inputs=
50403 for ac_f
50404 do
50405 case $ac_f in
50406 -) ac_f="$tmp/stdin";;
50407 *) # Look for the file first in the build tree, then in the source tree
50408 # (if the path is not absolute). The absolute path cannot be DOS-style,
50409 # because $ac_f cannot contain `:'.
50410 test -f "$ac_f" ||
50411 case $ac_f in
50412 [\\/$]*) false;;
50413 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50414 esac ||
50415 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50416 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50417 { (exit 1); exit 1; }; };;
50418 esac
50419 ac_file_inputs="$ac_file_inputs $ac_f"
50420 done
50421
50422 # Let's still pretend it is `configure' which instantiates (i.e., don't
50423 # use $as_me), people would be surprised to read:
50424 # /* config.h. Generated by config.status. */
50425 configure_input="Generated from "`IFS=:
50426 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50427 if test x"$ac_file" != x-; then
50428 configure_input="$ac_file. $configure_input"
50429 { echo "$as_me:$LINENO: creating $ac_file" >&5
50430 echo "$as_me: creating $ac_file" >&6;}
50431 fi
50432
50433 case $ac_tag in
50434 *:-:* | *:-) cat >"$tmp/stdin";;
50435 esac
50436 ;;
50437 esac
50438
50439 ac_dir=`$as_dirname -- "$ac_file" ||
50440 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50441 X"$ac_file" : 'X\(//\)[^/]' \| \
50442 X"$ac_file" : 'X\(//\)$' \| \
50443 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50444 echo X"$ac_file" |
50445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50446 s//\1/
50447 q
50448 }
50449 /^X\(\/\/\)[^/].*/{
50450 s//\1/
50451 q
50452 }
50453 /^X\(\/\/\)$/{
50454 s//\1/
50455 q
50456 }
50457 /^X\(\/\).*/{
50458 s//\1/
50459 q
50460 }
50461 s/.*/./; q'`
50462 { as_dir="$ac_dir"
50463 case $as_dir in #(
50464 -*) as_dir=./$as_dir;;
50465 esac
50466 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50467 as_dirs=
50468 while :; do
50469 case $as_dir in #(
50470 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50471 *) as_qdir=$as_dir;;
50472 esac
50473 as_dirs="'$as_qdir' $as_dirs"
50474 as_dir=`$as_dirname -- "$as_dir" ||
50475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50476 X"$as_dir" : 'X\(//\)[^/]' \| \
50477 X"$as_dir" : 'X\(//\)$' \| \
50478 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50479 echo X"$as_dir" |
50480 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50481 s//\1/
50482 q
50483 }
50484 /^X\(\/\/\)[^/].*/{
50485 s//\1/
50486 q
50487 }
50488 /^X\(\/\/\)$/{
50489 s//\1/
50490 q
50491 }
50492 /^X\(\/\).*/{
50493 s//\1/
50494 q
50495 }
50496 s/.*/./; q'`
50497 test -d "$as_dir" && break
50498 done
50499 test -z "$as_dirs" || eval "mkdir $as_dirs"
50500 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50501 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50502 { (exit 1); exit 1; }; }; }
50503 ac_builddir=.
50504
50505 case "$ac_dir" in
50506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50507 *)
50508 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50509 # A ".." for each directory in $ac_dir_suffix.
50510 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50511 case $ac_top_builddir_sub in
50512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50514 esac ;;
50515 esac
50516 ac_abs_top_builddir=$ac_pwd
50517 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50518 # for backward compatibility:
50519 ac_top_builddir=$ac_top_build_prefix
50520
50521 case $srcdir in
50522 .) # We are building in place.
50523 ac_srcdir=.
50524 ac_top_srcdir=$ac_top_builddir_sub
50525 ac_abs_top_srcdir=$ac_pwd ;;
50526 [\\/]* | ?:[\\/]* ) # Absolute name.
50527 ac_srcdir=$srcdir$ac_dir_suffix;
50528 ac_top_srcdir=$srcdir
50529 ac_abs_top_srcdir=$srcdir ;;
50530 *) # Relative name.
50531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50532 ac_top_srcdir=$ac_top_build_prefix$srcdir
50533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50534 esac
50535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50536
50537
50538 case $ac_mode in
50539 :F)
50540 #
50541 # CONFIG_FILE
50542 #
50543
50544 case $INSTALL in
50545 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50546 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50547 esac
50548 _ACEOF
50549
50550 cat >>$CONFIG_STATUS <<\_ACEOF
50551 # If the template does not know about datarootdir, expand it.
50552 # FIXME: This hack should be removed a few years after 2.60.
50553 ac_datarootdir_hack=; ac_datarootdir_seen=
50554
50555 case `sed -n '/datarootdir/ {
50556 p
50557 q
50558 }
50559 /@datadir@/p
50560 /@docdir@/p
50561 /@infodir@/p
50562 /@localedir@/p
50563 /@mandir@/p
50564 ' $ac_file_inputs` in
50565 *datarootdir*) ac_datarootdir_seen=yes;;
50566 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50567 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50568 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50569 _ACEOF
50570 cat >>$CONFIG_STATUS <<_ACEOF
50571 ac_datarootdir_hack='
50572 s&@datadir@&$datadir&g
50573 s&@docdir@&$docdir&g
50574 s&@infodir@&$infodir&g
50575 s&@localedir@&$localedir&g
50576 s&@mandir@&$mandir&g
50577 s&\\\${datarootdir}&$datarootdir&g' ;;
50578 esac
50579 _ACEOF
50580
50581 # Neutralize VPATH when `$srcdir' = `.'.
50582 # Shell code in configure.ac might set extrasub.
50583 # FIXME: do we really want to maintain this feature?
50584 cat >>$CONFIG_STATUS <<_ACEOF
50585 sed "$ac_vpsub
50586 $extrasub
50587 _ACEOF
50588 cat >>$CONFIG_STATUS <<\_ACEOF
50589 :t
50590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50591 s&@configure_input@&$configure_input&;t t
50592 s&@top_builddir@&$ac_top_builddir_sub&;t t
50593 s&@srcdir@&$ac_srcdir&;t t
50594 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50595 s&@top_srcdir@&$ac_top_srcdir&;t t
50596 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50597 s&@builddir@&$ac_builddir&;t t
50598 s&@abs_builddir@&$ac_abs_builddir&;t t
50599 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50600 s&@INSTALL@&$ac_INSTALL&;t t
50601 $ac_datarootdir_hack
50602 " $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
50603
50604 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50605 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50606 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50607 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50608 which seems to be undefined. Please make sure it is defined." >&5
50609 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50610 which seems to be undefined. Please make sure it is defined." >&2;}
50611
50612 rm -f "$tmp/stdin"
50613 case $ac_file in
50614 -) cat "$tmp/out"; rm -f "$tmp/out";;
50615 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50616 esac
50617 ;;
50618 :H)
50619 #
50620 # CONFIG_HEADER
50621 #
50622 _ACEOF
50623
50624 # Transform confdefs.h into a sed script `conftest.defines', that
50625 # substitutes the proper values into config.h.in to produce config.h.
50626 rm -f conftest.defines conftest.tail
50627 # First, append a space to every undef/define line, to ease matching.
50628 echo 's/$/ /' >conftest.defines
50629 # Then, protect against being on the right side of a sed subst, or in
50630 # an unquoted here document, in config.status. If some macros were
50631 # called several times there might be several #defines for the same
50632 # symbol, which is useless. But do not sort them, since the last
50633 # AC_DEFINE must be honored.
50634 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50635 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50636 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50637 # PARAMS is the parameter list in the macro definition--in most cases, it's
50638 # just an empty string.
50639 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50640 ac_dB='\\)[ (].*,\\1define\\2'
50641 ac_dC=' '
50642 ac_dD=' ,'
50643
50644 uniq confdefs.h |
50645 sed -n '
50646 t rset
50647 :rset
50648 s/^[ ]*#[ ]*define[ ][ ]*//
50649 t ok
50650 d
50651 :ok
50652 s/[\\&,]/\\&/g
50653 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50654 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50655 ' >>conftest.defines
50656
50657 # Remove the space that was appended to ease matching.
50658 # Then replace #undef with comments. This is necessary, for
50659 # example, in the case of _POSIX_SOURCE, which is predefined and required
50660 # on some systems where configure will not decide to define it.
50661 # (The regexp can be short, since the line contains either #define or #undef.)
50662 echo 's/ $//
50663 s,^[ #]*u.*,/* & */,' >>conftest.defines
50664
50665 # Break up conftest.defines:
50666 ac_max_sed_lines=50
50667
50668 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50669 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50670 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50671 # et cetera.
50672 ac_in='$ac_file_inputs'
50673 ac_out='"$tmp/out1"'
50674 ac_nxt='"$tmp/out2"'
50675
50676 while :
50677 do
50678 # Write a here document:
50679 cat >>$CONFIG_STATUS <<_ACEOF
50680 # First, check the format of the line:
50681 cat >"\$tmp/defines.sed" <<\\CEOF
50682 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50683 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50684 b
50685 :def
50686 _ACEOF
50687 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50688 echo 'CEOF
50689 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50690 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50691 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50692 grep . conftest.tail >/dev/null || break
50693 rm -f conftest.defines
50694 mv conftest.tail conftest.defines
50695 done
50696 rm -f conftest.defines conftest.tail
50697
50698 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50699 cat >>$CONFIG_STATUS <<\_ACEOF
50700 if test x"$ac_file" != x-; then
50701 echo "/* $configure_input */" >"$tmp/config.h"
50702 cat "$ac_result" >>"$tmp/config.h"
50703 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50704 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50705 echo "$as_me: $ac_file is unchanged" >&6;}
50706 else
50707 rm -f $ac_file
50708 mv "$tmp/config.h" $ac_file
50709 fi
50710 else
50711 echo "/* $configure_input */"
50712 cat "$ac_result"
50713 fi
50714 rm -f "$tmp/out12"
50715 ;;
50716
50717 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50718 echo "$as_me: executing $ac_file commands" >&6;}
50719 ;;
50720 esac
50721
50722
50723 case $ac_file$ac_mode in
50724 "rcdefs.h":C)
50725 mkdir -p $outdir &&
50726 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50727 ;;
50728 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50729 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50730 "wx-config":C) rm -f wx-config
50731 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50732 ;;
50733
50734 esac
50735 done # for ac_tag
50736
50737
50738 { (exit 0); exit 0; }
50739 _ACEOF
50740 chmod +x $CONFIG_STATUS
50741 ac_clean_files=$ac_clean_files_save
50742
50743
50744 # configure is writing to config.log, and then calls config.status.
50745 # config.status does its own redirection, appending to config.log.
50746 # Unfortunately, on DOS this fails, as config.log is still kept open
50747 # by configure, so config.status won't be able to write to it; its
50748 # output is simply discarded. So we exec the FD to /dev/null,
50749 # effectively closing config.log, so it can be properly (re)opened and
50750 # appended to by config.status. When coming back to configure, we
50751 # need to make the FD available again.
50752 if test "$no_create" != yes; then
50753 ac_cs_success=:
50754 ac_config_status_args=
50755 test "$silent" = yes &&
50756 ac_config_status_args="$ac_config_status_args --quiet"
50757 exec 5>/dev/null
50758 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50759 exec 5>>config.log
50760 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50761 # would make configure fail if this is the last instruction.
50762 $ac_cs_success || { (exit 1); exit 1; }
50763 fi
50764
50765 #
50766 # CONFIG_SUBDIRS section.
50767 #
50768 if test "$no_recursion" != yes; then
50769
50770 # Remove --cache-file and --srcdir arguments so they do not pile up.
50771 ac_sub_configure_args=
50772 ac_prev=
50773 eval "set x $ac_configure_args"
50774 shift
50775 for ac_arg
50776 do
50777 if test -n "$ac_prev"; then
50778 ac_prev=
50779 continue
50780 fi
50781 case $ac_arg in
50782 -cache-file | --cache-file | --cache-fil | --cache-fi \
50783 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50784 ac_prev=cache_file ;;
50785 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50786 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50787 | --c=*)
50788 ;;
50789 --config-cache | -C)
50790 ;;
50791 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50792 ac_prev=srcdir ;;
50793 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50794 ;;
50795 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50796 ac_prev=prefix ;;
50797 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50798 ;;
50799 *)
50800 case $ac_arg in
50801 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50802 esac
50803 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50804 esac
50805 done
50806
50807 # Always prepend --prefix to ensure using the same prefix
50808 # in subdir configurations.
50809 ac_arg="--prefix=$prefix"
50810 case $ac_arg in
50811 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50812 esac
50813 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50814
50815 # Pass --silent
50816 if test "$silent" = yes; then
50817 ac_sub_configure_args="--silent $ac_sub_configure_args"
50818 fi
50819
50820 ac_popdir=`pwd`
50821 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50822
50823 # Do not complain, so a configure script can configure whichever
50824 # parts of a large source tree are present.
50825 test -d "$srcdir/$ac_dir" || continue
50826
50827 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50828 echo "$as_me:$LINENO: $ac_msg" >&5
50829 echo "$ac_msg" >&6
50830 { as_dir="$ac_dir"
50831 case $as_dir in #(
50832 -*) as_dir=./$as_dir;;
50833 esac
50834 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50835 as_dirs=
50836 while :; do
50837 case $as_dir in #(
50838 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50839 *) as_qdir=$as_dir;;
50840 esac
50841 as_dirs="'$as_qdir' $as_dirs"
50842 as_dir=`$as_dirname -- "$as_dir" ||
50843 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50844 X"$as_dir" : 'X\(//\)[^/]' \| \
50845 X"$as_dir" : 'X\(//\)$' \| \
50846 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50847 echo X"$as_dir" |
50848 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50849 s//\1/
50850 q
50851 }
50852 /^X\(\/\/\)[^/].*/{
50853 s//\1/
50854 q
50855 }
50856 /^X\(\/\/\)$/{
50857 s//\1/
50858 q
50859 }
50860 /^X\(\/\).*/{
50861 s//\1/
50862 q
50863 }
50864 s/.*/./; q'`
50865 test -d "$as_dir" && break
50866 done
50867 test -z "$as_dirs" || eval "mkdir $as_dirs"
50868 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50869 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50870 { (exit 1); exit 1; }; }; }
50871 ac_builddir=.
50872
50873 case "$ac_dir" in
50874 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50875 *)
50876 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50877 # A ".." for each directory in $ac_dir_suffix.
50878 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50879 case $ac_top_builddir_sub in
50880 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50881 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50882 esac ;;
50883 esac
50884 ac_abs_top_builddir=$ac_pwd
50885 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50886 # for backward compatibility:
50887 ac_top_builddir=$ac_top_build_prefix
50888
50889 case $srcdir in
50890 .) # We are building in place.
50891 ac_srcdir=.
50892 ac_top_srcdir=$ac_top_builddir_sub
50893 ac_abs_top_srcdir=$ac_pwd ;;
50894 [\\/]* | ?:[\\/]* ) # Absolute name.
50895 ac_srcdir=$srcdir$ac_dir_suffix;
50896 ac_top_srcdir=$srcdir
50897 ac_abs_top_srcdir=$srcdir ;;
50898 *) # Relative name.
50899 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50900 ac_top_srcdir=$ac_top_build_prefix$srcdir
50901 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50902 esac
50903 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50904
50905
50906 cd "$ac_dir"
50907
50908 # Check for guested configure; otherwise get Cygnus style configure.
50909 if test -f "$ac_srcdir/configure.gnu"; then
50910 ac_sub_configure=$ac_srcdir/configure.gnu
50911 elif test -f "$ac_srcdir/configure"; then
50912 ac_sub_configure=$ac_srcdir/configure
50913 elif test -f "$ac_srcdir/configure.in"; then
50914 # This should be Cygnus configure.
50915 ac_sub_configure=$ac_aux_dir/configure
50916 else
50917 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50918 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50919 ac_sub_configure=
50920 fi
50921
50922 # The recursion is here.
50923 if test -n "$ac_sub_configure"; then
50924 # Make the cache file name correct relative to the subdirectory.
50925 case $cache_file in
50926 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50927 *) # Relative name.
50928 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50929 esac
50930
50931 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50932 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50933 # The eval makes quoting arguments work.
50934 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50935 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50936 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50937 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50938 { (exit 1); exit 1; }; }
50939 fi
50940
50941 cd "$ac_popdir"
50942 done
50943 fi
50944
50945
50946 echo
50947 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50948 echo ""
50949 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50950 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50951
50952 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50953 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50954 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50955
50956 echo " What level of wxWidgets compatibility should be enabled?"
50957 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50958 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50959
50960 echo " Which libraries should wxWidgets use?"
50961 echo " jpeg ${wxUSE_LIBJPEG-none}"
50962 echo " png ${wxUSE_LIBPNG-none}"
50963 echo " regex ${wxUSE_REGEX}"
50964 echo " tiff ${wxUSE_LIBTIFF-none}"
50965 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50966 echo " xpm ${wxUSE_LIBXPM-none}"
50967 fi
50968 echo " zlib ${wxUSE_ZLIB}"
50969 echo " odbc ${wxUSE_ODBC}"
50970 echo " expat ${wxUSE_EXPAT}"
50971 echo " libmspack ${wxUSE_LIBMSPACK}"
50972 echo " sdl ${wxUSE_LIBSDL}"
50973
50974 echo ""
50975