]> git.saurik.com Git - wxWidgets.git/blob - configure
Children need to be updated in size_allocate even if widget is not realized.
[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 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 EXTRALIBS
744 EXTRALIBS_XML
745 EXTRALIBS_HTML
746 EXTRALIBS_ODBC
747 EXTRALIBS_GUI
748 EXTRALIBS_OPENGL
749 EXTRALIBS_SDL
750 WITH_PLUGIN_SDL
751 EXTRALIBS_GNOMEPRINT
752 EXTRALIBS_GNOMEVFS
753 EXTRALIBS_HILDON
754 UNICODE
755 BUILD
756 DEBUG_INFO
757 DEBUG_FLAG
758 TOOLKIT_LOWERCASE
759 TOOLKIT_VERSION
760 SAMPLES_RPATH_FLAG
761 SAMPLES_RPATH_POSTLINK
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 PLATFORM_UNIX
772 PLATFORM_WIN32
773 PLATFORM_MSDOS
774 PLATFORM_MAC
775 PLATFORM_MACOS
776 PLATFORM_MACOSX
777 PLATFORM_OS2
778 PLATFORM_BEOS
779 SO_SUFFIX
780 SO_SUFFIX_MODULE
781 DLLIMP_SUFFIX
782 LIBPREFIX
783 LIBEXT
784 DLLPREFIX
785 DLLPREFIX_MODULE
786 dlldir
787 AIX_CXX_LD
788 SHARED_LD_CC
789 SHARED_LD_CXX
790 SHARED_LD_MODULE_CC
791 SHARED_LD_MODULE_CXX
792 PIC_FLAG
793 WINDOWS_IMPLIB
794 USE_SOVERSION
795 USE_SOVERLINUX
796 USE_SOVERSOLARIS
797 USE_SOVERCYGWIN
798 USE_MACVERSION
799 USE_SOSYMLINKS
800 SONAME_FLAG
801 DEPS_TRACKING
802 BK_DEPS
803 GCC_PCH
804 ICC_PCH
805 BK_MAKE_PCH
806 COND_BUILD_DEBUG
807 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
808 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
809 COND_BUILD_DEBUG_UNICODE_0
810 COND_BUILD_DEBUG_UNICODE_1
811 COND_BUILD_RELEASE
812 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
813 COND_BUILD_RELEASE_UNICODE_0
814 COND_BUILD_RELEASE_UNICODE_1
815 COND_DEBUG_FLAG_1
816 COND_DEBUG_INFO_0
817 COND_DEBUG_INFO_1
818 COND_DEPS_TRACKING_0
819 COND_DEPS_TRACKING_1
820 COND_GCC_PCH_1
821 COND_ICC_PCH_1
822 COND_MONOLITHIC_0
823 COND_MONOLITHIC_0_SHARED_0
824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_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_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MAC_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_OS2_1
878 COND_PLATFORM_UNIX_0
879 COND_PLATFORM_UNIX_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
886 COND_SHARED_0
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_XRC_1
895 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
896 COND_SHARED_0_WXUSE_ODBC_BUILTIN
897 COND_SHARED_0_WXUSE_REGEX_BUILTIN
898 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
899 COND_SHARED_1
900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
901 COND_SHARED_1_USE_XRC_1
902 COND_TOOLKIT_
903 COND_TOOLKIT_COCOA
904 COND_TOOLKIT_COCOA_USE_GUI_1
905 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
906 COND_TOOLKIT_DFB
907 COND_TOOLKIT_DFB_USE_GUI_1
908 COND_TOOLKIT_GTK
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_USE_GUI_1
916 COND_TOOLKIT_MAC
917 COND_TOOLKIT_MAC_USE_GUI_1
918 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
919 COND_TOOLKIT_MGL
920 COND_TOOLKIT_MGL_USE_GUI_1
921 COND_TOOLKIT_MOTIF
922 COND_TOOLKIT_MOTIF_USE_GUI_1
923 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
924 COND_TOOLKIT_MSW
925 COND_TOOLKIT_MSW_USE_GUI_1
926 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
927 COND_TOOLKIT_MSW_WXUNIV_0
928 COND_TOOLKIT_PM
929 COND_TOOLKIT_PM_USE_GUI_1
930 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
931 COND_TOOLKIT_WINCE
932 COND_TOOLKIT_WINCE_USE_GUI_1
933 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
934 COND_TOOLKIT_WINCE_WXUNIV_0
935 COND_TOOLKIT_X11
936 COND_TOOLKIT_X11_USE_GUI_1
937 COND_UNICODE_1
938 COND_USE_EXCEPTIONS_0
939 COND_USE_EXCEPTIONS_1
940 COND_USE_GUI_0
941 COND_USE_GUI_1
942 COND_USE_GUI_1_WXUNIV_0
943 COND_USE_GUI_1_WXUNIV_1
944 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
947 COND_USE_ODBC_1
948 COND_USE_OPENGL_1
949 COND_USE_PCH_1
950 COND_USE_PLUGINS_0
951 COND_USE_RTTI_0
952 COND_USE_RTTI_1
953 COND_USE_SOSYMLINKS_1
954 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
955 COND_USE_SOVERLINUX_1
956 COND_USE_SOVERSION_0
957 COND_USE_SOVERSOLARIS_1
958 COND_USE_THREADS_0
959 COND_USE_THREADS_1
960 COND_USE_XRC_1
961 COND_WINDOWS_IMPLIB_1
962 COND_WITH_PLUGIN_SDL_1
963 COND_WXUNIV_0
964 COND_WXUNIV_1
965 COND_WXUSE_EXPAT_BUILTIN
966 COND_WXUSE_LIBJPEG_BUILTIN
967 COND_WXUSE_LIBPNG_BUILTIN
968 COND_WXUSE_LIBTIFF_BUILTIN
969 COND_WXUSE_ODBC_BUILTIN
970 COND_WXUSE_REGEX_BUILTIN
971 COND_WXUSE_ZLIB_BUILTIN
972 SHARED
973 WX_LIBRARY_BASENAME_NOGUI
974 WX_LIBRARY_BASENAME_GUI
975 USE_GUI
976 AFMINSTALL
977 WIN32INSTALL
978 TOOLKIT
979 TOOLKIT_DIR
980 TOOLCHAIN_NAME
981 TOOLCHAIN_FULLNAME
982 cross_compiling
983 WIDGET_SET
984 WX_RELEASE
985 WX_VERSION
986 WX_SUBVERSION
987 WX_CHARTYPE
988 WX_DEBUGTYPE
989 WXCONFIG_CPPFLAGS
990 WXCONFIG_CFLAGS
991 WXCONFIG_CXXFLAGS
992 WXCONFIG_LIBS
993 WXCONFIG_RPATH
994 WXCONFIG_LDFLAGS_GUI
995 WXCONFIG_RESFLAGS
996 EXE_LINKER
997 GUIDIST
998 DISTDIR
999 SAMPLES_SUBDIRS
1000 LDFLAGS_GL
1001 OPENGL_LIBS
1002 DMALLOC_LIBS
1003 WX_VERSION_TAG
1004 RESCOMP
1005 RESFLAGS
1006 RESPROGRAMOBJ
1007 WX_RESOURCES_MACOSX_ASCII
1008 WX_RESOURCES_MACOSX_DATA
1009 LIBWXMACRES
1010 POSTLINK_COMMAND
1011 MACSETFILE
1012 GCC
1013 CPPUNIT_CONFIG
1014 LIBOBJS
1015 LTLIBOBJS'
1016 ac_subst_files=''
1017 ac_precious_vars='build_alias
1018 host_alias
1019 target_alias
1020 CC
1021 CFLAGS
1022 LDFLAGS
1023 LIBS
1024 CPPFLAGS
1025 CPP
1026 CXX
1027 CXXFLAGS
1028 CCC
1029 PKG_CONFIG
1030 DIRECTFB_CFLAGS
1031 DIRECTFB_LIBS
1032 XMKMF
1033 PANGOX_CFLAGS
1034 PANGOX_LIBS
1035 PANGOFT2_CFLAGS
1036 PANGOFT2_LIBS
1037 PANGOXFT_CFLAGS
1038 PANGOXFT_LIBS
1039 LIBGNOMEPRINTUI_CFLAGS
1040 LIBGNOMEPRINTUI_LIBS
1041 GNOMEVFS_CFLAGS
1042 GNOMEVFS_LIBS
1043 HILDON_CFLAGS
1044 HILDON_LIBS
1045 CAIRO_CFLAGS
1046 CAIRO_LIBS
1047 GST_CFLAGS
1048 GST_LIBS'
1049 ac_subdirs_all='src/expat'
1050
1051 # Initialize some variables set by options.
1052 ac_init_help=
1053 ac_init_version=false
1054 # The variables have the same names as the options, with
1055 # dashes changed to underlines.
1056 cache_file=/dev/null
1057 exec_prefix=NONE
1058 no_create=
1059 no_recursion=
1060 prefix=NONE
1061 program_prefix=NONE
1062 program_suffix=NONE
1063 program_transform_name=s,x,x,
1064 silent=
1065 site=
1066 srcdir=
1067 verbose=
1068 x_includes=NONE
1069 x_libraries=NONE
1070
1071 # Installation directory options.
1072 # These are left unexpanded so users can "make install exec_prefix=/foo"
1073 # and all the variables that are supposed to be based on exec_prefix
1074 # by default will actually change.
1075 # Use braces instead of parens because sh, perl, etc. also accept them.
1076 # (The list follows the same order as the GNU Coding Standards.)
1077 bindir='${exec_prefix}/bin'
1078 sbindir='${exec_prefix}/sbin'
1079 libexecdir='${exec_prefix}/libexec'
1080 datarootdir='${prefix}/share'
1081 datadir='${datarootdir}'
1082 sysconfdir='${prefix}/etc'
1083 sharedstatedir='${prefix}/com'
1084 localstatedir='${prefix}/var'
1085 includedir='${prefix}/include'
1086 oldincludedir='/usr/include'
1087 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1088 infodir='${datarootdir}/info'
1089 htmldir='${docdir}'
1090 dvidir='${docdir}'
1091 pdfdir='${docdir}'
1092 psdir='${docdir}'
1093 libdir='${exec_prefix}/lib'
1094 localedir='${datarootdir}/locale'
1095 mandir='${datarootdir}/man'
1096
1097 ac_prev=
1098 ac_dashdash=
1099 for ac_option
1100 do
1101 # If the previous option needs an argument, assign it.
1102 if test -n "$ac_prev"; then
1103 eval $ac_prev=\$ac_option
1104 ac_prev=
1105 continue
1106 fi
1107
1108 case $ac_option in
1109 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1110 *) ac_optarg=yes ;;
1111 esac
1112
1113 # Accept the important Cygnus configure options, so we can diagnose typos.
1114
1115 case $ac_dashdash$ac_option in
1116 --)
1117 ac_dashdash=yes ;;
1118
1119 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1120 ac_prev=bindir ;;
1121 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1122 bindir=$ac_optarg ;;
1123
1124 -build | --build | --buil | --bui | --bu)
1125 ac_prev=build_alias ;;
1126 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1127 build_alias=$ac_optarg ;;
1128
1129 -cache-file | --cache-file | --cache-fil | --cache-fi \
1130 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1131 ac_prev=cache_file ;;
1132 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1133 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1134 cache_file=$ac_optarg ;;
1135
1136 --config-cache | -C)
1137 cache_file=config.cache ;;
1138
1139 -datadir | --datadir | --datadi | --datad)
1140 ac_prev=datadir ;;
1141 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1142 datadir=$ac_optarg ;;
1143
1144 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1145 | --dataroo | --dataro | --datar)
1146 ac_prev=datarootdir ;;
1147 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1148 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1149 datarootdir=$ac_optarg ;;
1150
1151 -disable-* | --disable-*)
1152 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1156 { (exit 1); exit 1; }; }
1157 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1158 eval enable_$ac_feature=no ;;
1159
1160 -docdir | --docdir | --docdi | --doc | --do)
1161 ac_prev=docdir ;;
1162 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1163 docdir=$ac_optarg ;;
1164
1165 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1166 ac_prev=dvidir ;;
1167 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1168 dvidir=$ac_optarg ;;
1169
1170 -enable-* | --enable-*)
1171 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1177 eval enable_$ac_feature=\$ac_optarg ;;
1178
1179 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1180 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1181 | --exec | --exe | --ex)
1182 ac_prev=exec_prefix ;;
1183 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1184 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1185 | --exec=* | --exe=* | --ex=*)
1186 exec_prefix=$ac_optarg ;;
1187
1188 -gas | --gas | --ga | --g)
1189 # Obsolete; use --with-gas.
1190 with_gas=yes ;;
1191
1192 -help | --help | --hel | --he | -h)
1193 ac_init_help=long ;;
1194 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1195 ac_init_help=recursive ;;
1196 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1197 ac_init_help=short ;;
1198
1199 -host | --host | --hos | --ho)
1200 ac_prev=host_alias ;;
1201 -host=* | --host=* | --hos=* | --ho=*)
1202 host_alias=$ac_optarg ;;
1203
1204 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1205 ac_prev=htmldir ;;
1206 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1207 | --ht=*)
1208 htmldir=$ac_optarg ;;
1209
1210 -includedir | --includedir | --includedi | --included | --include \
1211 | --includ | --inclu | --incl | --inc)
1212 ac_prev=includedir ;;
1213 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1214 | --includ=* | --inclu=* | --incl=* | --inc=*)
1215 includedir=$ac_optarg ;;
1216
1217 -infodir | --infodir | --infodi | --infod | --info | --inf)
1218 ac_prev=infodir ;;
1219 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1220 infodir=$ac_optarg ;;
1221
1222 -libdir | --libdir | --libdi | --libd)
1223 ac_prev=libdir ;;
1224 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1225 libdir=$ac_optarg ;;
1226
1227 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1228 | --libexe | --libex | --libe)
1229 ac_prev=libexecdir ;;
1230 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1231 | --libexe=* | --libex=* | --libe=*)
1232 libexecdir=$ac_optarg ;;
1233
1234 -localedir | --localedir | --localedi | --localed | --locale)
1235 ac_prev=localedir ;;
1236 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1237 localedir=$ac_optarg ;;
1238
1239 -localstatedir | --localstatedir | --localstatedi | --localstated \
1240 | --localstate | --localstat | --localsta | --localst | --locals)
1241 ac_prev=localstatedir ;;
1242 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1243 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1244 localstatedir=$ac_optarg ;;
1245
1246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1247 ac_prev=mandir ;;
1248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1249 mandir=$ac_optarg ;;
1250
1251 -nfp | --nfp | --nf)
1252 # Obsolete; use --without-fp.
1253 with_fp=no ;;
1254
1255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1256 | --no-cr | --no-c | -n)
1257 no_create=yes ;;
1258
1259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1261 no_recursion=yes ;;
1262
1263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1265 | --oldin | --oldi | --old | --ol | --o)
1266 ac_prev=oldincludedir ;;
1267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1270 oldincludedir=$ac_optarg ;;
1271
1272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1273 ac_prev=prefix ;;
1274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1275 prefix=$ac_optarg ;;
1276
1277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1278 | --program-pre | --program-pr | --program-p)
1279 ac_prev=program_prefix ;;
1280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1282 program_prefix=$ac_optarg ;;
1283
1284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1285 | --program-suf | --program-su | --program-s)
1286 ac_prev=program_suffix ;;
1287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1289 program_suffix=$ac_optarg ;;
1290
1291 -program-transform-name | --program-transform-name \
1292 | --program-transform-nam | --program-transform-na \
1293 | --program-transform-n | --program-transform- \
1294 | --program-transform | --program-transfor \
1295 | --program-transfo | --program-transf \
1296 | --program-trans | --program-tran \
1297 | --progr-tra | --program-tr | --program-t)
1298 ac_prev=program_transform_name ;;
1299 -program-transform-name=* | --program-transform-name=* \
1300 | --program-transform-nam=* | --program-transform-na=* \
1301 | --program-transform-n=* | --program-transform-=* \
1302 | --program-transform=* | --program-transfor=* \
1303 | --program-transfo=* | --program-transf=* \
1304 | --program-trans=* | --program-tran=* \
1305 | --progr-tra=* | --program-tr=* | --program-t=*)
1306 program_transform_name=$ac_optarg ;;
1307
1308 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1309 ac_prev=pdfdir ;;
1310 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1311 pdfdir=$ac_optarg ;;
1312
1313 -psdir | --psdir | --psdi | --psd | --ps)
1314 ac_prev=psdir ;;
1315 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1316 psdir=$ac_optarg ;;
1317
1318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1319 | -silent | --silent | --silen | --sile | --sil)
1320 silent=yes ;;
1321
1322 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1323 ac_prev=sbindir ;;
1324 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1325 | --sbi=* | --sb=*)
1326 sbindir=$ac_optarg ;;
1327
1328 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1329 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1330 | --sharedst | --shareds | --shared | --share | --shar \
1331 | --sha | --sh)
1332 ac_prev=sharedstatedir ;;
1333 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1334 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1335 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1336 | --sha=* | --sh=*)
1337 sharedstatedir=$ac_optarg ;;
1338
1339 -site | --site | --sit)
1340 ac_prev=site ;;
1341 -site=* | --site=* | --sit=*)
1342 site=$ac_optarg ;;
1343
1344 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1345 ac_prev=srcdir ;;
1346 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1347 srcdir=$ac_optarg ;;
1348
1349 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1350 | --syscon | --sysco | --sysc | --sys | --sy)
1351 ac_prev=sysconfdir ;;
1352 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1353 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1354 sysconfdir=$ac_optarg ;;
1355
1356 -target | --target | --targe | --targ | --tar | --ta | --t)
1357 ac_prev=target_alias ;;
1358 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1359 target_alias=$ac_optarg ;;
1360
1361 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1362 verbose=yes ;;
1363
1364 -version | --version | --versio | --versi | --vers | -V)
1365 ac_init_version=: ;;
1366
1367 -with-* | --with-*)
1368 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1369 # Reject names that are not valid shell variable names.
1370 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1371 { echo "$as_me: error: invalid package name: $ac_package" >&2
1372 { (exit 1); exit 1; }; }
1373 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1374 eval with_$ac_package=\$ac_optarg ;;
1375
1376 -without-* | --without-*)
1377 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1378 # Reject names that are not valid shell variable names.
1379 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1380 { echo "$as_me: error: invalid package name: $ac_package" >&2
1381 { (exit 1); exit 1; }; }
1382 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1383 eval with_$ac_package=no ;;
1384
1385 --x)
1386 # Obsolete; use --with-x.
1387 with_x=yes ;;
1388
1389 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1390 | --x-incl | --x-inc | --x-in | --x-i)
1391 ac_prev=x_includes ;;
1392 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1393 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1394 x_includes=$ac_optarg ;;
1395
1396 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1397 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1398 ac_prev=x_libraries ;;
1399 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1400 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1401 x_libraries=$ac_optarg ;;
1402
1403 -*) { echo "$as_me: error: unrecognized option: $ac_option
1404 Try \`$0 --help' for more information." >&2
1405 { (exit 1); exit 1; }; }
1406 ;;
1407
1408 *=*)
1409 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1410 # Reject names that are not valid shell variable names.
1411 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1412 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1413 { (exit 1); exit 1; }; }
1414 eval $ac_envvar=\$ac_optarg
1415 export $ac_envvar ;;
1416
1417 *)
1418 # FIXME: should be removed in autoconf 3.0.
1419 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1420 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1421 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1422 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1423 ;;
1424
1425 esac
1426 done
1427
1428 if test -n "$ac_prev"; then
1429 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1430 { echo "$as_me: error: missing argument to $ac_option" >&2
1431 { (exit 1); exit 1; }; }
1432 fi
1433
1434 # Be sure to have absolute directory names.
1435 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1436 datadir sysconfdir sharedstatedir localstatedir includedir \
1437 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1438 libdir localedir mandir
1439 do
1440 eval ac_val=\$$ac_var
1441 case $ac_val in
1442 [\\/$]* | ?:[\\/]* ) continue;;
1443 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1444 esac
1445 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1446 { (exit 1); exit 1; }; }
1447 done
1448
1449 # There might be people who depend on the old broken behavior: `$host'
1450 # used to hold the argument of --host etc.
1451 # FIXME: To remove some day.
1452 build=$build_alias
1453 host=$host_alias
1454 target=$target_alias
1455
1456 # FIXME: To remove some day.
1457 if test "x$host_alias" != x; then
1458 if test "x$build_alias" = x; then
1459 cross_compiling=maybe
1460 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1461 If a cross compiler is detected then cross compile mode will be used." >&2
1462 elif test "x$build_alias" != "x$host_alias"; then
1463 cross_compiling=yes
1464 fi
1465 fi
1466
1467 ac_tool_prefix=
1468 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1469
1470 test "$silent" = yes && exec 6>/dev/null
1471
1472
1473 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1474 ac_ls_di=`ls -di .` &&
1475 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1476 { echo "$as_me: error: Working directory cannot be determined" >&2
1477 { (exit 1); exit 1; }; }
1478 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1479 { echo "$as_me: error: pwd does not report name of working directory" >&2
1480 { (exit 1); exit 1; }; }
1481
1482
1483 # Find the source files, if location was not specified.
1484 if test -z "$srcdir"; then
1485 ac_srcdir_defaulted=yes
1486 # Try the directory containing this script, then the parent directory.
1487 ac_confdir=`$as_dirname -- "$0" ||
1488 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1489 X"$0" : 'X\(//\)[^/]' \| \
1490 X"$0" : 'X\(//\)$' \| \
1491 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1492 echo X"$0" |
1493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1494 s//\1/
1495 q
1496 }
1497 /^X\(\/\/\)[^/].*/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)$/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\).*/{
1506 s//\1/
1507 q
1508 }
1509 s/.*/./; q'`
1510 srcdir=$ac_confdir
1511 if test ! -r "$srcdir/$ac_unique_file"; then
1512 srcdir=..
1513 fi
1514 else
1515 ac_srcdir_defaulted=no
1516 fi
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1519 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1520 { (exit 1); exit 1; }; }
1521 fi
1522 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1523 ac_abs_confdir=`(
1524 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1525 { (exit 1); exit 1; }; }
1526 pwd)`
1527 # When building in place, set srcdir=.
1528 if test "$ac_abs_confdir" = "$ac_pwd"; then
1529 srcdir=.
1530 fi
1531 # Remove unnecessary trailing slashes from srcdir.
1532 # Double slashes in file names in object file debugging info
1533 # mess up M-x gdb in Emacs.
1534 case $srcdir in
1535 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1536 esac
1537 for ac_var in $ac_precious_vars; do
1538 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1539 eval ac_env_${ac_var}_value=\$${ac_var}
1540 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1541 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1542 done
1543
1544 #
1545 # Report the --help message.
1546 #
1547 if test "$ac_init_help" = "long"; then
1548 # Omit some internal or obsolete options to make the list less imposing.
1549 # This message is too long to be a string in the A/UX 3.1 sh.
1550 cat <<_ACEOF
1551 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1552
1553 Usage: $0 [OPTION]... [VAR=VALUE]...
1554
1555 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1556 VAR=VALUE. See below for descriptions of some of the useful variables.
1557
1558 Defaults for the options are specified in brackets.
1559
1560 Configuration:
1561 -h, --help display this help and exit
1562 --help=short display options specific to this package
1563 --help=recursive display the short help of all the included packages
1564 -V, --version display version information and exit
1565 -q, --quiet, --silent do not print \`checking...' messages
1566 --cache-file=FILE cache test results in FILE [disabled]
1567 -C, --config-cache alias for \`--cache-file=config.cache'
1568 -n, --no-create do not create output files
1569 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1570
1571 Installation directories:
1572 --prefix=PREFIX install architecture-independent files in PREFIX
1573 [$ac_default_prefix]
1574 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1575 [PREFIX]
1576
1577 By default, \`make install' will install all the files in
1578 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1579 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1580 for instance \`--prefix=\$HOME'.
1581
1582 For better control, use the options below.
1583
1584 Fine tuning of the installation directories:
1585 --bindir=DIR user executables [EPREFIX/bin]
1586 --sbindir=DIR system admin executables [EPREFIX/sbin]
1587 --libexecdir=DIR program executables [EPREFIX/libexec]
1588 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1589 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1590 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1591 --libdir=DIR object code libraries [EPREFIX/lib]
1592 --includedir=DIR C header files [PREFIX/include]
1593 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1594 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1595 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1596 --infodir=DIR info documentation [DATAROOTDIR/info]
1597 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1598 --mandir=DIR man documentation [DATAROOTDIR/man]
1599 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1600 --htmldir=DIR html documentation [DOCDIR]
1601 --dvidir=DIR dvi documentation [DOCDIR]
1602 --pdfdir=DIR pdf documentation [DOCDIR]
1603 --psdir=DIR ps documentation [DOCDIR]
1604 _ACEOF
1605
1606 cat <<\_ACEOF
1607
1608 X features:
1609 --x-includes=DIR X include files are in DIR
1610 --x-libraries=DIR X library files are in DIR
1611
1612 System types:
1613 --build=BUILD configure for building on BUILD [guessed]
1614 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1615 --target=TARGET configure for building compilers for TARGET [HOST]
1616 _ACEOF
1617 fi
1618
1619 if test -n "$ac_init_help"; then
1620 case $ac_init_help in
1621 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1622 esac
1623 cat <<\_ACEOF
1624
1625 Optional Features:
1626 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1627 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1628 --enable-gui use GUI classes
1629 --enable-monolithic build wxWidgets as single library
1630 --enable-plugins build parts of wxWidgets as loadable components
1631 --enable-universal use wxWidgets GUI controls instead of native ones
1632 --enable-nanox use NanoX
1633 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1634 --enable-gpe use GNOME PDA Environment features if possible
1635 --enable-shared create shared library code
1636 --enable-optimise create optimised code
1637 --enable-debug same as debug_flag and debug_info
1638 --enable-stl use STL for containers
1639 --enable-omf use OMF object format
1640 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1641 --enable-debug_info create code with debugging information
1642 --enable-debug_gdb create code with extra GDB debugging information
1643 --enable-debug_cntxt use wxDebugContext
1644 --enable-mem_tracing create code with memory tracing
1645 --enable-profile create code with profiling information
1646 --enable-no_rtti create code without RTTI information
1647 --enable-no_exceptions create code without C++ exceptions handling
1648 --enable-permissive compile code disregarding strict ANSI
1649 --enable-no_deps create code without dependency information
1650 --disable-vararg_macros don't use vararg macros, even if they are supported
1651 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1652 --enable-compat26 enable wxWidgets 2.6 compatibility
1653 --disable-compat28 disable wxWidgets 2.8 compatibility
1654 --disable-rpath disable use of rpath for uninstalled builds
1655 --enable-intl use internationalization system
1656 --enable-config use wxConfig (and derived) classes
1657 --enable-protocols use wxProtocol and derived classes
1658 --enable-ftp use wxFTP (requires wxProtocol
1659 --enable-http use wxHTTP (requires wxProtocol
1660 --enable-fileproto use wxFileProto class (requires wxProtocol
1661 --enable-sockets use socket/network classes
1662 --enable-ole use OLE classes (Win32 only)
1663 --enable-dataobj use data object classes
1664 --enable-ipc use interprocess communication (wxSocket etc.)
1665 --enable-apple_ieee use the Apple IEEE codec
1666 --enable-arcstream use wxArchive streams
1667 --enable-backtrace use wxStackWalker class for getting backtraces
1668 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1669 --enable-cmdline use wxCmdLineParser class
1670 --enable-datetime use wxDateTime class
1671 --enable-debugreport use wxDebugReport class
1672 --enable-dialupman use dialup network classes
1673 --enable-dynlib use wxLibrary class for DLL loading
1674 --enable-dynamicloader use (new) wxDynamicLibrary class
1675 --enable-exceptions build exception-safe library
1676 --enable-ffile use wxFFile class
1677 --enable-file use wxFile class
1678 --enable-filesystem use virtual file systems classes
1679 --enable-fontmap use font encodings conversion classes
1680 --enable-fs_archive use virtual archive filesystems
1681 --enable-fs_inet use virtual HTTP/FTP filesystems
1682 --enable-fs_zip now replaced by fs_archive
1683 --enable-geometry use geometry class
1684 --enable-log use logging system
1685 --enable-longlong use wxLongLong class
1686 --enable-mimetype use wxMimeTypesManager
1687 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1688 --enable-snglinst use wxSingleInstanceChecker class
1689 --enable-std_iostreams use standard C++ stream classes
1690 --enable-std_string use standard C++ string classes
1691 --enable-stdpaths use wxStandardPaths class
1692 --enable-stopwatch use wxStopWatch class
1693 --enable-streams use wxStream etc classes
1694 --enable-sysoptions use wxSystemOptions
1695 --enable-tarstream use wxTar streams
1696 --enable-textbuf use wxTextBuffer class
1697 --enable-textfile use wxTextFile class
1698 --enable-timer use wxTimer class
1699 --enable-unicode compile wxString with Unicode support
1700 --enable-sound use wxSound class
1701 --enable-mediactrl use wxMediaCtrl class
1702 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1703 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1704 --enable-zipstream use wxZip streams
1705 --enable-url use wxURL class
1706 --enable-variant use wxVariant class
1707 --enable-protocol use wxProtocol class
1708 --enable-protocol-http HTTP support in wxProtocol
1709 --enable-protocol-ftp FTP support in wxProtocol
1710 --enable-protocol-file FILE support in wxProtocol
1711 --enable-threads use threads
1712 --enable-docview use document view architecture
1713 --enable-help use help subsystem
1714 --enable-mshtmlhelp use MS HTML Help (win32)
1715 --enable-html use wxHTML sub-library
1716 --enable-htmlhelp use wxHTML-based help
1717 --enable-xrc use XRC resources sub-library
1718 --enable-aui use AUI docking library
1719 --enable-stc use wxStyledTextCtrl library
1720 --enable-constraints use layout-constraints system
1721 --enable-printarch use printing architecture
1722 --enable-mdi use multiple document interface architecture
1723 --enable-mdidoc use docview architecture with MDI
1724 --enable-loggui use standard GUI logger
1725 --enable-logwin use wxLogWindow
1726 --enable-logdialog use wxLogDialog
1727 --enable-webkit use wxWebKitCtrl (Mac)
1728 --enable-richtext use wxRichTextCtrl
1729 --enable-graphics_ctx use graphics context 2D drawing API
1730 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1731 --enable-clipboard use wxClipboard class
1732 --enable-dnd use Drag'n'Drop classes
1733 --enable-metafile use win32 metafiles
1734 --enable-controls use all usual controls
1735 --enable-accel use accelerators
1736 --enable-animatectrl use wxAnimationCtrl class
1737 --enable-button use wxButton class
1738 --enable-bmpbutton use wxBitmapButton class
1739 --enable-bmpcombobox use wxBitmapComboBox class
1740 --enable-calendar use wxCalendarCtrl class
1741 --enable-caret use wxCaret class
1742 --enable-checkbox use wxCheckBox class
1743 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1744 --enable-choice use wxChoice class
1745 --enable-choicebook use wxChoicebook class
1746 --enable-collpane use wxCollapsiblePane class
1747 --enable-colourpicker use wxColourPickerCtrl class
1748 --enable-combobox use wxComboBox class
1749 --enable-comboctrl use wxComboCtrl class
1750 --enable-datepick use wxDatePickerCtrl class
1751 --enable-dirpicker use wxDirPickerCtrl class
1752 --enable-display use wxDisplay class
1753 --enable-detect_sm use code to detect X11 session manager
1754 --enable-filepicker use wxFilePickerCtrl class
1755 --enable-fontpicker use wxFontPickerCtrl class
1756 --enable-gauge use wxGauge class
1757 --enable-grid use wxGrid class
1758 --enable-dataviewctrl use wxDataViewCtrl class
1759 --enable-hyperlink use wxHyperlinkCtrl class
1760 --enable-imaglist use wxImageList class
1761 --enable-listbook use wxListbook class
1762 --enable-listbox use wxListBox class
1763 --enable-listctrl use wxListCtrl class
1764 --enable-notebook use wxNotebook class
1765 --enable-odcombobox use wxOwnerDrawnComboBox class
1766 --enable-radiobox use wxRadioBox class
1767 --enable-radiobtn use wxRadioButton class
1768 --enable-sash use wxSashWindow class
1769 --enable-scrollbar use wxScrollBar class and scrollable windows
1770 --enable-searchctrl use wxSearchCtrl class
1771 --enable-slider use wxSlider class
1772 --enable-spinbtn use wxSpinButton class
1773 --enable-spinctrl use wxSpinCtrl class
1774 --enable-splitter use wxSplitterWindow class
1775 --enable-statbmp use wxStaticBitmap class
1776 --enable-statbox use wxStaticBox class
1777 --enable-statline use wxStaticLine class
1778 --enable-stattext use wxStaticText class
1779 --enable-statusbar use wxStatusBar class
1780 --enable-tabdialog use wxTabControl class
1781 --enable-textctrl use wxTextCtrl class
1782 --enable-togglebtn use wxToggleButton class
1783 --enable-toolbar use wxToolBar class
1784 --enable-tbarnative use native wxToolBar class
1785 --enable-treebook use wxTreebook class
1786 --enable-toolbook use wxToolbook class
1787 --enable-treectrl use wxTreeCtrl class
1788 --enable-tipwindow use wxTipWindow class
1789 --enable-popupwin use wxPopUpWindow class
1790 --enable-commondlg use all common dialogs
1791 --enable-aboutdlg use wxAboutBox
1792 --enable-choicedlg use wxChoiceDialog
1793 --enable-coldlg use wxColourDialog
1794 --enable-filedlg use wxFileDialog
1795 --enable-finddlg use wxFindReplaceDialog
1796 --enable-fontdlg use wxFontDialog
1797 --enable-dirdlg use wxDirDialog
1798 --enable-msgdlg use wxMessageDialog
1799 --enable-numberdlg use wxNumberEntryDialog
1800 --enable-splash use wxSplashScreen
1801 --enable-textdlg use wxTextDialog
1802 --enable-tipdlg use startup tips
1803 --enable-progressdlg use wxProgressDialog
1804 --enable-wizarddlg use wxWizard
1805 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1806 --enable-miniframe use wxMiniFrame class
1807 --enable-tooltips use wxToolTip class
1808 --enable-splines use spline drawing code
1809 --enable-mousewheel use mousewheel
1810 --enable-validators use wxValidator and derived classes
1811 --enable-busyinfo use wxBusyInfo
1812 --enable-joystick use wxJoystick
1813 --enable-metafiles use wxMetaFile (Win32 only)
1814 --enable-dragimage use wxDragImage
1815 --enable-accessibility enable accessibility support
1816 --enable-dccache cache temporary wxDC objects (Win32 only)
1817 --enable-palette use wxPalette class
1818 --enable-image use wxImage class
1819 --enable-gif use gif images (GIF file format)
1820 --enable-pcx use pcx images (PCX file format)
1821 --enable-tga use tga images (TGA file format)
1822 --enable-iff use iff images (IFF file format)
1823 --enable-pnm use pnm images (PNM file format)
1824 --enable-xpm use xpm images (XPM file format)
1825 --enable-icocur use Windows ICO and CUR formats
1826 --enable-official_build official build of wxWidgets (win32 DLL only)
1827 --enable-vendor=VENDOR vendor name (win32 DLL only)
1828 --disable-largefile omit support for large files
1829 --disable-gtktest do not try to compile and run a test GTK+ program
1830 --disable-gtktest Do not try to compile and run a test GTK program
1831 --disable-sdltest Do not try to compile and run a test SDL program
1832 --enable-omf use OMF object format (OS/2)
1833 --disable-dependency-tracking
1834 don't use dependency tracking even if the compiler
1835 can
1836 --disable-precomp-headers
1837 don't use precompiled headers even if compiler can
1838
1839 Optional Packages:
1840 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1841 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1842 --without-subdirs don't generate makefiles for samples/demos/...
1843 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1844 --with-motif use Motif/Lesstif
1845 --with-mac use Mac OS X
1846 --with-cocoa use Cocoa
1847 --with-wine use Wine
1848 --with-msw use MS-Windows
1849 --with-pm use OS/2 Presentation Manager
1850 --with-mgl use SciTech MGL
1851 --with-directfb use DirectFB
1852 --with-microwin use MicroWindows
1853 --with-x11 use X11
1854 --with-libpng use libpng (PNG image format)
1855 --with-libjpeg use libjpeg (JPEG file format)
1856 --with-libtiff use libtiff (TIFF file format)
1857 --with-libxpm use libxpm (XPM file format)
1858 --with-libmspack use libmspack (CHM help files loading)
1859 --with-sdl use SDL for audio on Unix
1860 --with-gnomeprint use GNOME print for printing under GNOME
1861 --with-gnomevfs use GNOME VFS for associating MIME types
1862 --with-hildon use Hildon framework for Nokia 770
1863 --with-opengl use OpenGL (or Mesa)
1864 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1865 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1866 --with-regex enable support for wxRegEx class
1867 --with-zlib use zlib for LZW compression
1868 --with-odbc use the IODBC and wxODBC classes
1869 --with-expat enable XML support using expat parser
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1872 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1873 --with-x use the X Window System
1874 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1875 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1876 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1877 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1878 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1879
1880 Some influential environment variables:
1881 CC C compiler command
1882 CFLAGS C compiler flags
1883 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1884 nonstandard directory <lib dir>
1885 LIBS libraries to pass to the linker, e.g. -l<library>
1886 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1887 you have headers in a nonstandard directory <include dir>
1888 CPP C preprocessor
1889 CXX C++ compiler command
1890 CXXFLAGS C++ compiler flags
1891 PKG_CONFIG path to pkg-config utility
1892 DIRECTFB_CFLAGS
1893 C compiler flags for DIRECTFB, overriding pkg-config
1894 DIRECTFB_LIBS
1895 linker flags for DIRECTFB, overriding pkg-config
1896 XMKMF Path to xmkmf, Makefile generator for X Window System
1897 PANGOX_CFLAGS
1898 C compiler flags for PANGOX, overriding pkg-config
1899 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1900 PANGOFT2_CFLAGS
1901 C compiler flags for PANGOFT2, overriding pkg-config
1902 PANGOFT2_LIBS
1903 linker flags for PANGOFT2, overriding pkg-config
1904 PANGOXFT_CFLAGS
1905 C compiler flags for PANGOXFT, overriding pkg-config
1906 PANGOXFT_LIBS
1907 linker flags for PANGOXFT, overriding pkg-config
1908 LIBGNOMEPRINTUI_CFLAGS
1909 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1910 LIBGNOMEPRINTUI_LIBS
1911 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1912 GNOMEVFS_CFLAGS
1913 C compiler flags for GNOMEVFS, overriding pkg-config
1914 GNOMEVFS_LIBS
1915 linker flags for GNOMEVFS, overriding pkg-config
1916 HILDON_CFLAGS
1917 C compiler flags for HILDON, overriding pkg-config
1918 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1919 CAIRO_CFLAGS
1920 C compiler flags for CAIRO, overriding pkg-config
1921 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1922 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1923 GST_LIBS linker flags for GST, overriding pkg-config
1924
1925 Use these variables to override the choices made by `configure' or to help
1926 it to find libraries and programs with nonstandard names/locations.
1927
1928 Report bugs to <wx-dev@lists.wxwidgets.org>.
1929 _ACEOF
1930 ac_status=$?
1931 fi
1932
1933 if test "$ac_init_help" = "recursive"; then
1934 # If there are subdirs, report their specific --help.
1935 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1936 test -d "$ac_dir" || continue
1937 ac_builddir=.
1938
1939 case "$ac_dir" in
1940 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1941 *)
1942 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1943 # A ".." for each directory in $ac_dir_suffix.
1944 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1945 case $ac_top_builddir_sub in
1946 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1947 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1948 esac ;;
1949 esac
1950 ac_abs_top_builddir=$ac_pwd
1951 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1952 # for backward compatibility:
1953 ac_top_builddir=$ac_top_build_prefix
1954
1955 case $srcdir in
1956 .) # We are building in place.
1957 ac_srcdir=.
1958 ac_top_srcdir=$ac_top_builddir_sub
1959 ac_abs_top_srcdir=$ac_pwd ;;
1960 [\\/]* | ?:[\\/]* ) # Absolute name.
1961 ac_srcdir=$srcdir$ac_dir_suffix;
1962 ac_top_srcdir=$srcdir
1963 ac_abs_top_srcdir=$srcdir ;;
1964 *) # Relative name.
1965 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1966 ac_top_srcdir=$ac_top_build_prefix$srcdir
1967 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1968 esac
1969 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1970
1971 cd "$ac_dir" || { ac_status=$?; continue; }
1972 # Check for guested configure.
1973 if test -f "$ac_srcdir/configure.gnu"; then
1974 echo &&
1975 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1976 elif test -f "$ac_srcdir/configure"; then
1977 echo &&
1978 $SHELL "$ac_srcdir/configure" --help=recursive
1979 else
1980 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1981 fi || ac_status=$?
1982 cd "$ac_pwd" || { ac_status=$?; break; }
1983 done
1984 fi
1985
1986 test -n "$ac_init_help" && exit $ac_status
1987 if $ac_init_version; then
1988 cat <<\_ACEOF
1989 wxWidgets configure 2.9.0
1990 generated by GNU Autoconf 2.61
1991
1992 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1993 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1994 This configure script is free software; the Free Software Foundation
1995 gives unlimited permission to copy, distribute and modify it.
1996 _ACEOF
1997 exit
1998 fi
1999 cat >config.log <<_ACEOF
2000 This file contains any messages produced by compilers while
2001 running configure, to aid debugging if configure makes a mistake.
2002
2003 It was created by wxWidgets $as_me 2.9.0, which was
2004 generated by GNU Autoconf 2.61. Invocation command line was
2005
2006 $ $0 $@
2007
2008 _ACEOF
2009 exec 5>>config.log
2010 {
2011 cat <<_ASUNAME
2012 ## --------- ##
2013 ## Platform. ##
2014 ## --------- ##
2015
2016 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2017 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2018 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2019 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2020 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2021
2022 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2023 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2024
2025 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2026 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2027 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2028 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2029 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2030 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2031 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2032
2033 _ASUNAME
2034
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2036 for as_dir in $PATH
2037 do
2038 IFS=$as_save_IFS
2039 test -z "$as_dir" && as_dir=.
2040 echo "PATH: $as_dir"
2041 done
2042 IFS=$as_save_IFS
2043
2044 } >&5
2045
2046 cat >&5 <<_ACEOF
2047
2048
2049 ## ----------- ##
2050 ## Core tests. ##
2051 ## ----------- ##
2052
2053 _ACEOF
2054
2055
2056 # Keep a trace of the command line.
2057 # Strip out --no-create and --no-recursion so they do not pile up.
2058 # Strip out --silent because we don't want to record it for future runs.
2059 # Also quote any args containing shell meta-characters.
2060 # Make two passes to allow for proper duplicate-argument suppression.
2061 ac_configure_args=
2062 ac_configure_args0=
2063 ac_configure_args1=
2064 ac_must_keep_next=false
2065 for ac_pass in 1 2
2066 do
2067 for ac_arg
2068 do
2069 case $ac_arg in
2070 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2072 | -silent | --silent | --silen | --sile | --sil)
2073 continue ;;
2074 *\'*)
2075 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2076 esac
2077 case $ac_pass in
2078 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2079 2)
2080 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2081 if test $ac_must_keep_next = true; then
2082 ac_must_keep_next=false # Got value, back to normal.
2083 else
2084 case $ac_arg in
2085 *=* | --config-cache | -C | -disable-* | --disable-* \
2086 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2087 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2088 | -with-* | --with-* | -without-* | --without-* | --x)
2089 case "$ac_configure_args0 " in
2090 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2091 esac
2092 ;;
2093 -* ) ac_must_keep_next=true ;;
2094 esac
2095 fi
2096 ac_configure_args="$ac_configure_args '$ac_arg'"
2097 ;;
2098 esac
2099 done
2100 done
2101 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2102 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2103
2104 # When interrupted or exit'd, cleanup temporary files, and complete
2105 # config.log. We remove comments because anyway the quotes in there
2106 # would cause problems or look ugly.
2107 # WARNING: Use '\'' to represent an apostrophe within the trap.
2108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2109 trap 'exit_status=$?
2110 # Save into config.log some information that might help in debugging.
2111 {
2112 echo
2113
2114 cat <<\_ASBOX
2115 ## ---------------- ##
2116 ## Cache variables. ##
2117 ## ---------------- ##
2118 _ASBOX
2119 echo
2120 # The following way of writing the cache mishandles newlines in values,
2121 (
2122 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2123 eval ac_val=\$$ac_var
2124 case $ac_val in #(
2125 *${as_nl}*)
2126 case $ac_var in #(
2127 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2128 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2129 esac
2130 case $ac_var in #(
2131 _ | IFS | as_nl) ;; #(
2132 *) $as_unset $ac_var ;;
2133 esac ;;
2134 esac
2135 done
2136 (set) 2>&1 |
2137 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2138 *${as_nl}ac_space=\ *)
2139 sed -n \
2140 "s/'\''/'\''\\\\'\'''\''/g;
2141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2142 ;; #(
2143 *)
2144 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2145 ;;
2146 esac |
2147 sort
2148 )
2149 echo
2150
2151 cat <<\_ASBOX
2152 ## ----------------- ##
2153 ## Output variables. ##
2154 ## ----------------- ##
2155 _ASBOX
2156 echo
2157 for ac_var in $ac_subst_vars
2158 do
2159 eval ac_val=\$$ac_var
2160 case $ac_val in
2161 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2162 esac
2163 echo "$ac_var='\''$ac_val'\''"
2164 done | sort
2165 echo
2166
2167 if test -n "$ac_subst_files"; then
2168 cat <<\_ASBOX
2169 ## ------------------- ##
2170 ## File substitutions. ##
2171 ## ------------------- ##
2172 _ASBOX
2173 echo
2174 for ac_var in $ac_subst_files
2175 do
2176 eval ac_val=\$$ac_var
2177 case $ac_val in
2178 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2179 esac
2180 echo "$ac_var='\''$ac_val'\''"
2181 done | sort
2182 echo
2183 fi
2184
2185 if test -s confdefs.h; then
2186 cat <<\_ASBOX
2187 ## ----------- ##
2188 ## confdefs.h. ##
2189 ## ----------- ##
2190 _ASBOX
2191 echo
2192 cat confdefs.h
2193 echo
2194 fi
2195 test "$ac_signal" != 0 &&
2196 echo "$as_me: caught signal $ac_signal"
2197 echo "$as_me: exit $exit_status"
2198 } >&5
2199 rm -f core *.core core.conftest.* &&
2200 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2201 exit $exit_status
2202 ' 0
2203 for ac_signal in 1 2 13 15; do
2204 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2205 done
2206 ac_signal=0
2207
2208 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2209 rm -f -r conftest* confdefs.h
2210
2211 # Predefined preprocessor variables.
2212
2213 cat >>confdefs.h <<_ACEOF
2214 #define PACKAGE_NAME "$PACKAGE_NAME"
2215 _ACEOF
2216
2217
2218 cat >>confdefs.h <<_ACEOF
2219 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2220 _ACEOF
2221
2222
2223 cat >>confdefs.h <<_ACEOF
2224 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2225 _ACEOF
2226
2227
2228 cat >>confdefs.h <<_ACEOF
2229 #define PACKAGE_STRING "$PACKAGE_STRING"
2230 _ACEOF
2231
2232
2233 cat >>confdefs.h <<_ACEOF
2234 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2235 _ACEOF
2236
2237
2238 # Let the site file select an alternate cache file if it wants to.
2239 # Prefer explicitly selected file to automatically selected ones.
2240 if test -n "$CONFIG_SITE"; then
2241 set x "$CONFIG_SITE"
2242 elif test "x$prefix" != xNONE; then
2243 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2244 else
2245 set x "$ac_default_prefix/share/config.site" \
2246 "$ac_default_prefix/etc/config.site"
2247 fi
2248 shift
2249 for ac_site_file
2250 do
2251 if test -r "$ac_site_file"; then
2252 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2253 echo "$as_me: loading site script $ac_site_file" >&6;}
2254 sed 's/^/| /' "$ac_site_file" >&5
2255 . "$ac_site_file"
2256 fi
2257 done
2258
2259 if test -r "$cache_file"; then
2260 # Some versions of bash will fail to source /dev/null (special
2261 # files actually), so we avoid doing that.
2262 if test -f "$cache_file"; then
2263 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2264 echo "$as_me: loading cache $cache_file" >&6;}
2265 case $cache_file in
2266 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2267 *) . "./$cache_file";;
2268 esac
2269 fi
2270 else
2271 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2272 echo "$as_me: creating cache $cache_file" >&6;}
2273 >$cache_file
2274 fi
2275
2276 # Check that the precious variables saved in the cache have kept the same
2277 # value.
2278 ac_cache_corrupted=false
2279 for ac_var in $ac_precious_vars; do
2280 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2281 eval ac_new_set=\$ac_env_${ac_var}_set
2282 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2283 eval ac_new_val=\$ac_env_${ac_var}_value
2284 case $ac_old_set,$ac_new_set in
2285 set,)
2286 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2287 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2288 ac_cache_corrupted=: ;;
2289 ,set)
2290 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2291 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2292 ac_cache_corrupted=: ;;
2293 ,);;
2294 *)
2295 if test "x$ac_old_val" != "x$ac_new_val"; then
2296 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2297 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2298 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2299 echo "$as_me: former value: $ac_old_val" >&2;}
2300 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2301 echo "$as_me: current value: $ac_new_val" >&2;}
2302 ac_cache_corrupted=:
2303 fi;;
2304 esac
2305 # Pass precious variables to config.status.
2306 if test "$ac_new_set" = set; then
2307 case $ac_new_val in
2308 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2309 *) ac_arg=$ac_var=$ac_new_val ;;
2310 esac
2311 case " $ac_configure_args " in
2312 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2313 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2314 esac
2315 fi
2316 done
2317 if $ac_cache_corrupted; then
2318 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2319 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2320 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2321 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2322 { (exit 1); exit 1; }; }
2323 fi
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
2349 ac_ext=c
2350 ac_cpp='$CPP $CPPFLAGS'
2351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2354
2355
2356
2357
2358
2359 ac_aux_dir=
2360 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2361 if test -f "$ac_dir/install-sh"; then
2362 ac_aux_dir=$ac_dir
2363 ac_install_sh="$ac_aux_dir/install-sh -c"
2364 break
2365 elif test -f "$ac_dir/install.sh"; then
2366 ac_aux_dir=$ac_dir
2367 ac_install_sh="$ac_aux_dir/install.sh -c"
2368 break
2369 elif test -f "$ac_dir/shtool"; then
2370 ac_aux_dir=$ac_dir
2371 ac_install_sh="$ac_aux_dir/shtool install -c"
2372 break
2373 fi
2374 done
2375 if test -z "$ac_aux_dir"; then
2376 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2377 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2378 { (exit 1); exit 1; }; }
2379 fi
2380
2381 # These three variables are undocumented and unsupported,
2382 # and are intended to be withdrawn in a future Autoconf release.
2383 # They can cause serious problems if a builder's source tree is in a directory
2384 # whose full name contains unusual characters.
2385 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2386 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2387 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2388
2389
2390 # Make sure we can run config.sub.
2391 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2392 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2393 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2394 { (exit 1); exit 1; }; }
2395
2396 { echo "$as_me:$LINENO: checking build system type" >&5
2397 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2398 if test "${ac_cv_build+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2400 else
2401 ac_build_alias=$build_alias
2402 test "x$ac_build_alias" = x &&
2403 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2404 test "x$ac_build_alias" = x &&
2405 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2406 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2407 { (exit 1); exit 1; }; }
2408 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2409 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2410 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2411 { (exit 1); exit 1; }; }
2412
2413 fi
2414 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2415 echo "${ECHO_T}$ac_cv_build" >&6; }
2416 case $ac_cv_build in
2417 *-*-*) ;;
2418 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2419 echo "$as_me: error: invalid value of canonical build" >&2;}
2420 { (exit 1); exit 1; }; };;
2421 esac
2422 build=$ac_cv_build
2423 ac_save_IFS=$IFS; IFS='-'
2424 set x $ac_cv_build
2425 shift
2426 build_cpu=$1
2427 build_vendor=$2
2428 shift; shift
2429 # Remember, the first character of IFS is used to create $*,
2430 # except with old shells:
2431 build_os=$*
2432 IFS=$ac_save_IFS
2433 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2434
2435
2436 { echo "$as_me:$LINENO: checking host system type" >&5
2437 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2438 if test "${ac_cv_host+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441 if test "x$host_alias" = x; then
2442 ac_cv_host=$ac_cv_build
2443 else
2444 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2445 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2446 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2447 { (exit 1); exit 1; }; }
2448 fi
2449
2450 fi
2451 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2452 echo "${ECHO_T}$ac_cv_host" >&6; }
2453 case $ac_cv_host in
2454 *-*-*) ;;
2455 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2456 echo "$as_me: error: invalid value of canonical host" >&2;}
2457 { (exit 1); exit 1; }; };;
2458 esac
2459 host=$ac_cv_host
2460 ac_save_IFS=$IFS; IFS='-'
2461 set x $ac_cv_host
2462 shift
2463 host_cpu=$1
2464 host_vendor=$2
2465 shift; shift
2466 # Remember, the first character of IFS is used to create $*,
2467 # except with old shells:
2468 host_os=$*
2469 IFS=$ac_save_IFS
2470 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2471
2472
2473 { echo "$as_me:$LINENO: checking target system type" >&5
2474 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2475 if test "${ac_cv_target+set}" = set; then
2476 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 else
2478 if test "x$target_alias" = x; then
2479 ac_cv_target=$ac_cv_host
2480 else
2481 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2482 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2483 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2484 { (exit 1); exit 1; }; }
2485 fi
2486
2487 fi
2488 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2489 echo "${ECHO_T}$ac_cv_target" >&6; }
2490 case $ac_cv_target in
2491 *-*-*) ;;
2492 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2493 echo "$as_me: error: invalid value of canonical target" >&2;}
2494 { (exit 1); exit 1; }; };;
2495 esac
2496 target=$ac_cv_target
2497 ac_save_IFS=$IFS; IFS='-'
2498 set x $ac_cv_target
2499 shift
2500 target_cpu=$1
2501 target_vendor=$2
2502 shift; shift
2503 # Remember, the first character of IFS is used to create $*,
2504 # except with old shells:
2505 target_os=$*
2506 IFS=$ac_save_IFS
2507 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2508
2509
2510 # The aliases save the names the user supplied, while $host etc.
2511 # will get canonicalized.
2512 test -n "$target_alias" &&
2513 test "$program_prefix$program_suffix$program_transform_name" = \
2514 NONENONEs,x,x, &&
2515 program_prefix=${target_alias}-
2516
2517
2518
2519 wx_major_version_number=2
2520 wx_minor_version_number=9
2521 wx_release_number=0
2522 wx_subrelease_number=0
2523
2524 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2525 WX_VERSION=$WX_RELEASE.$wx_release_number
2526 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2527
2528 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2529
2530
2531 wx_top_builddir="`pwd`"
2532
2533
2534
2535
2536 USE_UNIX=1
2537 USE_OS2=0
2538 USE_WIN32=0
2539 USE_DOS=0
2540 USE_BEOS=0
2541 USE_MAC=0
2542
2543 USE_AIX=
2544 USE_BSD= USE_DARWIN= USE_FREEBSD=
2545 USE_GNU= USE_HPUX=
2546 USE_LINUX=
2547 USE_NETBSD=
2548 USE_OPENBSD=
2549 USE_OSF= USE_SGI=
2550 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2551 USE_ULTRIX=
2552 USE_UNIXWARE=
2553
2554 USE_ALPHA=
2555
2556 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2557
2558 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2559
2560 DEFAULT_wxUSE_COCOA=0
2561 DEFAULT_wxUSE_GTK=0
2562 DEFAULT_wxUSE_MAC=0
2563 DEFAULT_wxUSE_MGL=0
2564 DEFAULT_wxUSE_MICROWIN=0
2565 DEFAULT_wxUSE_MOTIF=0
2566 DEFAULT_wxUSE_MSW=0
2567 DEFAULT_wxUSE_PM=0
2568 DEFAULT_wxUSE_X11=0
2569 DEFAULT_wxUSE_DFB=0
2570
2571 DEFAULT_DEFAULT_wxUSE_COCOA=0
2572 DEFAULT_DEFAULT_wxUSE_GTK=0
2573 DEFAULT_DEFAULT_wxUSE_MAC=0
2574 DEFAULT_DEFAULT_wxUSE_MGL=0
2575 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2576 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2577 DEFAULT_DEFAULT_wxUSE_MSW=0
2578 DEFAULT_DEFAULT_wxUSE_PM=0
2579 DEFAULT_DEFAULT_wxUSE_X11=0
2580 DEFAULT_DEFAULT_wxUSE_DFB=0
2581
2582 PROGRAM_EXT=
2583 SO_SUFFIX=so
2584 SAMPLES_RPATH_FLAG=
2585 SAMPLES_RPATH_POSTLINK=
2586
2587 DEFAULT_STD_FLAG=yes
2588
2589 case "${host}" in
2590 *-hp-hpux* )
2591 USE_HPUX=1
2592 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2593 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2594 SO_SUFFIX=sl
2595 cat >>confdefs.h <<\_ACEOF
2596 #define __HPUX__ 1
2597 _ACEOF
2598
2599
2600 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2601 ;;
2602 *-*-linux* )
2603 USE_LINUX=1
2604 cat >>confdefs.h <<\_ACEOF
2605 #define __LINUX__ 1
2606 _ACEOF
2607
2608 TMP=`uname -m`
2609 if test "x$TMP" = "xalpha"; then
2610 USE_ALPHA=1
2611 cat >>confdefs.h <<\_ACEOF
2612 #define __ALPHA__ 1
2613 _ACEOF
2614
2615 fi
2616 DEFAULT_DEFAULT_wxUSE_GTK=1
2617 ;;
2618 *-*-gnu* | *-*-k*bsd*-gnu )
2619 USE_GNU=1
2620 TMP=`uname -m`
2621 if test "x$TMP" = "xalpha"; then
2622 USE_ALPHA=1
2623 cat >>confdefs.h <<\_ACEOF
2624 #define __ALPHA__ 1
2625 _ACEOF
2626
2627 fi
2628 DEFAULT_DEFAULT_wxUSE_GTK=1
2629 ;;
2630 *-*-irix5* | *-*-irix6* )
2631 USE_SGI=1
2632 USE_SVR4=1
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __SGI__ 1
2635 _ACEOF
2636
2637 cat >>confdefs.h <<\_ACEOF
2638 #define __SVR4__ 1
2639 _ACEOF
2640
2641 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2642 ;;
2643 *-*-solaris2* )
2644 USE_SUN=1
2645 USE_SOLARIS=1
2646 USE_SVR4=1
2647 cat >>confdefs.h <<\_ACEOF
2648 #define __SUN__ 1
2649 _ACEOF
2650
2651 cat >>confdefs.h <<\_ACEOF
2652 #define __SOLARIS__ 1
2653 _ACEOF
2654
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __SVR4__ 1
2657 _ACEOF
2658
2659 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2660 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2661 ;;
2662 *-*-sunos4* )
2663 USE_SUN=1
2664 USE_SUNOS=1
2665 USE_BSD=1
2666 cat >>confdefs.h <<\_ACEOF
2667 #define __SUN__ 1
2668 _ACEOF
2669
2670 cat >>confdefs.h <<\_ACEOF
2671 #define __SUNOS__ 1
2672 _ACEOF
2673
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __BSD__ 1
2676 _ACEOF
2677
2678 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2679 ;;
2680 *-*-freebsd*)
2681 USE_BSD=1
2682 USE_FREEBSD=1
2683 cat >>confdefs.h <<\_ACEOF
2684 #define __FREEBSD__ 1
2685 _ACEOF
2686
2687 cat >>confdefs.h <<\_ACEOF
2688 #define __BSD__ 1
2689 _ACEOF
2690
2691 DEFAULT_DEFAULT_wxUSE_GTK=1
2692 ;;
2693 *-*-openbsd*|*-*-mirbsd*)
2694 USE_BSD=1
2695 USE_OPENBSD=1
2696 cat >>confdefs.h <<\_ACEOF
2697 #define __OPENBSD__ 1
2698 _ACEOF
2699
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __BSD__ 1
2702 _ACEOF
2703
2704 DEFAULT_DEFAULT_wxUSE_GTK=1
2705 ;;
2706 *-*-netbsd*)
2707 USE_BSD=1
2708 USE_NETBSD=1
2709 cat >>confdefs.h <<\_ACEOF
2710 #define __NETBSD__ 1
2711 _ACEOF
2712
2713 cat >>confdefs.h <<\_ACEOF
2714 #define __BSD__ 1
2715 _ACEOF
2716
2717 DEFAULT_DEFAULT_wxUSE_GTK=1
2718 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2719
2720 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2721 ;;
2722 *-*-osf* )
2723 USE_ALPHA=1
2724 USE_OSF=1
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __ALPHA__ 1
2727 _ACEOF
2728
2729 cat >>confdefs.h <<\_ACEOF
2730 #define __OSF__ 1
2731 _ACEOF
2732
2733 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2734 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2735 ;;
2736 *-*-dgux5* )
2737 USE_ALPHA=1
2738 USE_SVR4=1
2739 cat >>confdefs.h <<\_ACEOF
2740 #define __ALPHA__ 1
2741 _ACEOF
2742
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __SVR4__ 1
2745 _ACEOF
2746
2747 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2748 ;;
2749 *-*-sysv5* )
2750 USE_SYSV=1
2751 USE_SVR4=1
2752 cat >>confdefs.h <<\_ACEOF
2753 #define __SYSV__ 1
2754 _ACEOF
2755
2756 cat >>confdefs.h <<\_ACEOF
2757 #define __SVR4__ 1
2758 _ACEOF
2759
2760 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2761 ;;
2762 *-*-aix* )
2763 USE_AIX=1
2764 USE_SYSV=1
2765 USE_SVR4=1
2766 SO_SUFFIX=a
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __AIX__ 1
2769 _ACEOF
2770
2771 cat >>confdefs.h <<\_ACEOF
2772 #define __SYSV__ 1
2773 _ACEOF
2774
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __SVR4__ 1
2777 _ACEOF
2778
2779 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2780 ;;
2781
2782 *-*-*UnixWare*)
2783 USE_SYSV=1
2784 USE_SVR4=1
2785 USE_UNIXWARE=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __UNIXWARE__ 1
2788 _ACEOF
2789
2790 ;;
2791
2792 *-*-cygwin* | *-*-mingw32* )
2793 SO_SUFFIX=dll
2794 PROGRAM_EXT=".exe"
2795 DEFAULT_DEFAULT_wxUSE_MSW=1
2796 ;;
2797
2798 *-pc-msdosdjgpp )
2799 USE_UNIX=0
2800 USE_DOS=1
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __DOS__ 1
2803 _ACEOF
2804
2805 PROGRAM_EXT=".exe"
2806 DEFAULT_DEFAULT_wxUSE_MGL=1
2807 ;;
2808
2809 *-pc-os2_emx | *-pc-os2-emx )
2810 cat >>confdefs.h <<\_ACEOF
2811 #define __EMX__ 1
2812 _ACEOF
2813
2814 USE_OS2=1
2815 cat >>confdefs.h <<\_ACEOF
2816 #define __OS2__ 1
2817 _ACEOF
2818
2819 PROGRAM_EXT=".exe"
2820 DEFAULT_DEFAULT_wxUSE_PM=1
2821 CXX=gcc
2822 LDFLAGS="$LDFLAGS -Zcrtdll"
2823 ac_executable_extensions=".exe"
2824 export ac_executable_extensions
2825 ac_save_IFS="$IFS"
2826 IFS='\\'
2827 ac_TEMP_PATH=
2828 for ac_dir in $PATH; do
2829 IFS=$ac_save_IFS
2830 if test -z "$ac_TEMP_PATH"; then
2831 ac_TEMP_PATH="$ac_dir"
2832 else
2833 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2834 fi
2835 done
2836 export PATH="$ac_TEMP_PATH"
2837 unset ac_TEMP_PATH
2838 DEFAULT_STD_FLAG=no
2839 ;;
2840
2841 *-*-darwin* )
2842 USE_BSD=1
2843 USE_DARWIN=1
2844 SO_SUFFIX=dylib
2845 cat >>confdefs.h <<\_ACEOF
2846 #define __BSD__ 1
2847 _ACEOF
2848
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __DARWIN__ 1
2851 _ACEOF
2852
2853 cat >>confdefs.h <<\_ACEOF
2854 #define TARGET_CARBON 1
2855 _ACEOF
2856
2857 DEFAULT_DEFAULT_wxUSE_MAC=1
2858 DEFAULT_STD_FLAG=no
2859 ;;
2860 powerpc-apple-macos* )
2861 USE_UNIX=0
2862 ac_cv_c_bigendian=yes
2863 SO_SUFFIX=shlib
2864 DEFAULT_DEFAULT_wxUSE_MAC=1
2865 DEFAULT_STD_FLAG=no
2866 ;;
2867
2868 *-*-beos* )
2869 USE_BEOS=1
2870 cat >>confdefs.h <<\_ACEOF
2871 #define __BEOS__ 1
2872 _ACEOF
2873
2874 ;;
2875
2876 *)
2877 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2878 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2879 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2880 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2881
2882 DEFAULT_DEFAULT_wxUSE_X11=1
2883 DEFAULT_wxUSE_SHARED=no
2884 esac
2885
2886
2887
2888
2889 wx_arg_cache_file="configarg.cache"
2890 echo "loading argument cache $wx_arg_cache_file"
2891 rm -f ${wx_arg_cache_file}.tmp
2892 touch ${wx_arg_cache_file}.tmp
2893 touch ${wx_arg_cache_file}
2894
2895
2896 DEBUG_CONFIGURE=0
2897 if test $DEBUG_CONFIGURE = 1; then
2898 DEFAULT_wxUSE_UNIVERSAL=no
2899 DEFAULT_wxUSE_STL=no
2900
2901 DEFAULT_wxUSE_NANOX=no
2902
2903 DEFAULT_wxUSE_THREADS=yes
2904
2905 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2906 DEFAULT_wxUSE_OPTIMISE=no
2907 DEFAULT_wxUSE_PROFILE=no
2908 DEFAULT_wxUSE_NO_DEPS=no
2909 DEFAULT_wxUSE_VARARG_MACROS=no
2910 DEFAULT_wxUSE_NO_RTTI=no
2911 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2912 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2913 DEFAULT_wxUSE_RPATH=yes
2914 DEFAULT_wxUSE_PERMISSIVE=no
2915 DEFAULT_wxUSE_DEBUG_FLAG=yes
2916 DEFAULT_wxUSE_DEBUG_INFO=yes
2917 DEFAULT_wxUSE_DEBUG_GDB=yes
2918 DEFAULT_wxUSE_MEM_TRACING=no
2919 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2920 DEFAULT_wxUSE_DMALLOC=no
2921 DEFAULT_wxUSE_APPLE_IEEE=no
2922
2923 DEFAULT_wxUSE_EXCEPTIONS=no
2924 DEFAULT_wxUSE_LOG=yes
2925 DEFAULT_wxUSE_LOGWINDOW=no
2926 DEFAULT_wxUSE_LOGGUI=no
2927 DEFAULT_wxUSE_LOGDIALOG=no
2928
2929 DEFAULT_wxUSE_GUI=yes
2930 DEFAULT_wxUSE_CONTROLS=no
2931
2932 DEFAULT_wxUSE_REGEX=no
2933 DEFAULT_wxUSE_XML=no
2934 DEFAULT_wxUSE_EXPAT=no
2935 DEFAULT_wxUSE_ZLIB=no
2936 DEFAULT_wxUSE_LIBPNG=no
2937 DEFAULT_wxUSE_LIBJPEG=no
2938 DEFAULT_wxUSE_LIBTIFF=no
2939 DEFAULT_wxUSE_LIBXPM=no
2940 DEFAULT_wxUSE_LIBMSPACK=no
2941 DEFAULT_wxUSE_LIBSDL=no
2942 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2943 DEFAULT_wxUSE_LIBGNOMEVFS=no
2944 DEFAULT_wxUSE_LIBHILDON=no
2945 DEFAULT_wxUSE_ODBC=no
2946 DEFAULT_wxUSE_OPENGL=no
2947
2948 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2949 DEFAULT_wxUSE_STACKWALKER=no
2950 DEFAULT_wxUSE_DEBUGREPORT=no
2951 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2952 DEFAULT_wxUSE_STD_IOSTREAM=no
2953 DEFAULT_wxUSE_STD_STRING=no
2954 DEFAULT_wxUSE_CMDLINE_PARSER=no
2955 DEFAULT_wxUSE_DATETIME=no
2956 DEFAULT_wxUSE_TIMER=no
2957 DEFAULT_wxUSE_STOPWATCH=no
2958 DEFAULT_wxUSE_FILE=no
2959 DEFAULT_wxUSE_FFILE=no
2960 DEFAULT_wxUSE_STDPATHS=no
2961 DEFAULT_wxUSE_TEXTBUFFER=no
2962 DEFAULT_wxUSE_TEXTFILE=no
2963 DEFAULT_wxUSE_SOUND=no
2964 DEFAULT_wxUSE_MEDIACTRL=no
2965 DEFAULT_wxUSE_GSTREAMER8=no
2966 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2967 DEFAULT_wxUSE_INTL=no
2968 DEFAULT_wxUSE_CONFIG=no
2969 DEFAULT_wxUSE_FONTMAP=no
2970 DEFAULT_wxUSE_STREAMS=no
2971 DEFAULT_wxUSE_SOCKETS=no
2972 DEFAULT_wxUSE_OLE=no
2973 DEFAULT_wxUSE_DATAOBJ=no
2974 DEFAULT_wxUSE_DIALUP_MANAGER=no
2975 DEFAULT_wxUSE_JOYSTICK=no
2976 DEFAULT_wxUSE_DYNLIB_CLASS=no
2977 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2978 DEFAULT_wxUSE_LONGLONG=no
2979 DEFAULT_wxUSE_GEOMETRY=no
2980
2981 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2982 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2983 DEFAULT_wxUSE_POSTSCRIPT=no
2984
2985 DEFAULT_wxUSE_CLIPBOARD=no
2986 DEFAULT_wxUSE_TOOLTIPS=no
2987 DEFAULT_wxUSE_DRAG_AND_DROP=no
2988 DEFAULT_wxUSE_DRAGIMAGE=no
2989 DEFAULT_wxUSE_SPLINES=no
2990 DEFAULT_wxUSE_MOUSEWHEEL=no
2991
2992 DEFAULT_wxUSE_MDI=no
2993 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2994 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2995 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2996
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_STC=no
3036 DEFAULT_wxUSE_WEBKIT=no
3037 DEFAULT_wxUSE_FILESYSTEM=no
3038 DEFAULT_wxUSE_FS_INET=no
3039 DEFAULT_wxUSE_FS_ZIP=no
3040 DEFAULT_wxUSE_FS_ARCHIVE=no
3041 DEFAULT_wxUSE_BUSYINFO=no
3042 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3043 DEFAULT_wxUSE_ZIPSTREAM=no
3044 DEFAULT_wxUSE_TARSTREAM=no
3045 DEFAULT_wxUSE_VALIDATORS=no
3046
3047 DEFAULT_wxUSE_ACCEL=no
3048 DEFAULT_wxUSE_ANIMATIONCTRL=no
3049 DEFAULT_wxUSE_BUTTON=no
3050 DEFAULT_wxUSE_BMPBUTTON=no
3051 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3052 DEFAULT_wxUSE_CALCTRL=no
3053 DEFAULT_wxUSE_CARET=no
3054 DEFAULT_wxUSE_CHECKBOX=no
3055 DEFAULT_wxUSE_CHECKLST=no
3056 DEFAULT_wxUSE_CHOICE=no
3057 DEFAULT_wxUSE_CHOICEBOOK=no
3058 DEFAULT_wxUSE_COLLPANE=no
3059 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3060 DEFAULT_wxUSE_COMBOBOX=no
3061 DEFAULT_wxUSE_COMBOCTRL=no
3062 DEFAULT_wxUSE_DATEPICKCTRL=no
3063 DEFAULT_wxUSE_DISPLAY=no
3064 DEFAULT_wxUSE_DETECT_SM=no
3065 DEFAULT_wxUSE_DIRPICKERCTRL=no
3066 DEFAULT_wxUSE_FILEPICKERCTRL=no
3067 DEFAULT_wxUSE_FONTPICKERCTRL=no
3068 DEFAULT_wxUSE_GAUGE=no
3069 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3070 DEFAULT_wxUSE_GRID=no
3071 DEFAULT_wxUSE_HYPERLINKCTRL=no
3072 DEFAULT_wxUSE_DATAVIEWCTRL=no
3073 DEFAULT_wxUSE_IMAGLIST=no
3074 DEFAULT_wxUSE_LISTBOOK=no
3075 DEFAULT_wxUSE_LISTBOX=no
3076 DEFAULT_wxUSE_LISTCTRL=no
3077 DEFAULT_wxUSE_NOTEBOOK=no
3078 DEFAULT_wxUSE_ODCOMBOBOX=no
3079 DEFAULT_wxUSE_RADIOBOX=no
3080 DEFAULT_wxUSE_RADIOBTN=no
3081 DEFAULT_wxUSE_SASH=no
3082 DEFAULT_wxUSE_SCROLLBAR=no
3083 DEFAULT_wxUSE_SEARCHCTRL=no
3084 DEFAULT_wxUSE_SLIDER=no
3085 DEFAULT_wxUSE_SPINBTN=no
3086 DEFAULT_wxUSE_SPINCTRL=no
3087 DEFAULT_wxUSE_SPLITTER=no
3088 DEFAULT_wxUSE_STATBMP=no
3089 DEFAULT_wxUSE_STATBOX=no
3090 DEFAULT_wxUSE_STATLINE=no
3091 DEFAULT_wxUSE_STATTEXT=no
3092 DEFAULT_wxUSE_STATUSBAR=yes
3093 DEFAULT_wxUSE_TAB_DIALOG=no
3094 DEFAULT_wxUSE_TEXTCTRL=no
3095 DEFAULT_wxUSE_TOGGLEBTN=no
3096 DEFAULT_wxUSE_TOOLBAR=no
3097 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3098 DEFAULT_wxUSE_TREEBOOK=no
3099 DEFAULT_wxUSE_TOOLBOOK=no
3100 DEFAULT_wxUSE_TREECTRL=no
3101 DEFAULT_wxUSE_POPUPWIN=no
3102 DEFAULT_wxUSE_TIPWINDOW=no
3103
3104 DEFAULT_wxUSE_UNICODE=no
3105 DEFAULT_wxUSE_UNICODE_MSLU=no
3106 DEFAULT_wxUSE_WCSRTOMBS=no
3107
3108 DEFAULT_wxUSE_PALETTE=no
3109 DEFAULT_wxUSE_IMAGE=no
3110 DEFAULT_wxUSE_GIF=no
3111 DEFAULT_wxUSE_PCX=no
3112 DEFAULT_wxUSE_TGA=no
3113 DEFAULT_wxUSE_PNM=no
3114 DEFAULT_wxUSE_IFF=no
3115 DEFAULT_wxUSE_XPM=no
3116 DEFAULT_wxUSE_ICO_CUR=no
3117 DEFAULT_wxUSE_ACCESSIBILITY=no
3118
3119 DEFAULT_wxUSE_MONOLITHIC=no
3120 DEFAULT_wxUSE_PLUGINS=no
3121 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3122 else
3123 DEFAULT_wxUSE_UNIVERSAL=no
3124 DEFAULT_wxUSE_STL=no
3125
3126 DEFAULT_wxUSE_NANOX=no
3127
3128 DEFAULT_wxUSE_THREADS=yes
3129
3130 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3131 DEFAULT_wxUSE_OPTIMISE=yes
3132 DEFAULT_wxUSE_PROFILE=no
3133 DEFAULT_wxUSE_NO_DEPS=no
3134 DEFAULT_wxUSE_VARARG_MACROS=yes
3135 DEFAULT_wxUSE_NO_RTTI=no
3136 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3137 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3138 DEFAULT_wxUSE_RPATH=yes
3139 DEFAULT_wxUSE_PERMISSIVE=no
3140 DEFAULT_wxUSE_DEBUG_FLAG=no
3141 DEFAULT_wxUSE_DEBUG_INFO=no
3142 DEFAULT_wxUSE_DEBUG_GDB=no
3143 DEFAULT_wxUSE_MEM_TRACING=no
3144 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3145 DEFAULT_wxUSE_DMALLOC=no
3146 DEFAULT_wxUSE_APPLE_IEEE=yes
3147
3148 DEFAULT_wxUSE_EXCEPTIONS=yes
3149 DEFAULT_wxUSE_LOG=yes
3150 DEFAULT_wxUSE_LOGWINDOW=yes
3151 DEFAULT_wxUSE_LOGGUI=yes
3152 DEFAULT_wxUSE_LOGDIALOG=yes
3153
3154 DEFAULT_wxUSE_GUI=yes
3155
3156 DEFAULT_wxUSE_REGEX=yes
3157 DEFAULT_wxUSE_XML=yes
3158 DEFAULT_wxUSE_EXPAT=yes
3159 DEFAULT_wxUSE_ZLIB=yes
3160 DEFAULT_wxUSE_LIBPNG=yes
3161 DEFAULT_wxUSE_LIBJPEG=yes
3162 DEFAULT_wxUSE_LIBTIFF=yes
3163 DEFAULT_wxUSE_LIBXPM=yes
3164 DEFAULT_wxUSE_LIBMSPACK=yes
3165 DEFAULT_wxUSE_LIBSDL=no
3166 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3167 DEFAULT_wxUSE_LIBGNOMEVFS=no
3168 DEFAULT_wxUSE_LIBHILDON=no
3169 DEFAULT_wxUSE_ODBC=no
3170 DEFAULT_wxUSE_OPENGL=no
3171
3172 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3173 DEFAULT_wxUSE_STACKWALKER=yes
3174 DEFAULT_wxUSE_DEBUGREPORT=yes
3175 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3176 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3177 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3178 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3179 DEFAULT_wxUSE_DATETIME=yes
3180 DEFAULT_wxUSE_TIMER=yes
3181 DEFAULT_wxUSE_STOPWATCH=yes
3182 DEFAULT_wxUSE_FILE=yes
3183 DEFAULT_wxUSE_FFILE=yes
3184 DEFAULT_wxUSE_STDPATHS=yes
3185 DEFAULT_wxUSE_TEXTBUFFER=yes
3186 DEFAULT_wxUSE_TEXTFILE=yes
3187 DEFAULT_wxUSE_SOUND=yes
3188 DEFAULT_wxUSE_MEDIACTRL=no
3189 DEFAULT_wxUSE_GSTREAMER8=no
3190 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3191 DEFAULT_wxUSE_INTL=yes
3192 DEFAULT_wxUSE_CONFIG=yes
3193 DEFAULT_wxUSE_FONTMAP=yes
3194 DEFAULT_wxUSE_STREAMS=yes
3195 DEFAULT_wxUSE_SOCKETS=yes
3196 DEFAULT_wxUSE_OLE=yes
3197 DEFAULT_wxUSE_DATAOBJ=yes
3198 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3199 DEFAULT_wxUSE_JOYSTICK=yes
3200 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3201 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3202 DEFAULT_wxUSE_LONGLONG=yes
3203 DEFAULT_wxUSE_GEOMETRY=yes
3204
3205 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3206 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3207 DEFAULT_wxUSE_POSTSCRIPT=yes
3208
3209 DEFAULT_wxUSE_CLIPBOARD=yes
3210 DEFAULT_wxUSE_TOOLTIPS=yes
3211 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3212 DEFAULT_wxUSE_DRAGIMAGE=yes
3213 DEFAULT_wxUSE_SPLINES=yes
3214 DEFAULT_wxUSE_MOUSEWHEEL=yes
3215
3216 DEFAULT_wxUSE_MDI=yes
3217 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3218 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3219 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3220
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_STC=yes
3260 DEFAULT_wxUSE_WEBKIT=yes
3261 DEFAULT_wxUSE_FILESYSTEM=yes
3262 DEFAULT_wxUSE_FS_INET=yes
3263 DEFAULT_wxUSE_FS_ZIP=yes
3264 DEFAULT_wxUSE_FS_ARCHIVE=yes
3265 DEFAULT_wxUSE_BUSYINFO=yes
3266 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3267 DEFAULT_wxUSE_ZIPSTREAM=yes
3268 DEFAULT_wxUSE_TARSTREAM=yes
3269 DEFAULT_wxUSE_VALIDATORS=yes
3270
3271 DEFAULT_wxUSE_ACCEL=yes
3272 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3273 DEFAULT_wxUSE_BUTTON=yes
3274 DEFAULT_wxUSE_BMPBUTTON=yes
3275 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3276 DEFAULT_wxUSE_CALCTRL=yes
3277 DEFAULT_wxUSE_CARET=yes
3278 DEFAULT_wxUSE_CHECKBOX=yes
3279 DEFAULT_wxUSE_CHECKLST=yes
3280 DEFAULT_wxUSE_CHOICE=yes
3281 DEFAULT_wxUSE_CHOICEBOOK=yes
3282 DEFAULT_wxUSE_COLLPANE=yes
3283 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3284 DEFAULT_wxUSE_COMBOBOX=yes
3285 DEFAULT_wxUSE_COMBOCTRL=yes
3286 DEFAULT_wxUSE_DATEPICKCTRL=yes
3287 DEFAULT_wxUSE_DISPLAY=yes
3288 DEFAULT_wxUSE_DETECT_SM=yes
3289 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3290 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3291 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3292 DEFAULT_wxUSE_GAUGE=yes
3293 DEFAULT_wxUSE_GRID=yes
3294 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3295 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3296 DEFAULT_wxUSE_DATAVIEWCTRL=no
3297 DEFAULT_wxUSE_IMAGLIST=yes
3298 DEFAULT_wxUSE_LISTBOOK=yes
3299 DEFAULT_wxUSE_LISTBOX=yes
3300 DEFAULT_wxUSE_LISTCTRL=yes
3301 DEFAULT_wxUSE_NOTEBOOK=yes
3302 DEFAULT_wxUSE_ODCOMBOBOX=yes
3303 DEFAULT_wxUSE_RADIOBOX=yes
3304 DEFAULT_wxUSE_RADIOBTN=yes
3305 DEFAULT_wxUSE_SASH=yes
3306 DEFAULT_wxUSE_SCROLLBAR=yes
3307 DEFAULT_wxUSE_SEARCHCTRL=yes
3308 DEFAULT_wxUSE_SLIDER=yes
3309 DEFAULT_wxUSE_SPINBTN=yes
3310 DEFAULT_wxUSE_SPINCTRL=yes
3311 DEFAULT_wxUSE_SPLITTER=yes
3312 DEFAULT_wxUSE_STATBMP=yes
3313 DEFAULT_wxUSE_STATBOX=yes
3314 DEFAULT_wxUSE_STATLINE=yes
3315 DEFAULT_wxUSE_STATTEXT=yes
3316 DEFAULT_wxUSE_STATUSBAR=yes
3317 DEFAULT_wxUSE_TAB_DIALOG=no
3318 DEFAULT_wxUSE_TEXTCTRL=yes
3319 DEFAULT_wxUSE_TOGGLEBTN=yes
3320 DEFAULT_wxUSE_TOOLBAR=yes
3321 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3322 DEFAULT_wxUSE_TREEBOOK=yes
3323 DEFAULT_wxUSE_TOOLBOOK=yes
3324 DEFAULT_wxUSE_TREECTRL=yes
3325 DEFAULT_wxUSE_POPUPWIN=yes
3326 DEFAULT_wxUSE_TIPWINDOW=yes
3327
3328 DEFAULT_wxUSE_UNICODE=no
3329 DEFAULT_wxUSE_UNICODE_MSLU=yes
3330 DEFAULT_wxUSE_WCSRTOMBS=no
3331
3332 DEFAULT_wxUSE_PALETTE=yes
3333 DEFAULT_wxUSE_IMAGE=yes
3334 DEFAULT_wxUSE_GIF=yes
3335 DEFAULT_wxUSE_PCX=yes
3336 DEFAULT_wxUSE_TGA=yes
3337 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3338 DEFAULT_wxUSE_XPM=yes
3339 DEFAULT_wxUSE_ICO_CUR=yes
3340 DEFAULT_wxUSE_ACCESSIBILITY=no
3341
3342 DEFAULT_wxUSE_MONOLITHIC=no
3343 DEFAULT_wxUSE_PLUGINS=no
3344 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3345
3346 DEFAULT_wxUSE_GTK2=yes
3347 fi
3348
3349
3350
3351
3352 for toolkit in `echo $ALL_TOOLKITS`; do
3353 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3354 if test "x$LINE" != "x" ; then
3355 has_toolkit_in_cache=1
3356 eval "DEFAULT_$LINE"
3357 eval "CACHE_$toolkit=1"
3358
3359 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3360 if test "x$LINE" != "x" ; then
3361 eval "DEFAULT_$LINE"
3362 fi
3363 fi
3364 done
3365
3366
3367
3368 enablestring=
3369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3370 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3371 no_cache=0
3372 # Check whether --enable-gui was given.
3373 if test "${enable_gui+set}" = set; then
3374 enableval=$enable_gui;
3375 if test "$enableval" = yes; then
3376 ac_cv_use_gui='wxUSE_GUI=yes'
3377 else
3378 ac_cv_use_gui='wxUSE_GUI=no'
3379 fi
3380
3381 else
3382
3383 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3384 if test "x$LINE" != x ; then
3385 eval "DEFAULT_$LINE"
3386 else
3387 no_cache=1
3388 fi
3389
3390 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3391
3392 fi
3393
3394
3395 eval "$ac_cv_use_gui"
3396 if test "$no_cache" != 1; then
3397 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3398 fi
3399
3400 if test "$wxUSE_GUI" = yes; then
3401 { echo "$as_me:$LINENO: result: yes" >&5
3402 echo "${ECHO_T}yes" >&6; }
3403 else
3404 { echo "$as_me:$LINENO: result: no" >&5
3405 echo "${ECHO_T}no" >&6; }
3406 fi
3407
3408
3409 enablestring=
3410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3411 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3412 no_cache=0
3413 # Check whether --enable-monolithic was given.
3414 if test "${enable_monolithic+set}" = set; then
3415 enableval=$enable_monolithic;
3416 if test "$enableval" = yes; then
3417 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3418 else
3419 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3420 fi
3421
3422 else
3423
3424 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3425 if test "x$LINE" != x ; then
3426 eval "DEFAULT_$LINE"
3427 else
3428 no_cache=1
3429 fi
3430
3431 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3432
3433 fi
3434
3435
3436 eval "$ac_cv_use_monolithic"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3439 fi
3440
3441 if test "$wxUSE_MONOLITHIC" = yes; then
3442 { echo "$as_me:$LINENO: result: yes" >&5
3443 echo "${ECHO_T}yes" >&6; }
3444 else
3445 { echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6; }
3447 fi
3448
3449
3450 enablestring=
3451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3452 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3453 no_cache=0
3454 # Check whether --enable-plugins was given.
3455 if test "${enable_plugins+set}" = set; then
3456 enableval=$enable_plugins;
3457 if test "$enableval" = yes; then
3458 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3459 else
3460 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3461 fi
3462
3463 else
3464
3465 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3466 if test "x$LINE" != x ; then
3467 eval "DEFAULT_$LINE"
3468 else
3469 no_cache=1
3470 fi
3471
3472 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3473
3474 fi
3475
3476
3477 eval "$ac_cv_use_plugins"
3478 if test "$no_cache" != 1; then
3479 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3480 fi
3481
3482 if test "$wxUSE_PLUGINS" = yes; then
3483 { echo "$as_me:$LINENO: result: yes" >&5
3484 echo "${ECHO_T}yes" >&6; }
3485 else
3486 { echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6; }
3488 fi
3489
3490
3491 withstring=without
3492 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3493 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3494 no_cache=0
3495
3496 # Check whether --with-subdirs was given.
3497 if test "${with_subdirs+set}" = set; then
3498 withval=$with_subdirs;
3499 if test "$withval" = yes; then
3500 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3501 else
3502 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3503 fi
3504
3505 else
3506
3507 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3508 if test "x$LINE" != x ; then
3509 eval "DEFAULT_$LINE"
3510 else
3511 no_cache=1
3512 fi
3513
3514 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3515
3516 fi
3517
3518
3519 eval "$ac_cv_use_subdirs"
3520 if test "$no_cache" != 1; then
3521 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3522 fi
3523
3524 if test "$wxWITH_SUBDIRS" = yes; then
3525 { echo "$as_me:$LINENO: result: yes" >&5
3526 echo "${ECHO_T}yes" >&6; }
3527 else
3528 { echo "$as_me:$LINENO: result: no" >&5
3529 echo "${ECHO_T}no" >&6; }
3530 fi
3531
3532
3533 if test "$wxUSE_GUI" = "yes"; then
3534
3535
3536 enablestring=
3537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3538 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3539 no_cache=0
3540 # Check whether --enable-universal was given.
3541 if test "${enable_universal+set}" = set; then
3542 enableval=$enable_universal;
3543 if test "$enableval" = yes; then
3544 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3545 else
3546 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3547 fi
3548
3549 else
3550
3551 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3552 if test "x$LINE" != x ; then
3553 eval "DEFAULT_$LINE"
3554 else
3555 no_cache=1
3556 fi
3557
3558 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3559
3560 fi
3561
3562
3563 eval "$ac_cv_use_universal"
3564 if test "$no_cache" != 1; then
3565 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3566 fi
3567
3568 if test "$wxUSE_UNIVERSAL" = yes; then
3569 { echo "$as_me:$LINENO: result: yes" >&5
3570 echo "${ECHO_T}yes" >&6; }
3571 else
3572 { echo "$as_me:$LINENO: result: no" >&5
3573 echo "${ECHO_T}no" >&6; }
3574 fi
3575
3576
3577 # Check whether --with-gtk was given.
3578 if test "${with_gtk+set}" = set; then
3579 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3580 fi
3581
3582
3583 # Check whether --with-motif was given.
3584 if test "${with_motif+set}" = set; then
3585 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3586 fi
3587
3588
3589 # Check whether --with-mac was given.
3590 if test "${with_mac+set}" = set; then
3591 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3592 fi
3593
3594
3595 # Check whether --with-cocoa was given.
3596 if test "${with_cocoa+set}" = set; then
3597 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3598 fi
3599
3600
3601 # Check whether --with-wine was given.
3602 if test "${with_wine+set}" = set; then
3603 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3604 fi
3605
3606
3607 # Check whether --with-msw was given.
3608 if test "${with_msw+set}" = set; then
3609 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3610 fi
3611
3612
3613 # Check whether --with-pm was given.
3614 if test "${with_pm+set}" = set; then
3615 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3616 fi
3617
3618
3619 # Check whether --with-mgl was given.
3620 if test "${with_mgl+set}" = set; then
3621 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3622 fi
3623
3624
3625 # Check whether --with-directfb was given.
3626 if test "${with_directfb+set}" = set; then
3627 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3628 fi
3629
3630
3631 # Check whether --with-microwin was given.
3632 if test "${with_microwin+set}" = set; then
3633 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3634 fi
3635
3636
3637 # Check whether --with-x11 was given.
3638 if test "${with_x11+set}" = set; then
3639 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3640 fi
3641
3642
3643 enablestring=
3644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3645 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3646 no_cache=0
3647 # Check whether --enable-nanox was given.
3648 if test "${enable_nanox+set}" = set; then
3649 enableval=$enable_nanox;
3650 if test "$enableval" = yes; then
3651 ac_cv_use_nanox='wxUSE_NANOX=yes'
3652 else
3653 ac_cv_use_nanox='wxUSE_NANOX=no'
3654 fi
3655
3656 else
3657
3658 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3659 if test "x$LINE" != x ; then
3660 eval "DEFAULT_$LINE"
3661 else
3662 no_cache=1
3663 fi
3664
3665 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3666
3667 fi
3668
3669
3670 eval "$ac_cv_use_nanox"
3671 if test "$no_cache" != 1; then
3672 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3673 fi
3674
3675 if test "$wxUSE_NANOX" = yes; then
3676 { echo "$as_me:$LINENO: result: yes" >&5
3677 echo "${ECHO_T}yes" >&6; }
3678 else
3679 { echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6; }
3681 fi
3682
3683
3684 # Check whether --enable-gtk2 was given.
3685 if test "${enable_gtk2+set}" = set; then
3686 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3687 fi
3688
3689
3690 enablestring=
3691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3692 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3693 no_cache=0
3694 # Check whether --enable-gpe was given.
3695 if test "${enable_gpe+set}" = set; then
3696 enableval=$enable_gpe;
3697 if test "$enableval" = yes; then
3698 ac_cv_use_gpe='wxUSE_GPE=yes'
3699 else
3700 ac_cv_use_gpe='wxUSE_GPE=no'
3701 fi
3702
3703 else
3704
3705 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3706 if test "x$LINE" != x ; then
3707 eval "DEFAULT_$LINE"
3708 else
3709 no_cache=1
3710 fi
3711
3712 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3713
3714 fi
3715
3716
3717 eval "$ac_cv_use_gpe"
3718 if test "$no_cache" != 1; then
3719 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3720 fi
3721
3722 if test "$wxUSE_GPE" = yes; then
3723 { echo "$as_me:$LINENO: result: yes" >&5
3724 echo "${ECHO_T}yes" >&6; }
3725 else
3726 { echo "$as_me:$LINENO: result: no" >&5
3727 echo "${ECHO_T}no" >&6; }
3728 fi
3729
3730
3731
3732 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3733 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3734 no_cache=0
3735
3736 # Check whether --with-libpng was given.
3737 if test "${with_libpng+set}" = set; then
3738 withval=$with_libpng;
3739 if test "$withval" = yes; then
3740 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3741 elif test "$withval" = no; then
3742 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3743 elif test "$withval" = sys; then
3744 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3747 else
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3751 fi
3752
3753 else
3754
3755 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3763
3764 fi
3765
3766
3767 eval "$ac_cv_use_libpng"
3768 if test "$no_cache" != 1; then
3769 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3770 fi
3771
3772 if test "$wxUSE_LIBPNG" = yes; then
3773 { echo "$as_me:$LINENO: result: yes" >&5
3774 echo "${ECHO_T}yes" >&6; }
3775 elif test "$wxUSE_LIBPNG" = no; then
3776 { echo "$as_me:$LINENO: result: no" >&5
3777 echo "${ECHO_T}no" >&6; }
3778 elif test "$wxUSE_LIBPNG" = sys; then
3779 { echo "$as_me:$LINENO: result: system version" >&5
3780 echo "${ECHO_T}system version" >&6; }
3781 elif test "$wxUSE_LIBPNG" = builtin; then
3782 { echo "$as_me:$LINENO: result: builtin version" >&5
3783 echo "${ECHO_T}builtin version" >&6; }
3784 else
3785 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3786 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3787 { (exit 1); exit 1; }; }
3788 fi
3789
3790
3791 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3792 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3793 no_cache=0
3794
3795 # Check whether --with-libjpeg was given.
3796 if test "${with_libjpeg+set}" = set; then
3797 withval=$with_libjpeg;
3798 if test "$withval" = yes; then
3799 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3800 elif test "$withval" = no; then
3801 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3802 elif test "$withval" = sys; then
3803 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3804 elif test "$withval" = builtin; then
3805 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3806 else
3807 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3808 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3809 { (exit 1); exit 1; }; }
3810 fi
3811
3812 else
3813
3814 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3815 if test "x$LINE" != x ; then
3816 eval "DEFAULT_$LINE"
3817 else
3818 no_cache=1
3819 fi
3820
3821 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3822
3823 fi
3824
3825
3826 eval "$ac_cv_use_libjpeg"
3827 if test "$no_cache" != 1; then
3828 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3829 fi
3830
3831 if test "$wxUSE_LIBJPEG" = yes; then
3832 { echo "$as_me:$LINENO: result: yes" >&5
3833 echo "${ECHO_T}yes" >&6; }
3834 elif test "$wxUSE_LIBJPEG" = no; then
3835 { echo "$as_me:$LINENO: result: no" >&5
3836 echo "${ECHO_T}no" >&6; }
3837 elif test "$wxUSE_LIBJPEG" = sys; then
3838 { echo "$as_me:$LINENO: result: system version" >&5
3839 echo "${ECHO_T}system version" >&6; }
3840 elif test "$wxUSE_LIBJPEG" = builtin; then
3841 { echo "$as_me:$LINENO: result: builtin version" >&5
3842 echo "${ECHO_T}builtin version" >&6; }
3843 else
3844 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3845 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3846 { (exit 1); exit 1; }; }
3847 fi
3848
3849
3850 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3851 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3852 no_cache=0
3853
3854 # Check whether --with-libtiff was given.
3855 if test "${with_libtiff+set}" = set; then
3856 withval=$with_libtiff;
3857 if test "$withval" = yes; then
3858 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3859 elif test "$withval" = no; then
3860 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3861 elif test "$withval" = sys; then
3862 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3863 elif test "$withval" = builtin; then
3864 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3865 else
3866 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3867 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3868 { (exit 1); exit 1; }; }
3869 fi
3870
3871 else
3872
3873 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x ; then
3875 eval "DEFAULT_$LINE"
3876 else
3877 no_cache=1
3878 fi
3879
3880 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3881
3882 fi
3883
3884
3885 eval "$ac_cv_use_libtiff"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3888 fi
3889
3890 if test "$wxUSE_LIBTIFF" = yes; then
3891 { echo "$as_me:$LINENO: result: yes" >&5
3892 echo "${ECHO_T}yes" >&6; }
3893 elif test "$wxUSE_LIBTIFF" = no; then
3894 { echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6; }
3896 elif test "$wxUSE_LIBTIFF" = sys; then
3897 { echo "$as_me:$LINENO: result: system version" >&5
3898 echo "${ECHO_T}system version" >&6; }
3899 elif test "$wxUSE_LIBTIFF" = builtin; then
3900 { echo "$as_me:$LINENO: result: builtin version" >&5
3901 echo "${ECHO_T}builtin version" >&6; }
3902 else
3903 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3904 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3905 { (exit 1); exit 1; }; }
3906 fi
3907
3908
3909 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3910 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3911 no_cache=0
3912
3913 # Check whether --with-libxpm was given.
3914 if test "${with_libxpm+set}" = set; then
3915 withval=$with_libxpm;
3916 if test "$withval" = yes; then
3917 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3918 elif test "$withval" = no; then
3919 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3920 elif test "$withval" = sys; then
3921 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3922 elif test "$withval" = builtin; then
3923 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3924 else
3925 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3926 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3927 { (exit 1); exit 1; }; }
3928 fi
3929
3930 else
3931
3932 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3933 if test "x$LINE" != x ; then
3934 eval "DEFAULT_$LINE"
3935 else
3936 no_cache=1
3937 fi
3938
3939 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3940
3941 fi
3942
3943
3944 eval "$ac_cv_use_libxpm"
3945 if test "$no_cache" != 1; then
3946 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3947 fi
3948
3949 if test "$wxUSE_LIBXPM" = yes; then
3950 { echo "$as_me:$LINENO: result: yes" >&5
3951 echo "${ECHO_T}yes" >&6; }
3952 elif test "$wxUSE_LIBXPM" = no; then
3953 { echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6; }
3955 elif test "$wxUSE_LIBXPM" = sys; then
3956 { echo "$as_me:$LINENO: result: system version" >&5
3957 echo "${ECHO_T}system version" >&6; }
3958 elif test "$wxUSE_LIBXPM" = builtin; then
3959 { echo "$as_me:$LINENO: result: builtin version" >&5
3960 echo "${ECHO_T}builtin version" >&6; }
3961 else
3962 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3963 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3964 { (exit 1); exit 1; }; }
3965 fi
3966
3967
3968 withstring=
3969 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3970 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3971 no_cache=0
3972
3973 # Check whether --with-libmspack was given.
3974 if test "${with_libmspack+set}" = set; then
3975 withval=$with_libmspack;
3976 if test "$withval" = yes; then
3977 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3978 else
3979 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3980 fi
3981
3982 else
3983
3984 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3985 if test "x$LINE" != x ; then
3986 eval "DEFAULT_$LINE"
3987 else
3988 no_cache=1
3989 fi
3990
3991 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3992
3993 fi
3994
3995
3996 eval "$ac_cv_use_libmspack"
3997 if test "$no_cache" != 1; then
3998 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3999 fi
4000
4001 if test "$wxUSE_LIBMSPACK" = yes; then
4002 { echo "$as_me:$LINENO: result: yes" >&5
4003 echo "${ECHO_T}yes" >&6; }
4004 else
4005 { echo "$as_me:$LINENO: result: no" >&5
4006 echo "${ECHO_T}no" >&6; }
4007 fi
4008
4009
4010 withstring=
4011 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4012 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4013 no_cache=0
4014
4015 # Check whether --with-sdl was given.
4016 if test "${with_sdl+set}" = set; then
4017 withval=$with_sdl;
4018 if test "$withval" = yes; then
4019 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4020 else
4021 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4022 fi
4023
4024 else
4025
4026 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x ; then
4028 eval "DEFAULT_$LINE"
4029 else
4030 no_cache=1
4031 fi
4032
4033 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4034
4035 fi
4036
4037
4038 eval "$ac_cv_use_sdl"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_LIBSDL" = yes; then
4044 { echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6; }
4046 else
4047 { echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6; }
4049 fi
4050
4051
4052 withstring=
4053 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4054 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4055 no_cache=0
4056
4057 # Check whether --with-gnomeprint was given.
4058 if test "${with_gnomeprint+set}" = set; then
4059 withval=$with_gnomeprint;
4060 if test "$withval" = yes; then
4061 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4062 else
4063 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4076
4077 fi
4078
4079
4080 eval "$ac_cv_use_gnomeprint"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4083 fi
4084
4085 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4086 { echo "$as_me:$LINENO: result: yes" >&5
4087 echo "${ECHO_T}yes" >&6; }
4088 else
4089 { echo "$as_me:$LINENO: result: no" >&5
4090 echo "${ECHO_T}no" >&6; }
4091 fi
4092
4093
4094 withstring=
4095 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4096 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4097 no_cache=0
4098
4099 # Check whether --with-gnomevfs was given.
4100 if test "${with_gnomevfs+set}" = set; then
4101 withval=$with_gnomevfs;
4102 if test "$withval" = yes; then
4103 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4104 else
4105 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4106 fi
4107
4108 else
4109
4110 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4111 if test "x$LINE" != x ; then
4112 eval "DEFAULT_$LINE"
4113 else
4114 no_cache=1
4115 fi
4116
4117 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4118
4119 fi
4120
4121
4122 eval "$ac_cv_use_gnomevfs"
4123 if test "$no_cache" != 1; then
4124 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4125 fi
4126
4127 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4128 { echo "$as_me:$LINENO: result: yes" >&5
4129 echo "${ECHO_T}yes" >&6; }
4130 else
4131 { echo "$as_me:$LINENO: result: no" >&5
4132 echo "${ECHO_T}no" >&6; }
4133 fi
4134
4135
4136 withstring=
4137 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4138 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4139 no_cache=0
4140
4141 # Check whether --with-hildon was given.
4142 if test "${with_hildon+set}" = set; then
4143 withval=$with_hildon;
4144 if test "$withval" = yes; then
4145 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4146 else
4147 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4148 fi
4149
4150 else
4151
4152 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4153 if test "x$LINE" != x ; then
4154 eval "DEFAULT_$LINE"
4155 else
4156 no_cache=1
4157 fi
4158
4159 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4160
4161 fi
4162
4163
4164 eval "$ac_cv_use_hildon"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4167 fi
4168
4169 if test "$wxUSE_LIBHILDON" = yes; then
4170 { echo "$as_me:$LINENO: result: yes" >&5
4171 echo "${ECHO_T}yes" >&6; }
4172 else
4173 { echo "$as_me:$LINENO: result: no" >&5
4174 echo "${ECHO_T}no" >&6; }
4175 fi
4176
4177
4178 withstring=
4179 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4180 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4181 no_cache=0
4182
4183 # Check whether --with-opengl was given.
4184 if test "${with_opengl+set}" = set; then
4185 withval=$with_opengl;
4186 if test "$withval" = yes; then
4187 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4188 else
4189 ac_cv_use_opengl='wxUSE_OPENGL=no'
4190 fi
4191
4192 else
4193
4194 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4195 if test "x$LINE" != x ; then
4196 eval "DEFAULT_$LINE"
4197 else
4198 no_cache=1
4199 fi
4200
4201 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4202
4203 fi
4204
4205
4206 eval "$ac_cv_use_opengl"
4207 if test "$no_cache" != 1; then
4208 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4209 fi
4210
4211 if test "$wxUSE_OPENGL" = yes; then
4212 { echo "$as_me:$LINENO: result: yes" >&5
4213 echo "${ECHO_T}yes" >&6; }
4214 else
4215 { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4217 fi
4218
4219
4220 if test "$wxUSE_UNIVERSAL" = "yes"; then
4221
4222 # Check whether --with-themes was given.
4223 if test "${with_themes+set}" = set; then
4224 withval=$with_themes; wxUNIV_THEMES="$withval"
4225 fi
4226
4227 fi
4228
4229 fi
4230
4231
4232 withstring=
4233 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4234 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4235 no_cache=0
4236
4237 # Check whether --with-dmalloc was given.
4238 if test "${with_dmalloc+set}" = set; then
4239 withval=$with_dmalloc;
4240 if test "$withval" = yes; then
4241 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4242 else
4243 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4244 fi
4245
4246 else
4247
4248 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4249 if test "x$LINE" != x ; then
4250 eval "DEFAULT_$LINE"
4251 else
4252 no_cache=1
4253 fi
4254
4255 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4256
4257 fi
4258
4259
4260 eval "$ac_cv_use_dmalloc"
4261 if test "$no_cache" != 1; then
4262 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4263 fi
4264
4265 if test "$wxUSE_DMALLOC" = yes; then
4266 { echo "$as_me:$LINENO: result: yes" >&5
4267 echo "${ECHO_T}yes" >&6; }
4268 else
4269 { echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6; }
4271 fi
4272
4273
4274 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4275 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4276 no_cache=0
4277
4278 # Check whether --with-regex was given.
4279 if test "${with_regex+set}" = set; then
4280 withval=$with_regex;
4281 if test "$withval" = yes; then
4282 ac_cv_use_regex='wxUSE_REGEX=yes'
4283 elif test "$withval" = no; then
4284 ac_cv_use_regex='wxUSE_REGEX=no'
4285 elif test "$withval" = sys; then
4286 ac_cv_use_regex='wxUSE_REGEX=sys'
4287 elif test "$withval" = builtin; then
4288 ac_cv_use_regex='wxUSE_REGEX=builtin'
4289 else
4290 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4291 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4292 { (exit 1); exit 1; }; }
4293 fi
4294
4295 else
4296
4297 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4298 if test "x$LINE" != x ; then
4299 eval "DEFAULT_$LINE"
4300 else
4301 no_cache=1
4302 fi
4303
4304 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4305
4306 fi
4307
4308
4309 eval "$ac_cv_use_regex"
4310 if test "$no_cache" != 1; then
4311 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4312 fi
4313
4314 if test "$wxUSE_REGEX" = yes; then
4315 { echo "$as_me:$LINENO: result: yes" >&5
4316 echo "${ECHO_T}yes" >&6; }
4317 elif test "$wxUSE_REGEX" = no; then
4318 { echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6; }
4320 elif test "$wxUSE_REGEX" = sys; then
4321 { echo "$as_me:$LINENO: result: system version" >&5
4322 echo "${ECHO_T}system version" >&6; }
4323 elif test "$wxUSE_REGEX" = builtin; then
4324 { echo "$as_me:$LINENO: result: builtin version" >&5
4325 echo "${ECHO_T}builtin version" >&6; }
4326 else
4327 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4328 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4329 { (exit 1); exit 1; }; }
4330 fi
4331
4332
4333 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4334 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4335 no_cache=0
4336
4337 # Check whether --with-zlib was given.
4338 if test "${with_zlib+set}" = set; then
4339 withval=$with_zlib;
4340 if test "$withval" = yes; then
4341 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4342 elif test "$withval" = no; then
4343 ac_cv_use_zlib='wxUSE_ZLIB=no'
4344 elif test "$withval" = sys; then
4345 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4346 elif test "$withval" = builtin; then
4347 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4348 else
4349 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4350 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4351 { (exit 1); exit 1; }; }
4352 fi
4353
4354 else
4355
4356 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x ; then
4358 eval "DEFAULT_$LINE"
4359 else
4360 no_cache=1
4361 fi
4362
4363 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4364
4365 fi
4366
4367
4368 eval "$ac_cv_use_zlib"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4371 fi
4372
4373 if test "$wxUSE_ZLIB" = yes; then
4374 { echo "$as_me:$LINENO: result: yes" >&5
4375 echo "${ECHO_T}yes" >&6; }
4376 elif test "$wxUSE_ZLIB" = no; then
4377 { echo "$as_me:$LINENO: result: no" >&5
4378 echo "${ECHO_T}no" >&6; }
4379 elif test "$wxUSE_ZLIB" = sys; then
4380 { echo "$as_me:$LINENO: result: system version" >&5
4381 echo "${ECHO_T}system version" >&6; }
4382 elif test "$wxUSE_ZLIB" = builtin; then
4383 { echo "$as_me:$LINENO: result: builtin version" >&5
4384 echo "${ECHO_T}builtin version" >&6; }
4385 else
4386 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4387 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4388 { (exit 1); exit 1; }; }
4389 fi
4390
4391
4392 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4393 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4394 no_cache=0
4395
4396 # Check whether --with-odbc was given.
4397 if test "${with_odbc+set}" = set; then
4398 withval=$with_odbc;
4399 if test "$withval" = yes; then
4400 ac_cv_use_odbc='wxUSE_ODBC=yes'
4401 elif test "$withval" = no; then
4402 ac_cv_use_odbc='wxUSE_ODBC=no'
4403 elif test "$withval" = sys; then
4404 ac_cv_use_odbc='wxUSE_ODBC=sys'
4405 elif test "$withval" = builtin; then
4406 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4407 else
4408 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4409 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4410 { (exit 1); exit 1; }; }
4411 fi
4412
4413 else
4414
4415 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4416 if test "x$LINE" != x ; then
4417 eval "DEFAULT_$LINE"
4418 else
4419 no_cache=1
4420 fi
4421
4422 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4423
4424 fi
4425
4426
4427 eval "$ac_cv_use_odbc"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4430 fi
4431
4432 if test "$wxUSE_ODBC" = yes; then
4433 { echo "$as_me:$LINENO: result: yes" >&5
4434 echo "${ECHO_T}yes" >&6; }
4435 elif test "$wxUSE_ODBC" = no; then
4436 { echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6; }
4438 elif test "$wxUSE_ODBC" = sys; then
4439 { echo "$as_me:$LINENO: result: system version" >&5
4440 echo "${ECHO_T}system version" >&6; }
4441 elif test "$wxUSE_ODBC" = builtin; then
4442 { echo "$as_me:$LINENO: result: builtin version" >&5
4443 echo "${ECHO_T}builtin version" >&6; }
4444 else
4445 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4446 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4447 { (exit 1); exit 1; }; }
4448 fi
4449
4450
4451 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4452 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4453 no_cache=0
4454
4455 # Check whether --with-expat was given.
4456 if test "${with_expat+set}" = set; then
4457 withval=$with_expat;
4458 if test "$withval" = yes; then
4459 ac_cv_use_expat='wxUSE_EXPAT=yes'
4460 elif test "$withval" = no; then
4461 ac_cv_use_expat='wxUSE_EXPAT=no'
4462 elif test "$withval" = sys; then
4463 ac_cv_use_expat='wxUSE_EXPAT=sys'
4464 elif test "$withval" = builtin; then
4465 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4466 else
4467 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4468 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4469 { (exit 1); exit 1; }; }
4470 fi
4471
4472 else
4473
4474 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x ; then
4476 eval "DEFAULT_$LINE"
4477 else
4478 no_cache=1
4479 fi
4480
4481 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4482
4483 fi
4484
4485
4486 eval "$ac_cv_use_expat"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4489 fi
4490
4491 if test "$wxUSE_EXPAT" = yes; then
4492 { echo "$as_me:$LINENO: result: yes" >&5
4493 echo "${ECHO_T}yes" >&6; }
4494 elif test "$wxUSE_EXPAT" = no; then
4495 { echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6; }
4497 elif test "$wxUSE_EXPAT" = sys; then
4498 { echo "$as_me:$LINENO: result: system version" >&5
4499 echo "${ECHO_T}system version" >&6; }
4500 elif test "$wxUSE_EXPAT" = builtin; then
4501 { echo "$as_me:$LINENO: result: builtin version" >&5
4502 echo "${ECHO_T}builtin version" >&6; }
4503 else
4504 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4505 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4506 { (exit 1); exit 1; }; }
4507 fi
4508
4509
4510
4511
4512 enablestring=
4513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4514 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4515 no_cache=0
4516 # Check whether --enable-shared was given.
4517 if test "${enable_shared+set}" = set; then
4518 enableval=$enable_shared;
4519 if test "$enableval" = yes; then
4520 ac_cv_use_shared='wxUSE_SHARED=yes'
4521 else
4522 ac_cv_use_shared='wxUSE_SHARED=no'
4523 fi
4524
4525 else
4526
4527 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4528 if test "x$LINE" != x ; then
4529 eval "DEFAULT_$LINE"
4530 else
4531 no_cache=1
4532 fi
4533
4534 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4535
4536 fi
4537
4538
4539 eval "$ac_cv_use_shared"
4540 if test "$no_cache" != 1; then
4541 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4542 fi
4543
4544 if test "$wxUSE_SHARED" = yes; then
4545 { echo "$as_me:$LINENO: result: yes" >&5
4546 echo "${ECHO_T}yes" >&6; }
4547 else
4548 { echo "$as_me:$LINENO: result: no" >&5
4549 echo "${ECHO_T}no" >&6; }
4550 fi
4551
4552
4553 enablestring=
4554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4555 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4556 no_cache=0
4557 # Check whether --enable-optimise was given.
4558 if test "${enable_optimise+set}" = set; then
4559 enableval=$enable_optimise;
4560 if test "$enableval" = yes; then
4561 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4562 else
4563 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4564 fi
4565
4566 else
4567
4568 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4569 if test "x$LINE" != x ; then
4570 eval "DEFAULT_$LINE"
4571 else
4572 no_cache=1
4573 fi
4574
4575 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4576
4577 fi
4578
4579
4580 eval "$ac_cv_use_optimise"
4581 if test "$no_cache" != 1; then
4582 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4583 fi
4584
4585 if test "$wxUSE_OPTIMISE" = yes; then
4586 { echo "$as_me:$LINENO: result: yes" >&5
4587 echo "${ECHO_T}yes" >&6; }
4588 else
4589 { echo "$as_me:$LINENO: result: no" >&5
4590 echo "${ECHO_T}no" >&6; }
4591 fi
4592
4593
4594 enablestring=
4595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4596 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4597 no_cache=0
4598 # Check whether --enable-debug was given.
4599 if test "${enable_debug+set}" = set; then
4600 enableval=$enable_debug;
4601 if test "$enableval" = yes; then
4602 ac_cv_use_debug='wxUSE_DEBUG=yes'
4603 else
4604 ac_cv_use_debug='wxUSE_DEBUG=no'
4605 fi
4606
4607 else
4608
4609 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4610 if test "x$LINE" != x ; then
4611 eval "DEFAULT_$LINE"
4612 else
4613 no_cache=1
4614 fi
4615
4616 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4617
4618 fi
4619
4620
4621 eval "$ac_cv_use_debug"
4622 if test "$no_cache" != 1; then
4623 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4624 fi
4625
4626 if test "$wxUSE_DEBUG" = yes; then
4627 { echo "$as_me:$LINENO: result: yes" >&5
4628 echo "${ECHO_T}yes" >&6; }
4629 else
4630 { echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6; }
4632 fi
4633
4634
4635 enablestring=
4636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4637 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4638 no_cache=0
4639 # Check whether --enable-stl was given.
4640 if test "${enable_stl+set}" = set; then
4641 enableval=$enable_stl;
4642 if test "$enableval" = yes; then
4643 ac_cv_use_stl='wxUSE_STL=yes'
4644 else
4645 ac_cv_use_stl='wxUSE_STL=no'
4646 fi
4647
4648 else
4649
4650 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4653 else
4654 no_cache=1
4655 fi
4656
4657 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4658
4659 fi
4660
4661
4662 eval "$ac_cv_use_stl"
4663 if test "$no_cache" != 1; then
4664 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4665 fi
4666
4667 if test "$wxUSE_STL" = yes; then
4668 { echo "$as_me:$LINENO: result: yes" >&5
4669 echo "${ECHO_T}yes" >&6; }
4670 else
4671 { echo "$as_me:$LINENO: result: no" >&5
4672 echo "${ECHO_T}no" >&6; }
4673 fi
4674
4675 if test "$USE_OS2" = "1"; then
4676 DEFAULT_wxUSE_OMF=no
4677
4678 enablestring=
4679 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4680 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4681 no_cache=0
4682 # Check whether --enable-omf was given.
4683 if test "${enable_omf+set}" = set; then
4684 enableval=$enable_omf;
4685 if test "$enableval" = yes; then
4686 ac_cv_use_omf='wxUSE_OMF=yes'
4687 else
4688 ac_cv_use_omf='wxUSE_OMF=no'
4689 fi
4690
4691 else
4692
4693 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4694 if test "x$LINE" != x ; then
4695 eval "DEFAULT_$LINE"
4696 else
4697 no_cache=1
4698 fi
4699
4700 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4701
4702 fi
4703
4704
4705 eval "$ac_cv_use_omf"
4706 if test "$no_cache" != 1; then
4707 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4708 fi
4709
4710 if test "$wxUSE_OMF" = yes; then
4711 { echo "$as_me:$LINENO: result: yes" >&5
4712 echo "${ECHO_T}yes" >&6; }
4713 else
4714 { echo "$as_me:$LINENO: result: no" >&5
4715 echo "${ECHO_T}no" >&6; }
4716 fi
4717
4718 fi
4719
4720 if test "$wxUSE_DEBUG" = "yes"; then
4721 DEFAULT_wxUSE_DEBUG_FLAG=yes
4722 DEFAULT_wxUSE_DEBUG_INFO=yes
4723 BUILD=debug
4724 elif test "$wxUSE_DEBUG" = "no"; then
4725 DEFAULT_wxUSE_DEBUG_FLAG=no
4726 DEFAULT_wxUSE_DEBUG_INFO=no
4727 BUILD=release
4728 fi
4729
4730
4731 enablestring=
4732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4733 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4734 no_cache=0
4735 # Check whether --enable-debug_flag was given.
4736 if test "${enable_debug_flag+set}" = set; then
4737 enableval=$enable_debug_flag;
4738 if test "$enableval" = yes; then
4739 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4740 else
4741 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4742 fi
4743
4744 else
4745
4746 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4747 if test "x$LINE" != x ; then
4748 eval "DEFAULT_$LINE"
4749 else
4750 no_cache=1
4751 fi
4752
4753 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4754
4755 fi
4756
4757
4758 eval "$ac_cv_use_debug_flag"
4759 if test "$no_cache" != 1; then
4760 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4761 fi
4762
4763 if test "$wxUSE_DEBUG_FLAG" = yes; then
4764 { echo "$as_me:$LINENO: result: yes" >&5
4765 echo "${ECHO_T}yes" >&6; }
4766 else
4767 { echo "$as_me:$LINENO: result: no" >&5
4768 echo "${ECHO_T}no" >&6; }
4769 fi
4770
4771
4772 enablestring=
4773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4774 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4775 no_cache=0
4776 # Check whether --enable-debug_info was given.
4777 if test "${enable_debug_info+set}" = set; then
4778 enableval=$enable_debug_info;
4779 if test "$enableval" = yes; then
4780 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4781 else
4782 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4783 fi
4784
4785 else
4786
4787 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4788 if test "x$LINE" != x ; then
4789 eval "DEFAULT_$LINE"
4790 else
4791 no_cache=1
4792 fi
4793
4794 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4795
4796 fi
4797
4798
4799 eval "$ac_cv_use_debug_info"
4800 if test "$no_cache" != 1; then
4801 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4802 fi
4803
4804 if test "$wxUSE_DEBUG_INFO" = yes; then
4805 { echo "$as_me:$LINENO: result: yes" >&5
4806 echo "${ECHO_T}yes" >&6; }
4807 else
4808 { echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6; }
4810 fi
4811
4812
4813 enablestring=
4814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4815 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4816 no_cache=0
4817 # Check whether --enable-debug_gdb was given.
4818 if test "${enable_debug_gdb+set}" = set; then
4819 enableval=$enable_debug_gdb;
4820 if test "$enableval" = yes; then
4821 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4822 else
4823 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4824 fi
4825
4826 else
4827
4828 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x ; then
4830 eval "DEFAULT_$LINE"
4831 else
4832 no_cache=1
4833 fi
4834
4835 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4836
4837 fi
4838
4839
4840 eval "$ac_cv_use_debug_gdb"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4843 fi
4844
4845 if test "$wxUSE_DEBUG_GDB" = yes; then
4846 { echo "$as_me:$LINENO: result: yes" >&5
4847 echo "${ECHO_T}yes" >&6; }
4848 else
4849 { echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6; }
4851 fi
4852
4853
4854 enablestring=
4855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4856 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4857 no_cache=0
4858 # Check whether --enable-debug_cntxt was given.
4859 if test "${enable_debug_cntxt+set}" = set; then
4860 enableval=$enable_debug_cntxt;
4861 if test "$enableval" = yes; then
4862 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4863 else
4864 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4865 fi
4866
4867 else
4868
4869 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4870 if test "x$LINE" != x ; then
4871 eval "DEFAULT_$LINE"
4872 else
4873 no_cache=1
4874 fi
4875
4876 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4877
4878 fi
4879
4880
4881 eval "$ac_cv_use_debug_cntxt"
4882 if test "$no_cache" != 1; then
4883 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4884 fi
4885
4886 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4887 { echo "$as_me:$LINENO: result: yes" >&5
4888 echo "${ECHO_T}yes" >&6; }
4889 else
4890 { echo "$as_me:$LINENO: result: no" >&5
4891 echo "${ECHO_T}no" >&6; }
4892 fi
4893
4894
4895 enablestring=
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4898 no_cache=0
4899 # Check whether --enable-mem_tracing was given.
4900 if test "${enable_mem_tracing+set}" = set; then
4901 enableval=$enable_mem_tracing;
4902 if test "$enableval" = yes; then
4903 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4904 else
4905 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4906 fi
4907
4908 else
4909
4910 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x ; then
4912 eval "DEFAULT_$LINE"
4913 else
4914 no_cache=1
4915 fi
4916
4917 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4918
4919 fi
4920
4921
4922 eval "$ac_cv_use_mem_tracing"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4925 fi
4926
4927 if test "$wxUSE_MEM_TRACING" = yes; then
4928 { echo "$as_me:$LINENO: result: yes" >&5
4929 echo "${ECHO_T}yes" >&6; }
4930 else
4931 { echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6; }
4933 fi
4934
4935
4936 enablestring=
4937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4938 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4939 no_cache=0
4940 # Check whether --enable-profile was given.
4941 if test "${enable_profile+set}" = set; then
4942 enableval=$enable_profile;
4943 if test "$enableval" = yes; then
4944 ac_cv_use_profile='wxUSE_PROFILE=yes'
4945 else
4946 ac_cv_use_profile='wxUSE_PROFILE=no'
4947 fi
4948
4949 else
4950
4951 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4952 if test "x$LINE" != x ; then
4953 eval "DEFAULT_$LINE"
4954 else
4955 no_cache=1
4956 fi
4957
4958 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4959
4960 fi
4961
4962
4963 eval "$ac_cv_use_profile"
4964 if test "$no_cache" != 1; then
4965 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4966 fi
4967
4968 if test "$wxUSE_PROFILE" = yes; then
4969 { echo "$as_me:$LINENO: result: yes" >&5
4970 echo "${ECHO_T}yes" >&6; }
4971 else
4972 { echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6; }
4974 fi
4975
4976
4977 enablestring=
4978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4979 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4980 no_cache=0
4981 # Check whether --enable-no_rtti was given.
4982 if test "${enable_no_rtti+set}" = set; then
4983 enableval=$enable_no_rtti;
4984 if test "$enableval" = yes; then
4985 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4986 else
4987 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4988 fi
4989
4990 else
4991
4992 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4993 if test "x$LINE" != x ; then
4994 eval "DEFAULT_$LINE"
4995 else
4996 no_cache=1
4997 fi
4998
4999 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5000
5001 fi
5002
5003
5004 eval "$ac_cv_use_no_rtti"
5005 if test "$no_cache" != 1; then
5006 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5007 fi
5008
5009 if test "$wxUSE_NO_RTTI" = yes; then
5010 { echo "$as_me:$LINENO: result: yes" >&5
5011 echo "${ECHO_T}yes" >&6; }
5012 else
5013 { echo "$as_me:$LINENO: result: no" >&5
5014 echo "${ECHO_T}no" >&6; }
5015 fi
5016
5017
5018 enablestring=
5019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5020 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5021 no_cache=0
5022 # Check whether --enable-no_exceptions was given.
5023 if test "${enable_no_exceptions+set}" = set; then
5024 enableval=$enable_no_exceptions;
5025 if test "$enableval" = yes; then
5026 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5027 else
5028 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5029 fi
5030
5031 else
5032
5033 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5034 if test "x$LINE" != x ; then
5035 eval "DEFAULT_$LINE"
5036 else
5037 no_cache=1
5038 fi
5039
5040 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5041
5042 fi
5043
5044
5045 eval "$ac_cv_use_no_exceptions"
5046 if test "$no_cache" != 1; then
5047 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5048 fi
5049
5050 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5051 { echo "$as_me:$LINENO: result: yes" >&5
5052 echo "${ECHO_T}yes" >&6; }
5053 else
5054 { echo "$as_me:$LINENO: result: no" >&5
5055 echo "${ECHO_T}no" >&6; }
5056 fi
5057
5058
5059 enablestring=
5060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5061 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5062 no_cache=0
5063 # Check whether --enable-permissive was given.
5064 if test "${enable_permissive+set}" = set; then
5065 enableval=$enable_permissive;
5066 if test "$enableval" = yes; then
5067 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5068 else
5069 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5070 fi
5071
5072 else
5073
5074 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5075 if test "x$LINE" != x ; then
5076 eval "DEFAULT_$LINE"
5077 else
5078 no_cache=1
5079 fi
5080
5081 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5082
5083 fi
5084
5085
5086 eval "$ac_cv_use_permissive"
5087 if test "$no_cache" != 1; then
5088 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5089 fi
5090
5091 if test "$wxUSE_PERMISSIVE" = yes; then
5092 { echo "$as_me:$LINENO: result: yes" >&5
5093 echo "${ECHO_T}yes" >&6; }
5094 else
5095 { echo "$as_me:$LINENO: result: no" >&5
5096 echo "${ECHO_T}no" >&6; }
5097 fi
5098
5099
5100 enablestring=
5101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5102 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5103 no_cache=0
5104 # Check whether --enable-no_deps was given.
5105 if test "${enable_no_deps+set}" = set; then
5106 enableval=$enable_no_deps;
5107 if test "$enableval" = yes; then
5108 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5109 else
5110 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5111 fi
5112
5113 else
5114
5115 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5116 if test "x$LINE" != x ; then
5117 eval "DEFAULT_$LINE"
5118 else
5119 no_cache=1
5120 fi
5121
5122 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5123
5124 fi
5125
5126
5127 eval "$ac_cv_use_no_deps"
5128 if test "$no_cache" != 1; then
5129 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5130 fi
5131
5132 if test "$wxUSE_NO_DEPS" = yes; then
5133 { echo "$as_me:$LINENO: result: yes" >&5
5134 echo "${ECHO_T}yes" >&6; }
5135 else
5136 { echo "$as_me:$LINENO: result: no" >&5
5137 echo "${ECHO_T}no" >&6; }
5138 fi
5139
5140
5141 enablestring=
5142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5143 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5144 no_cache=0
5145 # Check whether --enable-vararg_macros was given.
5146 if test "${enable_vararg_macros+set}" = set; then
5147 enableval=$enable_vararg_macros;
5148 if test "$enableval" = yes; then
5149 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5150 else
5151 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5152 fi
5153
5154 else
5155
5156 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5157 if test "x$LINE" != x ; then
5158 eval "DEFAULT_$LINE"
5159 else
5160 no_cache=1
5161 fi
5162
5163 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5164
5165 fi
5166
5167
5168 eval "$ac_cv_use_vararg_macros"
5169 if test "$no_cache" != 1; then
5170 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5171 fi
5172
5173 if test "$wxUSE_VARARG_MACROS" = yes; then
5174 { echo "$as_me:$LINENO: result: yes" >&5
5175 echo "${ECHO_T}yes" >&6; }
5176 else
5177 { echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6; }
5179 fi
5180
5181
5182 enablestring=
5183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5185 no_cache=0
5186 # Check whether --enable-universal_binary was given.
5187 if test "${enable_universal_binary+set}" = set; then
5188 enableval=$enable_universal_binary;
5189 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5190
5191 else
5192
5193 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5194 if test "x$LINE" != x ; then
5195 eval "DEFAULT_$LINE"
5196 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5197 else
5198 no_cache=1
5199 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5200 fi
5201
5202 fi
5203
5204
5205 eval "$wx_cv_use_universal_binary"
5206 if test "$no_cache" != 1; then
5207 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5208 fi
5209
5210 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5211 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5212
5213
5214
5215 enablestring=enable
5216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5217 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5218 no_cache=0
5219 # Check whether --enable-compat26 was given.
5220 if test "${enable_compat26+set}" = set; then
5221 enableval=$enable_compat26;
5222 if test "$enableval" = yes; then
5223 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5224 else
5225 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5226 fi
5227
5228 else
5229
5230 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5231 if test "x$LINE" != x ; then
5232 eval "DEFAULT_$LINE"
5233 else
5234 no_cache=1
5235 fi
5236
5237 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5238
5239 fi
5240
5241
5242 eval "$ac_cv_use_compat26"
5243 if test "$no_cache" != 1; then
5244 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5245 fi
5246
5247 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5248 { echo "$as_me:$LINENO: result: yes" >&5
5249 echo "${ECHO_T}yes" >&6; }
5250 else
5251 { echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6; }
5253 fi
5254
5255
5256 enablestring=disable
5257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5258 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5259 no_cache=0
5260 # Check whether --enable-compat28 was given.
5261 if test "${enable_compat28+set}" = set; then
5262 enableval=$enable_compat28;
5263 if test "$enableval" = yes; then
5264 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5265 else
5266 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5267 fi
5268
5269 else
5270
5271 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5272 if test "x$LINE" != x ; then
5273 eval "DEFAULT_$LINE"
5274 else
5275 no_cache=1
5276 fi
5277
5278 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5279
5280 fi
5281
5282
5283 eval "$ac_cv_use_compat28"
5284 if test "$no_cache" != 1; then
5285 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5286 fi
5287
5288 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5289 { echo "$as_me:$LINENO: result: yes" >&5
5290 echo "${ECHO_T}yes" >&6; }
5291 else
5292 { echo "$as_me:$LINENO: result: no" >&5
5293 echo "${ECHO_T}no" >&6; }
5294 fi
5295
5296
5297
5298 enablestring=
5299 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5300 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5301 no_cache=0
5302 # Check whether --enable-rpath was given.
5303 if test "${enable_rpath+set}" = set; then
5304 enableval=$enable_rpath;
5305 if test "$enableval" = yes; then
5306 ac_cv_use_rpath='wxUSE_RPATH=yes'
5307 else
5308 ac_cv_use_rpath='wxUSE_RPATH=no'
5309 fi
5310
5311 else
5312
5313 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5314 if test "x$LINE" != x ; then
5315 eval "DEFAULT_$LINE"
5316 else
5317 no_cache=1
5318 fi
5319
5320 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5321
5322 fi
5323
5324
5325 eval "$ac_cv_use_rpath"
5326 if test "$no_cache" != 1; then
5327 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5328 fi
5329
5330 if test "$wxUSE_RPATH" = yes; then
5331 { echo "$as_me:$LINENO: result: yes" >&5
5332 echo "${ECHO_T}yes" >&6; }
5333 else
5334 { echo "$as_me:$LINENO: result: no" >&5
5335 echo "${ECHO_T}no" >&6; }
5336 fi
5337
5338
5339
5340
5341
5342 enablestring=
5343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5344 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5345 no_cache=0
5346 # Check whether --enable-intl was given.
5347 if test "${enable_intl+set}" = set; then
5348 enableval=$enable_intl;
5349 if test "$enableval" = yes; then
5350 ac_cv_use_intl='wxUSE_INTL=yes'
5351 else
5352 ac_cv_use_intl='wxUSE_INTL=no'
5353 fi
5354
5355 else
5356
5357 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x ; then
5359 eval "DEFAULT_$LINE"
5360 else
5361 no_cache=1
5362 fi
5363
5364 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5365
5366 fi
5367
5368
5369 eval "$ac_cv_use_intl"
5370 if test "$no_cache" != 1; then
5371 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5372 fi
5373
5374 if test "$wxUSE_INTL" = yes; then
5375 { echo "$as_me:$LINENO: result: yes" >&5
5376 echo "${ECHO_T}yes" >&6; }
5377 else
5378 { echo "$as_me:$LINENO: result: no" >&5
5379 echo "${ECHO_T}no" >&6; }
5380 fi
5381
5382
5383 enablestring=
5384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5385 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5386 no_cache=0
5387 # Check whether --enable-config was given.
5388 if test "${enable_config+set}" = set; then
5389 enableval=$enable_config;
5390 if test "$enableval" = yes; then
5391 ac_cv_use_config='wxUSE_CONFIG=yes'
5392 else
5393 ac_cv_use_config='wxUSE_CONFIG=no'
5394 fi
5395
5396 else
5397
5398 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5399 if test "x$LINE" != x ; then
5400 eval "DEFAULT_$LINE"
5401 else
5402 no_cache=1
5403 fi
5404
5405 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5406
5407 fi
5408
5409
5410 eval "$ac_cv_use_config"
5411 if test "$no_cache" != 1; then
5412 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5413 fi
5414
5415 if test "$wxUSE_CONFIG" = yes; then
5416 { echo "$as_me:$LINENO: result: yes" >&5
5417 echo "${ECHO_T}yes" >&6; }
5418 else
5419 { echo "$as_me:$LINENO: result: no" >&5
5420 echo "${ECHO_T}no" >&6; }
5421 fi
5422
5423
5424
5425 enablestring=
5426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5427 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5428 no_cache=0
5429 # Check whether --enable-protocols was given.
5430 if test "${enable_protocols+set}" = set; then
5431 enableval=$enable_protocols;
5432 if test "$enableval" = yes; then
5433 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5434 else
5435 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5436 fi
5437
5438 else
5439
5440 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5441 if test "x$LINE" != x ; then
5442 eval "DEFAULT_$LINE"
5443 else
5444 no_cache=1
5445 fi
5446
5447 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5448
5449 fi
5450
5451
5452 eval "$ac_cv_use_protocols"
5453 if test "$no_cache" != 1; then
5454 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5455 fi
5456
5457 if test "$wxUSE_PROTOCOL" = yes; then
5458 { echo "$as_me:$LINENO: result: yes" >&5
5459 echo "${ECHO_T}yes" >&6; }
5460 else
5461 { echo "$as_me:$LINENO: result: no" >&5
5462 echo "${ECHO_T}no" >&6; }
5463 fi
5464
5465
5466 enablestring=
5467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5468 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5469 no_cache=0
5470 # Check whether --enable-ftp was given.
5471 if test "${enable_ftp+set}" = set; then
5472 enableval=$enable_ftp;
5473 if test "$enableval" = yes; then
5474 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5475 else
5476 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5477 fi
5478
5479 else
5480
5481 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5482 if test "x$LINE" != x ; then
5483 eval "DEFAULT_$LINE"
5484 else
5485 no_cache=1
5486 fi
5487
5488 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5489
5490 fi
5491
5492
5493 eval "$ac_cv_use_ftp"
5494 if test "$no_cache" != 1; then
5495 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5496 fi
5497
5498 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5499 { echo "$as_me:$LINENO: result: yes" >&5
5500 echo "${ECHO_T}yes" >&6; }
5501 else
5502 { echo "$as_me:$LINENO: result: no" >&5
5503 echo "${ECHO_T}no" >&6; }
5504 fi
5505
5506
5507 enablestring=
5508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5509 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5510 no_cache=0
5511 # Check whether --enable-http was given.
5512 if test "${enable_http+set}" = set; then
5513 enableval=$enable_http;
5514 if test "$enableval" = yes; then
5515 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5516 else
5517 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5518 fi
5519
5520 else
5521
5522 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5523 if test "x$LINE" != x ; then
5524 eval "DEFAULT_$LINE"
5525 else
5526 no_cache=1
5527 fi
5528
5529 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5530
5531 fi
5532
5533
5534 eval "$ac_cv_use_http"
5535 if test "$no_cache" != 1; then
5536 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5537 fi
5538
5539 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5540 { echo "$as_me:$LINENO: result: yes" >&5
5541 echo "${ECHO_T}yes" >&6; }
5542 else
5543 { echo "$as_me:$LINENO: result: no" >&5
5544 echo "${ECHO_T}no" >&6; }
5545 fi
5546
5547
5548 enablestring=
5549 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5550 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5551 no_cache=0
5552 # Check whether --enable-fileproto was given.
5553 if test "${enable_fileproto+set}" = set; then
5554 enableval=$enable_fileproto;
5555 if test "$enableval" = yes; then
5556 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5557 else
5558 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5559 fi
5560
5561 else
5562
5563 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5564 if test "x$LINE" != x ; then
5565 eval "DEFAULT_$LINE"
5566 else
5567 no_cache=1
5568 fi
5569
5570 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5571
5572 fi
5573
5574
5575 eval "$ac_cv_use_fileproto"
5576 if test "$no_cache" != 1; then
5577 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5578 fi
5579
5580 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5581 { echo "$as_me:$LINENO: result: yes" >&5
5582 echo "${ECHO_T}yes" >&6; }
5583 else
5584 { echo "$as_me:$LINENO: result: no" >&5
5585 echo "${ECHO_T}no" >&6; }
5586 fi
5587
5588
5589 enablestring=
5590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5591 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5592 no_cache=0
5593 # Check whether --enable-sockets was given.
5594 if test "${enable_sockets+set}" = set; then
5595 enableval=$enable_sockets;
5596 if test "$enableval" = yes; then
5597 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5598 else
5599 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5600 fi
5601
5602 else
5603
5604 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5605 if test "x$LINE" != x ; then
5606 eval "DEFAULT_$LINE"
5607 else
5608 no_cache=1
5609 fi
5610
5611 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5612
5613 fi
5614
5615
5616 eval "$ac_cv_use_sockets"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5619 fi
5620
5621 if test "$wxUSE_SOCKETS" = yes; then
5622 { echo "$as_me:$LINENO: result: yes" >&5
5623 echo "${ECHO_T}yes" >&6; }
5624 else
5625 { echo "$as_me:$LINENO: result: no" >&5
5626 echo "${ECHO_T}no" >&6; }
5627 fi
5628
5629
5630 enablestring=
5631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5633 no_cache=0
5634 # Check whether --enable-ole was given.
5635 if test "${enable_ole+set}" = set; then
5636 enableval=$enable_ole;
5637 if test "$enableval" = yes; then
5638 ac_cv_use_ole='wxUSE_OLE=yes'
5639 else
5640 ac_cv_use_ole='wxUSE_OLE=no'
5641 fi
5642
5643 else
5644
5645 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5646 if test "x$LINE" != x ; then
5647 eval "DEFAULT_$LINE"
5648 else
5649 no_cache=1
5650 fi
5651
5652 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5653
5654 fi
5655
5656
5657 eval "$ac_cv_use_ole"
5658 if test "$no_cache" != 1; then
5659 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5660 fi
5661
5662 if test "$wxUSE_OLE" = yes; then
5663 { echo "$as_me:$LINENO: result: yes" >&5
5664 echo "${ECHO_T}yes" >&6; }
5665 else
5666 { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5668 fi
5669
5670
5671 enablestring=
5672 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5673 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5674 no_cache=0
5675 # Check whether --enable-dataobj was given.
5676 if test "${enable_dataobj+set}" = set; then
5677 enableval=$enable_dataobj;
5678 if test "$enableval" = yes; then
5679 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5680 else
5681 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5682 fi
5683
5684 else
5685
5686 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5687 if test "x$LINE" != x ; then
5688 eval "DEFAULT_$LINE"
5689 else
5690 no_cache=1
5691 fi
5692
5693 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5694
5695 fi
5696
5697
5698 eval "$ac_cv_use_dataobj"
5699 if test "$no_cache" != 1; then
5700 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5701 fi
5702
5703 if test "$wxUSE_DATAOBJ" = yes; then
5704 { echo "$as_me:$LINENO: result: yes" >&5
5705 echo "${ECHO_T}yes" >&6; }
5706 else
5707 { echo "$as_me:$LINENO: result: no" >&5
5708 echo "${ECHO_T}no" >&6; }
5709 fi
5710
5711
5712
5713 enablestring=
5714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5715 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5716 no_cache=0
5717 # Check whether --enable-ipc was given.
5718 if test "${enable_ipc+set}" = set; then
5719 enableval=$enable_ipc;
5720 if test "$enableval" = yes; then
5721 ac_cv_use_ipc='wxUSE_IPC=yes'
5722 else
5723 ac_cv_use_ipc='wxUSE_IPC=no'
5724 fi
5725
5726 else
5727
5728 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5729 if test "x$LINE" != x ; then
5730 eval "DEFAULT_$LINE"
5731 else
5732 no_cache=1
5733 fi
5734
5735 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5736
5737 fi
5738
5739
5740 eval "$ac_cv_use_ipc"
5741 if test "$no_cache" != 1; then
5742 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5743 fi
5744
5745 if test "$wxUSE_IPC" = yes; then
5746 { echo "$as_me:$LINENO: result: yes" >&5
5747 echo "${ECHO_T}yes" >&6; }
5748 else
5749 { echo "$as_me:$LINENO: result: no" >&5
5750 echo "${ECHO_T}no" >&6; }
5751 fi
5752
5753
5754
5755 enablestring=
5756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5757 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5758 no_cache=0
5759 # Check whether --enable-apple_ieee was given.
5760 if test "${enable_apple_ieee+set}" = set; then
5761 enableval=$enable_apple_ieee;
5762 if test "$enableval" = yes; then
5763 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5764 else
5765 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5766 fi
5767
5768 else
5769
5770 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5771 if test "x$LINE" != x ; then
5772 eval "DEFAULT_$LINE"
5773 else
5774 no_cache=1
5775 fi
5776
5777 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5778
5779 fi
5780
5781
5782 eval "$ac_cv_use_apple_ieee"
5783 if test "$no_cache" != 1; then
5784 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5785 fi
5786
5787 if test "$wxUSE_APPLE_IEEE" = yes; then
5788 { echo "$as_me:$LINENO: result: yes" >&5
5789 echo "${ECHO_T}yes" >&6; }
5790 else
5791 { echo "$as_me:$LINENO: result: no" >&5
5792 echo "${ECHO_T}no" >&6; }
5793 fi
5794
5795
5796 enablestring=
5797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5799 no_cache=0
5800 # Check whether --enable-arcstream was given.
5801 if test "${enable_arcstream+set}" = set; then
5802 enableval=$enable_arcstream;
5803 if test "$enableval" = yes; then
5804 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5805 else
5806 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5807 fi
5808
5809 else
5810
5811 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5812 if test "x$LINE" != x ; then
5813 eval "DEFAULT_$LINE"
5814 else
5815 no_cache=1
5816 fi
5817
5818 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5819
5820 fi
5821
5822
5823 eval "$ac_cv_use_arcstream"
5824 if test "$no_cache" != 1; then
5825 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5826 fi
5827
5828 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5829 { echo "$as_me:$LINENO: result: yes" >&5
5830 echo "${ECHO_T}yes" >&6; }
5831 else
5832 { echo "$as_me:$LINENO: result: no" >&5
5833 echo "${ECHO_T}no" >&6; }
5834 fi
5835
5836
5837 enablestring=
5838 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5839 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5840 no_cache=0
5841 # Check whether --enable-backtrace was given.
5842 if test "${enable_backtrace+set}" = set; then
5843 enableval=$enable_backtrace;
5844 if test "$enableval" = yes; then
5845 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5846 else
5847 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5848 fi
5849
5850 else
5851
5852 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5853 if test "x$LINE" != x ; then
5854 eval "DEFAULT_$LINE"
5855 else
5856 no_cache=1
5857 fi
5858
5859 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5860
5861 fi
5862
5863
5864 eval "$ac_cv_use_backtrace"
5865 if test "$no_cache" != 1; then
5866 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5867 fi
5868
5869 if test "$wxUSE_STACKWALKER" = yes; then
5870 { echo "$as_me:$LINENO: result: yes" >&5
5871 echo "${ECHO_T}yes" >&6; }
5872 else
5873 { echo "$as_me:$LINENO: result: no" >&5
5874 echo "${ECHO_T}no" >&6; }
5875 fi
5876
5877
5878 enablestring=
5879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5880 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5881 no_cache=0
5882 # Check whether --enable-catch_segvs was given.
5883 if test "${enable_catch_segvs+set}" = set; then
5884 enableval=$enable_catch_segvs;
5885 if test "$enableval" = yes; then
5886 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5887 else
5888 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5889 fi
5890
5891 else
5892
5893 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5894 if test "x$LINE" != x ; then
5895 eval "DEFAULT_$LINE"
5896 else
5897 no_cache=1
5898 fi
5899
5900 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5901
5902 fi
5903
5904
5905 eval "$ac_cv_use_catch_segvs"
5906 if test "$no_cache" != 1; then
5907 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5908 fi
5909
5910 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5911 { echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6; }
5913 else
5914 { echo "$as_me:$LINENO: result: no" >&5
5915 echo "${ECHO_T}no" >&6; }
5916 fi
5917
5918
5919 enablestring=
5920 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5921 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5922 no_cache=0
5923 # Check whether --enable-cmdline was given.
5924 if test "${enable_cmdline+set}" = set; then
5925 enableval=$enable_cmdline;
5926 if test "$enableval" = yes; then
5927 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5928 else
5929 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5930 fi
5931
5932 else
5933
5934 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5935 if test "x$LINE" != x ; then
5936 eval "DEFAULT_$LINE"
5937 else
5938 no_cache=1
5939 fi
5940
5941 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5942
5943 fi
5944
5945
5946 eval "$ac_cv_use_cmdline"
5947 if test "$no_cache" != 1; then
5948 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5949 fi
5950
5951 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5952 { echo "$as_me:$LINENO: result: yes" >&5
5953 echo "${ECHO_T}yes" >&6; }
5954 else
5955 { echo "$as_me:$LINENO: result: no" >&5
5956 echo "${ECHO_T}no" >&6; }
5957 fi
5958
5959
5960 enablestring=
5961 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5962 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5963 no_cache=0
5964 # Check whether --enable-datetime was given.
5965 if test "${enable_datetime+set}" = set; then
5966 enableval=$enable_datetime;
5967 if test "$enableval" = yes; then
5968 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5969 else
5970 ac_cv_use_datetime='wxUSE_DATETIME=no'
5971 fi
5972
5973 else
5974
5975 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5976 if test "x$LINE" != x ; then
5977 eval "DEFAULT_$LINE"
5978 else
5979 no_cache=1
5980 fi
5981
5982 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5983
5984 fi
5985
5986
5987 eval "$ac_cv_use_datetime"
5988 if test "$no_cache" != 1; then
5989 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5990 fi
5991
5992 if test "$wxUSE_DATETIME" = yes; then
5993 { echo "$as_me:$LINENO: result: yes" >&5
5994 echo "${ECHO_T}yes" >&6; }
5995 else
5996 { echo "$as_me:$LINENO: result: no" >&5
5997 echo "${ECHO_T}no" >&6; }
5998 fi
5999
6000
6001 enablestring=
6002 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6003 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6004 no_cache=0
6005 # Check whether --enable-debugreport was given.
6006 if test "${enable_debugreport+set}" = set; then
6007 enableval=$enable_debugreport;
6008 if test "$enableval" = yes; then
6009 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6010 else
6011 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6012 fi
6013
6014 else
6015
6016 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6017 if test "x$LINE" != x ; then
6018 eval "DEFAULT_$LINE"
6019 else
6020 no_cache=1
6021 fi
6022
6023 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6024
6025 fi
6026
6027
6028 eval "$ac_cv_use_debugreport"
6029 if test "$no_cache" != 1; then
6030 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6031 fi
6032
6033 if test "$wxUSE_DEBUGREPORT" = yes; then
6034 { echo "$as_me:$LINENO: result: yes" >&5
6035 echo "${ECHO_T}yes" >&6; }
6036 else
6037 { echo "$as_me:$LINENO: result: no" >&5
6038 echo "${ECHO_T}no" >&6; }
6039 fi
6040
6041
6042 enablestring=
6043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6044 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6045 no_cache=0
6046 # Check whether --enable-dialupman was given.
6047 if test "${enable_dialupman+set}" = set; then
6048 enableval=$enable_dialupman;
6049 if test "$enableval" = yes; then
6050 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6051 else
6052 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6053 fi
6054
6055 else
6056
6057 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6058 if test "x$LINE" != x ; then
6059 eval "DEFAULT_$LINE"
6060 else
6061 no_cache=1
6062 fi
6063
6064 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6065
6066 fi
6067
6068
6069 eval "$ac_cv_use_dialupman"
6070 if test "$no_cache" != 1; then
6071 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6072 fi
6073
6074 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6075 { echo "$as_me:$LINENO: result: yes" >&5
6076 echo "${ECHO_T}yes" >&6; }
6077 else
6078 { echo "$as_me:$LINENO: result: no" >&5
6079 echo "${ECHO_T}no" >&6; }
6080 fi
6081
6082
6083 enablestring=
6084 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6085 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6086 no_cache=0
6087 # Check whether --enable-dynlib was given.
6088 if test "${enable_dynlib+set}" = set; then
6089 enableval=$enable_dynlib;
6090 if test "$enableval" = yes; then
6091 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6092 else
6093 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6094 fi
6095
6096 else
6097
6098 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6099 if test "x$LINE" != x ; then
6100 eval "DEFAULT_$LINE"
6101 else
6102 no_cache=1
6103 fi
6104
6105 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6106
6107 fi
6108
6109
6110 eval "$ac_cv_use_dynlib"
6111 if test "$no_cache" != 1; then
6112 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6113 fi
6114
6115 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6116 { echo "$as_me:$LINENO: result: yes" >&5
6117 echo "${ECHO_T}yes" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6121 fi
6122
6123
6124 enablestring=
6125 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6126 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6127 no_cache=0
6128 # Check whether --enable-dynamicloader was given.
6129 if test "${enable_dynamicloader+set}" = set; then
6130 enableval=$enable_dynamicloader;
6131 if test "$enableval" = yes; then
6132 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6133 else
6134 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6135 fi
6136
6137 else
6138
6139 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6140 if test "x$LINE" != x ; then
6141 eval "DEFAULT_$LINE"
6142 else
6143 no_cache=1
6144 fi
6145
6146 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6147
6148 fi
6149
6150
6151 eval "$ac_cv_use_dynamicloader"
6152 if test "$no_cache" != 1; then
6153 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6154 fi
6155
6156 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6157 { echo "$as_me:$LINENO: result: yes" >&5
6158 echo "${ECHO_T}yes" >&6; }
6159 else
6160 { echo "$as_me:$LINENO: result: no" >&5
6161 echo "${ECHO_T}no" >&6; }
6162 fi
6163
6164
6165 enablestring=
6166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6167 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6168 no_cache=0
6169 # Check whether --enable-exceptions was given.
6170 if test "${enable_exceptions+set}" = set; then
6171 enableval=$enable_exceptions;
6172 if test "$enableval" = yes; then
6173 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6174 else
6175 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6176 fi
6177
6178 else
6179
6180 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6181 if test "x$LINE" != x ; then
6182 eval "DEFAULT_$LINE"
6183 else
6184 no_cache=1
6185 fi
6186
6187 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6188
6189 fi
6190
6191
6192 eval "$ac_cv_use_exceptions"
6193 if test "$no_cache" != 1; then
6194 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6195 fi
6196
6197 if test "$wxUSE_EXCEPTIONS" = yes; then
6198 { echo "$as_me:$LINENO: result: yes" >&5
6199 echo "${ECHO_T}yes" >&6; }
6200 else
6201 { echo "$as_me:$LINENO: result: no" >&5
6202 echo "${ECHO_T}no" >&6; }
6203 fi
6204
6205
6206 enablestring=
6207 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6208 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6209 no_cache=0
6210 # Check whether --enable-ffile was given.
6211 if test "${enable_ffile+set}" = set; then
6212 enableval=$enable_ffile;
6213 if test "$enableval" = yes; then
6214 ac_cv_use_ffile='wxUSE_FFILE=yes'
6215 else
6216 ac_cv_use_ffile='wxUSE_FFILE=no'
6217 fi
6218
6219 else
6220
6221 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6222 if test "x$LINE" != x ; then
6223 eval "DEFAULT_$LINE"
6224 else
6225 no_cache=1
6226 fi
6227
6228 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6229
6230 fi
6231
6232
6233 eval "$ac_cv_use_ffile"
6234 if test "$no_cache" != 1; then
6235 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6236 fi
6237
6238 if test "$wxUSE_FFILE" = yes; then
6239 { echo "$as_me:$LINENO: result: yes" >&5
6240 echo "${ECHO_T}yes" >&6; }
6241 else
6242 { echo "$as_me:$LINENO: result: no" >&5
6243 echo "${ECHO_T}no" >&6; }
6244 fi
6245
6246
6247 enablestring=
6248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6250 no_cache=0
6251 # Check whether --enable-file was given.
6252 if test "${enable_file+set}" = set; then
6253 enableval=$enable_file;
6254 if test "$enableval" = yes; then
6255 ac_cv_use_file='wxUSE_FILE=yes'
6256 else
6257 ac_cv_use_file='wxUSE_FILE=no'
6258 fi
6259
6260 else
6261
6262 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6263 if test "x$LINE" != x ; then
6264 eval "DEFAULT_$LINE"
6265 else
6266 no_cache=1
6267 fi
6268
6269 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6270
6271 fi
6272
6273
6274 eval "$ac_cv_use_file"
6275 if test "$no_cache" != 1; then
6276 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6277 fi
6278
6279 if test "$wxUSE_FILE" = yes; then
6280 { echo "$as_me:$LINENO: result: yes" >&5
6281 echo "${ECHO_T}yes" >&6; }
6282 else
6283 { echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6; }
6285 fi
6286
6287
6288 enablestring=
6289 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6290 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6291 no_cache=0
6292 # Check whether --enable-filesystem was given.
6293 if test "${enable_filesystem+set}" = set; then
6294 enableval=$enable_filesystem;
6295 if test "$enableval" = yes; then
6296 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6297 else
6298 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6299 fi
6300
6301 else
6302
6303 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6304 if test "x$LINE" != x ; then
6305 eval "DEFAULT_$LINE"
6306 else
6307 no_cache=1
6308 fi
6309
6310 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6311
6312 fi
6313
6314
6315 eval "$ac_cv_use_filesystem"
6316 if test "$no_cache" != 1; then
6317 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6318 fi
6319
6320 if test "$wxUSE_FILESYSTEM" = yes; then
6321 { echo "$as_me:$LINENO: result: yes" >&5
6322 echo "${ECHO_T}yes" >&6; }
6323 else
6324 { echo "$as_me:$LINENO: result: no" >&5
6325 echo "${ECHO_T}no" >&6; }
6326 fi
6327
6328
6329 enablestring=
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6332 no_cache=0
6333 # Check whether --enable-fontmap was given.
6334 if test "${enable_fontmap+set}" = set; then
6335 enableval=$enable_fontmap;
6336 if test "$enableval" = yes; then
6337 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6338 else
6339 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6340 fi
6341
6342 else
6343
6344 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6345 if test "x$LINE" != x ; then
6346 eval "DEFAULT_$LINE"
6347 else
6348 no_cache=1
6349 fi
6350
6351 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6352
6353 fi
6354
6355
6356 eval "$ac_cv_use_fontmap"
6357 if test "$no_cache" != 1; then
6358 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6359 fi
6360
6361 if test "$wxUSE_FONTMAP" = yes; then
6362 { echo "$as_me:$LINENO: result: yes" >&5
6363 echo "${ECHO_T}yes" >&6; }
6364 else
6365 { echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6; }
6367 fi
6368
6369
6370 enablestring=
6371 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6372 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6373 no_cache=0
6374 # Check whether --enable-fs_archive was given.
6375 if test "${enable_fs_archive+set}" = set; then
6376 enableval=$enable_fs_archive;
6377 if test "$enableval" = yes; then
6378 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6379 else
6380 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6381 fi
6382
6383 else
6384
6385 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6386 if test "x$LINE" != x ; then
6387 eval "DEFAULT_$LINE"
6388 else
6389 no_cache=1
6390 fi
6391
6392 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6393
6394 fi
6395
6396
6397 eval "$ac_cv_use_fs_archive"
6398 if test "$no_cache" != 1; then
6399 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6400 fi
6401
6402 if test "$wxUSE_FS_ARCHIVE" = yes; then
6403 { echo "$as_me:$LINENO: result: yes" >&5
6404 echo "${ECHO_T}yes" >&6; }
6405 else
6406 { echo "$as_me:$LINENO: result: no" >&5
6407 echo "${ECHO_T}no" >&6; }
6408 fi
6409
6410
6411 enablestring=
6412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6414 no_cache=0
6415 # Check whether --enable-fs_inet was given.
6416 if test "${enable_fs_inet+set}" = set; then
6417 enableval=$enable_fs_inet;
6418 if test "$enableval" = yes; then
6419 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6420 else
6421 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6422 fi
6423
6424 else
6425
6426 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6427 if test "x$LINE" != x ; then
6428 eval "DEFAULT_$LINE"
6429 else
6430 no_cache=1
6431 fi
6432
6433 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6434
6435 fi
6436
6437
6438 eval "$ac_cv_use_fs_inet"
6439 if test "$no_cache" != 1; then
6440 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6441 fi
6442
6443 if test "$wxUSE_FS_INET" = yes; then
6444 { echo "$as_me:$LINENO: result: yes" >&5
6445 echo "${ECHO_T}yes" >&6; }
6446 else
6447 { echo "$as_me:$LINENO: result: no" >&5
6448 echo "${ECHO_T}no" >&6; }
6449 fi
6450
6451
6452 enablestring=
6453 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6454 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6455 no_cache=0
6456 # Check whether --enable-fs_zip was given.
6457 if test "${enable_fs_zip+set}" = set; then
6458 enableval=$enable_fs_zip;
6459 if test "$enableval" = yes; then
6460 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6461 else
6462 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6463 fi
6464
6465 else
6466
6467 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6468 if test "x$LINE" != x ; then
6469 eval "DEFAULT_$LINE"
6470 else
6471 no_cache=1
6472 fi
6473
6474 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6475
6476 fi
6477
6478
6479 eval "$ac_cv_use_fs_zip"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6482 fi
6483
6484 if test "$wxUSE_FS_ZIP" = yes; then
6485 { echo "$as_me:$LINENO: result: yes" >&5
6486 echo "${ECHO_T}yes" >&6; }
6487 else
6488 { echo "$as_me:$LINENO: result: no" >&5
6489 echo "${ECHO_T}no" >&6; }
6490 fi
6491
6492
6493 enablestring=
6494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6495 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6496 no_cache=0
6497 # Check whether --enable-geometry was given.
6498 if test "${enable_geometry+set}" = set; then
6499 enableval=$enable_geometry;
6500 if test "$enableval" = yes; then
6501 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6502 else
6503 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6504 fi
6505
6506 else
6507
6508 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6509 if test "x$LINE" != x ; then
6510 eval "DEFAULT_$LINE"
6511 else
6512 no_cache=1
6513 fi
6514
6515 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6516
6517 fi
6518
6519
6520 eval "$ac_cv_use_geometry"
6521 if test "$no_cache" != 1; then
6522 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6523 fi
6524
6525 if test "$wxUSE_GEOMETRY" = yes; then
6526 { echo "$as_me:$LINENO: result: yes" >&5
6527 echo "${ECHO_T}yes" >&6; }
6528 else
6529 { echo "$as_me:$LINENO: result: no" >&5
6530 echo "${ECHO_T}no" >&6; }
6531 fi
6532
6533
6534 enablestring=
6535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6536 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6537 no_cache=0
6538 # Check whether --enable-log was given.
6539 if test "${enable_log+set}" = set; then
6540 enableval=$enable_log;
6541 if test "$enableval" = yes; then
6542 ac_cv_use_log='wxUSE_LOG=yes'
6543 else
6544 ac_cv_use_log='wxUSE_LOG=no'
6545 fi
6546
6547 else
6548
6549 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6550 if test "x$LINE" != x ; then
6551 eval "DEFAULT_$LINE"
6552 else
6553 no_cache=1
6554 fi
6555
6556 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6557
6558 fi
6559
6560
6561 eval "$ac_cv_use_log"
6562 if test "$no_cache" != 1; then
6563 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6564 fi
6565
6566 if test "$wxUSE_LOG" = yes; then
6567 { echo "$as_me:$LINENO: result: yes" >&5
6568 echo "${ECHO_T}yes" >&6; }
6569 else
6570 { echo "$as_me:$LINENO: result: no" >&5
6571 echo "${ECHO_T}no" >&6; }
6572 fi
6573
6574
6575 enablestring=
6576 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6577 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6578 no_cache=0
6579 # Check whether --enable-longlong was given.
6580 if test "${enable_longlong+set}" = set; then
6581 enableval=$enable_longlong;
6582 if test "$enableval" = yes; then
6583 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6584 else
6585 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6586 fi
6587
6588 else
6589
6590 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6591 if test "x$LINE" != x ; then
6592 eval "DEFAULT_$LINE"
6593 else
6594 no_cache=1
6595 fi
6596
6597 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6598
6599 fi
6600
6601
6602 eval "$ac_cv_use_longlong"
6603 if test "$no_cache" != 1; then
6604 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6605 fi
6606
6607 if test "$wxUSE_LONGLONG" = yes; then
6608 { echo "$as_me:$LINENO: result: yes" >&5
6609 echo "${ECHO_T}yes" >&6; }
6610 else
6611 { echo "$as_me:$LINENO: result: no" >&5
6612 echo "${ECHO_T}no" >&6; }
6613 fi
6614
6615
6616 enablestring=
6617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6618 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6619 no_cache=0
6620 # Check whether --enable-mimetype was given.
6621 if test "${enable_mimetype+set}" = set; then
6622 enableval=$enable_mimetype;
6623 if test "$enableval" = yes; then
6624 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6625 else
6626 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6627 fi
6628
6629 else
6630
6631 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6632 if test "x$LINE" != x ; then
6633 eval "DEFAULT_$LINE"
6634 else
6635 no_cache=1
6636 fi
6637
6638 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6639
6640 fi
6641
6642
6643 eval "$ac_cv_use_mimetype"
6644 if test "$no_cache" != 1; then
6645 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6646 fi
6647
6648 if test "$wxUSE_MIMETYPE" = yes; then
6649 { echo "$as_me:$LINENO: result: yes" >&5
6650 echo "${ECHO_T}yes" >&6; }
6651 else
6652 { echo "$as_me:$LINENO: result: no" >&5
6653 echo "${ECHO_T}no" >&6; }
6654 fi
6655
6656
6657 enablestring=
6658 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6659 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6660 no_cache=0
6661 # Check whether --enable-mslu was given.
6662 if test "${enable_mslu+set}" = set; then
6663 enableval=$enable_mslu;
6664 if test "$enableval" = yes; then
6665 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6666 else
6667 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6668 fi
6669
6670 else
6671
6672 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6673 if test "x$LINE" != x ; then
6674 eval "DEFAULT_$LINE"
6675 else
6676 no_cache=1
6677 fi
6678
6679 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6680
6681 fi
6682
6683
6684 eval "$ac_cv_use_mslu"
6685 if test "$no_cache" != 1; then
6686 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6687 fi
6688
6689 if test "$wxUSE_UNICODE_MSLU" = yes; then
6690 { echo "$as_me:$LINENO: result: yes" >&5
6691 echo "${ECHO_T}yes" >&6; }
6692 else
6693 { echo "$as_me:$LINENO: result: no" >&5
6694 echo "${ECHO_T}no" >&6; }
6695 fi
6696
6697
6698 enablestring=
6699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6700 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6701 no_cache=0
6702 # Check whether --enable-snglinst was given.
6703 if test "${enable_snglinst+set}" = set; then
6704 enableval=$enable_snglinst;
6705 if test "$enableval" = yes; then
6706 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6707 else
6708 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6709 fi
6710
6711 else
6712
6713 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6714 if test "x$LINE" != x ; then
6715 eval "DEFAULT_$LINE"
6716 else
6717 no_cache=1
6718 fi
6719
6720 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6721
6722 fi
6723
6724
6725 eval "$ac_cv_use_snglinst"
6726 if test "$no_cache" != 1; then
6727 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6728 fi
6729
6730 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6731 { echo "$as_me:$LINENO: result: yes" >&5
6732 echo "${ECHO_T}yes" >&6; }
6733 else
6734 { echo "$as_me:$LINENO: result: no" >&5
6735 echo "${ECHO_T}no" >&6; }
6736 fi
6737
6738
6739 enablestring=
6740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6741 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6742 no_cache=0
6743 # Check whether --enable-std_iostreams was given.
6744 if test "${enable_std_iostreams+set}" = set; then
6745 enableval=$enable_std_iostreams;
6746 if test "$enableval" = yes; then
6747 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6748 else
6749 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6750 fi
6751
6752 else
6753
6754 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6755 if test "x$LINE" != x ; then
6756 eval "DEFAULT_$LINE"
6757 else
6758 no_cache=1
6759 fi
6760
6761 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6762
6763 fi
6764
6765
6766 eval "$ac_cv_use_std_iostreams"
6767 if test "$no_cache" != 1; then
6768 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6769 fi
6770
6771 if test "$wxUSE_STD_IOSTREAM" = yes; then
6772 { echo "$as_me:$LINENO: result: yes" >&5
6773 echo "${ECHO_T}yes" >&6; }
6774 else
6775 { echo "$as_me:$LINENO: result: no" >&5
6776 echo "${ECHO_T}no" >&6; }
6777 fi
6778
6779
6780 enablestring=
6781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6782 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6783 no_cache=0
6784 # Check whether --enable-std_string was given.
6785 if test "${enable_std_string+set}" = set; then
6786 enableval=$enable_std_string;
6787 if test "$enableval" = yes; then
6788 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6789 else
6790 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6791 fi
6792
6793 else
6794
6795 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x ; then
6797 eval "DEFAULT_$LINE"
6798 else
6799 no_cache=1
6800 fi
6801
6802 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6803
6804 fi
6805
6806
6807 eval "$ac_cv_use_std_string"
6808 if test "$no_cache" != 1; then
6809 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6810 fi
6811
6812 if test "$wxUSE_STD_STRING" = yes; then
6813 { echo "$as_me:$LINENO: result: yes" >&5
6814 echo "${ECHO_T}yes" >&6; }
6815 else
6816 { echo "$as_me:$LINENO: result: no" >&5
6817 echo "${ECHO_T}no" >&6; }
6818 fi
6819
6820
6821 enablestring=
6822 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6823 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6824 no_cache=0
6825 # Check whether --enable-stdpaths was given.
6826 if test "${enable_stdpaths+set}" = set; then
6827 enableval=$enable_stdpaths;
6828 if test "$enableval" = yes; then
6829 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6830 else
6831 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6832 fi
6833
6834 else
6835
6836 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6837 if test "x$LINE" != x ; then
6838 eval "DEFAULT_$LINE"
6839 else
6840 no_cache=1
6841 fi
6842
6843 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6844
6845 fi
6846
6847
6848 eval "$ac_cv_use_stdpaths"
6849 if test "$no_cache" != 1; then
6850 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6851 fi
6852
6853 if test "$wxUSE_STDPATHS" = yes; then
6854 { echo "$as_me:$LINENO: result: yes" >&5
6855 echo "${ECHO_T}yes" >&6; }
6856 else
6857 { echo "$as_me:$LINENO: result: no" >&5
6858 echo "${ECHO_T}no" >&6; }
6859 fi
6860
6861
6862 enablestring=
6863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6864 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6865 no_cache=0
6866 # Check whether --enable-stopwatch was given.
6867 if test "${enable_stopwatch+set}" = set; then
6868 enableval=$enable_stopwatch;
6869 if test "$enableval" = yes; then
6870 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6871 else
6872 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6873 fi
6874
6875 else
6876
6877 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6878 if test "x$LINE" != x ; then
6879 eval "DEFAULT_$LINE"
6880 else
6881 no_cache=1
6882 fi
6883
6884 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6885
6886 fi
6887
6888
6889 eval "$ac_cv_use_stopwatch"
6890 if test "$no_cache" != 1; then
6891 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6892 fi
6893
6894 if test "$wxUSE_STOPWATCH" = yes; then
6895 { echo "$as_me:$LINENO: result: yes" >&5
6896 echo "${ECHO_T}yes" >&6; }
6897 else
6898 { echo "$as_me:$LINENO: result: no" >&5
6899 echo "${ECHO_T}no" >&6; }
6900 fi
6901
6902
6903 enablestring=
6904 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6905 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6906 no_cache=0
6907 # Check whether --enable-streams was given.
6908 if test "${enable_streams+set}" = set; then
6909 enableval=$enable_streams;
6910 if test "$enableval" = yes; then
6911 ac_cv_use_streams='wxUSE_STREAMS=yes'
6912 else
6913 ac_cv_use_streams='wxUSE_STREAMS=no'
6914 fi
6915
6916 else
6917
6918 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6919 if test "x$LINE" != x ; then
6920 eval "DEFAULT_$LINE"
6921 else
6922 no_cache=1
6923 fi
6924
6925 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6926
6927 fi
6928
6929
6930 eval "$ac_cv_use_streams"
6931 if test "$no_cache" != 1; then
6932 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6933 fi
6934
6935 if test "$wxUSE_STREAMS" = yes; then
6936 { echo "$as_me:$LINENO: result: yes" >&5
6937 echo "${ECHO_T}yes" >&6; }
6938 else
6939 { echo "$as_me:$LINENO: result: no" >&5
6940 echo "${ECHO_T}no" >&6; }
6941 fi
6942
6943
6944 enablestring=
6945 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6946 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6947 no_cache=0
6948 # Check whether --enable-system_options was given.
6949 if test "${enable_system_options+set}" = set; then
6950 enableval=$enable_system_options;
6951 if test "$enableval" = yes; then
6952 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6953 else
6954 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6955 fi
6956
6957 else
6958
6959 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6960 if test "x$LINE" != x ; then
6961 eval "DEFAULT_$LINE"
6962 else
6963 no_cache=1
6964 fi
6965
6966 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6967
6968 fi
6969
6970
6971 eval "$ac_cv_use_system_options"
6972 if test "$no_cache" != 1; then
6973 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6974 fi
6975
6976 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6977 { echo "$as_me:$LINENO: result: yes" >&5
6978 echo "${ECHO_T}yes" >&6; }
6979 else
6980 { echo "$as_me:$LINENO: result: no" >&5
6981 echo "${ECHO_T}no" >&6; }
6982 fi
6983
6984
6985 enablestring=
6986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6987 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6988 no_cache=0
6989 # Check whether --enable-tarstream was given.
6990 if test "${enable_tarstream+set}" = set; then
6991 enableval=$enable_tarstream;
6992 if test "$enableval" = yes; then
6993 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6994 else
6995 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6996 fi
6997
6998 else
6999
7000 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7001 if test "x$LINE" != x ; then
7002 eval "DEFAULT_$LINE"
7003 else
7004 no_cache=1
7005 fi
7006
7007 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7008
7009 fi
7010
7011
7012 eval "$ac_cv_use_tarstream"
7013 if test "$no_cache" != 1; then
7014 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7015 fi
7016
7017 if test "$wxUSE_TARSTREAM" = yes; then
7018 { echo "$as_me:$LINENO: result: yes" >&5
7019 echo "${ECHO_T}yes" >&6; }
7020 else
7021 { echo "$as_me:$LINENO: result: no" >&5
7022 echo "${ECHO_T}no" >&6; }
7023 fi
7024
7025
7026 enablestring=
7027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7028 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7029 no_cache=0
7030 # Check whether --enable-textbuf was given.
7031 if test "${enable_textbuf+set}" = set; then
7032 enableval=$enable_textbuf;
7033 if test "$enableval" = yes; then
7034 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7035 else
7036 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7037 fi
7038
7039 else
7040
7041 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7042 if test "x$LINE" != x ; then
7043 eval "DEFAULT_$LINE"
7044 else
7045 no_cache=1
7046 fi
7047
7048 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7049
7050 fi
7051
7052
7053 eval "$ac_cv_use_textbuf"
7054 if test "$no_cache" != 1; then
7055 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7056 fi
7057
7058 if test "$wxUSE_TEXTBUFFER" = yes; then
7059 { echo "$as_me:$LINENO: result: yes" >&5
7060 echo "${ECHO_T}yes" >&6; }
7061 else
7062 { echo "$as_me:$LINENO: result: no" >&5
7063 echo "${ECHO_T}no" >&6; }
7064 fi
7065
7066
7067 enablestring=
7068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7069 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7070 no_cache=0
7071 # Check whether --enable-textfile was given.
7072 if test "${enable_textfile+set}" = set; then
7073 enableval=$enable_textfile;
7074 if test "$enableval" = yes; then
7075 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7076 else
7077 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7078 fi
7079
7080 else
7081
7082 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7083 if test "x$LINE" != x ; then
7084 eval "DEFAULT_$LINE"
7085 else
7086 no_cache=1
7087 fi
7088
7089 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7090
7091 fi
7092
7093
7094 eval "$ac_cv_use_textfile"
7095 if test "$no_cache" != 1; then
7096 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7097 fi
7098
7099 if test "$wxUSE_TEXTFILE" = yes; then
7100 { echo "$as_me:$LINENO: result: yes" >&5
7101 echo "${ECHO_T}yes" >&6; }
7102 else
7103 { echo "$as_me:$LINENO: result: no" >&5
7104 echo "${ECHO_T}no" >&6; }
7105 fi
7106
7107
7108 enablestring=
7109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7110 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7111 no_cache=0
7112 # Check whether --enable-timer was given.
7113 if test "${enable_timer+set}" = set; then
7114 enableval=$enable_timer;
7115 if test "$enableval" = yes; then
7116 ac_cv_use_timer='wxUSE_TIMER=yes'
7117 else
7118 ac_cv_use_timer='wxUSE_TIMER=no'
7119 fi
7120
7121 else
7122
7123 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7124 if test "x$LINE" != x ; then
7125 eval "DEFAULT_$LINE"
7126 else
7127 no_cache=1
7128 fi
7129
7130 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7131
7132 fi
7133
7134
7135 eval "$ac_cv_use_timer"
7136 if test "$no_cache" != 1; then
7137 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7138 fi
7139
7140 if test "$wxUSE_TIMER" = yes; then
7141 { echo "$as_me:$LINENO: result: yes" >&5
7142 echo "${ECHO_T}yes" >&6; }
7143 else
7144 { echo "$as_me:$LINENO: result: no" >&5
7145 echo "${ECHO_T}no" >&6; }
7146 fi
7147
7148
7149 enablestring=
7150 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7151 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7152 no_cache=0
7153 # Check whether --enable-unicode was given.
7154 if test "${enable_unicode+set}" = set; then
7155 enableval=$enable_unicode;
7156 if test "$enableval" = yes; then
7157 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7158 else
7159 ac_cv_use_unicode='wxUSE_UNICODE=no'
7160 fi
7161
7162 else
7163
7164 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7165 if test "x$LINE" != x ; then
7166 eval "DEFAULT_$LINE"
7167 else
7168 no_cache=1
7169 fi
7170
7171 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7172
7173 fi
7174
7175
7176 eval "$ac_cv_use_unicode"
7177 if test "$no_cache" != 1; then
7178 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7179 fi
7180
7181 if test "$wxUSE_UNICODE" = yes; then
7182 { echo "$as_me:$LINENO: result: yes" >&5
7183 echo "${ECHO_T}yes" >&6; }
7184 else
7185 { echo "$as_me:$LINENO: result: no" >&5
7186 echo "${ECHO_T}no" >&6; }
7187 fi
7188
7189
7190 enablestring=
7191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7192 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7193 no_cache=0
7194 # Check whether --enable-sound was given.
7195 if test "${enable_sound+set}" = set; then
7196 enableval=$enable_sound;
7197 if test "$enableval" = yes; then
7198 ac_cv_use_sound='wxUSE_SOUND=yes'
7199 else
7200 ac_cv_use_sound='wxUSE_SOUND=no'
7201 fi
7202
7203 else
7204
7205 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7206 if test "x$LINE" != x ; then
7207 eval "DEFAULT_$LINE"
7208 else
7209 no_cache=1
7210 fi
7211
7212 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7213
7214 fi
7215
7216
7217 eval "$ac_cv_use_sound"
7218 if test "$no_cache" != 1; then
7219 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7220 fi
7221
7222 if test "$wxUSE_SOUND" = yes; then
7223 { echo "$as_me:$LINENO: result: yes" >&5
7224 echo "${ECHO_T}yes" >&6; }
7225 else
7226 { echo "$as_me:$LINENO: result: no" >&5
7227 echo "${ECHO_T}no" >&6; }
7228 fi
7229
7230
7231 enablestring=
7232 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7233 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7234 no_cache=0
7235 # Check whether --enable-mediactrl was given.
7236 if test "${enable_mediactrl+set}" = set; then
7237 enableval=$enable_mediactrl;
7238 if test "$enableval" = yes; then
7239 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7240 else
7241 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7242 fi
7243
7244 else
7245
7246 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x ; then
7248 eval "DEFAULT_$LINE"
7249 else
7250 no_cache=1
7251 fi
7252
7253 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7254
7255 fi
7256
7257
7258 eval "$ac_cv_use_mediactrl"
7259 if test "$no_cache" != 1; then
7260 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7261 fi
7262
7263 if test "$wxUSE_MEDIACTRL" = yes; then
7264 { echo "$as_me:$LINENO: result: yes" >&5
7265 echo "${ECHO_T}yes" >&6; }
7266 else
7267 { echo "$as_me:$LINENO: result: no" >&5
7268 echo "${ECHO_T}no" >&6; }
7269 fi
7270
7271
7272 enablestring=
7273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7274 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7275 no_cache=0
7276 # Check whether --enable-gstreamer8 was given.
7277 if test "${enable_gstreamer8+set}" = set; then
7278 enableval=$enable_gstreamer8;
7279 if test "$enableval" = yes; then
7280 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7281 else
7282 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7283 fi
7284
7285 else
7286
7287 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x ; then
7289 eval "DEFAULT_$LINE"
7290 else
7291 no_cache=1
7292 fi
7293
7294 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7295
7296 fi
7297
7298
7299 eval "$ac_cv_use_gstreamer8"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7302 fi
7303
7304 if test "$wxUSE_GSTREAMER8" = yes; then
7305 { echo "$as_me:$LINENO: result: yes" >&5
7306 echo "${ECHO_T}yes" >&6; }
7307 else
7308 { echo "$as_me:$LINENO: result: no" >&5
7309 echo "${ECHO_T}no" >&6; }
7310 fi
7311
7312
7313 enablestring=
7314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7315 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7316 no_cache=0
7317 # Check whether --enable-printfposparam was given.
7318 if test "${enable_printfposparam+set}" = set; then
7319 enableval=$enable_printfposparam;
7320 if test "$enableval" = yes; then
7321 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7322 else
7323 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7324 fi
7325
7326 else
7327
7328 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7329 if test "x$LINE" != x ; then
7330 eval "DEFAULT_$LINE"
7331 else
7332 no_cache=1
7333 fi
7334
7335 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7336
7337 fi
7338
7339
7340 eval "$ac_cv_use_printfposparam"
7341 if test "$no_cache" != 1; then
7342 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7343 fi
7344
7345 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7346 { echo "$as_me:$LINENO: result: yes" >&5
7347 echo "${ECHO_T}yes" >&6; }
7348 else
7349 { echo "$as_me:$LINENO: result: no" >&5
7350 echo "${ECHO_T}no" >&6; }
7351 fi
7352
7353
7354 enablestring=
7355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7356 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7357 no_cache=0
7358 # Check whether --enable-zipstream was given.
7359 if test "${enable_zipstream+set}" = set; then
7360 enableval=$enable_zipstream;
7361 if test "$enableval" = yes; then
7362 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7363 else
7364 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7365 fi
7366
7367 else
7368
7369 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7370 if test "x$LINE" != x ; then
7371 eval "DEFAULT_$LINE"
7372 else
7373 no_cache=1
7374 fi
7375
7376 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7377
7378 fi
7379
7380
7381 eval "$ac_cv_use_zipstream"
7382 if test "$no_cache" != 1; then
7383 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7384 fi
7385
7386 if test "$wxUSE_ZIPSTREAM" = yes; then
7387 { echo "$as_me:$LINENO: result: yes" >&5
7388 echo "${ECHO_T}yes" >&6; }
7389 else
7390 { echo "$as_me:$LINENO: result: no" >&5
7391 echo "${ECHO_T}no" >&6; }
7392 fi
7393
7394
7395
7396 enablestring=
7397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7398 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7399 no_cache=0
7400 # Check whether --enable-url was given.
7401 if test "${enable_url+set}" = set; then
7402 enableval=$enable_url;
7403 if test "$enableval" = yes; then
7404 ac_cv_use_url='wxUSE_URL=yes'
7405 else
7406 ac_cv_use_url='wxUSE_URL=no'
7407 fi
7408
7409 else
7410
7411 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7412 if test "x$LINE" != x ; then
7413 eval "DEFAULT_$LINE"
7414 else
7415 no_cache=1
7416 fi
7417
7418 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7419
7420 fi
7421
7422
7423 eval "$ac_cv_use_url"
7424 if test "$no_cache" != 1; then
7425 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7426 fi
7427
7428 if test "$wxUSE_URL" = yes; then
7429 { echo "$as_me:$LINENO: result: yes" >&5
7430 echo "${ECHO_T}yes" >&6; }
7431 else
7432 { echo "$as_me:$LINENO: result: no" >&5
7433 echo "${ECHO_T}no" >&6; }
7434 fi
7435
7436
7437 enablestring=
7438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7439 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7440 no_cache=0
7441 # Check whether --enable-variant was given.
7442 if test "${enable_variant+set}" = set; then
7443 enableval=$enable_variant;
7444 if test "$enableval" = yes; then
7445 ac_cv_use_variant='wxUSE_VARIANT=yes'
7446 else
7447 ac_cv_use_variant='wxUSE_VARIANT=no'
7448 fi
7449
7450 else
7451
7452 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7453 if test "x$LINE" != x ; then
7454 eval "DEFAULT_$LINE"
7455 else
7456 no_cache=1
7457 fi
7458
7459 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7460
7461 fi
7462
7463
7464 eval "$ac_cv_use_variant"
7465 if test "$no_cache" != 1; then
7466 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7467 fi
7468
7469 if test "$wxUSE_VARIANT" = yes; then
7470 { echo "$as_me:$LINENO: result: yes" >&5
7471 echo "${ECHO_T}yes" >&6; }
7472 else
7473 { echo "$as_me:$LINENO: result: no" >&5
7474 echo "${ECHO_T}no" >&6; }
7475 fi
7476
7477
7478 enablestring=
7479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7480 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7481 no_cache=0
7482 # Check whether --enable-protocol was given.
7483 if test "${enable_protocol+set}" = set; then
7484 enableval=$enable_protocol;
7485 if test "$enableval" = yes; then
7486 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7487 else
7488 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7489 fi
7490
7491 else
7492
7493 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7494 if test "x$LINE" != x ; then
7495 eval "DEFAULT_$LINE"
7496 else
7497 no_cache=1
7498 fi
7499
7500 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7501
7502 fi
7503
7504
7505 eval "$ac_cv_use_protocol"
7506 if test "$no_cache" != 1; then
7507 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7508 fi
7509
7510 if test "$wxUSE_PROTOCOL" = yes; then
7511 { echo "$as_me:$LINENO: result: yes" >&5
7512 echo "${ECHO_T}yes" >&6; }
7513 else
7514 { echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6; }
7516 fi
7517
7518
7519 enablestring=
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7522 no_cache=0
7523 # Check whether --enable-protocol_http was given.
7524 if test "${enable_protocol_http+set}" = set; then
7525 enableval=$enable_protocol_http;
7526 if test "$enableval" = yes; then
7527 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7528 else
7529 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7530 fi
7531
7532 else
7533
7534 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7535 if test "x$LINE" != x ; then
7536 eval "DEFAULT_$LINE"
7537 else
7538 no_cache=1
7539 fi
7540
7541 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7542
7543 fi
7544
7545
7546 eval "$ac_cv_use_protocol_http"
7547 if test "$no_cache" != 1; then
7548 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7549 fi
7550
7551 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7552 { echo "$as_me:$LINENO: result: yes" >&5
7553 echo "${ECHO_T}yes" >&6; }
7554 else
7555 { echo "$as_me:$LINENO: result: no" >&5
7556 echo "${ECHO_T}no" >&6; }
7557 fi
7558
7559
7560 enablestring=
7561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7562 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7563 no_cache=0
7564 # Check whether --enable-protocol_ftp was given.
7565 if test "${enable_protocol_ftp+set}" = set; then
7566 enableval=$enable_protocol_ftp;
7567 if test "$enableval" = yes; then
7568 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7569 else
7570 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7571 fi
7572
7573 else
7574
7575 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7578 else
7579 no_cache=1
7580 fi
7581
7582 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7583
7584 fi
7585
7586
7587 eval "$ac_cv_use_protocol_ftp"
7588 if test "$no_cache" != 1; then
7589 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7590 fi
7591
7592 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7593 { echo "$as_me:$LINENO: result: yes" >&5
7594 echo "${ECHO_T}yes" >&6; }
7595 else
7596 { echo "$as_me:$LINENO: result: no" >&5
7597 echo "${ECHO_T}no" >&6; }
7598 fi
7599
7600
7601 enablestring=
7602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7603 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7604 no_cache=0
7605 # Check whether --enable-protocol_file was given.
7606 if test "${enable_protocol_file+set}" = set; then
7607 enableval=$enable_protocol_file;
7608 if test "$enableval" = yes; then
7609 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7610 else
7611 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7612 fi
7613
7614 else
7615
7616 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7619 else
7620 no_cache=1
7621 fi
7622
7623 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7624
7625 fi
7626
7627
7628 eval "$ac_cv_use_protocol_file"
7629 if test "$no_cache" != 1; then
7630 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7631 fi
7632
7633 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7634 { echo "$as_me:$LINENO: result: yes" >&5
7635 echo "${ECHO_T}yes" >&6; }
7636 else
7637 { echo "$as_me:$LINENO: result: no" >&5
7638 echo "${ECHO_T}no" >&6; }
7639 fi
7640
7641
7642
7643
7644
7645 enablestring=
7646 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7647 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7648 no_cache=0
7649 # Check whether --enable-threads was given.
7650 if test "${enable_threads+set}" = set; then
7651 enableval=$enable_threads;
7652 if test "$enableval" = yes; then
7653 ac_cv_use_threads='wxUSE_THREADS=yes'
7654 else
7655 ac_cv_use_threads='wxUSE_THREADS=no'
7656 fi
7657
7658 else
7659
7660 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7661 if test "x$LINE" != x ; then
7662 eval "DEFAULT_$LINE"
7663 else
7664 no_cache=1
7665 fi
7666
7667 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7668
7669 fi
7670
7671
7672 eval "$ac_cv_use_threads"
7673 if test "$no_cache" != 1; then
7674 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7675 fi
7676
7677 if test "$wxUSE_THREADS" = yes; then
7678 { echo "$as_me:$LINENO: result: yes" >&5
7679 echo "${ECHO_T}yes" >&6; }
7680 else
7681 { echo "$as_me:$LINENO: result: no" >&5
7682 echo "${ECHO_T}no" >&6; }
7683 fi
7684
7685
7686 if test "$wxUSE_GUI" = "yes"; then
7687
7688
7689
7690 enablestring=
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7693 no_cache=0
7694 # Check whether --enable-docview was given.
7695 if test "${enable_docview+set}" = set; then
7696 enableval=$enable_docview;
7697 if test "$enableval" = yes; then
7698 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7699 else
7700 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7701 fi
7702
7703 else
7704
7705 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 else
7709 no_cache=1
7710 fi
7711
7712 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7713
7714 fi
7715
7716
7717 eval "$ac_cv_use_docview"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7720 fi
7721
7722 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7723 { echo "$as_me:$LINENO: result: yes" >&5
7724 echo "${ECHO_T}yes" >&6; }
7725 else
7726 { echo "$as_me:$LINENO: result: no" >&5
7727 echo "${ECHO_T}no" >&6; }
7728 fi
7729
7730
7731 enablestring=
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7734 no_cache=0
7735 # Check whether --enable-help was given.
7736 if test "${enable_help+set}" = set; then
7737 enableval=$enable_help;
7738 if test "$enableval" = yes; then
7739 ac_cv_use_help='wxUSE_HELP=yes'
7740 else
7741 ac_cv_use_help='wxUSE_HELP=no'
7742 fi
7743
7744 else
7745
7746 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7749 else
7750 no_cache=1
7751 fi
7752
7753 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7754
7755 fi
7756
7757
7758 eval "$ac_cv_use_help"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7761 fi
7762
7763 if test "$wxUSE_HELP" = yes; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7766 else
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7769 fi
7770
7771
7772 enablestring=
7773 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7774 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7775 no_cache=0
7776 # Check whether --enable-mshtmlhelp was given.
7777 if test "${enable_mshtmlhelp+set}" = set; then
7778 enableval=$enable_mshtmlhelp;
7779 if test "$enableval" = yes; then
7780 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7781 else
7782 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7783 fi
7784
7785 else
7786
7787 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7788 if test "x$LINE" != x ; then
7789 eval "DEFAULT_$LINE"
7790 else
7791 no_cache=1
7792 fi
7793
7794 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7795
7796 fi
7797
7798
7799 eval "$ac_cv_use_mshtmlhelp"
7800 if test "$no_cache" != 1; then
7801 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7802 fi
7803
7804 if test "$wxUSE_MS_HTML_HELP" = yes; then
7805 { echo "$as_me:$LINENO: result: yes" >&5
7806 echo "${ECHO_T}yes" >&6; }
7807 else
7808 { echo "$as_me:$LINENO: result: no" >&5
7809 echo "${ECHO_T}no" >&6; }
7810 fi
7811
7812
7813 enablestring=
7814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7815 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7816 no_cache=0
7817 # Check whether --enable-html was given.
7818 if test "${enable_html+set}" = set; then
7819 enableval=$enable_html;
7820 if test "$enableval" = yes; then
7821 ac_cv_use_html='wxUSE_HTML=yes'
7822 else
7823 ac_cv_use_html='wxUSE_HTML=no'
7824 fi
7825
7826 else
7827
7828 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7829 if test "x$LINE" != x ; then
7830 eval "DEFAULT_$LINE"
7831 else
7832 no_cache=1
7833 fi
7834
7835 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7836
7837 fi
7838
7839
7840 eval "$ac_cv_use_html"
7841 if test "$no_cache" != 1; then
7842 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7843 fi
7844
7845 if test "$wxUSE_HTML" = yes; then
7846 { echo "$as_me:$LINENO: result: yes" >&5
7847 echo "${ECHO_T}yes" >&6; }
7848 else
7849 { echo "$as_me:$LINENO: result: no" >&5
7850 echo "${ECHO_T}no" >&6; }
7851 fi
7852
7853
7854 enablestring=
7855 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7856 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7857 no_cache=0
7858 # Check whether --enable-htmlhelp was given.
7859 if test "${enable_htmlhelp+set}" = set; then
7860 enableval=$enable_htmlhelp;
7861 if test "$enableval" = yes; then
7862 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7863 else
7864 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7865 fi
7866
7867 else
7868
7869 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7870 if test "x$LINE" != x ; then
7871 eval "DEFAULT_$LINE"
7872 else
7873 no_cache=1
7874 fi
7875
7876 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7877
7878 fi
7879
7880
7881 eval "$ac_cv_use_htmlhelp"
7882 if test "$no_cache" != 1; then
7883 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7884 fi
7885
7886 if test "$wxUSE_WXHTML_HELP" = yes; then
7887 { echo "$as_me:$LINENO: result: yes" >&5
7888 echo "${ECHO_T}yes" >&6; }
7889 else
7890 { echo "$as_me:$LINENO: result: no" >&5
7891 echo "${ECHO_T}no" >&6; }
7892 fi
7893
7894
7895 enablestring=
7896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7897 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7898 no_cache=0
7899 # Check whether --enable-xrc was given.
7900 if test "${enable_xrc+set}" = set; then
7901 enableval=$enable_xrc;
7902 if test "$enableval" = yes; then
7903 ac_cv_use_xrc='wxUSE_XRC=yes'
7904 else
7905 ac_cv_use_xrc='wxUSE_XRC=no'
7906 fi
7907
7908 else
7909
7910 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7911 if test "x$LINE" != x ; then
7912 eval "DEFAULT_$LINE"
7913 else
7914 no_cache=1
7915 fi
7916
7917 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7918
7919 fi
7920
7921
7922 eval "$ac_cv_use_xrc"
7923 if test "$no_cache" != 1; then
7924 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7925 fi
7926
7927 if test "$wxUSE_XRC" = yes; then
7928 { echo "$as_me:$LINENO: result: yes" >&5
7929 echo "${ECHO_T}yes" >&6; }
7930 else
7931 { echo "$as_me:$LINENO: result: no" >&5
7932 echo "${ECHO_T}no" >&6; }
7933 fi
7934
7935
7936 enablestring=
7937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7938 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7939 no_cache=0
7940 # Check whether --enable-aui was given.
7941 if test "${enable_aui+set}" = set; then
7942 enableval=$enable_aui;
7943 if test "$enableval" = yes; then
7944 ac_cv_use_aui='wxUSE_AUI=yes'
7945 else
7946 ac_cv_use_aui='wxUSE_AUI=no'
7947 fi
7948
7949 else
7950
7951 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7952 if test "x$LINE" != x ; then
7953 eval "DEFAULT_$LINE"
7954 else
7955 no_cache=1
7956 fi
7957
7958 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7959
7960 fi
7961
7962
7963 eval "$ac_cv_use_aui"
7964 if test "$no_cache" != 1; then
7965 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7966 fi
7967
7968 if test "$wxUSE_AUI" = yes; then
7969 { echo "$as_me:$LINENO: result: yes" >&5
7970 echo "${ECHO_T}yes" >&6; }
7971 else
7972 { echo "$as_me:$LINENO: result: no" >&5
7973 echo "${ECHO_T}no" >&6; }
7974 fi
7975
7976
7977 enablestring=
7978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7979 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7980 no_cache=0
7981 # Check whether --enable-stc was given.
7982 if test "${enable_stc+set}" = set; then
7983 enableval=$enable_stc;
7984 if test "$enableval" = yes; then
7985 ac_cv_use_stc='wxUSE_STC=yes'
7986 else
7987 ac_cv_use_stc='wxUSE_STC=no'
7988 fi
7989
7990 else
7991
7992 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x ; then
7994 eval "DEFAULT_$LINE"
7995 else
7996 no_cache=1
7997 fi
7998
7999 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8000
8001 fi
8002
8003
8004 eval "$ac_cv_use_stc"
8005 if test "$no_cache" != 1; then
8006 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8007 fi
8008
8009 if test "$wxUSE_STC" = yes; then
8010 { echo "$as_me:$LINENO: result: yes" >&5
8011 echo "${ECHO_T}yes" >&6; }
8012 else
8013 { echo "$as_me:$LINENO: result: no" >&5
8014 echo "${ECHO_T}no" >&6; }
8015 fi
8016
8017
8018 enablestring=
8019 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8020 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8021 no_cache=0
8022 # Check whether --enable-constraints was given.
8023 if test "${enable_constraints+set}" = set; then
8024 enableval=$enable_constraints;
8025 if test "$enableval" = yes; then
8026 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8027 else
8028 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8029 fi
8030
8031 else
8032
8033 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8034 if test "x$LINE" != x ; then
8035 eval "DEFAULT_$LINE"
8036 else
8037 no_cache=1
8038 fi
8039
8040 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8041
8042 fi
8043
8044
8045 eval "$ac_cv_use_constraints"
8046 if test "$no_cache" != 1; then
8047 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8048 fi
8049
8050 if test "$wxUSE_CONSTRAINTS" = yes; then
8051 { echo "$as_me:$LINENO: result: yes" >&5
8052 echo "${ECHO_T}yes" >&6; }
8053 else
8054 { echo "$as_me:$LINENO: result: no" >&5
8055 echo "${ECHO_T}no" >&6; }
8056 fi
8057
8058
8059 enablestring=
8060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8061 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8062 no_cache=0
8063 # Check whether --enable-printarch was given.
8064 if test "${enable_printarch+set}" = set; then
8065 enableval=$enable_printarch;
8066 if test "$enableval" = yes; then
8067 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8068 else
8069 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8070 fi
8071
8072 else
8073
8074 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8075 if test "x$LINE" != x ; then
8076 eval "DEFAULT_$LINE"
8077 else
8078 no_cache=1
8079 fi
8080
8081 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8082
8083 fi
8084
8085
8086 eval "$ac_cv_use_printarch"
8087 if test "$no_cache" != 1; then
8088 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8089 fi
8090
8091 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8092 { echo "$as_me:$LINENO: result: yes" >&5
8093 echo "${ECHO_T}yes" >&6; }
8094 else
8095 { echo "$as_me:$LINENO: result: no" >&5
8096 echo "${ECHO_T}no" >&6; }
8097 fi
8098
8099
8100 enablestring=
8101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8103 no_cache=0
8104 # Check whether --enable-mdi was given.
8105 if test "${enable_mdi+set}" = set; then
8106 enableval=$enable_mdi;
8107 if test "$enableval" = yes; then
8108 ac_cv_use_mdi='wxUSE_MDI=yes'
8109 else
8110 ac_cv_use_mdi='wxUSE_MDI=no'
8111 fi
8112
8113 else
8114
8115 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8116 if test "x$LINE" != x ; then
8117 eval "DEFAULT_$LINE"
8118 else
8119 no_cache=1
8120 fi
8121
8122 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8123
8124 fi
8125
8126
8127 eval "$ac_cv_use_mdi"
8128 if test "$no_cache" != 1; then
8129 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8130 fi
8131
8132 if test "$wxUSE_MDI" = yes; then
8133 { echo "$as_me:$LINENO: result: yes" >&5
8134 echo "${ECHO_T}yes" >&6; }
8135 else
8136 { echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6; }
8138 fi
8139
8140
8141 enablestring=
8142 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8143 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8144 no_cache=0
8145 # Check whether --enable-mdidoc was given.
8146 if test "${enable_mdidoc+set}" = set; then
8147 enableval=$enable_mdidoc;
8148 if test "$enableval" = yes; then
8149 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8150 else
8151 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8152 fi
8153
8154 else
8155
8156 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8157 if test "x$LINE" != x ; then
8158 eval "DEFAULT_$LINE"
8159 else
8160 no_cache=1
8161 fi
8162
8163 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8164
8165 fi
8166
8167
8168 eval "$ac_cv_use_mdidoc"
8169 if test "$no_cache" != 1; then
8170 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8171 fi
8172
8173 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8174 { echo "$as_me:$LINENO: result: yes" >&5
8175 echo "${ECHO_T}yes" >&6; }
8176 else
8177 { echo "$as_me:$LINENO: result: no" >&5
8178 echo "${ECHO_T}no" >&6; }
8179 fi
8180
8181
8182 enablestring=
8183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8184 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8185 no_cache=0
8186 # Check whether --enable-loggui was given.
8187 if test "${enable_loggui+set}" = set; then
8188 enableval=$enable_loggui;
8189 if test "$enableval" = yes; then
8190 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8191 else
8192 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8193 fi
8194
8195 else
8196
8197 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8198 if test "x$LINE" != x ; then
8199 eval "DEFAULT_$LINE"
8200 else
8201 no_cache=1
8202 fi
8203
8204 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8205
8206 fi
8207
8208
8209 eval "$ac_cv_use_loggui"
8210 if test "$no_cache" != 1; then
8211 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8212 fi
8213
8214 if test "$wxUSE_LOGGUI" = yes; then
8215 { echo "$as_me:$LINENO: result: yes" >&5
8216 echo "${ECHO_T}yes" >&6; }
8217 else
8218 { echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6; }
8220 fi
8221
8222
8223 enablestring=
8224 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8225 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8226 no_cache=0
8227 # Check whether --enable-logwin was given.
8228 if test "${enable_logwin+set}" = set; then
8229 enableval=$enable_logwin;
8230 if test "$enableval" = yes; then
8231 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8232 else
8233 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8234 fi
8235
8236 else
8237
8238 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8239 if test "x$LINE" != x ; then
8240 eval "DEFAULT_$LINE"
8241 else
8242 no_cache=1
8243 fi
8244
8245 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8246
8247 fi
8248
8249
8250 eval "$ac_cv_use_logwin"
8251 if test "$no_cache" != 1; then
8252 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8253 fi
8254
8255 if test "$wxUSE_LOGWINDOW" = yes; then
8256 { echo "$as_me:$LINENO: result: yes" >&5
8257 echo "${ECHO_T}yes" >&6; }
8258 else
8259 { echo "$as_me:$LINENO: result: no" >&5
8260 echo "${ECHO_T}no" >&6; }
8261 fi
8262
8263
8264 enablestring=
8265 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8266 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8267 no_cache=0
8268 # Check whether --enable-logdialog was given.
8269 if test "${enable_logdialog+set}" = set; then
8270 enableval=$enable_logdialog;
8271 if test "$enableval" = yes; then
8272 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8273 else
8274 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8275 fi
8276
8277 else
8278
8279 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8280 if test "x$LINE" != x ; then
8281 eval "DEFAULT_$LINE"
8282 else
8283 no_cache=1
8284 fi
8285
8286 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8287
8288 fi
8289
8290
8291 eval "$ac_cv_use_logdialog"
8292 if test "$no_cache" != 1; then
8293 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8294 fi
8295
8296 if test "$wxUSE_LOGDIALOG" = yes; then
8297 { echo "$as_me:$LINENO: result: yes" >&5
8298 echo "${ECHO_T}yes" >&6; }
8299 else
8300 { echo "$as_me:$LINENO: result: no" >&5
8301 echo "${ECHO_T}no" >&6; }
8302 fi
8303
8304
8305 enablestring=
8306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8308 no_cache=0
8309 # Check whether --enable-webkit was given.
8310 if test "${enable_webkit+set}" = set; then
8311 enableval=$enable_webkit;
8312 if test "$enableval" = yes; then
8313 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8314 else
8315 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8316 fi
8317
8318 else
8319
8320 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8321 if test "x$LINE" != x ; then
8322 eval "DEFAULT_$LINE"
8323 else
8324 no_cache=1
8325 fi
8326
8327 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8328
8329 fi
8330
8331
8332 eval "$ac_cv_use_webkit"
8333 if test "$no_cache" != 1; then
8334 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8335 fi
8336
8337 if test "$wxUSE_WEBKIT" = yes; then
8338 { echo "$as_me:$LINENO: result: yes" >&5
8339 echo "${ECHO_T}yes" >&6; }
8340 else
8341 { echo "$as_me:$LINENO: result: no" >&5
8342 echo "${ECHO_T}no" >&6; }
8343 fi
8344
8345
8346 enablestring=
8347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8348 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8349 no_cache=0
8350 # Check whether --enable-richtext was given.
8351 if test "${enable_richtext+set}" = set; then
8352 enableval=$enable_richtext;
8353 if test "$enableval" = yes; then
8354 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8355 else
8356 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8357 fi
8358
8359 else
8360
8361 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8362 if test "x$LINE" != x ; then
8363 eval "DEFAULT_$LINE"
8364 else
8365 no_cache=1
8366 fi
8367
8368 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8369
8370 fi
8371
8372
8373 eval "$ac_cv_use_richtext"
8374 if test "$no_cache" != 1; then
8375 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8376 fi
8377
8378 if test "$wxUSE_RICHTEXT" = yes; then
8379 { echo "$as_me:$LINENO: result: yes" >&5
8380 echo "${ECHO_T}yes" >&6; }
8381 else
8382 { echo "$as_me:$LINENO: result: no" >&5
8383 echo "${ECHO_T}no" >&6; }
8384 fi
8385
8386
8387 enablestring=
8388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8389 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8390 no_cache=0
8391 # Check whether --enable-graphics_ctx was given.
8392 if test "${enable_graphics_ctx+set}" = set; then
8393 enableval=$enable_graphics_ctx;
8394 if test "$enableval" = yes; then
8395 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8396 else
8397 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8398 fi
8399
8400 else
8401
8402 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${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_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8410
8411 fi
8412
8413
8414 eval "$ac_cv_use_graphics_ctx"
8415 if test "$no_cache" != 1; then
8416 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8417 fi
8418
8419 if test "$wxUSE_GRAPHICS_CONTEXT" = 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 enablestring=
8430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8432 no_cache=0
8433 # Check whether --enable-postscript was given.
8434 if test "${enable_postscript+set}" = set; then
8435 enableval=$enable_postscript;
8436 if test "$enableval" = yes; then
8437 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8438 else
8439 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8440 fi
8441
8442 else
8443
8444 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8445 if test "x$LINE" != x ; then
8446 eval "DEFAULT_$LINE"
8447 else
8448 no_cache=1
8449 fi
8450
8451 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8452
8453 fi
8454
8455
8456 eval "$ac_cv_use_postscript"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8459 fi
8460
8461 if test "$wxUSE_POSTSCRIPT" = yes; then
8462 { echo "$as_me:$LINENO: result: yes" >&5
8463 echo "${ECHO_T}yes" >&6; }
8464 else
8465 { echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6; }
8467 fi
8468
8469
8470
8471
8472
8473 enablestring=
8474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8475 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8476 no_cache=0
8477 # Check whether --enable-clipboard was given.
8478 if test "${enable_clipboard+set}" = set; then
8479 enableval=$enable_clipboard;
8480 if test "$enableval" = yes; then
8481 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8482 else
8483 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8484 fi
8485
8486 else
8487
8488 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
8489 if test "x$LINE" != x ; then
8490 eval "DEFAULT_$LINE"
8491 else
8492 no_cache=1
8493 fi
8494
8495 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8496
8497 fi
8498
8499
8500 eval "$ac_cv_use_clipboard"
8501 if test "$no_cache" != 1; then
8502 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8503 fi
8504
8505 if test "$wxUSE_CLIPBOARD" = yes; then
8506 { echo "$as_me:$LINENO: result: yes" >&5
8507 echo "${ECHO_T}yes" >&6; }
8508 else
8509 { echo "$as_me:$LINENO: result: no" >&5
8510 echo "${ECHO_T}no" >&6; }
8511 fi
8512
8513
8514 enablestring=
8515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8516 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8517 no_cache=0
8518 # Check whether --enable-dnd was given.
8519 if test "${enable_dnd+set}" = set; then
8520 enableval=$enable_dnd;
8521 if test "$enableval" = yes; then
8522 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8523 else
8524 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8525 fi
8526
8527 else
8528
8529 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
8530 if test "x$LINE" != x ; then
8531 eval "DEFAULT_$LINE"
8532 else
8533 no_cache=1
8534 fi
8535
8536 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8537
8538 fi
8539
8540
8541 eval "$ac_cv_use_dnd"
8542 if test "$no_cache" != 1; then
8543 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8544 fi
8545
8546 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8547 { echo "$as_me:$LINENO: result: yes" >&5
8548 echo "${ECHO_T}yes" >&6; }
8549 else
8550 { echo "$as_me:$LINENO: result: no" >&5
8551 echo "${ECHO_T}no" >&6; }
8552 fi
8553
8554
8555 enablestring=
8556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8558 no_cache=0
8559 # Check whether --enable-metafile was given.
8560 if test "${enable_metafile+set}" = set; then
8561 enableval=$enable_metafile;
8562 if test "$enableval" = yes; then
8563 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8564 else
8565 ac_cv_use_metafile='wxUSE_METAFILE=no'
8566 fi
8567
8568 else
8569
8570 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8571 if test "x$LINE" != x ; then
8572 eval "DEFAULT_$LINE"
8573 else
8574 no_cache=1
8575 fi
8576
8577 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8578
8579 fi
8580
8581
8582 eval "$ac_cv_use_metafile"
8583 if test "$no_cache" != 1; then
8584 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8585 fi
8586
8587 if test "$wxUSE_METAFILE" = yes; then
8588 { echo "$as_me:$LINENO: result: yes" >&5
8589 echo "${ECHO_T}yes" >&6; }
8590 else
8591 { echo "$as_me:$LINENO: result: no" >&5
8592 echo "${ECHO_T}no" >&6; }
8593 fi
8594
8595
8596
8597
8598
8599 enablestring=
8600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8601 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8602 no_cache=0
8603 # Check whether --enable-controls was given.
8604 if test "${enable_controls+set}" = set; then
8605 enableval=$enable_controls;
8606 if test "$enableval" = yes; then
8607 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8608 else
8609 ac_cv_use_controls='wxUSE_CONTROLS=no'
8610 fi
8611
8612 else
8613
8614 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8615 if test "x$LINE" != x ; then
8616 eval "DEFAULT_$LINE"
8617 else
8618 no_cache=1
8619 fi
8620
8621 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8622
8623 fi
8624
8625
8626 eval "$ac_cv_use_controls"
8627 if test "$no_cache" != 1; then
8628 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8629 fi
8630
8631 if test "$wxUSE_CONTROLS" = yes; then
8632 { echo "$as_me:$LINENO: result: yes" >&5
8633 echo "${ECHO_T}yes" >&6; }
8634 else
8635 { echo "$as_me:$LINENO: result: no" >&5
8636 echo "${ECHO_T}no" >&6; }
8637 fi
8638
8639
8640 if test "$wxUSE_CONTROLS" = "yes"; then
8641 DEFAULT_wxUSE_ACCEL=yes
8642 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8643 DEFAULT_wxUSE_BMPBUTTON=yes
8644 DEFAULT_wxUSE_BUTTON=yes
8645 DEFAULT_wxUSE_CALCTRL=yes
8646 DEFAULT_wxUSE_CARET=yes
8647 DEFAULT_wxUSE_COMBOBOX=yes
8648 DEFAULT_wxUSE_CHECKBOX=yes
8649 DEFAULT_wxUSE_CHECKLISTBOX=yes
8650 DEFAULT_wxUSE_CHOICE=yes
8651 DEFAULT_wxUSE_CHOICEBOOK=yes
8652 DEFAULT_wxUSE_COLLPANE=yes
8653 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8654 DEFAULT_wxUSE_COMBOBOX=yes
8655 DEFAULT_wxUSE_DATEPICKCTRL=yes
8656 DEFAULT_wxUSE_DISPLAY=yes
8657 DEFAULT_wxUSE_DETECT_SM=yes
8658 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8659 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8660 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8661 DEFAULT_wxUSE_GAUGE=yes
8662 DEFAULT_wxUSE_GRID=yes
8663 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8664 DEFAULT_wxUSE_DATAVIEWCTRL=no
8665 DEFAULT_wxUSE_IMAGLIST=yes
8666 DEFAULT_wxUSE_LISTBOOK=yes
8667 DEFAULT_wxUSE_LISTBOX=yes
8668 DEFAULT_wxUSE_LISTCTRL=yes
8669 DEFAULT_wxUSE_NOTEBOOK=yes
8670 DEFAULT_wxUSE_RADIOBOX=yes
8671 DEFAULT_wxUSE_RADIOBTN=yes
8672 DEFAULT_wxUSE_SASH=yes
8673 DEFAULT_wxUSE_SCROLLBAR=yes
8674 DEFAULT_wxUSE_SEARCHCTRL=yes
8675 DEFAULT_wxUSE_SLIDER=yes
8676 DEFAULT_wxUSE_SPINBTN=yes
8677 DEFAULT_wxUSE_SPINCTRL=yes
8678 DEFAULT_wxUSE_SPLITTER=yes
8679 DEFAULT_wxUSE_STATBMP=yes
8680 DEFAULT_wxUSE_STATBOX=yes
8681 DEFAULT_wxUSE_STATLINE=yes
8682 DEFAULT_wxUSE_STATUSBAR=yes
8683 DEFAULT_wxUSE_TAB_DIALOG=yes
8684 DEFAULT_wxUSE_TOGGLEBTN=yes
8685 DEFAULT_wxUSE_TOOLBAR=yes
8686 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8687 DEFAULT_wxUSE_TOOLTIPS=yes
8688 DEFAULT_wxUSE_TREEBOOK=yes
8689 DEFAULT_wxUSE_TOOLBOOK=yes
8690 DEFAULT_wxUSE_TREECTRL=yes
8691 DEFAULT_wxUSE_POPUPWIN=yes
8692 DEFAULT_wxUSE_TIPWINDOW=yes
8693 elif test "$wxUSE_CONTROLS" = "no"; then
8694 DEFAULT_wxUSE_ACCEL=no
8695 DEFAULT_wxUSE_ANIMATIONCTRL=no
8696 DEFAULT_wxUSE_BMPBUTTON=no
8697 DEFAULT_wxUSE_BUTTON=no
8698 DEFAULT_wxUSE_CALCTRL=no
8699 DEFAULT_wxUSE_CARET=no
8700 DEFAULT_wxUSE_COLLPANE=no
8701 DEFAULT_wxUSE_COMBOBOX=no
8702 DEFAULT_wxUSE_CHECKBOX=no
8703 DEFAULT_wxUSE_CHECKLISTBOX=no
8704 DEFAULT_wxUSE_CHOICE=no
8705 DEFAULT_wxUSE_CHOICEBOOK=no
8706 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8707 DEFAULT_wxUSE_COMBOBOX=no
8708 DEFAULT_wxUSE_DATEPICKCTRL=no
8709 DEFAULT_wxUSE_DISPLAY=no
8710 DEFAULT_wxUSE_DETECT_SM=no
8711 DEFAULT_wxUSE_DIRPICKERCTRL=no
8712 DEFAULT_wxUSE_FILEPICKERCTRL=no
8713 DEFAULT_wxUSE_FONTPICKERCTRL=no
8714 DEFAULT_wxUSE_GAUGE=no
8715 DEFAULT_wxUSE_GRID=no
8716 DEFAULT_wxUSE_HYPERLINKCTRL=no
8717 DEFAULT_wxUSE_DATAVIEWCTRL=no
8718 DEFAULT_wxUSE_IMAGLIST=no
8719 DEFAULT_wxUSE_LISTBOOK=no
8720 DEFAULT_wxUSE_LISTBOX=no
8721 DEFAULT_wxUSE_LISTCTRL=no
8722 DEFAULT_wxUSE_NOTEBOOK=no
8723 DEFAULT_wxUSE_RADIOBOX=no
8724 DEFAULT_wxUSE_RADIOBTN=no
8725 DEFAULT_wxUSE_SASH=no
8726 DEFAULT_wxUSE_SCROLLBAR=no
8727 DEFAULT_wxUSE_SEARCHCTRL=no
8728 DEFAULT_wxUSE_SLIDER=no
8729 DEFAULT_wxUSE_SPINBTN=no
8730 DEFAULT_wxUSE_SPINCTRL=no
8731 DEFAULT_wxUSE_SPLITTER=no
8732 DEFAULT_wxUSE_STATBMP=no
8733 DEFAULT_wxUSE_STATBOX=no
8734 DEFAULT_wxUSE_STATLINE=no
8735 DEFAULT_wxUSE_STATUSBAR=no
8736 DEFAULT_wxUSE_TAB_DIALOG=no
8737 DEFAULT_wxUSE_TOGGLEBTN=no
8738 DEFAULT_wxUSE_TOOLBAR=no
8739 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8740 DEFAULT_wxUSE_TOOLTIPS=no
8741 DEFAULT_wxUSE_TREEBOOK=no
8742 DEFAULT_wxUSE_TOOLBOOK=no
8743 DEFAULT_wxUSE_TREECTRL=no
8744 DEFAULT_wxUSE_POPUPWIN=no
8745 DEFAULT_wxUSE_TIPWINDOW=no
8746 fi
8747
8748
8749 enablestring=
8750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8751 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8752 no_cache=0
8753 # Check whether --enable-accel was given.
8754 if test "${enable_accel+set}" = set; then
8755 enableval=$enable_accel;
8756 if test "$enableval" = yes; then
8757 ac_cv_use_accel='wxUSE_ACCEL=yes'
8758 else
8759 ac_cv_use_accel='wxUSE_ACCEL=no'
8760 fi
8761
8762 else
8763
8764 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8765 if test "x$LINE" != x ; then
8766 eval "DEFAULT_$LINE"
8767 else
8768 no_cache=1
8769 fi
8770
8771 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8772
8773 fi
8774
8775
8776 eval "$ac_cv_use_accel"
8777 if test "$no_cache" != 1; then
8778 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8779 fi
8780
8781 if test "$wxUSE_ACCEL" = yes; then
8782 { echo "$as_me:$LINENO: result: yes" >&5
8783 echo "${ECHO_T}yes" >&6; }
8784 else
8785 { echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6; }
8787 fi
8788
8789
8790 enablestring=
8791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8792 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8793 no_cache=0
8794 # Check whether --enable-animatectrl was given.
8795 if test "${enable_animatectrl+set}" = set; then
8796 enableval=$enable_animatectrl;
8797 if test "$enableval" = yes; then
8798 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8799 else
8800 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8801 fi
8802
8803 else
8804
8805 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8806 if test "x$LINE" != x ; then
8807 eval "DEFAULT_$LINE"
8808 else
8809 no_cache=1
8810 fi
8811
8812 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8813
8814 fi
8815
8816
8817 eval "$ac_cv_use_animatectrl"
8818 if test "$no_cache" != 1; then
8819 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8820 fi
8821
8822 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8823 { echo "$as_me:$LINENO: result: yes" >&5
8824 echo "${ECHO_T}yes" >&6; }
8825 else
8826 { echo "$as_me:$LINENO: result: no" >&5
8827 echo "${ECHO_T}no" >&6; }
8828 fi
8829
8830
8831 enablestring=
8832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8833 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8834 no_cache=0
8835 # Check whether --enable-button was given.
8836 if test "${enable_button+set}" = set; then
8837 enableval=$enable_button;
8838 if test "$enableval" = yes; then
8839 ac_cv_use_button='wxUSE_BUTTON=yes'
8840 else
8841 ac_cv_use_button='wxUSE_BUTTON=no'
8842 fi
8843
8844 else
8845
8846 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8847 if test "x$LINE" != x ; then
8848 eval "DEFAULT_$LINE"
8849 else
8850 no_cache=1
8851 fi
8852
8853 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8854
8855 fi
8856
8857
8858 eval "$ac_cv_use_button"
8859 if test "$no_cache" != 1; then
8860 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8861 fi
8862
8863 if test "$wxUSE_BUTTON" = yes; then
8864 { echo "$as_me:$LINENO: result: yes" >&5
8865 echo "${ECHO_T}yes" >&6; }
8866 else
8867 { echo "$as_me:$LINENO: result: no" >&5
8868 echo "${ECHO_T}no" >&6; }
8869 fi
8870
8871
8872 enablestring=
8873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8874 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8875 no_cache=0
8876 # Check whether --enable-bmpbutton was given.
8877 if test "${enable_bmpbutton+set}" = set; then
8878 enableval=$enable_bmpbutton;
8879 if test "$enableval" = yes; then
8880 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8881 else
8882 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8883 fi
8884
8885 else
8886
8887 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8888 if test "x$LINE" != x ; then
8889 eval "DEFAULT_$LINE"
8890 else
8891 no_cache=1
8892 fi
8893
8894 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8895
8896 fi
8897
8898
8899 eval "$ac_cv_use_bmpbutton"
8900 if test "$no_cache" != 1; then
8901 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8902 fi
8903
8904 if test "$wxUSE_BMPBUTTON" = yes; then
8905 { echo "$as_me:$LINENO: result: yes" >&5
8906 echo "${ECHO_T}yes" >&6; }
8907 else
8908 { echo "$as_me:$LINENO: result: no" >&5
8909 echo "${ECHO_T}no" >&6; }
8910 fi
8911
8912
8913 enablestring=
8914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8915 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8916 no_cache=0
8917 # Check whether --enable-bmpcombobox was given.
8918 if test "${enable_bmpcombobox+set}" = set; then
8919 enableval=$enable_bmpcombobox;
8920 if test "$enableval" = yes; then
8921 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8922 else
8923 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8924 fi
8925
8926 else
8927
8928 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8929 if test "x$LINE" != x ; then
8930 eval "DEFAULT_$LINE"
8931 else
8932 no_cache=1
8933 fi
8934
8935 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8936
8937 fi
8938
8939
8940 eval "$ac_cv_use_bmpcombobox"
8941 if test "$no_cache" != 1; then
8942 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8943 fi
8944
8945 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8946 { echo "$as_me:$LINENO: result: yes" >&5
8947 echo "${ECHO_T}yes" >&6; }
8948 else
8949 { echo "$as_me:$LINENO: result: no" >&5
8950 echo "${ECHO_T}no" >&6; }
8951 fi
8952
8953
8954 enablestring=
8955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8956 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8957 no_cache=0
8958 # Check whether --enable-calendar was given.
8959 if test "${enable_calendar+set}" = set; then
8960 enableval=$enable_calendar;
8961 if test "$enableval" = yes; then
8962 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8963 else
8964 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8965 fi
8966
8967 else
8968
8969 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8970 if test "x$LINE" != x ; then
8971 eval "DEFAULT_$LINE"
8972 else
8973 no_cache=1
8974 fi
8975
8976 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8977
8978 fi
8979
8980
8981 eval "$ac_cv_use_calendar"
8982 if test "$no_cache" != 1; then
8983 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8984 fi
8985
8986 if test "$wxUSE_CALCTRL" = yes; then
8987 { echo "$as_me:$LINENO: result: yes" >&5
8988 echo "${ECHO_T}yes" >&6; }
8989 else
8990 { echo "$as_me:$LINENO: result: no" >&5
8991 echo "${ECHO_T}no" >&6; }
8992 fi
8993
8994
8995 enablestring=
8996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8997 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
8998 no_cache=0
8999 # Check whether --enable-caret was given.
9000 if test "${enable_caret+set}" = set; then
9001 enableval=$enable_caret;
9002 if test "$enableval" = yes; then
9003 ac_cv_use_caret='wxUSE_CARET=yes'
9004 else
9005 ac_cv_use_caret='wxUSE_CARET=no'
9006 fi
9007
9008 else
9009
9010 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9011 if test "x$LINE" != x ; then
9012 eval "DEFAULT_$LINE"
9013 else
9014 no_cache=1
9015 fi
9016
9017 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9018
9019 fi
9020
9021
9022 eval "$ac_cv_use_caret"
9023 if test "$no_cache" != 1; then
9024 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9025 fi
9026
9027 if test "$wxUSE_CARET" = yes; then
9028 { echo "$as_me:$LINENO: result: yes" >&5
9029 echo "${ECHO_T}yes" >&6; }
9030 else
9031 { echo "$as_me:$LINENO: result: no" >&5
9032 echo "${ECHO_T}no" >&6; }
9033 fi
9034
9035
9036 enablestring=
9037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9038 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9039 no_cache=0
9040 # Check whether --enable-checkbox was given.
9041 if test "${enable_checkbox+set}" = set; then
9042 enableval=$enable_checkbox;
9043 if test "$enableval" = yes; then
9044 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9045 else
9046 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9047 fi
9048
9049 else
9050
9051 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9052 if test "x$LINE" != x ; then
9053 eval "DEFAULT_$LINE"
9054 else
9055 no_cache=1
9056 fi
9057
9058 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9059
9060 fi
9061
9062
9063 eval "$ac_cv_use_checkbox"
9064 if test "$no_cache" != 1; then
9065 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9066 fi
9067
9068 if test "$wxUSE_CHECKBOX" = yes; then
9069 { echo "$as_me:$LINENO: result: yes" >&5
9070 echo "${ECHO_T}yes" >&6; }
9071 else
9072 { echo "$as_me:$LINENO: result: no" >&5
9073 echo "${ECHO_T}no" >&6; }
9074 fi
9075
9076
9077 enablestring=
9078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9079 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9080 no_cache=0
9081 # Check whether --enable-checklst was given.
9082 if test "${enable_checklst+set}" = set; then
9083 enableval=$enable_checklst;
9084 if test "$enableval" = yes; then
9085 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9086 else
9087 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9088 fi
9089
9090 else
9091
9092 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9093 if test "x$LINE" != x ; then
9094 eval "DEFAULT_$LINE"
9095 else
9096 no_cache=1
9097 fi
9098
9099 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9100
9101 fi
9102
9103
9104 eval "$ac_cv_use_checklst"
9105 if test "$no_cache" != 1; then
9106 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9107 fi
9108
9109 if test "$wxUSE_CHECKLST" = yes; then
9110 { echo "$as_me:$LINENO: result: yes" >&5
9111 echo "${ECHO_T}yes" >&6; }
9112 else
9113 { echo "$as_me:$LINENO: result: no" >&5
9114 echo "${ECHO_T}no" >&6; }
9115 fi
9116
9117
9118 enablestring=
9119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9120 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9121 no_cache=0
9122 # Check whether --enable-choice was given.
9123 if test "${enable_choice+set}" = set; then
9124 enableval=$enable_choice;
9125 if test "$enableval" = yes; then
9126 ac_cv_use_choice='wxUSE_CHOICE=yes'
9127 else
9128 ac_cv_use_choice='wxUSE_CHOICE=no'
9129 fi
9130
9131 else
9132
9133 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9134 if test "x$LINE" != x ; then
9135 eval "DEFAULT_$LINE"
9136 else
9137 no_cache=1
9138 fi
9139
9140 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9141
9142 fi
9143
9144
9145 eval "$ac_cv_use_choice"
9146 if test "$no_cache" != 1; then
9147 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9148 fi
9149
9150 if test "$wxUSE_CHOICE" = yes; then
9151 { echo "$as_me:$LINENO: result: yes" >&5
9152 echo "${ECHO_T}yes" >&6; }
9153 else
9154 { echo "$as_me:$LINENO: result: no" >&5
9155 echo "${ECHO_T}no" >&6; }
9156 fi
9157
9158
9159 enablestring=
9160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9161 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9162 no_cache=0
9163 # Check whether --enable-choicebook was given.
9164 if test "${enable_choicebook+set}" = set; then
9165 enableval=$enable_choicebook;
9166 if test "$enableval" = yes; then
9167 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9168 else
9169 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9170 fi
9171
9172 else
9173
9174 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9175 if test "x$LINE" != x ; then
9176 eval "DEFAULT_$LINE"
9177 else
9178 no_cache=1
9179 fi
9180
9181 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9182
9183 fi
9184
9185
9186 eval "$ac_cv_use_choicebook"
9187 if test "$no_cache" != 1; then
9188 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9189 fi
9190
9191 if test "$wxUSE_CHOICEBOOK" = yes; then
9192 { echo "$as_me:$LINENO: result: yes" >&5
9193 echo "${ECHO_T}yes" >&6; }
9194 else
9195 { echo "$as_me:$LINENO: result: no" >&5
9196 echo "${ECHO_T}no" >&6; }
9197 fi
9198
9199
9200 enablestring=
9201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9202 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9203 no_cache=0
9204 # Check whether --enable-collpane was given.
9205 if test "${enable_collpane+set}" = set; then
9206 enableval=$enable_collpane;
9207 if test "$enableval" = yes; then
9208 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9209 else
9210 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9211 fi
9212
9213 else
9214
9215 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9216 if test "x$LINE" != x ; then
9217 eval "DEFAULT_$LINE"
9218 else
9219 no_cache=1
9220 fi
9221
9222 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9223
9224 fi
9225
9226
9227 eval "$ac_cv_use_collpane"
9228 if test "$no_cache" != 1; then
9229 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9230 fi
9231
9232 if test "$wxUSE_COLLPANE" = yes; then
9233 { echo "$as_me:$LINENO: result: yes" >&5
9234 echo "${ECHO_T}yes" >&6; }
9235 else
9236 { echo "$as_me:$LINENO: result: no" >&5
9237 echo "${ECHO_T}no" >&6; }
9238 fi
9239
9240
9241 enablestring=
9242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9243 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9244 no_cache=0
9245 # Check whether --enable-colourpicker was given.
9246 if test "${enable_colourpicker+set}" = set; then
9247 enableval=$enable_colourpicker;
9248 if test "$enableval" = yes; then
9249 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9250 else
9251 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9252 fi
9253
9254 else
9255
9256 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9257 if test "x$LINE" != x ; then
9258 eval "DEFAULT_$LINE"
9259 else
9260 no_cache=1
9261 fi
9262
9263 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9264
9265 fi
9266
9267
9268 eval "$ac_cv_use_colourpicker"
9269 if test "$no_cache" != 1; then
9270 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9271 fi
9272
9273 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9274 { echo "$as_me:$LINENO: result: yes" >&5
9275 echo "${ECHO_T}yes" >&6; }
9276 else
9277 { echo "$as_me:$LINENO: result: no" >&5
9278 echo "${ECHO_T}no" >&6; }
9279 fi
9280
9281
9282 enablestring=
9283 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9284 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9285 no_cache=0
9286 # Check whether --enable-combobox was given.
9287 if test "${enable_combobox+set}" = set; then
9288 enableval=$enable_combobox;
9289 if test "$enableval" = yes; then
9290 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9291 else
9292 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9293 fi
9294
9295 else
9296
9297 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9298 if test "x$LINE" != x ; then
9299 eval "DEFAULT_$LINE"
9300 else
9301 no_cache=1
9302 fi
9303
9304 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9305
9306 fi
9307
9308
9309 eval "$ac_cv_use_combobox"
9310 if test "$no_cache" != 1; then
9311 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9312 fi
9313
9314 if test "$wxUSE_COMBOBOX" = yes; then
9315 { echo "$as_me:$LINENO: result: yes" >&5
9316 echo "${ECHO_T}yes" >&6; }
9317 else
9318 { echo "$as_me:$LINENO: result: no" >&5
9319 echo "${ECHO_T}no" >&6; }
9320 fi
9321
9322
9323 enablestring=
9324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9325 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9326 no_cache=0
9327 # Check whether --enable-comboctrl was given.
9328 if test "${enable_comboctrl+set}" = set; then
9329 enableval=$enable_comboctrl;
9330 if test "$enableval" = yes; then
9331 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9332 else
9333 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9334 fi
9335
9336 else
9337
9338 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9339 if test "x$LINE" != x ; then
9340 eval "DEFAULT_$LINE"
9341 else
9342 no_cache=1
9343 fi
9344
9345 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9346
9347 fi
9348
9349
9350 eval "$ac_cv_use_comboctrl"
9351 if test "$no_cache" != 1; then
9352 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9353 fi
9354
9355 if test "$wxUSE_COMBOCTRL" = yes; then
9356 { echo "$as_me:$LINENO: result: yes" >&5
9357 echo "${ECHO_T}yes" >&6; }
9358 else
9359 { echo "$as_me:$LINENO: result: no" >&5
9360 echo "${ECHO_T}no" >&6; }
9361 fi
9362
9363
9364 enablestring=
9365 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9366 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9367 no_cache=0
9368 # Check whether --enable-datepick was given.
9369 if test "${enable_datepick+set}" = set; then
9370 enableval=$enable_datepick;
9371 if test "$enableval" = yes; then
9372 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9373 else
9374 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9375 fi
9376
9377 else
9378
9379 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9380 if test "x$LINE" != x ; then
9381 eval "DEFAULT_$LINE"
9382 else
9383 no_cache=1
9384 fi
9385
9386 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9387
9388 fi
9389
9390
9391 eval "$ac_cv_use_datepick"
9392 if test "$no_cache" != 1; then
9393 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9394 fi
9395
9396 if test "$wxUSE_DATEPICKCTRL" = yes; then
9397 { echo "$as_me:$LINENO: result: yes" >&5
9398 echo "${ECHO_T}yes" >&6; }
9399 else
9400 { echo "$as_me:$LINENO: result: no" >&5
9401 echo "${ECHO_T}no" >&6; }
9402 fi
9403
9404
9405 enablestring=
9406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9407 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9408 no_cache=0
9409 # Check whether --enable-dirpicker was given.
9410 if test "${enable_dirpicker+set}" = set; then
9411 enableval=$enable_dirpicker;
9412 if test "$enableval" = yes; then
9413 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9414 else
9415 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9416 fi
9417
9418 else
9419
9420 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9421 if test "x$LINE" != x ; then
9422 eval "DEFAULT_$LINE"
9423 else
9424 no_cache=1
9425 fi
9426
9427 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9428
9429 fi
9430
9431
9432 eval "$ac_cv_use_dirpicker"
9433 if test "$no_cache" != 1; then
9434 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9435 fi
9436
9437 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9438 { echo "$as_me:$LINENO: result: yes" >&5
9439 echo "${ECHO_T}yes" >&6; }
9440 else
9441 { echo "$as_me:$LINENO: result: no" >&5
9442 echo "${ECHO_T}no" >&6; }
9443 fi
9444
9445
9446 enablestring=
9447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9448 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9449 no_cache=0
9450 # Check whether --enable-display was given.
9451 if test "${enable_display+set}" = set; then
9452 enableval=$enable_display;
9453 if test "$enableval" = yes; then
9454 ac_cv_use_display='wxUSE_DISPLAY=yes'
9455 else
9456 ac_cv_use_display='wxUSE_DISPLAY=no'
9457 fi
9458
9459 else
9460
9461 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9462 if test "x$LINE" != x ; then
9463 eval "DEFAULT_$LINE"
9464 else
9465 no_cache=1
9466 fi
9467
9468 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9469
9470 fi
9471
9472
9473 eval "$ac_cv_use_display"
9474 if test "$no_cache" != 1; then
9475 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9476 fi
9477
9478 if test "$wxUSE_DISPLAY" = yes; then
9479 { echo "$as_me:$LINENO: result: yes" >&5
9480 echo "${ECHO_T}yes" >&6; }
9481 else
9482 { echo "$as_me:$LINENO: result: no" >&5
9483 echo "${ECHO_T}no" >&6; }
9484 fi
9485
9486
9487 enablestring=
9488 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9489 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9490 no_cache=0
9491 # Check whether --enable-detect_sm was given.
9492 if test "${enable_detect_sm+set}" = set; then
9493 enableval=$enable_detect_sm;
9494 if test "$enableval" = yes; then
9495 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9496 else
9497 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9498 fi
9499
9500 else
9501
9502 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9503 if test "x$LINE" != x ; then
9504 eval "DEFAULT_$LINE"
9505 else
9506 no_cache=1
9507 fi
9508
9509 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9510
9511 fi
9512
9513
9514 eval "$ac_cv_use_detect_sm"
9515 if test "$no_cache" != 1; then
9516 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9517 fi
9518
9519 if test "$wxUSE_DETECT_SM" = yes; then
9520 { echo "$as_me:$LINENO: result: yes" >&5
9521 echo "${ECHO_T}yes" >&6; }
9522 else
9523 { echo "$as_me:$LINENO: result: no" >&5
9524 echo "${ECHO_T}no" >&6; }
9525 fi
9526
9527
9528 enablestring=
9529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9530 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9531 no_cache=0
9532 # Check whether --enable-filepicker was given.
9533 if test "${enable_filepicker+set}" = set; then
9534 enableval=$enable_filepicker;
9535 if test "$enableval" = yes; then
9536 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9537 else
9538 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9539 fi
9540
9541 else
9542
9543 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9544 if test "x$LINE" != x ; then
9545 eval "DEFAULT_$LINE"
9546 else
9547 no_cache=1
9548 fi
9549
9550 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9551
9552 fi
9553
9554
9555 eval "$ac_cv_use_filepicker"
9556 if test "$no_cache" != 1; then
9557 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9558 fi
9559
9560 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9561 { echo "$as_me:$LINENO: result: yes" >&5
9562 echo "${ECHO_T}yes" >&6; }
9563 else
9564 { echo "$as_me:$LINENO: result: no" >&5
9565 echo "${ECHO_T}no" >&6; }
9566 fi
9567
9568
9569 enablestring=
9570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9571 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9572 no_cache=0
9573 # Check whether --enable-fontpicker was given.
9574 if test "${enable_fontpicker+set}" = set; then
9575 enableval=$enable_fontpicker;
9576 if test "$enableval" = yes; then
9577 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9578 else
9579 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9580 fi
9581
9582 else
9583
9584 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9585 if test "x$LINE" != x ; then
9586 eval "DEFAULT_$LINE"
9587 else
9588 no_cache=1
9589 fi
9590
9591 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9592
9593 fi
9594
9595
9596 eval "$ac_cv_use_fontpicker"
9597 if test "$no_cache" != 1; then
9598 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9599 fi
9600
9601 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9602 { echo "$as_me:$LINENO: result: yes" >&5
9603 echo "${ECHO_T}yes" >&6; }
9604 else
9605 { echo "$as_me:$LINENO: result: no" >&5
9606 echo "${ECHO_T}no" >&6; }
9607 fi
9608
9609
9610 enablestring=
9611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9612 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9613 no_cache=0
9614 # Check whether --enable-gauge was given.
9615 if test "${enable_gauge+set}" = set; then
9616 enableval=$enable_gauge;
9617 if test "$enableval" = yes; then
9618 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9619 else
9620 ac_cv_use_gauge='wxUSE_GAUGE=no'
9621 fi
9622
9623 else
9624
9625 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9626 if test "x$LINE" != x ; then
9627 eval "DEFAULT_$LINE"
9628 else
9629 no_cache=1
9630 fi
9631
9632 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9633
9634 fi
9635
9636
9637 eval "$ac_cv_use_gauge"
9638 if test "$no_cache" != 1; then
9639 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9640 fi
9641
9642 if test "$wxUSE_GAUGE" = yes; then
9643 { echo "$as_me:$LINENO: result: yes" >&5
9644 echo "${ECHO_T}yes" >&6; }
9645 else
9646 { echo "$as_me:$LINENO: result: no" >&5
9647 echo "${ECHO_T}no" >&6; }
9648 fi
9649
9650
9651 enablestring=
9652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9653 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9654 no_cache=0
9655 # Check whether --enable-grid was given.
9656 if test "${enable_grid+set}" = set; then
9657 enableval=$enable_grid;
9658 if test "$enableval" = yes; then
9659 ac_cv_use_grid='wxUSE_GRID=yes'
9660 else
9661 ac_cv_use_grid='wxUSE_GRID=no'
9662 fi
9663
9664 else
9665
9666 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9667 if test "x$LINE" != x ; then
9668 eval "DEFAULT_$LINE"
9669 else
9670 no_cache=1
9671 fi
9672
9673 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9674
9675 fi
9676
9677
9678 eval "$ac_cv_use_grid"
9679 if test "$no_cache" != 1; then
9680 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9681 fi
9682
9683 if test "$wxUSE_GRID" = yes; then
9684 { echo "$as_me:$LINENO: result: yes" >&5
9685 echo "${ECHO_T}yes" >&6; }
9686 else
9687 { echo "$as_me:$LINENO: result: no" >&5
9688 echo "${ECHO_T}no" >&6; }
9689 fi
9690
9691
9692 enablestring=
9693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9694 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9695 no_cache=0
9696 # Check whether --enable-dataviewctrl was given.
9697 if test "${enable_dataviewctrl+set}" = set; then
9698 enableval=$enable_dataviewctrl;
9699 if test "$enableval" = yes; then
9700 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9701 else
9702 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9703 fi
9704
9705 else
9706
9707 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9708 if test "x$LINE" != x ; then
9709 eval "DEFAULT_$LINE"
9710 else
9711 no_cache=1
9712 fi
9713
9714 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9715
9716 fi
9717
9718
9719 eval "$ac_cv_use_dataviewctrl"
9720 if test "$no_cache" != 1; then
9721 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9722 fi
9723
9724 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9725 { echo "$as_me:$LINENO: result: yes" >&5
9726 echo "${ECHO_T}yes" >&6; }
9727 else
9728 { echo "$as_me:$LINENO: result: no" >&5
9729 echo "${ECHO_T}no" >&6; }
9730 fi
9731
9732
9733 enablestring=
9734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9735 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9736 no_cache=0
9737 # Check whether --enable-hyperlink was given.
9738 if test "${enable_hyperlink+set}" = set; then
9739 enableval=$enable_hyperlink;
9740 if test "$enableval" = yes; then
9741 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9742 else
9743 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9744 fi
9745
9746 else
9747
9748 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9749 if test "x$LINE" != x ; then
9750 eval "DEFAULT_$LINE"
9751 else
9752 no_cache=1
9753 fi
9754
9755 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9756
9757 fi
9758
9759
9760 eval "$ac_cv_use_hyperlink"
9761 if test "$no_cache" != 1; then
9762 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9763 fi
9764
9765 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9766 { echo "$as_me:$LINENO: result: yes" >&5
9767 echo "${ECHO_T}yes" >&6; }
9768 else
9769 { echo "$as_me:$LINENO: result: no" >&5
9770 echo "${ECHO_T}no" >&6; }
9771 fi
9772
9773
9774 enablestring=
9775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9776 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9777 no_cache=0
9778 # Check whether --enable-imaglist was given.
9779 if test "${enable_imaglist+set}" = set; then
9780 enableval=$enable_imaglist;
9781 if test "$enableval" = yes; then
9782 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9783 else
9784 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9785 fi
9786
9787 else
9788
9789 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9790 if test "x$LINE" != x ; then
9791 eval "DEFAULT_$LINE"
9792 else
9793 no_cache=1
9794 fi
9795
9796 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9797
9798 fi
9799
9800
9801 eval "$ac_cv_use_imaglist"
9802 if test "$no_cache" != 1; then
9803 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9804 fi
9805
9806 if test "$wxUSE_IMAGLIST" = yes; then
9807 { echo "$as_me:$LINENO: result: yes" >&5
9808 echo "${ECHO_T}yes" >&6; }
9809 else
9810 { echo "$as_me:$LINENO: result: no" >&5
9811 echo "${ECHO_T}no" >&6; }
9812 fi
9813
9814
9815 enablestring=
9816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9817 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9818 no_cache=0
9819 # Check whether --enable-listbook was given.
9820 if test "${enable_listbook+set}" = set; then
9821 enableval=$enable_listbook;
9822 if test "$enableval" = yes; then
9823 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9824 else
9825 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9826 fi
9827
9828 else
9829
9830 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9831 if test "x$LINE" != x ; then
9832 eval "DEFAULT_$LINE"
9833 else
9834 no_cache=1
9835 fi
9836
9837 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9838
9839 fi
9840
9841
9842 eval "$ac_cv_use_listbook"
9843 if test "$no_cache" != 1; then
9844 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9845 fi
9846
9847 if test "$wxUSE_LISTBOOK" = yes; then
9848 { echo "$as_me:$LINENO: result: yes" >&5
9849 echo "${ECHO_T}yes" >&6; }
9850 else
9851 { echo "$as_me:$LINENO: result: no" >&5
9852 echo "${ECHO_T}no" >&6; }
9853 fi
9854
9855
9856 enablestring=
9857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9858 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9859 no_cache=0
9860 # Check whether --enable-listbox was given.
9861 if test "${enable_listbox+set}" = set; then
9862 enableval=$enable_listbox;
9863 if test "$enableval" = yes; then
9864 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9865 else
9866 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9867 fi
9868
9869 else
9870
9871 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9872 if test "x$LINE" != x ; then
9873 eval "DEFAULT_$LINE"
9874 else
9875 no_cache=1
9876 fi
9877
9878 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9879
9880 fi
9881
9882
9883 eval "$ac_cv_use_listbox"
9884 if test "$no_cache" != 1; then
9885 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9886 fi
9887
9888 if test "$wxUSE_LISTBOX" = yes; then
9889 { echo "$as_me:$LINENO: result: yes" >&5
9890 echo "${ECHO_T}yes" >&6; }
9891 else
9892 { echo "$as_me:$LINENO: result: no" >&5
9893 echo "${ECHO_T}no" >&6; }
9894 fi
9895
9896
9897 enablestring=
9898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9899 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9900 no_cache=0
9901 # Check whether --enable-listctrl was given.
9902 if test "${enable_listctrl+set}" = set; then
9903 enableval=$enable_listctrl;
9904 if test "$enableval" = yes; then
9905 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9906 else
9907 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9908 fi
9909
9910 else
9911
9912 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9913 if test "x$LINE" != x ; then
9914 eval "DEFAULT_$LINE"
9915 else
9916 no_cache=1
9917 fi
9918
9919 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9920
9921 fi
9922
9923
9924 eval "$ac_cv_use_listctrl"
9925 if test "$no_cache" != 1; then
9926 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9927 fi
9928
9929 if test "$wxUSE_LISTCTRL" = yes; then
9930 { echo "$as_me:$LINENO: result: yes" >&5
9931 echo "${ECHO_T}yes" >&6; }
9932 else
9933 { echo "$as_me:$LINENO: result: no" >&5
9934 echo "${ECHO_T}no" >&6; }
9935 fi
9936
9937
9938 enablestring=
9939 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9940 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9941 no_cache=0
9942 # Check whether --enable-notebook was given.
9943 if test "${enable_notebook+set}" = set; then
9944 enableval=$enable_notebook;
9945 if test "$enableval" = yes; then
9946 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9947 else
9948 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9949 fi
9950
9951 else
9952
9953 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9954 if test "x$LINE" != x ; then
9955 eval "DEFAULT_$LINE"
9956 else
9957 no_cache=1
9958 fi
9959
9960 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9961
9962 fi
9963
9964
9965 eval "$ac_cv_use_notebook"
9966 if test "$no_cache" != 1; then
9967 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9968 fi
9969
9970 if test "$wxUSE_NOTEBOOK" = yes; then
9971 { echo "$as_me:$LINENO: result: yes" >&5
9972 echo "${ECHO_T}yes" >&6; }
9973 else
9974 { echo "$as_me:$LINENO: result: no" >&5
9975 echo "${ECHO_T}no" >&6; }
9976 fi
9977
9978
9979 enablestring=
9980 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9981 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9982 no_cache=0
9983 # Check whether --enable-odcombobox was given.
9984 if test "${enable_odcombobox+set}" = set; then
9985 enableval=$enable_odcombobox;
9986 if test "$enableval" = yes; then
9987 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9988 else
9989 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9990 fi
9991
9992 else
9993
9994 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9995 if test "x$LINE" != x ; then
9996 eval "DEFAULT_$LINE"
9997 else
9998 no_cache=1
9999 fi
10000
10001 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10002
10003 fi
10004
10005
10006 eval "$ac_cv_use_odcombobox"
10007 if test "$no_cache" != 1; then
10008 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10009 fi
10010
10011 if test "$wxUSE_ODCOMBOBOX" = yes; then
10012 { echo "$as_me:$LINENO: result: yes" >&5
10013 echo "${ECHO_T}yes" >&6; }
10014 else
10015 { echo "$as_me:$LINENO: result: no" >&5
10016 echo "${ECHO_T}no" >&6; }
10017 fi
10018
10019
10020 enablestring=
10021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10022 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10023 no_cache=0
10024 # Check whether --enable-radiobox was given.
10025 if test "${enable_radiobox+set}" = set; then
10026 enableval=$enable_radiobox;
10027 if test "$enableval" = yes; then
10028 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10029 else
10030 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10031 fi
10032
10033 else
10034
10035 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10036 if test "x$LINE" != x ; then
10037 eval "DEFAULT_$LINE"
10038 else
10039 no_cache=1
10040 fi
10041
10042 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10043
10044 fi
10045
10046
10047 eval "$ac_cv_use_radiobox"
10048 if test "$no_cache" != 1; then
10049 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10050 fi
10051
10052 if test "$wxUSE_RADIOBOX" = yes; then
10053 { echo "$as_me:$LINENO: result: yes" >&5
10054 echo "${ECHO_T}yes" >&6; }
10055 else
10056 { echo "$as_me:$LINENO: result: no" >&5
10057 echo "${ECHO_T}no" >&6; }
10058 fi
10059
10060
10061 enablestring=
10062 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10063 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10064 no_cache=0
10065 # Check whether --enable-radiobtn was given.
10066 if test "${enable_radiobtn+set}" = set; then
10067 enableval=$enable_radiobtn;
10068 if test "$enableval" = yes; then
10069 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10070 else
10071 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10072 fi
10073
10074 else
10075
10076 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10077 if test "x$LINE" != x ; then
10078 eval "DEFAULT_$LINE"
10079 else
10080 no_cache=1
10081 fi
10082
10083 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10084
10085 fi
10086
10087
10088 eval "$ac_cv_use_radiobtn"
10089 if test "$no_cache" != 1; then
10090 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10091 fi
10092
10093 if test "$wxUSE_RADIOBTN" = yes; then
10094 { echo "$as_me:$LINENO: result: yes" >&5
10095 echo "${ECHO_T}yes" >&6; }
10096 else
10097 { echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6; }
10099 fi
10100
10101
10102 enablestring=
10103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10104 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10105 no_cache=0
10106 # Check whether --enable-sash was given.
10107 if test "${enable_sash+set}" = set; then
10108 enableval=$enable_sash;
10109 if test "$enableval" = yes; then
10110 ac_cv_use_sash='wxUSE_SASH=yes'
10111 else
10112 ac_cv_use_sash='wxUSE_SASH=no'
10113 fi
10114
10115 else
10116
10117 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10118 if test "x$LINE" != x ; then
10119 eval "DEFAULT_$LINE"
10120 else
10121 no_cache=1
10122 fi
10123
10124 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10125
10126 fi
10127
10128
10129 eval "$ac_cv_use_sash"
10130 if test "$no_cache" != 1; then
10131 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10132 fi
10133
10134 if test "$wxUSE_SASH" = yes; then
10135 { echo "$as_me:$LINENO: result: yes" >&5
10136 echo "${ECHO_T}yes" >&6; }
10137 else
10138 { echo "$as_me:$LINENO: result: no" >&5
10139 echo "${ECHO_T}no" >&6; }
10140 fi
10141
10142
10143 enablestring=
10144 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10145 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10146 no_cache=0
10147 # Check whether --enable-scrollbar was given.
10148 if test "${enable_scrollbar+set}" = set; then
10149 enableval=$enable_scrollbar;
10150 if test "$enableval" = yes; then
10151 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10152 else
10153 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10154 fi
10155
10156 else
10157
10158 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10159 if test "x$LINE" != x ; then
10160 eval "DEFAULT_$LINE"
10161 else
10162 no_cache=1
10163 fi
10164
10165 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10166
10167 fi
10168
10169
10170 eval "$ac_cv_use_scrollbar"
10171 if test "$no_cache" != 1; then
10172 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10173 fi
10174
10175 if test "$wxUSE_SCROLLBAR" = yes; then
10176 { echo "$as_me:$LINENO: result: yes" >&5
10177 echo "${ECHO_T}yes" >&6; }
10178 else
10179 { echo "$as_me:$LINENO: result: no" >&5
10180 echo "${ECHO_T}no" >&6; }
10181 fi
10182
10183
10184 enablestring=
10185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10186 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10187 no_cache=0
10188 # Check whether --enable-searchctrl was given.
10189 if test "${enable_searchctrl+set}" = set; then
10190 enableval=$enable_searchctrl;
10191 if test "$enableval" = yes; then
10192 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10193 else
10194 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10195 fi
10196
10197 else
10198
10199 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10200 if test "x$LINE" != x ; then
10201 eval "DEFAULT_$LINE"
10202 else
10203 no_cache=1
10204 fi
10205
10206 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10207
10208 fi
10209
10210
10211 eval "$ac_cv_use_searchctrl"
10212 if test "$no_cache" != 1; then
10213 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10214 fi
10215
10216 if test "$wxUSE_SEARCHCTRL" = yes; then
10217 { echo "$as_me:$LINENO: result: yes" >&5
10218 echo "${ECHO_T}yes" >&6; }
10219 else
10220 { echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6; }
10222 fi
10223
10224
10225 enablestring=
10226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10227 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10228 no_cache=0
10229 # Check whether --enable-slider was given.
10230 if test "${enable_slider+set}" = set; then
10231 enableval=$enable_slider;
10232 if test "$enableval" = yes; then
10233 ac_cv_use_slider='wxUSE_SLIDER=yes'
10234 else
10235 ac_cv_use_slider='wxUSE_SLIDER=no'
10236 fi
10237
10238 else
10239
10240 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10241 if test "x$LINE" != x ; then
10242 eval "DEFAULT_$LINE"
10243 else
10244 no_cache=1
10245 fi
10246
10247 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10248
10249 fi
10250
10251
10252 eval "$ac_cv_use_slider"
10253 if test "$no_cache" != 1; then
10254 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10255 fi
10256
10257 if test "$wxUSE_SLIDER" = yes; then
10258 { echo "$as_me:$LINENO: result: yes" >&5
10259 echo "${ECHO_T}yes" >&6; }
10260 else
10261 { echo "$as_me:$LINENO: result: no" >&5
10262 echo "${ECHO_T}no" >&6; }
10263 fi
10264
10265
10266 enablestring=
10267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10268 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10269 no_cache=0
10270 # Check whether --enable-spinbtn was given.
10271 if test "${enable_spinbtn+set}" = set; then
10272 enableval=$enable_spinbtn;
10273 if test "$enableval" = yes; then
10274 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10275 else
10276 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10277 fi
10278
10279 else
10280
10281 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10282 if test "x$LINE" != x ; then
10283 eval "DEFAULT_$LINE"
10284 else
10285 no_cache=1
10286 fi
10287
10288 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10289
10290 fi
10291
10292
10293 eval "$ac_cv_use_spinbtn"
10294 if test "$no_cache" != 1; then
10295 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10296 fi
10297
10298 if test "$wxUSE_SPINBTN" = yes; then
10299 { echo "$as_me:$LINENO: result: yes" >&5
10300 echo "${ECHO_T}yes" >&6; }
10301 else
10302 { echo "$as_me:$LINENO: result: no" >&5
10303 echo "${ECHO_T}no" >&6; }
10304 fi
10305
10306
10307 enablestring=
10308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10309 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10310 no_cache=0
10311 # Check whether --enable-spinctrl was given.
10312 if test "${enable_spinctrl+set}" = set; then
10313 enableval=$enable_spinctrl;
10314 if test "$enableval" = yes; then
10315 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10316 else
10317 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10318 fi
10319
10320 else
10321
10322 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10323 if test "x$LINE" != x ; then
10324 eval "DEFAULT_$LINE"
10325 else
10326 no_cache=1
10327 fi
10328
10329 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10330
10331 fi
10332
10333
10334 eval "$ac_cv_use_spinctrl"
10335 if test "$no_cache" != 1; then
10336 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10337 fi
10338
10339 if test "$wxUSE_SPINCTRL" = yes; then
10340 { echo "$as_me:$LINENO: result: yes" >&5
10341 echo "${ECHO_T}yes" >&6; }
10342 else
10343 { echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6; }
10345 fi
10346
10347
10348 enablestring=
10349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10350 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10351 no_cache=0
10352 # Check whether --enable-splitter was given.
10353 if test "${enable_splitter+set}" = set; then
10354 enableval=$enable_splitter;
10355 if test "$enableval" = yes; then
10356 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10357 else
10358 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10359 fi
10360
10361 else
10362
10363 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10364 if test "x$LINE" != x ; then
10365 eval "DEFAULT_$LINE"
10366 else
10367 no_cache=1
10368 fi
10369
10370 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10371
10372 fi
10373
10374
10375 eval "$ac_cv_use_splitter"
10376 if test "$no_cache" != 1; then
10377 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10378 fi
10379
10380 if test "$wxUSE_SPLITTER" = yes; then
10381 { echo "$as_me:$LINENO: result: yes" >&5
10382 echo "${ECHO_T}yes" >&6; }
10383 else
10384 { echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6; }
10386 fi
10387
10388
10389 enablestring=
10390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10391 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10392 no_cache=0
10393 # Check whether --enable-statbmp was given.
10394 if test "${enable_statbmp+set}" = set; then
10395 enableval=$enable_statbmp;
10396 if test "$enableval" = yes; then
10397 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10398 else
10399 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10400 fi
10401
10402 else
10403
10404 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10405 if test "x$LINE" != x ; then
10406 eval "DEFAULT_$LINE"
10407 else
10408 no_cache=1
10409 fi
10410
10411 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10412
10413 fi
10414
10415
10416 eval "$ac_cv_use_statbmp"
10417 if test "$no_cache" != 1; then
10418 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10419 fi
10420
10421 if test "$wxUSE_STATBMP" = yes; then
10422 { echo "$as_me:$LINENO: result: yes" >&5
10423 echo "${ECHO_T}yes" >&6; }
10424 else
10425 { echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6; }
10427 fi
10428
10429
10430 enablestring=
10431 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10432 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10433 no_cache=0
10434 # Check whether --enable-statbox was given.
10435 if test "${enable_statbox+set}" = set; then
10436 enableval=$enable_statbox;
10437 if test "$enableval" = yes; then
10438 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10439 else
10440 ac_cv_use_statbox='wxUSE_STATBOX=no'
10441 fi
10442
10443 else
10444
10445 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10446 if test "x$LINE" != x ; then
10447 eval "DEFAULT_$LINE"
10448 else
10449 no_cache=1
10450 fi
10451
10452 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10453
10454 fi
10455
10456
10457 eval "$ac_cv_use_statbox"
10458 if test "$no_cache" != 1; then
10459 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10460 fi
10461
10462 if test "$wxUSE_STATBOX" = yes; then
10463 { echo "$as_me:$LINENO: result: yes" >&5
10464 echo "${ECHO_T}yes" >&6; }
10465 else
10466 { echo "$as_me:$LINENO: result: no" >&5
10467 echo "${ECHO_T}no" >&6; }
10468 fi
10469
10470
10471 enablestring=
10472 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10473 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10474 no_cache=0
10475 # Check whether --enable-statline was given.
10476 if test "${enable_statline+set}" = set; then
10477 enableval=$enable_statline;
10478 if test "$enableval" = yes; then
10479 ac_cv_use_statline='wxUSE_STATLINE=yes'
10480 else
10481 ac_cv_use_statline='wxUSE_STATLINE=no'
10482 fi
10483
10484 else
10485
10486 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10487 if test "x$LINE" != x ; then
10488 eval "DEFAULT_$LINE"
10489 else
10490 no_cache=1
10491 fi
10492
10493 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10494
10495 fi
10496
10497
10498 eval "$ac_cv_use_statline"
10499 if test "$no_cache" != 1; then
10500 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10501 fi
10502
10503 if test "$wxUSE_STATLINE" = yes; then
10504 { echo "$as_me:$LINENO: result: yes" >&5
10505 echo "${ECHO_T}yes" >&6; }
10506 else
10507 { echo "$as_me:$LINENO: result: no" >&5
10508 echo "${ECHO_T}no" >&6; }
10509 fi
10510
10511
10512 enablestring=
10513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10514 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10515 no_cache=0
10516 # Check whether --enable-stattext was given.
10517 if test "${enable_stattext+set}" = set; then
10518 enableval=$enable_stattext;
10519 if test "$enableval" = yes; then
10520 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10521 else
10522 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10523 fi
10524
10525 else
10526
10527 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10528 if test "x$LINE" != x ; then
10529 eval "DEFAULT_$LINE"
10530 else
10531 no_cache=1
10532 fi
10533
10534 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10535
10536 fi
10537
10538
10539 eval "$ac_cv_use_stattext"
10540 if test "$no_cache" != 1; then
10541 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10542 fi
10543
10544 if test "$wxUSE_STATTEXT" = yes; then
10545 { echo "$as_me:$LINENO: result: yes" >&5
10546 echo "${ECHO_T}yes" >&6; }
10547 else
10548 { echo "$as_me:$LINENO: result: no" >&5
10549 echo "${ECHO_T}no" >&6; }
10550 fi
10551
10552
10553 enablestring=
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10556 no_cache=0
10557 # Check whether --enable-statusbar was given.
10558 if test "${enable_statusbar+set}" = set; then
10559 enableval=$enable_statusbar;
10560 if test "$enableval" = yes; then
10561 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10562 else
10563 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10564 fi
10565
10566 else
10567
10568 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10569 if test "x$LINE" != x ; then
10570 eval "DEFAULT_$LINE"
10571 else
10572 no_cache=1
10573 fi
10574
10575 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10576
10577 fi
10578
10579
10580 eval "$ac_cv_use_statusbar"
10581 if test "$no_cache" != 1; then
10582 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10583 fi
10584
10585 if test "$wxUSE_STATUSBAR" = yes; then
10586 { echo "$as_me:$LINENO: result: yes" >&5
10587 echo "${ECHO_T}yes" >&6; }
10588 else
10589 { echo "$as_me:$LINENO: result: no" >&5
10590 echo "${ECHO_T}no" >&6; }
10591 fi
10592
10593
10594 enablestring=
10595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10596 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10597 no_cache=0
10598 # Check whether --enable-tabdialog was given.
10599 if test "${enable_tabdialog+set}" = set; then
10600 enableval=$enable_tabdialog;
10601 if test "$enableval" = yes; then
10602 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10603 else
10604 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10605 fi
10606
10607 else
10608
10609 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10610 if test "x$LINE" != x ; then
10611 eval "DEFAULT_$LINE"
10612 else
10613 no_cache=1
10614 fi
10615
10616 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10617
10618 fi
10619
10620
10621 eval "$ac_cv_use_tabdialog"
10622 if test "$no_cache" != 1; then
10623 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10624 fi
10625
10626 if test "$wxUSE_TAB_DIALOG" = yes; then
10627 { echo "$as_me:$LINENO: result: yes" >&5
10628 echo "${ECHO_T}yes" >&6; }
10629 else
10630 { echo "$as_me:$LINENO: result: no" >&5
10631 echo "${ECHO_T}no" >&6; }
10632 fi
10633
10634
10635 enablestring=
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10638 no_cache=0
10639 # Check whether --enable-textctrl was given.
10640 if test "${enable_textctrl+set}" = set; then
10641 enableval=$enable_textctrl;
10642 if test "$enableval" = yes; then
10643 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10644 else
10645 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10646 fi
10647
10648 else
10649
10650 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10651 if test "x$LINE" != x ; then
10652 eval "DEFAULT_$LINE"
10653 else
10654 no_cache=1
10655 fi
10656
10657 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10658
10659 fi
10660
10661
10662 eval "$ac_cv_use_textctrl"
10663 if test "$no_cache" != 1; then
10664 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10665 fi
10666
10667 if test "$wxUSE_TEXTCTRL" = yes; then
10668 { echo "$as_me:$LINENO: result: yes" >&5
10669 echo "${ECHO_T}yes" >&6; }
10670 else
10671 { echo "$as_me:$LINENO: result: no" >&5
10672 echo "${ECHO_T}no" >&6; }
10673 fi
10674
10675
10676 enablestring=
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10679 no_cache=0
10680 # Check whether --enable-togglebtn was given.
10681 if test "${enable_togglebtn+set}" = set; then
10682 enableval=$enable_togglebtn;
10683 if test "$enableval" = yes; then
10684 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10685 else
10686 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10687 fi
10688
10689 else
10690
10691 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10692 if test "x$LINE" != x ; then
10693 eval "DEFAULT_$LINE"
10694 else
10695 no_cache=1
10696 fi
10697
10698 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10699
10700 fi
10701
10702
10703 eval "$ac_cv_use_togglebtn"
10704 if test "$no_cache" != 1; then
10705 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10706 fi
10707
10708 if test "$wxUSE_TOGGLEBTN" = yes; then
10709 { echo "$as_me:$LINENO: result: yes" >&5
10710 echo "${ECHO_T}yes" >&6; }
10711 else
10712 { echo "$as_me:$LINENO: result: no" >&5
10713 echo "${ECHO_T}no" >&6; }
10714 fi
10715
10716
10717 enablestring=
10718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10719 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10720 no_cache=0
10721 # Check whether --enable-toolbar was given.
10722 if test "${enable_toolbar+set}" = set; then
10723 enableval=$enable_toolbar;
10724 if test "$enableval" = yes; then
10725 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10726 else
10727 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10728 fi
10729
10730 else
10731
10732 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10733 if test "x$LINE" != x ; then
10734 eval "DEFAULT_$LINE"
10735 else
10736 no_cache=1
10737 fi
10738
10739 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10740
10741 fi
10742
10743
10744 eval "$ac_cv_use_toolbar"
10745 if test "$no_cache" != 1; then
10746 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10747 fi
10748
10749 if test "$wxUSE_TOOLBAR" = yes; then
10750 { echo "$as_me:$LINENO: result: yes" >&5
10751 echo "${ECHO_T}yes" >&6; }
10752 else
10753 { echo "$as_me:$LINENO: result: no" >&5
10754 echo "${ECHO_T}no" >&6; }
10755 fi
10756
10757
10758 enablestring=
10759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10760 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10761 no_cache=0
10762 # Check whether --enable-tbarnative was given.
10763 if test "${enable_tbarnative+set}" = set; then
10764 enableval=$enable_tbarnative;
10765 if test "$enableval" = yes; then
10766 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10767 else
10768 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10769 fi
10770
10771 else
10772
10773 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10774 if test "x$LINE" != x ; then
10775 eval "DEFAULT_$LINE"
10776 else
10777 no_cache=1
10778 fi
10779
10780 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10781
10782 fi
10783
10784
10785 eval "$ac_cv_use_tbarnative"
10786 if test "$no_cache" != 1; then
10787 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10788 fi
10789
10790 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10791 { echo "$as_me:$LINENO: result: yes" >&5
10792 echo "${ECHO_T}yes" >&6; }
10793 else
10794 { echo "$as_me:$LINENO: result: no" >&5
10795 echo "${ECHO_T}no" >&6; }
10796 fi
10797
10798
10799 enablestring=
10800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10801 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10802 no_cache=0
10803 # Check whether --enable-treebook was given.
10804 if test "${enable_treebook+set}" = set; then
10805 enableval=$enable_treebook;
10806 if test "$enableval" = yes; then
10807 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10808 else
10809 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10810 fi
10811
10812 else
10813
10814 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10815 if test "x$LINE" != x ; then
10816 eval "DEFAULT_$LINE"
10817 else
10818 no_cache=1
10819 fi
10820
10821 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10822
10823 fi
10824
10825
10826 eval "$ac_cv_use_treebook"
10827 if test "$no_cache" != 1; then
10828 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10829 fi
10830
10831 if test "$wxUSE_TREEBOOK" = yes; then
10832 { echo "$as_me:$LINENO: result: yes" >&5
10833 echo "${ECHO_T}yes" >&6; }
10834 else
10835 { echo "$as_me:$LINENO: result: no" >&5
10836 echo "${ECHO_T}no" >&6; }
10837 fi
10838
10839
10840 enablestring=
10841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10842 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10843 no_cache=0
10844 # Check whether --enable-toolbook was given.
10845 if test "${enable_toolbook+set}" = set; then
10846 enableval=$enable_toolbook;
10847 if test "$enableval" = yes; then
10848 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10849 else
10850 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10851 fi
10852
10853 else
10854
10855 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10856 if test "x$LINE" != x ; then
10857 eval "DEFAULT_$LINE"
10858 else
10859 no_cache=1
10860 fi
10861
10862 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10863
10864 fi
10865
10866
10867 eval "$ac_cv_use_toolbook"
10868 if test "$no_cache" != 1; then
10869 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10870 fi
10871
10872 if test "$wxUSE_TOOLBOOK" = yes; then
10873 { echo "$as_me:$LINENO: result: yes" >&5
10874 echo "${ECHO_T}yes" >&6; }
10875 else
10876 { echo "$as_me:$LINENO: result: no" >&5
10877 echo "${ECHO_T}no" >&6; }
10878 fi
10879
10880
10881 enablestring=
10882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10883 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10884 no_cache=0
10885 # Check whether --enable-treectrl was given.
10886 if test "${enable_treectrl+set}" = set; then
10887 enableval=$enable_treectrl;
10888 if test "$enableval" = yes; then
10889 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10890 else
10891 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10892 fi
10893
10894 else
10895
10896 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10897 if test "x$LINE" != x ; then
10898 eval "DEFAULT_$LINE"
10899 else
10900 no_cache=1
10901 fi
10902
10903 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10904
10905 fi
10906
10907
10908 eval "$ac_cv_use_treectrl"
10909 if test "$no_cache" != 1; then
10910 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10911 fi
10912
10913 if test "$wxUSE_TREECTRL" = yes; then
10914 { echo "$as_me:$LINENO: result: yes" >&5
10915 echo "${ECHO_T}yes" >&6; }
10916 else
10917 { echo "$as_me:$LINENO: result: no" >&5
10918 echo "${ECHO_T}no" >&6; }
10919 fi
10920
10921
10922 enablestring=
10923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10924 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10925 no_cache=0
10926 # Check whether --enable-tipwindow was given.
10927 if test "${enable_tipwindow+set}" = set; then
10928 enableval=$enable_tipwindow;
10929 if test "$enableval" = yes; then
10930 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10931 else
10932 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10933 fi
10934
10935 else
10936
10937 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10938 if test "x$LINE" != x ; then
10939 eval "DEFAULT_$LINE"
10940 else
10941 no_cache=1
10942 fi
10943
10944 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10945
10946 fi
10947
10948
10949 eval "$ac_cv_use_tipwindow"
10950 if test "$no_cache" != 1; then
10951 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10952 fi
10953
10954 if test "$wxUSE_TIPWINDOW" = yes; then
10955 { echo "$as_me:$LINENO: result: yes" >&5
10956 echo "${ECHO_T}yes" >&6; }
10957 else
10958 { echo "$as_me:$LINENO: result: no" >&5
10959 echo "${ECHO_T}no" >&6; }
10960 fi
10961
10962
10963 enablestring=
10964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10965 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10966 no_cache=0
10967 # Check whether --enable-popupwin was given.
10968 if test "${enable_popupwin+set}" = set; then
10969 enableval=$enable_popupwin;
10970 if test "$enableval" = yes; then
10971 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10972 else
10973 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10974 fi
10975
10976 else
10977
10978 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10979 if test "x$LINE" != x ; then
10980 eval "DEFAULT_$LINE"
10981 else
10982 no_cache=1
10983 fi
10984
10985 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10986
10987 fi
10988
10989
10990 eval "$ac_cv_use_popupwin"
10991 if test "$no_cache" != 1; then
10992 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10993 fi
10994
10995 if test "$wxUSE_POPUPWIN" = yes; then
10996 { echo "$as_me:$LINENO: result: yes" >&5
10997 echo "${ECHO_T}yes" >&6; }
10998 else
10999 { echo "$as_me:$LINENO: result: no" >&5
11000 echo "${ECHO_T}no" >&6; }
11001 fi
11002
11003
11004
11005
11006 enablestring=
11007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11008 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11009 no_cache=0
11010 # Check whether --enable-commondlg was given.
11011 if test "${enable_commondlg+set}" = set; then
11012 enableval=$enable_commondlg;
11013 if test "$enableval" = yes; then
11014 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11015 else
11016 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11017 fi
11018
11019 else
11020
11021 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11022 if test "x$LINE" != x ; then
11023 eval "DEFAULT_$LINE"
11024 else
11025 no_cache=1
11026 fi
11027
11028 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11029
11030 fi
11031
11032
11033 eval "$ac_cv_use_commondlg"
11034 if test "$no_cache" != 1; then
11035 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11036 fi
11037
11038 if test "$wxUSE_COMMONDLGS" = yes; then
11039 { echo "$as_me:$LINENO: result: yes" >&5
11040 echo "${ECHO_T}yes" >&6; }
11041 else
11042 { echo "$as_me:$LINENO: result: no" >&5
11043 echo "${ECHO_T}no" >&6; }
11044 fi
11045
11046
11047 enablestring=
11048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11049 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11050 no_cache=0
11051 # Check whether --enable-aboutdlg was given.
11052 if test "${enable_aboutdlg+set}" = set; then
11053 enableval=$enable_aboutdlg;
11054 if test "$enableval" = yes; then
11055 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11056 else
11057 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11058 fi
11059
11060 else
11061
11062 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11063 if test "x$LINE" != x ; then
11064 eval "DEFAULT_$LINE"
11065 else
11066 no_cache=1
11067 fi
11068
11069 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11070
11071 fi
11072
11073
11074 eval "$ac_cv_use_aboutdlg"
11075 if test "$no_cache" != 1; then
11076 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11077 fi
11078
11079 if test "$wxUSE_ABOUTDLG" = yes; then
11080 { echo "$as_me:$LINENO: result: yes" >&5
11081 echo "${ECHO_T}yes" >&6; }
11082 else
11083 { echo "$as_me:$LINENO: result: no" >&5
11084 echo "${ECHO_T}no" >&6; }
11085 fi
11086
11087
11088 enablestring=
11089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11090 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11091 no_cache=0
11092 # Check whether --enable-choicedlg was given.
11093 if test "${enable_choicedlg+set}" = set; then
11094 enableval=$enable_choicedlg;
11095 if test "$enableval" = yes; then
11096 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11097 else
11098 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11099 fi
11100
11101 else
11102
11103 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11104 if test "x$LINE" != x ; then
11105 eval "DEFAULT_$LINE"
11106 else
11107 no_cache=1
11108 fi
11109
11110 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11111
11112 fi
11113
11114
11115 eval "$ac_cv_use_choicedlg"
11116 if test "$no_cache" != 1; then
11117 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11118 fi
11119
11120 if test "$wxUSE_CHOICEDLG" = yes; then
11121 { echo "$as_me:$LINENO: result: yes" >&5
11122 echo "${ECHO_T}yes" >&6; }
11123 else
11124 { echo "$as_me:$LINENO: result: no" >&5
11125 echo "${ECHO_T}no" >&6; }
11126 fi
11127
11128
11129 enablestring=
11130 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11131 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11132 no_cache=0
11133 # Check whether --enable-coldlg was given.
11134 if test "${enable_coldlg+set}" = set; then
11135 enableval=$enable_coldlg;
11136 if test "$enableval" = yes; then
11137 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11138 else
11139 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11140 fi
11141
11142 else
11143
11144 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11145 if test "x$LINE" != x ; then
11146 eval "DEFAULT_$LINE"
11147 else
11148 no_cache=1
11149 fi
11150
11151 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11152
11153 fi
11154
11155
11156 eval "$ac_cv_use_coldlg"
11157 if test "$no_cache" != 1; then
11158 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11159 fi
11160
11161 if test "$wxUSE_COLOURDLG" = yes; then
11162 { echo "$as_me:$LINENO: result: yes" >&5
11163 echo "${ECHO_T}yes" >&6; }
11164 else
11165 { echo "$as_me:$LINENO: result: no" >&5
11166 echo "${ECHO_T}no" >&6; }
11167 fi
11168
11169
11170 enablestring=
11171 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11172 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11173 no_cache=0
11174 # Check whether --enable-filedlg was given.
11175 if test "${enable_filedlg+set}" = set; then
11176 enableval=$enable_filedlg;
11177 if test "$enableval" = yes; then
11178 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11179 else
11180 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11181 fi
11182
11183 else
11184
11185 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11186 if test "x$LINE" != x ; then
11187 eval "DEFAULT_$LINE"
11188 else
11189 no_cache=1
11190 fi
11191
11192 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11193
11194 fi
11195
11196
11197 eval "$ac_cv_use_filedlg"
11198 if test "$no_cache" != 1; then
11199 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11200 fi
11201
11202 if test "$wxUSE_FILEDLG" = yes; then
11203 { echo "$as_me:$LINENO: result: yes" >&5
11204 echo "${ECHO_T}yes" >&6; }
11205 else
11206 { echo "$as_me:$LINENO: result: no" >&5
11207 echo "${ECHO_T}no" >&6; }
11208 fi
11209
11210
11211 enablestring=
11212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11213 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11214 no_cache=0
11215 # Check whether --enable-finddlg was given.
11216 if test "${enable_finddlg+set}" = set; then
11217 enableval=$enable_finddlg;
11218 if test "$enableval" = yes; then
11219 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11220 else
11221 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11222 fi
11223
11224 else
11225
11226 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11227 if test "x$LINE" != x ; then
11228 eval "DEFAULT_$LINE"
11229 else
11230 no_cache=1
11231 fi
11232
11233 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11234
11235 fi
11236
11237
11238 eval "$ac_cv_use_finddlg"
11239 if test "$no_cache" != 1; then
11240 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11241 fi
11242
11243 if test "$wxUSE_FINDREPLDLG" = yes; then
11244 { echo "$as_me:$LINENO: result: yes" >&5
11245 echo "${ECHO_T}yes" >&6; }
11246 else
11247 { echo "$as_me:$LINENO: result: no" >&5
11248 echo "${ECHO_T}no" >&6; }
11249 fi
11250
11251
11252 enablestring=
11253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11255 no_cache=0
11256 # Check whether --enable-fontdlg was given.
11257 if test "${enable_fontdlg+set}" = set; then
11258 enableval=$enable_fontdlg;
11259 if test "$enableval" = yes; then
11260 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11261 else
11262 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11263 fi
11264
11265 else
11266
11267 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11268 if test "x$LINE" != x ; then
11269 eval "DEFAULT_$LINE"
11270 else
11271 no_cache=1
11272 fi
11273
11274 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11275
11276 fi
11277
11278
11279 eval "$ac_cv_use_fontdlg"
11280 if test "$no_cache" != 1; then
11281 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11282 fi
11283
11284 if test "$wxUSE_FONTDLG" = yes; then
11285 { echo "$as_me:$LINENO: result: yes" >&5
11286 echo "${ECHO_T}yes" >&6; }
11287 else
11288 { echo "$as_me:$LINENO: result: no" >&5
11289 echo "${ECHO_T}no" >&6; }
11290 fi
11291
11292
11293 enablestring=
11294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11295 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11296 no_cache=0
11297 # Check whether --enable-dirdlg was given.
11298 if test "${enable_dirdlg+set}" = set; then
11299 enableval=$enable_dirdlg;
11300 if test "$enableval" = yes; then
11301 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11302 else
11303 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11304 fi
11305
11306 else
11307
11308 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11309 if test "x$LINE" != x ; then
11310 eval "DEFAULT_$LINE"
11311 else
11312 no_cache=1
11313 fi
11314
11315 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11316
11317 fi
11318
11319
11320 eval "$ac_cv_use_dirdlg"
11321 if test "$no_cache" != 1; then
11322 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11323 fi
11324
11325 if test "$wxUSE_DIRDLG" = yes; then
11326 { echo "$as_me:$LINENO: result: yes" >&5
11327 echo "${ECHO_T}yes" >&6; }
11328 else
11329 { echo "$as_me:$LINENO: result: no" >&5
11330 echo "${ECHO_T}no" >&6; }
11331 fi
11332
11333
11334 enablestring=
11335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11336 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11337 no_cache=0
11338 # Check whether --enable-msgdlg was given.
11339 if test "${enable_msgdlg+set}" = set; then
11340 enableval=$enable_msgdlg;
11341 if test "$enableval" = yes; then
11342 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11343 else
11344 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11345 fi
11346
11347 else
11348
11349 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11350 if test "x$LINE" != x ; then
11351 eval "DEFAULT_$LINE"
11352 else
11353 no_cache=1
11354 fi
11355
11356 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11357
11358 fi
11359
11360
11361 eval "$ac_cv_use_msgdlg"
11362 if test "$no_cache" != 1; then
11363 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11364 fi
11365
11366 if test "$wxUSE_MSGDLG" = yes; then
11367 { echo "$as_me:$LINENO: result: yes" >&5
11368 echo "${ECHO_T}yes" >&6; }
11369 else
11370 { echo "$as_me:$LINENO: result: no" >&5
11371 echo "${ECHO_T}no" >&6; }
11372 fi
11373
11374
11375 enablestring=
11376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11377 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11378 no_cache=0
11379 # Check whether --enable-numberdlg was given.
11380 if test "${enable_numberdlg+set}" = set; then
11381 enableval=$enable_numberdlg;
11382 if test "$enableval" = yes; then
11383 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11384 else
11385 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11386 fi
11387
11388 else
11389
11390 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11391 if test "x$LINE" != x ; then
11392 eval "DEFAULT_$LINE"
11393 else
11394 no_cache=1
11395 fi
11396
11397 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11398
11399 fi
11400
11401
11402 eval "$ac_cv_use_numberdlg"
11403 if test "$no_cache" != 1; then
11404 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11405 fi
11406
11407 if test "$wxUSE_NUMBERDLG" = yes; then
11408 { echo "$as_me:$LINENO: result: yes" >&5
11409 echo "${ECHO_T}yes" >&6; }
11410 else
11411 { echo "$as_me:$LINENO: result: no" >&5
11412 echo "${ECHO_T}no" >&6; }
11413 fi
11414
11415
11416 enablestring=
11417 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11418 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11419 no_cache=0
11420 # Check whether --enable-splash was given.
11421 if test "${enable_splash+set}" = set; then
11422 enableval=$enable_splash;
11423 if test "$enableval" = yes; then
11424 ac_cv_use_splash='wxUSE_SPLASH=yes'
11425 else
11426 ac_cv_use_splash='wxUSE_SPLASH=no'
11427 fi
11428
11429 else
11430
11431 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11432 if test "x$LINE" != x ; then
11433 eval "DEFAULT_$LINE"
11434 else
11435 no_cache=1
11436 fi
11437
11438 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11439
11440 fi
11441
11442
11443 eval "$ac_cv_use_splash"
11444 if test "$no_cache" != 1; then
11445 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11446 fi
11447
11448 if test "$wxUSE_SPLASH" = yes; then
11449 { echo "$as_me:$LINENO: result: yes" >&5
11450 echo "${ECHO_T}yes" >&6; }
11451 else
11452 { echo "$as_me:$LINENO: result: no" >&5
11453 echo "${ECHO_T}no" >&6; }
11454 fi
11455
11456
11457 enablestring=
11458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11459 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11460 no_cache=0
11461 # Check whether --enable-textdlg was given.
11462 if test "${enable_textdlg+set}" = set; then
11463 enableval=$enable_textdlg;
11464 if test "$enableval" = yes; then
11465 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11466 else
11467 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11468 fi
11469
11470 else
11471
11472 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11473 if test "x$LINE" != x ; then
11474 eval "DEFAULT_$LINE"
11475 else
11476 no_cache=1
11477 fi
11478
11479 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11480
11481 fi
11482
11483
11484 eval "$ac_cv_use_textdlg"
11485 if test "$no_cache" != 1; then
11486 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11487 fi
11488
11489 if test "$wxUSE_TEXTDLG" = yes; then
11490 { echo "$as_me:$LINENO: result: yes" >&5
11491 echo "${ECHO_T}yes" >&6; }
11492 else
11493 { echo "$as_me:$LINENO: result: no" >&5
11494 echo "${ECHO_T}no" >&6; }
11495 fi
11496
11497
11498 enablestring=
11499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11500 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11501 no_cache=0
11502 # Check whether --enable-tipdlg was given.
11503 if test "${enable_tipdlg+set}" = set; then
11504 enableval=$enable_tipdlg;
11505 if test "$enableval" = yes; then
11506 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11507 else
11508 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11509 fi
11510
11511 else
11512
11513 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11514 if test "x$LINE" != x ; then
11515 eval "DEFAULT_$LINE"
11516 else
11517 no_cache=1
11518 fi
11519
11520 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11521
11522 fi
11523
11524
11525 eval "$ac_cv_use_tipdlg"
11526 if test "$no_cache" != 1; then
11527 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11528 fi
11529
11530 if test "$wxUSE_STARTUP_TIPS" = yes; then
11531 { echo "$as_me:$LINENO: result: yes" >&5
11532 echo "${ECHO_T}yes" >&6; }
11533 else
11534 { echo "$as_me:$LINENO: result: no" >&5
11535 echo "${ECHO_T}no" >&6; }
11536 fi
11537
11538
11539 enablestring=
11540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11541 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11542 no_cache=0
11543 # Check whether --enable-progressdlg was given.
11544 if test "${enable_progressdlg+set}" = set; then
11545 enableval=$enable_progressdlg;
11546 if test "$enableval" = yes; then
11547 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11548 else
11549 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11550 fi
11551
11552 else
11553
11554 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11555 if test "x$LINE" != x ; then
11556 eval "DEFAULT_$LINE"
11557 else
11558 no_cache=1
11559 fi
11560
11561 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11562
11563 fi
11564
11565
11566 eval "$ac_cv_use_progressdlg"
11567 if test "$no_cache" != 1; then
11568 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11569 fi
11570
11571 if test "$wxUSE_PROGRESSDLG" = yes; then
11572 { echo "$as_me:$LINENO: result: yes" >&5
11573 echo "${ECHO_T}yes" >&6; }
11574 else
11575 { echo "$as_me:$LINENO: result: no" >&5
11576 echo "${ECHO_T}no" >&6; }
11577 fi
11578
11579
11580 enablestring=
11581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11582 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11583 no_cache=0
11584 # Check whether --enable-wizarddlg was given.
11585 if test "${enable_wizarddlg+set}" = set; then
11586 enableval=$enable_wizarddlg;
11587 if test "$enableval" = yes; then
11588 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11589 else
11590 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11591 fi
11592
11593 else
11594
11595 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11596 if test "x$LINE" != x ; then
11597 eval "DEFAULT_$LINE"
11598 else
11599 no_cache=1
11600 fi
11601
11602 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11603
11604 fi
11605
11606
11607 eval "$ac_cv_use_wizarddlg"
11608 if test "$no_cache" != 1; then
11609 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11610 fi
11611
11612 if test "$wxUSE_WIZARDDLG" = yes; then
11613 { echo "$as_me:$LINENO: result: yes" >&5
11614 echo "${ECHO_T}yes" >&6; }
11615 else
11616 { echo "$as_me:$LINENO: result: no" >&5
11617 echo "${ECHO_T}no" >&6; }
11618 fi
11619
11620
11621
11622
11623 enablestring=
11624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11625 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11626 no_cache=0
11627 # Check whether --enable-menus was given.
11628 if test "${enable_menus+set}" = set; then
11629 enableval=$enable_menus;
11630 if test "$enableval" = yes; then
11631 ac_cv_use_menus='wxUSE_MENUS=yes'
11632 else
11633 ac_cv_use_menus='wxUSE_MENUS=no'
11634 fi
11635
11636 else
11637
11638 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11639 if test "x$LINE" != x ; then
11640 eval "DEFAULT_$LINE"
11641 else
11642 no_cache=1
11643 fi
11644
11645 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11646
11647 fi
11648
11649
11650 eval "$ac_cv_use_menus"
11651 if test "$no_cache" != 1; then
11652 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11653 fi
11654
11655 if test "$wxUSE_MENUS" = yes; then
11656 { echo "$as_me:$LINENO: result: yes" >&5
11657 echo "${ECHO_T}yes" >&6; }
11658 else
11659 { echo "$as_me:$LINENO: result: no" >&5
11660 echo "${ECHO_T}no" >&6; }
11661 fi
11662
11663
11664 enablestring=
11665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11666 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11667 no_cache=0
11668 # Check whether --enable-miniframe was given.
11669 if test "${enable_miniframe+set}" = set; then
11670 enableval=$enable_miniframe;
11671 if test "$enableval" = yes; then
11672 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11673 else
11674 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11675 fi
11676
11677 else
11678
11679 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11680 if test "x$LINE" != x ; then
11681 eval "DEFAULT_$LINE"
11682 else
11683 no_cache=1
11684 fi
11685
11686 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11687
11688 fi
11689
11690
11691 eval "$ac_cv_use_miniframe"
11692 if test "$no_cache" != 1; then
11693 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11694 fi
11695
11696 if test "$wxUSE_MINIFRAME" = yes; then
11697 { echo "$as_me:$LINENO: result: yes" >&5
11698 echo "${ECHO_T}yes" >&6; }
11699 else
11700 { echo "$as_me:$LINENO: result: no" >&5
11701 echo "${ECHO_T}no" >&6; }
11702 fi
11703
11704
11705 enablestring=
11706 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11707 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11708 no_cache=0
11709 # Check whether --enable-tooltips was given.
11710 if test "${enable_tooltips+set}" = set; then
11711 enableval=$enable_tooltips;
11712 if test "$enableval" = yes; then
11713 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11714 else
11715 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11716 fi
11717
11718 else
11719
11720 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11721 if test "x$LINE" != x ; then
11722 eval "DEFAULT_$LINE"
11723 else
11724 no_cache=1
11725 fi
11726
11727 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11728
11729 fi
11730
11731
11732 eval "$ac_cv_use_tooltips"
11733 if test "$no_cache" != 1; then
11734 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11735 fi
11736
11737 if test "$wxUSE_TOOLTIPS" = yes; then
11738 { echo "$as_me:$LINENO: result: yes" >&5
11739 echo "${ECHO_T}yes" >&6; }
11740 else
11741 { echo "$as_me:$LINENO: result: no" >&5
11742 echo "${ECHO_T}no" >&6; }
11743 fi
11744
11745
11746 enablestring=
11747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11748 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11749 no_cache=0
11750 # Check whether --enable-splines was given.
11751 if test "${enable_splines+set}" = set; then
11752 enableval=$enable_splines;
11753 if test "$enableval" = yes; then
11754 ac_cv_use_splines='wxUSE_SPLINES=yes'
11755 else
11756 ac_cv_use_splines='wxUSE_SPLINES=no'
11757 fi
11758
11759 else
11760
11761 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11762 if test "x$LINE" != x ; then
11763 eval "DEFAULT_$LINE"
11764 else
11765 no_cache=1
11766 fi
11767
11768 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11769
11770 fi
11771
11772
11773 eval "$ac_cv_use_splines"
11774 if test "$no_cache" != 1; then
11775 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11776 fi
11777
11778 if test "$wxUSE_SPLINES" = yes; then
11779 { echo "$as_me:$LINENO: result: yes" >&5
11780 echo "${ECHO_T}yes" >&6; }
11781 else
11782 { echo "$as_me:$LINENO: result: no" >&5
11783 echo "${ECHO_T}no" >&6; }
11784 fi
11785
11786
11787 enablestring=
11788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11789 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11790 no_cache=0
11791 # Check whether --enable-mousewheel was given.
11792 if test "${enable_mousewheel+set}" = set; then
11793 enableval=$enable_mousewheel;
11794 if test "$enableval" = yes; then
11795 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11796 else
11797 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11798 fi
11799
11800 else
11801
11802 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11803 if test "x$LINE" != x ; then
11804 eval "DEFAULT_$LINE"
11805 else
11806 no_cache=1
11807 fi
11808
11809 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11810
11811 fi
11812
11813
11814 eval "$ac_cv_use_mousewheel"
11815 if test "$no_cache" != 1; then
11816 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11817 fi
11818
11819 if test "$wxUSE_MOUSEWHEEL" = yes; then
11820 { echo "$as_me:$LINENO: result: yes" >&5
11821 echo "${ECHO_T}yes" >&6; }
11822 else
11823 { echo "$as_me:$LINENO: result: no" >&5
11824 echo "${ECHO_T}no" >&6; }
11825 fi
11826
11827
11828 enablestring=
11829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11830 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11831 no_cache=0
11832 # Check whether --enable-validators was given.
11833 if test "${enable_validators+set}" = set; then
11834 enableval=$enable_validators;
11835 if test "$enableval" = yes; then
11836 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11837 else
11838 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11839 fi
11840
11841 else
11842
11843 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11844 if test "x$LINE" != x ; then
11845 eval "DEFAULT_$LINE"
11846 else
11847 no_cache=1
11848 fi
11849
11850 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11851
11852 fi
11853
11854
11855 eval "$ac_cv_use_validators"
11856 if test "$no_cache" != 1; then
11857 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11858 fi
11859
11860 if test "$wxUSE_VALIDATORS" = yes; then
11861 { echo "$as_me:$LINENO: result: yes" >&5
11862 echo "${ECHO_T}yes" >&6; }
11863 else
11864 { echo "$as_me:$LINENO: result: no" >&5
11865 echo "${ECHO_T}no" >&6; }
11866 fi
11867
11868
11869 enablestring=
11870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11871 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11872 no_cache=0
11873 # Check whether --enable-busyinfo was given.
11874 if test "${enable_busyinfo+set}" = set; then
11875 enableval=$enable_busyinfo;
11876 if test "$enableval" = yes; then
11877 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11878 else
11879 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11880 fi
11881
11882 else
11883
11884 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11885 if test "x$LINE" != x ; then
11886 eval "DEFAULT_$LINE"
11887 else
11888 no_cache=1
11889 fi
11890
11891 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11892
11893 fi
11894
11895
11896 eval "$ac_cv_use_busyinfo"
11897 if test "$no_cache" != 1; then
11898 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11899 fi
11900
11901 if test "$wxUSE_BUSYINFO" = yes; then
11902 { echo "$as_me:$LINENO: result: yes" >&5
11903 echo "${ECHO_T}yes" >&6; }
11904 else
11905 { echo "$as_me:$LINENO: result: no" >&5
11906 echo "${ECHO_T}no" >&6; }
11907 fi
11908
11909
11910 enablestring=
11911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11912 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11913 no_cache=0
11914 # Check whether --enable-joystick was given.
11915 if test "${enable_joystick+set}" = set; then
11916 enableval=$enable_joystick;
11917 if test "$enableval" = yes; then
11918 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11919 else
11920 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11921 fi
11922
11923 else
11924
11925 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11926 if test "x$LINE" != x ; then
11927 eval "DEFAULT_$LINE"
11928 else
11929 no_cache=1
11930 fi
11931
11932 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11933
11934 fi
11935
11936
11937 eval "$ac_cv_use_joystick"
11938 if test "$no_cache" != 1; then
11939 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11940 fi
11941
11942 if test "$wxUSE_JOYSTICK" = yes; then
11943 { echo "$as_me:$LINENO: result: yes" >&5
11944 echo "${ECHO_T}yes" >&6; }
11945 else
11946 { echo "$as_me:$LINENO: result: no" >&5
11947 echo "${ECHO_T}no" >&6; }
11948 fi
11949
11950
11951 enablestring=
11952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11953 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11954 no_cache=0
11955 # Check whether --enable-metafile was given.
11956 if test "${enable_metafile+set}" = set; then
11957 enableval=$enable_metafile;
11958 if test "$enableval" = yes; then
11959 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11960 else
11961 ac_cv_use_metafile='wxUSE_METAFILE=no'
11962 fi
11963
11964 else
11965
11966 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11967 if test "x$LINE" != x ; then
11968 eval "DEFAULT_$LINE"
11969 else
11970 no_cache=1
11971 fi
11972
11973 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11974
11975 fi
11976
11977
11978 eval "$ac_cv_use_metafile"
11979 if test "$no_cache" != 1; then
11980 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11981 fi
11982
11983 if test "$wxUSE_METAFILE" = yes; then
11984 { echo "$as_me:$LINENO: result: yes" >&5
11985 echo "${ECHO_T}yes" >&6; }
11986 else
11987 { echo "$as_me:$LINENO: result: no" >&5
11988 echo "${ECHO_T}no" >&6; }
11989 fi
11990
11991
11992 enablestring=
11993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11994 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11995 no_cache=0
11996 # Check whether --enable-dragimage was given.
11997 if test "${enable_dragimage+set}" = set; then
11998 enableval=$enable_dragimage;
11999 if test "$enableval" = yes; then
12000 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12001 else
12002 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12003 fi
12004
12005 else
12006
12007 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12008 if test "x$LINE" != x ; then
12009 eval "DEFAULT_$LINE"
12010 else
12011 no_cache=1
12012 fi
12013
12014 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12015
12016 fi
12017
12018
12019 eval "$ac_cv_use_dragimage"
12020 if test "$no_cache" != 1; then
12021 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12022 fi
12023
12024 if test "$wxUSE_DRAGIMAGE" = yes; then
12025 { echo "$as_me:$LINENO: result: yes" >&5
12026 echo "${ECHO_T}yes" >&6; }
12027 else
12028 { echo "$as_me:$LINENO: result: no" >&5
12029 echo "${ECHO_T}no" >&6; }
12030 fi
12031
12032
12033 enablestring=
12034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12035 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12036 no_cache=0
12037 # Check whether --enable-accessibility was given.
12038 if test "${enable_accessibility+set}" = set; then
12039 enableval=$enable_accessibility;
12040 if test "$enableval" = yes; then
12041 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12042 else
12043 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12044 fi
12045
12046 else
12047
12048 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12049 if test "x$LINE" != x ; then
12050 eval "DEFAULT_$LINE"
12051 else
12052 no_cache=1
12053 fi
12054
12055 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12056
12057 fi
12058
12059
12060 eval "$ac_cv_use_accessibility"
12061 if test "$no_cache" != 1; then
12062 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12063 fi
12064
12065 if test "$wxUSE_ACCESSIBILITY" = yes; then
12066 { echo "$as_me:$LINENO: result: yes" >&5
12067 echo "${ECHO_T}yes" >&6; }
12068 else
12069 { echo "$as_me:$LINENO: result: no" >&5
12070 echo "${ECHO_T}no" >&6; }
12071 fi
12072
12073
12074 if test "$wxUSE_MSW" = "1"; then
12075
12076 enablestring=
12077 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12078 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12079 no_cache=0
12080 # Check whether --enable-dccache was given.
12081 if test "${enable_dccache+set}" = set; then
12082 enableval=$enable_dccache;
12083 if test "$enableval" = yes; then
12084 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12085 else
12086 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12087 fi
12088
12089 else
12090
12091 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12092 if test "x$LINE" != x ; then
12093 eval "DEFAULT_$LINE"
12094 else
12095 no_cache=1
12096 fi
12097
12098 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12099
12100 fi
12101
12102
12103 eval "$ac_cv_use_dccache"
12104 if test "$no_cache" != 1; then
12105 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12106 fi
12107
12108 if test "$wxUSE_DC_CACHEING" = yes; then
12109 { echo "$as_me:$LINENO: result: yes" >&5
12110 echo "${ECHO_T}yes" >&6; }
12111 else
12112 { echo "$as_me:$LINENO: result: no" >&5
12113 echo "${ECHO_T}no" >&6; }
12114 fi
12115
12116 fi
12117
12118
12119
12120 enablestring=
12121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12122 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12123 no_cache=0
12124 # Check whether --enable-palette was given.
12125 if test "${enable_palette+set}" = set; then
12126 enableval=$enable_palette;
12127 if test "$enableval" = yes; then
12128 ac_cv_use_palette='wxUSE_PALETTE=yes'
12129 else
12130 ac_cv_use_palette='wxUSE_PALETTE=no'
12131 fi
12132
12133 else
12134
12135 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12136 if test "x$LINE" != x ; then
12137 eval "DEFAULT_$LINE"
12138 else
12139 no_cache=1
12140 fi
12141
12142 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12143
12144 fi
12145
12146
12147 eval "$ac_cv_use_palette"
12148 if test "$no_cache" != 1; then
12149 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12150 fi
12151
12152 if test "$wxUSE_PALETTE" = yes; then
12153 { echo "$as_me:$LINENO: result: yes" >&5
12154 echo "${ECHO_T}yes" >&6; }
12155 else
12156 { echo "$as_me:$LINENO: result: no" >&5
12157 echo "${ECHO_T}no" >&6; }
12158 fi
12159
12160
12161 enablestring=
12162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12163 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12164 no_cache=0
12165 # Check whether --enable-image was given.
12166 if test "${enable_image+set}" = set; then
12167 enableval=$enable_image;
12168 if test "$enableval" = yes; then
12169 ac_cv_use_image='wxUSE_IMAGE=yes'
12170 else
12171 ac_cv_use_image='wxUSE_IMAGE=no'
12172 fi
12173
12174 else
12175
12176 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12177 if test "x$LINE" != x ; then
12178 eval "DEFAULT_$LINE"
12179 else
12180 no_cache=1
12181 fi
12182
12183 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12184
12185 fi
12186
12187
12188 eval "$ac_cv_use_image"
12189 if test "$no_cache" != 1; then
12190 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12191 fi
12192
12193 if test "$wxUSE_IMAGE" = yes; then
12194 { echo "$as_me:$LINENO: result: yes" >&5
12195 echo "${ECHO_T}yes" >&6; }
12196 else
12197 { echo "$as_me:$LINENO: result: no" >&5
12198 echo "${ECHO_T}no" >&6; }
12199 fi
12200
12201
12202 enablestring=
12203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12204 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12205 no_cache=0
12206 # Check whether --enable-gif was given.
12207 if test "${enable_gif+set}" = set; then
12208 enableval=$enable_gif;
12209 if test "$enableval" = yes; then
12210 ac_cv_use_gif='wxUSE_GIF=yes'
12211 else
12212 ac_cv_use_gif='wxUSE_GIF=no'
12213 fi
12214
12215 else
12216
12217 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12218 if test "x$LINE" != x ; then
12219 eval "DEFAULT_$LINE"
12220 else
12221 no_cache=1
12222 fi
12223
12224 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12225
12226 fi
12227
12228
12229 eval "$ac_cv_use_gif"
12230 if test "$no_cache" != 1; then
12231 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12232 fi
12233
12234 if test "$wxUSE_GIF" = yes; then
12235 { echo "$as_me:$LINENO: result: yes" >&5
12236 echo "${ECHO_T}yes" >&6; }
12237 else
12238 { echo "$as_me:$LINENO: result: no" >&5
12239 echo "${ECHO_T}no" >&6; }
12240 fi
12241
12242
12243 enablestring=
12244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12245 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12246 no_cache=0
12247 # Check whether --enable-pcx was given.
12248 if test "${enable_pcx+set}" = set; then
12249 enableval=$enable_pcx;
12250 if test "$enableval" = yes; then
12251 ac_cv_use_pcx='wxUSE_PCX=yes'
12252 else
12253 ac_cv_use_pcx='wxUSE_PCX=no'
12254 fi
12255
12256 else
12257
12258 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12259 if test "x$LINE" != x ; then
12260 eval "DEFAULT_$LINE"
12261 else
12262 no_cache=1
12263 fi
12264
12265 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12266
12267 fi
12268
12269
12270 eval "$ac_cv_use_pcx"
12271 if test "$no_cache" != 1; then
12272 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12273 fi
12274
12275 if test "$wxUSE_PCX" = yes; then
12276 { echo "$as_me:$LINENO: result: yes" >&5
12277 echo "${ECHO_T}yes" >&6; }
12278 else
12279 { echo "$as_me:$LINENO: result: no" >&5
12280 echo "${ECHO_T}no" >&6; }
12281 fi
12282
12283
12284 enablestring=
12285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12286 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12287 no_cache=0
12288 # Check whether --enable-tga was given.
12289 if test "${enable_tga+set}" = set; then
12290 enableval=$enable_tga;
12291 if test "$enableval" = yes; then
12292 ac_cv_use_tga='wxUSE_TGA=yes'
12293 else
12294 ac_cv_use_tga='wxUSE_TGA=no'
12295 fi
12296
12297 else
12298
12299 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12300 if test "x$LINE" != x ; then
12301 eval "DEFAULT_$LINE"
12302 else
12303 no_cache=1
12304 fi
12305
12306 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12307
12308 fi
12309
12310
12311 eval "$ac_cv_use_tga"
12312 if test "$no_cache" != 1; then
12313 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12314 fi
12315
12316 if test "$wxUSE_TGA" = yes; then
12317 { echo "$as_me:$LINENO: result: yes" >&5
12318 echo "${ECHO_T}yes" >&6; }
12319 else
12320 { echo "$as_me:$LINENO: result: no" >&5
12321 echo "${ECHO_T}no" >&6; }
12322 fi
12323
12324
12325 enablestring=
12326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12327 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12328 no_cache=0
12329 # Check whether --enable-iff was given.
12330 if test "${enable_iff+set}" = set; then
12331 enableval=$enable_iff;
12332 if test "$enableval" = yes; then
12333 ac_cv_use_iff='wxUSE_IFF=yes'
12334 else
12335 ac_cv_use_iff='wxUSE_IFF=no'
12336 fi
12337
12338 else
12339
12340 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12341 if test "x$LINE" != x ; then
12342 eval "DEFAULT_$LINE"
12343 else
12344 no_cache=1
12345 fi
12346
12347 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12348
12349 fi
12350
12351
12352 eval "$ac_cv_use_iff"
12353 if test "$no_cache" != 1; then
12354 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12355 fi
12356
12357 if test "$wxUSE_IFF" = yes; then
12358 { echo "$as_me:$LINENO: result: yes" >&5
12359 echo "${ECHO_T}yes" >&6; }
12360 else
12361 { echo "$as_me:$LINENO: result: no" >&5
12362 echo "${ECHO_T}no" >&6; }
12363 fi
12364
12365
12366 enablestring=
12367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12368 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12369 no_cache=0
12370 # Check whether --enable-pnm was given.
12371 if test "${enable_pnm+set}" = set; then
12372 enableval=$enable_pnm;
12373 if test "$enableval" = yes; then
12374 ac_cv_use_pnm='wxUSE_PNM=yes'
12375 else
12376 ac_cv_use_pnm='wxUSE_PNM=no'
12377 fi
12378
12379 else
12380
12381 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12382 if test "x$LINE" != x ; then
12383 eval "DEFAULT_$LINE"
12384 else
12385 no_cache=1
12386 fi
12387
12388 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12389
12390 fi
12391
12392
12393 eval "$ac_cv_use_pnm"
12394 if test "$no_cache" != 1; then
12395 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12396 fi
12397
12398 if test "$wxUSE_PNM" = yes; then
12399 { echo "$as_me:$LINENO: result: yes" >&5
12400 echo "${ECHO_T}yes" >&6; }
12401 else
12402 { echo "$as_me:$LINENO: result: no" >&5
12403 echo "${ECHO_T}no" >&6; }
12404 fi
12405
12406
12407 enablestring=
12408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12409 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12410 no_cache=0
12411 # Check whether --enable-xpm was given.
12412 if test "${enable_xpm+set}" = set; then
12413 enableval=$enable_xpm;
12414 if test "$enableval" = yes; then
12415 ac_cv_use_xpm='wxUSE_XPM=yes'
12416 else
12417 ac_cv_use_xpm='wxUSE_XPM=no'
12418 fi
12419
12420 else
12421
12422 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12423 if test "x$LINE" != x ; then
12424 eval "DEFAULT_$LINE"
12425 else
12426 no_cache=1
12427 fi
12428
12429 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12430
12431 fi
12432
12433
12434 eval "$ac_cv_use_xpm"
12435 if test "$no_cache" != 1; then
12436 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12437 fi
12438
12439 if test "$wxUSE_XPM" = yes; then
12440 { echo "$as_me:$LINENO: result: yes" >&5
12441 echo "${ECHO_T}yes" >&6; }
12442 else
12443 { echo "$as_me:$LINENO: result: no" >&5
12444 echo "${ECHO_T}no" >&6; }
12445 fi
12446
12447
12448 enablestring=
12449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12450 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12451 no_cache=0
12452 # Check whether --enable-ico_cur was given.
12453 if test "${enable_ico_cur+set}" = set; then
12454 enableval=$enable_ico_cur;
12455 if test "$enableval" = yes; then
12456 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12457 else
12458 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12459 fi
12460
12461 else
12462
12463 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12464 if test "x$LINE" != x ; then
12465 eval "DEFAULT_$LINE"
12466 else
12467 no_cache=1
12468 fi
12469
12470 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12471
12472 fi
12473
12474
12475 eval "$ac_cv_use_ico_cur"
12476 if test "$no_cache" != 1; then
12477 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12478 fi
12479
12480 if test "$wxUSE_ICO_CUR" = yes; then
12481 { echo "$as_me:$LINENO: result: yes" >&5
12482 echo "${ECHO_T}yes" >&6; }
12483 else
12484 { echo "$as_me:$LINENO: result: no" >&5
12485 echo "${ECHO_T}no" >&6; }
12486 fi
12487
12488
12489 fi
12490
12491
12492
12493 # Check whether --with-flavour was given.
12494 if test "${with_flavour+set}" = set; then
12495 withval=$with_flavour; WX_FLAVOUR="$withval"
12496 fi
12497
12498
12499
12500
12501 enablestring=
12502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12503 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12504 no_cache=0
12505 # Check whether --enable-official_build was given.
12506 if test "${enable_official_build+set}" = set; then
12507 enableval=$enable_official_build;
12508 if test "$enableval" = yes; then
12509 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12510 else
12511 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12512 fi
12513
12514 else
12515
12516 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12517 if test "x$LINE" != x ; then
12518 eval "DEFAULT_$LINE"
12519 else
12520 no_cache=1
12521 fi
12522
12523 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12524
12525 fi
12526
12527
12528 eval "$ac_cv_use_official_build"
12529 if test "$no_cache" != 1; then
12530 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12531 fi
12532
12533 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12534 { echo "$as_me:$LINENO: result: yes" >&5
12535 echo "${ECHO_T}yes" >&6; }
12536 else
12537 { echo "$as_me:$LINENO: result: no" >&5
12538 echo "${ECHO_T}no" >&6; }
12539 fi
12540
12541 # Check whether --enable-vendor was given.
12542 if test "${enable_vendor+set}" = set; then
12543 enableval=$enable_vendor; VENDOR="$enableval"
12544 fi
12545
12546 if test "x$VENDOR" = "x"; then
12547 VENDOR="custom"
12548 fi
12549
12550
12551
12552
12553 echo "saving argument cache $wx_arg_cache_file"
12554 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12555
12556
12557
12558 { echo "$as_me:$LINENO: checking for toolkit" >&5
12559 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12560
12561 # In Wine, we need to default to MSW, not GTK or MOTIF
12562 if test "$wxUSE_WINE" = "yes"; then
12563 DEFAULT_DEFAULT_wxUSE_GTK=0
12564 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12565 DEFAULT_DEFAULT_wxUSE_MSW=1
12566 wxUSE_SHARED=no
12567 CC=${CC:-winegcc}
12568 CXX=${CXX:-wineg++}
12569 fi
12570
12571
12572 if test "$wxUSE_GUI" = "yes"; then
12573
12574 if test "$USE_BEOS" = 1; then
12575 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12576 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12577 { (exit 1); exit 1; }; }
12578 fi
12579
12580 if test "$TOOLKIT_GIVEN" = 1; then
12581 for toolkit in `echo $ALL_TOOLKITS`; do
12582 var=wxUSE_$toolkit
12583 eval "value=\$${var}"
12584 if test "x$value" = "xno"; then
12585 eval "$var=0"
12586 elif test "x$value" != "x"; then
12587 eval "$var=1"
12588 fi
12589
12590 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12591 eval "wx${toolkit}_VERSION=$value"
12592 fi
12593 done
12594 else
12595 for toolkit in `echo $ALL_TOOLKITS`; do
12596 if test "$has_toolkit_in_cache" != 1; then
12597 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12598 else
12599 var=DEFAULT_wxUSE_$toolkit
12600
12601 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12602 if test "x$version" != "x"; then
12603 eval "wx${toolkit}_VERSION=$version"
12604 fi
12605 fi
12606 eval "wxUSE_$toolkit=\$${var}"
12607 done
12608 fi
12609
12610 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12611 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12612 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12613
12614 case "${host}" in
12615 *-pc-os2_emx | *-pc-os2-emx )
12616 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12617 esac
12618
12619 case "$NUM_TOOLKITS" in
12620 1)
12621 ;;
12622 0)
12623 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12624 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12625 { (exit 1); exit 1; }; }
12626 ;;
12627 *)
12628 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12629 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12630 { (exit 1); exit 1; }; }
12631 esac
12632
12633 # to be removed when --disable-gtk2 isn't needed
12634 if test "x$wxUSE_GTK2" = "xyes"; then
12635 wxGTK_VERSION=2
12636 elif test "x$wxUSE_GTK2" = "xno"; then
12637 wxGTK_VERSION=1
12638 fi
12639
12640 for toolkit in `echo $ALL_TOOLKITS`; do
12641 var=wxUSE_$toolkit
12642 eval "value=\$${var}"
12643 if test "x$value" != x; then
12644 cache_var=CACHE_$toolkit
12645 eval "cache=\$${cache_var}"
12646 if test "$cache" = 1; then
12647 echo "$var=$value" >> ${wx_arg_cache_file}
12648 eval "version=\$wx${toolkit}_VERSION"
12649 if test "x$version" != "x"; then
12650 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12651 fi
12652 fi
12653 if test "$value" = 1; then
12654 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12655 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12656 echo "${ECHO_T}$toolkit_echo" >&6; }
12657 fi
12658 fi
12659 done
12660 else
12661 if test "x$host_alias" != "x"; then
12662 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12663 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12664 else
12665 { echo "$as_me:$LINENO: result: base only" >&5
12666 echo "${ECHO_T}base only" >&6; }
12667 fi
12668 fi
12669
12670
12671 cat >confcache <<\_ACEOF
12672 # This file is a shell script that caches the results of configure
12673 # tests run on this system so they can be shared between configure
12674 # scripts and configure runs, see configure's option --config-cache.
12675 # It is not useful on other systems. If it contains results you don't
12676 # want to keep, you may remove or edit it.
12677 #
12678 # config.status only pays attention to the cache file if you give it
12679 # the --recheck option to rerun configure.
12680 #
12681 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12683 # following values.
12684
12685 _ACEOF
12686
12687 # The following way of writing the cache mishandles newlines in values,
12688 # but we know of no workaround that is simple, portable, and efficient.
12689 # So, we kill variables containing newlines.
12690 # Ultrix sh set writes to stderr and can't be redirected directly,
12691 # and sets the high bit in the cache file unless we assign to the vars.
12692 (
12693 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12694 eval ac_val=\$$ac_var
12695 case $ac_val in #(
12696 *${as_nl}*)
12697 case $ac_var in #(
12698 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12699 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12700 esac
12701 case $ac_var in #(
12702 _ | IFS | as_nl) ;; #(
12703 *) $as_unset $ac_var ;;
12704 esac ;;
12705 esac
12706 done
12707
12708 (set) 2>&1 |
12709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12710 *${as_nl}ac_space=\ *)
12711 # `set' does not quote correctly, so add quotes (double-quote
12712 # substitution turns \\\\ into \\, and sed turns \\ into \).
12713 sed -n \
12714 "s/'/'\\\\''/g;
12715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12716 ;; #(
12717 *)
12718 # `set' quotes correctly as required by POSIX, so do not add quotes.
12719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12720 ;;
12721 esac |
12722 sort
12723 ) |
12724 sed '
12725 /^ac_cv_env_/b end
12726 t clear
12727 :clear
12728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12729 t end
12730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12731 :end' >>confcache
12732 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12733 if test -w "$cache_file"; then
12734 test "x$cache_file" != "x/dev/null" &&
12735 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12736 echo "$as_me: updating cache $cache_file" >&6;}
12737 cat confcache >$cache_file
12738 else
12739 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12740 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12741 fi
12742 fi
12743 rm -f confcache
12744
12745 CFLAGS=${CFLAGS:=}
12746
12747
12748
12749 ac_ext=c
12750 ac_cpp='$CPP $CPPFLAGS'
12751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12754 if test -n "$ac_tool_prefix"; then
12755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12759 if test "${ac_cv_prog_CC+set}" = set; then
12760 echo $ECHO_N "(cached) $ECHO_C" >&6
12761 else
12762 if test -n "$CC"; then
12763 ac_cv_prog_CC="$CC" # Let the user override the test.
12764 else
12765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12766 for as_dir in $PATH
12767 do
12768 IFS=$as_save_IFS
12769 test -z "$as_dir" && as_dir=.
12770 for ac_exec_ext in '' $ac_executable_extensions; do
12771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12772 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12774 break 2
12775 fi
12776 done
12777 done
12778 IFS=$as_save_IFS
12779
12780 fi
12781 fi
12782 CC=$ac_cv_prog_CC
12783 if test -n "$CC"; then
12784 { echo "$as_me:$LINENO: result: $CC" >&5
12785 echo "${ECHO_T}$CC" >&6; }
12786 else
12787 { echo "$as_me:$LINENO: result: no" >&5
12788 echo "${ECHO_T}no" >&6; }
12789 fi
12790
12791
12792 fi
12793 if test -z "$ac_cv_prog_CC"; then
12794 ac_ct_CC=$CC
12795 # Extract the first word of "gcc", so it can be a program name with args.
12796 set dummy gcc; ac_word=$2
12797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12799 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12800 echo $ECHO_N "(cached) $ECHO_C" >&6
12801 else
12802 if test -n "$ac_ct_CC"; then
12803 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12804 else
12805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12806 for as_dir in $PATH
12807 do
12808 IFS=$as_save_IFS
12809 test -z "$as_dir" && as_dir=.
12810 for ac_exec_ext in '' $ac_executable_extensions; do
12811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12812 ac_cv_prog_ac_ct_CC="gcc"
12813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12814 break 2
12815 fi
12816 done
12817 done
12818 IFS=$as_save_IFS
12819
12820 fi
12821 fi
12822 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12823 if test -n "$ac_ct_CC"; then
12824 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12825 echo "${ECHO_T}$ac_ct_CC" >&6; }
12826 else
12827 { echo "$as_me:$LINENO: result: no" >&5
12828 echo "${ECHO_T}no" >&6; }
12829 fi
12830
12831 if test "x$ac_ct_CC" = x; then
12832 CC=""
12833 else
12834 case $cross_compiling:$ac_tool_warned in
12835 yes:)
12836 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12837 whose name does not start with the host triplet. If you think this
12838 configuration is useful to you, please write to autoconf@gnu.org." >&5
12839 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12840 whose name does not start with the host triplet. If you think this
12841 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12842 ac_tool_warned=yes ;;
12843 esac
12844 CC=$ac_ct_CC
12845 fi
12846 else
12847 CC="$ac_cv_prog_CC"
12848 fi
12849
12850 if test -z "$CC"; then
12851 if test -n "$ac_tool_prefix"; then
12852 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12853 set dummy ${ac_tool_prefix}cc; ac_word=$2
12854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12856 if test "${ac_cv_prog_CC+set}" = set; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12858 else
12859 if test -n "$CC"; then
12860 ac_cv_prog_CC="$CC" # Let the user override the test.
12861 else
12862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12863 for as_dir in $PATH
12864 do
12865 IFS=$as_save_IFS
12866 test -z "$as_dir" && as_dir=.
12867 for ac_exec_ext in '' $ac_executable_extensions; do
12868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12869 ac_cv_prog_CC="${ac_tool_prefix}cc"
12870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12871 break 2
12872 fi
12873 done
12874 done
12875 IFS=$as_save_IFS
12876
12877 fi
12878 fi
12879 CC=$ac_cv_prog_CC
12880 if test -n "$CC"; then
12881 { echo "$as_me:$LINENO: result: $CC" >&5
12882 echo "${ECHO_T}$CC" >&6; }
12883 else
12884 { echo "$as_me:$LINENO: result: no" >&5
12885 echo "${ECHO_T}no" >&6; }
12886 fi
12887
12888
12889 fi
12890 fi
12891 if test -z "$CC"; then
12892 # Extract the first word of "cc", so it can be a program name with args.
12893 set dummy cc; ac_word=$2
12894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12896 if test "${ac_cv_prog_CC+set}" = set; then
12897 echo $ECHO_N "(cached) $ECHO_C" >&6
12898 else
12899 if test -n "$CC"; then
12900 ac_cv_prog_CC="$CC" # Let the user override the test.
12901 else
12902 ac_prog_rejected=no
12903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12904 for as_dir in $PATH
12905 do
12906 IFS=$as_save_IFS
12907 test -z "$as_dir" && as_dir=.
12908 for ac_exec_ext in '' $ac_executable_extensions; do
12909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12910 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12911 ac_prog_rejected=yes
12912 continue
12913 fi
12914 ac_cv_prog_CC="cc"
12915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12916 break 2
12917 fi
12918 done
12919 done
12920 IFS=$as_save_IFS
12921
12922 if test $ac_prog_rejected = yes; then
12923 # We found a bogon in the path, so make sure we never use it.
12924 set dummy $ac_cv_prog_CC
12925 shift
12926 if test $# != 0; then
12927 # We chose a different compiler from the bogus one.
12928 # However, it has the same basename, so the bogon will be chosen
12929 # first if we set CC to just the basename; use the full file name.
12930 shift
12931 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12932 fi
12933 fi
12934 fi
12935 fi
12936 CC=$ac_cv_prog_CC
12937 if test -n "$CC"; then
12938 { echo "$as_me:$LINENO: result: $CC" >&5
12939 echo "${ECHO_T}$CC" >&6; }
12940 else
12941 { echo "$as_me:$LINENO: result: no" >&5
12942 echo "${ECHO_T}no" >&6; }
12943 fi
12944
12945
12946 fi
12947 if test -z "$CC"; then
12948 if test -n "$ac_tool_prefix"; then
12949 for ac_prog in cl.exe
12950 do
12951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12952 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12955 if test "${ac_cv_prog_CC+set}" = set; then
12956 echo $ECHO_N "(cached) $ECHO_C" >&6
12957 else
12958 if test -n "$CC"; then
12959 ac_cv_prog_CC="$CC" # Let the user override the test.
12960 else
12961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12962 for as_dir in $PATH
12963 do
12964 IFS=$as_save_IFS
12965 test -z "$as_dir" && as_dir=.
12966 for ac_exec_ext in '' $ac_executable_extensions; do
12967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12968 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12970 break 2
12971 fi
12972 done
12973 done
12974 IFS=$as_save_IFS
12975
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 test -n "$CC" && break
12989 done
12990 fi
12991 if test -z "$CC"; then
12992 ac_ct_CC=$CC
12993 for ac_prog in cl.exe
12994 do
12995 # Extract the first word of "$ac_prog", so it can be a program name with args.
12996 set dummy $ac_prog; ac_word=$2
12997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 else
13002 if test -n "$ac_ct_CC"; then
13003 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13004 else
13005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006 for as_dir in $PATH
13007 do
13008 IFS=$as_save_IFS
13009 test -z "$as_dir" && as_dir=.
13010 for ac_exec_ext in '' $ac_executable_extensions; do
13011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13012 ac_cv_prog_ac_ct_CC="$ac_prog"
13013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13014 break 2
13015 fi
13016 done
13017 done
13018 IFS=$as_save_IFS
13019
13020 fi
13021 fi
13022 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13023 if test -n "$ac_ct_CC"; then
13024 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13025 echo "${ECHO_T}$ac_ct_CC" >&6; }
13026 else
13027 { echo "$as_me:$LINENO: result: no" >&5
13028 echo "${ECHO_T}no" >&6; }
13029 fi
13030
13031
13032 test -n "$ac_ct_CC" && break
13033 done
13034
13035 if test "x$ac_ct_CC" = x; then
13036 CC=""
13037 else
13038 case $cross_compiling:$ac_tool_warned in
13039 yes:)
13040 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13041 whose name does not start with the host triplet. If you think this
13042 configuration is useful to you, please write to autoconf@gnu.org." >&5
13043 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13044 whose name does not start with the host triplet. If you think this
13045 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13046 ac_tool_warned=yes ;;
13047 esac
13048 CC=$ac_ct_CC
13049 fi
13050 fi
13051
13052 fi
13053
13054
13055 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13056 See \`config.log' for more details." >&5
13057 echo "$as_me: error: no acceptable C compiler found in \$PATH
13058 See \`config.log' for more details." >&2;}
13059 { (exit 1); exit 1; }; }
13060
13061 # Provide some information about the compiler.
13062 echo "$as_me:$LINENO: checking for C compiler version" >&5
13063 ac_compiler=`set X $ac_compile; echo $2`
13064 { (ac_try="$ac_compiler --version >&5"
13065 case "(($ac_try" in
13066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13067 *) ac_try_echo=$ac_try;;
13068 esac
13069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13070 (eval "$ac_compiler --version >&5") 2>&5
13071 ac_status=$?
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); }
13074 { (ac_try="$ac_compiler -v >&5"
13075 case "(($ac_try" in
13076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13077 *) ac_try_echo=$ac_try;;
13078 esac
13079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13080 (eval "$ac_compiler -v >&5") 2>&5
13081 ac_status=$?
13082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083 (exit $ac_status); }
13084 { (ac_try="$ac_compiler -V >&5"
13085 case "(($ac_try" in
13086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13087 *) ac_try_echo=$ac_try;;
13088 esac
13089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13090 (eval "$ac_compiler -V >&5") 2>&5
13091 ac_status=$?
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }
13094
13095 cat >conftest.$ac_ext <<_ACEOF
13096 /* confdefs.h. */
13097 _ACEOF
13098 cat confdefs.h >>conftest.$ac_ext
13099 cat >>conftest.$ac_ext <<_ACEOF
13100 /* end confdefs.h. */
13101
13102 int
13103 main ()
13104 {
13105
13106 ;
13107 return 0;
13108 }
13109 _ACEOF
13110 ac_clean_files_save=$ac_clean_files
13111 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13112 # Try to create an executable without -o first, disregard a.out.
13113 # It will help us diagnose broken compilers, and finding out an intuition
13114 # of exeext.
13115 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13116 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13117 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13118 #
13119 # List of possible output files, starting from the most likely.
13120 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13121 # only as a last resort. b.out is created by i960 compilers.
13122 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13123 #
13124 # The IRIX 6 linker writes into existing files which may not be
13125 # executable, retaining their permissions. Remove them first so a
13126 # subsequent execution test works.
13127 ac_rmfiles=
13128 for ac_file in $ac_files
13129 do
13130 case $ac_file in
13131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13132 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13133 esac
13134 done
13135 rm -f $ac_rmfiles
13136
13137 if { (ac_try="$ac_link_default"
13138 case "(($ac_try" in
13139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13140 *) ac_try_echo=$ac_try;;
13141 esac
13142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13143 (eval "$ac_link_default") 2>&5
13144 ac_status=$?
13145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13146 (exit $ac_status); }; then
13147 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13148 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13149 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13150 # so that the user can short-circuit this test for compilers unknown to
13151 # Autoconf.
13152 for ac_file in $ac_files ''
13153 do
13154 test -f "$ac_file" || continue
13155 case $ac_file in
13156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13157 ;;
13158 [ab].out )
13159 # We found the default executable, but exeext='' is most
13160 # certainly right.
13161 break;;
13162 *.* )
13163 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13164 then :; else
13165 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13166 fi
13167 # We set ac_cv_exeext here because the later test for it is not
13168 # safe: cross compilers may not add the suffix if given an `-o'
13169 # argument, so we may need to know it at that point already.
13170 # Even if this section looks crufty: it has the advantage of
13171 # actually working.
13172 break;;
13173 * )
13174 break;;
13175 esac
13176 done
13177 test "$ac_cv_exeext" = no && ac_cv_exeext=
13178
13179 else
13180 ac_file=''
13181 fi
13182
13183 { echo "$as_me:$LINENO: result: $ac_file" >&5
13184 echo "${ECHO_T}$ac_file" >&6; }
13185 if test -z "$ac_file"; then
13186 echo "$as_me: failed program was:" >&5
13187 sed 's/^/| /' conftest.$ac_ext >&5
13188
13189 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13190 See \`config.log' for more details." >&5
13191 echo "$as_me: error: C compiler cannot create executables
13192 See \`config.log' for more details." >&2;}
13193 { (exit 77); exit 77; }; }
13194 fi
13195
13196 ac_exeext=$ac_cv_exeext
13197
13198 # Check that the compiler produces executables we can run. If not, either
13199 # the compiler is broken, or we cross compile.
13200 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13201 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13202 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13203 # If not cross compiling, check that we can run a simple program.
13204 if test "$cross_compiling" != yes; then
13205 if { ac_try='./$ac_file'
13206 { (case "(($ac_try" in
13207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13208 *) ac_try_echo=$ac_try;;
13209 esac
13210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13211 (eval "$ac_try") 2>&5
13212 ac_status=$?
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; }; then
13215 cross_compiling=no
13216 else
13217 if test "$cross_compiling" = maybe; then
13218 cross_compiling=yes
13219 else
13220 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13221 If you meant to cross compile, use \`--host'.
13222 See \`config.log' for more details." >&5
13223 echo "$as_me: error: cannot run C compiled programs.
13224 If you meant to cross compile, use \`--host'.
13225 See \`config.log' for more details." >&2;}
13226 { (exit 1); exit 1; }; }
13227 fi
13228 fi
13229 fi
13230 { echo "$as_me:$LINENO: result: yes" >&5
13231 echo "${ECHO_T}yes" >&6; }
13232
13233 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13234 ac_clean_files=$ac_clean_files_save
13235 # Check that the compiler produces executables we can run. If not, either
13236 # the compiler is broken, or we cross compile.
13237 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13238 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13239 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13240 echo "${ECHO_T}$cross_compiling" >&6; }
13241
13242 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13243 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13244 if { (ac_try="$ac_link"
13245 case "(($ac_try" in
13246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13247 *) ac_try_echo=$ac_try;;
13248 esac
13249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13250 (eval "$ac_link") 2>&5
13251 ac_status=$?
13252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13253 (exit $ac_status); }; then
13254 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13255 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13256 # work properly (i.e., refer to `conftest.exe'), while it won't with
13257 # `rm'.
13258 for ac_file in conftest.exe conftest conftest.*; do
13259 test -f "$ac_file" || continue
13260 case $ac_file in
13261 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13262 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13263 break;;
13264 * ) break;;
13265 esac
13266 done
13267 else
13268 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13269 See \`config.log' for more details." >&5
13270 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13271 See \`config.log' for more details." >&2;}
13272 { (exit 1); exit 1; }; }
13273 fi
13274
13275 rm -f conftest$ac_cv_exeext
13276 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13277 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13278
13279 rm -f conftest.$ac_ext
13280 EXEEXT=$ac_cv_exeext
13281 ac_exeext=$EXEEXT
13282 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13283 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13284 if test "${ac_cv_objext+set}" = set; then
13285 echo $ECHO_N "(cached) $ECHO_C" >&6
13286 else
13287 cat >conftest.$ac_ext <<_ACEOF
13288 /* confdefs.h. */
13289 _ACEOF
13290 cat confdefs.h >>conftest.$ac_ext
13291 cat >>conftest.$ac_ext <<_ACEOF
13292 /* end confdefs.h. */
13293
13294 int
13295 main ()
13296 {
13297
13298 ;
13299 return 0;
13300 }
13301 _ACEOF
13302 rm -f conftest.o conftest.obj
13303 if { (ac_try="$ac_compile"
13304 case "(($ac_try" in
13305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13306 *) ac_try_echo=$ac_try;;
13307 esac
13308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13309 (eval "$ac_compile") 2>&5
13310 ac_status=$?
13311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13312 (exit $ac_status); }; then
13313 for ac_file in conftest.o conftest.obj conftest.*; do
13314 test -f "$ac_file" || continue;
13315 case $ac_file in
13316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13318 break;;
13319 esac
13320 done
13321 else
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.$ac_ext >&5
13324
13325 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13326 See \`config.log' for more details." >&5
13327 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13328 See \`config.log' for more details." >&2;}
13329 { (exit 1); exit 1; }; }
13330 fi
13331
13332 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13333 fi
13334 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13335 echo "${ECHO_T}$ac_cv_objext" >&6; }
13336 OBJEXT=$ac_cv_objext
13337 ac_objext=$OBJEXT
13338 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13340 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13342 else
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349
13350 int
13351 main ()
13352 {
13353 #ifndef __GNUC__
13354 choke me
13355 #endif
13356
13357 ;
13358 return 0;
13359 }
13360 _ACEOF
13361 rm -f conftest.$ac_objext
13362 if { (ac_try="$ac_compile"
13363 case "(($ac_try" in
13364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13365 *) ac_try_echo=$ac_try;;
13366 esac
13367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13368 (eval "$ac_compile") 2>conftest.er1
13369 ac_status=$?
13370 grep -v '^ *+' conftest.er1 >conftest.err
13371 rm -f conftest.er1
13372 cat conftest.err >&5
13373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13374 (exit $ac_status); } && {
13375 test -z "$ac_c_werror_flag" ||
13376 test ! -s conftest.err
13377 } && test -s conftest.$ac_objext; then
13378 ac_compiler_gnu=yes
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13382
13383 ac_compiler_gnu=no
13384 fi
13385
13386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13387 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13388
13389 fi
13390 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13391 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13392 GCC=`test $ac_compiler_gnu = yes && echo yes`
13393 ac_test_CFLAGS=${CFLAGS+set}
13394 ac_save_CFLAGS=$CFLAGS
13395 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13396 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13397 if test "${ac_cv_prog_cc_g+set}" = set; then
13398 echo $ECHO_N "(cached) $ECHO_C" >&6
13399 else
13400 ac_save_c_werror_flag=$ac_c_werror_flag
13401 ac_c_werror_flag=yes
13402 ac_cv_prog_cc_g=no
13403 CFLAGS="-g"
13404 cat >conftest.$ac_ext <<_ACEOF
13405 /* confdefs.h. */
13406 _ACEOF
13407 cat confdefs.h >>conftest.$ac_ext
13408 cat >>conftest.$ac_ext <<_ACEOF
13409 /* end confdefs.h. */
13410
13411 int
13412 main ()
13413 {
13414
13415 ;
13416 return 0;
13417 }
13418 _ACEOF
13419 rm -f conftest.$ac_objext
13420 if { (ac_try="$ac_compile"
13421 case "(($ac_try" in
13422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13423 *) ac_try_echo=$ac_try;;
13424 esac
13425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13426 (eval "$ac_compile") 2>conftest.er1
13427 ac_status=$?
13428 grep -v '^ *+' conftest.er1 >conftest.err
13429 rm -f conftest.er1
13430 cat conftest.err >&5
13431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13432 (exit $ac_status); } && {
13433 test -z "$ac_c_werror_flag" ||
13434 test ! -s conftest.err
13435 } && test -s conftest.$ac_objext; then
13436 ac_cv_prog_cc_g=yes
13437 else
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.$ac_ext >&5
13440
13441 CFLAGS=""
13442 cat >conftest.$ac_ext <<_ACEOF
13443 /* confdefs.h. */
13444 _ACEOF
13445 cat confdefs.h >>conftest.$ac_ext
13446 cat >>conftest.$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448
13449 int
13450 main ()
13451 {
13452
13453 ;
13454 return 0;
13455 }
13456 _ACEOF
13457 rm -f conftest.$ac_objext
13458 if { (ac_try="$ac_compile"
13459 case "(($ac_try" in
13460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13461 *) ac_try_echo=$ac_try;;
13462 esac
13463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13464 (eval "$ac_compile") 2>conftest.er1
13465 ac_status=$?
13466 grep -v '^ *+' conftest.er1 >conftest.err
13467 rm -f conftest.er1
13468 cat conftest.err >&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } && {
13471 test -z "$ac_c_werror_flag" ||
13472 test ! -s conftest.err
13473 } && test -s conftest.$ac_objext; then
13474 :
13475 else
13476 echo "$as_me: failed program was:" >&5
13477 sed 's/^/| /' conftest.$ac_ext >&5
13478
13479 ac_c_werror_flag=$ac_save_c_werror_flag
13480 CFLAGS="-g"
13481 cat >conftest.$ac_ext <<_ACEOF
13482 /* confdefs.h. */
13483 _ACEOF
13484 cat confdefs.h >>conftest.$ac_ext
13485 cat >>conftest.$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13487
13488 int
13489 main ()
13490 {
13491
13492 ;
13493 return 0;
13494 }
13495 _ACEOF
13496 rm -f conftest.$ac_objext
13497 if { (ac_try="$ac_compile"
13498 case "(($ac_try" in
13499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13500 *) ac_try_echo=$ac_try;;
13501 esac
13502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13503 (eval "$ac_compile") 2>conftest.er1
13504 ac_status=$?
13505 grep -v '^ *+' conftest.er1 >conftest.err
13506 rm -f conftest.er1
13507 cat conftest.err >&5
13508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13509 (exit $ac_status); } && {
13510 test -z "$ac_c_werror_flag" ||
13511 test ! -s conftest.err
13512 } && test -s conftest.$ac_objext; then
13513 ac_cv_prog_cc_g=yes
13514 else
13515 echo "$as_me: failed program was:" >&5
13516 sed 's/^/| /' conftest.$ac_ext >&5
13517
13518
13519 fi
13520
13521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13522 fi
13523
13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525 fi
13526
13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13528 ac_c_werror_flag=$ac_save_c_werror_flag
13529 fi
13530 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13531 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13532 if test "$ac_test_CFLAGS" = set; then
13533 CFLAGS=$ac_save_CFLAGS
13534 elif test $ac_cv_prog_cc_g = yes; then
13535 if test "$GCC" = yes; then
13536 CFLAGS="-g -O2"
13537 else
13538 CFLAGS="-g"
13539 fi
13540 else
13541 if test "$GCC" = yes; then
13542 CFLAGS="-O2"
13543 else
13544 CFLAGS=
13545 fi
13546 fi
13547 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13548 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13549 if test "${ac_cv_prog_cc_c89+set}" = set; then
13550 echo $ECHO_N "(cached) $ECHO_C" >&6
13551 else
13552 ac_cv_prog_cc_c89=no
13553 ac_save_CC=$CC
13554 cat >conftest.$ac_ext <<_ACEOF
13555 /* confdefs.h. */
13556 _ACEOF
13557 cat confdefs.h >>conftest.$ac_ext
13558 cat >>conftest.$ac_ext <<_ACEOF
13559 /* end confdefs.h. */
13560 #include <stdarg.h>
13561 #include <stdio.h>
13562 #include <sys/types.h>
13563 #include <sys/stat.h>
13564 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13565 struct buf { int x; };
13566 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13567 static char *e (p, i)
13568 char **p;
13569 int i;
13570 {
13571 return p[i];
13572 }
13573 static char *f (char * (*g) (char **, int), char **p, ...)
13574 {
13575 char *s;
13576 va_list v;
13577 va_start (v,p);
13578 s = g (p, va_arg (v,int));
13579 va_end (v);
13580 return s;
13581 }
13582
13583 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13584 function prototypes and stuff, but not '\xHH' hex character constants.
13585 These don't provoke an error unfortunately, instead are silently treated
13586 as 'x'. The following induces an error, until -std is added to get
13587 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13588 array size at least. It's necessary to write '\x00'==0 to get something
13589 that's true only with -std. */
13590 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13591
13592 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13593 inside strings and character constants. */
13594 #define FOO(x) 'x'
13595 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13596
13597 int test (int i, double x);
13598 struct s1 {int (*f) (int a);};
13599 struct s2 {int (*f) (double a);};
13600 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13601 int argc;
13602 char **argv;
13603 int
13604 main ()
13605 {
13606 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13607 ;
13608 return 0;
13609 }
13610 _ACEOF
13611 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13612 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13613 do
13614 CC="$ac_save_CC $ac_arg"
13615 rm -f conftest.$ac_objext
13616 if { (ac_try="$ac_compile"
13617 case "(($ac_try" in
13618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13619 *) ac_try_echo=$ac_try;;
13620 esac
13621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13622 (eval "$ac_compile") 2>conftest.er1
13623 ac_status=$?
13624 grep -v '^ *+' conftest.er1 >conftest.err
13625 rm -f conftest.er1
13626 cat conftest.err >&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); } && {
13629 test -z "$ac_c_werror_flag" ||
13630 test ! -s conftest.err
13631 } && test -s conftest.$ac_objext; then
13632 ac_cv_prog_cc_c89=$ac_arg
13633 else
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13636
13637
13638 fi
13639
13640 rm -f core conftest.err conftest.$ac_objext
13641 test "x$ac_cv_prog_cc_c89" != "xno" && break
13642 done
13643 rm -f conftest.$ac_ext
13644 CC=$ac_save_CC
13645
13646 fi
13647 # AC_CACHE_VAL
13648 case "x$ac_cv_prog_cc_c89" in
13649 x)
13650 { echo "$as_me:$LINENO: result: none needed" >&5
13651 echo "${ECHO_T}none needed" >&6; } ;;
13652 xno)
13653 { echo "$as_me:$LINENO: result: unsupported" >&5
13654 echo "${ECHO_T}unsupported" >&6; } ;;
13655 *)
13656 CC="$CC $ac_cv_prog_cc_c89"
13657 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13658 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13659 esac
13660
13661
13662 ac_ext=c
13663 ac_cpp='$CPP $CPPFLAGS'
13664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13667
13668
13669
13670 ac_ext=c
13671 ac_cpp='$CPP $CPPFLAGS'
13672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13675
13676 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13677 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13678 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13679 echo $ECHO_N "(cached) $ECHO_C" >&6
13680 else
13681 cat >conftest.$ac_ext <<_ACEOF
13682 /* confdefs.h. */
13683 _ACEOF
13684 cat confdefs.h >>conftest.$ac_ext
13685 cat >>conftest.$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13687
13688 int
13689 main ()
13690 {
13691
13692 #ifndef __INTEL_COMPILER
13693 choke me
13694 #endif
13695
13696 ;
13697 return 0;
13698 }
13699 _ACEOF
13700 rm -f conftest.$ac_objext
13701 if { (ac_try="$ac_compile"
13702 case "(($ac_try" in
13703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13704 *) ac_try_echo=$ac_try;;
13705 esac
13706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13707 (eval "$ac_compile") 2>conftest.er1
13708 ac_status=$?
13709 grep -v '^ *+' conftest.er1 >conftest.err
13710 rm -f conftest.er1
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } && {
13714 test -z "$ac_c_werror_flag" ||
13715 test ! -s conftest.err
13716 } && test -s conftest.$ac_objext; then
13717 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13718 else
13719 echo "$as_me: failed program was:" >&5
13720 sed 's/^/| /' conftest.$ac_ext >&5
13721
13722 bakefile_cv_c_compiler___INTEL_COMPILER=no
13723
13724 fi
13725
13726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13727
13728
13729 fi
13730 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13731 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13732 ac_ext=c
13733 ac_cpp='$CPP $CPPFLAGS'
13734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13737
13738 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13739 :; INTELCC=yes
13740 else
13741 :;
13742 fi
13743
13744
13745 if test "x$GCC" != "xyes"; then
13746 if test "xCC" = "xC"; then
13747 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13748 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13749 if test "${bakefile_cv_c_exto+set}" = set; then
13750 echo $ECHO_N "(cached) $ECHO_C" >&6
13751 else
13752 cat >conftest.$ac_ext <<_ACEOF
13753 /* confdefs.h. */
13754 _ACEOF
13755 cat confdefs.h >>conftest.$ac_ext
13756 cat >>conftest.$ac_ext <<_ACEOF
13757 /* end confdefs.h. */
13758
13759 int
13760 main ()
13761 {
13762
13763 ;
13764 return 0;
13765 }
13766 _ACEOF
13767 rm -f conftest.$ac_objext conftest.$ac_ext.o
13768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13769 (eval $ac_compile) 2>&5
13770 ac_status=$?
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; then
13773 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13774 case $ac_file in
13775 conftest.$ac_ext.o)
13776 bakefile_cv_c_exto="-ext o"
13777 ;;
13778 *)
13779 ;;
13780 esac
13781 done
13782 else
13783 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13784 See \`config.log' for more details." >&5
13785 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13786 See \`config.log' for more details." >&2;}
13787 { (exit 1); exit 1; }; }
13788
13789 fi
13790
13791 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13792
13793 fi
13794 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13795 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13796 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13797 if test "c" = "c"; then
13798 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13799 fi
13800 if test "c" = "cxx"; then
13801 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13802 fi
13803 fi
13804
13805 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13806 unset ac_cv_prog_cc_g
13807 ac_test_CFLAGS=${CFLAGS+set}
13808 ac_save_CFLAGS=$CFLAGS
13809 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13810 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13811 if test "${ac_cv_prog_cc_g+set}" = set; then
13812 echo $ECHO_N "(cached) $ECHO_C" >&6
13813 else
13814 ac_save_c_werror_flag=$ac_c_werror_flag
13815 ac_c_werror_flag=yes
13816 ac_cv_prog_cc_g=no
13817 CFLAGS="-g"
13818 cat >conftest.$ac_ext <<_ACEOF
13819 /* confdefs.h. */
13820 _ACEOF
13821 cat confdefs.h >>conftest.$ac_ext
13822 cat >>conftest.$ac_ext <<_ACEOF
13823 /* end confdefs.h. */
13824
13825 int
13826 main ()
13827 {
13828
13829 ;
13830 return 0;
13831 }
13832 _ACEOF
13833 rm -f conftest.$ac_objext
13834 if { (ac_try="$ac_compile"
13835 case "(($ac_try" in
13836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13837 *) ac_try_echo=$ac_try;;
13838 esac
13839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13840 (eval "$ac_compile") 2>conftest.er1
13841 ac_status=$?
13842 grep -v '^ *+' conftest.er1 >conftest.err
13843 rm -f conftest.er1
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); } && {
13847 test -z "$ac_c_werror_flag" ||
13848 test ! -s conftest.err
13849 } && test -s conftest.$ac_objext; then
13850 ac_cv_prog_cc_g=yes
13851 else
13852 echo "$as_me: failed program was:" >&5
13853 sed 's/^/| /' conftest.$ac_ext >&5
13854
13855 CFLAGS=""
13856 cat >conftest.$ac_ext <<_ACEOF
13857 /* confdefs.h. */
13858 _ACEOF
13859 cat confdefs.h >>conftest.$ac_ext
13860 cat >>conftest.$ac_ext <<_ACEOF
13861 /* end confdefs.h. */
13862
13863 int
13864 main ()
13865 {
13866
13867 ;
13868 return 0;
13869 }
13870 _ACEOF
13871 rm -f conftest.$ac_objext
13872 if { (ac_try="$ac_compile"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13876 esac
13877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_compile") 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest.$ac_objext; then
13888 :
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 ac_c_werror_flag=$ac_save_c_werror_flag
13894 CFLAGS="-g"
13895 cat >conftest.$ac_ext <<_ACEOF
13896 /* confdefs.h. */
13897 _ACEOF
13898 cat confdefs.h >>conftest.$ac_ext
13899 cat >>conftest.$ac_ext <<_ACEOF
13900 /* end confdefs.h. */
13901
13902 int
13903 main ()
13904 {
13905
13906 ;
13907 return 0;
13908 }
13909 _ACEOF
13910 rm -f conftest.$ac_objext
13911 if { (ac_try="$ac_compile"
13912 case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13915 esac
13916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13917 (eval "$ac_compile") 2>conftest.er1
13918 ac_status=$?
13919 grep -v '^ *+' conftest.er1 >conftest.err
13920 rm -f conftest.er1
13921 cat conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } && {
13924 test -z "$ac_c_werror_flag" ||
13925 test ! -s conftest.err
13926 } && test -s conftest.$ac_objext; then
13927 ac_cv_prog_cc_g=yes
13928 else
13929 echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13931
13932
13933 fi
13934
13935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13936 fi
13937
13938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13939 fi
13940
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942 ac_c_werror_flag=$ac_save_c_werror_flag
13943 fi
13944 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13945 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13946 if test "$ac_test_CFLAGS" = set; then
13947 CFLAGS=$ac_save_CFLAGS
13948 elif test $ac_cv_prog_cc_g = yes; then
13949 if test "$GCC" = yes; then
13950 CFLAGS="-g -O2"
13951 else
13952 CFLAGS="-g"
13953 fi
13954 else
13955 if test "$GCC" = yes; then
13956 CFLAGS="-O2"
13957 else
13958 CFLAGS=
13959 fi
13960 fi
13961 fi
13962 fi
13963
13964 case `uname -s` in
13965 AIX*)
13966 ac_ext=c
13967 ac_cpp='$CPP $CPPFLAGS'
13968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13971
13972 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13973 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
13974 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13975 echo $ECHO_N "(cached) $ECHO_C" >&6
13976 else
13977 cat >conftest.$ac_ext <<_ACEOF
13978 /* confdefs.h. */
13979 _ACEOF
13980 cat confdefs.h >>conftest.$ac_ext
13981 cat >>conftest.$ac_ext <<_ACEOF
13982 /* end confdefs.h. */
13983
13984 int
13985 main ()
13986 {
13987 #ifndef __xlC__
13988 choke me
13989 #endif
13990
13991 ;
13992 return 0;
13993 }
13994 _ACEOF
13995 rm -f conftest.$ac_objext
13996 if { (ac_try="$ac_compile"
13997 case "(($ac_try" in
13998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13999 *) ac_try_echo=$ac_try;;
14000 esac
14001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14002 (eval "$ac_compile") 2>conftest.er1
14003 ac_status=$?
14004 grep -v '^ *+' conftest.er1 >conftest.err
14005 rm -f conftest.er1
14006 cat conftest.err >&5
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); } && {
14009 test -z "$ac_c_werror_flag" ||
14010 test ! -s conftest.err
14011 } && test -s conftest.$ac_objext; then
14012 bakefile_compiler_xlc=yes
14013 else
14014 echo "$as_me: failed program was:" >&5
14015 sed 's/^/| /' conftest.$ac_ext >&5
14016
14017 bakefile_compiler_xlc=no
14018 fi
14019
14020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14021 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14022
14023 fi
14024 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14025 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14026
14027 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14028 ac_ext=c
14029 ac_cpp='$CPP $CPPFLAGS'
14030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14033
14034
14035 ;;
14036
14037 Darwin)
14038 ac_ext=c
14039 ac_cpp='$CPP $CPPFLAGS'
14040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14043
14044 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14045 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14046 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14047 echo $ECHO_N "(cached) $ECHO_C" >&6
14048 else
14049 cat >conftest.$ac_ext <<_ACEOF
14050 /* confdefs.h. */
14051 _ACEOF
14052 cat confdefs.h >>conftest.$ac_ext
14053 cat >>conftest.$ac_ext <<_ACEOF
14054 /* end confdefs.h. */
14055
14056 int
14057 main ()
14058 {
14059 #ifndef __MWERKS__
14060 choke me
14061 #endif
14062
14063 ;
14064 return 0;
14065 }
14066 _ACEOF
14067 rm -f conftest.$ac_objext
14068 if { (ac_try="$ac_compile"
14069 case "(($ac_try" in
14070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14071 *) ac_try_echo=$ac_try;;
14072 esac
14073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14074 (eval "$ac_compile") 2>conftest.er1
14075 ac_status=$?
14076 grep -v '^ *+' conftest.er1 >conftest.err
14077 rm -f conftest.er1
14078 cat conftest.err >&5
14079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14080 (exit $ac_status); } && {
14081 test -z "$ac_c_werror_flag" ||
14082 test ! -s conftest.err
14083 } && test -s conftest.$ac_objext; then
14084 bakefile_compiler_mwerks=yes
14085 else
14086 echo "$as_me: failed program was:" >&5
14087 sed 's/^/| /' conftest.$ac_ext >&5
14088
14089 bakefile_compiler_mwerks=no
14090 fi
14091
14092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14093 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14094
14095 fi
14096 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14097 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14098
14099 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14100 ac_ext=c
14101 ac_cpp='$CPP $CPPFLAGS'
14102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14105
14106
14107 ac_ext=c
14108 ac_cpp='$CPP $CPPFLAGS'
14109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14112
14113 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14114 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14115 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14116 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 else
14118 cat >conftest.$ac_ext <<_ACEOF
14119 /* confdefs.h. */
14120 _ACEOF
14121 cat confdefs.h >>conftest.$ac_ext
14122 cat >>conftest.$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124
14125 int
14126 main ()
14127 {
14128 #ifndef __xlC__
14129 choke me
14130 #endif
14131
14132 ;
14133 return 0;
14134 }
14135 _ACEOF
14136 rm -f conftest.$ac_objext
14137 if { (ac_try="$ac_compile"
14138 case "(($ac_try" in
14139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14140 *) ac_try_echo=$ac_try;;
14141 esac
14142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14143 (eval "$ac_compile") 2>conftest.er1
14144 ac_status=$?
14145 grep -v '^ *+' conftest.er1 >conftest.err
14146 rm -f conftest.er1
14147 cat conftest.err >&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } && {
14150 test -z "$ac_c_werror_flag" ||
14151 test ! -s conftest.err
14152 } && test -s conftest.$ac_objext; then
14153 bakefile_compiler_xlc=yes
14154 else
14155 echo "$as_me: failed program was:" >&5
14156 sed 's/^/| /' conftest.$ac_ext >&5
14157
14158 bakefile_compiler_xlc=no
14159 fi
14160
14161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14162 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14163
14164 fi
14165 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14166 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14167
14168 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14169 ac_ext=c
14170 ac_cpp='$CPP $CPPFLAGS'
14171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14174
14175
14176 ;;
14177
14178 IRIX*)
14179
14180
14181 ac_ext=c
14182 ac_cpp='$CPP $CPPFLAGS'
14183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14186
14187 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14188 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14189 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14190 echo $ECHO_N "(cached) $ECHO_C" >&6
14191 else
14192 cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h. */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198
14199 int
14200 main ()
14201 {
14202
14203 #ifndef _SGI_COMPILER_VERSION
14204 choke me
14205 #endif
14206
14207 ;
14208 return 0;
14209 }
14210 _ACEOF
14211 rm -f conftest.$ac_objext
14212 if { (ac_try="$ac_compile"
14213 case "(($ac_try" in
14214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14215 *) ac_try_echo=$ac_try;;
14216 esac
14217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14218 (eval "$ac_compile") 2>conftest.er1
14219 ac_status=$?
14220 grep -v '^ *+' conftest.er1 >conftest.err
14221 rm -f conftest.er1
14222 cat conftest.err >&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); } && {
14225 test -z "$ac_c_werror_flag" ||
14226 test ! -s conftest.err
14227 } && test -s conftest.$ac_objext; then
14228 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14229 else
14230 echo "$as_me: failed program was:" >&5
14231 sed 's/^/| /' conftest.$ac_ext >&5
14232
14233 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14234
14235 fi
14236
14237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14238
14239
14240 fi
14241 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14242 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14243 ac_ext=c
14244 ac_cpp='$CPP $CPPFLAGS'
14245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14248
14249 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14250 :; SGICC=yes
14251 else
14252 :;
14253 fi
14254
14255
14256 ;;
14257
14258 HP-UX*)
14259
14260
14261 ac_ext=c
14262 ac_cpp='$CPP $CPPFLAGS'
14263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14266
14267 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14268 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14269 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14270 echo $ECHO_N "(cached) $ECHO_C" >&6
14271 else
14272 cat >conftest.$ac_ext <<_ACEOF
14273 /* confdefs.h. */
14274 _ACEOF
14275 cat confdefs.h >>conftest.$ac_ext
14276 cat >>conftest.$ac_ext <<_ACEOF
14277 /* end confdefs.h. */
14278
14279 int
14280 main ()
14281 {
14282
14283 #ifndef __HP_cc
14284 choke me
14285 #endif
14286
14287 ;
14288 return 0;
14289 }
14290 _ACEOF
14291 rm -f conftest.$ac_objext
14292 if { (ac_try="$ac_compile"
14293 case "(($ac_try" in
14294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14295 *) ac_try_echo=$ac_try;;
14296 esac
14297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14298 (eval "$ac_compile") 2>conftest.er1
14299 ac_status=$?
14300 grep -v '^ *+' conftest.er1 >conftest.err
14301 rm -f conftest.er1
14302 cat conftest.err >&5
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); } && {
14305 test -z "$ac_c_werror_flag" ||
14306 test ! -s conftest.err
14307 } && test -s conftest.$ac_objext; then
14308 bakefile_cv_c_compiler___HP_cc=yes
14309 else
14310 echo "$as_me: failed program was:" >&5
14311 sed 's/^/| /' conftest.$ac_ext >&5
14312
14313 bakefile_cv_c_compiler___HP_cc=no
14314
14315 fi
14316
14317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14318
14319
14320 fi
14321 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14322 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14323 ac_ext=c
14324 ac_cpp='$CPP $CPPFLAGS'
14325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14328
14329 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14330 :; HPCC=yes
14331 else
14332 :;
14333 fi
14334
14335
14336 ;;
14337
14338 OSF1)
14339
14340
14341 ac_ext=c
14342 ac_cpp='$CPP $CPPFLAGS'
14343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14346
14347 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14348 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14349 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14350 echo $ECHO_N "(cached) $ECHO_C" >&6
14351 else
14352 cat >conftest.$ac_ext <<_ACEOF
14353 /* confdefs.h. */
14354 _ACEOF
14355 cat confdefs.h >>conftest.$ac_ext
14356 cat >>conftest.$ac_ext <<_ACEOF
14357 /* end confdefs.h. */
14358
14359 int
14360 main ()
14361 {
14362
14363 #ifndef __DECC
14364 choke me
14365 #endif
14366
14367 ;
14368 return 0;
14369 }
14370 _ACEOF
14371 rm -f conftest.$ac_objext
14372 if { (ac_try="$ac_compile"
14373 case "(($ac_try" in
14374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14375 *) ac_try_echo=$ac_try;;
14376 esac
14377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14378 (eval "$ac_compile") 2>conftest.er1
14379 ac_status=$?
14380 grep -v '^ *+' conftest.er1 >conftest.err
14381 rm -f conftest.er1
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } && {
14385 test -z "$ac_c_werror_flag" ||
14386 test ! -s conftest.err
14387 } && test -s conftest.$ac_objext; then
14388 bakefile_cv_c_compiler___DECC=yes
14389 else
14390 echo "$as_me: failed program was:" >&5
14391 sed 's/^/| /' conftest.$ac_ext >&5
14392
14393 bakefile_cv_c_compiler___DECC=no
14394
14395 fi
14396
14397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14398
14399
14400 fi
14401 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14402 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14403 ac_ext=c
14404 ac_cpp='$CPP $CPPFLAGS'
14405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14408
14409 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14410 :; COMPAQCC=yes
14411 else
14412 :;
14413 fi
14414
14415
14416 ;;
14417
14418 SunOS)
14419
14420
14421 ac_ext=c
14422 ac_cpp='$CPP $CPPFLAGS'
14423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14426
14427 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14428 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14429 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14430 echo $ECHO_N "(cached) $ECHO_C" >&6
14431 else
14432 cat >conftest.$ac_ext <<_ACEOF
14433 /* confdefs.h. */
14434 _ACEOF
14435 cat confdefs.h >>conftest.$ac_ext
14436 cat >>conftest.$ac_ext <<_ACEOF
14437 /* end confdefs.h. */
14438
14439 int
14440 main ()
14441 {
14442
14443 #ifndef __SUNPRO_C
14444 choke me
14445 #endif
14446
14447 ;
14448 return 0;
14449 }
14450 _ACEOF
14451 rm -f conftest.$ac_objext
14452 if { (ac_try="$ac_compile"
14453 case "(($ac_try" in
14454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14455 *) ac_try_echo=$ac_try;;
14456 esac
14457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14458 (eval "$ac_compile") 2>conftest.er1
14459 ac_status=$?
14460 grep -v '^ *+' conftest.er1 >conftest.err
14461 rm -f conftest.er1
14462 cat conftest.err >&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); } && {
14465 test -z "$ac_c_werror_flag" ||
14466 test ! -s conftest.err
14467 } && test -s conftest.$ac_objext; then
14468 bakefile_cv_c_compiler___SUNPRO_C=yes
14469 else
14470 echo "$as_me: failed program was:" >&5
14471 sed 's/^/| /' conftest.$ac_ext >&5
14472
14473 bakefile_cv_c_compiler___SUNPRO_C=no
14474
14475 fi
14476
14477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14478
14479
14480 fi
14481 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14482 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14483 ac_ext=c
14484 ac_cpp='$CPP $CPPFLAGS'
14485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14488
14489 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14490 :; SUNCC=yes
14491 else
14492 :;
14493 fi
14494
14495
14496 ;;
14497 esac
14498 fi
14499
14500
14501
14502 ac_ext=c
14503 ac_cpp='$CPP $CPPFLAGS'
14504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14507 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14508 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14509 # On Suns, sometimes $CPP names a directory.
14510 if test -n "$CPP" && test -d "$CPP"; then
14511 CPP=
14512 fi
14513 if test -z "$CPP"; then
14514 if test "${ac_cv_prog_CPP+set}" = set; then
14515 echo $ECHO_N "(cached) $ECHO_C" >&6
14516 else
14517 # Double quotes because CPP needs to be expanded
14518 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14519 do
14520 ac_preproc_ok=false
14521 for ac_c_preproc_warn_flag in '' yes
14522 do
14523 # Use a header file that comes with gcc, so configuring glibc
14524 # with a fresh cross-compiler works.
14525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14526 # <limits.h> exists even on freestanding compilers.
14527 # On the NeXT, cc -E runs the code through the compiler's parser,
14528 # not just through cpp. "Syntax error" is here to catch this case.
14529 cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h. */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 #ifdef __STDC__
14536 # include <limits.h>
14537 #else
14538 # include <assert.h>
14539 #endif
14540 Syntax error
14541 _ACEOF
14542 if { (ac_try="$ac_cpp conftest.$ac_ext"
14543 case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14546 esac
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14549 ac_status=$?
14550 grep -v '^ *+' conftest.er1 >conftest.err
14551 rm -f conftest.er1
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } >/dev/null && {
14555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14556 test ! -s conftest.err
14557 }; then
14558 :
14559 else
14560 echo "$as_me: failed program was:" >&5
14561 sed 's/^/| /' conftest.$ac_ext >&5
14562
14563 # Broken: fails on valid input.
14564 continue
14565 fi
14566
14567 rm -f conftest.err conftest.$ac_ext
14568
14569 # OK, works on sane cases. Now check whether nonexistent headers
14570 # can be detected and how.
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 #include <ac_nonexistent.h>
14578 _ACEOF
14579 if { (ac_try="$ac_cpp conftest.$ac_ext"
14580 case "(($ac_try" in
14581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14582 *) ac_try_echo=$ac_try;;
14583 esac
14584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14585 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14586 ac_status=$?
14587 grep -v '^ *+' conftest.er1 >conftest.err
14588 rm -f conftest.er1
14589 cat conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 (exit $ac_status); } >/dev/null && {
14592 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14593 test ! -s conftest.err
14594 }; then
14595 # Broken: success on invalid input.
14596 continue
14597 else
14598 echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14600
14601 # Passes both tests.
14602 ac_preproc_ok=:
14603 break
14604 fi
14605
14606 rm -f conftest.err conftest.$ac_ext
14607
14608 done
14609 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14610 rm -f conftest.err conftest.$ac_ext
14611 if $ac_preproc_ok; then
14612 break
14613 fi
14614
14615 done
14616 ac_cv_prog_CPP=$CPP
14617
14618 fi
14619 CPP=$ac_cv_prog_CPP
14620 else
14621 ac_cv_prog_CPP=$CPP
14622 fi
14623 { echo "$as_me:$LINENO: result: $CPP" >&5
14624 echo "${ECHO_T}$CPP" >&6; }
14625 ac_preproc_ok=false
14626 for ac_c_preproc_warn_flag in '' yes
14627 do
14628 # Use a header file that comes with gcc, so configuring glibc
14629 # with a fresh cross-compiler works.
14630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14631 # <limits.h> exists even on freestanding compilers.
14632 # On the NeXT, cc -E runs the code through the compiler's parser,
14633 # not just through cpp. "Syntax error" is here to catch this case.
14634 cat >conftest.$ac_ext <<_ACEOF
14635 /* confdefs.h. */
14636 _ACEOF
14637 cat confdefs.h >>conftest.$ac_ext
14638 cat >>conftest.$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14640 #ifdef __STDC__
14641 # include <limits.h>
14642 #else
14643 # include <assert.h>
14644 #endif
14645 Syntax error
14646 _ACEOF
14647 if { (ac_try="$ac_cpp conftest.$ac_ext"
14648 case "(($ac_try" in
14649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14650 *) ac_try_echo=$ac_try;;
14651 esac
14652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14654 ac_status=$?
14655 grep -v '^ *+' conftest.er1 >conftest.err
14656 rm -f conftest.er1
14657 cat conftest.err >&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); } >/dev/null && {
14660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14661 test ! -s conftest.err
14662 }; then
14663 :
14664 else
14665 echo "$as_me: failed program was:" >&5
14666 sed 's/^/| /' conftest.$ac_ext >&5
14667
14668 # Broken: fails on valid input.
14669 continue
14670 fi
14671
14672 rm -f conftest.err conftest.$ac_ext
14673
14674 # OK, works on sane cases. Now check whether nonexistent headers
14675 # can be detected and how.
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 #include <ac_nonexistent.h>
14683 _ACEOF
14684 if { (ac_try="$ac_cpp conftest.$ac_ext"
14685 case "(($ac_try" in
14686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14687 *) ac_try_echo=$ac_try;;
14688 esac
14689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14690 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14691 ac_status=$?
14692 grep -v '^ *+' conftest.er1 >conftest.err
14693 rm -f conftest.er1
14694 cat conftest.err >&5
14695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696 (exit $ac_status); } >/dev/null && {
14697 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14698 test ! -s conftest.err
14699 }; then
14700 # Broken: success on invalid input.
14701 continue
14702 else
14703 echo "$as_me: failed program was:" >&5
14704 sed 's/^/| /' conftest.$ac_ext >&5
14705
14706 # Passes both tests.
14707 ac_preproc_ok=:
14708 break
14709 fi
14710
14711 rm -f conftest.err conftest.$ac_ext
14712
14713 done
14714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14715 rm -f conftest.err conftest.$ac_ext
14716 if $ac_preproc_ok; then
14717 :
14718 else
14719 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14720 See \`config.log' for more details." >&5
14721 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14722 See \`config.log' for more details." >&2;}
14723 { (exit 1); exit 1; }; }
14724 fi
14725
14726 ac_ext=c
14727 ac_cpp='$CPP $CPPFLAGS'
14728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14731
14732
14733 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14734 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14735 if test "${ac_cv_path_GREP+set}" = set; then
14736 echo $ECHO_N "(cached) $ECHO_C" >&6
14737 else
14738 # Extract the first word of "grep ggrep" to use in msg output
14739 if test -z "$GREP"; then
14740 set dummy grep ggrep; ac_prog_name=$2
14741 if test "${ac_cv_path_GREP+set}" = set; then
14742 echo $ECHO_N "(cached) $ECHO_C" >&6
14743 else
14744 ac_path_GREP_found=false
14745 # Loop through the user's path and test for each of PROGNAME-LIST
14746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14748 do
14749 IFS=$as_save_IFS
14750 test -z "$as_dir" && as_dir=.
14751 for ac_prog in grep ggrep; do
14752 for ac_exec_ext in '' $ac_executable_extensions; do
14753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14755 # Check for GNU ac_path_GREP and select it if it is found.
14756 # Check for GNU $ac_path_GREP
14757 case `"$ac_path_GREP" --version 2>&1` in
14758 *GNU*)
14759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14760 *)
14761 ac_count=0
14762 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14763 while :
14764 do
14765 cat "conftest.in" "conftest.in" >"conftest.tmp"
14766 mv "conftest.tmp" "conftest.in"
14767 cp "conftest.in" "conftest.nl"
14768 echo 'GREP' >> "conftest.nl"
14769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14771 ac_count=`expr $ac_count + 1`
14772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14773 # Best one so far, save it but keep looking for a better one
14774 ac_cv_path_GREP="$ac_path_GREP"
14775 ac_path_GREP_max=$ac_count
14776 fi
14777 # 10*(2^10) chars as input seems more than enough
14778 test $ac_count -gt 10 && break
14779 done
14780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14781 esac
14782
14783
14784 $ac_path_GREP_found && break 3
14785 done
14786 done
14787
14788 done
14789 IFS=$as_save_IFS
14790
14791
14792 fi
14793
14794 GREP="$ac_cv_path_GREP"
14795 if test -z "$GREP"; then
14796 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14797 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14798 { (exit 1); exit 1; }; }
14799 fi
14800
14801 else
14802 ac_cv_path_GREP=$GREP
14803 fi
14804
14805
14806 fi
14807 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14808 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14809 GREP="$ac_cv_path_GREP"
14810
14811
14812 { echo "$as_me:$LINENO: checking for egrep" >&5
14813 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14814 if test "${ac_cv_path_EGREP+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 else
14817 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14818 then ac_cv_path_EGREP="$GREP -E"
14819 else
14820 # Extract the first word of "egrep" to use in msg output
14821 if test -z "$EGREP"; then
14822 set dummy egrep; ac_prog_name=$2
14823 if test "${ac_cv_path_EGREP+set}" = set; then
14824 echo $ECHO_N "(cached) $ECHO_C" >&6
14825 else
14826 ac_path_EGREP_found=false
14827 # Loop through the user's path and test for each of PROGNAME-LIST
14828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14830 do
14831 IFS=$as_save_IFS
14832 test -z "$as_dir" && as_dir=.
14833 for ac_prog in egrep; do
14834 for ac_exec_ext in '' $ac_executable_extensions; do
14835 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14836 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14837 # Check for GNU ac_path_EGREP and select it if it is found.
14838 # Check for GNU $ac_path_EGREP
14839 case `"$ac_path_EGREP" --version 2>&1` in
14840 *GNU*)
14841 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14842 *)
14843 ac_count=0
14844 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14845 while :
14846 do
14847 cat "conftest.in" "conftest.in" >"conftest.tmp"
14848 mv "conftest.tmp" "conftest.in"
14849 cp "conftest.in" "conftest.nl"
14850 echo 'EGREP' >> "conftest.nl"
14851 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14853 ac_count=`expr $ac_count + 1`
14854 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14855 # Best one so far, save it but keep looking for a better one
14856 ac_cv_path_EGREP="$ac_path_EGREP"
14857 ac_path_EGREP_max=$ac_count
14858 fi
14859 # 10*(2^10) chars as input seems more than enough
14860 test $ac_count -gt 10 && break
14861 done
14862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14863 esac
14864
14865
14866 $ac_path_EGREP_found && break 3
14867 done
14868 done
14869
14870 done
14871 IFS=$as_save_IFS
14872
14873
14874 fi
14875
14876 EGREP="$ac_cv_path_EGREP"
14877 if test -z "$EGREP"; then
14878 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14879 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14880 { (exit 1); exit 1; }; }
14881 fi
14882
14883 else
14884 ac_cv_path_EGREP=$EGREP
14885 fi
14886
14887
14888 fi
14889 fi
14890 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14891 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14892 EGREP="$ac_cv_path_EGREP"
14893
14894
14895 if test $ac_cv_c_compiler_gnu = yes; then
14896 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14897 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14898 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14900 else
14901 ac_pattern="Autoconf.*'x'"
14902 cat >conftest.$ac_ext <<_ACEOF
14903 /* confdefs.h. */
14904 _ACEOF
14905 cat confdefs.h >>conftest.$ac_ext
14906 cat >>conftest.$ac_ext <<_ACEOF
14907 /* end confdefs.h. */
14908 #include <sgtty.h>
14909 Autoconf TIOCGETP
14910 _ACEOF
14911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14912 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14913 ac_cv_prog_gcc_traditional=yes
14914 else
14915 ac_cv_prog_gcc_traditional=no
14916 fi
14917 rm -f conftest*
14918
14919
14920 if test $ac_cv_prog_gcc_traditional = no; then
14921 cat >conftest.$ac_ext <<_ACEOF
14922 /* confdefs.h. */
14923 _ACEOF
14924 cat confdefs.h >>conftest.$ac_ext
14925 cat >>conftest.$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 #include <termio.h>
14928 Autoconf TCGETA
14929 _ACEOF
14930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14931 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14932 ac_cv_prog_gcc_traditional=yes
14933 fi
14934 rm -f conftest*
14935
14936 fi
14937 fi
14938 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14939 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14940 if test $ac_cv_prog_gcc_traditional = yes; then
14941 CC="$CC -traditional"
14942 fi
14943 fi
14944
14945
14946 CXXFLAGS=${CXXFLAGS:=}
14947
14948
14949
14950 ac_ext=cpp
14951 ac_cpp='$CXXCPP $CPPFLAGS'
14952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14955 if test -z "$CXX"; then
14956 if test -n "$CCC"; then
14957 CXX=$CCC
14958 else
14959 if test -n "$ac_tool_prefix"; then
14960 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14961 do
14962 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14963 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14964 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14966 if test "${ac_cv_prog_CXX+set}" = set; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 else
14969 if test -n "$CXX"; then
14970 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14971 else
14972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14973 for as_dir in $PATH
14974 do
14975 IFS=$as_save_IFS
14976 test -z "$as_dir" && as_dir=.
14977 for ac_exec_ext in '' $ac_executable_extensions; do
14978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14979 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14981 break 2
14982 fi
14983 done
14984 done
14985 IFS=$as_save_IFS
14986
14987 fi
14988 fi
14989 CXX=$ac_cv_prog_CXX
14990 if test -n "$CXX"; then
14991 { echo "$as_me:$LINENO: result: $CXX" >&5
14992 echo "${ECHO_T}$CXX" >&6; }
14993 else
14994 { echo "$as_me:$LINENO: result: no" >&5
14995 echo "${ECHO_T}no" >&6; }
14996 fi
14997
14998
14999 test -n "$CXX" && break
15000 done
15001 fi
15002 if test -z "$CXX"; then
15003 ac_ct_CXX=$CXX
15004 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15005 do
15006 # Extract the first word of "$ac_prog", so it can be a program name with args.
15007 set dummy $ac_prog; ac_word=$2
15008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15010 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15011 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 else
15013 if test -n "$ac_ct_CXX"; then
15014 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15015 else
15016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15017 for as_dir in $PATH
15018 do
15019 IFS=$as_save_IFS
15020 test -z "$as_dir" && as_dir=.
15021 for ac_exec_ext in '' $ac_executable_extensions; do
15022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15023 ac_cv_prog_ac_ct_CXX="$ac_prog"
15024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15025 break 2
15026 fi
15027 done
15028 done
15029 IFS=$as_save_IFS
15030
15031 fi
15032 fi
15033 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15034 if test -n "$ac_ct_CXX"; then
15035 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15036 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15037 else
15038 { echo "$as_me:$LINENO: result: no" >&5
15039 echo "${ECHO_T}no" >&6; }
15040 fi
15041
15042
15043 test -n "$ac_ct_CXX" && break
15044 done
15045
15046 if test "x$ac_ct_CXX" = x; then
15047 CXX="g++"
15048 else
15049 case $cross_compiling:$ac_tool_warned in
15050 yes:)
15051 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15052 whose name does not start with the host triplet. If you think this
15053 configuration is useful to you, please write to autoconf@gnu.org." >&5
15054 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15055 whose name does not start with the host triplet. If you think this
15056 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15057 ac_tool_warned=yes ;;
15058 esac
15059 CXX=$ac_ct_CXX
15060 fi
15061 fi
15062
15063 fi
15064 fi
15065 # Provide some information about the compiler.
15066 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15067 ac_compiler=`set X $ac_compile; echo $2`
15068 { (ac_try="$ac_compiler --version >&5"
15069 case "(($ac_try" in
15070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15071 *) ac_try_echo=$ac_try;;
15072 esac
15073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15074 (eval "$ac_compiler --version >&5") 2>&5
15075 ac_status=$?
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }
15078 { (ac_try="$ac_compiler -v >&5"
15079 case "(($ac_try" in
15080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15081 *) ac_try_echo=$ac_try;;
15082 esac
15083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15084 (eval "$ac_compiler -v >&5") 2>&5
15085 ac_status=$?
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }
15088 { (ac_try="$ac_compiler -V >&5"
15089 case "(($ac_try" in
15090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15091 *) ac_try_echo=$ac_try;;
15092 esac
15093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15094 (eval "$ac_compiler -V >&5") 2>&5
15095 ac_status=$?
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }
15098
15099 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15100 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15101 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15102 echo $ECHO_N "(cached) $ECHO_C" >&6
15103 else
15104 cat >conftest.$ac_ext <<_ACEOF
15105 /* confdefs.h. */
15106 _ACEOF
15107 cat confdefs.h >>conftest.$ac_ext
15108 cat >>conftest.$ac_ext <<_ACEOF
15109 /* end confdefs.h. */
15110
15111 int
15112 main ()
15113 {
15114 #ifndef __GNUC__
15115 choke me
15116 #endif
15117
15118 ;
15119 return 0;
15120 }
15121 _ACEOF
15122 rm -f conftest.$ac_objext
15123 if { (ac_try="$ac_compile"
15124 case "(($ac_try" in
15125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15126 *) ac_try_echo=$ac_try;;
15127 esac
15128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15129 (eval "$ac_compile") 2>conftest.er1
15130 ac_status=$?
15131 grep -v '^ *+' conftest.er1 >conftest.err
15132 rm -f conftest.er1
15133 cat conftest.err >&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); } && {
15136 test -z "$ac_cxx_werror_flag" ||
15137 test ! -s conftest.err
15138 } && test -s conftest.$ac_objext; then
15139 ac_compiler_gnu=yes
15140 else
15141 echo "$as_me: failed program was:" >&5
15142 sed 's/^/| /' conftest.$ac_ext >&5
15143
15144 ac_compiler_gnu=no
15145 fi
15146
15147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15148 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15149
15150 fi
15151 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15152 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15153 GXX=`test $ac_compiler_gnu = yes && echo yes`
15154 ac_test_CXXFLAGS=${CXXFLAGS+set}
15155 ac_save_CXXFLAGS=$CXXFLAGS
15156 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15157 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15158 if test "${ac_cv_prog_cxx_g+set}" = set; then
15159 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 else
15161 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15162 ac_cxx_werror_flag=yes
15163 ac_cv_prog_cxx_g=no
15164 CXXFLAGS="-g"
15165 cat >conftest.$ac_ext <<_ACEOF
15166 /* confdefs.h. */
15167 _ACEOF
15168 cat confdefs.h >>conftest.$ac_ext
15169 cat >>conftest.$ac_ext <<_ACEOF
15170 /* end confdefs.h. */
15171
15172 int
15173 main ()
15174 {
15175
15176 ;
15177 return 0;
15178 }
15179 _ACEOF
15180 rm -f conftest.$ac_objext
15181 if { (ac_try="$ac_compile"
15182 case "(($ac_try" in
15183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15184 *) ac_try_echo=$ac_try;;
15185 esac
15186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15187 (eval "$ac_compile") 2>conftest.er1
15188 ac_status=$?
15189 grep -v '^ *+' conftest.er1 >conftest.err
15190 rm -f conftest.er1
15191 cat conftest.err >&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); } && {
15194 test -z "$ac_cxx_werror_flag" ||
15195 test ! -s conftest.err
15196 } && test -s conftest.$ac_objext; then
15197 ac_cv_prog_cxx_g=yes
15198 else
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.$ac_ext >&5
15201
15202 CXXFLAGS=""
15203 cat >conftest.$ac_ext <<_ACEOF
15204 /* confdefs.h. */
15205 _ACEOF
15206 cat confdefs.h >>conftest.$ac_ext
15207 cat >>conftest.$ac_ext <<_ACEOF
15208 /* end confdefs.h. */
15209
15210 int
15211 main ()
15212 {
15213
15214 ;
15215 return 0;
15216 }
15217 _ACEOF
15218 rm -f conftest.$ac_objext
15219 if { (ac_try="$ac_compile"
15220 case "(($ac_try" in
15221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15222 *) ac_try_echo=$ac_try;;
15223 esac
15224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15225 (eval "$ac_compile") 2>conftest.er1
15226 ac_status=$?
15227 grep -v '^ *+' conftest.er1 >conftest.err
15228 rm -f conftest.er1
15229 cat conftest.err >&5
15230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15231 (exit $ac_status); } && {
15232 test -z "$ac_cxx_werror_flag" ||
15233 test ! -s conftest.err
15234 } && test -s conftest.$ac_objext; then
15235 :
15236 else
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.$ac_ext >&5
15239
15240 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15241 CXXFLAGS="-g"
15242 cat >conftest.$ac_ext <<_ACEOF
15243 /* confdefs.h. */
15244 _ACEOF
15245 cat confdefs.h >>conftest.$ac_ext
15246 cat >>conftest.$ac_ext <<_ACEOF
15247 /* end confdefs.h. */
15248
15249 int
15250 main ()
15251 {
15252
15253 ;
15254 return 0;
15255 }
15256 _ACEOF
15257 rm -f conftest.$ac_objext
15258 if { (ac_try="$ac_compile"
15259 case "(($ac_try" in
15260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15261 *) ac_try_echo=$ac_try;;
15262 esac
15263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15264 (eval "$ac_compile") 2>conftest.er1
15265 ac_status=$?
15266 grep -v '^ *+' conftest.er1 >conftest.err
15267 rm -f conftest.er1
15268 cat conftest.err >&5
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); } && {
15271 test -z "$ac_cxx_werror_flag" ||
15272 test ! -s conftest.err
15273 } && test -s conftest.$ac_objext; then
15274 ac_cv_prog_cxx_g=yes
15275 else
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.$ac_ext >&5
15278
15279
15280 fi
15281
15282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15283 fi
15284
15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15286 fi
15287
15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15290 fi
15291 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15292 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15293 if test "$ac_test_CXXFLAGS" = set; then
15294 CXXFLAGS=$ac_save_CXXFLAGS
15295 elif test $ac_cv_prog_cxx_g = yes; then
15296 if test "$GXX" = yes; then
15297 CXXFLAGS="-g -O2"
15298 else
15299 CXXFLAGS="-g"
15300 fi
15301 else
15302 if test "$GXX" = yes; then
15303 CXXFLAGS="-O2"
15304 else
15305 CXXFLAGS=
15306 fi
15307 fi
15308 ac_ext=c
15309 ac_cpp='$CPP $CPPFLAGS'
15310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15313
15314
15315
15316 ac_ext=cpp
15317 ac_cpp='$CXXCPP $CPPFLAGS'
15318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15321
15322 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15323 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15324 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 else
15327 cat >conftest.$ac_ext <<_ACEOF
15328 /* confdefs.h. */
15329 _ACEOF
15330 cat confdefs.h >>conftest.$ac_ext
15331 cat >>conftest.$ac_ext <<_ACEOF
15332 /* end confdefs.h. */
15333
15334 int
15335 main ()
15336 {
15337
15338 #ifndef __INTEL_COMPILER
15339 choke me
15340 #endif
15341
15342 ;
15343 return 0;
15344 }
15345 _ACEOF
15346 rm -f conftest.$ac_objext
15347 if { (ac_try="$ac_compile"
15348 case "(($ac_try" in
15349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15350 *) ac_try_echo=$ac_try;;
15351 esac
15352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15353 (eval "$ac_compile") 2>conftest.er1
15354 ac_status=$?
15355 grep -v '^ *+' conftest.er1 >conftest.err
15356 rm -f conftest.er1
15357 cat conftest.err >&5
15358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15359 (exit $ac_status); } && {
15360 test -z "$ac_cxx_werror_flag" ||
15361 test ! -s conftest.err
15362 } && test -s conftest.$ac_objext; then
15363 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15364 else
15365 echo "$as_me: failed program was:" >&5
15366 sed 's/^/| /' conftest.$ac_ext >&5
15367
15368 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15369
15370 fi
15371
15372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15373
15374
15375 fi
15376 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15377 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15378 ac_ext=c
15379 ac_cpp='$CPP $CPPFLAGS'
15380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15383
15384 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15385 :; INTELCXX=yes
15386 else
15387 :;
15388 fi
15389
15390
15391 if test "x$GCXX" != "xyes"; then
15392 if test "xCXX" = "xC"; then
15393 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15394 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15395 if test "${bakefile_cv_c_exto+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 else
15398 cat >conftest.$ac_ext <<_ACEOF
15399 /* confdefs.h. */
15400 _ACEOF
15401 cat confdefs.h >>conftest.$ac_ext
15402 cat >>conftest.$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15404
15405 int
15406 main ()
15407 {
15408
15409 ;
15410 return 0;
15411 }
15412 _ACEOF
15413 rm -f conftest.$ac_objext conftest.$ac_ext.o
15414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15415 (eval $ac_compile) 2>&5
15416 ac_status=$?
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; then
15419 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15420 case $ac_file in
15421 conftest.$ac_ext.o)
15422 bakefile_cv_c_exto="-ext o"
15423 ;;
15424 *)
15425 ;;
15426 esac
15427 done
15428 else
15429 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15430 See \`config.log' for more details." >&5
15431 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15432 See \`config.log' for more details." >&2;}
15433 { (exit 1); exit 1; }; }
15434
15435 fi
15436
15437 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15438
15439 fi
15440 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15441 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15442 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15443 if test "c" = "c"; then
15444 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15445 fi
15446 if test "c" = "cxx"; then
15447 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15448 fi
15449 fi
15450
15451 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15452 unset ac_cv_prog_cc_g
15453 ac_test_CFLAGS=${CFLAGS+set}
15454 ac_save_CFLAGS=$CFLAGS
15455 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15456 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15457 if test "${ac_cv_prog_cc_g+set}" = set; then
15458 echo $ECHO_N "(cached) $ECHO_C" >&6
15459 else
15460 ac_save_c_werror_flag=$ac_c_werror_flag
15461 ac_c_werror_flag=yes
15462 ac_cv_prog_cc_g=no
15463 CFLAGS="-g"
15464 cat >conftest.$ac_ext <<_ACEOF
15465 /* confdefs.h. */
15466 _ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470
15471 int
15472 main ()
15473 {
15474
15475 ;
15476 return 0;
15477 }
15478 _ACEOF
15479 rm -f conftest.$ac_objext
15480 if { (ac_try="$ac_compile"
15481 case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15483 *) ac_try_echo=$ac_try;;
15484 esac
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_compile") 2>conftest.er1
15487 ac_status=$?
15488 grep -v '^ *+' conftest.er1 >conftest.err
15489 rm -f conftest.er1
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } && {
15493 test -z "$ac_c_werror_flag" ||
15494 test ! -s conftest.err
15495 } && test -s conftest.$ac_objext; then
15496 ac_cv_prog_cc_g=yes
15497 else
15498 echo "$as_me: failed program was:" >&5
15499 sed 's/^/| /' conftest.$ac_ext >&5
15500
15501 CFLAGS=""
15502 cat >conftest.$ac_ext <<_ACEOF
15503 /* confdefs.h. */
15504 _ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15508
15509 int
15510 main ()
15511 {
15512
15513 ;
15514 return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15521 *) ac_try_echo=$ac_try;;
15522 esac
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_c_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.$ac_objext; then
15534 :
15535 else
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539 ac_c_werror_flag=$ac_save_c_werror_flag
15540 CFLAGS="-g"
15541 cat >conftest.$ac_ext <<_ACEOF
15542 /* confdefs.h. */
15543 _ACEOF
15544 cat confdefs.h >>conftest.$ac_ext
15545 cat >>conftest.$ac_ext <<_ACEOF
15546 /* end confdefs.h. */
15547
15548 int
15549 main ()
15550 {
15551
15552 ;
15553 return 0;
15554 }
15555 _ACEOF
15556 rm -f conftest.$ac_objext
15557 if { (ac_try="$ac_compile"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15561 esac
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_compile") 2>conftest.er1
15564 ac_status=$?
15565 grep -v '^ *+' conftest.er1 >conftest.err
15566 rm -f conftest.er1
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } && {
15570 test -z "$ac_c_werror_flag" ||
15571 test ! -s conftest.err
15572 } && test -s conftest.$ac_objext; then
15573 ac_cv_prog_cc_g=yes
15574 else
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15577
15578
15579 fi
15580
15581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15582 fi
15583
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15585 fi
15586
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588 ac_c_werror_flag=$ac_save_c_werror_flag
15589 fi
15590 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15591 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15592 if test "$ac_test_CFLAGS" = set; then
15593 CFLAGS=$ac_save_CFLAGS
15594 elif test $ac_cv_prog_cc_g = yes; then
15595 if test "$GCC" = yes; then
15596 CFLAGS="-g -O2"
15597 else
15598 CFLAGS="-g"
15599 fi
15600 else
15601 if test "$GCC" = yes; then
15602 CFLAGS="-O2"
15603 else
15604 CFLAGS=
15605 fi
15606 fi
15607 fi
15608 fi
15609
15610 case `uname -s` in
15611 AIX*)
15612 ac_ext=cpp
15613 ac_cpp='$CXXCPP $CPPFLAGS'
15614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15617
15618 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15619 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15620 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15621 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 else
15623 cat >conftest.$ac_ext <<_ACEOF
15624 /* confdefs.h. */
15625 _ACEOF
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h. */
15629
15630 int
15631 main ()
15632 {
15633 #ifndef __xlC__
15634 choke me
15635 #endif
15636
15637 ;
15638 return 0;
15639 }
15640 _ACEOF
15641 rm -f conftest.$ac_objext
15642 if { (ac_try="$ac_compile"
15643 case "(($ac_try" in
15644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15645 *) ac_try_echo=$ac_try;;
15646 esac
15647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15648 (eval "$ac_compile") 2>conftest.er1
15649 ac_status=$?
15650 grep -v '^ *+' conftest.er1 >conftest.err
15651 rm -f conftest.er1
15652 cat conftest.err >&5
15653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15654 (exit $ac_status); } && {
15655 test -z "$ac_cxx_werror_flag" ||
15656 test ! -s conftest.err
15657 } && test -s conftest.$ac_objext; then
15658 bakefile_compiler_xlc=yes
15659 else
15660 echo "$as_me: failed program was:" >&5
15661 sed 's/^/| /' conftest.$ac_ext >&5
15662
15663 bakefile_compiler_xlc=no
15664 fi
15665
15666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15667 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15668
15669 fi
15670 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15671 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15672
15673 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15674 ac_ext=c
15675 ac_cpp='$CPP $CPPFLAGS'
15676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15679
15680
15681 ;;
15682
15683 Darwin)
15684 ac_ext=cpp
15685 ac_cpp='$CXXCPP $CPPFLAGS'
15686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15689
15690 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15691 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15692 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15693 echo $ECHO_N "(cached) $ECHO_C" >&6
15694 else
15695 cat >conftest.$ac_ext <<_ACEOF
15696 /* confdefs.h. */
15697 _ACEOF
15698 cat confdefs.h >>conftest.$ac_ext
15699 cat >>conftest.$ac_ext <<_ACEOF
15700 /* end confdefs.h. */
15701
15702 int
15703 main ()
15704 {
15705 #ifndef __MWERKS__
15706 choke me
15707 #endif
15708
15709 ;
15710 return 0;
15711 }
15712 _ACEOF
15713 rm -f conftest.$ac_objext
15714 if { (ac_try="$ac_compile"
15715 case "(($ac_try" in
15716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15717 *) ac_try_echo=$ac_try;;
15718 esac
15719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15720 (eval "$ac_compile") 2>conftest.er1
15721 ac_status=$?
15722 grep -v '^ *+' conftest.er1 >conftest.err
15723 rm -f conftest.er1
15724 cat conftest.err >&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } && {
15727 test -z "$ac_cxx_werror_flag" ||
15728 test ! -s conftest.err
15729 } && test -s conftest.$ac_objext; then
15730 bakefile_compiler_mwerks=yes
15731 else
15732 echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.$ac_ext >&5
15734
15735 bakefile_compiler_mwerks=no
15736 fi
15737
15738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15739 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15740
15741 fi
15742 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15743 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15744
15745 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15746 ac_ext=c
15747 ac_cpp='$CPP $CPPFLAGS'
15748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15751
15752
15753 ac_ext=cpp
15754 ac_cpp='$CXXCPP $CPPFLAGS'
15755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15758
15759 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15760 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15761 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15762 echo $ECHO_N "(cached) $ECHO_C" >&6
15763 else
15764 cat >conftest.$ac_ext <<_ACEOF
15765 /* confdefs.h. */
15766 _ACEOF
15767 cat confdefs.h >>conftest.$ac_ext
15768 cat >>conftest.$ac_ext <<_ACEOF
15769 /* end confdefs.h. */
15770
15771 int
15772 main ()
15773 {
15774 #ifndef __xlC__
15775 choke me
15776 #endif
15777
15778 ;
15779 return 0;
15780 }
15781 _ACEOF
15782 rm -f conftest.$ac_objext
15783 if { (ac_try="$ac_compile"
15784 case "(($ac_try" in
15785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15786 *) ac_try_echo=$ac_try;;
15787 esac
15788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15789 (eval "$ac_compile") 2>conftest.er1
15790 ac_status=$?
15791 grep -v '^ *+' conftest.er1 >conftest.err
15792 rm -f conftest.er1
15793 cat conftest.err >&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } && {
15796 test -z "$ac_cxx_werror_flag" ||
15797 test ! -s conftest.err
15798 } && test -s conftest.$ac_objext; then
15799 bakefile_compiler_xlc=yes
15800 else
15801 echo "$as_me: failed program was:" >&5
15802 sed 's/^/| /' conftest.$ac_ext >&5
15803
15804 bakefile_compiler_xlc=no
15805 fi
15806
15807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15808 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15809
15810 fi
15811 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15812 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15813
15814 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15815 ac_ext=c
15816 ac_cpp='$CPP $CPPFLAGS'
15817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15820
15821
15822 ;;
15823
15824 IRIX*)
15825
15826
15827 ac_ext=cpp
15828 ac_cpp='$CXXCPP $CPPFLAGS'
15829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15832
15833 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15834 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15835 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15836 echo $ECHO_N "(cached) $ECHO_C" >&6
15837 else
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844
15845 int
15846 main ()
15847 {
15848
15849 #ifndef _SGI_COMPILER_VERSION
15850 choke me
15851 #endif
15852
15853 ;
15854 return 0;
15855 }
15856 _ACEOF
15857 rm -f conftest.$ac_objext
15858 if { (ac_try="$ac_compile"
15859 case "(($ac_try" in
15860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15861 *) ac_try_echo=$ac_try;;
15862 esac
15863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15864 (eval "$ac_compile") 2>conftest.er1
15865 ac_status=$?
15866 grep -v '^ *+' conftest.er1 >conftest.err
15867 rm -f conftest.er1
15868 cat conftest.err >&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); } && {
15871 test -z "$ac_cxx_werror_flag" ||
15872 test ! -s conftest.err
15873 } && test -s conftest.$ac_objext; then
15874 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15875 else
15876 echo "$as_me: failed program was:" >&5
15877 sed 's/^/| /' conftest.$ac_ext >&5
15878
15879 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15880
15881 fi
15882
15883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15884
15885
15886 fi
15887 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15888 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15889 ac_ext=c
15890 ac_cpp='$CPP $CPPFLAGS'
15891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15894
15895 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15896 :; SGICXX=yes
15897 else
15898 :;
15899 fi
15900
15901
15902 ;;
15903
15904 HP-UX*)
15905
15906
15907 ac_ext=cpp
15908 ac_cpp='$CXXCPP $CPPFLAGS'
15909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15912
15913 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15914 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15915 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15916 echo $ECHO_N "(cached) $ECHO_C" >&6
15917 else
15918 cat >conftest.$ac_ext <<_ACEOF
15919 /* confdefs.h. */
15920 _ACEOF
15921 cat confdefs.h >>conftest.$ac_ext
15922 cat >>conftest.$ac_ext <<_ACEOF
15923 /* end confdefs.h. */
15924
15925 int
15926 main ()
15927 {
15928
15929 #ifndef __HP_aCC
15930 choke me
15931 #endif
15932
15933 ;
15934 return 0;
15935 }
15936 _ACEOF
15937 rm -f conftest.$ac_objext
15938 if { (ac_try="$ac_compile"
15939 case "(($ac_try" in
15940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15941 *) ac_try_echo=$ac_try;;
15942 esac
15943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15944 (eval "$ac_compile") 2>conftest.er1
15945 ac_status=$?
15946 grep -v '^ *+' conftest.er1 >conftest.err
15947 rm -f conftest.er1
15948 cat conftest.err >&5
15949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15950 (exit $ac_status); } && {
15951 test -z "$ac_cxx_werror_flag" ||
15952 test ! -s conftest.err
15953 } && test -s conftest.$ac_objext; then
15954 bakefile_cv_cxx_compiler___HP_aCC=yes
15955 else
15956 echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15958
15959 bakefile_cv_cxx_compiler___HP_aCC=no
15960
15961 fi
15962
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964
15965
15966 fi
15967 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15968 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
15969 ac_ext=c
15970 ac_cpp='$CPP $CPPFLAGS'
15971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15974
15975 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15976 :; HPCXX=yes
15977 else
15978 :;
15979 fi
15980
15981
15982 ;;
15983
15984 OSF1)
15985
15986
15987 ac_ext=cpp
15988 ac_cpp='$CXXCPP $CPPFLAGS'
15989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15992
15993 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15994 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
15995 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15996 echo $ECHO_N "(cached) $ECHO_C" >&6
15997 else
15998 cat >conftest.$ac_ext <<_ACEOF
15999 /* confdefs.h. */
16000 _ACEOF
16001 cat confdefs.h >>conftest.$ac_ext
16002 cat >>conftest.$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16004
16005 int
16006 main ()
16007 {
16008
16009 #ifndef __DECCXX
16010 choke me
16011 #endif
16012
16013 ;
16014 return 0;
16015 }
16016 _ACEOF
16017 rm -f conftest.$ac_objext
16018 if { (ac_try="$ac_compile"
16019 case "(($ac_try" in
16020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16021 *) ac_try_echo=$ac_try;;
16022 esac
16023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16024 (eval "$ac_compile") 2>conftest.er1
16025 ac_status=$?
16026 grep -v '^ *+' conftest.er1 >conftest.err
16027 rm -f conftest.er1
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } && {
16031 test -z "$ac_cxx_werror_flag" ||
16032 test ! -s conftest.err
16033 } && test -s conftest.$ac_objext; then
16034 bakefile_cv_cxx_compiler___DECCXX=yes
16035 else
16036 echo "$as_me: failed program was:" >&5
16037 sed 's/^/| /' conftest.$ac_ext >&5
16038
16039 bakefile_cv_cxx_compiler___DECCXX=no
16040
16041 fi
16042
16043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16044
16045
16046 fi
16047 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16048 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16049 ac_ext=c
16050 ac_cpp='$CPP $CPPFLAGS'
16051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16054
16055 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16056 :; COMPAQCXX=yes
16057 else
16058 :;
16059 fi
16060
16061
16062 ;;
16063
16064 SunOS)
16065
16066
16067 ac_ext=cpp
16068 ac_cpp='$CXXCPP $CPPFLAGS'
16069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16072
16073 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16074 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16075 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16076 echo $ECHO_N "(cached) $ECHO_C" >&6
16077 else
16078 cat >conftest.$ac_ext <<_ACEOF
16079 /* confdefs.h. */
16080 _ACEOF
16081 cat confdefs.h >>conftest.$ac_ext
16082 cat >>conftest.$ac_ext <<_ACEOF
16083 /* end confdefs.h. */
16084
16085 int
16086 main ()
16087 {
16088
16089 #ifndef __SUNPRO_CC
16090 choke me
16091 #endif
16092
16093 ;
16094 return 0;
16095 }
16096 _ACEOF
16097 rm -f conftest.$ac_objext
16098 if { (ac_try="$ac_compile"
16099 case "(($ac_try" in
16100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16101 *) ac_try_echo=$ac_try;;
16102 esac
16103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16104 (eval "$ac_compile") 2>conftest.er1
16105 ac_status=$?
16106 grep -v '^ *+' conftest.er1 >conftest.err
16107 rm -f conftest.er1
16108 cat conftest.err >&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); } && {
16111 test -z "$ac_cxx_werror_flag" ||
16112 test ! -s conftest.err
16113 } && test -s conftest.$ac_objext; then
16114 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16115 else
16116 echo "$as_me: failed program was:" >&5
16117 sed 's/^/| /' conftest.$ac_ext >&5
16118
16119 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16120
16121 fi
16122
16123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16124
16125
16126 fi
16127 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16128 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16129 ac_ext=c
16130 ac_cpp='$CPP $CPPFLAGS'
16131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16134
16135 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16136 :; SUNCXX=yes
16137 else
16138 :;
16139 fi
16140
16141
16142 ;;
16143 esac
16144 fi
16145
16146
16147
16148 if test -n "$ac_tool_prefix"; then
16149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16150 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16151 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16153 if test "${ac_cv_prog_RANLIB+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16155 else
16156 if test -n "$RANLIB"; then
16157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16158 else
16159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16160 for as_dir in $PATH
16161 do
16162 IFS=$as_save_IFS
16163 test -z "$as_dir" && as_dir=.
16164 for ac_exec_ext in '' $ac_executable_extensions; do
16165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16166 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16168 break 2
16169 fi
16170 done
16171 done
16172 IFS=$as_save_IFS
16173
16174 fi
16175 fi
16176 RANLIB=$ac_cv_prog_RANLIB
16177 if test -n "$RANLIB"; then
16178 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16179 echo "${ECHO_T}$RANLIB" >&6; }
16180 else
16181 { echo "$as_me:$LINENO: result: no" >&5
16182 echo "${ECHO_T}no" >&6; }
16183 fi
16184
16185
16186 fi
16187 if test -z "$ac_cv_prog_RANLIB"; then
16188 ac_ct_RANLIB=$RANLIB
16189 # Extract the first word of "ranlib", so it can be a program name with args.
16190 set dummy ranlib; ac_word=$2
16191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16193 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16194 echo $ECHO_N "(cached) $ECHO_C" >&6
16195 else
16196 if test -n "$ac_ct_RANLIB"; then
16197 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16198 else
16199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16200 for as_dir in $PATH
16201 do
16202 IFS=$as_save_IFS
16203 test -z "$as_dir" && as_dir=.
16204 for ac_exec_ext in '' $ac_executable_extensions; do
16205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16206 ac_cv_prog_ac_ct_RANLIB="ranlib"
16207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16208 break 2
16209 fi
16210 done
16211 done
16212 IFS=$as_save_IFS
16213
16214 fi
16215 fi
16216 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16217 if test -n "$ac_ct_RANLIB"; then
16218 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16219 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16220 else
16221 { echo "$as_me:$LINENO: result: no" >&5
16222 echo "${ECHO_T}no" >&6; }
16223 fi
16224
16225 if test "x$ac_ct_RANLIB" = x; then
16226 RANLIB=":"
16227 else
16228 case $cross_compiling:$ac_tool_warned in
16229 yes:)
16230 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16231 whose name does not start with the host triplet. If you think this
16232 configuration is useful to you, please write to autoconf@gnu.org." >&5
16233 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16234 whose name does not start with the host triplet. If you think this
16235 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16236 ac_tool_warned=yes ;;
16237 esac
16238 RANLIB=$ac_ct_RANLIB
16239 fi
16240 else
16241 RANLIB="$ac_cv_prog_RANLIB"
16242 fi
16243
16244
16245 if test "x$SUNCXX" != xyes; then
16246 if test -n "$ac_tool_prefix"; then
16247 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16248 set dummy ${ac_tool_prefix}ar; ac_word=$2
16249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16251 if test "${ac_cv_prog_AR+set}" = set; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16253 else
16254 if test -n "$AR"; then
16255 ac_cv_prog_AR="$AR" # Let the user override the test.
16256 else
16257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16258 for as_dir in $PATH
16259 do
16260 IFS=$as_save_IFS
16261 test -z "$as_dir" && as_dir=.
16262 for ac_exec_ext in '' $ac_executable_extensions; do
16263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16264 ac_cv_prog_AR="${ac_tool_prefix}ar"
16265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16266 break 2
16267 fi
16268 done
16269 done
16270 IFS=$as_save_IFS
16271
16272 fi
16273 fi
16274 AR=$ac_cv_prog_AR
16275 if test -n "$AR"; then
16276 { echo "$as_me:$LINENO: result: $AR" >&5
16277 echo "${ECHO_T}$AR" >&6; }
16278 else
16279 { echo "$as_me:$LINENO: result: no" >&5
16280 echo "${ECHO_T}no" >&6; }
16281 fi
16282
16283
16284 fi
16285 if test -z "$ac_cv_prog_AR"; then
16286 ac_ct_AR=$AR
16287 # Extract the first word of "ar", so it can be a program name with args.
16288 set dummy ar; ac_word=$2
16289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16291 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16292 echo $ECHO_N "(cached) $ECHO_C" >&6
16293 else
16294 if test -n "$ac_ct_AR"; then
16295 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16296 else
16297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16298 for as_dir in $PATH
16299 do
16300 IFS=$as_save_IFS
16301 test -z "$as_dir" && as_dir=.
16302 for ac_exec_ext in '' $ac_executable_extensions; do
16303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16304 ac_cv_prog_ac_ct_AR="ar"
16305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16306 break 2
16307 fi
16308 done
16309 done
16310 IFS=$as_save_IFS
16311
16312 fi
16313 fi
16314 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16315 if test -n "$ac_ct_AR"; then
16316 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16317 echo "${ECHO_T}$ac_ct_AR" >&6; }
16318 else
16319 { echo "$as_me:$LINENO: result: no" >&5
16320 echo "${ECHO_T}no" >&6; }
16321 fi
16322
16323 if test "x$ac_ct_AR" = x; then
16324 AR=""
16325 else
16326 case $cross_compiling:$ac_tool_warned in
16327 yes:)
16328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16329 whose name does not start with the host triplet. If you think this
16330 configuration is useful to you, please write to autoconf@gnu.org." >&5
16331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16332 whose name does not start with the host triplet. If you think this
16333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16334 ac_tool_warned=yes ;;
16335 esac
16336 AR=$ac_ct_AR
16337 fi
16338 else
16339 AR="$ac_cv_prog_AR"
16340 fi
16341
16342 if test "x$AR" = "x" ; then
16343 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16344 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16345 { (exit 1); exit 1; }; }
16346 fi
16347 fi
16348
16349 # Find a good install program. We prefer a C program (faster),
16350 # so one script is as good as another. But avoid the broken or
16351 # incompatible versions:
16352 # SysV /etc/install, /usr/sbin/install
16353 # SunOS /usr/etc/install
16354 # IRIX /sbin/install
16355 # AIX /bin/install
16356 # AmigaOS /C/install, which installs bootblocks on floppy discs
16357 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16358 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16359 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16360 # OS/2's system install, which has a completely different semantic
16361 # ./install, which can be erroneously created by make from ./install.sh.
16362 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16363 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16364 if test -z "$INSTALL"; then
16365 if test "${ac_cv_path_install+set}" = set; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16369 for as_dir in $PATH
16370 do
16371 IFS=$as_save_IFS
16372 test -z "$as_dir" && as_dir=.
16373 # Account for people who put trailing slashes in PATH elements.
16374 case $as_dir/ in
16375 ./ | .// | /cC/* | \
16376 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16377 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16378 /usr/ucb/* ) ;;
16379 *)
16380 # OSF1 and SCO ODT 3.0 have their own names for install.
16381 # Don't use installbsd from OSF since it installs stuff as root
16382 # by default.
16383 for ac_prog in ginstall scoinst install; do
16384 for ac_exec_ext in '' $ac_executable_extensions; do
16385 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16386 if test $ac_prog = install &&
16387 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16388 # AIX install. It has an incompatible calling convention.
16389 :
16390 elif test $ac_prog = install &&
16391 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16392 # program-specific install script used by HP pwplus--don't use.
16393 :
16394 else
16395 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16396 break 3
16397 fi
16398 fi
16399 done
16400 done
16401 ;;
16402 esac
16403 done
16404 IFS=$as_save_IFS
16405
16406
16407 fi
16408 if test "${ac_cv_path_install+set}" = set; then
16409 INSTALL=$ac_cv_path_install
16410 else
16411 # As a last resort, use the slow shell script. Don't cache a
16412 # value for INSTALL within a source directory, because that will
16413 # break other packages using the cache if that directory is
16414 # removed, or if the value is a relative name.
16415 INSTALL=$ac_install_sh
16416 fi
16417 fi
16418 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16419 echo "${ECHO_T}$INSTALL" >&6; }
16420
16421 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16422 # It thinks the first close brace ends the variable substitution.
16423 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16424
16425 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16426
16427 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16428
16429
16430 case ${INSTALL} in
16431 /* ) # Absolute
16432 ;;
16433 ?:* ) # Drive letter, considered as absolute.
16434 ;;
16435 *)
16436 INSTALL=`pwd`/${INSTALL} ;;
16437 esac
16438
16439
16440 case "${host}" in
16441
16442 *-*-darwin* )
16443 INSTALL_PROGRAM="cp -fp"
16444 INSTALL_DATA="cp -fp"
16445 ;;
16446 *)
16447 ;;
16448 esac
16449
16450 if test -n "$ac_tool_prefix"; then
16451 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16452 set dummy ${ac_tool_prefix}strip; ac_word=$2
16453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16455 if test "${ac_cv_prog_STRIP+set}" = set; then
16456 echo $ECHO_N "(cached) $ECHO_C" >&6
16457 else
16458 if test -n "$STRIP"; then
16459 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16460 else
16461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16462 for as_dir in $PATH
16463 do
16464 IFS=$as_save_IFS
16465 test -z "$as_dir" && as_dir=.
16466 for ac_exec_ext in '' $ac_executable_extensions; do
16467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16468 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16470 break 2
16471 fi
16472 done
16473 done
16474 IFS=$as_save_IFS
16475
16476 fi
16477 fi
16478 STRIP=$ac_cv_prog_STRIP
16479 if test -n "$STRIP"; then
16480 { echo "$as_me:$LINENO: result: $STRIP" >&5
16481 echo "${ECHO_T}$STRIP" >&6; }
16482 else
16483 { echo "$as_me:$LINENO: result: no" >&5
16484 echo "${ECHO_T}no" >&6; }
16485 fi
16486
16487
16488 fi
16489 if test -z "$ac_cv_prog_STRIP"; then
16490 ac_ct_STRIP=$STRIP
16491 # Extract the first word of "strip", so it can be a program name with args.
16492 set dummy strip; ac_word=$2
16493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16495 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16496 echo $ECHO_N "(cached) $ECHO_C" >&6
16497 else
16498 if test -n "$ac_ct_STRIP"; then
16499 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16500 else
16501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16502 for as_dir in $PATH
16503 do
16504 IFS=$as_save_IFS
16505 test -z "$as_dir" && as_dir=.
16506 for ac_exec_ext in '' $ac_executable_extensions; do
16507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16508 ac_cv_prog_ac_ct_STRIP="strip"
16509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16510 break 2
16511 fi
16512 done
16513 done
16514 IFS=$as_save_IFS
16515
16516 fi
16517 fi
16518 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16519 if test -n "$ac_ct_STRIP"; then
16520 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16521 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16522 else
16523 { echo "$as_me:$LINENO: result: no" >&5
16524 echo "${ECHO_T}no" >&6; }
16525 fi
16526
16527 if test "x$ac_ct_STRIP" = x; then
16528 STRIP="true"
16529 else
16530 case $cross_compiling:$ac_tool_warned in
16531 yes:)
16532 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16533 whose name does not start with the host triplet. If you think this
16534 configuration is useful to you, please write to autoconf@gnu.org." >&5
16535 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16536 whose name does not start with the host triplet. If you think this
16537 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16538 ac_tool_warned=yes ;;
16539 esac
16540 STRIP=$ac_ct_STRIP
16541 fi
16542 else
16543 STRIP="$ac_cv_prog_STRIP"
16544 fi
16545
16546
16547 if test "$wxUSE_WINE" = "yes"; then
16548 if test -n "$ac_tool_prefix"; then
16549 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16550 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16553 if test "${ac_cv_prog_WINDRES+set}" = set; then
16554 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 else
16556 if test -n "$WINDRES"; then
16557 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16558 else
16559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16560 for as_dir in $PATH
16561 do
16562 IFS=$as_save_IFS
16563 test -z "$as_dir" && as_dir=.
16564 for ac_exec_ext in '' $ac_executable_extensions; do
16565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16566 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16568 break 2
16569 fi
16570 done
16571 done
16572 IFS=$as_save_IFS
16573
16574 fi
16575 fi
16576 WINDRES=$ac_cv_prog_WINDRES
16577 if test -n "$WINDRES"; then
16578 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16579 echo "${ECHO_T}$WINDRES" >&6; }
16580 else
16581 { echo "$as_me:$LINENO: result: no" >&5
16582 echo "${ECHO_T}no" >&6; }
16583 fi
16584
16585
16586 fi
16587 if test -z "$ac_cv_prog_WINDRES"; then
16588 ac_ct_WINDRES=$WINDRES
16589 # Extract the first word of "wrc", so it can be a program name with args.
16590 set dummy wrc; ac_word=$2
16591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16593 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16594 echo $ECHO_N "(cached) $ECHO_C" >&6
16595 else
16596 if test -n "$ac_ct_WINDRES"; then
16597 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16598 else
16599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16600 for as_dir in $PATH
16601 do
16602 IFS=$as_save_IFS
16603 test -z "$as_dir" && as_dir=.
16604 for ac_exec_ext in '' $ac_executable_extensions; do
16605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16606 ac_cv_prog_ac_ct_WINDRES="wrc"
16607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16608 break 2
16609 fi
16610 done
16611 done
16612 IFS=$as_save_IFS
16613
16614 fi
16615 fi
16616 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16617 if test -n "$ac_ct_WINDRES"; then
16618 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16619 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16620 else
16621 { echo "$as_me:$LINENO: result: no" >&5
16622 echo "${ECHO_T}no" >&6; }
16623 fi
16624
16625 if test "x$ac_ct_WINDRES" = x; then
16626 WINDRES=""
16627 else
16628 case $cross_compiling:$ac_tool_warned in
16629 yes:)
16630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16631 whose name does not start with the host triplet. If you think this
16632 configuration is useful to you, please write to autoconf@gnu.org." >&5
16633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16634 whose name does not start with the host triplet. If you think this
16635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16636 ac_tool_warned=yes ;;
16637 esac
16638 WINDRES=$ac_ct_WINDRES
16639 fi
16640 else
16641 WINDRES="$ac_cv_prog_WINDRES"
16642 fi
16643
16644 RESCOMP="$WINDRES"
16645 else
16646 case "${host}" in
16647 *-*-cygwin* | *-*-mingw32* )
16648 if test -n "$ac_tool_prefix"; then
16649 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16650 set dummy ${ac_tool_prefix}windres; ac_word=$2
16651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16653 if test "${ac_cv_prog_WINDRES+set}" = set; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16655 else
16656 if test -n "$WINDRES"; then
16657 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16658 else
16659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16660 for as_dir in $PATH
16661 do
16662 IFS=$as_save_IFS
16663 test -z "$as_dir" && as_dir=.
16664 for ac_exec_ext in '' $ac_executable_extensions; do
16665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16666 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16668 break 2
16669 fi
16670 done
16671 done
16672 IFS=$as_save_IFS
16673
16674 fi
16675 fi
16676 WINDRES=$ac_cv_prog_WINDRES
16677 if test -n "$WINDRES"; then
16678 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16679 echo "${ECHO_T}$WINDRES" >&6; }
16680 else
16681 { echo "$as_me:$LINENO: result: no" >&5
16682 echo "${ECHO_T}no" >&6; }
16683 fi
16684
16685
16686 fi
16687 if test -z "$ac_cv_prog_WINDRES"; then
16688 ac_ct_WINDRES=$WINDRES
16689 # Extract the first word of "windres", so it can be a program name with args.
16690 set dummy windres; ac_word=$2
16691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16693 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16694 echo $ECHO_N "(cached) $ECHO_C" >&6
16695 else
16696 if test -n "$ac_ct_WINDRES"; then
16697 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16698 else
16699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16700 for as_dir in $PATH
16701 do
16702 IFS=$as_save_IFS
16703 test -z "$as_dir" && as_dir=.
16704 for ac_exec_ext in '' $ac_executable_extensions; do
16705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16706 ac_cv_prog_ac_ct_WINDRES="windres"
16707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16708 break 2
16709 fi
16710 done
16711 done
16712 IFS=$as_save_IFS
16713
16714 fi
16715 fi
16716 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16717 if test -n "$ac_ct_WINDRES"; then
16718 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16719 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16720 else
16721 { echo "$as_me:$LINENO: result: no" >&5
16722 echo "${ECHO_T}no" >&6; }
16723 fi
16724
16725 if test "x$ac_ct_WINDRES" = x; then
16726 WINDRES=""
16727 else
16728 case $cross_compiling:$ac_tool_warned in
16729 yes:)
16730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16731 whose name does not start with the host triplet. If you think this
16732 configuration is useful to you, please write to autoconf@gnu.org." >&5
16733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16734 whose name does not start with the host triplet. If you think this
16735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16736 ac_tool_warned=yes ;;
16737 esac
16738 WINDRES=$ac_ct_WINDRES
16739 fi
16740 else
16741 WINDRES="$ac_cv_prog_WINDRES"
16742 fi
16743
16744 RESCOMP="$WINDRES"
16745 if test -n "$ac_tool_prefix"; then
16746 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16747 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16750 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16751 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 else
16753 if test -n "$DLLTOOL"; then
16754 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16755 else
16756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16757 for as_dir in $PATH
16758 do
16759 IFS=$as_save_IFS
16760 test -z "$as_dir" && as_dir=.
16761 for ac_exec_ext in '' $ac_executable_extensions; do
16762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16763 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16765 break 2
16766 fi
16767 done
16768 done
16769 IFS=$as_save_IFS
16770
16771 fi
16772 fi
16773 DLLTOOL=$ac_cv_prog_DLLTOOL
16774 if test -n "$DLLTOOL"; then
16775 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16776 echo "${ECHO_T}$DLLTOOL" >&6; }
16777 else
16778 { echo "$as_me:$LINENO: result: no" >&5
16779 echo "${ECHO_T}no" >&6; }
16780 fi
16781
16782
16783 fi
16784 if test -z "$ac_cv_prog_DLLTOOL"; then
16785 ac_ct_DLLTOOL=$DLLTOOL
16786 # Extract the first word of "dlltool", so it can be a program name with args.
16787 set dummy dlltool; ac_word=$2
16788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16790 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 else
16793 if test -n "$ac_ct_DLLTOOL"; then
16794 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16795 else
16796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16797 for as_dir in $PATH
16798 do
16799 IFS=$as_save_IFS
16800 test -z "$as_dir" && as_dir=.
16801 for ac_exec_ext in '' $ac_executable_extensions; do
16802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16803 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16805 break 2
16806 fi
16807 done
16808 done
16809 IFS=$as_save_IFS
16810
16811 fi
16812 fi
16813 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16814 if test -n "$ac_ct_DLLTOOL"; then
16815 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16816 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16817 else
16818 { echo "$as_me:$LINENO: result: no" >&5
16819 echo "${ECHO_T}no" >&6; }
16820 fi
16821
16822 if test "x$ac_ct_DLLTOOL" = x; then
16823 DLLTOOL=""
16824 else
16825 case $cross_compiling:$ac_tool_warned in
16826 yes:)
16827 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16828 whose name does not start with the host triplet. If you think this
16829 configuration is useful to you, please write to autoconf@gnu.org." >&5
16830 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16831 whose name does not start with the host triplet. If you think this
16832 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16833 ac_tool_warned=yes ;;
16834 esac
16835 DLLTOOL=$ac_ct_DLLTOOL
16836 fi
16837 else
16838 DLLTOOL="$ac_cv_prog_DLLTOOL"
16839 fi
16840
16841 ;;
16842 esac
16843 fi
16844
16845 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16846 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16847 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16848 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 else
16850
16851 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16852 $EGREP -s GNU > /dev/null); then
16853 wx_cv_prog_makeisgnu="yes"
16854 else
16855 wx_cv_prog_makeisgnu="no"
16856 fi
16857
16858 fi
16859 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16860 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16861
16862 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16863 IF_GNU_MAKE=""
16864 else
16865 IF_GNU_MAKE="#"
16866 fi
16867
16868
16869
16870 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16871 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16872 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16873 if test "${wx_cv_prog_makevpath+set}" = set; then
16874 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 else
16876
16877 cat - << EOF > confMake
16878 check : file
16879 cp \$? \$@
16880 cp \$? final_file
16881 EOF
16882
16883 if test ! -d sub ; then
16884 mkdir sub
16885 fi
16886 echo dummy > sub/file
16887 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16888 RESULT=$?
16889 rm -f sub/file check final_file confMake
16890 rmdir sub
16891 if test "$RESULT" = 0; then
16892 wx_cv_prog_makevpath="yes"
16893 else
16894 wx_cv_prog_makevpath="no"
16895 fi
16896
16897 fi
16898 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16899 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16900
16901 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16902 { { echo "$as_me:$LINENO: error:
16903 You need a make-utility that is able to use the variable
16904 VPATH correctly.
16905 If your version of make does not support VPATH correctly,
16906 please install GNU-make (possibly as gmake), and start
16907 configure with the following command:
16908 export MAKE=gmake; ./configure for sh-type shells
16909 setenv MAKE gmake; ./configure for csh-type shells
16910 Also please do remember to use gmake in this case every time
16911 you are trying to compile.
16912 " >&5
16913 echo "$as_me: error:
16914 You need a make-utility that is able to use the variable
16915 VPATH correctly.
16916 If your version of make does not support VPATH correctly,
16917 please install GNU-make (possibly as gmake), and start
16918 configure with the following command:
16919 export MAKE=gmake; ./configure for sh-type shells
16920 setenv MAKE gmake; ./configure for csh-type shells
16921 Also please do remember to use gmake in this case every time
16922 you are trying to compile.
16923 " >&2;}
16924 { (exit 1); exit 1; }; }
16925 fi fi
16926 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16927 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16928 LN_S=$as_ln_s
16929 if test "$LN_S" = "ln -s"; then
16930 { echo "$as_me:$LINENO: result: yes" >&5
16931 echo "${ECHO_T}yes" >&6; }
16932 else
16933 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16934 echo "${ECHO_T}no, using $LN_S" >&6; }
16935 fi
16936
16937
16938
16939
16940 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16941 CXXFLAGS="-qunique $CXXFLAGS"
16942 fi
16943
16944 case "${host}" in
16945 powerpc-*-darwin* )
16946 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16947 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16948 cat >conftest.$ac_ext <<_ACEOF
16949 /* confdefs.h. */
16950 _ACEOF
16951 cat confdefs.h >>conftest.$ac_ext
16952 cat >>conftest.$ac_ext <<_ACEOF
16953 /* end confdefs.h. */
16954
16955 int
16956 main ()
16957 {
16958 #ifndef __POWERPC__
16959 choke me for lack of PowerPC
16960 #endif
16961
16962 ;
16963 return 0;
16964 }
16965 _ACEOF
16966 rm -f conftest.$ac_objext
16967 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in
16969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970 *) ac_try_echo=$ac_try;;
16971 esac
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973 (eval "$ac_compile") 2>conftest.er1
16974 ac_status=$?
16975 grep -v '^ *+' conftest.er1 >conftest.err
16976 rm -f conftest.er1
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } && {
16980 test -z "$ac_c_werror_flag" ||
16981 test ! -s conftest.err
16982 } && test -s conftest.$ac_objext; then
16983 { echo "$as_me:$LINENO: result: yes" >&5
16984 echo "${ECHO_T}yes" >&6; }
16985 else
16986 echo "$as_me: failed program was:" >&5
16987 sed 's/^/| /' conftest.$ac_ext >&5
16988
16989 { echo "$as_me:$LINENO: result: no" >&5
16990 echo "${ECHO_T}no" >&6; }
16991 cat >>confdefs.h <<\_ACEOF
16992 #define __POWERPC__ 1
16993 _ACEOF
16994
16995
16996 fi
16997
16998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16999 ;;
17000 esac
17001
17002 case "${host}" in
17003 *-*-darwin* )
17004 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17005 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17006 cat >conftest.$ac_ext <<_ACEOF
17007 /* confdefs.h. */
17008 _ACEOF
17009 cat confdefs.h >>conftest.$ac_ext
17010 cat >>conftest.$ac_ext <<_ACEOF
17011 /* end confdefs.h. */
17012 #include <CoreFoundation/CFBase.h>
17013
17014 int
17015 main ()
17016 {
17017
17018 ;
17019 return 0;
17020 }
17021 _ACEOF
17022 rm -f conftest.$ac_objext
17023 if { (ac_try="$ac_compile"
17024 case "(($ac_try" in
17025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17026 *) ac_try_echo=$ac_try;;
17027 esac
17028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17029 (eval "$ac_compile") 2>conftest.er1
17030 ac_status=$?
17031 grep -v '^ *+' conftest.er1 >conftest.err
17032 rm -f conftest.er1
17033 cat conftest.err >&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); } && {
17036 test -z "$ac_c_werror_flag" ||
17037 test ! -s conftest.err
17038 } && test -s conftest.$ac_objext; then
17039 { echo "$as_me:$LINENO: result: yes" >&5
17040 echo "${ECHO_T}yes" >&6; }
17041 else
17042 echo "$as_me: failed program was:" >&5
17043 sed 's/^/| /' conftest.$ac_ext >&5
17044
17045 { echo "$as_me:$LINENO: result: no" >&5
17046 echo "${ECHO_T}no" >&6; }
17047 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17048 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17049 cat >conftest.$ac_ext <<_ACEOF
17050 /* confdefs.h. */
17051 _ACEOF
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 #define __CF_USE_FRAMEWORK_INCLUDES__
17056 #include <CoreFoundation/CFBase.h>
17057
17058 int
17059 main ()
17060 {
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 rm -f conftest.$ac_objext
17067 if { (ac_try="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17071 esac
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17074 ac_status=$?
17075 grep -v '^ *+' conftest.er1 >conftest.err
17076 rm -f conftest.er1
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_c_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 { echo "$as_me:$LINENO: result: yes" >&5
17084 echo "${ECHO_T}yes" >&6; }
17085 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17086 else
17087 echo "$as_me: failed program was:" >&5
17088 sed 's/^/| /' conftest.$ac_ext >&5
17089
17090 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17091 See \`config.log' for more details." >&5
17092 echo "$as_me: error: no. CoreFoundation not available.
17093 See \`config.log' for more details." >&2;}
17094 { (exit 1); exit 1; }; }
17095
17096 fi
17097
17098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17099
17100
17101 fi
17102
17103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17104 ;;
17105 esac
17106
17107 wants_win32=0
17108 doesnt_want_win32=0
17109 case "${host}" in
17110 *-*-cygwin*)
17111 if test "$wxUSE_MSW" = 1 ; then
17112 wants_win32=1
17113 else
17114 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17115 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17116 if test "${wx_cv_nocygwin+set}" = set; then
17117 echo $ECHO_N "(cached) $ECHO_C" >&6
17118 else
17119
17120 cat >conftest.$ac_ext <<_ACEOF
17121 /* confdefs.h. */
17122 _ACEOF
17123 cat confdefs.h >>conftest.$ac_ext
17124 cat >>conftest.$ac_ext <<_ACEOF
17125 /* end confdefs.h. */
17126
17127 int
17128 main ()
17129 {
17130
17131 #ifdef __MINGW32__
17132 choke me
17133 #endif
17134
17135 ;
17136 return 0;
17137 }
17138 _ACEOF
17139 rm -f conftest.$ac_objext
17140 if { (ac_try="$ac_compile"
17141 case "(($ac_try" in
17142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17143 *) ac_try_echo=$ac_try;;
17144 esac
17145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17146 (eval "$ac_compile") 2>conftest.er1
17147 ac_status=$?
17148 grep -v '^ *+' conftest.er1 >conftest.err
17149 rm -f conftest.er1
17150 cat conftest.err >&5
17151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17152 (exit $ac_status); } && {
17153 test -z "$ac_c_werror_flag" ||
17154 test ! -s conftest.err
17155 } && test -s conftest.$ac_objext; then
17156 wx_cv_nocygwin=no
17157 else
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17160
17161 wx_cv_nocygwin=yes
17162
17163 fi
17164
17165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17166
17167
17168 fi
17169 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17170 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17171
17172 if test "$wx_cv_nocygwin" = "yes"; then
17173 wants_win32=1
17174 else
17175 doesnt_want_win32=1
17176 fi
17177 fi
17178 if test "$wants_win32" = 1 ; then
17179 BAKEFILE_FORCE_PLATFORM=win32
17180 fi
17181 ;;
17182 *-*-mingw*)
17183 wants_win32=1
17184 ;;
17185 esac
17186
17187 if test "$wxUSE_WINE" = "yes"; then
17188 wants_win32=1
17189 LDFLAGS_GUI="-mwindows"
17190 fi
17191
17192 if test "$wants_win32" = 1 ; then
17193 USE_UNIX=0
17194 USE_WIN32=1
17195 cat >>confdefs.h <<\_ACEOF
17196 #define __WIN32__ 1
17197 _ACEOF
17198
17199 cat >>confdefs.h <<\_ACEOF
17200 #define __WIN95__ 1
17201 _ACEOF
17202
17203 cat >>confdefs.h <<\_ACEOF
17204 #define __WINDOWS__ 1
17205 _ACEOF
17206
17207 cat >>confdefs.h <<\_ACEOF
17208 #define __GNUWIN32__ 1
17209 _ACEOF
17210
17211 cat >>confdefs.h <<\_ACEOF
17212 #define STRICT 1
17213 _ACEOF
17214
17215 fi
17216 if test "$doesnt_want_win32" = 1 ; then
17217 USE_UNIX=1
17218 USE_WIN32=0
17219 fi
17220
17221 if test "$USE_UNIX" = 1 ; then
17222 wxUSE_UNIX=yes
17223 cat >>confdefs.h <<\_ACEOF
17224 #define __UNIX__ 1
17225 _ACEOF
17226
17227 fi
17228
17229 case "${host}" in
17230 *-pc-os2_emx | *-pc-os2-emx )
17231 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17232 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17233 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17234 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 else
17237 ac_check_lib_save_LIBS=$LIBS
17238 LIBS="-lcExt $LIBS"
17239 cat >conftest.$ac_ext <<_ACEOF
17240 /* confdefs.h. */
17241 _ACEOF
17242 cat confdefs.h >>conftest.$ac_ext
17243 cat >>conftest.$ac_ext <<_ACEOF
17244 /* end confdefs.h. */
17245
17246 /* Override any GCC internal prototype to avoid an error.
17247 Use char because int might match the return type of a GCC
17248 builtin and then its argument prototype would still apply. */
17249 #ifdef __cplusplus
17250 extern "C"
17251 #endif
17252 char drand48 ();
17253 int
17254 main ()
17255 {
17256 return drand48 ();
17257 ;
17258 return 0;
17259 }
17260 _ACEOF
17261 rm -f conftest.$ac_objext conftest$ac_exeext
17262 if { (ac_try="$ac_link"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17265 *) ac_try_echo=$ac_try;;
17266 esac
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_link") 2>conftest.er1
17269 ac_status=$?
17270 grep -v '^ *+' conftest.er1 >conftest.err
17271 rm -f conftest.er1
17272 cat conftest.err >&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } && {
17275 test -z "$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17277 } && test -s conftest$ac_exeext &&
17278 $as_test_x conftest$ac_exeext; then
17279 ac_cv_lib_cExt_drand48=yes
17280 else
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17283
17284 ac_cv_lib_cExt_drand48=no
17285 fi
17286
17287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17288 conftest$ac_exeext conftest.$ac_ext
17289 LIBS=$ac_check_lib_save_LIBS
17290 fi
17291 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17292 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17293 if test $ac_cv_lib_cExt_drand48 = yes; then
17294 LIBS="$LIBS -lcExt"
17295 fi
17296
17297 else
17298 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17299 fi
17300 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17301 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17302 if test "${wx_cv_gccversion+set}" = set; then
17303 echo $ECHO_N "(cached) $ECHO_C" >&6
17304 else
17305
17306 if test "$cross_compiling" = yes; then
17307 wx_cv_gccversion="EMX2"
17308
17309 else
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316
17317 #include <stdio.h>
17318
17319 int main()
17320 {
17321 FILE *f=fopen("conftestval", "w");
17322 if (!f) exit(1);
17323 fprintf(f,
17324 #if (__GNUC__ < 3)
17325 "EMX2"
17326 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17327 "EMX3"
17328 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17329 "Innotek5"
17330 #else
17331 "Innotek6"
17332 #endif
17333 );
17334 exit(0);
17335 }
17336
17337 _ACEOF
17338 rm -f conftest$ac_exeext
17339 if { (ac_try="$ac_link"
17340 case "(($ac_try" in
17341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17342 *) ac_try_echo=$ac_try;;
17343 esac
17344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17345 (eval "$ac_link") 2>&5
17346 ac_status=$?
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17349 { (case "(($ac_try" in
17350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17351 *) ac_try_echo=$ac_try;;
17352 esac
17353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17354 (eval "$ac_try") 2>&5
17355 ac_status=$?
17356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17357 (exit $ac_status); }; }; then
17358 wx_cv_gccversion=`cat conftestval`
17359 else
17360 echo "$as_me: program exited with status $ac_status" >&5
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17363
17364 ( exit $ac_status )
17365 wx_cv_gccversion="EMX2"
17366 fi
17367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17368 fi
17369
17370
17371
17372 fi
17373 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17374 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17375 if test "$wx_cv_gccversion" = "EMX2"; then
17376 LIBS="$LIBS -lstdcpp"
17377 LDFLAGS="$LDFLAGS -Zsysv-signals"
17378 else
17379 if test "$wx_cv_gccversion" = "EMX3"; then
17380 LIBS="$LIBS -lstdcxx -lgcc"
17381 LDFLAGS="$LDFLAGS -Zsysv-signals"
17382 else
17383 LIBS="$LIBS -lstdc++"
17384 fi
17385 fi
17386 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17387 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17388 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17389 wxUSE_OMF=yes
17390 enable_omf=yes
17391 fi
17392 ;;
17393 *)
17394
17395 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17396 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17397 if test "${ac_cv_string_strcasecmp+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 else
17400
17401 cat >conftest.$ac_ext <<_ACEOF
17402 /* confdefs.h. */
17403 _ACEOF
17404 cat confdefs.h >>conftest.$ac_ext
17405 cat >>conftest.$ac_ext <<_ACEOF
17406 /* end confdefs.h. */
17407
17408 #include <string.h>
17409
17410 int
17411 main ()
17412 {
17413
17414 strcasecmp("foo", "bar");
17415
17416 ;
17417 return 0;
17418 }
17419 _ACEOF
17420 rm -f conftest.$ac_objext conftest$ac_exeext
17421 if { (ac_try="$ac_link"
17422 case "(($ac_try" in
17423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17424 *) ac_try_echo=$ac_try;;
17425 esac
17426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17427 (eval "$ac_link") 2>conftest.er1
17428 ac_status=$?
17429 grep -v '^ *+' conftest.er1 >conftest.err
17430 rm -f conftest.er1
17431 cat conftest.err >&5
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); } && {
17434 test -z "$ac_c_werror_flag" ||
17435 test ! -s conftest.err
17436 } && test -s conftest$ac_exeext &&
17437 $as_test_x conftest$ac_exeext; then
17438 ac_cv_string_strcasecmp=yes
17439 else
17440 echo "$as_me: failed program was:" >&5
17441 sed 's/^/| /' conftest.$ac_ext >&5
17442
17443 ac_cv_string_strcasecmp=no
17444
17445 fi
17446
17447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17448 conftest$ac_exeext conftest.$ac_ext
17449
17450 fi
17451 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17452 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17453
17454 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17455 cat >>confdefs.h <<\_ACEOF
17456 #define HAVE_STRCASECMP_IN_STRING_H 1
17457 _ACEOF
17458
17459 else
17460 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17461 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17462 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17463 echo $ECHO_N "(cached) $ECHO_C" >&6
17464 else
17465
17466 cat >conftest.$ac_ext <<_ACEOF
17467 /* confdefs.h. */
17468 _ACEOF
17469 cat confdefs.h >>conftest.$ac_ext
17470 cat >>conftest.$ac_ext <<_ACEOF
17471 /* end confdefs.h. */
17472
17473 #include <strings.h>
17474
17475 int
17476 main ()
17477 {
17478
17479 strcasecmp("foo", "bar");
17480
17481 ;
17482 return 0;
17483 }
17484 _ACEOF
17485 rm -f conftest.$ac_objext conftest$ac_exeext
17486 if { (ac_try="$ac_link"
17487 case "(($ac_try" in
17488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17489 *) ac_try_echo=$ac_try;;
17490 esac
17491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17492 (eval "$ac_link") 2>conftest.er1
17493 ac_status=$?
17494 grep -v '^ *+' conftest.er1 >conftest.err
17495 rm -f conftest.er1
17496 cat conftest.err >&5
17497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17498 (exit $ac_status); } && {
17499 test -z "$ac_c_werror_flag" ||
17500 test ! -s conftest.err
17501 } && test -s conftest$ac_exeext &&
17502 $as_test_x conftest$ac_exeext; then
17503 ac_cv_strings_strcasecmp=yes
17504 else
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17507
17508 ac_cv_strings_strcasecmp=no
17509
17510 fi
17511
17512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17513 conftest$ac_exeext conftest.$ac_ext
17514
17515 fi
17516 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17517 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17518
17519 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17520 cat >>confdefs.h <<\_ACEOF
17521 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17522 _ACEOF
17523
17524 else
17525 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17526 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17527 { (exit 1); exit 1; }; }
17528 fi
17529 fi
17530
17531 ;;
17532 esac
17533
17534
17535 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17536 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17537 if test "${ac_cv_header_stdc+set}" = set; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 else
17540 cat >conftest.$ac_ext <<_ACEOF
17541 /* confdefs.h. */
17542 _ACEOF
17543 cat confdefs.h >>conftest.$ac_ext
17544 cat >>conftest.$ac_ext <<_ACEOF
17545 /* end confdefs.h. */
17546 #include <stdlib.h>
17547 #include <stdarg.h>
17548 #include <string.h>
17549 #include <float.h>
17550
17551 int
17552 main ()
17553 {
17554
17555 ;
17556 return 0;
17557 }
17558 _ACEOF
17559 rm -f conftest.$ac_objext
17560 if { (ac_try="$ac_compile"
17561 case "(($ac_try" in
17562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17563 *) ac_try_echo=$ac_try;;
17564 esac
17565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17566 (eval "$ac_compile") 2>conftest.er1
17567 ac_status=$?
17568 grep -v '^ *+' conftest.er1 >conftest.err
17569 rm -f conftest.er1
17570 cat conftest.err >&5
17571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17572 (exit $ac_status); } && {
17573 test -z "$ac_c_werror_flag" ||
17574 test ! -s conftest.err
17575 } && test -s conftest.$ac_objext; then
17576 ac_cv_header_stdc=yes
17577 else
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.$ac_ext >&5
17580
17581 ac_cv_header_stdc=no
17582 fi
17583
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585
17586 if test $ac_cv_header_stdc = yes; then
17587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17588 cat >conftest.$ac_ext <<_ACEOF
17589 /* confdefs.h. */
17590 _ACEOF
17591 cat confdefs.h >>conftest.$ac_ext
17592 cat >>conftest.$ac_ext <<_ACEOF
17593 /* end confdefs.h. */
17594 #include <string.h>
17595
17596 _ACEOF
17597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17598 $EGREP "memchr" >/dev/null 2>&1; then
17599 :
17600 else
17601 ac_cv_header_stdc=no
17602 fi
17603 rm -f conftest*
17604
17605 fi
17606
17607 if test $ac_cv_header_stdc = yes; then
17608 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17609 cat >conftest.$ac_ext <<_ACEOF
17610 /* confdefs.h. */
17611 _ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17615 #include <stdlib.h>
17616
17617 _ACEOF
17618 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17619 $EGREP "free" >/dev/null 2>&1; then
17620 :
17621 else
17622 ac_cv_header_stdc=no
17623 fi
17624 rm -f conftest*
17625
17626 fi
17627
17628 if test $ac_cv_header_stdc = yes; then
17629 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17630 if test "$cross_compiling" = yes; then
17631 :
17632 else
17633 cat >conftest.$ac_ext <<_ACEOF
17634 /* confdefs.h. */
17635 _ACEOF
17636 cat confdefs.h >>conftest.$ac_ext
17637 cat >>conftest.$ac_ext <<_ACEOF
17638 /* end confdefs.h. */
17639 #include <ctype.h>
17640 #include <stdlib.h>
17641 #if ((' ' & 0x0FF) == 0x020)
17642 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17643 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17644 #else
17645 # define ISLOWER(c) \
17646 (('a' <= (c) && (c) <= 'i') \
17647 || ('j' <= (c) && (c) <= 'r') \
17648 || ('s' <= (c) && (c) <= 'z'))
17649 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17650 #endif
17651
17652 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17653 int
17654 main ()
17655 {
17656 int i;
17657 for (i = 0; i < 256; i++)
17658 if (XOR (islower (i), ISLOWER (i))
17659 || toupper (i) != TOUPPER (i))
17660 return 2;
17661 return 0;
17662 }
17663 _ACEOF
17664 rm -f conftest$ac_exeext
17665 if { (ac_try="$ac_link"
17666 case "(($ac_try" in
17667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17668 *) ac_try_echo=$ac_try;;
17669 esac
17670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17671 (eval "$ac_link") 2>&5
17672 ac_status=$?
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17675 { (case "(($ac_try" in
17676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17677 *) ac_try_echo=$ac_try;;
17678 esac
17679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17680 (eval "$ac_try") 2>&5
17681 ac_status=$?
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; }; then
17684 :
17685 else
17686 echo "$as_me: program exited with status $ac_status" >&5
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17689
17690 ( exit $ac_status )
17691 ac_cv_header_stdc=no
17692 fi
17693 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17694 fi
17695
17696
17697 fi
17698 fi
17699 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17700 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17701 if test $ac_cv_header_stdc = yes; then
17702
17703 cat >>confdefs.h <<\_ACEOF
17704 #define STDC_HEADERS 1
17705 _ACEOF
17706
17707 fi
17708
17709 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17720 inttypes.h stdint.h unistd.h
17721 do
17722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17723 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17725 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17727 else
17728 cat >conftest.$ac_ext <<_ACEOF
17729 /* confdefs.h. */
17730 _ACEOF
17731 cat confdefs.h >>conftest.$ac_ext
17732 cat >>conftest.$ac_ext <<_ACEOF
17733 /* end confdefs.h. */
17734 $ac_includes_default
17735
17736 #include <$ac_header>
17737 _ACEOF
17738 rm -f conftest.$ac_objext
17739 if { (ac_try="$ac_compile"
17740 case "(($ac_try" in
17741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17742 *) ac_try_echo=$ac_try;;
17743 esac
17744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17745 (eval "$ac_compile") 2>conftest.er1
17746 ac_status=$?
17747 grep -v '^ *+' conftest.er1 >conftest.err
17748 rm -f conftest.er1
17749 cat conftest.err >&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); } && {
17752 test -z "$ac_c_werror_flag" ||
17753 test ! -s conftest.err
17754 } && test -s conftest.$ac_objext; then
17755 eval "$as_ac_Header=yes"
17756 else
17757 echo "$as_me: failed program was:" >&5
17758 sed 's/^/| /' conftest.$ac_ext >&5
17759
17760 eval "$as_ac_Header=no"
17761 fi
17762
17763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17764 fi
17765 ac_res=`eval echo '${'$as_ac_Header'}'`
17766 { echo "$as_me:$LINENO: result: $ac_res" >&5
17767 echo "${ECHO_T}$ac_res" >&6; }
17768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17769 cat >>confdefs.h <<_ACEOF
17770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17771 _ACEOF
17772
17773 fi
17774
17775 done
17776
17777
17778
17779
17780
17781
17782
17783
17784 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17785 do
17786 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17787 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17789 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17790 echo $ECHO_N "(cached) $ECHO_C" >&6
17791 else
17792 cat >conftest.$ac_ext <<_ACEOF
17793 /* confdefs.h. */
17794 _ACEOF
17795 cat confdefs.h >>conftest.$ac_ext
17796 cat >>conftest.$ac_ext <<_ACEOF
17797 /* end confdefs.h. */
17798 $ac_includes_default
17799
17800 #include <$ac_header>
17801 _ACEOF
17802 rm -f conftest.$ac_objext
17803 if { (ac_try="$ac_compile"
17804 case "(($ac_try" in
17805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17806 *) ac_try_echo=$ac_try;;
17807 esac
17808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17809 (eval "$ac_compile") 2>conftest.er1
17810 ac_status=$?
17811 grep -v '^ *+' conftest.er1 >conftest.err
17812 rm -f conftest.er1
17813 cat conftest.err >&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } && {
17816 test -z "$ac_c_werror_flag" ||
17817 test ! -s conftest.err
17818 } && test -s conftest.$ac_objext; then
17819 eval "$as_ac_Header=yes"
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824 eval "$as_ac_Header=no"
17825 fi
17826
17827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17828 fi
17829 ac_res=`eval echo '${'$as_ac_Header'}'`
17830 { echo "$as_me:$LINENO: result: $ac_res" >&5
17831 echo "${ECHO_T}$ac_res" >&6; }
17832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17833 cat >>confdefs.h <<_ACEOF
17834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17835 _ACEOF
17836
17837 fi
17838
17839 done
17840
17841
17842 if test "$ac_cv_header_wchar_h" != "yes"; then
17843 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17844 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17845 if test "${ac_cv_header_wcstr_h+set}" = set; then
17846 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 else
17848 cat >conftest.$ac_ext <<_ACEOF
17849 /* confdefs.h. */
17850 _ACEOF
17851 cat confdefs.h >>conftest.$ac_ext
17852 cat >>conftest.$ac_ext <<_ACEOF
17853 /* end confdefs.h. */
17854 $ac_includes_default
17855
17856 #include <wcstr.h>
17857 _ACEOF
17858 rm -f conftest.$ac_objext
17859 if { (ac_try="$ac_compile"
17860 case "(($ac_try" in
17861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17862 *) ac_try_echo=$ac_try;;
17863 esac
17864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17865 (eval "$ac_compile") 2>conftest.er1
17866 ac_status=$?
17867 grep -v '^ *+' conftest.er1 >conftest.err
17868 rm -f conftest.er1
17869 cat conftest.err >&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); } && {
17872 test -z "$ac_c_werror_flag" ||
17873 test ! -s conftest.err
17874 } && test -s conftest.$ac_objext; then
17875 ac_cv_header_wcstr_h=yes
17876 else
17877 echo "$as_me: failed program was:" >&5
17878 sed 's/^/| /' conftest.$ac_ext >&5
17879
17880 ac_cv_header_wcstr_h=no
17881 fi
17882
17883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17884 fi
17885 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17886 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17887
17888
17889 fi
17890
17891 case "${host}" in
17892 *-pc-os2_emx | *-pc-os2-emx )
17893 if test $ac_cv_header_langinfo_h = "yes" \
17894 -a \( "$wx_cv_gccversion" = "EMX2" \
17895 -o "$wx_cv_gccversion" = "EMX3" \
17896 -o "$wx_cv_gccversion" = "Innotek5" \); then
17897 LIBS="$LIBS -lintl"
17898 fi
17899 ;;
17900 esac
17901
17902 if test "$USE_UNIX" = 1 ; then
17903 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17904 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17905 if test "${ac_cv_header_sys_select_h+set}" = set; then
17906 echo $ECHO_N "(cached) $ECHO_C" >&6
17907 else
17908 cat >conftest.$ac_ext <<_ACEOF
17909 /* confdefs.h. */
17910 _ACEOF
17911 cat confdefs.h >>conftest.$ac_ext
17912 cat >>conftest.$ac_ext <<_ACEOF
17913 /* end confdefs.h. */
17914 $ac_includes_default
17915
17916 #include <sys/select.h>
17917 _ACEOF
17918 rm -f conftest.$ac_objext
17919 if { (ac_try="$ac_compile"
17920 case "(($ac_try" in
17921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17922 *) ac_try_echo=$ac_try;;
17923 esac
17924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17925 (eval "$ac_compile") 2>conftest.er1
17926 ac_status=$?
17927 grep -v '^ *+' conftest.er1 >conftest.err
17928 rm -f conftest.er1
17929 cat conftest.err >&5
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); } && {
17932 test -z "$ac_c_werror_flag" ||
17933 test ! -s conftest.err
17934 } && test -s conftest.$ac_objext; then
17935 ac_cv_header_sys_select_h=yes
17936 else
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17939
17940 ac_cv_header_sys_select_h=no
17941 fi
17942
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17944 fi
17945 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17946 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17947
17948
17949 fi
17950
17951
17952 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17953 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17954 if test "${ac_cv_c_const+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17956 else
17957 cat >conftest.$ac_ext <<_ACEOF
17958 /* confdefs.h. */
17959 _ACEOF
17960 cat confdefs.h >>conftest.$ac_ext
17961 cat >>conftest.$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17963
17964 int
17965 main ()
17966 {
17967 /* FIXME: Include the comments suggested by Paul. */
17968 #ifndef __cplusplus
17969 /* Ultrix mips cc rejects this. */
17970 typedef int charset[2];
17971 const charset cs;
17972 /* SunOS 4.1.1 cc rejects this. */
17973 char const *const *pcpcc;
17974 char **ppc;
17975 /* NEC SVR4.0.2 mips cc rejects this. */
17976 struct point {int x, y;};
17977 static struct point const zero = {0,0};
17978 /* AIX XL C 1.02.0.0 rejects this.
17979 It does not let you subtract one const X* pointer from another in
17980 an arm of an if-expression whose if-part is not a constant
17981 expression */
17982 const char *g = "string";
17983 pcpcc = &g + (g ? g-g : 0);
17984 /* HPUX 7.0 cc rejects these. */
17985 ++pcpcc;
17986 ppc = (char**) pcpcc;
17987 pcpcc = (char const *const *) ppc;
17988 { /* SCO 3.2v4 cc rejects this. */
17989 char *t;
17990 char const *s = 0 ? (char *) 0 : (char const *) 0;
17991
17992 *t++ = 0;
17993 if (s) return 0;
17994 }
17995 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17996 int x[] = {25, 17};
17997 const int *foo = &x[0];
17998 ++foo;
17999 }
18000 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18001 typedef const int *iptr;
18002 iptr p = 0;
18003 ++p;
18004 }
18005 { /* AIX XL C 1.02.0.0 rejects this saying
18006 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18007 struct s { int j; const int *ap[3]; };
18008 struct s *b; b->j = 5;
18009 }
18010 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18011 const int foo = 10;
18012 if (!foo) return 0;
18013 }
18014 return !cs[0] && !zero.x;
18015 #endif
18016
18017 ;
18018 return 0;
18019 }
18020 _ACEOF
18021 rm -f conftest.$ac_objext
18022 if { (ac_try="$ac_compile"
18023 case "(($ac_try" in
18024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18025 *) ac_try_echo=$ac_try;;
18026 esac
18027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18028 (eval "$ac_compile") 2>conftest.er1
18029 ac_status=$?
18030 grep -v '^ *+' conftest.er1 >conftest.err
18031 rm -f conftest.er1
18032 cat conftest.err >&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } && {
18035 test -z "$ac_c_werror_flag" ||
18036 test ! -s conftest.err
18037 } && test -s conftest.$ac_objext; then
18038 ac_cv_c_const=yes
18039 else
18040 echo "$as_me: failed program was:" >&5
18041 sed 's/^/| /' conftest.$ac_ext >&5
18042
18043 ac_cv_c_const=no
18044 fi
18045
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18047 fi
18048 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18049 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18050 if test $ac_cv_c_const = no; then
18051
18052 cat >>confdefs.h <<\_ACEOF
18053 #define const
18054 _ACEOF
18055
18056 fi
18057
18058 { echo "$as_me:$LINENO: checking for inline" >&5
18059 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18060 if test "${ac_cv_c_inline+set}" = set; then
18061 echo $ECHO_N "(cached) $ECHO_C" >&6
18062 else
18063 ac_cv_c_inline=no
18064 for ac_kw in inline __inline__ __inline; do
18065 cat >conftest.$ac_ext <<_ACEOF
18066 /* confdefs.h. */
18067 _ACEOF
18068 cat confdefs.h >>conftest.$ac_ext
18069 cat >>conftest.$ac_ext <<_ACEOF
18070 /* end confdefs.h. */
18071 #ifndef __cplusplus
18072 typedef int foo_t;
18073 static $ac_kw foo_t static_foo () {return 0; }
18074 $ac_kw foo_t foo () {return 0; }
18075 #endif
18076
18077 _ACEOF
18078 rm -f conftest.$ac_objext
18079 if { (ac_try="$ac_compile"
18080 case "(($ac_try" in
18081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18082 *) ac_try_echo=$ac_try;;
18083 esac
18084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18085 (eval "$ac_compile") 2>conftest.er1
18086 ac_status=$?
18087 grep -v '^ *+' conftest.er1 >conftest.err
18088 rm -f conftest.er1
18089 cat conftest.err >&5
18090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18091 (exit $ac_status); } && {
18092 test -z "$ac_c_werror_flag" ||
18093 test ! -s conftest.err
18094 } && test -s conftest.$ac_objext; then
18095 ac_cv_c_inline=$ac_kw
18096 else
18097 echo "$as_me: failed program was:" >&5
18098 sed 's/^/| /' conftest.$ac_ext >&5
18099
18100
18101 fi
18102
18103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18104 test "$ac_cv_c_inline" != no && break
18105 done
18106
18107 fi
18108 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18109 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18110
18111
18112 case $ac_cv_c_inline in
18113 inline | yes) ;;
18114 *)
18115 case $ac_cv_c_inline in
18116 no) ac_val=;;
18117 *) ac_val=$ac_cv_c_inline;;
18118 esac
18119 cat >>confdefs.h <<_ACEOF
18120 #ifndef __cplusplus
18121 #define inline $ac_val
18122 #endif
18123 _ACEOF
18124 ;;
18125 esac
18126
18127
18128 { echo "$as_me:$LINENO: checking for short" >&5
18129 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18130 if test "${ac_cv_type_short+set}" = set; then
18131 echo $ECHO_N "(cached) $ECHO_C" >&6
18132 else
18133 cat >conftest.$ac_ext <<_ACEOF
18134 /* confdefs.h. */
18135 _ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h. */
18139 $ac_includes_default
18140 typedef short ac__type_new_;
18141 int
18142 main ()
18143 {
18144 if ((ac__type_new_ *) 0)
18145 return 0;
18146 if (sizeof (ac__type_new_))
18147 return 0;
18148 ;
18149 return 0;
18150 }
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18157 esac
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18160 ac_status=$?
18161 grep -v '^ *+' conftest.er1 >conftest.err
18162 rm -f conftest.er1
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 ac_cv_type_short=yes
18170 else
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18173
18174 ac_cv_type_short=no
18175 fi
18176
18177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 fi
18179 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18180 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18181
18182 # The cast to long int works around a bug in the HP C Compiler
18183 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18184 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18185 # This bug is HP SR number 8606223364.
18186 { echo "$as_me:$LINENO: checking size of short" >&5
18187 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18188 if test "${ac_cv_sizeof_short+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 else
18191 if test "$cross_compiling" = yes; then
18192 # Depending upon the size, compute the lo and hi bounds.
18193 cat >conftest.$ac_ext <<_ACEOF
18194 /* confdefs.h. */
18195 _ACEOF
18196 cat confdefs.h >>conftest.$ac_ext
18197 cat >>conftest.$ac_ext <<_ACEOF
18198 /* end confdefs.h. */
18199 $ac_includes_default
18200 typedef short ac__type_sizeof_;
18201 int
18202 main ()
18203 {
18204 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18205 test_array [0] = 0
18206
18207 ;
18208 return 0;
18209 }
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (ac_try="$ac_compile"
18213 case "(($ac_try" in
18214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18216 esac
18217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_compile") 2>conftest.er1
18219 ac_status=$?
18220 grep -v '^ *+' conftest.er1 >conftest.err
18221 rm -f conftest.er1
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } && {
18225 test -z "$ac_c_werror_flag" ||
18226 test ! -s conftest.err
18227 } && test -s conftest.$ac_objext; then
18228 ac_lo=0 ac_mid=0
18229 while :; do
18230 cat >conftest.$ac_ext <<_ACEOF
18231 /* confdefs.h. */
18232 _ACEOF
18233 cat confdefs.h >>conftest.$ac_ext
18234 cat >>conftest.$ac_ext <<_ACEOF
18235 /* end confdefs.h. */
18236 $ac_includes_default
18237 typedef short ac__type_sizeof_;
18238 int
18239 main ()
18240 {
18241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18242 test_array [0] = 0
18243
18244 ;
18245 return 0;
18246 }
18247 _ACEOF
18248 rm -f conftest.$ac_objext
18249 if { (ac_try="$ac_compile"
18250 case "(($ac_try" in
18251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18252 *) ac_try_echo=$ac_try;;
18253 esac
18254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18255 (eval "$ac_compile") 2>conftest.er1
18256 ac_status=$?
18257 grep -v '^ *+' conftest.er1 >conftest.err
18258 rm -f conftest.er1
18259 cat conftest.err >&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); } && {
18262 test -z "$ac_c_werror_flag" ||
18263 test ! -s conftest.err
18264 } && test -s conftest.$ac_objext; then
18265 ac_hi=$ac_mid; break
18266 else
18267 echo "$as_me: failed program was:" >&5
18268 sed 's/^/| /' conftest.$ac_ext >&5
18269
18270 ac_lo=`expr $ac_mid + 1`
18271 if test $ac_lo -le $ac_mid; then
18272 ac_lo= ac_hi=
18273 break
18274 fi
18275 ac_mid=`expr 2 '*' $ac_mid + 1`
18276 fi
18277
18278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18279 done
18280 else
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18283
18284 cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h. */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18291 typedef short ac__type_sizeof_;
18292 int
18293 main ()
18294 {
18295 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18296 test_array [0] = 0
18297
18298 ;
18299 return 0;
18300 }
18301 _ACEOF
18302 rm -f conftest.$ac_objext
18303 if { (ac_try="$ac_compile"
18304 case "(($ac_try" in
18305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18307 esac
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_compile") 2>conftest.er1
18310 ac_status=$?
18311 grep -v '^ *+' conftest.er1 >conftest.err
18312 rm -f conftest.er1
18313 cat conftest.err >&5
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && {
18316 test -z "$ac_c_werror_flag" ||
18317 test ! -s conftest.err
18318 } && test -s conftest.$ac_objext; then
18319 ac_hi=-1 ac_mid=-1
18320 while :; do
18321 cat >conftest.$ac_ext <<_ACEOF
18322 /* confdefs.h. */
18323 _ACEOF
18324 cat confdefs.h >>conftest.$ac_ext
18325 cat >>conftest.$ac_ext <<_ACEOF
18326 /* end confdefs.h. */
18327 $ac_includes_default
18328 typedef short ac__type_sizeof_;
18329 int
18330 main ()
18331 {
18332 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18333 test_array [0] = 0
18334
18335 ;
18336 return 0;
18337 }
18338 _ACEOF
18339 rm -f conftest.$ac_objext
18340 if { (ac_try="$ac_compile"
18341 case "(($ac_try" in
18342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343 *) ac_try_echo=$ac_try;;
18344 esac
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346 (eval "$ac_compile") 2>conftest.er1
18347 ac_status=$?
18348 grep -v '^ *+' conftest.er1 >conftest.err
18349 rm -f conftest.er1
18350 cat conftest.err >&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); } && {
18353 test -z "$ac_c_werror_flag" ||
18354 test ! -s conftest.err
18355 } && test -s conftest.$ac_objext; then
18356 ac_lo=$ac_mid; break
18357 else
18358 echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18360
18361 ac_hi=`expr '(' $ac_mid ')' - 1`
18362 if test $ac_mid -le $ac_hi; then
18363 ac_lo= ac_hi=
18364 break
18365 fi
18366 ac_mid=`expr 2 '*' $ac_mid`
18367 fi
18368
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 done
18371 else
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.$ac_ext >&5
18374
18375 ac_lo= ac_hi=
18376 fi
18377
18378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18379 fi
18380
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 # Binary search between lo and hi bounds.
18383 while test "x$ac_lo" != "x$ac_hi"; do
18384 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18385 cat >conftest.$ac_ext <<_ACEOF
18386 /* confdefs.h. */
18387 _ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18391 $ac_includes_default
18392 typedef short ac__type_sizeof_;
18393 int
18394 main ()
18395 {
18396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18397 test_array [0] = 0
18398
18399 ;
18400 return 0;
18401 }
18402 _ACEOF
18403 rm -f conftest.$ac_objext
18404 if { (ac_try="$ac_compile"
18405 case "(($ac_try" in
18406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18407 *) ac_try_echo=$ac_try;;
18408 esac
18409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18410 (eval "$ac_compile") 2>conftest.er1
18411 ac_status=$?
18412 grep -v '^ *+' conftest.er1 >conftest.err
18413 rm -f conftest.er1
18414 cat conftest.err >&5
18415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416 (exit $ac_status); } && {
18417 test -z "$ac_c_werror_flag" ||
18418 test ! -s conftest.err
18419 } && test -s conftest.$ac_objext; then
18420 ac_hi=$ac_mid
18421 else
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18424
18425 ac_lo=`expr '(' $ac_mid ')' + 1`
18426 fi
18427
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18429 done
18430 case $ac_lo in
18431 ?*) ac_cv_sizeof_short=$ac_lo;;
18432 '') if test "$ac_cv_type_short" = yes; then
18433 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18434 See \`config.log' for more details." >&5
18435 echo "$as_me: error: cannot compute sizeof (short)
18436 See \`config.log' for more details." >&2;}
18437 { (exit 77); exit 77; }; }
18438 else
18439 ac_cv_sizeof_short=0
18440 fi ;;
18441 esac
18442 else
18443 cat >conftest.$ac_ext <<_ACEOF
18444 /* confdefs.h. */
18445 _ACEOF
18446 cat confdefs.h >>conftest.$ac_ext
18447 cat >>conftest.$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18449 $ac_includes_default
18450 typedef short ac__type_sizeof_;
18451 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18452 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18453 #include <stdio.h>
18454 #include <stdlib.h>
18455 int
18456 main ()
18457 {
18458
18459 FILE *f = fopen ("conftest.val", "w");
18460 if (! f)
18461 return 1;
18462 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18463 {
18464 long int i = longval ();
18465 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18466 return 1;
18467 fprintf (f, "%ld\n", i);
18468 }
18469 else
18470 {
18471 unsigned long int i = ulongval ();
18472 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18473 return 1;
18474 fprintf (f, "%lu\n", i);
18475 }
18476 return ferror (f) || fclose (f) != 0;
18477
18478 ;
18479 return 0;
18480 }
18481 _ACEOF
18482 rm -f conftest$ac_exeext
18483 if { (ac_try="$ac_link"
18484 case "(($ac_try" in
18485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18486 *) ac_try_echo=$ac_try;;
18487 esac
18488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18489 (eval "$ac_link") 2>&5
18490 ac_status=$?
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18493 { (case "(($ac_try" in
18494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18495 *) ac_try_echo=$ac_try;;
18496 esac
18497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18498 (eval "$ac_try") 2>&5
18499 ac_status=$?
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); }; }; then
18502 ac_cv_sizeof_short=`cat conftest.val`
18503 else
18504 echo "$as_me: program exited with status $ac_status" >&5
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18507
18508 ( exit $ac_status )
18509 if test "$ac_cv_type_short" = yes; then
18510 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18511 See \`config.log' for more details." >&5
18512 echo "$as_me: error: cannot compute sizeof (short)
18513 See \`config.log' for more details." >&2;}
18514 { (exit 77); exit 77; }; }
18515 else
18516 ac_cv_sizeof_short=0
18517 fi
18518 fi
18519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18520 fi
18521 rm -f conftest.val
18522 fi
18523 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18524 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18525
18526
18527
18528 cat >>confdefs.h <<_ACEOF
18529 #define SIZEOF_SHORT $ac_cv_sizeof_short
18530 _ACEOF
18531
18532
18533 { echo "$as_me:$LINENO: checking for void *" >&5
18534 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18535 if test "${ac_cv_type_void_p+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18537 else
18538 cat >conftest.$ac_ext <<_ACEOF
18539 /* confdefs.h. */
18540 _ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 $ac_includes_default
18545 typedef void * ac__type_new_;
18546 int
18547 main ()
18548 {
18549 if ((ac__type_new_ *) 0)
18550 return 0;
18551 if (sizeof (ac__type_new_))
18552 return 0;
18553 ;
18554 return 0;
18555 }
18556 _ACEOF
18557 rm -f conftest.$ac_objext
18558 if { (ac_try="$ac_compile"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18562 esac
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_compile") 2>conftest.er1
18565 ac_status=$?
18566 grep -v '^ *+' conftest.er1 >conftest.err
18567 rm -f conftest.er1
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } && {
18571 test -z "$ac_c_werror_flag" ||
18572 test ! -s conftest.err
18573 } && test -s conftest.$ac_objext; then
18574 ac_cv_type_void_p=yes
18575 else
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18578
18579 ac_cv_type_void_p=no
18580 fi
18581
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18583 fi
18584 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18585 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18586
18587 # The cast to long int works around a bug in the HP C Compiler
18588 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18589 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18590 # This bug is HP SR number 8606223364.
18591 { echo "$as_me:$LINENO: checking size of void *" >&5
18592 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18593 if test "${ac_cv_sizeof_void_p+set}" = set; then
18594 echo $ECHO_N "(cached) $ECHO_C" >&6
18595 else
18596 if test "$cross_compiling" = yes; then
18597 # Depending upon the size, compute the lo and hi bounds.
18598 cat >conftest.$ac_ext <<_ACEOF
18599 /* confdefs.h. */
18600 _ACEOF
18601 cat confdefs.h >>conftest.$ac_ext
18602 cat >>conftest.$ac_ext <<_ACEOF
18603 /* end confdefs.h. */
18604 $ac_includes_default
18605 typedef void * ac__type_sizeof_;
18606 int
18607 main ()
18608 {
18609 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18610 test_array [0] = 0
18611
18612 ;
18613 return 0;
18614 }
18615 _ACEOF
18616 rm -f conftest.$ac_objext
18617 if { (ac_try="$ac_compile"
18618 case "(($ac_try" in
18619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18620 *) ac_try_echo=$ac_try;;
18621 esac
18622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18623 (eval "$ac_compile") 2>conftest.er1
18624 ac_status=$?
18625 grep -v '^ *+' conftest.er1 >conftest.err
18626 rm -f conftest.er1
18627 cat conftest.err >&5
18628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18629 (exit $ac_status); } && {
18630 test -z "$ac_c_werror_flag" ||
18631 test ! -s conftest.err
18632 } && test -s conftest.$ac_objext; then
18633 ac_lo=0 ac_mid=0
18634 while :; do
18635 cat >conftest.$ac_ext <<_ACEOF
18636 /* confdefs.h. */
18637 _ACEOF
18638 cat confdefs.h >>conftest.$ac_ext
18639 cat >>conftest.$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 $ac_includes_default
18642 typedef void * ac__type_sizeof_;
18643 int
18644 main ()
18645 {
18646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18647 test_array [0] = 0
18648
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest.$ac_objext
18654 if { (ac_try="$ac_compile"
18655 case "(($ac_try" in
18656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657 *) ac_try_echo=$ac_try;;
18658 esac
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660 (eval "$ac_compile") 2>conftest.er1
18661 ac_status=$?
18662 grep -v '^ *+' conftest.er1 >conftest.err
18663 rm -f conftest.er1
18664 cat conftest.err >&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } && {
18667 test -z "$ac_c_werror_flag" ||
18668 test ! -s conftest.err
18669 } && test -s conftest.$ac_objext; then
18670 ac_hi=$ac_mid; break
18671 else
18672 echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675 ac_lo=`expr $ac_mid + 1`
18676 if test $ac_lo -le $ac_mid; then
18677 ac_lo= ac_hi=
18678 break
18679 fi
18680 ac_mid=`expr 2 '*' $ac_mid + 1`
18681 fi
18682
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 done
18685 else
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18688
18689 cat >conftest.$ac_ext <<_ACEOF
18690 /* confdefs.h. */
18691 _ACEOF
18692 cat confdefs.h >>conftest.$ac_ext
18693 cat >>conftest.$ac_ext <<_ACEOF
18694 /* end confdefs.h. */
18695 $ac_includes_default
18696 typedef void * ac__type_sizeof_;
18697 int
18698 main ()
18699 {
18700 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18701 test_array [0] = 0
18702
18703 ;
18704 return 0;
18705 }
18706 _ACEOF
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18712 esac
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18715 ac_status=$?
18716 grep -v '^ *+' conftest.er1 >conftest.err
18717 rm -f conftest.er1
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_c_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.$ac_objext; then
18724 ac_hi=-1 ac_mid=-1
18725 while :; do
18726 cat >conftest.$ac_ext <<_ACEOF
18727 /* confdefs.h. */
18728 _ACEOF
18729 cat confdefs.h >>conftest.$ac_ext
18730 cat >>conftest.$ac_ext <<_ACEOF
18731 /* end confdefs.h. */
18732 $ac_includes_default
18733 typedef void * ac__type_sizeof_;
18734 int
18735 main ()
18736 {
18737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18738 test_array [0] = 0
18739
18740 ;
18741 return 0;
18742 }
18743 _ACEOF
18744 rm -f conftest.$ac_objext
18745 if { (ac_try="$ac_compile"
18746 case "(($ac_try" in
18747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18748 *) ac_try_echo=$ac_try;;
18749 esac
18750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18751 (eval "$ac_compile") 2>conftest.er1
18752 ac_status=$?
18753 grep -v '^ *+' conftest.er1 >conftest.err
18754 rm -f conftest.er1
18755 cat conftest.err >&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } && {
18758 test -z "$ac_c_werror_flag" ||
18759 test ! -s conftest.err
18760 } && test -s conftest.$ac_objext; then
18761 ac_lo=$ac_mid; break
18762 else
18763 echo "$as_me: failed program was:" >&5
18764 sed 's/^/| /' conftest.$ac_ext >&5
18765
18766 ac_hi=`expr '(' $ac_mid ')' - 1`
18767 if test $ac_mid -le $ac_hi; then
18768 ac_lo= ac_hi=
18769 break
18770 fi
18771 ac_mid=`expr 2 '*' $ac_mid`
18772 fi
18773
18774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18775 done
18776 else
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18779
18780 ac_lo= ac_hi=
18781 fi
18782
18783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18784 fi
18785
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18787 # Binary search between lo and hi bounds.
18788 while test "x$ac_lo" != "x$ac_hi"; do
18789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18790 cat >conftest.$ac_ext <<_ACEOF
18791 /* confdefs.h. */
18792 _ACEOF
18793 cat confdefs.h >>conftest.$ac_ext
18794 cat >>conftest.$ac_ext <<_ACEOF
18795 /* end confdefs.h. */
18796 $ac_includes_default
18797 typedef void * ac__type_sizeof_;
18798 int
18799 main ()
18800 {
18801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18802 test_array [0] = 0
18803
18804 ;
18805 return 0;
18806 }
18807 _ACEOF
18808 rm -f conftest.$ac_objext
18809 if { (ac_try="$ac_compile"
18810 case "(($ac_try" in
18811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18812 *) ac_try_echo=$ac_try;;
18813 esac
18814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18815 (eval "$ac_compile") 2>conftest.er1
18816 ac_status=$?
18817 grep -v '^ *+' conftest.er1 >conftest.err
18818 rm -f conftest.er1
18819 cat conftest.err >&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } && {
18822 test -z "$ac_c_werror_flag" ||
18823 test ! -s conftest.err
18824 } && test -s conftest.$ac_objext; then
18825 ac_hi=$ac_mid
18826 else
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18829
18830 ac_lo=`expr '(' $ac_mid ')' + 1`
18831 fi
18832
18833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18834 done
18835 case $ac_lo in
18836 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18837 '') if test "$ac_cv_type_void_p" = yes; then
18838 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18839 See \`config.log' for more details." >&5
18840 echo "$as_me: error: cannot compute sizeof (void *)
18841 See \`config.log' for more details." >&2;}
18842 { (exit 77); exit 77; }; }
18843 else
18844 ac_cv_sizeof_void_p=0
18845 fi ;;
18846 esac
18847 else
18848 cat >conftest.$ac_ext <<_ACEOF
18849 /* confdefs.h. */
18850 _ACEOF
18851 cat confdefs.h >>conftest.$ac_ext
18852 cat >>conftest.$ac_ext <<_ACEOF
18853 /* end confdefs.h. */
18854 $ac_includes_default
18855 typedef void * ac__type_sizeof_;
18856 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18857 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18858 #include <stdio.h>
18859 #include <stdlib.h>
18860 int
18861 main ()
18862 {
18863
18864 FILE *f = fopen ("conftest.val", "w");
18865 if (! f)
18866 return 1;
18867 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18868 {
18869 long int i = longval ();
18870 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18871 return 1;
18872 fprintf (f, "%ld\n", i);
18873 }
18874 else
18875 {
18876 unsigned long int i = ulongval ();
18877 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18878 return 1;
18879 fprintf (f, "%lu\n", i);
18880 }
18881 return ferror (f) || fclose (f) != 0;
18882
18883 ;
18884 return 0;
18885 }
18886 _ACEOF
18887 rm -f conftest$ac_exeext
18888 if { (ac_try="$ac_link"
18889 case "(($ac_try" in
18890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18891 *) ac_try_echo=$ac_try;;
18892 esac
18893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18894 (eval "$ac_link") 2>&5
18895 ac_status=$?
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18898 { (case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18901 esac
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_try") 2>&5
18904 ac_status=$?
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_cv_sizeof_void_p=`cat conftest.val`
18908 else
18909 echo "$as_me: program exited with status $ac_status" >&5
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18912
18913 ( exit $ac_status )
18914 if test "$ac_cv_type_void_p" = yes; then
18915 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18916 See \`config.log' for more details." >&5
18917 echo "$as_me: error: cannot compute sizeof (void *)
18918 See \`config.log' for more details." >&2;}
18919 { (exit 77); exit 77; }; }
18920 else
18921 ac_cv_sizeof_void_p=0
18922 fi
18923 fi
18924 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18925 fi
18926 rm -f conftest.val
18927 fi
18928 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18929 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18930
18931
18932
18933 cat >>confdefs.h <<_ACEOF
18934 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18935 _ACEOF
18936
18937
18938 { echo "$as_me:$LINENO: checking for int" >&5
18939 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18940 if test "${ac_cv_type_int+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 else
18943 cat >conftest.$ac_ext <<_ACEOF
18944 /* confdefs.h. */
18945 _ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 $ac_includes_default
18950 typedef int ac__type_new_;
18951 int
18952 main ()
18953 {
18954 if ((ac__type_new_ *) 0)
18955 return 0;
18956 if (sizeof (ac__type_new_))
18957 return 0;
18958 ;
18959 return 0;
18960 }
18961 _ACEOF
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18966 *) ac_try_echo=$ac_try;;
18967 esac
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18970 ac_status=$?
18971 grep -v '^ *+' conftest.er1 >conftest.err
18972 rm -f conftest.er1
18973 cat conftest.err >&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_c_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.$ac_objext; then
18979 ac_cv_type_int=yes
18980 else
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18983
18984 ac_cv_type_int=no
18985 fi
18986
18987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18988 fi
18989 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18990 echo "${ECHO_T}$ac_cv_type_int" >&6; }
18991
18992 # The cast to long int works around a bug in the HP C Compiler
18993 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18994 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18995 # This bug is HP SR number 8606223364.
18996 { echo "$as_me:$LINENO: checking size of int" >&5
18997 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
18998 if test "${ac_cv_sizeof_int+set}" = set; then
18999 echo $ECHO_N "(cached) $ECHO_C" >&6
19000 else
19001 if test "$cross_compiling" = yes; then
19002 # Depending upon the size, compute the lo and hi bounds.
19003 cat >conftest.$ac_ext <<_ACEOF
19004 /* confdefs.h. */
19005 _ACEOF
19006 cat confdefs.h >>conftest.$ac_ext
19007 cat >>conftest.$ac_ext <<_ACEOF
19008 /* end confdefs.h. */
19009 $ac_includes_default
19010 typedef int ac__type_sizeof_;
19011 int
19012 main ()
19013 {
19014 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19015 test_array [0] = 0
19016
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 rm -f conftest.$ac_objext
19022 if { (ac_try="$ac_compile"
19023 case "(($ac_try" in
19024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19025 *) ac_try_echo=$ac_try;;
19026 esac
19027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19028 (eval "$ac_compile") 2>conftest.er1
19029 ac_status=$?
19030 grep -v '^ *+' conftest.er1 >conftest.err
19031 rm -f conftest.er1
19032 cat conftest.err >&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); } && {
19035 test -z "$ac_c_werror_flag" ||
19036 test ! -s conftest.err
19037 } && test -s conftest.$ac_objext; then
19038 ac_lo=0 ac_mid=0
19039 while :; do
19040 cat >conftest.$ac_ext <<_ACEOF
19041 /* confdefs.h. */
19042 _ACEOF
19043 cat confdefs.h >>conftest.$ac_ext
19044 cat >>conftest.$ac_ext <<_ACEOF
19045 /* end confdefs.h. */
19046 $ac_includes_default
19047 typedef int ac__type_sizeof_;
19048 int
19049 main ()
19050 {
19051 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19052 test_array [0] = 0
19053
19054 ;
19055 return 0;
19056 }
19057 _ACEOF
19058 rm -f conftest.$ac_objext
19059 if { (ac_try="$ac_compile"
19060 case "(($ac_try" in
19061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19062 *) ac_try_echo=$ac_try;;
19063 esac
19064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19065 (eval "$ac_compile") 2>conftest.er1
19066 ac_status=$?
19067 grep -v '^ *+' conftest.er1 >conftest.err
19068 rm -f conftest.er1
19069 cat conftest.err >&5
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); } && {
19072 test -z "$ac_c_werror_flag" ||
19073 test ! -s conftest.err
19074 } && test -s conftest.$ac_objext; then
19075 ac_hi=$ac_mid; break
19076 else
19077 echo "$as_me: failed program was:" >&5
19078 sed 's/^/| /' conftest.$ac_ext >&5
19079
19080 ac_lo=`expr $ac_mid + 1`
19081 if test $ac_lo -le $ac_mid; then
19082 ac_lo= ac_hi=
19083 break
19084 fi
19085 ac_mid=`expr 2 '*' $ac_mid + 1`
19086 fi
19087
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19089 done
19090 else
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.$ac_ext >&5
19093
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 $ac_includes_default
19101 typedef int ac__type_sizeof_;
19102 int
19103 main ()
19104 {
19105 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19106 test_array [0] = 0
19107
19108 ;
19109 return 0;
19110 }
19111 _ACEOF
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19117 esac
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 ac_hi=-1 ac_mid=-1
19130 while :; do
19131 cat >conftest.$ac_ext <<_ACEOF
19132 /* confdefs.h. */
19133 _ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 $ac_includes_default
19138 typedef int ac__type_sizeof_;
19139 int
19140 main ()
19141 {
19142 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19143 test_array [0] = 0
19144
19145 ;
19146 return 0;
19147 }
19148 _ACEOF
19149 rm -f conftest.$ac_objext
19150 if { (ac_try="$ac_compile"
19151 case "(($ac_try" in
19152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19153 *) ac_try_echo=$ac_try;;
19154 esac
19155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19156 (eval "$ac_compile") 2>conftest.er1
19157 ac_status=$?
19158 grep -v '^ *+' conftest.er1 >conftest.err
19159 rm -f conftest.er1
19160 cat conftest.err >&5
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); } && {
19163 test -z "$ac_c_werror_flag" ||
19164 test ! -s conftest.err
19165 } && test -s conftest.$ac_objext; then
19166 ac_lo=$ac_mid; break
19167 else
19168 echo "$as_me: failed program was:" >&5
19169 sed 's/^/| /' conftest.$ac_ext >&5
19170
19171 ac_hi=`expr '(' $ac_mid ')' - 1`
19172 if test $ac_mid -le $ac_hi; then
19173 ac_lo= ac_hi=
19174 break
19175 fi
19176 ac_mid=`expr 2 '*' $ac_mid`
19177 fi
19178
19179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19180 done
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19184
19185 ac_lo= ac_hi=
19186 fi
19187
19188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19189 fi
19190
19191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192 # Binary search between lo and hi bounds.
19193 while test "x$ac_lo" != "x$ac_hi"; do
19194 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19195 cat >conftest.$ac_ext <<_ACEOF
19196 /* confdefs.h. */
19197 _ACEOF
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19201 $ac_includes_default
19202 typedef int ac__type_sizeof_;
19203 int
19204 main ()
19205 {
19206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19207 test_array [0] = 0
19208
19209 ;
19210 return 0;
19211 }
19212 _ACEOF
19213 rm -f conftest.$ac_objext
19214 if { (ac_try="$ac_compile"
19215 case "(($ac_try" in
19216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19217 *) ac_try_echo=$ac_try;;
19218 esac
19219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19220 (eval "$ac_compile") 2>conftest.er1
19221 ac_status=$?
19222 grep -v '^ *+' conftest.er1 >conftest.err
19223 rm -f conftest.er1
19224 cat conftest.err >&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } && {
19227 test -z "$ac_c_werror_flag" ||
19228 test ! -s conftest.err
19229 } && test -s conftest.$ac_objext; then
19230 ac_hi=$ac_mid
19231 else
19232 echo "$as_me: failed program was:" >&5
19233 sed 's/^/| /' conftest.$ac_ext >&5
19234
19235 ac_lo=`expr '(' $ac_mid ')' + 1`
19236 fi
19237
19238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19239 done
19240 case $ac_lo in
19241 ?*) ac_cv_sizeof_int=$ac_lo;;
19242 '') if test "$ac_cv_type_int" = yes; then
19243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19244 See \`config.log' for more details." >&5
19245 echo "$as_me: error: cannot compute sizeof (int)
19246 See \`config.log' for more details." >&2;}
19247 { (exit 77); exit 77; }; }
19248 else
19249 ac_cv_sizeof_int=0
19250 fi ;;
19251 esac
19252 else
19253 cat >conftest.$ac_ext <<_ACEOF
19254 /* confdefs.h. */
19255 _ACEOF
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19259 $ac_includes_default
19260 typedef int ac__type_sizeof_;
19261 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19262 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19263 #include <stdio.h>
19264 #include <stdlib.h>
19265 int
19266 main ()
19267 {
19268
19269 FILE *f = fopen ("conftest.val", "w");
19270 if (! f)
19271 return 1;
19272 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19273 {
19274 long int i = longval ();
19275 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19276 return 1;
19277 fprintf (f, "%ld\n", i);
19278 }
19279 else
19280 {
19281 unsigned long int i = ulongval ();
19282 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19283 return 1;
19284 fprintf (f, "%lu\n", i);
19285 }
19286 return ferror (f) || fclose (f) != 0;
19287
19288 ;
19289 return 0;
19290 }
19291 _ACEOF
19292 rm -f conftest$ac_exeext
19293 if { (ac_try="$ac_link"
19294 case "(($ac_try" in
19295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19296 *) ac_try_echo=$ac_try;;
19297 esac
19298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19299 (eval "$ac_link") 2>&5
19300 ac_status=$?
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19303 { (case "(($ac_try" in
19304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19305 *) ac_try_echo=$ac_try;;
19306 esac
19307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19308 (eval "$ac_try") 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; }; then
19312 ac_cv_sizeof_int=`cat conftest.val`
19313 else
19314 echo "$as_me: program exited with status $ac_status" >&5
19315 echo "$as_me: failed program was:" >&5
19316 sed 's/^/| /' conftest.$ac_ext >&5
19317
19318 ( exit $ac_status )
19319 if test "$ac_cv_type_int" = yes; then
19320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19321 See \`config.log' for more details." >&5
19322 echo "$as_me: error: cannot compute sizeof (int)
19323 See \`config.log' for more details." >&2;}
19324 { (exit 77); exit 77; }; }
19325 else
19326 ac_cv_sizeof_int=0
19327 fi
19328 fi
19329 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19330 fi
19331 rm -f conftest.val
19332 fi
19333 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19334 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19335
19336
19337
19338 cat >>confdefs.h <<_ACEOF
19339 #define SIZEOF_INT $ac_cv_sizeof_int
19340 _ACEOF
19341
19342
19343 { echo "$as_me:$LINENO: checking for long" >&5
19344 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19345 if test "${ac_cv_type_long+set}" = set; then
19346 echo $ECHO_N "(cached) $ECHO_C" >&6
19347 else
19348 cat >conftest.$ac_ext <<_ACEOF
19349 /* confdefs.h. */
19350 _ACEOF
19351 cat confdefs.h >>conftest.$ac_ext
19352 cat >>conftest.$ac_ext <<_ACEOF
19353 /* end confdefs.h. */
19354 $ac_includes_default
19355 typedef long ac__type_new_;
19356 int
19357 main ()
19358 {
19359 if ((ac__type_new_ *) 0)
19360 return 0;
19361 if (sizeof (ac__type_new_))
19362 return 0;
19363 ;
19364 return 0;
19365 }
19366 _ACEOF
19367 rm -f conftest.$ac_objext
19368 if { (ac_try="$ac_compile"
19369 case "(($ac_try" in
19370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19371 *) ac_try_echo=$ac_try;;
19372 esac
19373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19374 (eval "$ac_compile") 2>conftest.er1
19375 ac_status=$?
19376 grep -v '^ *+' conftest.er1 >conftest.err
19377 rm -f conftest.er1
19378 cat conftest.err >&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); } && {
19381 test -z "$ac_c_werror_flag" ||
19382 test ! -s conftest.err
19383 } && test -s conftest.$ac_objext; then
19384 ac_cv_type_long=yes
19385 else
19386 echo "$as_me: failed program was:" >&5
19387 sed 's/^/| /' conftest.$ac_ext >&5
19388
19389 ac_cv_type_long=no
19390 fi
19391
19392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19393 fi
19394 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19395 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19396
19397 # The cast to long int works around a bug in the HP C Compiler
19398 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19399 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19400 # This bug is HP SR number 8606223364.
19401 { echo "$as_me:$LINENO: checking size of long" >&5
19402 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19403 if test "${ac_cv_sizeof_long+set}" = set; then
19404 echo $ECHO_N "(cached) $ECHO_C" >&6
19405 else
19406 if test "$cross_compiling" = yes; then
19407 # Depending upon the size, compute the lo and hi bounds.
19408 cat >conftest.$ac_ext <<_ACEOF
19409 /* confdefs.h. */
19410 _ACEOF
19411 cat confdefs.h >>conftest.$ac_ext
19412 cat >>conftest.$ac_ext <<_ACEOF
19413 /* end confdefs.h. */
19414 $ac_includes_default
19415 typedef long ac__type_sizeof_;
19416 int
19417 main ()
19418 {
19419 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19420 test_array [0] = 0
19421
19422 ;
19423 return 0;
19424 }
19425 _ACEOF
19426 rm -f conftest.$ac_objext
19427 if { (ac_try="$ac_compile"
19428 case "(($ac_try" in
19429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19430 *) ac_try_echo=$ac_try;;
19431 esac
19432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19433 (eval "$ac_compile") 2>conftest.er1
19434 ac_status=$?
19435 grep -v '^ *+' conftest.er1 >conftest.err
19436 rm -f conftest.er1
19437 cat conftest.err >&5
19438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19439 (exit $ac_status); } && {
19440 test -z "$ac_c_werror_flag" ||
19441 test ! -s conftest.err
19442 } && test -s conftest.$ac_objext; then
19443 ac_lo=0 ac_mid=0
19444 while :; do
19445 cat >conftest.$ac_ext <<_ACEOF
19446 /* confdefs.h. */
19447 _ACEOF
19448 cat confdefs.h >>conftest.$ac_ext
19449 cat >>conftest.$ac_ext <<_ACEOF
19450 /* end confdefs.h. */
19451 $ac_includes_default
19452 typedef long ac__type_sizeof_;
19453 int
19454 main ()
19455 {
19456 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19457 test_array [0] = 0
19458
19459 ;
19460 return 0;
19461 }
19462 _ACEOF
19463 rm -f conftest.$ac_objext
19464 if { (ac_try="$ac_compile"
19465 case "(($ac_try" in
19466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19467 *) ac_try_echo=$ac_try;;
19468 esac
19469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19470 (eval "$ac_compile") 2>conftest.er1
19471 ac_status=$?
19472 grep -v '^ *+' conftest.er1 >conftest.err
19473 rm -f conftest.er1
19474 cat conftest.err >&5
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); } && {
19477 test -z "$ac_c_werror_flag" ||
19478 test ! -s conftest.err
19479 } && test -s conftest.$ac_objext; then
19480 ac_hi=$ac_mid; break
19481 else
19482 echo "$as_me: failed program was:" >&5
19483 sed 's/^/| /' conftest.$ac_ext >&5
19484
19485 ac_lo=`expr $ac_mid + 1`
19486 if test $ac_lo -le $ac_mid; then
19487 ac_lo= ac_hi=
19488 break
19489 fi
19490 ac_mid=`expr 2 '*' $ac_mid + 1`
19491 fi
19492
19493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19494 done
19495 else
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19498
19499 cat >conftest.$ac_ext <<_ACEOF
19500 /* confdefs.h. */
19501 _ACEOF
19502 cat confdefs.h >>conftest.$ac_ext
19503 cat >>conftest.$ac_ext <<_ACEOF
19504 /* end confdefs.h. */
19505 $ac_includes_default
19506 typedef long ac__type_sizeof_;
19507 int
19508 main ()
19509 {
19510 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19511 test_array [0] = 0
19512
19513 ;
19514 return 0;
19515 }
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19522 esac
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19525 ac_status=$?
19526 grep -v '^ *+' conftest.er1 >conftest.err
19527 rm -f conftest.er1
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19534 ac_hi=-1 ac_mid=-1
19535 while :; do
19536 cat >conftest.$ac_ext <<_ACEOF
19537 /* confdefs.h. */
19538 _ACEOF
19539 cat confdefs.h >>conftest.$ac_ext
19540 cat >>conftest.$ac_ext <<_ACEOF
19541 /* end confdefs.h. */
19542 $ac_includes_default
19543 typedef long ac__type_sizeof_;
19544 int
19545 main ()
19546 {
19547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19548 test_array [0] = 0
19549
19550 ;
19551 return 0;
19552 }
19553 _ACEOF
19554 rm -f conftest.$ac_objext
19555 if { (ac_try="$ac_compile"
19556 case "(($ac_try" in
19557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19558 *) ac_try_echo=$ac_try;;
19559 esac
19560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19561 (eval "$ac_compile") 2>conftest.er1
19562 ac_status=$?
19563 grep -v '^ *+' conftest.er1 >conftest.err
19564 rm -f conftest.er1
19565 cat conftest.err >&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } && {
19568 test -z "$ac_c_werror_flag" ||
19569 test ! -s conftest.err
19570 } && test -s conftest.$ac_objext; then
19571 ac_lo=$ac_mid; break
19572 else
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19575
19576 ac_hi=`expr '(' $ac_mid ')' - 1`
19577 if test $ac_mid -le $ac_hi; then
19578 ac_lo= ac_hi=
19579 break
19580 fi
19581 ac_mid=`expr 2 '*' $ac_mid`
19582 fi
19583
19584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19585 done
19586 else
19587 echo "$as_me: failed program was:" >&5
19588 sed 's/^/| /' conftest.$ac_ext >&5
19589
19590 ac_lo= ac_hi=
19591 fi
19592
19593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19594 fi
19595
19596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19597 # Binary search between lo and hi bounds.
19598 while test "x$ac_lo" != "x$ac_hi"; do
19599 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19600 cat >conftest.$ac_ext <<_ACEOF
19601 /* confdefs.h. */
19602 _ACEOF
19603 cat confdefs.h >>conftest.$ac_ext
19604 cat >>conftest.$ac_ext <<_ACEOF
19605 /* end confdefs.h. */
19606 $ac_includes_default
19607 typedef long ac__type_sizeof_;
19608 int
19609 main ()
19610 {
19611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19612 test_array [0] = 0
19613
19614 ;
19615 return 0;
19616 }
19617 _ACEOF
19618 rm -f conftest.$ac_objext
19619 if { (ac_try="$ac_compile"
19620 case "(($ac_try" in
19621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19622 *) ac_try_echo=$ac_try;;
19623 esac
19624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19625 (eval "$ac_compile") 2>conftest.er1
19626 ac_status=$?
19627 grep -v '^ *+' conftest.er1 >conftest.err
19628 rm -f conftest.er1
19629 cat conftest.err >&5
19630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19631 (exit $ac_status); } && {
19632 test -z "$ac_c_werror_flag" ||
19633 test ! -s conftest.err
19634 } && test -s conftest.$ac_objext; then
19635 ac_hi=$ac_mid
19636 else
19637 echo "$as_me: failed program was:" >&5
19638 sed 's/^/| /' conftest.$ac_ext >&5
19639
19640 ac_lo=`expr '(' $ac_mid ')' + 1`
19641 fi
19642
19643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19644 done
19645 case $ac_lo in
19646 ?*) ac_cv_sizeof_long=$ac_lo;;
19647 '') if test "$ac_cv_type_long" = yes; then
19648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19649 See \`config.log' for more details." >&5
19650 echo "$as_me: error: cannot compute sizeof (long)
19651 See \`config.log' for more details." >&2;}
19652 { (exit 77); exit 77; }; }
19653 else
19654 ac_cv_sizeof_long=0
19655 fi ;;
19656 esac
19657 else
19658 cat >conftest.$ac_ext <<_ACEOF
19659 /* confdefs.h. */
19660 _ACEOF
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 $ac_includes_default
19665 typedef long ac__type_sizeof_;
19666 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19667 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19668 #include <stdio.h>
19669 #include <stdlib.h>
19670 int
19671 main ()
19672 {
19673
19674 FILE *f = fopen ("conftest.val", "w");
19675 if (! f)
19676 return 1;
19677 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19678 {
19679 long int i = longval ();
19680 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19681 return 1;
19682 fprintf (f, "%ld\n", i);
19683 }
19684 else
19685 {
19686 unsigned long int i = ulongval ();
19687 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19688 return 1;
19689 fprintf (f, "%lu\n", i);
19690 }
19691 return ferror (f) || fclose (f) != 0;
19692
19693 ;
19694 return 0;
19695 }
19696 _ACEOF
19697 rm -f conftest$ac_exeext
19698 if { (ac_try="$ac_link"
19699 case "(($ac_try" in
19700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19701 *) ac_try_echo=$ac_try;;
19702 esac
19703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19704 (eval "$ac_link") 2>&5
19705 ac_status=$?
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19708 { (case "(($ac_try" in
19709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19710 *) ac_try_echo=$ac_try;;
19711 esac
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_try") 2>&5
19714 ac_status=$?
19715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19716 (exit $ac_status); }; }; then
19717 ac_cv_sizeof_long=`cat conftest.val`
19718 else
19719 echo "$as_me: program exited with status $ac_status" >&5
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19722
19723 ( exit $ac_status )
19724 if test "$ac_cv_type_long" = yes; then
19725 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19726 See \`config.log' for more details." >&5
19727 echo "$as_me: error: cannot compute sizeof (long)
19728 See \`config.log' for more details." >&2;}
19729 { (exit 77); exit 77; }; }
19730 else
19731 ac_cv_sizeof_long=0
19732 fi
19733 fi
19734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19735 fi
19736 rm -f conftest.val
19737 fi
19738 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19739 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19740
19741
19742
19743 cat >>confdefs.h <<_ACEOF
19744 #define SIZEOF_LONG $ac_cv_sizeof_long
19745 _ACEOF
19746
19747
19748 { echo "$as_me:$LINENO: checking for size_t" >&5
19749 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19750 if test "${ac_cv_type_size_t+set}" = set; then
19751 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 else
19753 cat >conftest.$ac_ext <<_ACEOF
19754 /* confdefs.h. */
19755 _ACEOF
19756 cat confdefs.h >>conftest.$ac_ext
19757 cat >>conftest.$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19760 typedef size_t ac__type_new_;
19761 int
19762 main ()
19763 {
19764 if ((ac__type_new_ *) 0)
19765 return 0;
19766 if (sizeof (ac__type_new_))
19767 return 0;
19768 ;
19769 return 0;
19770 }
19771 _ACEOF
19772 rm -f conftest.$ac_objext
19773 if { (ac_try="$ac_compile"
19774 case "(($ac_try" in
19775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19776 *) ac_try_echo=$ac_try;;
19777 esac
19778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19779 (eval "$ac_compile") 2>conftest.er1
19780 ac_status=$?
19781 grep -v '^ *+' conftest.er1 >conftest.err
19782 rm -f conftest.er1
19783 cat conftest.err >&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); } && {
19786 test -z "$ac_c_werror_flag" ||
19787 test ! -s conftest.err
19788 } && test -s conftest.$ac_objext; then
19789 ac_cv_type_size_t=yes
19790 else
19791 echo "$as_me: failed program was:" >&5
19792 sed 's/^/| /' conftest.$ac_ext >&5
19793
19794 ac_cv_type_size_t=no
19795 fi
19796
19797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19798 fi
19799 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19800 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19801
19802 # The cast to long int works around a bug in the HP C Compiler
19803 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19804 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19805 # This bug is HP SR number 8606223364.
19806 { echo "$as_me:$LINENO: checking size of size_t" >&5
19807 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19808 if test "${ac_cv_sizeof_size_t+set}" = set; then
19809 echo $ECHO_N "(cached) $ECHO_C" >&6
19810 else
19811 if test "$cross_compiling" = yes; then
19812 # Depending upon the size, compute the lo and hi bounds.
19813 cat >conftest.$ac_ext <<_ACEOF
19814 /* confdefs.h. */
19815 _ACEOF
19816 cat confdefs.h >>conftest.$ac_ext
19817 cat >>conftest.$ac_ext <<_ACEOF
19818 /* end confdefs.h. */
19819 $ac_includes_default
19820 typedef size_t ac__type_sizeof_;
19821 int
19822 main ()
19823 {
19824 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19825 test_array [0] = 0
19826
19827 ;
19828 return 0;
19829 }
19830 _ACEOF
19831 rm -f conftest.$ac_objext
19832 if { (ac_try="$ac_compile"
19833 case "(($ac_try" in
19834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19835 *) ac_try_echo=$ac_try;;
19836 esac
19837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19838 (eval "$ac_compile") 2>conftest.er1
19839 ac_status=$?
19840 grep -v '^ *+' conftest.er1 >conftest.err
19841 rm -f conftest.er1
19842 cat conftest.err >&5
19843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19844 (exit $ac_status); } && {
19845 test -z "$ac_c_werror_flag" ||
19846 test ! -s conftest.err
19847 } && test -s conftest.$ac_objext; then
19848 ac_lo=0 ac_mid=0
19849 while :; do
19850 cat >conftest.$ac_ext <<_ACEOF
19851 /* confdefs.h. */
19852 _ACEOF
19853 cat confdefs.h >>conftest.$ac_ext
19854 cat >>conftest.$ac_ext <<_ACEOF
19855 /* end confdefs.h. */
19856 $ac_includes_default
19857 typedef size_t ac__type_sizeof_;
19858 int
19859 main ()
19860 {
19861 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19862 test_array [0] = 0
19863
19864 ;
19865 return 0;
19866 }
19867 _ACEOF
19868 rm -f conftest.$ac_objext
19869 if { (ac_try="$ac_compile"
19870 case "(($ac_try" in
19871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19872 *) ac_try_echo=$ac_try;;
19873 esac
19874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19875 (eval "$ac_compile") 2>conftest.er1
19876 ac_status=$?
19877 grep -v '^ *+' conftest.er1 >conftest.err
19878 rm -f conftest.er1
19879 cat conftest.err >&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); } && {
19882 test -z "$ac_c_werror_flag" ||
19883 test ! -s conftest.err
19884 } && test -s conftest.$ac_objext; then
19885 ac_hi=$ac_mid; break
19886 else
19887 echo "$as_me: failed program was:" >&5
19888 sed 's/^/| /' conftest.$ac_ext >&5
19889
19890 ac_lo=`expr $ac_mid + 1`
19891 if test $ac_lo -le $ac_mid; then
19892 ac_lo= ac_hi=
19893 break
19894 fi
19895 ac_mid=`expr 2 '*' $ac_mid + 1`
19896 fi
19897
19898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19899 done
19900 else
19901 echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.$ac_ext >&5
19903
19904 cat >conftest.$ac_ext <<_ACEOF
19905 /* confdefs.h. */
19906 _ACEOF
19907 cat confdefs.h >>conftest.$ac_ext
19908 cat >>conftest.$ac_ext <<_ACEOF
19909 /* end confdefs.h. */
19910 $ac_includes_default
19911 typedef size_t ac__type_sizeof_;
19912 int
19913 main ()
19914 {
19915 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19916 test_array [0] = 0
19917
19918 ;
19919 return 0;
19920 }
19921 _ACEOF
19922 rm -f conftest.$ac_objext
19923 if { (ac_try="$ac_compile"
19924 case "(($ac_try" in
19925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19926 *) ac_try_echo=$ac_try;;
19927 esac
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_compile") 2>conftest.er1
19930 ac_status=$?
19931 grep -v '^ *+' conftest.er1 >conftest.err
19932 rm -f conftest.er1
19933 cat conftest.err >&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); } && {
19936 test -z "$ac_c_werror_flag" ||
19937 test ! -s conftest.err
19938 } && test -s conftest.$ac_objext; then
19939 ac_hi=-1 ac_mid=-1
19940 while :; do
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19948 typedef size_t ac__type_sizeof_;
19949 int
19950 main ()
19951 {
19952 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19953 test_array [0] = 0
19954
19955 ;
19956 return 0;
19957 }
19958 _ACEOF
19959 rm -f conftest.$ac_objext
19960 if { (ac_try="$ac_compile"
19961 case "(($ac_try" in
19962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19963 *) ac_try_echo=$ac_try;;
19964 esac
19965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19966 (eval "$ac_compile") 2>conftest.er1
19967 ac_status=$?
19968 grep -v '^ *+' conftest.er1 >conftest.err
19969 rm -f conftest.er1
19970 cat conftest.err >&5
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); } && {
19973 test -z "$ac_c_werror_flag" ||
19974 test ! -s conftest.err
19975 } && test -s conftest.$ac_objext; then
19976 ac_lo=$ac_mid; break
19977 else
19978 echo "$as_me: failed program was:" >&5
19979 sed 's/^/| /' conftest.$ac_ext >&5
19980
19981 ac_hi=`expr '(' $ac_mid ')' - 1`
19982 if test $ac_mid -le $ac_hi; then
19983 ac_lo= ac_hi=
19984 break
19985 fi
19986 ac_mid=`expr 2 '*' $ac_mid`
19987 fi
19988
19989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19990 done
19991 else
19992 echo "$as_me: failed program was:" >&5
19993 sed 's/^/| /' conftest.$ac_ext >&5
19994
19995 ac_lo= ac_hi=
19996 fi
19997
19998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19999 fi
20000
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20002 # Binary search between lo and hi bounds.
20003 while test "x$ac_lo" != "x$ac_hi"; do
20004 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20005 cat >conftest.$ac_ext <<_ACEOF
20006 /* confdefs.h. */
20007 _ACEOF
20008 cat confdefs.h >>conftest.$ac_ext
20009 cat >>conftest.$ac_ext <<_ACEOF
20010 /* end confdefs.h. */
20011 $ac_includes_default
20012 typedef size_t ac__type_sizeof_;
20013 int
20014 main ()
20015 {
20016 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20017 test_array [0] = 0
20018
20019 ;
20020 return 0;
20021 }
20022 _ACEOF
20023 rm -f conftest.$ac_objext
20024 if { (ac_try="$ac_compile"
20025 case "(($ac_try" in
20026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20027 *) ac_try_echo=$ac_try;;
20028 esac
20029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20030 (eval "$ac_compile") 2>conftest.er1
20031 ac_status=$?
20032 grep -v '^ *+' conftest.er1 >conftest.err
20033 rm -f conftest.er1
20034 cat conftest.err >&5
20035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20036 (exit $ac_status); } && {
20037 test -z "$ac_c_werror_flag" ||
20038 test ! -s conftest.err
20039 } && test -s conftest.$ac_objext; then
20040 ac_hi=$ac_mid
20041 else
20042 echo "$as_me: failed program was:" >&5
20043 sed 's/^/| /' conftest.$ac_ext >&5
20044
20045 ac_lo=`expr '(' $ac_mid ')' + 1`
20046 fi
20047
20048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20049 done
20050 case $ac_lo in
20051 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20052 '') if test "$ac_cv_type_size_t" = yes; then
20053 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20054 See \`config.log' for more details." >&5
20055 echo "$as_me: error: cannot compute sizeof (size_t)
20056 See \`config.log' for more details." >&2;}
20057 { (exit 77); exit 77; }; }
20058 else
20059 ac_cv_sizeof_size_t=0
20060 fi ;;
20061 esac
20062 else
20063 cat >conftest.$ac_ext <<_ACEOF
20064 /* confdefs.h. */
20065 _ACEOF
20066 cat confdefs.h >>conftest.$ac_ext
20067 cat >>conftest.$ac_ext <<_ACEOF
20068 /* end confdefs.h. */
20069 $ac_includes_default
20070 typedef size_t ac__type_sizeof_;
20071 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20072 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20073 #include <stdio.h>
20074 #include <stdlib.h>
20075 int
20076 main ()
20077 {
20078
20079 FILE *f = fopen ("conftest.val", "w");
20080 if (! f)
20081 return 1;
20082 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20083 {
20084 long int i = longval ();
20085 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20086 return 1;
20087 fprintf (f, "%ld\n", i);
20088 }
20089 else
20090 {
20091 unsigned long int i = ulongval ();
20092 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20093 return 1;
20094 fprintf (f, "%lu\n", i);
20095 }
20096 return ferror (f) || fclose (f) != 0;
20097
20098 ;
20099 return 0;
20100 }
20101 _ACEOF
20102 rm -f conftest$ac_exeext
20103 if { (ac_try="$ac_link"
20104 case "(($ac_try" in
20105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20106 *) ac_try_echo=$ac_try;;
20107 esac
20108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20109 (eval "$ac_link") 2>&5
20110 ac_status=$?
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20113 { (case "(($ac_try" in
20114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20115 *) ac_try_echo=$ac_try;;
20116 esac
20117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20118 (eval "$ac_try") 2>&5
20119 ac_status=$?
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); }; }; then
20122 ac_cv_sizeof_size_t=`cat conftest.val`
20123 else
20124 echo "$as_me: program exited with status $ac_status" >&5
20125 echo "$as_me: failed program was:" >&5
20126 sed 's/^/| /' conftest.$ac_ext >&5
20127
20128 ( exit $ac_status )
20129 if test "$ac_cv_type_size_t" = yes; then
20130 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20131 See \`config.log' for more details." >&5
20132 echo "$as_me: error: cannot compute sizeof (size_t)
20133 See \`config.log' for more details." >&2;}
20134 { (exit 77); exit 77; }; }
20135 else
20136 ac_cv_sizeof_size_t=0
20137 fi
20138 fi
20139 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20140 fi
20141 rm -f conftest.val
20142 fi
20143 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20144 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20145
20146
20147
20148 cat >>confdefs.h <<_ACEOF
20149 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20150 _ACEOF
20151
20152
20153
20154 case "${host}" in
20155 arm-*-linux* )
20156 { echo "$as_me:$LINENO: checking for long long" >&5
20157 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20158 if test "${ac_cv_type_long_long+set}" = set; then
20159 echo $ECHO_N "(cached) $ECHO_C" >&6
20160 else
20161 cat >conftest.$ac_ext <<_ACEOF
20162 /* confdefs.h. */
20163 _ACEOF
20164 cat confdefs.h >>conftest.$ac_ext
20165 cat >>conftest.$ac_ext <<_ACEOF
20166 /* end confdefs.h. */
20167 $ac_includes_default
20168 typedef long long ac__type_new_;
20169 int
20170 main ()
20171 {
20172 if ((ac__type_new_ *) 0)
20173 return 0;
20174 if (sizeof (ac__type_new_))
20175 return 0;
20176 ;
20177 return 0;
20178 }
20179 _ACEOF
20180 rm -f conftest.$ac_objext
20181 if { (ac_try="$ac_compile"
20182 case "(($ac_try" in
20183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20184 *) ac_try_echo=$ac_try;;
20185 esac
20186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20187 (eval "$ac_compile") 2>conftest.er1
20188 ac_status=$?
20189 grep -v '^ *+' conftest.er1 >conftest.err
20190 rm -f conftest.er1
20191 cat conftest.err >&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); } && {
20194 test -z "$ac_c_werror_flag" ||
20195 test ! -s conftest.err
20196 } && test -s conftest.$ac_objext; then
20197 ac_cv_type_long_long=yes
20198 else
20199 echo "$as_me: failed program was:" >&5
20200 sed 's/^/| /' conftest.$ac_ext >&5
20201
20202 ac_cv_type_long_long=no
20203 fi
20204
20205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20206 fi
20207 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20208 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20209
20210 # The cast to long int works around a bug in the HP C Compiler
20211 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20212 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20213 # This bug is HP SR number 8606223364.
20214 { echo "$as_me:$LINENO: checking size of long long" >&5
20215 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20216 if test "${ac_cv_sizeof_long_long+set}" = set; then
20217 echo $ECHO_N "(cached) $ECHO_C" >&6
20218 else
20219 if test "$cross_compiling" = yes; then
20220 # Depending upon the size, compute the lo and hi bounds.
20221 cat >conftest.$ac_ext <<_ACEOF
20222 /* confdefs.h. */
20223 _ACEOF
20224 cat confdefs.h >>conftest.$ac_ext
20225 cat >>conftest.$ac_ext <<_ACEOF
20226 /* end confdefs.h. */
20227 $ac_includes_default
20228 typedef long long ac__type_sizeof_;
20229 int
20230 main ()
20231 {
20232 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20233 test_array [0] = 0
20234
20235 ;
20236 return 0;
20237 }
20238 _ACEOF
20239 rm -f conftest.$ac_objext
20240 if { (ac_try="$ac_compile"
20241 case "(($ac_try" in
20242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20243 *) ac_try_echo=$ac_try;;
20244 esac
20245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20246 (eval "$ac_compile") 2>conftest.er1
20247 ac_status=$?
20248 grep -v '^ *+' conftest.er1 >conftest.err
20249 rm -f conftest.er1
20250 cat conftest.err >&5
20251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20252 (exit $ac_status); } && {
20253 test -z "$ac_c_werror_flag" ||
20254 test ! -s conftest.err
20255 } && test -s conftest.$ac_objext; then
20256 ac_lo=0 ac_mid=0
20257 while :; do
20258 cat >conftest.$ac_ext <<_ACEOF
20259 /* confdefs.h. */
20260 _ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 $ac_includes_default
20265 typedef long long ac__type_sizeof_;
20266 int
20267 main ()
20268 {
20269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20270 test_array [0] = 0
20271
20272 ;
20273 return 0;
20274 }
20275 _ACEOF
20276 rm -f conftest.$ac_objext
20277 if { (ac_try="$ac_compile"
20278 case "(($ac_try" in
20279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20280 *) ac_try_echo=$ac_try;;
20281 esac
20282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20283 (eval "$ac_compile") 2>conftest.er1
20284 ac_status=$?
20285 grep -v '^ *+' conftest.er1 >conftest.err
20286 rm -f conftest.er1
20287 cat conftest.err >&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && {
20290 test -z "$ac_c_werror_flag" ||
20291 test ! -s conftest.err
20292 } && test -s conftest.$ac_objext; then
20293 ac_hi=$ac_mid; break
20294 else
20295 echo "$as_me: failed program was:" >&5
20296 sed 's/^/| /' conftest.$ac_ext >&5
20297
20298 ac_lo=`expr $ac_mid + 1`
20299 if test $ac_lo -le $ac_mid; then
20300 ac_lo= ac_hi=
20301 break
20302 fi
20303 ac_mid=`expr 2 '*' $ac_mid + 1`
20304 fi
20305
20306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20307 done
20308 else
20309 echo "$as_me: failed program was:" >&5
20310 sed 's/^/| /' conftest.$ac_ext >&5
20311
20312 cat >conftest.$ac_ext <<_ACEOF
20313 /* confdefs.h. */
20314 _ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20318 $ac_includes_default
20319 typedef long long ac__type_sizeof_;
20320 int
20321 main ()
20322 {
20323 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20324 test_array [0] = 0
20325
20326 ;
20327 return 0;
20328 }
20329 _ACEOF
20330 rm -f conftest.$ac_objext
20331 if { (ac_try="$ac_compile"
20332 case "(($ac_try" in
20333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20334 *) ac_try_echo=$ac_try;;
20335 esac
20336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20337 (eval "$ac_compile") 2>conftest.er1
20338 ac_status=$?
20339 grep -v '^ *+' conftest.er1 >conftest.err
20340 rm -f conftest.er1
20341 cat conftest.err >&5
20342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20343 (exit $ac_status); } && {
20344 test -z "$ac_c_werror_flag" ||
20345 test ! -s conftest.err
20346 } && test -s conftest.$ac_objext; then
20347 ac_hi=-1 ac_mid=-1
20348 while :; do
20349 cat >conftest.$ac_ext <<_ACEOF
20350 /* confdefs.h. */
20351 _ACEOF
20352 cat confdefs.h >>conftest.$ac_ext
20353 cat >>conftest.$ac_ext <<_ACEOF
20354 /* end confdefs.h. */
20355 $ac_includes_default
20356 typedef long long ac__type_sizeof_;
20357 int
20358 main ()
20359 {
20360 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20361 test_array [0] = 0
20362
20363 ;
20364 return 0;
20365 }
20366 _ACEOF
20367 rm -f conftest.$ac_objext
20368 if { (ac_try="$ac_compile"
20369 case "(($ac_try" in
20370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20371 *) ac_try_echo=$ac_try;;
20372 esac
20373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20374 (eval "$ac_compile") 2>conftest.er1
20375 ac_status=$?
20376 grep -v '^ *+' conftest.er1 >conftest.err
20377 rm -f conftest.er1
20378 cat conftest.err >&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); } && {
20381 test -z "$ac_c_werror_flag" ||
20382 test ! -s conftest.err
20383 } && test -s conftest.$ac_objext; then
20384 ac_lo=$ac_mid; break
20385 else
20386 echo "$as_me: failed program was:" >&5
20387 sed 's/^/| /' conftest.$ac_ext >&5
20388
20389 ac_hi=`expr '(' $ac_mid ')' - 1`
20390 if test $ac_mid -le $ac_hi; then
20391 ac_lo= ac_hi=
20392 break
20393 fi
20394 ac_mid=`expr 2 '*' $ac_mid`
20395 fi
20396
20397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20398 done
20399 else
20400 echo "$as_me: failed program was:" >&5
20401 sed 's/^/| /' conftest.$ac_ext >&5
20402
20403 ac_lo= ac_hi=
20404 fi
20405
20406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20407 fi
20408
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 # Binary search between lo and hi bounds.
20411 while test "x$ac_lo" != "x$ac_hi"; do
20412 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20413 cat >conftest.$ac_ext <<_ACEOF
20414 /* confdefs.h. */
20415 _ACEOF
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 $ac_includes_default
20420 typedef long long ac__type_sizeof_;
20421 int
20422 main ()
20423 {
20424 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20425 test_array [0] = 0
20426
20427 ;
20428 return 0;
20429 }
20430 _ACEOF
20431 rm -f conftest.$ac_objext
20432 if { (ac_try="$ac_compile"
20433 case "(($ac_try" in
20434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20435 *) ac_try_echo=$ac_try;;
20436 esac
20437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20438 (eval "$ac_compile") 2>conftest.er1
20439 ac_status=$?
20440 grep -v '^ *+' conftest.er1 >conftest.err
20441 rm -f conftest.er1
20442 cat conftest.err >&5
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); } && {
20445 test -z "$ac_c_werror_flag" ||
20446 test ! -s conftest.err
20447 } && test -s conftest.$ac_objext; then
20448 ac_hi=$ac_mid
20449 else
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20452
20453 ac_lo=`expr '(' $ac_mid ')' + 1`
20454 fi
20455
20456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20457 done
20458 case $ac_lo in
20459 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20460 '') if test "$ac_cv_type_long_long" = yes; then
20461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20462 See \`config.log' for more details." >&5
20463 echo "$as_me: error: cannot compute sizeof (long long)
20464 See \`config.log' for more details." >&2;}
20465 { (exit 77); exit 77; }; }
20466 else
20467 ac_cv_sizeof_long_long=0
20468 fi ;;
20469 esac
20470 else
20471 cat >conftest.$ac_ext <<_ACEOF
20472 /* confdefs.h. */
20473 _ACEOF
20474 cat confdefs.h >>conftest.$ac_ext
20475 cat >>conftest.$ac_ext <<_ACEOF
20476 /* end confdefs.h. */
20477 $ac_includes_default
20478 typedef long long ac__type_sizeof_;
20479 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20480 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20481 #include <stdio.h>
20482 #include <stdlib.h>
20483 int
20484 main ()
20485 {
20486
20487 FILE *f = fopen ("conftest.val", "w");
20488 if (! f)
20489 return 1;
20490 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20491 {
20492 long int i = longval ();
20493 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20494 return 1;
20495 fprintf (f, "%ld\n", i);
20496 }
20497 else
20498 {
20499 unsigned long int i = ulongval ();
20500 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20501 return 1;
20502 fprintf (f, "%lu\n", i);
20503 }
20504 return ferror (f) || fclose (f) != 0;
20505
20506 ;
20507 return 0;
20508 }
20509 _ACEOF
20510 rm -f conftest$ac_exeext
20511 if { (ac_try="$ac_link"
20512 case "(($ac_try" in
20513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20514 *) ac_try_echo=$ac_try;;
20515 esac
20516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20517 (eval "$ac_link") 2>&5
20518 ac_status=$?
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20521 { (case "(($ac_try" in
20522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20523 *) ac_try_echo=$ac_try;;
20524 esac
20525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20526 (eval "$ac_try") 2>&5
20527 ac_status=$?
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; }; then
20530 ac_cv_sizeof_long_long=`cat conftest.val`
20531 else
20532 echo "$as_me: program exited with status $ac_status" >&5
20533 echo "$as_me: failed program was:" >&5
20534 sed 's/^/| /' conftest.$ac_ext >&5
20535
20536 ( exit $ac_status )
20537 if test "$ac_cv_type_long_long" = yes; then
20538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20539 See \`config.log' for more details." >&5
20540 echo "$as_me: error: cannot compute sizeof (long long)
20541 See \`config.log' for more details." >&2;}
20542 { (exit 77); exit 77; }; }
20543 else
20544 ac_cv_sizeof_long_long=0
20545 fi
20546 fi
20547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20548 fi
20549 rm -f conftest.val
20550 fi
20551 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20552 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20553
20554
20555
20556 cat >>confdefs.h <<_ACEOF
20557 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20558 _ACEOF
20559
20560
20561 ;;
20562 *-hp-hpux* )
20563 { echo "$as_me:$LINENO: checking for long long" >&5
20564 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20565 if test "${ac_cv_type_long_long+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20568 cat >conftest.$ac_ext <<_ACEOF
20569 /* confdefs.h. */
20570 _ACEOF
20571 cat confdefs.h >>conftest.$ac_ext
20572 cat >>conftest.$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20575 typedef long long ac__type_new_;
20576 int
20577 main ()
20578 {
20579 if ((ac__type_new_ *) 0)
20580 return 0;
20581 if (sizeof (ac__type_new_))
20582 return 0;
20583 ;
20584 return 0;
20585 }
20586 _ACEOF
20587 rm -f conftest.$ac_objext
20588 if { (ac_try="$ac_compile"
20589 case "(($ac_try" in
20590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20591 *) ac_try_echo=$ac_try;;
20592 esac
20593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594 (eval "$ac_compile") 2>conftest.er1
20595 ac_status=$?
20596 grep -v '^ *+' conftest.er1 >conftest.err
20597 rm -f conftest.er1
20598 cat conftest.err >&5
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); } && {
20601 test -z "$ac_c_werror_flag" ||
20602 test ! -s conftest.err
20603 } && test -s conftest.$ac_objext; then
20604 ac_cv_type_long_long=yes
20605 else
20606 echo "$as_me: failed program was:" >&5
20607 sed 's/^/| /' conftest.$ac_ext >&5
20608
20609 ac_cv_type_long_long=no
20610 fi
20611
20612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20613 fi
20614 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20615 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20616
20617 # The cast to long int works around a bug in the HP C Compiler
20618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20620 # This bug is HP SR number 8606223364.
20621 { echo "$as_me:$LINENO: checking size of long long" >&5
20622 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20623 if test "${ac_cv_sizeof_long_long+set}" = set; then
20624 echo $ECHO_N "(cached) $ECHO_C" >&6
20625 else
20626 if test "$cross_compiling" = yes; then
20627 # Depending upon the size, compute the lo and hi bounds.
20628 cat >conftest.$ac_ext <<_ACEOF
20629 /* confdefs.h. */
20630 _ACEOF
20631 cat confdefs.h >>conftest.$ac_ext
20632 cat >>conftest.$ac_ext <<_ACEOF
20633 /* end confdefs.h. */
20634 $ac_includes_default
20635 typedef long long ac__type_sizeof_;
20636 int
20637 main ()
20638 {
20639 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20640 test_array [0] = 0
20641
20642 ;
20643 return 0;
20644 }
20645 _ACEOF
20646 rm -f conftest.$ac_objext
20647 if { (ac_try="$ac_compile"
20648 case "(($ac_try" in
20649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20650 *) ac_try_echo=$ac_try;;
20651 esac
20652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20653 (eval "$ac_compile") 2>conftest.er1
20654 ac_status=$?
20655 grep -v '^ *+' conftest.er1 >conftest.err
20656 rm -f conftest.er1
20657 cat conftest.err >&5
20658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20659 (exit $ac_status); } && {
20660 test -z "$ac_c_werror_flag" ||
20661 test ! -s conftest.err
20662 } && test -s conftest.$ac_objext; then
20663 ac_lo=0 ac_mid=0
20664 while :; do
20665 cat >conftest.$ac_ext <<_ACEOF
20666 /* confdefs.h. */
20667 _ACEOF
20668 cat confdefs.h >>conftest.$ac_ext
20669 cat >>conftest.$ac_ext <<_ACEOF
20670 /* end confdefs.h. */
20671 $ac_includes_default
20672 typedef long long ac__type_sizeof_;
20673 int
20674 main ()
20675 {
20676 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20677 test_array [0] = 0
20678
20679 ;
20680 return 0;
20681 }
20682 _ACEOF
20683 rm -f conftest.$ac_objext
20684 if { (ac_try="$ac_compile"
20685 case "(($ac_try" in
20686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20687 *) ac_try_echo=$ac_try;;
20688 esac
20689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20690 (eval "$ac_compile") 2>conftest.er1
20691 ac_status=$?
20692 grep -v '^ *+' conftest.er1 >conftest.err
20693 rm -f conftest.er1
20694 cat conftest.err >&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); } && {
20697 test -z "$ac_c_werror_flag" ||
20698 test ! -s conftest.err
20699 } && test -s conftest.$ac_objext; then
20700 ac_hi=$ac_mid; break
20701 else
20702 echo "$as_me: failed program was:" >&5
20703 sed 's/^/| /' conftest.$ac_ext >&5
20704
20705 ac_lo=`expr $ac_mid + 1`
20706 if test $ac_lo -le $ac_mid; then
20707 ac_lo= ac_hi=
20708 break
20709 fi
20710 ac_mid=`expr 2 '*' $ac_mid + 1`
20711 fi
20712
20713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20714 done
20715 else
20716 echo "$as_me: failed program was:" >&5
20717 sed 's/^/| /' conftest.$ac_ext >&5
20718
20719 cat >conftest.$ac_ext <<_ACEOF
20720 /* confdefs.h. */
20721 _ACEOF
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 $ac_includes_default
20726 typedef long long ac__type_sizeof_;
20727 int
20728 main ()
20729 {
20730 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20731 test_array [0] = 0
20732
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 rm -f conftest.$ac_objext
20738 if { (ac_try="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20742 esac
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20745 ac_status=$?
20746 grep -v '^ *+' conftest.er1 >conftest.err
20747 rm -f conftest.er1
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20754 ac_hi=-1 ac_mid=-1
20755 while :; do
20756 cat >conftest.$ac_ext <<_ACEOF
20757 /* confdefs.h. */
20758 _ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 typedef long long ac__type_sizeof_;
20764 int
20765 main ()
20766 {
20767 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20768 test_array [0] = 0
20769
20770 ;
20771 return 0;
20772 }
20773 _ACEOF
20774 rm -f conftest.$ac_objext
20775 if { (ac_try="$ac_compile"
20776 case "(($ac_try" in
20777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20778 *) ac_try_echo=$ac_try;;
20779 esac
20780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20781 (eval "$ac_compile") 2>conftest.er1
20782 ac_status=$?
20783 grep -v '^ *+' conftest.er1 >conftest.err
20784 rm -f conftest.er1
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } && {
20788 test -z "$ac_c_werror_flag" ||
20789 test ! -s conftest.err
20790 } && test -s conftest.$ac_objext; then
20791 ac_lo=$ac_mid; break
20792 else
20793 echo "$as_me: failed program was:" >&5
20794 sed 's/^/| /' conftest.$ac_ext >&5
20795
20796 ac_hi=`expr '(' $ac_mid ')' - 1`
20797 if test $ac_mid -le $ac_hi; then
20798 ac_lo= ac_hi=
20799 break
20800 fi
20801 ac_mid=`expr 2 '*' $ac_mid`
20802 fi
20803
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20805 done
20806 else
20807 echo "$as_me: failed program was:" >&5
20808 sed 's/^/| /' conftest.$ac_ext >&5
20809
20810 ac_lo= ac_hi=
20811 fi
20812
20813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20814 fi
20815
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817 # Binary search between lo and hi bounds.
20818 while test "x$ac_lo" != "x$ac_hi"; do
20819 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20820 cat >conftest.$ac_ext <<_ACEOF
20821 /* confdefs.h. */
20822 _ACEOF
20823 cat confdefs.h >>conftest.$ac_ext
20824 cat >>conftest.$ac_ext <<_ACEOF
20825 /* end confdefs.h. */
20826 $ac_includes_default
20827 typedef long long ac__type_sizeof_;
20828 int
20829 main ()
20830 {
20831 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20832 test_array [0] = 0
20833
20834 ;
20835 return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842 *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845 (eval "$ac_compile") 2>conftest.er1
20846 ac_status=$?
20847 grep -v '^ *+' conftest.er1 >conftest.err
20848 rm -f conftest.er1
20849 cat conftest.err >&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } && {
20852 test -z "$ac_c_werror_flag" ||
20853 test ! -s conftest.err
20854 } && test -s conftest.$ac_objext; then
20855 ac_hi=$ac_mid
20856 else
20857 echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20859
20860 ac_lo=`expr '(' $ac_mid ')' + 1`
20861 fi
20862
20863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20864 done
20865 case $ac_lo in
20866 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20867 '') if test "$ac_cv_type_long_long" = yes; then
20868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20869 See \`config.log' for more details." >&5
20870 echo "$as_me: error: cannot compute sizeof (long long)
20871 See \`config.log' for more details." >&2;}
20872 { (exit 77); exit 77; }; }
20873 else
20874 ac_cv_sizeof_long_long=0
20875 fi ;;
20876 esac
20877 else
20878 cat >conftest.$ac_ext <<_ACEOF
20879 /* confdefs.h. */
20880 _ACEOF
20881 cat confdefs.h >>conftest.$ac_ext
20882 cat >>conftest.$ac_ext <<_ACEOF
20883 /* end confdefs.h. */
20884 $ac_includes_default
20885 typedef long long ac__type_sizeof_;
20886 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20887 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20888 #include <stdio.h>
20889 #include <stdlib.h>
20890 int
20891 main ()
20892 {
20893
20894 FILE *f = fopen ("conftest.val", "w");
20895 if (! f)
20896 return 1;
20897 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20898 {
20899 long int i = longval ();
20900 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20901 return 1;
20902 fprintf (f, "%ld\n", i);
20903 }
20904 else
20905 {
20906 unsigned long int i = ulongval ();
20907 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20908 return 1;
20909 fprintf (f, "%lu\n", i);
20910 }
20911 return ferror (f) || fclose (f) != 0;
20912
20913 ;
20914 return 0;
20915 }
20916 _ACEOF
20917 rm -f conftest$ac_exeext
20918 if { (ac_try="$ac_link"
20919 case "(($ac_try" in
20920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20921 *) ac_try_echo=$ac_try;;
20922 esac
20923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20924 (eval "$ac_link") 2>&5
20925 ac_status=$?
20926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20928 { (case "(($ac_try" in
20929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20930 *) ac_try_echo=$ac_try;;
20931 esac
20932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20933 (eval "$ac_try") 2>&5
20934 ac_status=$?
20935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20936 (exit $ac_status); }; }; then
20937 ac_cv_sizeof_long_long=`cat conftest.val`
20938 else
20939 echo "$as_me: program exited with status $ac_status" >&5
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.$ac_ext >&5
20942
20943 ( exit $ac_status )
20944 if test "$ac_cv_type_long_long" = yes; then
20945 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20946 See \`config.log' for more details." >&5
20947 echo "$as_me: error: cannot compute sizeof (long long)
20948 See \`config.log' for more details." >&2;}
20949 { (exit 77); exit 77; }; }
20950 else
20951 ac_cv_sizeof_long_long=0
20952 fi
20953 fi
20954 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20955 fi
20956 rm -f conftest.val
20957 fi
20958 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20959 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20960
20961
20962
20963 cat >>confdefs.h <<_ACEOF
20964 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20965 _ACEOF
20966
20967
20968 if test "$ac_cv_sizeof_long_long" != "0"; then
20969 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20970 fi
20971 ;;
20972 * )
20973 { echo "$as_me:$LINENO: checking for long long" >&5
20974 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20975 if test "${ac_cv_type_long_long+set}" = set; then
20976 echo $ECHO_N "(cached) $ECHO_C" >&6
20977 else
20978 cat >conftest.$ac_ext <<_ACEOF
20979 /* confdefs.h. */
20980 _ACEOF
20981 cat confdefs.h >>conftest.$ac_ext
20982 cat >>conftest.$ac_ext <<_ACEOF
20983 /* end confdefs.h. */
20984 $ac_includes_default
20985 typedef long long ac__type_new_;
20986 int
20987 main ()
20988 {
20989 if ((ac__type_new_ *) 0)
20990 return 0;
20991 if (sizeof (ac__type_new_))
20992 return 0;
20993 ;
20994 return 0;
20995 }
20996 _ACEOF
20997 rm -f conftest.$ac_objext
20998 if { (ac_try="$ac_compile"
20999 case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21001 *) ac_try_echo=$ac_try;;
21002 esac
21003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_compile") 2>conftest.er1
21005 ac_status=$?
21006 grep -v '^ *+' conftest.er1 >conftest.err
21007 rm -f conftest.er1
21008 cat conftest.err >&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } && {
21011 test -z "$ac_c_werror_flag" ||
21012 test ! -s conftest.err
21013 } && test -s conftest.$ac_objext; then
21014 ac_cv_type_long_long=yes
21015 else
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.$ac_ext >&5
21018
21019 ac_cv_type_long_long=no
21020 fi
21021
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023 fi
21024 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21025 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21026
21027 # The cast to long int works around a bug in the HP C Compiler
21028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21030 # This bug is HP SR number 8606223364.
21031 { echo "$as_me:$LINENO: checking size of long long" >&5
21032 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21033 if test "${ac_cv_sizeof_long_long+set}" = set; then
21034 echo $ECHO_N "(cached) $ECHO_C" >&6
21035 else
21036 if test "$cross_compiling" = yes; then
21037 # Depending upon the size, compute the lo and hi bounds.
21038 cat >conftest.$ac_ext <<_ACEOF
21039 /* confdefs.h. */
21040 _ACEOF
21041 cat confdefs.h >>conftest.$ac_ext
21042 cat >>conftest.$ac_ext <<_ACEOF
21043 /* end confdefs.h. */
21044 $ac_includes_default
21045 typedef long long ac__type_sizeof_;
21046 int
21047 main ()
21048 {
21049 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21050 test_array [0] = 0
21051
21052 ;
21053 return 0;
21054 }
21055 _ACEOF
21056 rm -f conftest.$ac_objext
21057 if { (ac_try="$ac_compile"
21058 case "(($ac_try" in
21059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21060 *) ac_try_echo=$ac_try;;
21061 esac
21062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21063 (eval "$ac_compile") 2>conftest.er1
21064 ac_status=$?
21065 grep -v '^ *+' conftest.er1 >conftest.err
21066 rm -f conftest.er1
21067 cat conftest.err >&5
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); } && {
21070 test -z "$ac_c_werror_flag" ||
21071 test ! -s conftest.err
21072 } && test -s conftest.$ac_objext; then
21073 ac_lo=0 ac_mid=0
21074 while :; do
21075 cat >conftest.$ac_ext <<_ACEOF
21076 /* confdefs.h. */
21077 _ACEOF
21078 cat confdefs.h >>conftest.$ac_ext
21079 cat >>conftest.$ac_ext <<_ACEOF
21080 /* end confdefs.h. */
21081 $ac_includes_default
21082 typedef long long ac__type_sizeof_;
21083 int
21084 main ()
21085 {
21086 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21087 test_array [0] = 0
21088
21089 ;
21090 return 0;
21091 }
21092 _ACEOF
21093 rm -f conftest.$ac_objext
21094 if { (ac_try="$ac_compile"
21095 case "(($ac_try" in
21096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21097 *) ac_try_echo=$ac_try;;
21098 esac
21099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21100 (eval "$ac_compile") 2>conftest.er1
21101 ac_status=$?
21102 grep -v '^ *+' conftest.er1 >conftest.err
21103 rm -f conftest.er1
21104 cat conftest.err >&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); } && {
21107 test -z "$ac_c_werror_flag" ||
21108 test ! -s conftest.err
21109 } && test -s conftest.$ac_objext; then
21110 ac_hi=$ac_mid; break
21111 else
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21114
21115 ac_lo=`expr $ac_mid + 1`
21116 if test $ac_lo -le $ac_mid; then
21117 ac_lo= ac_hi=
21118 break
21119 fi
21120 ac_mid=`expr 2 '*' $ac_mid + 1`
21121 fi
21122
21123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 done
21125 else
21126 echo "$as_me: failed program was:" >&5
21127 sed 's/^/| /' conftest.$ac_ext >&5
21128
21129 cat >conftest.$ac_ext <<_ACEOF
21130 /* confdefs.h. */
21131 _ACEOF
21132 cat confdefs.h >>conftest.$ac_ext
21133 cat >>conftest.$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21135 $ac_includes_default
21136 typedef long long ac__type_sizeof_;
21137 int
21138 main ()
21139 {
21140 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21141 test_array [0] = 0
21142
21143 ;
21144 return 0;
21145 }
21146 _ACEOF
21147 rm -f conftest.$ac_objext
21148 if { (ac_try="$ac_compile"
21149 case "(($ac_try" in
21150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21151 *) ac_try_echo=$ac_try;;
21152 esac
21153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21154 (eval "$ac_compile") 2>conftest.er1
21155 ac_status=$?
21156 grep -v '^ *+' conftest.er1 >conftest.err
21157 rm -f conftest.er1
21158 cat conftest.err >&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } && {
21161 test -z "$ac_c_werror_flag" ||
21162 test ! -s conftest.err
21163 } && test -s conftest.$ac_objext; then
21164 ac_hi=-1 ac_mid=-1
21165 while :; do
21166 cat >conftest.$ac_ext <<_ACEOF
21167 /* confdefs.h. */
21168 _ACEOF
21169 cat confdefs.h >>conftest.$ac_ext
21170 cat >>conftest.$ac_ext <<_ACEOF
21171 /* end confdefs.h. */
21172 $ac_includes_default
21173 typedef long long ac__type_sizeof_;
21174 int
21175 main ()
21176 {
21177 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21178 test_array [0] = 0
21179
21180 ;
21181 return 0;
21182 }
21183 _ACEOF
21184 rm -f conftest.$ac_objext
21185 if { (ac_try="$ac_compile"
21186 case "(($ac_try" in
21187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21188 *) ac_try_echo=$ac_try;;
21189 esac
21190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21191 (eval "$ac_compile") 2>conftest.er1
21192 ac_status=$?
21193 grep -v '^ *+' conftest.er1 >conftest.err
21194 rm -f conftest.er1
21195 cat conftest.err >&5
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); } && {
21198 test -z "$ac_c_werror_flag" ||
21199 test ! -s conftest.err
21200 } && test -s conftest.$ac_objext; then
21201 ac_lo=$ac_mid; break
21202 else
21203 echo "$as_me: failed program was:" >&5
21204 sed 's/^/| /' conftest.$ac_ext >&5
21205
21206 ac_hi=`expr '(' $ac_mid ')' - 1`
21207 if test $ac_mid -le $ac_hi; then
21208 ac_lo= ac_hi=
21209 break
21210 fi
21211 ac_mid=`expr 2 '*' $ac_mid`
21212 fi
21213
21214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21215 done
21216 else
21217 echo "$as_me: failed program was:" >&5
21218 sed 's/^/| /' conftest.$ac_ext >&5
21219
21220 ac_lo= ac_hi=
21221 fi
21222
21223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21224 fi
21225
21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 # Binary search between lo and hi bounds.
21228 while test "x$ac_lo" != "x$ac_hi"; do
21229 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21230 cat >conftest.$ac_ext <<_ACEOF
21231 /* confdefs.h. */
21232 _ACEOF
21233 cat confdefs.h >>conftest.$ac_ext
21234 cat >>conftest.$ac_ext <<_ACEOF
21235 /* end confdefs.h. */
21236 $ac_includes_default
21237 typedef long long ac__type_sizeof_;
21238 int
21239 main ()
21240 {
21241 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21242 test_array [0] = 0
21243
21244 ;
21245 return 0;
21246 }
21247 _ACEOF
21248 rm -f conftest.$ac_objext
21249 if { (ac_try="$ac_compile"
21250 case "(($ac_try" in
21251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21252 *) ac_try_echo=$ac_try;;
21253 esac
21254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21255 (eval "$ac_compile") 2>conftest.er1
21256 ac_status=$?
21257 grep -v '^ *+' conftest.er1 >conftest.err
21258 rm -f conftest.er1
21259 cat conftest.err >&5
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); } && {
21262 test -z "$ac_c_werror_flag" ||
21263 test ! -s conftest.err
21264 } && test -s conftest.$ac_objext; then
21265 ac_hi=$ac_mid
21266 else
21267 echo "$as_me: failed program was:" >&5
21268 sed 's/^/| /' conftest.$ac_ext >&5
21269
21270 ac_lo=`expr '(' $ac_mid ')' + 1`
21271 fi
21272
21273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21274 done
21275 case $ac_lo in
21276 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21277 '') if test "$ac_cv_type_long_long" = yes; then
21278 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21279 See \`config.log' for more details." >&5
21280 echo "$as_me: error: cannot compute sizeof (long long)
21281 See \`config.log' for more details." >&2;}
21282 { (exit 77); exit 77; }; }
21283 else
21284 ac_cv_sizeof_long_long=0
21285 fi ;;
21286 esac
21287 else
21288 cat >conftest.$ac_ext <<_ACEOF
21289 /* confdefs.h. */
21290 _ACEOF
21291 cat confdefs.h >>conftest.$ac_ext
21292 cat >>conftest.$ac_ext <<_ACEOF
21293 /* end confdefs.h. */
21294 $ac_includes_default
21295 typedef long long ac__type_sizeof_;
21296 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21297 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21298 #include <stdio.h>
21299 #include <stdlib.h>
21300 int
21301 main ()
21302 {
21303
21304 FILE *f = fopen ("conftest.val", "w");
21305 if (! f)
21306 return 1;
21307 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21308 {
21309 long int i = longval ();
21310 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21311 return 1;
21312 fprintf (f, "%ld\n", i);
21313 }
21314 else
21315 {
21316 unsigned long int i = ulongval ();
21317 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21318 return 1;
21319 fprintf (f, "%lu\n", i);
21320 }
21321 return ferror (f) || fclose (f) != 0;
21322
21323 ;
21324 return 0;
21325 }
21326 _ACEOF
21327 rm -f conftest$ac_exeext
21328 if { (ac_try="$ac_link"
21329 case "(($ac_try" in
21330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21331 *) ac_try_echo=$ac_try;;
21332 esac
21333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21334 (eval "$ac_link") 2>&5
21335 ac_status=$?
21336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21338 { (case "(($ac_try" in
21339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21340 *) ac_try_echo=$ac_try;;
21341 esac
21342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21343 (eval "$ac_try") 2>&5
21344 ac_status=$?
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 ac_cv_sizeof_long_long=`cat conftest.val`
21348 else
21349 echo "$as_me: program exited with status $ac_status" >&5
21350 echo "$as_me: failed program was:" >&5
21351 sed 's/^/| /' conftest.$ac_ext >&5
21352
21353 ( exit $ac_status )
21354 if test "$ac_cv_type_long_long" = yes; then
21355 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21356 See \`config.log' for more details." >&5
21357 echo "$as_me: error: cannot compute sizeof (long long)
21358 See \`config.log' for more details." >&2;}
21359 { (exit 77); exit 77; }; }
21360 else
21361 ac_cv_sizeof_long_long=0
21362 fi
21363 fi
21364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21365 fi
21366 rm -f conftest.val
21367 fi
21368 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21369 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21370
21371
21372
21373 cat >>confdefs.h <<_ACEOF
21374 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21375 _ACEOF
21376
21377
21378 esac
21379
21380 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21381 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21382 if test "${ac_cv_type_wchar_t+set}" = set; then
21383 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 else
21385 cat >conftest.$ac_ext <<_ACEOF
21386 /* confdefs.h. */
21387 _ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391
21392 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21393 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21394 # error "fake wchar_t"
21395 #endif
21396 #ifdef HAVE_WCHAR_H
21397 # ifdef __CYGWIN__
21398 # include <stddef.h>
21399 # endif
21400 # include <wchar.h>
21401 #endif
21402 #ifdef HAVE_STDLIB_H
21403 # include <stdlib.h>
21404 #endif
21405 #include <stdio.h>
21406
21407
21408
21409 typedef wchar_t ac__type_new_;
21410 int
21411 main ()
21412 {
21413 if ((ac__type_new_ *) 0)
21414 return 0;
21415 if (sizeof (ac__type_new_))
21416 return 0;
21417 ;
21418 return 0;
21419 }
21420 _ACEOF
21421 rm -f conftest.$ac_objext
21422 if { (ac_try="$ac_compile"
21423 case "(($ac_try" in
21424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21425 *) ac_try_echo=$ac_try;;
21426 esac
21427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21428 (eval "$ac_compile") 2>conftest.er1
21429 ac_status=$?
21430 grep -v '^ *+' conftest.er1 >conftest.err
21431 rm -f conftest.er1
21432 cat conftest.err >&5
21433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21434 (exit $ac_status); } && {
21435 test -z "$ac_c_werror_flag" ||
21436 test ! -s conftest.err
21437 } && test -s conftest.$ac_objext; then
21438 ac_cv_type_wchar_t=yes
21439 else
21440 echo "$as_me: failed program was:" >&5
21441 sed 's/^/| /' conftest.$ac_ext >&5
21442
21443 ac_cv_type_wchar_t=no
21444 fi
21445
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 fi
21448 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21449 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21450
21451 # The cast to long int works around a bug in the HP C Compiler
21452 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21453 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21454 # This bug is HP SR number 8606223364.
21455 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21456 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21457 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21459 else
21460 if test "$cross_compiling" = yes; then
21461 # Depending upon the size, compute the lo and hi bounds.
21462 cat >conftest.$ac_ext <<_ACEOF
21463 /* confdefs.h. */
21464 _ACEOF
21465 cat confdefs.h >>conftest.$ac_ext
21466 cat >>conftest.$ac_ext <<_ACEOF
21467 /* end confdefs.h. */
21468
21469 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21470 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21471 # error "fake wchar_t"
21472 #endif
21473 #ifdef HAVE_WCHAR_H
21474 # ifdef __CYGWIN__
21475 # include <stddef.h>
21476 # endif
21477 # include <wchar.h>
21478 #endif
21479 #ifdef HAVE_STDLIB_H
21480 # include <stdlib.h>
21481 #endif
21482 #include <stdio.h>
21483
21484
21485
21486 typedef wchar_t ac__type_sizeof_;
21487 int
21488 main ()
21489 {
21490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21491 test_array [0] = 0
21492
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 rm -f conftest.$ac_objext
21498 if { (ac_try="$ac_compile"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21502 esac
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_compile") 2>conftest.er1
21505 ac_status=$?
21506 grep -v '^ *+' conftest.er1 >conftest.err
21507 rm -f conftest.er1
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } && {
21511 test -z "$ac_c_werror_flag" ||
21512 test ! -s conftest.err
21513 } && test -s conftest.$ac_objext; then
21514 ac_lo=0 ac_mid=0
21515 while :; do
21516 cat >conftest.$ac_ext <<_ACEOF
21517 /* confdefs.h. */
21518 _ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522
21523 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21524 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21525 # error "fake wchar_t"
21526 #endif
21527 #ifdef HAVE_WCHAR_H
21528 # ifdef __CYGWIN__
21529 # include <stddef.h>
21530 # endif
21531 # include <wchar.h>
21532 #endif
21533 #ifdef HAVE_STDLIB_H
21534 # include <stdlib.h>
21535 #endif
21536 #include <stdio.h>
21537
21538
21539
21540 typedef wchar_t ac__type_sizeof_;
21541 int
21542 main ()
21543 {
21544 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21545 test_array [0] = 0
21546
21547 ;
21548 return 0;
21549 }
21550 _ACEOF
21551 rm -f conftest.$ac_objext
21552 if { (ac_try="$ac_compile"
21553 case "(($ac_try" in
21554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21555 *) ac_try_echo=$ac_try;;
21556 esac
21557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21558 (eval "$ac_compile") 2>conftest.er1
21559 ac_status=$?
21560 grep -v '^ *+' conftest.er1 >conftest.err
21561 rm -f conftest.er1
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } && {
21565 test -z "$ac_c_werror_flag" ||
21566 test ! -s conftest.err
21567 } && test -s conftest.$ac_objext; then
21568 ac_hi=$ac_mid; break
21569 else
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21572
21573 ac_lo=`expr $ac_mid + 1`
21574 if test $ac_lo -le $ac_mid; then
21575 ac_lo= ac_hi=
21576 break
21577 fi
21578 ac_mid=`expr 2 '*' $ac_mid + 1`
21579 fi
21580
21581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21582 done
21583 else
21584 echo "$as_me: failed program was:" >&5
21585 sed 's/^/| /' conftest.$ac_ext >&5
21586
21587 cat >conftest.$ac_ext <<_ACEOF
21588 /* confdefs.h. */
21589 _ACEOF
21590 cat confdefs.h >>conftest.$ac_ext
21591 cat >>conftest.$ac_ext <<_ACEOF
21592 /* end confdefs.h. */
21593
21594 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21595 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21596 # error "fake wchar_t"
21597 #endif
21598 #ifdef HAVE_WCHAR_H
21599 # ifdef __CYGWIN__
21600 # include <stddef.h>
21601 # endif
21602 # include <wchar.h>
21603 #endif
21604 #ifdef HAVE_STDLIB_H
21605 # include <stdlib.h>
21606 #endif
21607 #include <stdio.h>
21608
21609
21610
21611 typedef wchar_t ac__type_sizeof_;
21612 int
21613 main ()
21614 {
21615 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21616 test_array [0] = 0
21617
21618 ;
21619 return 0;
21620 }
21621 _ACEOF
21622 rm -f conftest.$ac_objext
21623 if { (ac_try="$ac_compile"
21624 case "(($ac_try" in
21625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21626 *) ac_try_echo=$ac_try;;
21627 esac
21628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21629 (eval "$ac_compile") 2>conftest.er1
21630 ac_status=$?
21631 grep -v '^ *+' conftest.er1 >conftest.err
21632 rm -f conftest.er1
21633 cat conftest.err >&5
21634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21635 (exit $ac_status); } && {
21636 test -z "$ac_c_werror_flag" ||
21637 test ! -s conftest.err
21638 } && test -s conftest.$ac_objext; then
21639 ac_hi=-1 ac_mid=-1
21640 while :; do
21641 cat >conftest.$ac_ext <<_ACEOF
21642 /* confdefs.h. */
21643 _ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647
21648 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21649 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21650 # error "fake wchar_t"
21651 #endif
21652 #ifdef HAVE_WCHAR_H
21653 # ifdef __CYGWIN__
21654 # include <stddef.h>
21655 # endif
21656 # include <wchar.h>
21657 #endif
21658 #ifdef HAVE_STDLIB_H
21659 # include <stdlib.h>
21660 #endif
21661 #include <stdio.h>
21662
21663
21664
21665 typedef wchar_t ac__type_sizeof_;
21666 int
21667 main ()
21668 {
21669 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21670 test_array [0] = 0
21671
21672 ;
21673 return 0;
21674 }
21675 _ACEOF
21676 rm -f conftest.$ac_objext
21677 if { (ac_try="$ac_compile"
21678 case "(($ac_try" in
21679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21680 *) ac_try_echo=$ac_try;;
21681 esac
21682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21683 (eval "$ac_compile") 2>conftest.er1
21684 ac_status=$?
21685 grep -v '^ *+' conftest.er1 >conftest.err
21686 rm -f conftest.er1
21687 cat conftest.err >&5
21688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21689 (exit $ac_status); } && {
21690 test -z "$ac_c_werror_flag" ||
21691 test ! -s conftest.err
21692 } && test -s conftest.$ac_objext; then
21693 ac_lo=$ac_mid; break
21694 else
21695 echo "$as_me: failed program was:" >&5
21696 sed 's/^/| /' conftest.$ac_ext >&5
21697
21698 ac_hi=`expr '(' $ac_mid ')' - 1`
21699 if test $ac_mid -le $ac_hi; then
21700 ac_lo= ac_hi=
21701 break
21702 fi
21703 ac_mid=`expr 2 '*' $ac_mid`
21704 fi
21705
21706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21707 done
21708 else
21709 echo "$as_me: failed program was:" >&5
21710 sed 's/^/| /' conftest.$ac_ext >&5
21711
21712 ac_lo= ac_hi=
21713 fi
21714
21715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21716 fi
21717
21718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21719 # Binary search between lo and hi bounds.
21720 while test "x$ac_lo" != "x$ac_hi"; do
21721 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21722 cat >conftest.$ac_ext <<_ACEOF
21723 /* confdefs.h. */
21724 _ACEOF
21725 cat confdefs.h >>conftest.$ac_ext
21726 cat >>conftest.$ac_ext <<_ACEOF
21727 /* end confdefs.h. */
21728
21729 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21730 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21731 # error "fake wchar_t"
21732 #endif
21733 #ifdef HAVE_WCHAR_H
21734 # ifdef __CYGWIN__
21735 # include <stddef.h>
21736 # endif
21737 # include <wchar.h>
21738 #endif
21739 #ifdef HAVE_STDLIB_H
21740 # include <stdlib.h>
21741 #endif
21742 #include <stdio.h>
21743
21744
21745
21746 typedef wchar_t ac__type_sizeof_;
21747 int
21748 main ()
21749 {
21750 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21751 test_array [0] = 0
21752
21753 ;
21754 return 0;
21755 }
21756 _ACEOF
21757 rm -f conftest.$ac_objext
21758 if { (ac_try="$ac_compile"
21759 case "(($ac_try" in
21760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21761 *) ac_try_echo=$ac_try;;
21762 esac
21763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21764 (eval "$ac_compile") 2>conftest.er1
21765 ac_status=$?
21766 grep -v '^ *+' conftest.er1 >conftest.err
21767 rm -f conftest.er1
21768 cat conftest.err >&5
21769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21770 (exit $ac_status); } && {
21771 test -z "$ac_c_werror_flag" ||
21772 test ! -s conftest.err
21773 } && test -s conftest.$ac_objext; then
21774 ac_hi=$ac_mid
21775 else
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21778
21779 ac_lo=`expr '(' $ac_mid ')' + 1`
21780 fi
21781
21782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21783 done
21784 case $ac_lo in
21785 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21786 '') if test "$ac_cv_type_wchar_t" = yes; then
21787 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21788 See \`config.log' for more details." >&5
21789 echo "$as_me: error: cannot compute sizeof (wchar_t)
21790 See \`config.log' for more details." >&2;}
21791 { (exit 77); exit 77; }; }
21792 else
21793 ac_cv_sizeof_wchar_t=0
21794 fi ;;
21795 esac
21796 else
21797 cat >conftest.$ac_ext <<_ACEOF
21798 /* confdefs.h. */
21799 _ACEOF
21800 cat confdefs.h >>conftest.$ac_ext
21801 cat >>conftest.$ac_ext <<_ACEOF
21802 /* end confdefs.h. */
21803
21804 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21805 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21806 # error "fake wchar_t"
21807 #endif
21808 #ifdef HAVE_WCHAR_H
21809 # ifdef __CYGWIN__
21810 # include <stddef.h>
21811 # endif
21812 # include <wchar.h>
21813 #endif
21814 #ifdef HAVE_STDLIB_H
21815 # include <stdlib.h>
21816 #endif
21817 #include <stdio.h>
21818
21819
21820
21821 typedef wchar_t ac__type_sizeof_;
21822 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21823 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21824 #include <stdio.h>
21825 #include <stdlib.h>
21826 int
21827 main ()
21828 {
21829
21830 FILE *f = fopen ("conftest.val", "w");
21831 if (! f)
21832 return 1;
21833 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21834 {
21835 long int i = longval ();
21836 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21837 return 1;
21838 fprintf (f, "%ld\n", i);
21839 }
21840 else
21841 {
21842 unsigned long int i = ulongval ();
21843 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21844 return 1;
21845 fprintf (f, "%lu\n", i);
21846 }
21847 return ferror (f) || fclose (f) != 0;
21848
21849 ;
21850 return 0;
21851 }
21852 _ACEOF
21853 rm -f conftest$ac_exeext
21854 if { (ac_try="$ac_link"
21855 case "(($ac_try" in
21856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21857 *) ac_try_echo=$ac_try;;
21858 esac
21859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21860 (eval "$ac_link") 2>&5
21861 ac_status=$?
21862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21863 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21864 { (case "(($ac_try" in
21865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21866 *) ac_try_echo=$ac_try;;
21867 esac
21868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21869 (eval "$ac_try") 2>&5
21870 ac_status=$?
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); }; }; then
21873 ac_cv_sizeof_wchar_t=`cat conftest.val`
21874 else
21875 echo "$as_me: program exited with status $ac_status" >&5
21876 echo "$as_me: failed program was:" >&5
21877 sed 's/^/| /' conftest.$ac_ext >&5
21878
21879 ( exit $ac_status )
21880 if test "$ac_cv_type_wchar_t" = yes; then
21881 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21882 See \`config.log' for more details." >&5
21883 echo "$as_me: error: cannot compute sizeof (wchar_t)
21884 See \`config.log' for more details." >&2;}
21885 { (exit 77); exit 77; }; }
21886 else
21887 ac_cv_sizeof_wchar_t=0
21888 fi
21889 fi
21890 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21891 fi
21892 rm -f conftest.val
21893 fi
21894 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21895 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21896
21897
21898
21899 cat >>confdefs.h <<_ACEOF
21900 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21901 _ACEOF
21902
21903
21904 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21905 wxUSE_WCHAR_T=yes
21906 else
21907 wxUSE_WCHAR_T=no
21908 fi
21909
21910 { echo "$as_me:$LINENO: checking for va_copy" >&5
21911 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21912 if test "${wx_cv_func_va_copy+set}" = set; then
21913 echo $ECHO_N "(cached) $ECHO_C" >&6
21914 else
21915
21916 cat >conftest.$ac_ext <<_ACEOF
21917
21918 #include <stdarg.h>
21919 void foo(char *f, ...)
21920 {
21921 va_list ap1, ap2;
21922 va_start(ap1, f);
21923 va_copy(ap2, ap1);
21924 va_end(ap2);
21925 va_end(ap1);
21926 }
21927 int main()
21928 {
21929 foo("hi", 17);
21930 return 0;
21931 }
21932 _ACEOF
21933 rm -f conftest.$ac_objext conftest$ac_exeext
21934 if { (ac_try="$ac_link"
21935 case "(($ac_try" in
21936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21937 *) ac_try_echo=$ac_try;;
21938 esac
21939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21940 (eval "$ac_link") 2>conftest.er1
21941 ac_status=$?
21942 grep -v '^ *+' conftest.er1 >conftest.err
21943 rm -f conftest.er1
21944 cat conftest.err >&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } && {
21947 test -z "$ac_c_werror_flag" ||
21948 test ! -s conftest.err
21949 } && test -s conftest$ac_exeext &&
21950 $as_test_x conftest$ac_exeext; then
21951 wx_cv_func_va_copy=yes
21952 else
21953 echo "$as_me: failed program was:" >&5
21954 sed 's/^/| /' conftest.$ac_ext >&5
21955
21956 wx_cv_func_va_copy=no
21957
21958 fi
21959
21960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21961 conftest$ac_exeext conftest.$ac_ext
21962
21963
21964 fi
21965 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21966 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
21967
21968 if test $wx_cv_func_va_copy = "yes"; then
21969 cat >>confdefs.h <<\_ACEOF
21970 #define HAVE_VA_COPY 1
21971 _ACEOF
21972
21973 else
21974 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21975 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
21976 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21978 else
21979
21980 if test "$cross_compiling" = yes; then
21981 wx_cv_type_va_list_lvalue=yes
21982
21983 else
21984 cat >conftest.$ac_ext <<_ACEOF
21985
21986 #include <stdarg.h>
21987 int foo(char *f, ...)
21988 {
21989 va_list ap1, ap2;
21990 va_start(ap1, f);
21991 ap2 = ap1;
21992 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21993 return 1;
21994 va_end(ap2);
21995 va_end(ap1);
21996 return 0;
21997 }
21998 int main()
21999 {
22000 return foo("hi", 17);
22001 }
22002 _ACEOF
22003 rm -f conftest$ac_exeext
22004 if { (ac_try="$ac_link"
22005 case "(($ac_try" in
22006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22007 *) ac_try_echo=$ac_try;;
22008 esac
22009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22010 (eval "$ac_link") 2>&5
22011 ac_status=$?
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22014 { (case "(($ac_try" in
22015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22016 *) ac_try_echo=$ac_try;;
22017 esac
22018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22019 (eval "$ac_try") 2>&5
22020 ac_status=$?
22021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22022 (exit $ac_status); }; }; then
22023 wx_cv_type_va_list_lvalue=yes
22024 else
22025 echo "$as_me: program exited with status $ac_status" >&5
22026 echo "$as_me: failed program was:" >&5
22027 sed 's/^/| /' conftest.$ac_ext >&5
22028
22029 ( exit $ac_status )
22030 wx_cv_type_va_list_lvalue=no
22031 fi
22032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22033 fi
22034
22035
22036
22037
22038 fi
22039 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22040 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22041
22042 if test $wx_cv_type_va_list_lvalue != "yes"; then
22043 cat >>confdefs.h <<\_ACEOF
22044 #define VA_LIST_IS_ARRAY 1
22045 _ACEOF
22046
22047 fi
22048 fi
22049
22050 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22051
22052 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22053 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22054 if test "${wx_cv_have_variadic_macros+set}" = set; then
22055 echo $ECHO_N "(cached) $ECHO_C" >&6
22056 else
22057
22058 ac_ext=cpp
22059 ac_cpp='$CXXCPP $CPPFLAGS'
22060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22063
22064 cat >conftest.$ac_ext <<_ACEOF
22065 /* confdefs.h. */
22066 _ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22070
22071 #include <stdio.h>
22072 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22073
22074 int
22075 main ()
22076 {
22077
22078 test("%s %d %p", "test", 1, 0);
22079
22080
22081 ;
22082 return 0;
22083 }
22084 _ACEOF
22085 rm -f conftest.$ac_objext
22086 if { (ac_try="$ac_compile"
22087 case "(($ac_try" in
22088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22089 *) ac_try_echo=$ac_try;;
22090 esac
22091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22092 (eval "$ac_compile") 2>conftest.er1
22093 ac_status=$?
22094 grep -v '^ *+' conftest.er1 >conftest.err
22095 rm -f conftest.er1
22096 cat conftest.err >&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } && {
22099 test -z "$ac_cxx_werror_flag" ||
22100 test ! -s conftest.err
22101 } && test -s conftest.$ac_objext; then
22102 wx_cv_have_variadic_macros=yes
22103 else
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.$ac_ext >&5
22106
22107 wx_cv_have_variadic_macros=no
22108
22109 fi
22110
22111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22112 ac_ext=c
22113 ac_cpp='$CPP $CPPFLAGS'
22114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22117
22118
22119
22120 fi
22121 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22122 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22123
22124 if test $wx_cv_have_variadic_macros = "yes"; then
22125 cat >>confdefs.h <<\_ACEOF
22126 #define HAVE_VARIADIC_MACROS 1
22127 _ACEOF
22128
22129 fi
22130
22131 fi
22132 # Check whether --enable-largefile was given.
22133 if test "${enable_largefile+set}" = set; then
22134 enableval=$enable_largefile;
22135 fi
22136
22137 if test "$enable_largefile" != no; then
22138 wx_largefile=no
22139
22140 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22141 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22142 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22143 echo $ECHO_N "(cached) $ECHO_C" >&6
22144 else
22145
22146 cat >conftest.$ac_ext <<_ACEOF
22147 /* confdefs.h. */
22148 _ACEOF
22149 cat confdefs.h >>conftest.$ac_ext
22150 cat >>conftest.$ac_ext <<_ACEOF
22151 /* end confdefs.h. */
22152 #define _FILE_OFFSET_BITS 64
22153 #include <sys/types.h>
22154 int
22155 main ()
22156 {
22157 typedef struct {
22158 unsigned int field: sizeof(off_t) == 8;
22159 } wxlf;
22160
22161 ;
22162 return 0;
22163 }
22164 _ACEOF
22165 rm -f conftest.$ac_objext
22166 if { (ac_try="$ac_compile"
22167 case "(($ac_try" in
22168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22169 *) ac_try_echo=$ac_try;;
22170 esac
22171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22172 (eval "$ac_compile") 2>conftest.er1
22173 ac_status=$?
22174 grep -v '^ *+' conftest.er1 >conftest.err
22175 rm -f conftest.er1
22176 cat conftest.err >&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } && {
22179 test -z "$ac_c_werror_flag" ||
22180 test ! -s conftest.err
22181 } && test -s conftest.$ac_objext; then
22182 ac_cv_sys_file_offset_bits=64
22183 else
22184 echo "$as_me: failed program was:" >&5
22185 sed 's/^/| /' conftest.$ac_ext >&5
22186
22187 ac_cv_sys_file_offset_bits=no
22188 fi
22189
22190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22191
22192
22193 fi
22194 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22195 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22196
22197 if test "$ac_cv_sys_file_offset_bits" != no; then
22198 wx_largefile=yes
22199 cat >>confdefs.h <<_ACEOF
22200 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22201 _ACEOF
22202
22203 fi
22204
22205 if test "x$wx_largefile" != "xyes"; then
22206
22207 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22208 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22209 if test "${ac_cv_sys_large_files+set}" = set; then
22210 echo $ECHO_N "(cached) $ECHO_C" >&6
22211 else
22212
22213 cat >conftest.$ac_ext <<_ACEOF
22214 /* confdefs.h. */
22215 _ACEOF
22216 cat confdefs.h >>conftest.$ac_ext
22217 cat >>conftest.$ac_ext <<_ACEOF
22218 /* end confdefs.h. */
22219 #define _LARGE_FILES 1
22220 #include <sys/types.h>
22221 int
22222 main ()
22223 {
22224 typedef struct {
22225 unsigned int field: sizeof(off_t) == 8;
22226 } wxlf;
22227
22228 ;
22229 return 0;
22230 }
22231 _ACEOF
22232 rm -f conftest.$ac_objext
22233 if { (ac_try="$ac_compile"
22234 case "(($ac_try" in
22235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22236 *) ac_try_echo=$ac_try;;
22237 esac
22238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22239 (eval "$ac_compile") 2>conftest.er1
22240 ac_status=$?
22241 grep -v '^ *+' conftest.er1 >conftest.err
22242 rm -f conftest.er1
22243 cat conftest.err >&5
22244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22245 (exit $ac_status); } && {
22246 test -z "$ac_c_werror_flag" ||
22247 test ! -s conftest.err
22248 } && test -s conftest.$ac_objext; then
22249 ac_cv_sys_large_files=1
22250 else
22251 echo "$as_me: failed program was:" >&5
22252 sed 's/^/| /' conftest.$ac_ext >&5
22253
22254 ac_cv_sys_large_files=no
22255 fi
22256
22257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22258
22259
22260 fi
22261 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22262 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22263
22264 if test "$ac_cv_sys_large_files" != no; then
22265 wx_largefile=yes
22266 cat >>confdefs.h <<_ACEOF
22267 #define _LARGE_FILES $ac_cv_sys_large_files
22268 _ACEOF
22269
22270 fi
22271
22272 fi
22273
22274 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22275 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22276 if test "x$wx_largefile" = "xyes"; then
22277 cat >>confdefs.h <<\_ACEOF
22278 #define HAVE_LARGEFILE_SUPPORT 1
22279 _ACEOF
22280
22281 fi
22282 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22283 echo "${ECHO_T}$wx_largefile" >&6; }
22284 fi
22285
22286
22287 if test "x$wx_largefile" = "xyes"; then
22288 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22289 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22290
22291 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22292 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22293 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22294 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22295 echo $ECHO_N "(cached) $ECHO_C" >&6
22296 else
22297
22298 ac_ext=cpp
22299 ac_cpp='$CXXCPP $CPPFLAGS'
22300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22303
22304 cat >conftest.$ac_ext <<_ACEOF
22305 /* confdefs.h. */
22306 _ACEOF
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22310
22311 int
22312 main ()
22313 {
22314
22315 #ifndef __STDC_EXT__
22316 choke me
22317 #endif
22318
22319 ;
22320 return 0;
22321 }
22322 _ACEOF
22323 rm -f conftest.$ac_objext
22324 if { (ac_try="$ac_compile"
22325 case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22328 esac
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_compile") 2>conftest.er1
22331 ac_status=$?
22332 grep -v '^ *+' conftest.er1 >conftest.err
22333 rm -f conftest.er1
22334 cat conftest.err >&5
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); } && {
22337 test -z "$ac_cxx_werror_flag" ||
22338 test ! -s conftest.err
22339 } && test -s conftest.$ac_objext; then
22340 wx_cv_STDC_EXT_required=no
22341 else
22342 echo "$as_me: failed program was:" >&5
22343 sed 's/^/| /' conftest.$ac_ext >&5
22344
22345 wx_cv_STDC_EXT_required=yes
22346
22347 fi
22348
22349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22350 ac_ext=c
22351 ac_cpp='$CPP $CPPFLAGS'
22352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22355
22356
22357
22358 fi
22359 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22360 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22361 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22362 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22363 fi
22364 fi
22365 else
22366 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22367 fi
22368 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22369 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22370 if test "${ac_cv_sys_largefile_source+set}" = set; then
22371 echo $ECHO_N "(cached) $ECHO_C" >&6
22372 else
22373 while :; do
22374 cat >conftest.$ac_ext <<_ACEOF
22375 /* confdefs.h. */
22376 _ACEOF
22377 cat confdefs.h >>conftest.$ac_ext
22378 cat >>conftest.$ac_ext <<_ACEOF
22379 /* end confdefs.h. */
22380 #include <sys/types.h> /* for off_t */
22381 #include <stdio.h>
22382 int
22383 main ()
22384 {
22385 int (*fp) (FILE *, off_t, int) = fseeko;
22386 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22387 ;
22388 return 0;
22389 }
22390 _ACEOF
22391 rm -f conftest.$ac_objext conftest$ac_exeext
22392 if { (ac_try="$ac_link"
22393 case "(($ac_try" in
22394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22395 *) ac_try_echo=$ac_try;;
22396 esac
22397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22398 (eval "$ac_link") 2>conftest.er1
22399 ac_status=$?
22400 grep -v '^ *+' conftest.er1 >conftest.err
22401 rm -f conftest.er1
22402 cat conftest.err >&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } && {
22405 test -z "$ac_c_werror_flag" ||
22406 test ! -s conftest.err
22407 } && test -s conftest$ac_exeext &&
22408 $as_test_x conftest$ac_exeext; then
22409 ac_cv_sys_largefile_source=no; break
22410 else
22411 echo "$as_me: failed program was:" >&5
22412 sed 's/^/| /' conftest.$ac_ext >&5
22413
22414
22415 fi
22416
22417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22418 conftest$ac_exeext conftest.$ac_ext
22419 cat >conftest.$ac_ext <<_ACEOF
22420 /* confdefs.h. */
22421 _ACEOF
22422 cat confdefs.h >>conftest.$ac_ext
22423 cat >>conftest.$ac_ext <<_ACEOF
22424 /* end confdefs.h. */
22425 #define _LARGEFILE_SOURCE 1
22426 #include <sys/types.h> /* for off_t */
22427 #include <stdio.h>
22428 int
22429 main ()
22430 {
22431 int (*fp) (FILE *, off_t, int) = fseeko;
22432 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22433 ;
22434 return 0;
22435 }
22436 _ACEOF
22437 rm -f conftest.$ac_objext conftest$ac_exeext
22438 if { (ac_try="$ac_link"
22439 case "(($ac_try" in
22440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22441 *) ac_try_echo=$ac_try;;
22442 esac
22443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22444 (eval "$ac_link") 2>conftest.er1
22445 ac_status=$?
22446 grep -v '^ *+' conftest.er1 >conftest.err
22447 rm -f conftest.er1
22448 cat conftest.err >&5
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && {
22451 test -z "$ac_c_werror_flag" ||
22452 test ! -s conftest.err
22453 } && test -s conftest$ac_exeext &&
22454 $as_test_x conftest$ac_exeext; then
22455 ac_cv_sys_largefile_source=1; break
22456 else
22457 echo "$as_me: failed program was:" >&5
22458 sed 's/^/| /' conftest.$ac_ext >&5
22459
22460
22461 fi
22462
22463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22464 conftest$ac_exeext conftest.$ac_ext
22465 ac_cv_sys_largefile_source=unknown
22466 break
22467 done
22468 fi
22469 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22470 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22471 case $ac_cv_sys_largefile_source in #(
22472 no | unknown) ;;
22473 *)
22474 cat >>confdefs.h <<_ACEOF
22475 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22476 _ACEOF
22477 ;;
22478 esac
22479 rm -f conftest*
22480
22481 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22482 # in glibc 2.1.3, but that breaks too many other things.
22483 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22484 if test $ac_cv_sys_largefile_source != unknown; then
22485
22486 cat >>confdefs.h <<\_ACEOF
22487 #define HAVE_FSEEKO 1
22488 _ACEOF
22489
22490 fi
22491
22492 if test "$ac_cv_sys_largefile_source" != no; then
22493 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22494 fi
22495 fi
22496
22497 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22498 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22499 if test "${ac_cv_c_bigendian+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 else
22502 ac_cv_c_bigendian=unknown
22503 # See if sys/param.h defines the BYTE_ORDER macro.
22504 cat >conftest.$ac_ext <<_ACEOF
22505 /* confdefs.h. */
22506 _ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510 #include <sys/types.h>
22511 #include <sys/param.h>
22512 int
22513 main ()
22514 {
22515
22516 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22517 bogus endian macros
22518 #endif
22519 ;
22520 return 0;
22521 }
22522 _ACEOF
22523 rm -f conftest.$ac_objext
22524 if { (ac_try="$ac_compile"
22525 case "(($ac_try" in
22526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22527 *) ac_try_echo=$ac_try;;
22528 esac
22529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22530 (eval "$ac_compile") 2>conftest.er1
22531 ac_status=$?
22532 grep -v '^ *+' conftest.er1 >conftest.err
22533 rm -f conftest.er1
22534 cat conftest.err >&5
22535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22536 (exit $ac_status); } && {
22537 test -z "$ac_c_werror_flag" ||
22538 test ! -s conftest.err
22539 } && test -s conftest.$ac_objext; then
22540 # It does; now see whether it defined to BIG_ENDIAN or not.
22541 cat >conftest.$ac_ext <<_ACEOF
22542 /* confdefs.h. */
22543 _ACEOF
22544 cat confdefs.h >>conftest.$ac_ext
22545 cat >>conftest.$ac_ext <<_ACEOF
22546 /* end confdefs.h. */
22547 #include <sys/types.h>
22548 #include <sys/param.h>
22549 int
22550 main ()
22551 {
22552
22553 #if BYTE_ORDER != BIG_ENDIAN
22554 not big endian
22555 #endif
22556 ;
22557 return 0;
22558 }
22559 _ACEOF
22560 rm -f conftest.$ac_objext
22561 if { (ac_try="$ac_compile"
22562 case "(($ac_try" in
22563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22564 *) ac_try_echo=$ac_try;;
22565 esac
22566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22567 (eval "$ac_compile") 2>conftest.er1
22568 ac_status=$?
22569 grep -v '^ *+' conftest.er1 >conftest.err
22570 rm -f conftest.er1
22571 cat conftest.err >&5
22572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22573 (exit $ac_status); } && {
22574 test -z "$ac_c_werror_flag" ||
22575 test ! -s conftest.err
22576 } && test -s conftest.$ac_objext; then
22577 ac_cv_c_bigendian=yes
22578 else
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22581
22582 ac_cv_c_bigendian=no
22583 fi
22584
22585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22586 else
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.$ac_ext >&5
22589
22590
22591 fi
22592
22593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22594 if test $ac_cv_c_bigendian = unknown; then
22595 if test "$cross_compiling" = yes; then
22596 ac_cv_c_bigendian=unknown
22597 else
22598 cat >conftest.$ac_ext <<_ACEOF
22599 /* confdefs.h. */
22600 _ACEOF
22601 cat confdefs.h >>conftest.$ac_ext
22602 cat >>conftest.$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22604 main () {
22605 /* Are we little or big endian? From Harbison&Steele. */
22606 union
22607 {
22608 long l;
22609 char c[sizeof (long)];
22610 } u;
22611 u.l = 1;
22612 exit (u.c[sizeof (long) - 1] == 1);
22613 }
22614 _ACEOF
22615 rm -f conftest$ac_exeext
22616 if { (ac_try="$ac_link"
22617 case "(($ac_try" in
22618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22619 *) ac_try_echo=$ac_try;;
22620 esac
22621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22622 (eval "$ac_link") 2>&5
22623 ac_status=$?
22624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22626 { (case "(($ac_try" in
22627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22628 *) ac_try_echo=$ac_try;;
22629 esac
22630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22631 (eval "$ac_try") 2>&5
22632 ac_status=$?
22633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22634 (exit $ac_status); }; }; then
22635 ac_cv_c_bigendian=no
22636 else
22637 echo "$as_me: program exited with status $ac_status" >&5
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.$ac_ext >&5
22640
22641 ( exit $ac_status )
22642 ac_cv_c_bigendian=yes
22643 fi
22644 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22645 fi
22646
22647
22648 fi
22649 fi
22650 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22651 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22652 if test $ac_cv_c_bigendian = unknown; then
22653 { 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
22654 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;}
22655 fi
22656 if test $ac_cv_c_bigendian = yes; then
22657 cat >>confdefs.h <<\_ACEOF
22658 #define WORDS_BIGENDIAN 1
22659 _ACEOF
22660
22661 fi
22662
22663
22664
22665
22666 ac_ext=cpp
22667 ac_cpp='$CXXCPP $CPPFLAGS'
22668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22671
22672
22673 { echo "$as_me:$LINENO: checking for iostream" >&5
22674 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22675 if test "${ac_cv_header_iostream+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22677 else
22678 cat >conftest.$ac_ext <<_ACEOF
22679 /* confdefs.h. */
22680 _ACEOF
22681 cat confdefs.h >>conftest.$ac_ext
22682 cat >>conftest.$ac_ext <<_ACEOF
22683 /* end confdefs.h. */
22684
22685
22686 #include <iostream>
22687 _ACEOF
22688 rm -f conftest.$ac_objext
22689 if { (ac_try="$ac_compile"
22690 case "(($ac_try" in
22691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22692 *) ac_try_echo=$ac_try;;
22693 esac
22694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22695 (eval "$ac_compile") 2>conftest.er1
22696 ac_status=$?
22697 grep -v '^ *+' conftest.er1 >conftest.err
22698 rm -f conftest.er1
22699 cat conftest.err >&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } && {
22702 test -z "$ac_cxx_werror_flag" ||
22703 test ! -s conftest.err
22704 } && test -s conftest.$ac_objext; then
22705 ac_cv_header_iostream=yes
22706 else
22707 echo "$as_me: failed program was:" >&5
22708 sed 's/^/| /' conftest.$ac_ext >&5
22709
22710 ac_cv_header_iostream=no
22711 fi
22712
22713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22714 fi
22715 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22716 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22717
22718
22719
22720 if test "$ac_cv_header_iostream" = "yes" ; then
22721 :
22722 else
22723 cat >>confdefs.h <<\_ACEOF
22724 #define wxUSE_IOSTREAMH 1
22725 _ACEOF
22726
22727 fi
22728
22729 ac_ext=c
22730 ac_cpp='$CPP $CPPFLAGS'
22731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22734
22735
22736
22737
22738 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22739 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22740 if test "${wx_cv_cpp_bool+set}" = set; then
22741 echo $ECHO_N "(cached) $ECHO_C" >&6
22742 else
22743
22744
22745 ac_ext=cpp
22746 ac_cpp='$CXXCPP $CPPFLAGS'
22747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22750
22751
22752 cat >conftest.$ac_ext <<_ACEOF
22753 /* confdefs.h. */
22754 _ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h. */
22758
22759
22760 int
22761 main ()
22762 {
22763
22764 bool b = true;
22765
22766 return 0;
22767
22768 ;
22769 return 0;
22770 }
22771 _ACEOF
22772 rm -f conftest.$ac_objext
22773 if { (ac_try="$ac_compile"
22774 case "(($ac_try" in
22775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22776 *) ac_try_echo=$ac_try;;
22777 esac
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_compile") 2>conftest.er1
22780 ac_status=$?
22781 grep -v '^ *+' conftest.er1 >conftest.err
22782 rm -f conftest.er1
22783 cat conftest.err >&5
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); } && {
22786 test -z "$ac_cxx_werror_flag" ||
22787 test ! -s conftest.err
22788 } && test -s conftest.$ac_objext; then
22789
22790 wx_cv_cpp_bool=yes
22791
22792 else
22793 echo "$as_me: failed program was:" >&5
22794 sed 's/^/| /' conftest.$ac_ext >&5
22795
22796
22797 wx_cv_cpp_bool=no
22798
22799
22800 fi
22801
22802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22803
22804 ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22809
22810
22811 fi
22812 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22813 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22814
22815 if test "$wx_cv_cpp_bool" = "yes"; then
22816 cat >>confdefs.h <<\_ACEOF
22817 #define HAVE_BOOL 1
22818 _ACEOF
22819
22820 fi
22821
22822
22823
22824 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22825 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22826 if test "${wx_cv_explicit+set}" = set; then
22827 echo $ECHO_N "(cached) $ECHO_C" >&6
22828 else
22829
22830
22831 ac_ext=cpp
22832 ac_cpp='$CXXCPP $CPPFLAGS'
22833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22836
22837
22838 cat >conftest.$ac_ext <<_ACEOF
22839 /* confdefs.h. */
22840 _ACEOF
22841 cat confdefs.h >>conftest.$ac_ext
22842 cat >>conftest.$ac_ext <<_ACEOF
22843 /* end confdefs.h. */
22844
22845 class Foo { public: explicit Foo(int) {} };
22846
22847 int
22848 main ()
22849 {
22850
22851 return 0;
22852
22853 ;
22854 return 0;
22855 }
22856 _ACEOF
22857 rm -f conftest.$ac_objext
22858 if { (ac_try="$ac_compile"
22859 case "(($ac_try" in
22860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22861 *) ac_try_echo=$ac_try;;
22862 esac
22863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22864 (eval "$ac_compile") 2>conftest.er1
22865 ac_status=$?
22866 grep -v '^ *+' conftest.er1 >conftest.err
22867 rm -f conftest.er1
22868 cat conftest.err >&5
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); } && {
22871 test -z "$ac_cxx_werror_flag" ||
22872 test ! -s conftest.err
22873 } && test -s conftest.$ac_objext; then
22874
22875 cat >conftest.$ac_ext <<_ACEOF
22876 /* confdefs.h. */
22877 _ACEOF
22878 cat confdefs.h >>conftest.$ac_ext
22879 cat >>conftest.$ac_ext <<_ACEOF
22880 /* end confdefs.h. */
22881
22882 class Foo { public: explicit Foo(int) {} };
22883 static void TakeFoo(const Foo& foo) { }
22884
22885 int
22886 main ()
22887 {
22888
22889 TakeFoo(17);
22890 return 0;
22891
22892 ;
22893 return 0;
22894 }
22895 _ACEOF
22896 rm -f conftest.$ac_objext
22897 if { (ac_try="$ac_compile"
22898 case "(($ac_try" in
22899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22900 *) ac_try_echo=$ac_try;;
22901 esac
22902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22903 (eval "$ac_compile") 2>conftest.er1
22904 ac_status=$?
22905 grep -v '^ *+' conftest.er1 >conftest.err
22906 rm -f conftest.er1
22907 cat conftest.err >&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); } && {
22910 test -z "$ac_cxx_werror_flag" ||
22911 test ! -s conftest.err
22912 } && test -s conftest.$ac_objext; then
22913 wx_cv_explicit=no
22914 else
22915 echo "$as_me: failed program was:" >&5
22916 sed 's/^/| /' conftest.$ac_ext >&5
22917
22918 wx_cv_explicit=yes
22919
22920 fi
22921
22922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22923
22924 else
22925 echo "$as_me: failed program was:" >&5
22926 sed 's/^/| /' conftest.$ac_ext >&5
22927
22928 wx_cv_explicit=no
22929
22930 fi
22931
22932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22933
22934 ac_ext=c
22935 ac_cpp='$CPP $CPPFLAGS'
22936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22939
22940
22941 fi
22942 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22943 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22944
22945 if test "$wx_cv_explicit" = "yes"; then
22946 cat >>confdefs.h <<\_ACEOF
22947 #define HAVE_EXPLICIT 1
22948 _ACEOF
22949
22950 fi
22951
22952
22953 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22954 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22955 if test "${ac_cv_cxx_const_cast+set}" = set; then
22956 echo $ECHO_N "(cached) $ECHO_C" >&6
22957 else
22958
22959 ac_ext=cpp
22960 ac_cpp='$CXXCPP $CPPFLAGS'
22961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22964
22965 cat >conftest.$ac_ext <<_ACEOF
22966 /* confdefs.h. */
22967 _ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971
22972 int
22973 main ()
22974 {
22975 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22976 ;
22977 return 0;
22978 }
22979 _ACEOF
22980 rm -f conftest.$ac_objext
22981 if { (ac_try="$ac_compile"
22982 case "(($ac_try" in
22983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22985 esac
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_compile") 2>conftest.er1
22988 ac_status=$?
22989 grep -v '^ *+' conftest.er1 >conftest.err
22990 rm -f conftest.er1
22991 cat conftest.err >&5
22992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22993 (exit $ac_status); } && {
22994 test -z "$ac_cxx_werror_flag" ||
22995 test ! -s conftest.err
22996 } && test -s conftest.$ac_objext; then
22997 ac_cv_cxx_const_cast=yes
22998 else
22999 echo "$as_me: failed program was:" >&5
23000 sed 's/^/| /' conftest.$ac_ext >&5
23001
23002 ac_cv_cxx_const_cast=no
23003 fi
23004
23005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23006 ac_ext=c
23007 ac_cpp='$CPP $CPPFLAGS'
23008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23011
23012
23013 fi
23014 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23015 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23016 if test "$ac_cv_cxx_const_cast" = yes; then
23017
23018 cat >>confdefs.h <<\_ACEOF
23019 #define HAVE_CONST_CAST
23020 _ACEOF
23021
23022 fi
23023
23024 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23025 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23026 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23027 echo $ECHO_N "(cached) $ECHO_C" >&6
23028 else
23029
23030 ac_ext=cpp
23031 ac_cpp='$CXXCPP $CPPFLAGS'
23032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23035
23036 cat >conftest.$ac_ext <<_ACEOF
23037 /* confdefs.h. */
23038 _ACEOF
23039 cat confdefs.h >>conftest.$ac_ext
23040 cat >>conftest.$ac_ext <<_ACEOF
23041 /* end confdefs.h. */
23042 #include <typeinfo>
23043 class Base { public : Base () {} virtual void f () = 0;};
23044 class Derived : public Base { public : Derived () {} virtual void f () {} };
23045 class Unrelated { public : Unrelated () {} };
23046 int g (Unrelated&) { return 0; }
23047 int
23048 main ()
23049 {
23050
23051 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23052 ;
23053 return 0;
23054 }
23055 _ACEOF
23056 rm -f conftest.$ac_objext
23057 if { (ac_try="$ac_compile"
23058 case "(($ac_try" in
23059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23060 *) ac_try_echo=$ac_try;;
23061 esac
23062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23063 (eval "$ac_compile") 2>conftest.er1
23064 ac_status=$?
23065 grep -v '^ *+' conftest.er1 >conftest.err
23066 rm -f conftest.er1
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } && {
23070 test -z "$ac_cxx_werror_flag" ||
23071 test ! -s conftest.err
23072 } && test -s conftest.$ac_objext; then
23073 ac_cv_cxx_reinterpret_cast=yes
23074 else
23075 echo "$as_me: failed program was:" >&5
23076 sed 's/^/| /' conftest.$ac_ext >&5
23077
23078 ac_cv_cxx_reinterpret_cast=no
23079 fi
23080
23081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23082 ac_ext=c
23083 ac_cpp='$CPP $CPPFLAGS'
23084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23087
23088
23089 fi
23090 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23091 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23092 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23093
23094 cat >>confdefs.h <<\_ACEOF
23095 #define HAVE_REINTERPRET_CAST
23096 _ACEOF
23097
23098 fi
23099
23100 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23101 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23102 if test "${ac_cv_cxx_static_cast+set}" = set; then
23103 echo $ECHO_N "(cached) $ECHO_C" >&6
23104 else
23105
23106 ac_ext=cpp
23107 ac_cpp='$CXXCPP $CPPFLAGS'
23108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23111
23112 cat >conftest.$ac_ext <<_ACEOF
23113 /* confdefs.h. */
23114 _ACEOF
23115 cat confdefs.h >>conftest.$ac_ext
23116 cat >>conftest.$ac_ext <<_ACEOF
23117 /* end confdefs.h. */
23118 #include <typeinfo>
23119 class Base { public : Base () {} virtual void f () = 0; };
23120 class Derived : public Base { public : Derived () {} virtual void f () {} };
23121 int g (Derived&) { return 0; }
23122 int
23123 main ()
23124 {
23125
23126 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23127 ;
23128 return 0;
23129 }
23130 _ACEOF
23131 rm -f conftest.$ac_objext
23132 if { (ac_try="$ac_compile"
23133 case "(($ac_try" in
23134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23135 *) ac_try_echo=$ac_try;;
23136 esac
23137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23138 (eval "$ac_compile") 2>conftest.er1
23139 ac_status=$?
23140 grep -v '^ *+' conftest.er1 >conftest.err
23141 rm -f conftest.er1
23142 cat conftest.err >&5
23143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144 (exit $ac_status); } && {
23145 test -z "$ac_cxx_werror_flag" ||
23146 test ! -s conftest.err
23147 } && test -s conftest.$ac_objext; then
23148 ac_cv_cxx_static_cast=yes
23149 else
23150 echo "$as_me: failed program was:" >&5
23151 sed 's/^/| /' conftest.$ac_ext >&5
23152
23153 ac_cv_cxx_static_cast=no
23154 fi
23155
23156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23157 ac_ext=c
23158 ac_cpp='$CPP $CPPFLAGS'
23159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23162
23163
23164 fi
23165 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23166 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23167 if test "$ac_cv_cxx_static_cast" = yes; then
23168
23169 cat >>confdefs.h <<\_ACEOF
23170 #define HAVE_STATIC_CAST
23171 _ACEOF
23172
23173 fi
23174
23175
23176 if test "x$SUNCXX" = xyes; then
23177 CXXFLAGS="-features=tmplife $CXXFLAGS"
23178 fi
23179
23180 if test "x$SUNCC" = xyes; then
23181 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23182 fi
23183
23184 if test "x$SGICC" = "xyes"; then
23185 CFLAGS="-woff 3970 $CFLAGS"
23186 fi
23187 if test "x$SGICXX" = "xyes"; then
23188 CXXFLAGS="-woff 3970 $CXXFLAGS"
23189 fi
23190
23191 if test "x$HPCC" = "xyes"; then
23192 CFLAGS="+W 2011,2450 $CFLAGS"
23193 fi
23194 if test "x$HPCXX" = "xyes"; then
23195 CXXFLAGS="+W 2340 $CXXFLAGS"
23196 fi
23197
23198 if test "x$COMPAQCXX" = "xyes"; then
23199 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23200 fi
23201
23202 ac_ext=cpp
23203 ac_cpp='$CXXCPP $CPPFLAGS'
23204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23207
23208
23209 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23210 if test "$wxUSE_UNICODE" = "yes"; then
23211 std_string="std::wstring"
23212 char_type="wchar_t"
23213 else
23214 std_string="std::string"
23215 char_type="char"
23216 fi
23217
23218 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23219 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23220 if test "${wx_cv_class_stdstring+set}" = set; then
23221 echo $ECHO_N "(cached) $ECHO_C" >&6
23222 else
23223
23224 cat >conftest.$ac_ext <<_ACEOF
23225 /* confdefs.h. */
23226 _ACEOF
23227 cat confdefs.h >>conftest.$ac_ext
23228 cat >>conftest.$ac_ext <<_ACEOF
23229 /* end confdefs.h. */
23230 #include <string>
23231 int
23232 main ()
23233 {
23234 $std_string foo;
23235 ;
23236 return 0;
23237 }
23238 _ACEOF
23239 rm -f conftest.$ac_objext
23240 if { (ac_try="$ac_compile"
23241 case "(($ac_try" in
23242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23243 *) ac_try_echo=$ac_try;;
23244 esac
23245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23246 (eval "$ac_compile") 2>conftest.er1
23247 ac_status=$?
23248 grep -v '^ *+' conftest.er1 >conftest.err
23249 rm -f conftest.er1
23250 cat conftest.err >&5
23251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23252 (exit $ac_status); } && {
23253 test -z "$ac_cxx_werror_flag" ||
23254 test ! -s conftest.err
23255 } && test -s conftest.$ac_objext; then
23256 wx_cv_class_stdstring=yes
23257 else
23258 echo "$as_me: failed program was:" >&5
23259 sed 's/^/| /' conftest.$ac_ext >&5
23260
23261 wx_cv_class_stdstring=no
23262
23263 fi
23264
23265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23266
23267
23268 fi
23269 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23270 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23271
23272 if test "$wx_cv_class_stdstring" = yes; then
23273 if test "$wxUSE_UNICODE" = "yes"; then
23274 cat >>confdefs.h <<\_ACEOF
23275 #define HAVE_STD_WSTRING 1
23276 _ACEOF
23277
23278 fi
23279 else
23280 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23281 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23282 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23283 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 else
23285
23286 cat >conftest.$ac_ext <<_ACEOF
23287 /* confdefs.h. */
23288 _ACEOF
23289 cat confdefs.h >>conftest.$ac_ext
23290 cat >>conftest.$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292
23293 #ifdef HAVE_WCHAR_H
23294 # ifdef __CYGWIN__
23295 # include <stddef.h>
23296 # endif
23297 # include <wchar.h>
23298 #endif
23299 #ifdef HAVE_STDLIB_H
23300 # include <stdlib.h>
23301 #endif
23302 #include <stdio.h>
23303 #include <string>
23304
23305 int
23306 main ()
23307 {
23308 std::basic_string<$char_type> foo;
23309 const $char_type* dummy = foo.c_str();
23310 ;
23311 return 0;
23312 }
23313 _ACEOF
23314 rm -f conftest.$ac_objext
23315 if { (ac_try="$ac_compile"
23316 case "(($ac_try" in
23317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23318 *) ac_try_echo=$ac_try;;
23319 esac
23320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23321 (eval "$ac_compile") 2>conftest.er1
23322 ac_status=$?
23323 grep -v '^ *+' conftest.er1 >conftest.err
23324 rm -f conftest.er1
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } && {
23328 test -z "$ac_cxx_werror_flag" ||
23329 test ! -s conftest.err
23330 } && test -s conftest.$ac_objext; then
23331 wx_cv_class_stdbasicstring=yes
23332 else
23333 echo "$as_me: failed program was:" >&5
23334 sed 's/^/| /' conftest.$ac_ext >&5
23335
23336 wx_cv_class_stdbasicstring=no
23337
23338 fi
23339
23340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23341
23342
23343 fi
23344 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23345 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23346
23347 if test "$wx_cv_class_stdbasicstring" != yes; then
23348 if test "$wxUSE_STL" = "yes"; then
23349 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23350 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23351 { (exit 1); exit 1; }; }
23352 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23353 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23354 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23355 { (exit 1); exit 1; }; }
23356 else
23357 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23358 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23359 wxUSE_STD_STRING=no
23360 fi
23361 fi
23362 fi
23363 fi
23364
23365 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23366 { echo "$as_me:$LINENO: checking for std::istream" >&5
23367 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23368 if test "${ac_cv_type_std__istream+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 else
23371 cat >conftest.$ac_ext <<_ACEOF
23372 /* confdefs.h. */
23373 _ACEOF
23374 cat confdefs.h >>conftest.$ac_ext
23375 cat >>conftest.$ac_ext <<_ACEOF
23376 /* end confdefs.h. */
23377 #include <iostream>
23378
23379 typedef std::istream ac__type_new_;
23380 int
23381 main ()
23382 {
23383 if ((ac__type_new_ *) 0)
23384 return 0;
23385 if (sizeof (ac__type_new_))
23386 return 0;
23387 ;
23388 return 0;
23389 }
23390 _ACEOF
23391 rm -f conftest.$ac_objext
23392 if { (ac_try="$ac_compile"
23393 case "(($ac_try" in
23394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23395 *) ac_try_echo=$ac_try;;
23396 esac
23397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23398 (eval "$ac_compile") 2>conftest.er1
23399 ac_status=$?
23400 grep -v '^ *+' conftest.er1 >conftest.err
23401 rm -f conftest.er1
23402 cat conftest.err >&5
23403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23404 (exit $ac_status); } && {
23405 test -z "$ac_cxx_werror_flag" ||
23406 test ! -s conftest.err
23407 } && test -s conftest.$ac_objext; then
23408 ac_cv_type_std__istream=yes
23409 else
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23412
23413 ac_cv_type_std__istream=no
23414 fi
23415
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 fi
23418 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23419 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23420 if test $ac_cv_type_std__istream = yes; then
23421
23422 cat >>confdefs.h <<_ACEOF
23423 #define HAVE_STD__ISTREAM 1
23424 _ACEOF
23425
23426
23427 else
23428 wxUSE_STD_IOSTREAM=no
23429 fi
23430 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23431 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23432 if test "${ac_cv_type_std__ostream+set}" = set; then
23433 echo $ECHO_N "(cached) $ECHO_C" >&6
23434 else
23435 cat >conftest.$ac_ext <<_ACEOF
23436 /* confdefs.h. */
23437 _ACEOF
23438 cat confdefs.h >>conftest.$ac_ext
23439 cat >>conftest.$ac_ext <<_ACEOF
23440 /* end confdefs.h. */
23441 #include <iostream>
23442
23443 typedef std::ostream ac__type_new_;
23444 int
23445 main ()
23446 {
23447 if ((ac__type_new_ *) 0)
23448 return 0;
23449 if (sizeof (ac__type_new_))
23450 return 0;
23451 ;
23452 return 0;
23453 }
23454 _ACEOF
23455 rm -f conftest.$ac_objext
23456 if { (ac_try="$ac_compile"
23457 case "(($ac_try" in
23458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23459 *) ac_try_echo=$ac_try;;
23460 esac
23461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23462 (eval "$ac_compile") 2>conftest.er1
23463 ac_status=$?
23464 grep -v '^ *+' conftest.er1 >conftest.err
23465 rm -f conftest.er1
23466 cat conftest.err >&5
23467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468 (exit $ac_status); } && {
23469 test -z "$ac_cxx_werror_flag" ||
23470 test ! -s conftest.err
23471 } && test -s conftest.$ac_objext; then
23472 ac_cv_type_std__ostream=yes
23473 else
23474 echo "$as_me: failed program was:" >&5
23475 sed 's/^/| /' conftest.$ac_ext >&5
23476
23477 ac_cv_type_std__ostream=no
23478 fi
23479
23480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23481 fi
23482 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23483 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23484 if test $ac_cv_type_std__ostream = yes; then
23485
23486 cat >>confdefs.h <<_ACEOF
23487 #define HAVE_STD__OSTREAM 1
23488 _ACEOF
23489
23490
23491 else
23492 wxUSE_STD_IOSTREAM=no
23493 fi
23494
23495
23496 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23497 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23498 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23499 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23500 { (exit 1); exit 1; }; }
23501 else
23502 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23503 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23504 fi
23505 fi
23506 fi
23507
23508 if test "$wxUSE_STL" = "yes"; then
23509 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23510 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23511 if test "${wx_cv_lib_stl+set}" = set; then
23512 echo $ECHO_N "(cached) $ECHO_C" >&6
23513 else
23514 cat >conftest.$ac_ext <<_ACEOF
23515 /* confdefs.h. */
23516 _ACEOF
23517 cat confdefs.h >>conftest.$ac_ext
23518 cat >>conftest.$ac_ext <<_ACEOF
23519 /* end confdefs.h. */
23520 #include <string>
23521 #include <functional>
23522 #include <algorithm>
23523 #include <vector>
23524 #include <list>
23525 int
23526 main ()
23527 {
23528 std::vector<int> moo;
23529 std::list<int> foo;
23530 std::vector<int>::iterator it =
23531 std::find_if(moo.begin(), moo.end(),
23532 std::bind2nd(std::less<int>(), 3));
23533 ;
23534 return 0;
23535 }
23536 _ACEOF
23537 rm -f conftest.$ac_objext
23538 if { (ac_try="$ac_compile"
23539 case "(($ac_try" in
23540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23541 *) ac_try_echo=$ac_try;;
23542 esac
23543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23544 (eval "$ac_compile") 2>conftest.er1
23545 ac_status=$?
23546 grep -v '^ *+' conftest.er1 >conftest.err
23547 rm -f conftest.er1
23548 cat conftest.err >&5
23549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23550 (exit $ac_status); } && {
23551 test -z "$ac_cxx_werror_flag" ||
23552 test ! -s conftest.err
23553 } && test -s conftest.$ac_objext; then
23554 wx_cv_lib_stl=yes
23555 else
23556 echo "$as_me: failed program was:" >&5
23557 sed 's/^/| /' conftest.$ac_ext >&5
23558
23559 wx_cv_lib_stl=no
23560
23561 fi
23562
23563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23564
23565 fi
23566 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23567 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23568
23569 if test "$wx_cv_lib_stl" != yes; then
23570 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23571 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23572 { (exit 1); exit 1; }; }
23573 fi
23574
23575 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23576 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23577 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23578 echo $ECHO_N "(cached) $ECHO_C" >&6
23579 else
23580 cat >conftest.$ac_ext <<_ACEOF
23581 /* confdefs.h. */
23582 _ACEOF
23583 cat confdefs.h >>conftest.$ac_ext
23584 cat >>conftest.$ac_ext <<_ACEOF
23585 /* end confdefs.h. */
23586 #include <string>
23587 int
23588 main ()
23589 {
23590 std::string foo, bar;
23591 foo.compare(bar);
23592 foo.compare(1, 1, bar);
23593 foo.compare(1, 1, bar, 1, 1);
23594 foo.compare("");
23595 foo.compare(1, 1, "");
23596 foo.compare(1, 1, "", 2);
23597 ;
23598 return 0;
23599 }
23600 _ACEOF
23601 rm -f conftest.$ac_objext
23602 if { (ac_try="$ac_compile"
23603 case "(($ac_try" in
23604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23605 *) ac_try_echo=$ac_try;;
23606 esac
23607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23608 (eval "$ac_compile") 2>conftest.er1
23609 ac_status=$?
23610 grep -v '^ *+' conftest.er1 >conftest.err
23611 rm -f conftest.er1
23612 cat conftest.err >&5
23613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23614 (exit $ac_status); } && {
23615 test -z "$ac_cxx_werror_flag" ||
23616 test ! -s conftest.err
23617 } && test -s conftest.$ac_objext; then
23618 wx_cv_func_stdstring_compare=yes
23619 else
23620 echo "$as_me: failed program was:" >&5
23621 sed 's/^/| /' conftest.$ac_ext >&5
23622
23623 wx_cv_func_stdstring_compare=no
23624
23625 fi
23626
23627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23628
23629 fi
23630 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23631 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23632
23633 if test "$wx_cv_func_stdstring_compare" = yes; then
23634 cat >>confdefs.h <<\_ACEOF
23635 #define HAVE_STD_STRING_COMPARE 1
23636 _ACEOF
23637
23638 fi
23639
23640 { echo "$as_me:$LINENO: checking for hash_map" >&5
23641 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23642 if test "${ac_cv_header_hash_map+set}" = set; then
23643 echo $ECHO_N "(cached) $ECHO_C" >&6
23644 else
23645 cat >conftest.$ac_ext <<_ACEOF
23646 /* confdefs.h. */
23647 _ACEOF
23648 cat confdefs.h >>conftest.$ac_ext
23649 cat >>conftest.$ac_ext <<_ACEOF
23650 /* end confdefs.h. */
23651
23652
23653
23654 #include <hash_map>
23655 _ACEOF
23656 rm -f conftest.$ac_objext
23657 if { (ac_try="$ac_compile"
23658 case "(($ac_try" in
23659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660 *) ac_try_echo=$ac_try;;
23661 esac
23662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23663 (eval "$ac_compile") 2>conftest.er1
23664 ac_status=$?
23665 grep -v '^ *+' conftest.er1 >conftest.err
23666 rm -f conftest.er1
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_cxx_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest.$ac_objext; then
23673 ac_cv_header_hash_map=yes
23674 else
23675 echo "$as_me: failed program was:" >&5
23676 sed 's/^/| /' conftest.$ac_ext >&5
23677
23678 ac_cv_header_hash_map=no
23679 fi
23680
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 fi
23683 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23684 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23685 if test $ac_cv_header_hash_map = yes; then
23686 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23687 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23688 if test "${wx_cv_class_stdhashmapset+set}" = set; then
23689 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 else
23691 cat >conftest.$ac_ext <<_ACEOF
23692 /* confdefs.h. */
23693 _ACEOF
23694 cat confdefs.h >>conftest.$ac_ext
23695 cat >>conftest.$ac_ext <<_ACEOF
23696 /* end confdefs.h. */
23697 #include <hash_map>
23698 #include <hash_set>
23699 int
23700 main ()
23701 {
23702 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23703 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23704 ;
23705 return 0;
23706 }
23707 _ACEOF
23708 rm -f conftest.$ac_objext
23709 if { (ac_try="$ac_compile"
23710 case "(($ac_try" in
23711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23712 *) ac_try_echo=$ac_try;;
23713 esac
23714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23715 (eval "$ac_compile") 2>conftest.er1
23716 ac_status=$?
23717 grep -v '^ *+' conftest.er1 >conftest.err
23718 rm -f conftest.er1
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } && {
23722 test -z "$ac_cxx_werror_flag" ||
23723 test ! -s conftest.err
23724 } && test -s conftest.$ac_objext; then
23725 wx_cv_class_stdhashmapset=yes
23726 else
23727 echo "$as_me: failed program was:" >&5
23728 sed 's/^/| /' conftest.$ac_ext >&5
23729
23730 wx_cv_class_stdhashmapset=no
23731 fi
23732
23733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23734
23735
23736 fi
23737 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23738 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23739 fi
23740
23741
23742
23743 if test "$wx_cv_class_stdhashmapset" = yes; then
23744 cat >>confdefs.h <<\_ACEOF
23745 #define HAVE_HASH_MAP 1
23746 _ACEOF
23747
23748 cat >>confdefs.h <<\_ACEOF
23749 #define HAVE_STD_HASH_MAP 1
23750 _ACEOF
23751
23752 fi
23753
23754 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23755 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23756 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23757 echo $ECHO_N "(cached) $ECHO_C" >&6
23758 else
23759 cat >conftest.$ac_ext <<_ACEOF
23760 /* confdefs.h. */
23761 _ACEOF
23762 cat confdefs.h >>conftest.$ac_ext
23763 cat >>conftest.$ac_ext <<_ACEOF
23764 /* end confdefs.h. */
23765
23766
23767
23768 #include <ext/hash_map>
23769 _ACEOF
23770 rm -f conftest.$ac_objext
23771 if { (ac_try="$ac_compile"
23772 case "(($ac_try" in
23773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23774 *) ac_try_echo=$ac_try;;
23775 esac
23776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23777 (eval "$ac_compile") 2>conftest.er1
23778 ac_status=$?
23779 grep -v '^ *+' conftest.er1 >conftest.err
23780 rm -f conftest.er1
23781 cat conftest.err >&5
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); } && {
23784 test -z "$ac_cxx_werror_flag" ||
23785 test ! -s conftest.err
23786 } && test -s conftest.$ac_objext; then
23787 ac_cv_header_ext_hash_map=yes
23788 else
23789 echo "$as_me: failed program was:" >&5
23790 sed 's/^/| /' conftest.$ac_ext >&5
23791
23792 ac_cv_header_ext_hash_map=no
23793 fi
23794
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 fi
23797 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23798 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23799 if test $ac_cv_header_ext_hash_map = yes; then
23800 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23801 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23802 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23803 echo $ECHO_N "(cached) $ECHO_C" >&6
23804 else
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <ext/hash_map>
23812 #include <ext/hash_set>
23813 int
23814 main ()
23815 {
23816 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23817 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23818 ;
23819 return 0;
23820 }
23821 _ACEOF
23822 rm -f conftest.$ac_objext
23823 if { (ac_try="$ac_compile"
23824 case "(($ac_try" in
23825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23826 *) ac_try_echo=$ac_try;;
23827 esac
23828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23829 (eval "$ac_compile") 2>conftest.er1
23830 ac_status=$?
23831 grep -v '^ *+' conftest.er1 >conftest.err
23832 rm -f conftest.er1
23833 cat conftest.err >&5
23834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23835 (exit $ac_status); } && {
23836 test -z "$ac_cxx_werror_flag" ||
23837 test ! -s conftest.err
23838 } && test -s conftest.$ac_objext; then
23839 wx_cv_class_gnuhashmapset=yes
23840 else
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.$ac_ext >&5
23843
23844 wx_cv_class_gnuhashmapset=no
23845 fi
23846
23847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23848
23849
23850 fi
23851 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23852 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23853 fi
23854
23855
23856
23857 if test "$wx_cv_class_gnuhashmapset" = yes; then
23858 cat >>confdefs.h <<\_ACEOF
23859 #define HAVE_EXT_HASH_MAP 1
23860 _ACEOF
23861
23862 cat >>confdefs.h <<\_ACEOF
23863 #define HAVE_GNU_CXX_HASH_MAP 1
23864 _ACEOF
23865
23866 fi
23867 fi
23868
23869 ac_ext=c
23870 ac_cpp='$CPP $CPPFLAGS'
23871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23874
23875
23876
23877 SEARCH_INCLUDE="\
23878 /usr/local/include \
23879 \
23880 /usr/Motif-2.1/include \
23881 /usr/Motif-1.2/include \
23882 /usr/include/Motif1.2 \
23883 \
23884 /usr/dt/include \
23885 /usr/openwin/include \
23886 \
23887 /usr/include/Xm \
23888 \
23889 /usr/X11R6/include \
23890 /usr/X11R6.4/include \
23891 /usr/X11R5/include \
23892 /usr/X11R4/include \
23893 \
23894 /usr/include/X11R6 \
23895 /usr/include/X11R5 \
23896 /usr/include/X11R4 \
23897 \
23898 /usr/local/X11R6/include \
23899 /usr/local/X11R5/include \
23900 /usr/local/X11R4/include \
23901 \
23902 /usr/local/include/X11R6 \
23903 /usr/local/include/X11R5 \
23904 /usr/local/include/X11R4 \
23905 \
23906 /usr/X11/include \
23907 /usr/include/X11 \
23908 /usr/local/X11/include \
23909 /usr/local/include/X11 \
23910 \
23911 /usr/XFree86/include/X11 \
23912 /usr/pkg/include \
23913 \
23914 /usr/openwin/share/include"
23915
23916 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23917 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23918
23919 case "${host}" in
23920 *-*-irix6* )
23921 if test "${wx_cv_std_libpath+set}" = set; then
23922 echo $ECHO_N "(cached) $ECHO_C" >&6
23923 else
23924
23925 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23926 for e in a so sl dylib dll.a; do
23927 libc="$d/libc.$e"
23928 if test -f $libc; then
23929 save_LIBS="$LIBS"
23930 LIBS="$libc"
23931 cat >conftest.$ac_ext <<_ACEOF
23932 int main() { return 0; }
23933 _ACEOF
23934 rm -f conftest.$ac_objext conftest$ac_exeext
23935 if { (ac_try="$ac_link"
23936 case "(($ac_try" in
23937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23938 *) ac_try_echo=$ac_try;;
23939 esac
23940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23941 (eval "$ac_link") 2>conftest.er1
23942 ac_status=$?
23943 grep -v '^ *+' conftest.er1 >conftest.err
23944 rm -f conftest.er1
23945 cat conftest.err >&5
23946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23947 (exit $ac_status); } && {
23948 test -z "$ac_c_werror_flag" ||
23949 test ! -s conftest.err
23950 } && test -s conftest$ac_exeext &&
23951 $as_test_x conftest$ac_exeext; then
23952 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23953 else
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.$ac_ext >&5
23956
23957
23958 fi
23959
23960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23961 conftest$ac_exeext conftest.$ac_ext
23962 LIBS="$save_LIBS"
23963 if test "x$wx_cv_std_libpath" != "x"; then
23964 break 2
23965 fi
23966 fi
23967 done
23968 done
23969 if test "x$wx_cv_std_libpath" = "x"; then
23970 wx_cv_std_libpath="lib"
23971 fi
23972
23973
23974 fi
23975
23976 ;;
23977
23978 *-*-solaris2* )
23979 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23980 wx_cv_std_libpath="lib/64"
23981 else
23982 wx_cv_std_libpath="lib"
23983 fi
23984 ;;
23985
23986 *-*-linux* )
23987 if test "$ac_cv_sizeof_void_p" = 8 -a \
23988 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23989 wx_cv_std_libpath="lib64"
23990 else
23991 wx_cv_std_libpath="lib"
23992 fi
23993 ;;
23994
23995 *)
23996 wx_cv_std_libpath="lib";
23997 ;;
23998 esac
23999
24000 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24001 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24002
24003 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24004
24005 if test "$build" != "$host" -a "$GCC" = yes; then
24006 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24007 cross_root=`dirname $cross_root`
24008 cross_root=`dirname $cross_root`
24009
24010 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24011 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24012 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24013
24014 if test -z "$PKG_CONFIG_PATH"; then
24015 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24016 export PKG_CONFIG_PATH
24017 fi
24018
24019 if test -z "$x_includes" -o "$x_includes" = NONE; then
24020
24021 ac_find_includes=
24022 for ac_dir in $SEARCH_INCLUDE /usr/include;
24023 do
24024 if test -f "$ac_dir/X11/Intrinsic.h"; then
24025 ac_find_includes=$ac_dir
24026 break
24027 fi
24028 done
24029
24030 x_includes=$ac_find_includes
24031 fi
24032 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24033
24034 ac_find_libraries=
24035 for ac_dir in $SEARCH_LIB;
24036 do
24037 for ac_extension in a so sl dylib dll.a; do
24038 if test -f "$ac_dir/libXt.$ac_extension"; then
24039 ac_find_libraries=$ac_dir
24040 break 2
24041 fi
24042 done
24043 done
24044
24045 x_libraries=$ac_find_libraries
24046 fi
24047 fi
24048 fi
24049
24050
24051 cat >confcache <<\_ACEOF
24052 # This file is a shell script that caches the results of configure
24053 # tests run on this system so they can be shared between configure
24054 # scripts and configure runs, see configure's option --config-cache.
24055 # It is not useful on other systems. If it contains results you don't
24056 # want to keep, you may remove or edit it.
24057 #
24058 # config.status only pays attention to the cache file if you give it
24059 # the --recheck option to rerun configure.
24060 #
24061 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24062 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24063 # following values.
24064
24065 _ACEOF
24066
24067 # The following way of writing the cache mishandles newlines in values,
24068 # but we know of no workaround that is simple, portable, and efficient.
24069 # So, we kill variables containing newlines.
24070 # Ultrix sh set writes to stderr and can't be redirected directly,
24071 # and sets the high bit in the cache file unless we assign to the vars.
24072 (
24073 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24074 eval ac_val=\$$ac_var
24075 case $ac_val in #(
24076 *${as_nl}*)
24077 case $ac_var in #(
24078 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24079 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24080 esac
24081 case $ac_var in #(
24082 _ | IFS | as_nl) ;; #(
24083 *) $as_unset $ac_var ;;
24084 esac ;;
24085 esac
24086 done
24087
24088 (set) 2>&1 |
24089 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24090 *${as_nl}ac_space=\ *)
24091 # `set' does not quote correctly, so add quotes (double-quote
24092 # substitution turns \\\\ into \\, and sed turns \\ into \).
24093 sed -n \
24094 "s/'/'\\\\''/g;
24095 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24096 ;; #(
24097 *)
24098 # `set' quotes correctly as required by POSIX, so do not add quotes.
24099 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24100 ;;
24101 esac |
24102 sort
24103 ) |
24104 sed '
24105 /^ac_cv_env_/b end
24106 t clear
24107 :clear
24108 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24109 t end
24110 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24111 :end' >>confcache
24112 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24113 if test -w "$cache_file"; then
24114 test "x$cache_file" != "x/dev/null" &&
24115 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24116 echo "$as_me: updating cache $cache_file" >&6;}
24117 cat confcache >$cache_file
24118 else
24119 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24120 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24121 fi
24122 fi
24123 rm -f confcache
24124
24125 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24126 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24127 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24128 if test "${wx_cv_lib_glibc21+set}" = set; then
24129 echo $ECHO_N "(cached) $ECHO_C" >&6
24130 else
24131
24132 cat >conftest.$ac_ext <<_ACEOF
24133 /* confdefs.h. */
24134 _ACEOF
24135 cat confdefs.h >>conftest.$ac_ext
24136 cat >>conftest.$ac_ext <<_ACEOF
24137 /* end confdefs.h. */
24138 #include <features.h>
24139 int
24140 main ()
24141 {
24142
24143 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24144 not glibc 2.1
24145 #endif
24146
24147 ;
24148 return 0;
24149 }
24150 _ACEOF
24151 rm -f conftest.$ac_objext
24152 if { (ac_try="$ac_compile"
24153 case "(($ac_try" in
24154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24155 *) ac_try_echo=$ac_try;;
24156 esac
24157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24158 (eval "$ac_compile") 2>conftest.er1
24159 ac_status=$?
24160 grep -v '^ *+' conftest.er1 >conftest.err
24161 rm -f conftest.er1
24162 cat conftest.err >&5
24163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24164 (exit $ac_status); } && {
24165 test -z "$ac_c_werror_flag" ||
24166 test ! -s conftest.err
24167 } && test -s conftest.$ac_objext; then
24168
24169 wx_cv_lib_glibc21=yes
24170
24171 else
24172 echo "$as_me: failed program was:" >&5
24173 sed 's/^/| /' conftest.$ac_ext >&5
24174
24175
24176 wx_cv_lib_glibc21=no
24177
24178
24179 fi
24180
24181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24182
24183 fi
24184 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24185 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24186 if test "$wx_cv_lib_glibc21" = "yes"; then
24187 cat >>confdefs.h <<\_ACEOF
24188 #define wxHAVE_GLIBC2 1
24189 _ACEOF
24190
24191 fi
24192 fi
24193
24194 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24195 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24196 cat >>confdefs.h <<\_ACEOF
24197 #define _GNU_SOURCE 1
24198 _ACEOF
24199
24200 fi
24201 fi
24202
24203 have_cos=0
24204 have_floor=0
24205
24206 for ac_func in cos
24207 do
24208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24209 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24211 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24212 echo $ECHO_N "(cached) $ECHO_C" >&6
24213 else
24214 cat >conftest.$ac_ext <<_ACEOF
24215 /* confdefs.h. */
24216 _ACEOF
24217 cat confdefs.h >>conftest.$ac_ext
24218 cat >>conftest.$ac_ext <<_ACEOF
24219 /* end confdefs.h. */
24220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24222 #define $ac_func innocuous_$ac_func
24223
24224 /* System header to define __stub macros and hopefully few prototypes,
24225 which can conflict with char $ac_func (); below.
24226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24227 <limits.h> exists even on freestanding compilers. */
24228
24229 #ifdef __STDC__
24230 # include <limits.h>
24231 #else
24232 # include <assert.h>
24233 #endif
24234
24235 #undef $ac_func
24236
24237 /* Override any GCC internal prototype to avoid an error.
24238 Use char because int might match the return type of a GCC
24239 builtin and then its argument prototype would still apply. */
24240 #ifdef __cplusplus
24241 extern "C"
24242 #endif
24243 char $ac_func ();
24244 /* The GNU C library defines this for functions which it implements
24245 to always fail with ENOSYS. Some functions are actually named
24246 something starting with __ and the normal name is an alias. */
24247 #if defined __stub_$ac_func || defined __stub___$ac_func
24248 choke me
24249 #endif
24250
24251 int
24252 main ()
24253 {
24254 return $ac_func ();
24255 ;
24256 return 0;
24257 }
24258 _ACEOF
24259 rm -f conftest.$ac_objext conftest$ac_exeext
24260 if { (ac_try="$ac_link"
24261 case "(($ac_try" in
24262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24263 *) ac_try_echo=$ac_try;;
24264 esac
24265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24266 (eval "$ac_link") 2>conftest.er1
24267 ac_status=$?
24268 grep -v '^ *+' conftest.er1 >conftest.err
24269 rm -f conftest.er1
24270 cat conftest.err >&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); } && {
24273 test -z "$ac_c_werror_flag" ||
24274 test ! -s conftest.err
24275 } && test -s conftest$ac_exeext &&
24276 $as_test_x conftest$ac_exeext; then
24277 eval "$as_ac_var=yes"
24278 else
24279 echo "$as_me: failed program was:" >&5
24280 sed 's/^/| /' conftest.$ac_ext >&5
24281
24282 eval "$as_ac_var=no"
24283 fi
24284
24285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24286 conftest$ac_exeext conftest.$ac_ext
24287 fi
24288 ac_res=`eval echo '${'$as_ac_var'}'`
24289 { echo "$as_me:$LINENO: result: $ac_res" >&5
24290 echo "${ECHO_T}$ac_res" >&6; }
24291 if test `eval echo '${'$as_ac_var'}'` = yes; then
24292 cat >>confdefs.h <<_ACEOF
24293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24294 _ACEOF
24295 have_cos=1
24296 fi
24297 done
24298
24299
24300 for ac_func in floor
24301 do
24302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24303 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24305 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24306 echo $ECHO_N "(cached) $ECHO_C" >&6
24307 else
24308 cat >conftest.$ac_ext <<_ACEOF
24309 /* confdefs.h. */
24310 _ACEOF
24311 cat confdefs.h >>conftest.$ac_ext
24312 cat >>conftest.$ac_ext <<_ACEOF
24313 /* end confdefs.h. */
24314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24315 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24316 #define $ac_func innocuous_$ac_func
24317
24318 /* System header to define __stub macros and hopefully few prototypes,
24319 which can conflict with char $ac_func (); below.
24320 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24321 <limits.h> exists even on freestanding compilers. */
24322
24323 #ifdef __STDC__
24324 # include <limits.h>
24325 #else
24326 # include <assert.h>
24327 #endif
24328
24329 #undef $ac_func
24330
24331 /* Override any GCC internal prototype to avoid an error.
24332 Use char because int might match the return type of a GCC
24333 builtin and then its argument prototype would still apply. */
24334 #ifdef __cplusplus
24335 extern "C"
24336 #endif
24337 char $ac_func ();
24338 /* The GNU C library defines this for functions which it implements
24339 to always fail with ENOSYS. Some functions are actually named
24340 something starting with __ and the normal name is an alias. */
24341 #if defined __stub_$ac_func || defined __stub___$ac_func
24342 choke me
24343 #endif
24344
24345 int
24346 main ()
24347 {
24348 return $ac_func ();
24349 ;
24350 return 0;
24351 }
24352 _ACEOF
24353 rm -f conftest.$ac_objext conftest$ac_exeext
24354 if { (ac_try="$ac_link"
24355 case "(($ac_try" in
24356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24357 *) ac_try_echo=$ac_try;;
24358 esac
24359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24360 (eval "$ac_link") 2>conftest.er1
24361 ac_status=$?
24362 grep -v '^ *+' conftest.er1 >conftest.err
24363 rm -f conftest.er1
24364 cat conftest.err >&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); } && {
24367 test -z "$ac_c_werror_flag" ||
24368 test ! -s conftest.err
24369 } && test -s conftest$ac_exeext &&
24370 $as_test_x conftest$ac_exeext; then
24371 eval "$as_ac_var=yes"
24372 else
24373 echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.$ac_ext >&5
24375
24376 eval "$as_ac_var=no"
24377 fi
24378
24379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24380 conftest$ac_exeext conftest.$ac_ext
24381 fi
24382 ac_res=`eval echo '${'$as_ac_var'}'`
24383 { echo "$as_me:$LINENO: result: $ac_res" >&5
24384 echo "${ECHO_T}$ac_res" >&6; }
24385 if test `eval echo '${'$as_ac_var'}'` = yes; then
24386 cat >>confdefs.h <<_ACEOF
24387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24388 _ACEOF
24389 have_floor=1
24390 fi
24391 done
24392
24393 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24394 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24395 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24396 { echo "$as_me:$LINENO: result: yes" >&5
24397 echo "${ECHO_T}yes" >&6; }
24398 else
24399 { echo "$as_me:$LINENO: result: no" >&5
24400 echo "${ECHO_T}no" >&6; }
24401 LIBS="$LIBS -lm"
24402 # use different functions to avoid configure caching
24403 have_sin=0
24404 have_ceil=0
24405
24406 for ac_func in sin
24407 do
24408 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24409 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24410 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24411 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24412 echo $ECHO_N "(cached) $ECHO_C" >&6
24413 else
24414 cat >conftest.$ac_ext <<_ACEOF
24415 /* confdefs.h. */
24416 _ACEOF
24417 cat confdefs.h >>conftest.$ac_ext
24418 cat >>conftest.$ac_ext <<_ACEOF
24419 /* end confdefs.h. */
24420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24422 #define $ac_func innocuous_$ac_func
24423
24424 /* System header to define __stub macros and hopefully few prototypes,
24425 which can conflict with char $ac_func (); below.
24426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24427 <limits.h> exists even on freestanding compilers. */
24428
24429 #ifdef __STDC__
24430 # include <limits.h>
24431 #else
24432 # include <assert.h>
24433 #endif
24434
24435 #undef $ac_func
24436
24437 /* Override any GCC internal prototype to avoid an error.
24438 Use char because int might match the return type of a GCC
24439 builtin and then its argument prototype would still apply. */
24440 #ifdef __cplusplus
24441 extern "C"
24442 #endif
24443 char $ac_func ();
24444 /* The GNU C library defines this for functions which it implements
24445 to always fail with ENOSYS. Some functions are actually named
24446 something starting with __ and the normal name is an alias. */
24447 #if defined __stub_$ac_func || defined __stub___$ac_func
24448 choke me
24449 #endif
24450
24451 int
24452 main ()
24453 {
24454 return $ac_func ();
24455 ;
24456 return 0;
24457 }
24458 _ACEOF
24459 rm -f conftest.$ac_objext conftest$ac_exeext
24460 if { (ac_try="$ac_link"
24461 case "(($ac_try" in
24462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24463 *) ac_try_echo=$ac_try;;
24464 esac
24465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24466 (eval "$ac_link") 2>conftest.er1
24467 ac_status=$?
24468 grep -v '^ *+' conftest.er1 >conftest.err
24469 rm -f conftest.er1
24470 cat conftest.err >&5
24471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24472 (exit $ac_status); } && {
24473 test -z "$ac_c_werror_flag" ||
24474 test ! -s conftest.err
24475 } && test -s conftest$ac_exeext &&
24476 $as_test_x conftest$ac_exeext; then
24477 eval "$as_ac_var=yes"
24478 else
24479 echo "$as_me: failed program was:" >&5
24480 sed 's/^/| /' conftest.$ac_ext >&5
24481
24482 eval "$as_ac_var=no"
24483 fi
24484
24485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24486 conftest$ac_exeext conftest.$ac_ext
24487 fi
24488 ac_res=`eval echo '${'$as_ac_var'}'`
24489 { echo "$as_me:$LINENO: result: $ac_res" >&5
24490 echo "${ECHO_T}$ac_res" >&6; }
24491 if test `eval echo '${'$as_ac_var'}'` = yes; then
24492 cat >>confdefs.h <<_ACEOF
24493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24494 _ACEOF
24495 have_sin=1
24496 fi
24497 done
24498
24499
24500 for ac_func in ceil
24501 do
24502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24503 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24505 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24506 echo $ECHO_N "(cached) $ECHO_C" >&6
24507 else
24508 cat >conftest.$ac_ext <<_ACEOF
24509 /* confdefs.h. */
24510 _ACEOF
24511 cat confdefs.h >>conftest.$ac_ext
24512 cat >>conftest.$ac_ext <<_ACEOF
24513 /* end confdefs.h. */
24514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24516 #define $ac_func innocuous_$ac_func
24517
24518 /* System header to define __stub macros and hopefully few prototypes,
24519 which can conflict with char $ac_func (); below.
24520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24521 <limits.h> exists even on freestanding compilers. */
24522
24523 #ifdef __STDC__
24524 # include <limits.h>
24525 #else
24526 # include <assert.h>
24527 #endif
24528
24529 #undef $ac_func
24530
24531 /* Override any GCC internal prototype to avoid an error.
24532 Use char because int might match the return type of a GCC
24533 builtin and then its argument prototype would still apply. */
24534 #ifdef __cplusplus
24535 extern "C"
24536 #endif
24537 char $ac_func ();
24538 /* The GNU C library defines this for functions which it implements
24539 to always fail with ENOSYS. Some functions are actually named
24540 something starting with __ and the normal name is an alias. */
24541 #if defined __stub_$ac_func || defined __stub___$ac_func
24542 choke me
24543 #endif
24544
24545 int
24546 main ()
24547 {
24548 return $ac_func ();
24549 ;
24550 return 0;
24551 }
24552 _ACEOF
24553 rm -f conftest.$ac_objext conftest$ac_exeext
24554 if { (ac_try="$ac_link"
24555 case "(($ac_try" in
24556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24557 *) ac_try_echo=$ac_try;;
24558 esac
24559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24560 (eval "$ac_link") 2>conftest.er1
24561 ac_status=$?
24562 grep -v '^ *+' conftest.er1 >conftest.err
24563 rm -f conftest.er1
24564 cat conftest.err >&5
24565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566 (exit $ac_status); } && {
24567 test -z "$ac_c_werror_flag" ||
24568 test ! -s conftest.err
24569 } && test -s conftest$ac_exeext &&
24570 $as_test_x conftest$ac_exeext; then
24571 eval "$as_ac_var=yes"
24572 else
24573 echo "$as_me: failed program was:" >&5
24574 sed 's/^/| /' conftest.$ac_ext >&5
24575
24576 eval "$as_ac_var=no"
24577 fi
24578
24579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24580 conftest$ac_exeext conftest.$ac_ext
24581 fi
24582 ac_res=`eval echo '${'$as_ac_var'}'`
24583 { echo "$as_me:$LINENO: result: $ac_res" >&5
24584 echo "${ECHO_T}$ac_res" >&6; }
24585 if test `eval echo '${'$as_ac_var'}'` = yes; then
24586 cat >>confdefs.h <<_ACEOF
24587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24588 _ACEOF
24589 have_ceil=1
24590 fi
24591 done
24592
24593 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24594 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24595 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24596 { echo "$as_me:$LINENO: result: yes" >&5
24597 echo "${ECHO_T}yes" >&6; }
24598 else
24599 { echo "$as_me:$LINENO: result: no" >&5
24600 echo "${ECHO_T}no" >&6; }
24601 # not sure we should warn the user, crash, etc.
24602 fi
24603 fi
24604
24605 ac_ext=cpp
24606 ac_cpp='$CXXCPP $CPPFLAGS'
24607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24610
24611 if test "wxUSE_UNICODE" = "yes"; then
24612
24613 for wx_func in wcstoull
24614 do
24615 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24616 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24617 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24618 echo $ECHO_N "(cached) $ECHO_C" >&6
24619 else
24620
24621 cat >conftest.$ac_ext <<_ACEOF
24622
24623 /* confdefs.h. */
24624 _ACEOF
24625 cat confdefs.h >>conftest.$ac_ext
24626 cat >>conftest.$ac_ext <<_ACEOF
24627 /* end confdefs.h. */
24628
24629
24630 $ac_includes_default
24631
24632 int
24633 main ()
24634 {
24635
24636 #ifndef $wx_func
24637 &$wx_func;
24638 #endif
24639
24640
24641 ;
24642 return 0;
24643 }
24644
24645 _ACEOF
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (ac_try="$ac_link"
24648 case "(($ac_try" in
24649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24650 *) ac_try_echo=$ac_try;;
24651 esac
24652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24653 (eval "$ac_link") 2>conftest.er1
24654 ac_status=$?
24655 grep -v '^ *+' conftest.er1 >conftest.err
24656 rm -f conftest.er1
24657 cat conftest.err >&5
24658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24659 (exit $ac_status); } && {
24660 test -z "$ac_cxx_werror_flag" ||
24661 test ! -s conftest.err
24662 } && test -s conftest$ac_exeext &&
24663 $as_test_x conftest$ac_exeext; then
24664 eval wx_cv_func_$wx_func=yes
24665 else
24666 echo "$as_me: failed program was:" >&5
24667 sed 's/^/| /' conftest.$ac_ext >&5
24668
24669 eval wx_cv_func_$wx_func=no
24670 fi
24671
24672 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24673 conftest$ac_exeext conftest.$ac_ext
24674
24675 fi
24676 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24677 { echo "$as_me:$LINENO: result: $ac_res" >&5
24678 echo "${ECHO_T}$ac_res" >&6; }
24679
24680 if eval test \$wx_cv_func_$wx_func = yes
24681 then
24682 cat >>confdefs.h <<_ACEOF
24683 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24684 _ACEOF
24685
24686
24687 else
24688 :
24689
24690 fi
24691 done
24692
24693 else
24694
24695 for wx_func in strtoull
24696 do
24697 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24698 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24699 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24702
24703 cat >conftest.$ac_ext <<_ACEOF
24704
24705 /* confdefs.h. */
24706 _ACEOF
24707 cat confdefs.h >>conftest.$ac_ext
24708 cat >>conftest.$ac_ext <<_ACEOF
24709 /* end confdefs.h. */
24710
24711
24712 $ac_includes_default
24713
24714 int
24715 main ()
24716 {
24717
24718 #ifndef $wx_func
24719 &$wx_func;
24720 #endif
24721
24722
24723 ;
24724 return 0;
24725 }
24726
24727 _ACEOF
24728 rm -f conftest.$ac_objext conftest$ac_exeext
24729 if { (ac_try="$ac_link"
24730 case "(($ac_try" in
24731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24732 *) ac_try_echo=$ac_try;;
24733 esac
24734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24735 (eval "$ac_link") 2>conftest.er1
24736 ac_status=$?
24737 grep -v '^ *+' conftest.er1 >conftest.err
24738 rm -f conftest.er1
24739 cat conftest.err >&5
24740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24741 (exit $ac_status); } && {
24742 test -z "$ac_cxx_werror_flag" ||
24743 test ! -s conftest.err
24744 } && test -s conftest$ac_exeext &&
24745 $as_test_x conftest$ac_exeext; then
24746 eval wx_cv_func_$wx_func=yes
24747 else
24748 echo "$as_me: failed program was:" >&5
24749 sed 's/^/| /' conftest.$ac_ext >&5
24750
24751 eval wx_cv_func_$wx_func=no
24752 fi
24753
24754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24755 conftest$ac_exeext conftest.$ac_ext
24756
24757 fi
24758 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24759 { echo "$as_me:$LINENO: result: $ac_res" >&5
24760 echo "${ECHO_T}$ac_res" >&6; }
24761
24762 if eval test \$wx_cv_func_$wx_func = yes
24763 then
24764 cat >>confdefs.h <<_ACEOF
24765 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24766 _ACEOF
24767
24768
24769 else
24770 :
24771
24772 fi
24773 done
24774
24775 fi
24776 ac_ext=c
24777 ac_cpp='$CPP $CPPFLAGS'
24778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24781
24782
24783
24784
24785 if test "$wxUSE_REGEX" != "no"; then
24786 cat >>confdefs.h <<\_ACEOF
24787 #define wxUSE_REGEX 1
24788 _ACEOF
24789
24790
24791 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24792 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24793 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24794 wxUSE_REGEX=builtin
24795 fi
24796
24797 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24798 { echo "$as_me:$LINENO: checking for regex.h" >&5
24799 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24800 if test "${ac_cv_header_regex_h+set}" = set; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24802 else
24803 cat >conftest.$ac_ext <<_ACEOF
24804 /* confdefs.h. */
24805 _ACEOF
24806 cat confdefs.h >>conftest.$ac_ext
24807 cat >>conftest.$ac_ext <<_ACEOF
24808 /* end confdefs.h. */
24809
24810
24811 #include <regex.h>
24812 _ACEOF
24813 rm -f conftest.$ac_objext
24814 if { (ac_try="$ac_compile"
24815 case "(($ac_try" in
24816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24817 *) ac_try_echo=$ac_try;;
24818 esac
24819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24820 (eval "$ac_compile") 2>conftest.er1
24821 ac_status=$?
24822 grep -v '^ *+' conftest.er1 >conftest.err
24823 rm -f conftest.er1
24824 cat conftest.err >&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); } && {
24827 test -z "$ac_c_werror_flag" ||
24828 test ! -s conftest.err
24829 } && test -s conftest.$ac_objext; then
24830 ac_cv_header_regex_h=yes
24831 else
24832 echo "$as_me: failed program was:" >&5
24833 sed 's/^/| /' conftest.$ac_ext >&5
24834
24835 ac_cv_header_regex_h=no
24836 fi
24837
24838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24839 fi
24840 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24841 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24842 if test $ac_cv_header_regex_h = yes; then
24843
24844
24845 for ac_func in regcomp re_search
24846 do
24847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24851 echo $ECHO_N "(cached) $ECHO_C" >&6
24852 else
24853 cat >conftest.$ac_ext <<_ACEOF
24854 /* confdefs.h. */
24855 _ACEOF
24856 cat confdefs.h >>conftest.$ac_ext
24857 cat >>conftest.$ac_ext <<_ACEOF
24858 /* end confdefs.h. */
24859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24861 #define $ac_func innocuous_$ac_func
24862
24863 /* System header to define __stub macros and hopefully few prototypes,
24864 which can conflict with char $ac_func (); below.
24865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24866 <limits.h> exists even on freestanding compilers. */
24867
24868 #ifdef __STDC__
24869 # include <limits.h>
24870 #else
24871 # include <assert.h>
24872 #endif
24873
24874 #undef $ac_func
24875
24876 /* Override any GCC internal prototype to avoid an error.
24877 Use char because int might match the return type of a GCC
24878 builtin and then its argument prototype would still apply. */
24879 #ifdef __cplusplus
24880 extern "C"
24881 #endif
24882 char $ac_func ();
24883 /* The GNU C library defines this for functions which it implements
24884 to always fail with ENOSYS. Some functions are actually named
24885 something starting with __ and the normal name is an alias. */
24886 #if defined __stub_$ac_func || defined __stub___$ac_func
24887 choke me
24888 #endif
24889
24890 int
24891 main ()
24892 {
24893 return $ac_func ();
24894 ;
24895 return 0;
24896 }
24897 _ACEOF
24898 rm -f conftest.$ac_objext conftest$ac_exeext
24899 if { (ac_try="$ac_link"
24900 case "(($ac_try" in
24901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24902 *) ac_try_echo=$ac_try;;
24903 esac
24904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24905 (eval "$ac_link") 2>conftest.er1
24906 ac_status=$?
24907 grep -v '^ *+' conftest.er1 >conftest.err
24908 rm -f conftest.er1
24909 cat conftest.err >&5
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); } && {
24912 test -z "$ac_c_werror_flag" ||
24913 test ! -s conftest.err
24914 } && test -s conftest$ac_exeext &&
24915 $as_test_x conftest$ac_exeext; then
24916 eval "$as_ac_var=yes"
24917 else
24918 echo "$as_me: failed program was:" >&5
24919 sed 's/^/| /' conftest.$ac_ext >&5
24920
24921 eval "$as_ac_var=no"
24922 fi
24923
24924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24925 conftest$ac_exeext conftest.$ac_ext
24926 fi
24927 ac_res=`eval echo '${'$as_ac_var'}'`
24928 { echo "$as_me:$LINENO: result: $ac_res" >&5
24929 echo "${ECHO_T}$ac_res" >&6; }
24930 if test `eval echo '${'$as_ac_var'}'` = yes; then
24931 cat >>confdefs.h <<_ACEOF
24932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24933 _ACEOF
24934
24935 fi
24936 done
24937
24938 fi
24939
24940
24941
24942 if test "x$ac_cv_func_regcomp" != "xyes"; then
24943 if test "$wxUSE_REGEX" = "sys" ; then
24944 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24945 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24946 { (exit 1); exit 1; }; }
24947 else
24948 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24949 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24950 wxUSE_REGEX=builtin
24951 fi
24952 else
24953 wxUSE_REGEX=sys
24954 cat >>confdefs.h <<\_ACEOF
24955 #define WX_NO_REGEX_ADVANCED 1
24956 _ACEOF
24957
24958 fi
24959 fi
24960 fi
24961
24962
24963 ZLIB_LINK=
24964 if test "$wxUSE_ZLIB" != "no" ; then
24965 cat >>confdefs.h <<\_ACEOF
24966 #define wxUSE_ZLIB 1
24967 _ACEOF
24968
24969
24970 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24971 if test "$USE_DARWIN" = 1; then
24972 system_zlib_h_ok="yes"
24973 else
24974 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24975 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
24976 if test "${ac_cv_header_zlib_h+set}" = set; then
24977 echo $ECHO_N "(cached) $ECHO_C" >&6
24978 else
24979 if test "$cross_compiling" = yes; then
24980 unset ac_cv_header_zlib_h
24981
24982 else
24983 cat >conftest.$ac_ext <<_ACEOF
24984 /* confdefs.h. */
24985 _ACEOF
24986 cat confdefs.h >>conftest.$ac_ext
24987 cat >>conftest.$ac_ext <<_ACEOF
24988 /* end confdefs.h. */
24989
24990 #include <zlib.h>
24991 #include <stdio.h>
24992
24993 int main()
24994 {
24995 FILE *f=fopen("conftestval", "w");
24996 if (!f) exit(1);
24997 fprintf(f, "%s",
24998 ZLIB_VERSION[0] == '1' &&
24999 (ZLIB_VERSION[2] > '1' ||
25000 (ZLIB_VERSION[2] == '1' &&
25001 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25002 exit(0);
25003 }
25004
25005 _ACEOF
25006 rm -f conftest$ac_exeext
25007 if { (ac_try="$ac_link"
25008 case "(($ac_try" in
25009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25010 *) ac_try_echo=$ac_try;;
25011 esac
25012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25013 (eval "$ac_link") 2>&5
25014 ac_status=$?
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25017 { (case "(($ac_try" in
25018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25019 *) ac_try_echo=$ac_try;;
25020 esac
25021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25022 (eval "$ac_try") 2>&5
25023 ac_status=$?
25024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25025 (exit $ac_status); }; }; then
25026 ac_cv_header_zlib_h=`cat conftestval`
25027 else
25028 echo "$as_me: program exited with status $ac_status" >&5
25029 echo "$as_me: failed program was:" >&5
25030 sed 's/^/| /' conftest.$ac_ext >&5
25031
25032 ( exit $ac_status )
25033 ac_cv_header_zlib_h=no
25034 fi
25035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25036 fi
25037
25038
25039
25040 fi
25041 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25042 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25043 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25044 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25045 if test "${ac_cv_header_zlib_h+set}" = set; then
25046 echo $ECHO_N "(cached) $ECHO_C" >&6
25047 else
25048 cat >conftest.$ac_ext <<_ACEOF
25049 /* confdefs.h. */
25050 _ACEOF
25051 cat confdefs.h >>conftest.$ac_ext
25052 cat >>conftest.$ac_ext <<_ACEOF
25053 /* end confdefs.h. */
25054
25055
25056 #include <zlib.h>
25057 _ACEOF
25058 rm -f conftest.$ac_objext
25059 if { (ac_try="$ac_compile"
25060 case "(($ac_try" in
25061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25062 *) ac_try_echo=$ac_try;;
25063 esac
25064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25065 (eval "$ac_compile") 2>conftest.er1
25066 ac_status=$?
25067 grep -v '^ *+' conftest.er1 >conftest.err
25068 rm -f conftest.er1
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } && {
25072 test -z "$ac_c_werror_flag" ||
25073 test ! -s conftest.err
25074 } && test -s conftest.$ac_objext; then
25075 ac_cv_header_zlib_h=yes
25076 else
25077 echo "$as_me: failed program was:" >&5
25078 sed 's/^/| /' conftest.$ac_ext >&5
25079
25080 ac_cv_header_zlib_h=no
25081 fi
25082
25083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084 fi
25085 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25086 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25087
25088
25089
25090 system_zlib_h_ok=$ac_cv_header_zlib_h
25091 fi
25092
25093 if test "$system_zlib_h_ok" = "yes"; then
25094 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25095 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25096 if test "${ac_cv_lib_z_deflate+set}" = set; then
25097 echo $ECHO_N "(cached) $ECHO_C" >&6
25098 else
25099 ac_check_lib_save_LIBS=$LIBS
25100 LIBS="-lz $LIBS"
25101 cat >conftest.$ac_ext <<_ACEOF
25102 /* confdefs.h. */
25103 _ACEOF
25104 cat confdefs.h >>conftest.$ac_ext
25105 cat >>conftest.$ac_ext <<_ACEOF
25106 /* end confdefs.h. */
25107
25108 /* Override any GCC internal prototype to avoid an error.
25109 Use char because int might match the return type of a GCC
25110 builtin and then its argument prototype would still apply. */
25111 #ifdef __cplusplus
25112 extern "C"
25113 #endif
25114 char deflate ();
25115 int
25116 main ()
25117 {
25118 return deflate ();
25119 ;
25120 return 0;
25121 }
25122 _ACEOF
25123 rm -f conftest.$ac_objext conftest$ac_exeext
25124 if { (ac_try="$ac_link"
25125 case "(($ac_try" in
25126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25127 *) ac_try_echo=$ac_try;;
25128 esac
25129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25130 (eval "$ac_link") 2>conftest.er1
25131 ac_status=$?
25132 grep -v '^ *+' conftest.er1 >conftest.err
25133 rm -f conftest.er1
25134 cat conftest.err >&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); } && {
25137 test -z "$ac_c_werror_flag" ||
25138 test ! -s conftest.err
25139 } && test -s conftest$ac_exeext &&
25140 $as_test_x conftest$ac_exeext; then
25141 ac_cv_lib_z_deflate=yes
25142 else
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25145
25146 ac_cv_lib_z_deflate=no
25147 fi
25148
25149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25150 conftest$ac_exeext conftest.$ac_ext
25151 LIBS=$ac_check_lib_save_LIBS
25152 fi
25153 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25154 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25155 if test $ac_cv_lib_z_deflate = yes; then
25156 ZLIB_LINK=" -lz"
25157 fi
25158
25159 fi
25160
25161 if test "x$ZLIB_LINK" = "x" ; then
25162 if test "$wxUSE_ZLIB" = "sys" ; then
25163 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25164 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25165 { (exit 1); exit 1; }; }
25166 else
25167 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25168 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25169 wxUSE_ZLIB=builtin
25170 fi
25171 else
25172 wxUSE_ZLIB=sys
25173 fi
25174 fi
25175 fi
25176
25177
25178 PNG_LINK=
25179 if test "$wxUSE_LIBPNG" != "no" ; then
25180 cat >>confdefs.h <<\_ACEOF
25181 #define wxUSE_LIBPNG 1
25182 _ACEOF
25183
25184
25185 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25186 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25187 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25188 wxUSE_LIBPNG=sys
25189 fi
25190
25191 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25192 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25193 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25194 wxUSE_LIBPNG=builtin
25195 fi
25196
25197 if test "$wxUSE_MGL" != 1 ; then
25198 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25199 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25200 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25201 if test "${ac_cv_header_png_h+set}" = set; then
25202 echo $ECHO_N "(cached) $ECHO_C" >&6
25203 else
25204 if test "$cross_compiling" = yes; then
25205 unset ac_cv_header_png_h
25206
25207 else
25208 cat >conftest.$ac_ext <<_ACEOF
25209 /* confdefs.h. */
25210 _ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h. */
25214
25215 #include <png.h>
25216 #include <stdio.h>
25217
25218 int main()
25219 {
25220 FILE *f=fopen("conftestval", "w");
25221 if (!f) exit(1);
25222 fprintf(f, "%s",
25223 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25224 exit(0);
25225 }
25226
25227 _ACEOF
25228 rm -f conftest$ac_exeext
25229 if { (ac_try="$ac_link"
25230 case "(($ac_try" in
25231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25232 *) ac_try_echo=$ac_try;;
25233 esac
25234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25235 (eval "$ac_link") 2>&5
25236 ac_status=$?
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25239 { (case "(($ac_try" in
25240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25241 *) ac_try_echo=$ac_try;;
25242 esac
25243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25244 (eval "$ac_try") 2>&5
25245 ac_status=$?
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; }; then
25248 ac_cv_header_png_h=`cat conftestval`
25249 else
25250 echo "$as_me: program exited with status $ac_status" >&5
25251 echo "$as_me: failed program was:" >&5
25252 sed 's/^/| /' conftest.$ac_ext >&5
25253
25254 ( exit $ac_status )
25255 ac_cv_header_png_h=no
25256 fi
25257 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25258 fi
25259
25260
25261
25262 fi
25263 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25264 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25265 { echo "$as_me:$LINENO: checking for png.h" >&5
25266 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25267 if test "${ac_cv_header_png_h+set}" = set; then
25268 echo $ECHO_N "(cached) $ECHO_C" >&6
25269 else
25270 cat >conftest.$ac_ext <<_ACEOF
25271 /* confdefs.h. */
25272 _ACEOF
25273 cat confdefs.h >>conftest.$ac_ext
25274 cat >>conftest.$ac_ext <<_ACEOF
25275 /* end confdefs.h. */
25276
25277
25278 #include <png.h>
25279 _ACEOF
25280 rm -f conftest.$ac_objext
25281 if { (ac_try="$ac_compile"
25282 case "(($ac_try" in
25283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25284 *) ac_try_echo=$ac_try;;
25285 esac
25286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25287 (eval "$ac_compile") 2>conftest.er1
25288 ac_status=$?
25289 grep -v '^ *+' conftest.er1 >conftest.err
25290 rm -f conftest.er1
25291 cat conftest.err >&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); } && {
25294 test -z "$ac_c_werror_flag" ||
25295 test ! -s conftest.err
25296 } && test -s conftest.$ac_objext; then
25297 ac_cv_header_png_h=yes
25298 else
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25301
25302 ac_cv_header_png_h=no
25303 fi
25304
25305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25306 fi
25307 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25308 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25309
25310
25311
25312 if test "$ac_cv_header_png_h" = "yes"; then
25313 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25314 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25315 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25316 echo $ECHO_N "(cached) $ECHO_C" >&6
25317 else
25318 ac_check_lib_save_LIBS=$LIBS
25319 LIBS="-lpng -lz -lm $LIBS"
25320 cat >conftest.$ac_ext <<_ACEOF
25321 /* confdefs.h. */
25322 _ACEOF
25323 cat confdefs.h >>conftest.$ac_ext
25324 cat >>conftest.$ac_ext <<_ACEOF
25325 /* end confdefs.h. */
25326
25327 /* Override any GCC internal prototype to avoid an error.
25328 Use char because int might match the return type of a GCC
25329 builtin and then its argument prototype would still apply. */
25330 #ifdef __cplusplus
25331 extern "C"
25332 #endif
25333 char png_check_sig ();
25334 int
25335 main ()
25336 {
25337 return png_check_sig ();
25338 ;
25339 return 0;
25340 }
25341 _ACEOF
25342 rm -f conftest.$ac_objext conftest$ac_exeext
25343 if { (ac_try="$ac_link"
25344 case "(($ac_try" in
25345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346 *) ac_try_echo=$ac_try;;
25347 esac
25348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25349 (eval "$ac_link") 2>conftest.er1
25350 ac_status=$?
25351 grep -v '^ *+' conftest.er1 >conftest.err
25352 rm -f conftest.er1
25353 cat conftest.err >&5
25354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25355 (exit $ac_status); } && {
25356 test -z "$ac_c_werror_flag" ||
25357 test ! -s conftest.err
25358 } && test -s conftest$ac_exeext &&
25359 $as_test_x conftest$ac_exeext; then
25360 ac_cv_lib_png_png_check_sig=yes
25361 else
25362 echo "$as_me: failed program was:" >&5
25363 sed 's/^/| /' conftest.$ac_ext >&5
25364
25365 ac_cv_lib_png_png_check_sig=no
25366 fi
25367
25368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25369 conftest$ac_exeext conftest.$ac_ext
25370 LIBS=$ac_check_lib_save_LIBS
25371 fi
25372 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25373 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25374 if test $ac_cv_lib_png_png_check_sig = yes; then
25375 PNG_LINK=" -lpng -lz"
25376 fi
25377
25378 fi
25379
25380 if test "x$PNG_LINK" = "x" ; then
25381 if test "$wxUSE_LIBPNG" = "sys" ; then
25382 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25383 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25384 { (exit 1); exit 1; }; }
25385 else
25386 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25387 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25388 wxUSE_LIBPNG=builtin
25389 fi
25390 else
25391 wxUSE_LIBPNG=sys
25392 fi
25393 fi
25394 fi
25395
25396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25397 fi
25398
25399
25400 JPEG_LINK=
25401 if test "$wxUSE_LIBJPEG" != "no" ; then
25402 cat >>confdefs.h <<\_ACEOF
25403 #define wxUSE_LIBJPEG 1
25404 _ACEOF
25405
25406
25407 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25408 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25409 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25410 wxUSE_LIBJPEG=sys
25411 fi
25412
25413 if test "$wxUSE_MGL" != 1 ; then
25414 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25415 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25416 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25417 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25418 echo $ECHO_N "(cached) $ECHO_C" >&6
25419 else
25420 cat >conftest.$ac_ext <<_ACEOF
25421 /* confdefs.h. */
25422 _ACEOF
25423 cat confdefs.h >>conftest.$ac_ext
25424 cat >>conftest.$ac_ext <<_ACEOF
25425 /* end confdefs.h. */
25426
25427 #undef HAVE_STDLIB_H
25428 #include <stdio.h>
25429 #include <jpeglib.h>
25430
25431 int
25432 main ()
25433 {
25434
25435
25436 ;
25437 return 0;
25438 }
25439 _ACEOF
25440 rm -f conftest.$ac_objext
25441 if { (ac_try="$ac_compile"
25442 case "(($ac_try" in
25443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25444 *) ac_try_echo=$ac_try;;
25445 esac
25446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25447 (eval "$ac_compile") 2>conftest.er1
25448 ac_status=$?
25449 grep -v '^ *+' conftest.er1 >conftest.err
25450 rm -f conftest.er1
25451 cat conftest.err >&5
25452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25453 (exit $ac_status); } && {
25454 test -z "$ac_c_werror_flag" ||
25455 test ! -s conftest.err
25456 } && test -s conftest.$ac_objext; then
25457 ac_cv_header_jpeglib_h=yes
25458 else
25459 echo "$as_me: failed program was:" >&5
25460 sed 's/^/| /' conftest.$ac_ext >&5
25461
25462 ac_cv_header_jpeglib_h=no
25463
25464 fi
25465
25466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25467
25468 fi
25469
25470 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25471 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25472
25473 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25474 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25475 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25476 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25477 echo $ECHO_N "(cached) $ECHO_C" >&6
25478 else
25479 ac_check_lib_save_LIBS=$LIBS
25480 LIBS="-ljpeg $LIBS"
25481 cat >conftest.$ac_ext <<_ACEOF
25482 /* confdefs.h. */
25483 _ACEOF
25484 cat confdefs.h >>conftest.$ac_ext
25485 cat >>conftest.$ac_ext <<_ACEOF
25486 /* end confdefs.h. */
25487
25488 /* Override any GCC internal prototype to avoid an error.
25489 Use char because int might match the return type of a GCC
25490 builtin and then its argument prototype would still apply. */
25491 #ifdef __cplusplus
25492 extern "C"
25493 #endif
25494 char jpeg_read_header ();
25495 int
25496 main ()
25497 {
25498 return jpeg_read_header ();
25499 ;
25500 return 0;
25501 }
25502 _ACEOF
25503 rm -f conftest.$ac_objext conftest$ac_exeext
25504 if { (ac_try="$ac_link"
25505 case "(($ac_try" in
25506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25507 *) ac_try_echo=$ac_try;;
25508 esac
25509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25510 (eval "$ac_link") 2>conftest.er1
25511 ac_status=$?
25512 grep -v '^ *+' conftest.er1 >conftest.err
25513 rm -f conftest.er1
25514 cat conftest.err >&5
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); } && {
25517 test -z "$ac_c_werror_flag" ||
25518 test ! -s conftest.err
25519 } && test -s conftest$ac_exeext &&
25520 $as_test_x conftest$ac_exeext; then
25521 ac_cv_lib_jpeg_jpeg_read_header=yes
25522 else
25523 echo "$as_me: failed program was:" >&5
25524 sed 's/^/| /' conftest.$ac_ext >&5
25525
25526 ac_cv_lib_jpeg_jpeg_read_header=no
25527 fi
25528
25529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25530 conftest$ac_exeext conftest.$ac_ext
25531 LIBS=$ac_check_lib_save_LIBS
25532 fi
25533 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25534 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25535 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25536 JPEG_LINK=" -ljpeg"
25537 fi
25538
25539 fi
25540
25541 if test "x$JPEG_LINK" = "x" ; then
25542 if test "$wxUSE_LIBJPEG" = "sys" ; then
25543 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25544 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25545 { (exit 1); exit 1; }; }
25546 else
25547 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25548 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25549 wxUSE_LIBJPEG=builtin
25550 fi
25551 else
25552 wxUSE_LIBJPEG=sys
25553
25554 if test "$wxUSE_MSW" = 1; then
25555 { echo "$as_me:$LINENO: checking for boolean" >&5
25556 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25557 if test "${ac_cv_type_boolean+set}" = set; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 else
25560 cat >conftest.$ac_ext <<_ACEOF
25561 /* confdefs.h. */
25562 _ACEOF
25563 cat confdefs.h >>conftest.$ac_ext
25564 cat >>conftest.$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 #include <windows.h>
25567
25568 typedef boolean ac__type_new_;
25569 int
25570 main ()
25571 {
25572 if ((ac__type_new_ *) 0)
25573 return 0;
25574 if (sizeof (ac__type_new_))
25575 return 0;
25576 ;
25577 return 0;
25578 }
25579 _ACEOF
25580 rm -f conftest.$ac_objext
25581 if { (ac_try="$ac_compile"
25582 case "(($ac_try" in
25583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25584 *) ac_try_echo=$ac_try;;
25585 esac
25586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25587 (eval "$ac_compile") 2>conftest.er1
25588 ac_status=$?
25589 grep -v '^ *+' conftest.er1 >conftest.err
25590 rm -f conftest.er1
25591 cat conftest.err >&5
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); } && {
25594 test -z "$ac_c_werror_flag" ||
25595 test ! -s conftest.err
25596 } && test -s conftest.$ac_objext; then
25597 ac_cv_type_boolean=yes
25598 else
25599 echo "$as_me: failed program was:" >&5
25600 sed 's/^/| /' conftest.$ac_ext >&5
25601
25602 ac_cv_type_boolean=no
25603 fi
25604
25605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25606 fi
25607 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25608 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25609 if test $ac_cv_type_boolean = yes; then
25610
25611 cat >>confdefs.h <<_ACEOF
25612 #define HAVE_BOOLEAN 1
25613 _ACEOF
25614
25615
25616 { echo "$as_me:$LINENO: checking for boolean" >&5
25617 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25618 if test "${ac_cv_type_boolean+set}" = set; then
25619 echo $ECHO_N "(cached) $ECHO_C" >&6
25620 else
25621 cat >conftest.$ac_ext <<_ACEOF
25622 /* confdefs.h. */
25623 _ACEOF
25624 cat confdefs.h >>conftest.$ac_ext
25625 cat >>conftest.$ac_ext <<_ACEOF
25626 /* end confdefs.h. */
25627
25628 #undef HAVE_BOOLEAN
25629 #include <stdio.h>
25630 #include <jpeglib.h>
25631
25632
25633 typedef boolean ac__type_new_;
25634 int
25635 main ()
25636 {
25637 if ((ac__type_new_ *) 0)
25638 return 0;
25639 if (sizeof (ac__type_new_))
25640 return 0;
25641 ;
25642 return 0;
25643 }
25644 _ACEOF
25645 rm -f conftest.$ac_objext
25646 if { (ac_try="$ac_compile"
25647 case "(($ac_try" in
25648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25649 *) ac_try_echo=$ac_try;;
25650 esac
25651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25652 (eval "$ac_compile") 2>conftest.er1
25653 ac_status=$?
25654 grep -v '^ *+' conftest.er1 >conftest.err
25655 rm -f conftest.er1
25656 cat conftest.err >&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); } && {
25659 test -z "$ac_c_werror_flag" ||
25660 test ! -s conftest.err
25661 } && test -s conftest.$ac_objext; then
25662 ac_cv_type_boolean=yes
25663 else
25664 echo "$as_me: failed program was:" >&5
25665 sed 's/^/| /' conftest.$ac_ext >&5
25666
25667 ac_cv_type_boolean=no
25668 fi
25669
25670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25671 fi
25672 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25673 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25674
25675 # The cast to long int works around a bug in the HP C Compiler
25676 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25677 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25678 # This bug is HP SR number 8606223364.
25679 { echo "$as_me:$LINENO: checking size of boolean" >&5
25680 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25681 if test "${ac_cv_sizeof_boolean+set}" = set; then
25682 echo $ECHO_N "(cached) $ECHO_C" >&6
25683 else
25684 if test "$cross_compiling" = yes; then
25685 # Depending upon the size, compute the lo and hi bounds.
25686 cat >conftest.$ac_ext <<_ACEOF
25687 /* confdefs.h. */
25688 _ACEOF
25689 cat confdefs.h >>conftest.$ac_ext
25690 cat >>conftest.$ac_ext <<_ACEOF
25691 /* end confdefs.h. */
25692
25693 #undef HAVE_BOOLEAN
25694 #include <stdio.h>
25695 #include <jpeglib.h>
25696
25697
25698 typedef boolean ac__type_sizeof_;
25699 int
25700 main ()
25701 {
25702 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25703 test_array [0] = 0
25704
25705 ;
25706 return 0;
25707 }
25708 _ACEOF
25709 rm -f conftest.$ac_objext
25710 if { (ac_try="$ac_compile"
25711 case "(($ac_try" in
25712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25713 *) ac_try_echo=$ac_try;;
25714 esac
25715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25716 (eval "$ac_compile") 2>conftest.er1
25717 ac_status=$?
25718 grep -v '^ *+' conftest.er1 >conftest.err
25719 rm -f conftest.er1
25720 cat conftest.err >&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } && {
25723 test -z "$ac_c_werror_flag" ||
25724 test ! -s conftest.err
25725 } && test -s conftest.$ac_objext; then
25726 ac_lo=0 ac_mid=0
25727 while :; do
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_))) <= $ac_mid)];
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_hi=$ac_mid; break
25769 else
25770 echo "$as_me: failed program was:" >&5
25771 sed 's/^/| /' conftest.$ac_ext >&5
25772
25773 ac_lo=`expr $ac_mid + 1`
25774 if test $ac_lo -le $ac_mid; then
25775 ac_lo= ac_hi=
25776 break
25777 fi
25778 ac_mid=`expr 2 '*' $ac_mid + 1`
25779 fi
25780
25781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25782 done
25783 else
25784 echo "$as_me: failed program was:" >&5
25785 sed 's/^/| /' conftest.$ac_ext >&5
25786
25787 cat >conftest.$ac_ext <<_ACEOF
25788 /* confdefs.h. */
25789 _ACEOF
25790 cat confdefs.h >>conftest.$ac_ext
25791 cat >>conftest.$ac_ext <<_ACEOF
25792 /* end confdefs.h. */
25793
25794 #undef HAVE_BOOLEAN
25795 #include <stdio.h>
25796 #include <jpeglib.h>
25797
25798
25799 typedef boolean ac__type_sizeof_;
25800 int
25801 main ()
25802 {
25803 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25804 test_array [0] = 0
25805
25806 ;
25807 return 0;
25808 }
25809 _ACEOF
25810 rm -f conftest.$ac_objext
25811 if { (ac_try="$ac_compile"
25812 case "(($ac_try" in
25813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25814 *) ac_try_echo=$ac_try;;
25815 esac
25816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25817 (eval "$ac_compile") 2>conftest.er1
25818 ac_status=$?
25819 grep -v '^ *+' conftest.er1 >conftest.err
25820 rm -f conftest.er1
25821 cat conftest.err >&5
25822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25823 (exit $ac_status); } && {
25824 test -z "$ac_c_werror_flag" ||
25825 test ! -s conftest.err
25826 } && test -s conftest.$ac_objext; then
25827 ac_hi=-1 ac_mid=-1
25828 while :; do
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_))) >= $ac_mid)];
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_lo=$ac_mid; break
25870 else
25871 echo "$as_me: failed program was:" >&5
25872 sed 's/^/| /' conftest.$ac_ext >&5
25873
25874 ac_hi=`expr '(' $ac_mid ')' - 1`
25875 if test $ac_mid -le $ac_hi; then
25876 ac_lo= ac_hi=
25877 break
25878 fi
25879 ac_mid=`expr 2 '*' $ac_mid`
25880 fi
25881
25882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25883 done
25884 else
25885 echo "$as_me: failed program was:" >&5
25886 sed 's/^/| /' conftest.$ac_ext >&5
25887
25888 ac_lo= ac_hi=
25889 fi
25890
25891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25892 fi
25893
25894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25895 # Binary search between lo and hi bounds.
25896 while test "x$ac_lo" != "x$ac_hi"; do
25897 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25898 cat >conftest.$ac_ext <<_ACEOF
25899 /* confdefs.h. */
25900 _ACEOF
25901 cat confdefs.h >>conftest.$ac_ext
25902 cat >>conftest.$ac_ext <<_ACEOF
25903 /* end confdefs.h. */
25904
25905 #undef HAVE_BOOLEAN
25906 #include <stdio.h>
25907 #include <jpeglib.h>
25908
25909
25910 typedef boolean ac__type_sizeof_;
25911 int
25912 main ()
25913 {
25914 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25915 test_array [0] = 0
25916
25917 ;
25918 return 0;
25919 }
25920 _ACEOF
25921 rm -f conftest.$ac_objext
25922 if { (ac_try="$ac_compile"
25923 case "(($ac_try" in
25924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25925 *) ac_try_echo=$ac_try;;
25926 esac
25927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25928 (eval "$ac_compile") 2>conftest.er1
25929 ac_status=$?
25930 grep -v '^ *+' conftest.er1 >conftest.err
25931 rm -f conftest.er1
25932 cat conftest.err >&5
25933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25934 (exit $ac_status); } && {
25935 test -z "$ac_c_werror_flag" ||
25936 test ! -s conftest.err
25937 } && test -s conftest.$ac_objext; then
25938 ac_hi=$ac_mid
25939 else
25940 echo "$as_me: failed program was:" >&5
25941 sed 's/^/| /' conftest.$ac_ext >&5
25942
25943 ac_lo=`expr '(' $ac_mid ')' + 1`
25944 fi
25945
25946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25947 done
25948 case $ac_lo in
25949 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25950 '') if test "$ac_cv_type_boolean" = yes; then
25951 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25952 See \`config.log' for more details." >&5
25953 echo "$as_me: error: cannot compute sizeof (boolean)
25954 See \`config.log' for more details." >&2;}
25955 { (exit 77); exit 77; }; }
25956 else
25957 ac_cv_sizeof_boolean=0
25958 fi ;;
25959 esac
25960 else
25961 cat >conftest.$ac_ext <<_ACEOF
25962 /* confdefs.h. */
25963 _ACEOF
25964 cat confdefs.h >>conftest.$ac_ext
25965 cat >>conftest.$ac_ext <<_ACEOF
25966 /* end confdefs.h. */
25967
25968 #undef HAVE_BOOLEAN
25969 #include <stdio.h>
25970 #include <jpeglib.h>
25971
25972
25973 typedef boolean ac__type_sizeof_;
25974 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25975 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25976 #include <stdio.h>
25977 #include <stdlib.h>
25978 int
25979 main ()
25980 {
25981
25982 FILE *f = fopen ("conftest.val", "w");
25983 if (! f)
25984 return 1;
25985 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25986 {
25987 long int i = longval ();
25988 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25989 return 1;
25990 fprintf (f, "%ld\n", i);
25991 }
25992 else
25993 {
25994 unsigned long int i = ulongval ();
25995 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25996 return 1;
25997 fprintf (f, "%lu\n", i);
25998 }
25999 return ferror (f) || fclose (f) != 0;
26000
26001 ;
26002 return 0;
26003 }
26004 _ACEOF
26005 rm -f conftest$ac_exeext
26006 if { (ac_try="$ac_link"
26007 case "(($ac_try" in
26008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26009 *) ac_try_echo=$ac_try;;
26010 esac
26011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26012 (eval "$ac_link") 2>&5
26013 ac_status=$?
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26016 { (case "(($ac_try" in
26017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26018 *) ac_try_echo=$ac_try;;
26019 esac
26020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26021 (eval "$ac_try") 2>&5
26022 ac_status=$?
26023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26024 (exit $ac_status); }; }; then
26025 ac_cv_sizeof_boolean=`cat conftest.val`
26026 else
26027 echo "$as_me: program exited with status $ac_status" >&5
26028 echo "$as_me: failed program was:" >&5
26029 sed 's/^/| /' conftest.$ac_ext >&5
26030
26031 ( exit $ac_status )
26032 if test "$ac_cv_type_boolean" = yes; then
26033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26034 See \`config.log' for more details." >&5
26035 echo "$as_me: error: cannot compute sizeof (boolean)
26036 See \`config.log' for more details." >&2;}
26037 { (exit 77); exit 77; }; }
26038 else
26039 ac_cv_sizeof_boolean=0
26040 fi
26041 fi
26042 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26043 fi
26044 rm -f conftest.val
26045 fi
26046 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26047 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26048
26049
26050
26051 cat >>confdefs.h <<_ACEOF
26052 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26053 _ACEOF
26054
26055
26056 cat >>confdefs.h <<_ACEOF
26057 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26058 _ACEOF
26059
26060
26061 fi
26062
26063 fi
26064 fi
26065 fi
26066 fi
26067 fi
26068
26069
26070 TIFF_LINK=
26071 TIFF_PREREQ_LINKS=-lm
26072 if test "$wxUSE_LIBTIFF" != "no" ; then
26073 cat >>confdefs.h <<\_ACEOF
26074 #define wxUSE_LIBTIFF 1
26075 _ACEOF
26076
26077
26078 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26079 if test "$wxUSE_LIBJPEG" = "sys"; then
26080 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26081 fi
26082 if test "$wxUSE_ZLIB" = "sys"; then
26083 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26084 fi
26085 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26086 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26087 if test "${ac_cv_header_tiffio_h+set}" = set; then
26088 echo $ECHO_N "(cached) $ECHO_C" >&6
26089 else
26090 cat >conftest.$ac_ext <<_ACEOF
26091 /* confdefs.h. */
26092 _ACEOF
26093 cat confdefs.h >>conftest.$ac_ext
26094 cat >>conftest.$ac_ext <<_ACEOF
26095 /* end confdefs.h. */
26096
26097
26098
26099 #include <tiffio.h>
26100 _ACEOF
26101 rm -f conftest.$ac_objext
26102 if { (ac_try="$ac_compile"
26103 case "(($ac_try" in
26104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26105 *) ac_try_echo=$ac_try;;
26106 esac
26107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26108 (eval "$ac_compile") 2>conftest.er1
26109 ac_status=$?
26110 grep -v '^ *+' conftest.er1 >conftest.err
26111 rm -f conftest.er1
26112 cat conftest.err >&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); } && {
26115 test -z "$ac_c_werror_flag" ||
26116 test ! -s conftest.err
26117 } && test -s conftest.$ac_objext; then
26118 ac_cv_header_tiffio_h=yes
26119 else
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.$ac_ext >&5
26122
26123 ac_cv_header_tiffio_h=no
26124 fi
26125
26126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26127 fi
26128 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26129 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26130 if test $ac_cv_header_tiffio_h = yes; then
26131
26132 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26133 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26134 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26135 echo $ECHO_N "(cached) $ECHO_C" >&6
26136 else
26137 ac_check_lib_save_LIBS=$LIBS
26138 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26139 cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h. */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h. */
26145
26146 /* Override any GCC internal prototype to avoid an error.
26147 Use char because int might match the return type of a GCC
26148 builtin and then its argument prototype would still apply. */
26149 #ifdef __cplusplus
26150 extern "C"
26151 #endif
26152 char TIFFError ();
26153 int
26154 main ()
26155 {
26156 return TIFFError ();
26157 ;
26158 return 0;
26159 }
26160 _ACEOF
26161 rm -f conftest.$ac_objext conftest$ac_exeext
26162 if { (ac_try="$ac_link"
26163 case "(($ac_try" in
26164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26165 *) ac_try_echo=$ac_try;;
26166 esac
26167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26168 (eval "$ac_link") 2>conftest.er1
26169 ac_status=$?
26170 grep -v '^ *+' conftest.er1 >conftest.err
26171 rm -f conftest.er1
26172 cat conftest.err >&5
26173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26174 (exit $ac_status); } && {
26175 test -z "$ac_c_werror_flag" ||
26176 test ! -s conftest.err
26177 } && test -s conftest$ac_exeext &&
26178 $as_test_x conftest$ac_exeext; then
26179 ac_cv_lib_tiff_TIFFError=yes
26180 else
26181 echo "$as_me: failed program was:" >&5
26182 sed 's/^/| /' conftest.$ac_ext >&5
26183
26184 ac_cv_lib_tiff_TIFFError=no
26185 fi
26186
26187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26188 conftest$ac_exeext conftest.$ac_ext
26189 LIBS=$ac_check_lib_save_LIBS
26190 fi
26191 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26192 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26193 if test $ac_cv_lib_tiff_TIFFError = yes; then
26194 TIFF_LINK=" -ltiff"
26195 fi
26196
26197
26198 fi
26199
26200
26201
26202 if test "x$TIFF_LINK" = "x" ; then
26203 if test "$wxUSE_LIBTIFF" = "sys" ; then
26204 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26205 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26206 { (exit 1); exit 1; }; }
26207 else
26208 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26209 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26210 wxUSE_LIBTIFF=builtin
26211 fi
26212 else
26213 wxUSE_LIBTIFF=sys
26214 fi
26215 fi
26216 fi
26217
26218
26219 if test "$wxUSE_WCHAR_T" != "yes"; then
26220 if test "$wxUSE_EXPAT" != "no"; then
26221 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26222 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26223 wxUSE_EXPAT=no
26224 fi
26225 if test "$wxUSE_XML" != "no"; then
26226 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26227 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26228 wxUSE_XML=no
26229 fi
26230 fi
26231
26232 if test "$wxUSE_EXPAT" != "no"; then
26233 wxUSE_XML=yes
26234 cat >>confdefs.h <<\_ACEOF
26235 #define wxUSE_EXPAT 1
26236 _ACEOF
26237
26238 cat >>confdefs.h <<\_ACEOF
26239 #define wxUSE_XML 1
26240 _ACEOF
26241
26242
26243 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26244 { echo "$as_me:$LINENO: checking for expat.h" >&5
26245 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26246 if test "${ac_cv_header_expat_h+set}" = set; then
26247 echo $ECHO_N "(cached) $ECHO_C" >&6
26248 else
26249 cat >conftest.$ac_ext <<_ACEOF
26250 /* confdefs.h. */
26251 _ACEOF
26252 cat confdefs.h >>conftest.$ac_ext
26253 cat >>conftest.$ac_ext <<_ACEOF
26254 /* end confdefs.h. */
26255
26256
26257 #include <expat.h>
26258 _ACEOF
26259 rm -f conftest.$ac_objext
26260 if { (ac_try="$ac_compile"
26261 case "(($ac_try" in
26262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26263 *) ac_try_echo=$ac_try;;
26264 esac
26265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26266 (eval "$ac_compile") 2>conftest.er1
26267 ac_status=$?
26268 grep -v '^ *+' conftest.er1 >conftest.err
26269 rm -f conftest.er1
26270 cat conftest.err >&5
26271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26272 (exit $ac_status); } && {
26273 test -z "$ac_c_werror_flag" ||
26274 test ! -s conftest.err
26275 } && test -s conftest.$ac_objext; then
26276 ac_cv_header_expat_h=yes
26277 else
26278 echo "$as_me: failed program was:" >&5
26279 sed 's/^/| /' conftest.$ac_ext >&5
26280
26281 ac_cv_header_expat_h=no
26282 fi
26283
26284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26285 fi
26286 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26287 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26288 if test $ac_cv_header_expat_h = yes; then
26289 found_expat_h=1
26290 fi
26291
26292
26293 if test "x$found_expat_h" = "x1"; then
26294 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26295 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26296 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26297 echo $ECHO_N "(cached) $ECHO_C" >&6
26298 else
26299
26300 ac_ext=cpp
26301 ac_cpp='$CXXCPP $CPPFLAGS'
26302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26305
26306 cat >conftest.$ac_ext <<_ACEOF
26307 /* confdefs.h. */
26308 _ACEOF
26309 cat confdefs.h >>conftest.$ac_ext
26310 cat >>conftest.$ac_ext <<_ACEOF
26311 /* end confdefs.h. */
26312 #include <expat.h>
26313 int
26314 main ()
26315 {
26316
26317 ;
26318 return 0;
26319 }
26320 _ACEOF
26321 rm -f conftest.$ac_objext
26322 if { (ac_try="$ac_compile"
26323 case "(($ac_try" in
26324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26325 *) ac_try_echo=$ac_try;;
26326 esac
26327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26328 (eval "$ac_compile") 2>conftest.er1
26329 ac_status=$?
26330 grep -v '^ *+' conftest.er1 >conftest.err
26331 rm -f conftest.er1
26332 cat conftest.err >&5
26333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26334 (exit $ac_status); } && {
26335 test -z "$ac_cxx_werror_flag" ||
26336 test ! -s conftest.err
26337 } && test -s conftest.$ac_objext; then
26338 wx_cv_expat_is_not_broken=yes
26339 else
26340 echo "$as_me: failed program was:" >&5
26341 sed 's/^/| /' conftest.$ac_ext >&5
26342
26343 wx_cv_expat_is_not_broken=no
26344
26345 fi
26346
26347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26348 ac_ext=c
26349 ac_cpp='$CPP $CPPFLAGS'
26350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26353
26354
26355
26356 fi
26357 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26358 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26359 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26360 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26361 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26362 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26363 echo $ECHO_N "(cached) $ECHO_C" >&6
26364 else
26365 ac_check_lib_save_LIBS=$LIBS
26366 LIBS="-lexpat $LIBS"
26367 cat >conftest.$ac_ext <<_ACEOF
26368 /* confdefs.h. */
26369 _ACEOF
26370 cat confdefs.h >>conftest.$ac_ext
26371 cat >>conftest.$ac_ext <<_ACEOF
26372 /* end confdefs.h. */
26373
26374 /* Override any GCC internal prototype to avoid an error.
26375 Use char because int might match the return type of a GCC
26376 builtin and then its argument prototype would still apply. */
26377 #ifdef __cplusplus
26378 extern "C"
26379 #endif
26380 char XML_ParserCreate ();
26381 int
26382 main ()
26383 {
26384 return XML_ParserCreate ();
26385 ;
26386 return 0;
26387 }
26388 _ACEOF
26389 rm -f conftest.$ac_objext conftest$ac_exeext
26390 if { (ac_try="$ac_link"
26391 case "(($ac_try" in
26392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26393 *) ac_try_echo=$ac_try;;
26394 esac
26395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26396 (eval "$ac_link") 2>conftest.er1
26397 ac_status=$?
26398 grep -v '^ *+' conftest.er1 >conftest.err
26399 rm -f conftest.er1
26400 cat conftest.err >&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); } && {
26403 test -z "$ac_c_werror_flag" ||
26404 test ! -s conftest.err
26405 } && test -s conftest$ac_exeext &&
26406 $as_test_x conftest$ac_exeext; then
26407 ac_cv_lib_expat_XML_ParserCreate=yes
26408 else
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.$ac_ext >&5
26411
26412 ac_cv_lib_expat_XML_ParserCreate=no
26413 fi
26414
26415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26416 conftest$ac_exeext conftest.$ac_ext
26417 LIBS=$ac_check_lib_save_LIBS
26418 fi
26419 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26420 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26421 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26422 EXPAT_LINK=" -lexpat"
26423 fi
26424
26425 fi
26426 fi
26427 if test "x$EXPAT_LINK" = "x" ; then
26428 if test "$wxUSE_EXPAT" = "sys" ; then
26429 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26430 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26431 { (exit 1); exit 1; }; }
26432 else
26433 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26434 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26435 wxUSE_EXPAT=builtin
26436 fi
26437 else
26438 wxUSE_EXPAT=sys
26439 fi
26440 fi
26441 if test "$wxUSE_EXPAT" = "builtin" ; then
26442 subdirs="$subdirs src/expat"
26443
26444 fi
26445 fi
26446
26447
26448
26449 if test "$wxUSE_LIBMSPACK" != "no"; then
26450 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26451 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26452 if test "${ac_cv_header_mspack_h+set}" = set; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26454 else
26455 cat >conftest.$ac_ext <<_ACEOF
26456 /* confdefs.h. */
26457 _ACEOF
26458 cat confdefs.h >>conftest.$ac_ext
26459 cat >>conftest.$ac_ext <<_ACEOF
26460 /* end confdefs.h. */
26461
26462
26463 #include <mspack.h>
26464 _ACEOF
26465 rm -f conftest.$ac_objext
26466 if { (ac_try="$ac_compile"
26467 case "(($ac_try" in
26468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26469 *) ac_try_echo=$ac_try;;
26470 esac
26471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26472 (eval "$ac_compile") 2>conftest.er1
26473 ac_status=$?
26474 grep -v '^ *+' conftest.er1 >conftest.err
26475 rm -f conftest.er1
26476 cat conftest.err >&5
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); } && {
26479 test -z "$ac_c_werror_flag" ||
26480 test ! -s conftest.err
26481 } && test -s conftest.$ac_objext; then
26482 ac_cv_header_mspack_h=yes
26483 else
26484 echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26486
26487 ac_cv_header_mspack_h=no
26488 fi
26489
26490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26491 fi
26492 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26493 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26494 if test $ac_cv_header_mspack_h = yes; then
26495 found_mspack_h=1
26496 fi
26497
26498
26499 if test "x$found_mspack_h" = "x1"; then
26500 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26501 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26502 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26503 echo $ECHO_N "(cached) $ECHO_C" >&6
26504 else
26505 ac_check_lib_save_LIBS=$LIBS
26506 LIBS="-lmspack $LIBS"
26507 cat >conftest.$ac_ext <<_ACEOF
26508 /* confdefs.h. */
26509 _ACEOF
26510 cat confdefs.h >>conftest.$ac_ext
26511 cat >>conftest.$ac_ext <<_ACEOF
26512 /* end confdefs.h. */
26513
26514 /* Override any GCC internal prototype to avoid an error.
26515 Use char because int might match the return type of a GCC
26516 builtin and then its argument prototype would still apply. */
26517 #ifdef __cplusplus
26518 extern "C"
26519 #endif
26520 char mspack_create_chm_decompressor ();
26521 int
26522 main ()
26523 {
26524 return mspack_create_chm_decompressor ();
26525 ;
26526 return 0;
26527 }
26528 _ACEOF
26529 rm -f conftest.$ac_objext conftest$ac_exeext
26530 if { (ac_try="$ac_link"
26531 case "(($ac_try" in
26532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26533 *) ac_try_echo=$ac_try;;
26534 esac
26535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26536 (eval "$ac_link") 2>conftest.er1
26537 ac_status=$?
26538 grep -v '^ *+' conftest.er1 >conftest.err
26539 rm -f conftest.er1
26540 cat conftest.err >&5
26541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26542 (exit $ac_status); } && {
26543 test -z "$ac_c_werror_flag" ||
26544 test ! -s conftest.err
26545 } && test -s conftest$ac_exeext &&
26546 $as_test_x conftest$ac_exeext; then
26547 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26548 else
26549 echo "$as_me: failed program was:" >&5
26550 sed 's/^/| /' conftest.$ac_ext >&5
26551
26552 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26553 fi
26554
26555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26556 conftest$ac_exeext conftest.$ac_ext
26557 LIBS=$ac_check_lib_save_LIBS
26558 fi
26559 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26560 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26561 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26562 MSPACK_LINK=" -lmspack"
26563 fi
26564
26565 fi
26566 if test "x$MSPACK_LINK" = "x" ; then
26567 wxUSE_LIBMSPACK=no
26568 fi
26569 fi
26570
26571 if test "$wxUSE_LIBMSPACK" != "no"; then
26572 cat >>confdefs.h <<\_ACEOF
26573 #define wxUSE_LIBMSPACK 1
26574 _ACEOF
26575
26576 fi
26577
26578
26579
26580 AFMINSTALL=
26581 WIN32INSTALL=
26582
26583 TOOLKIT=
26584 TOOLKIT_INCLUDE=
26585 WIDGET_SET=
26586
26587 if test "$USE_WIN32" = 1 ; then
26588 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26589 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26590 if test "${ac_cv_header_w32api_h+set}" = set; then
26591 echo $ECHO_N "(cached) $ECHO_C" >&6
26592 else
26593 cat >conftest.$ac_ext <<_ACEOF
26594 /* confdefs.h. */
26595 _ACEOF
26596 cat confdefs.h >>conftest.$ac_ext
26597 cat >>conftest.$ac_ext <<_ACEOF
26598 /* end confdefs.h. */
26599
26600
26601 #include <w32api.h>
26602 _ACEOF
26603 rm -f conftest.$ac_objext
26604 if { (ac_try="$ac_compile"
26605 case "(($ac_try" in
26606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26607 *) ac_try_echo=$ac_try;;
26608 esac
26609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26610 (eval "$ac_compile") 2>conftest.er1
26611 ac_status=$?
26612 grep -v '^ *+' conftest.er1 >conftest.err
26613 rm -f conftest.er1
26614 cat conftest.err >&5
26615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26616 (exit $ac_status); } && {
26617 test -z "$ac_c_werror_flag" ||
26618 test ! -s conftest.err
26619 } && test -s conftest.$ac_objext; then
26620 ac_cv_header_w32api_h=yes
26621 else
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26624
26625 ac_cv_header_w32api_h=no
26626 fi
26627
26628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26629 fi
26630 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26631 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26632
26633
26634 { echo "$as_me:$LINENO: checking for windows.h" >&5
26635 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26636 if test "${ac_cv_header_windows_h+set}" = set; then
26637 echo $ECHO_N "(cached) $ECHO_C" >&6
26638 else
26639 cat >conftest.$ac_ext <<_ACEOF
26640 /* confdefs.h. */
26641 _ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h. */
26645
26646
26647 #include <windows.h>
26648 _ACEOF
26649 rm -f conftest.$ac_objext
26650 if { (ac_try="$ac_compile"
26651 case "(($ac_try" in
26652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26653 *) ac_try_echo=$ac_try;;
26654 esac
26655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26656 (eval "$ac_compile") 2>conftest.er1
26657 ac_status=$?
26658 grep -v '^ *+' conftest.er1 >conftest.err
26659 rm -f conftest.er1
26660 cat conftest.err >&5
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); } && {
26663 test -z "$ac_c_werror_flag" ||
26664 test ! -s conftest.err
26665 } && test -s conftest.$ac_objext; then
26666 ac_cv_header_windows_h=yes
26667 else
26668 echo "$as_me: failed program was:" >&5
26669 sed 's/^/| /' conftest.$ac_ext >&5
26670
26671 ac_cv_header_windows_h=no
26672 fi
26673
26674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26675 fi
26676 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26677 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26678 if test $ac_cv_header_windows_h = yes; then
26679 :
26680 else
26681
26682 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26683 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26684 { (exit 1); exit 1; }; }
26685
26686 fi
26687
26688
26689
26690 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26691
26692 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26693 LIBS="$LIBS -loleacc"
26694 fi
26695
26696 case "${host}" in
26697 *-*-cygwin* )
26698 LIBS="$LIBS -lkernel32 -luser32"
26699 esac
26700
26701 if test "$wxUSE_ODBC" = "sys" ; then
26702 wxUSE_ODBC = "yes"
26703 fi
26704 if test "$wxUSE_ODBC" = "yes" ; then
26705 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26706 cat >>confdefs.h <<\_ACEOF
26707 #define wxUSE_ODBC 1
26708 _ACEOF
26709
26710 fi
26711
26712 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26713 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26714
26715 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26716
26717 WIN32INSTALL=win32install
26718
26719 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26720 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26721 if test "${ac_cv_header_pbt_h+set}" = set; then
26722 echo $ECHO_N "(cached) $ECHO_C" >&6
26723 else
26724 cat >conftest.$ac_ext <<_ACEOF
26725 /* confdefs.h. */
26726 _ACEOF
26727 cat confdefs.h >>conftest.$ac_ext
26728 cat >>conftest.$ac_ext <<_ACEOF
26729 /* end confdefs.h. */
26730
26731
26732 #include <pbt.h>
26733 _ACEOF
26734 rm -f conftest.$ac_objext
26735 if { (ac_try="$ac_compile"
26736 case "(($ac_try" in
26737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26738 *) ac_try_echo=$ac_try;;
26739 esac
26740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26741 (eval "$ac_compile") 2>conftest.er1
26742 ac_status=$?
26743 grep -v '^ *+' conftest.er1 >conftest.err
26744 rm -f conftest.er1
26745 cat conftest.err >&5
26746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26747 (exit $ac_status); } && {
26748 test -z "$ac_c_werror_flag" ||
26749 test ! -s conftest.err
26750 } && test -s conftest.$ac_objext; then
26751 ac_cv_header_pbt_h=yes
26752 else
26753 echo "$as_me: failed program was:" >&5
26754 sed 's/^/| /' conftest.$ac_ext >&5
26755
26756 ac_cv_header_pbt_h=no
26757 fi
26758
26759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26760 fi
26761 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26762 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26763 if test $ac_cv_header_pbt_h = yes; then
26764 :
26765 else
26766 cat >>confdefs.h <<\_ACEOF
26767 #define NEED_PBT_H 1
26768 _ACEOF
26769
26770 fi
26771
26772
26773 fi
26774
26775 if test "$wxUSE_GUI" = "yes"; then
26776 USE_GUI=1
26777
26778 GUI_TK_LIBRARY=
26779
26780 WXGTK12=
26781 WXGTK127=
26782 WXGTK20=
26783 WXGPE=
26784
26785 if test "$wxUSE_COCOA" = 1 ; then
26786 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26787 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26788 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26789 wxUSE_PRINTING_ARCHITECTURE=no
26790 fi
26791 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26792 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26793 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26794 wxUSE_DRAG_AND_DROP=no
26795 fi
26796 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26797 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26798 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26799 wxUSE_DRAGIMAGE=no
26800 fi
26801 fi
26802
26803 if test "$wxUSE_MSW" = 1 ; then
26804 TOOLKIT=MSW
26805 GUIDIST=MSW_DIST
26806
26807 case "${host}" in
26808 *-*-mingw32* )
26809 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26810 esac
26811 fi
26812
26813 if test "$wxUSE_GTK" = 1; then
26814 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26815 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26816
26817 gtk_version_cached=1
26818 if test "${wx_cv_lib_gtk+set}" = set; then
26819 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 else
26821
26822 gtk_version_cached=0
26823 { echo "$as_me:$LINENO: result: " >&5
26824 echo "${ECHO_T}" >&6; }
26825
26826 GTK_MODULES=
26827 if test "$wxUSE_THREADS" = "yes"; then
26828 GTK_MODULES=gthread
26829 fi
26830
26831 wx_cv_lib_gtk=
26832 if test "x$wxGTK_VERSION" != "x1"
26833 then
26834 case "${host}" in
26835 *-*-solaris2* )
26836 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26837 enable_gtktest=no
26838 fi
26839 esac
26840
26841 # Check whether --enable-gtktest was given.
26842 if test "${enable_gtktest+set}" = set; then
26843 enableval=$enable_gtktest;
26844 else
26845 enable_gtktest=yes
26846 fi
26847
26848
26849 pkg_config_args=gtk+-2.0
26850 for module in . $GTK_MODULES
26851 do
26852 case "$module" in
26853 gthread)
26854 pkg_config_args="$pkg_config_args gthread-2.0"
26855 ;;
26856 esac
26857 done
26858
26859 no_gtk=""
26860
26861 # Extract the first word of "pkg-config", so it can be a program name with args.
26862 set dummy pkg-config; ac_word=$2
26863 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26865 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26867 else
26868 case $PKG_CONFIG in
26869 [\\/]* | ?:[\\/]*)
26870 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26871 ;;
26872 *)
26873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26874 for as_dir in $PATH
26875 do
26876 IFS=$as_save_IFS
26877 test -z "$as_dir" && as_dir=.
26878 for ac_exec_ext in '' $ac_executable_extensions; do
26879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26880 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26882 break 2
26883 fi
26884 done
26885 done
26886 IFS=$as_save_IFS
26887
26888 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26889 ;;
26890 esac
26891 fi
26892 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26893 if test -n "$PKG_CONFIG"; then
26894 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26895 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26896 else
26897 { echo "$as_me:$LINENO: result: no" >&5
26898 echo "${ECHO_T}no" >&6; }
26899 fi
26900
26901
26902
26903 if test x$PKG_CONFIG != xno ; then
26904 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26905 :
26906 else
26907 echo "*** pkg-config too old; version 0.7 or better required."
26908 no_gtk=yes
26909 PKG_CONFIG=no
26910 fi
26911 else
26912 no_gtk=yes
26913 fi
26914
26915 min_gtk_version=2.0.0
26916 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26917 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
26918
26919 if test x$PKG_CONFIG != xno ; then
26920 ## don't try to run the test against uninstalled libtool libs
26921 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26922 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26923 enable_gtktest=no
26924 fi
26925
26926 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26927 :
26928 else
26929 no_gtk=yes
26930 fi
26931 fi
26932
26933 if test x"$no_gtk" = x ; then
26934 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26935 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26936 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26937 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26938 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26939 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26940 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26941 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26942 if test "x$enable_gtktest" = "xyes" ; then
26943 ac_save_CFLAGS="$CFLAGS"
26944 ac_save_LIBS="$LIBS"
26945 CFLAGS="$CFLAGS $GTK_CFLAGS"
26946 LIBS="$GTK_LIBS $LIBS"
26947 rm -f conf.gtktest
26948 if test "$cross_compiling" = yes; then
26949 echo $ac_n "cross compiling; assumed OK... $ac_c"
26950 else
26951 cat >conftest.$ac_ext <<_ACEOF
26952 /* confdefs.h. */
26953 _ACEOF
26954 cat confdefs.h >>conftest.$ac_ext
26955 cat >>conftest.$ac_ext <<_ACEOF
26956 /* end confdefs.h. */
26957
26958 #include <gtk/gtk.h>
26959 #include <stdio.h>
26960 #include <stdlib.h>
26961
26962 int
26963 main ()
26964 {
26965 int major, minor, micro;
26966 char *tmp_version;
26967
26968 system ("touch conf.gtktest");
26969
26970 /* HP/UX 9 (%@#!) writes to sscanf strings */
26971 tmp_version = g_strdup("$min_gtk_version");
26972 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26973 printf("%s, bad version string\n", "$min_gtk_version");
26974 exit(1);
26975 }
26976
26977 if ((gtk_major_version != $gtk_config_major_version) ||
26978 (gtk_minor_version != $gtk_config_minor_version) ||
26979 (gtk_micro_version != $gtk_config_micro_version))
26980 {
26981 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26982 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26983 gtk_major_version, gtk_minor_version, gtk_micro_version);
26984 printf ("*** was found! If pkg-config was correct, then it is best\n");
26985 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26986 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26987 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26988 printf("*** required on your system.\n");
26989 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26990 printf("*** to point to the correct configuration files\n");
26991 }
26992 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26993 (gtk_minor_version != GTK_MINOR_VERSION) ||
26994 (gtk_micro_version != GTK_MICRO_VERSION))
26995 {
26996 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
26997 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
26998 printf("*** library (version %d.%d.%d)\n",
26999 gtk_major_version, gtk_minor_version, gtk_micro_version);
27000 }
27001 else
27002 {
27003 if ((gtk_major_version > major) ||
27004 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27005 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27006 {
27007 return 0;
27008 }
27009 else
27010 {
27011 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27012 gtk_major_version, gtk_minor_version, gtk_micro_version);
27013 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27014 major, minor, micro);
27015 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27016 printf("***\n");
27017 printf("*** If you have already installed a sufficiently new version, this error\n");
27018 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27019 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27020 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27021 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27022 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27023 printf("*** so that the correct libraries are found at run-time))\n");
27024 }
27025 }
27026 return 1;
27027 }
27028
27029 _ACEOF
27030 rm -f conftest$ac_exeext
27031 if { (ac_try="$ac_link"
27032 case "(($ac_try" in
27033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27034 *) ac_try_echo=$ac_try;;
27035 esac
27036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27037 (eval "$ac_link") 2>&5
27038 ac_status=$?
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27041 { (case "(($ac_try" in
27042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27043 *) ac_try_echo=$ac_try;;
27044 esac
27045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27046 (eval "$ac_try") 2>&5
27047 ac_status=$?
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); }; }; then
27050 :
27051 else
27052 echo "$as_me: program exited with status $ac_status" >&5
27053 echo "$as_me: failed program was:" >&5
27054 sed 's/^/| /' conftest.$ac_ext >&5
27055
27056 ( exit $ac_status )
27057 no_gtk=yes
27058 fi
27059 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27060 fi
27061
27062
27063 CFLAGS="$ac_save_CFLAGS"
27064 LIBS="$ac_save_LIBS"
27065 fi
27066 fi
27067 if test "x$no_gtk" = x ; then
27068 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27069 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27070 wx_cv_lib_gtk=2.0
27071 else
27072 { echo "$as_me:$LINENO: result: no" >&5
27073 echo "${ECHO_T}no" >&6; }
27074 if test "$PKG_CONFIG" = "no" ; then
27075 echo "*** A new enough version of pkg-config was not found."
27076 echo "*** See http://pkgconfig.sourceforge.net"
27077 else
27078 if test -f conf.gtktest ; then
27079 :
27080 else
27081 echo "*** Could not run GTK+ test program, checking why..."
27082 ac_save_CFLAGS="$CFLAGS"
27083 ac_save_LIBS="$LIBS"
27084 CFLAGS="$CFLAGS $GTK_CFLAGS"
27085 LIBS="$LIBS $GTK_LIBS"
27086 cat >conftest.$ac_ext <<_ACEOF
27087 /* confdefs.h. */
27088 _ACEOF
27089 cat confdefs.h >>conftest.$ac_ext
27090 cat >>conftest.$ac_ext <<_ACEOF
27091 /* end confdefs.h. */
27092
27093 #include <gtk/gtk.h>
27094 #include <stdio.h>
27095
27096 int
27097 main ()
27098 {
27099 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27100 ;
27101 return 0;
27102 }
27103 _ACEOF
27104 rm -f conftest.$ac_objext conftest$ac_exeext
27105 if { (ac_try="$ac_link"
27106 case "(($ac_try" in
27107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27108 *) ac_try_echo=$ac_try;;
27109 esac
27110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27111 (eval "$ac_link") 2>conftest.er1
27112 ac_status=$?
27113 grep -v '^ *+' conftest.er1 >conftest.err
27114 rm -f conftest.er1
27115 cat conftest.err >&5
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); } && {
27118 test -z "$ac_c_werror_flag" ||
27119 test ! -s conftest.err
27120 } && test -s conftest$ac_exeext &&
27121 $as_test_x conftest$ac_exeext; then
27122 echo "*** The test program compiled, but did not run. This usually means"
27123 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27124 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27125 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27126 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27127 echo "*** is required on your system"
27128 echo "***"
27129 echo "*** If you have an old version installed, it is best to remove it, although"
27130 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27131 else
27132 echo "$as_me: failed program was:" >&5
27133 sed 's/^/| /' conftest.$ac_ext >&5
27134
27135 echo "*** The test program failed to compile or link. See the file config.log for the"
27136 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27137 fi
27138
27139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27140 conftest$ac_exeext conftest.$ac_ext
27141 CFLAGS="$ac_save_CFLAGS"
27142 LIBS="$ac_save_LIBS"
27143 fi
27144 fi
27145 GTK_CFLAGS=""
27146 GTK_LIBS=""
27147 :
27148 fi
27149
27150
27151 rm -f conf.gtktest
27152
27153
27154 case "${host}" in
27155 *-*-solaris2* )
27156 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27157 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27158 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27159 fi
27160 if test "$wxUSE_SHARED" != "yes"; then
27161 GTK_LIBS="$GTK_LIBS -lX11"
27162 fi
27163 esac
27164 fi
27165
27166 if test -z "$wx_cv_lib_gtk"; then
27167 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27168
27169 # Check whether --with-gtk-prefix was given.
27170 if test "${with_gtk_prefix+set}" = set; then
27171 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27172 else
27173 gtk_config_prefix=""
27174 fi
27175
27176
27177 # Check whether --with-gtk-exec-prefix was given.
27178 if test "${with_gtk_exec_prefix+set}" = set; then
27179 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27180 else
27181 gtk_config_exec_prefix=""
27182 fi
27183
27184 # Check whether --enable-gtktest was given.
27185 if test "${enable_gtktest+set}" = set; then
27186 enableval=$enable_gtktest;
27187 else
27188 enable_gtktest=yes
27189 fi
27190
27191
27192 for module in . $GTK_MODULES
27193 do
27194 case "$module" in
27195 gthread)
27196 gtk_config_args="$gtk_config_args gthread"
27197 ;;
27198 esac
27199 done
27200
27201 if test x$gtk_config_exec_prefix != x ; then
27202 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27203 if test x${GTK_CONFIG+set} != xset ; then
27204 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27205 fi
27206 fi
27207 if test x$gtk_config_prefix != x ; then
27208 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27209 if test x${GTK_CONFIG+set} != xset ; then
27210 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27211 fi
27212 fi
27213
27214 # Extract the first word of "gtk-config", so it can be a program name with args.
27215 set dummy gtk-config; ac_word=$2
27216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27218 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27220 else
27221 case $GTK_CONFIG in
27222 [\\/]* | ?:[\\/]*)
27223 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27224 ;;
27225 *)
27226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27227 for as_dir in $PATH
27228 do
27229 IFS=$as_save_IFS
27230 test -z "$as_dir" && as_dir=.
27231 for ac_exec_ext in '' $ac_executable_extensions; do
27232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27233 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27235 break 2
27236 fi
27237 done
27238 done
27239 IFS=$as_save_IFS
27240
27241 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27242 ;;
27243 esac
27244 fi
27245 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27246 if test -n "$GTK_CONFIG"; then
27247 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27248 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27249 else
27250 { echo "$as_me:$LINENO: result: no" >&5
27251 echo "${ECHO_T}no" >&6; }
27252 fi
27253
27254
27255 min_gtk_version=1.2.7
27256 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27257 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27258 no_gtk=""
27259 if test "$GTK_CONFIG" = "no" ; then
27260 no_gtk=yes
27261 else
27262 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27263 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27264 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27265 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27266 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27267 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27268 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27269 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27270 if test "x$enable_gtktest" = "xyes" ; then
27271 ac_save_CFLAGS="$CFLAGS"
27272 ac_save_LIBS="$LIBS"
27273 CFLAGS="$CFLAGS $GTK_CFLAGS"
27274 LIBS="$GTK_LIBS $LIBS"
27275 rm -f conf.gtktest
27276 if test "$cross_compiling" = yes; then
27277 echo $ac_n "cross compiling; assumed OK... $ac_c"
27278 else
27279 cat >conftest.$ac_ext <<_ACEOF
27280 /* confdefs.h. */
27281 _ACEOF
27282 cat confdefs.h >>conftest.$ac_ext
27283 cat >>conftest.$ac_ext <<_ACEOF
27284 /* end confdefs.h. */
27285
27286 #include <gtk/gtk.h>
27287 #include <stdio.h>
27288 #include <stdlib.h>
27289
27290 int
27291 main ()
27292 {
27293 int major, minor, micro;
27294 char *tmp_version;
27295
27296 system ("touch conf.gtktest");
27297
27298 /* HP/UX 9 (%@#!) writes to sscanf strings */
27299 tmp_version = g_strdup("$min_gtk_version");
27300 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27301 printf("%s, bad version string\n", "$min_gtk_version");
27302 exit(1);
27303 }
27304
27305 if ((gtk_major_version != $gtk_config_major_version) ||
27306 (gtk_minor_version != $gtk_config_minor_version) ||
27307 (gtk_micro_version != $gtk_config_micro_version))
27308 {
27309 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27310 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27311 gtk_major_version, gtk_minor_version, gtk_micro_version);
27312 printf ("*** was found! If gtk-config was correct, then it is best\n");
27313 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27314 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27315 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27316 printf("*** required on your system.\n");
27317 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27318 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27319 printf("*** before re-running configure\n");
27320 }
27321 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27322 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27323 (gtk_minor_version != GTK_MINOR_VERSION) ||
27324 (gtk_micro_version != GTK_MICRO_VERSION))
27325 {
27326 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27327 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27328 printf("*** library (version %d.%d.%d)\n",
27329 gtk_major_version, gtk_minor_version, gtk_micro_version);
27330 }
27331 #endif /* defined (GTK_MAJOR_VERSION) ... */
27332 else
27333 {
27334 if ((gtk_major_version > major) ||
27335 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27336 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27337 {
27338 return 0;
27339 }
27340 else
27341 {
27342 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27343 gtk_major_version, gtk_minor_version, gtk_micro_version);
27344 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27345 major, minor, micro);
27346 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27347 printf("***\n");
27348 printf("*** If you have already installed a sufficiently new version, this error\n");
27349 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27350 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27351 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27352 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27353 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27354 printf("*** so that the correct libraries are found at run-time))\n");
27355 }
27356 }
27357 return 1;
27358 }
27359
27360 _ACEOF
27361 rm -f conftest$ac_exeext
27362 if { (ac_try="$ac_link"
27363 case "(($ac_try" in
27364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27365 *) ac_try_echo=$ac_try;;
27366 esac
27367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27368 (eval "$ac_link") 2>&5
27369 ac_status=$?
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27372 { (case "(($ac_try" in
27373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27374 *) ac_try_echo=$ac_try;;
27375 esac
27376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27377 (eval "$ac_try") 2>&5
27378 ac_status=$?
27379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27380 (exit $ac_status); }; }; then
27381 :
27382 else
27383 echo "$as_me: program exited with status $ac_status" >&5
27384 echo "$as_me: failed program was:" >&5
27385 sed 's/^/| /' conftest.$ac_ext >&5
27386
27387 ( exit $ac_status )
27388 no_gtk=yes
27389 fi
27390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27391 fi
27392
27393
27394 CFLAGS="$ac_save_CFLAGS"
27395 LIBS="$ac_save_LIBS"
27396 fi
27397 fi
27398 if test "x$no_gtk" = x ; then
27399 { echo "$as_me:$LINENO: result: yes" >&5
27400 echo "${ECHO_T}yes" >&6; }
27401 wx_cv_lib_gtk=1.2.7
27402 else
27403 { echo "$as_me:$LINENO: result: no" >&5
27404 echo "${ECHO_T}no" >&6; }
27405 if test "$GTK_CONFIG" = "no" ; then
27406 echo "*** The gtk-config script installed by GTK could not be found"
27407 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27408 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27409 echo "*** full path to gtk-config."
27410 else
27411 if test -f conf.gtktest ; then
27412 :
27413 else
27414 echo "*** Could not run GTK test program, checking why..."
27415 CFLAGS="$CFLAGS $GTK_CFLAGS"
27416 LIBS="$LIBS $GTK_LIBS"
27417 cat >conftest.$ac_ext <<_ACEOF
27418 /* confdefs.h. */
27419 _ACEOF
27420 cat confdefs.h >>conftest.$ac_ext
27421 cat >>conftest.$ac_ext <<_ACEOF
27422 /* end confdefs.h. */
27423
27424 #include <gtk/gtk.h>
27425 #include <stdio.h>
27426
27427 int
27428 main ()
27429 {
27430 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27431 ;
27432 return 0;
27433 }
27434 _ACEOF
27435 rm -f conftest.$ac_objext conftest$ac_exeext
27436 if { (ac_try="$ac_link"
27437 case "(($ac_try" in
27438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27439 *) ac_try_echo=$ac_try;;
27440 esac
27441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27442 (eval "$ac_link") 2>conftest.er1
27443 ac_status=$?
27444 grep -v '^ *+' conftest.er1 >conftest.err
27445 rm -f conftest.er1
27446 cat conftest.err >&5
27447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27448 (exit $ac_status); } && {
27449 test -z "$ac_c_werror_flag" ||
27450 test ! -s conftest.err
27451 } && test -s conftest$ac_exeext &&
27452 $as_test_x conftest$ac_exeext; then
27453 echo "*** The test program compiled, but did not run. This usually means"
27454 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27455 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27456 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27457 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27458 echo "*** is required on your system"
27459 echo "***"
27460 echo "*** If you have an old version installed, it is best to remove it, although"
27461 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27462 echo "***"
27463 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27464 echo "*** came with the system with the command"
27465 echo "***"
27466 echo "*** rpm --erase --nodeps gtk gtk-devel"
27467 else
27468 echo "$as_me: failed program was:" >&5
27469 sed 's/^/| /' conftest.$ac_ext >&5
27470
27471 echo "*** The test program failed to compile or link. See the file config.log for the"
27472 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27473 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27474 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27475 fi
27476
27477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27478 conftest$ac_exeext conftest.$ac_ext
27479 CFLAGS="$ac_save_CFLAGS"
27480 LIBS="$ac_save_LIBS"
27481 fi
27482 fi
27483 GTK_CFLAGS=""
27484 GTK_LIBS=""
27485 :
27486 fi
27487
27488
27489 rm -f conf.gtktest
27490
27491
27492 if test -z "$wx_cv_lib_gtk"; then
27493
27494 # Check whether --with-gtk-prefix was given.
27495 if test "${with_gtk_prefix+set}" = set; then
27496 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27497 else
27498 gtk_config_prefix=""
27499 fi
27500
27501
27502 # Check whether --with-gtk-exec-prefix was given.
27503 if test "${with_gtk_exec_prefix+set}" = set; then
27504 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27505 else
27506 gtk_config_exec_prefix=""
27507 fi
27508
27509 # Check whether --enable-gtktest was given.
27510 if test "${enable_gtktest+set}" = set; then
27511 enableval=$enable_gtktest;
27512 else
27513 enable_gtktest=yes
27514 fi
27515
27516
27517 for module in . $GTK_MODULES
27518 do
27519 case "$module" in
27520 gthread)
27521 gtk_config_args="$gtk_config_args gthread"
27522 ;;
27523 esac
27524 done
27525
27526 if test x$gtk_config_exec_prefix != x ; then
27527 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27528 if test x${GTK_CONFIG+set} != xset ; then
27529 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27530 fi
27531 fi
27532 if test x$gtk_config_prefix != x ; then
27533 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27534 if test x${GTK_CONFIG+set} != xset ; then
27535 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27536 fi
27537 fi
27538
27539 # Extract the first word of "gtk-config", so it can be a program name with args.
27540 set dummy gtk-config; ac_word=$2
27541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27543 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27544 echo $ECHO_N "(cached) $ECHO_C" >&6
27545 else
27546 case $GTK_CONFIG in
27547 [\\/]* | ?:[\\/]*)
27548 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27549 ;;
27550 *)
27551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27552 for as_dir in $PATH
27553 do
27554 IFS=$as_save_IFS
27555 test -z "$as_dir" && as_dir=.
27556 for ac_exec_ext in '' $ac_executable_extensions; do
27557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27558 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27560 break 2
27561 fi
27562 done
27563 done
27564 IFS=$as_save_IFS
27565
27566 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27567 ;;
27568 esac
27569 fi
27570 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27571 if test -n "$GTK_CONFIG"; then
27572 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27573 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27574 else
27575 { echo "$as_me:$LINENO: result: no" >&5
27576 echo "${ECHO_T}no" >&6; }
27577 fi
27578
27579
27580 min_gtk_version=1.2.3
27581 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27582 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27583 no_gtk=""
27584 if test "$GTK_CONFIG" = "no" ; then
27585 no_gtk=yes
27586 else
27587 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27588 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27589 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27591 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27593 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27595 if test "x$enable_gtktest" = "xyes" ; then
27596 ac_save_CFLAGS="$CFLAGS"
27597 ac_save_LIBS="$LIBS"
27598 CFLAGS="$CFLAGS $GTK_CFLAGS"
27599 LIBS="$GTK_LIBS $LIBS"
27600 rm -f conf.gtktest
27601 if test "$cross_compiling" = yes; then
27602 echo $ac_n "cross compiling; assumed OK... $ac_c"
27603 else
27604 cat >conftest.$ac_ext <<_ACEOF
27605 /* confdefs.h. */
27606 _ACEOF
27607 cat confdefs.h >>conftest.$ac_ext
27608 cat >>conftest.$ac_ext <<_ACEOF
27609 /* end confdefs.h. */
27610
27611 #include <gtk/gtk.h>
27612 #include <stdio.h>
27613 #include <stdlib.h>
27614
27615 int
27616 main ()
27617 {
27618 int major, minor, micro;
27619 char *tmp_version;
27620
27621 system ("touch conf.gtktest");
27622
27623 /* HP/UX 9 (%@#!) writes to sscanf strings */
27624 tmp_version = g_strdup("$min_gtk_version");
27625 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27626 printf("%s, bad version string\n", "$min_gtk_version");
27627 exit(1);
27628 }
27629
27630 if ((gtk_major_version != $gtk_config_major_version) ||
27631 (gtk_minor_version != $gtk_config_minor_version) ||
27632 (gtk_micro_version != $gtk_config_micro_version))
27633 {
27634 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27635 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27636 gtk_major_version, gtk_minor_version, gtk_micro_version);
27637 printf ("*** was found! If gtk-config was correct, then it is best\n");
27638 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27639 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27640 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27641 printf("*** required on your system.\n");
27642 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27643 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27644 printf("*** before re-running configure\n");
27645 }
27646 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27647 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27648 (gtk_minor_version != GTK_MINOR_VERSION) ||
27649 (gtk_micro_version != GTK_MICRO_VERSION))
27650 {
27651 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27652 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27653 printf("*** library (version %d.%d.%d)\n",
27654 gtk_major_version, gtk_minor_version, gtk_micro_version);
27655 }
27656 #endif /* defined (GTK_MAJOR_VERSION) ... */
27657 else
27658 {
27659 if ((gtk_major_version > major) ||
27660 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27661 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27662 {
27663 return 0;
27664 }
27665 else
27666 {
27667 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27668 gtk_major_version, gtk_minor_version, gtk_micro_version);
27669 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27670 major, minor, micro);
27671 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27672 printf("***\n");
27673 printf("*** If you have already installed a sufficiently new version, this error\n");
27674 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27675 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27676 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27677 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27678 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27679 printf("*** so that the correct libraries are found at run-time))\n");
27680 }
27681 }
27682 return 1;
27683 }
27684
27685 _ACEOF
27686 rm -f conftest$ac_exeext
27687 if { (ac_try="$ac_link"
27688 case "(($ac_try" in
27689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27690 *) ac_try_echo=$ac_try;;
27691 esac
27692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27693 (eval "$ac_link") 2>&5
27694 ac_status=$?
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27697 { (case "(($ac_try" in
27698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27699 *) ac_try_echo=$ac_try;;
27700 esac
27701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27702 (eval "$ac_try") 2>&5
27703 ac_status=$?
27704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705 (exit $ac_status); }; }; then
27706 :
27707 else
27708 echo "$as_me: program exited with status $ac_status" >&5
27709 echo "$as_me: failed program was:" >&5
27710 sed 's/^/| /' conftest.$ac_ext >&5
27711
27712 ( exit $ac_status )
27713 no_gtk=yes
27714 fi
27715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27716 fi
27717
27718
27719 CFLAGS="$ac_save_CFLAGS"
27720 LIBS="$ac_save_LIBS"
27721 fi
27722 fi
27723 if test "x$no_gtk" = x ; then
27724 { echo "$as_me:$LINENO: result: yes" >&5
27725 echo "${ECHO_T}yes" >&6; }
27726 wx_cv_lib_gtk=1.2.3
27727 else
27728 { echo "$as_me:$LINENO: result: no" >&5
27729 echo "${ECHO_T}no" >&6; }
27730 if test "$GTK_CONFIG" = "no" ; then
27731 echo "*** The gtk-config script installed by GTK could not be found"
27732 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27733 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27734 echo "*** full path to gtk-config."
27735 else
27736 if test -f conf.gtktest ; then
27737 :
27738 else
27739 echo "*** Could not run GTK test program, checking why..."
27740 CFLAGS="$CFLAGS $GTK_CFLAGS"
27741 LIBS="$LIBS $GTK_LIBS"
27742 cat >conftest.$ac_ext <<_ACEOF
27743 /* confdefs.h. */
27744 _ACEOF
27745 cat confdefs.h >>conftest.$ac_ext
27746 cat >>conftest.$ac_ext <<_ACEOF
27747 /* end confdefs.h. */
27748
27749 #include <gtk/gtk.h>
27750 #include <stdio.h>
27751
27752 int
27753 main ()
27754 {
27755 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27756 ;
27757 return 0;
27758 }
27759 _ACEOF
27760 rm -f conftest.$ac_objext conftest$ac_exeext
27761 if { (ac_try="$ac_link"
27762 case "(($ac_try" in
27763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27764 *) ac_try_echo=$ac_try;;
27765 esac
27766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27767 (eval "$ac_link") 2>conftest.er1
27768 ac_status=$?
27769 grep -v '^ *+' conftest.er1 >conftest.err
27770 rm -f conftest.er1
27771 cat conftest.err >&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); } && {
27774 test -z "$ac_c_werror_flag" ||
27775 test ! -s conftest.err
27776 } && test -s conftest$ac_exeext &&
27777 $as_test_x conftest$ac_exeext; then
27778 echo "*** The test program compiled, but did not run. This usually means"
27779 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27780 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27781 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27782 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27783 echo "*** is required on your system"
27784 echo "***"
27785 echo "*** If you have an old version installed, it is best to remove it, although"
27786 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27787 echo "***"
27788 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27789 echo "*** came with the system with the command"
27790 echo "***"
27791 echo "*** rpm --erase --nodeps gtk gtk-devel"
27792 else
27793 echo "$as_me: failed program was:" >&5
27794 sed 's/^/| /' conftest.$ac_ext >&5
27795
27796 echo "*** The test program failed to compile or link. See the file config.log for the"
27797 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27798 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27799 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27800 fi
27801
27802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27803 conftest$ac_exeext conftest.$ac_ext
27804 CFLAGS="$ac_save_CFLAGS"
27805 LIBS="$ac_save_LIBS"
27806 fi
27807 fi
27808 GTK_CFLAGS=""
27809 GTK_LIBS=""
27810 :
27811 fi
27812
27813
27814 rm -f conf.gtktest
27815
27816 fi
27817 fi
27818 fi
27819
27820 if test -z "$wx_cv_lib_gtk"; then
27821 wx_cv_lib_gtk=none
27822 else
27823 wx_cv_cflags_gtk=$GTK_CFLAGS
27824 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27825 fi
27826
27827
27828 fi
27829
27830
27831 if test "$gtk_version_cached" = 1; then
27832 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27833 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27834 fi
27835
27836 case "$wx_cv_lib_gtk" in
27837 2.0) WXGTK20=1
27838 TOOLKIT_VERSION=2
27839 ;;
27840 1.2.7) WXGTK127=1
27841 WXGTK12=1
27842 ;;
27843 1.2.3) WXGTK12=1
27844 ;;
27845 *) { { echo "$as_me:$LINENO: error:
27846 The development files for GTK+ were not found. For GTK+ 2, please
27847 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27848 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27849 and that the version is 1.2.3 or above. Also check that the
27850 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27851 --libs' are in the LD_LIBRARY_PATH or equivalent.
27852 " >&5
27853 echo "$as_me: error:
27854 The development files for GTK+ were not found. For GTK+ 2, please
27855 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27856 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27857 and that the version is 1.2.3 or above. Also check that the
27858 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27859 --libs' are in the LD_LIBRARY_PATH or equivalent.
27860 " >&2;}
27861 { (exit 1); exit 1; }; }
27862 ;;
27863 esac
27864
27865 if test "$WXGTK20" = 1; then
27866 save_CFLAGS="$CFLAGS"
27867 save_LIBS="$LIBS"
27868 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27869 LIBS="$LIBS $wx_cv_libs_gtk"
27870
27871 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27872 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27873 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27874 echo $ECHO_N "(cached) $ECHO_C" >&6
27875 else
27876 cat >conftest.$ac_ext <<_ACEOF
27877 /* confdefs.h. */
27878 _ACEOF
27879 cat confdefs.h >>conftest.$ac_ext
27880 cat >>conftest.$ac_ext <<_ACEOF
27881 /* end confdefs.h. */
27882 #include <gtk/gtk.h>
27883
27884 int
27885 main ()
27886 {
27887 #ifndef gtk_icon_size_lookup
27888 (void) gtk_icon_size_lookup;
27889 #endif
27890
27891 ;
27892 return 0;
27893 }
27894 _ACEOF
27895 rm -f conftest.$ac_objext
27896 if { (ac_try="$ac_compile"
27897 case "(($ac_try" in
27898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27899 *) ac_try_echo=$ac_try;;
27900 esac
27901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27902 (eval "$ac_compile") 2>conftest.er1
27903 ac_status=$?
27904 grep -v '^ *+' conftest.er1 >conftest.err
27905 rm -f conftest.er1
27906 cat conftest.err >&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); } && {
27909 test -z "$ac_c_werror_flag" ||
27910 test ! -s conftest.err
27911 } && test -s conftest.$ac_objext; then
27912 ac_cv_have_decl_gtk_icon_size_lookup=yes
27913 else
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27916
27917 ac_cv_have_decl_gtk_icon_size_lookup=no
27918 fi
27919
27920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27921 fi
27922 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27923 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27924 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27925
27926 cat >>confdefs.h <<_ACEOF
27927 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27928 _ACEOF
27929
27930
27931 else
27932 cat >>confdefs.h <<_ACEOF
27933 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27934 _ACEOF
27935
27936 cat >>confdefs.h <<\_ACEOF
27937 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27938 _ACEOF
27939
27940 fi
27941
27942
27943
27944
27945 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27946 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27947 cat >conftest.$ac_ext <<_ACEOF
27948 /* confdefs.h. */
27949 _ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27953
27954 #include <gtk/gtk.h>
27955
27956 int
27957 main ()
27958 {
27959
27960 #if !GTK_CHECK_VERSION(2,10,0)
27961 Not GTK+ 2.10
27962 #endif
27963
27964 ;
27965 return 0;
27966 }
27967 _ACEOF
27968 rm -f conftest.$ac_objext
27969 if { (ac_try="$ac_compile"
27970 case "(($ac_try" in
27971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27972 *) ac_try_echo=$ac_try;;
27973 esac
27974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27975 (eval "$ac_compile") 2>conftest.er1
27976 ac_status=$?
27977 grep -v '^ *+' conftest.er1 >conftest.err
27978 rm -f conftest.er1
27979 cat conftest.err >&5
27980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27981 (exit $ac_status); } && {
27982 test -z "$ac_c_werror_flag" ||
27983 test ! -s conftest.err
27984 } && test -s conftest.$ac_objext; then
27985
27986 cat >>confdefs.h <<\_ACEOF
27987 #define __WXGTK210__ 1
27988 _ACEOF
27989
27990 cat >>confdefs.h <<\_ACEOF
27991 #define __WXGTK26__ 1
27992 _ACEOF
27993
27994 cat >>confdefs.h <<\_ACEOF
27995 #define __WXGTK24__ 1
27996 _ACEOF
27997
27998 { echo "$as_me:$LINENO: result: yes" >&5
27999 echo "${ECHO_T}yes" >&6; }
28000 ac_wxgtk210=1
28001
28002 else
28003 echo "$as_me: failed program was:" >&5
28004 sed 's/^/| /' conftest.$ac_ext >&5
28005
28006
28007 { echo "$as_me:$LINENO: result: no" >&5
28008 echo "${ECHO_T}no" >&6; }
28009 ac_wxgtk210=0
28010
28011 fi
28012
28013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28014
28015 if test "$ac_wxgtk210" = 0; then
28016 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28017 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28018 cat >conftest.$ac_ext <<_ACEOF
28019 /* confdefs.h. */
28020 _ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28024
28025 #include <gtk/gtk.h>
28026
28027 int
28028 main ()
28029 {
28030
28031 #if !GTK_CHECK_VERSION(2,6,0)
28032 Not GTK+ 2.6
28033 #endif
28034
28035 ;
28036 return 0;
28037 }
28038 _ACEOF
28039 rm -f conftest.$ac_objext
28040 if { (ac_try="$ac_compile"
28041 case "(($ac_try" in
28042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28043 *) ac_try_echo=$ac_try;;
28044 esac
28045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28046 (eval "$ac_compile") 2>conftest.er1
28047 ac_status=$?
28048 grep -v '^ *+' conftest.er1 >conftest.err
28049 rm -f conftest.er1
28050 cat conftest.err >&5
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); } && {
28053 test -z "$ac_c_werror_flag" ||
28054 test ! -s conftest.err
28055 } && test -s conftest.$ac_objext; then
28056
28057 cat >>confdefs.h <<\_ACEOF
28058 #define __WXGTK26__ 1
28059 _ACEOF
28060
28061 cat >>confdefs.h <<\_ACEOF
28062 #define __WXGTK24__ 1
28063 _ACEOF
28064
28065 { echo "$as_me:$LINENO: result: yes" >&5
28066 echo "${ECHO_T}yes" >&6; }
28067 ac_wxgtk26=1
28068
28069 else
28070 echo "$as_me: failed program was:" >&5
28071 sed 's/^/| /' conftest.$ac_ext >&5
28072
28073
28074 { echo "$as_me:$LINENO: result: no" >&5
28075 echo "${ECHO_T}no" >&6; }
28076 ac_wxgtk26=0
28077
28078 fi
28079
28080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28081 fi
28082
28083 if test "$ac_wxgtk26" = 0; then
28084 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28085 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28086 cat >conftest.$ac_ext <<_ACEOF
28087 /* confdefs.h. */
28088 _ACEOF
28089 cat confdefs.h >>conftest.$ac_ext
28090 cat >>conftest.$ac_ext <<_ACEOF
28091 /* end confdefs.h. */
28092
28093 #include <gtk/gtk.h>
28094
28095 int
28096 main ()
28097 {
28098
28099 #if !GTK_CHECK_VERSION(2,4,0)
28100 Not GTK+ 2.4
28101 #endif
28102
28103 ;
28104 return 0;
28105 }
28106 _ACEOF
28107 rm -f conftest.$ac_objext
28108 if { (ac_try="$ac_compile"
28109 case "(($ac_try" in
28110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28111 *) ac_try_echo=$ac_try;;
28112 esac
28113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28114 (eval "$ac_compile") 2>conftest.er1
28115 ac_status=$?
28116 grep -v '^ *+' conftest.er1 >conftest.err
28117 rm -f conftest.er1
28118 cat conftest.err >&5
28119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28120 (exit $ac_status); } && {
28121 test -z "$ac_c_werror_flag" ||
28122 test ! -s conftest.err
28123 } && test -s conftest.$ac_objext; then
28124
28125 cat >>confdefs.h <<\_ACEOF
28126 #define __WXGTK24__ 1
28127 _ACEOF
28128
28129 { echo "$as_me:$LINENO: result: yes" >&5
28130 echo "${ECHO_T}yes" >&6; }
28131
28132 else
28133 echo "$as_me: failed program was:" >&5
28134 sed 's/^/| /' conftest.$ac_ext >&5
28135
28136
28137 { echo "$as_me:$LINENO: result: no" >&5
28138 echo "${ECHO_T}no" >&6; }
28139
28140 fi
28141
28142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28143 fi
28144
28145 CFLAGS="$save_CFLAGS"
28146 LIBS="$save_LIBS"
28147 else
28148 if test "$wxUSE_UNICODE" = "yes"; then
28149 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28150 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28151 wxUSE_UNICODE=no
28152 fi
28153
28154 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28155 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28156 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28158 else
28159 ac_check_lib_save_LIBS=$LIBS
28160 LIBS="-lgdk $LIBS"
28161 cat >conftest.$ac_ext <<_ACEOF
28162 /* confdefs.h. */
28163 _ACEOF
28164 cat confdefs.h >>conftest.$ac_ext
28165 cat >>conftest.$ac_ext <<_ACEOF
28166 /* end confdefs.h. */
28167
28168 /* Override any GCC internal prototype to avoid an error.
28169 Use char because int might match the return type of a GCC
28170 builtin and then its argument prototype would still apply. */
28171 #ifdef __cplusplus
28172 extern "C"
28173 #endif
28174 char gdk_im_open ();
28175 int
28176 main ()
28177 {
28178 return gdk_im_open ();
28179 ;
28180 return 0;
28181 }
28182 _ACEOF
28183 rm -f conftest.$ac_objext conftest$ac_exeext
28184 if { (ac_try="$ac_link"
28185 case "(($ac_try" in
28186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28188 esac
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_link") 2>conftest.er1
28191 ac_status=$?
28192 grep -v '^ *+' conftest.er1 >conftest.err
28193 rm -f conftest.er1
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && {
28197 test -z "$ac_c_werror_flag" ||
28198 test ! -s conftest.err
28199 } && test -s conftest$ac_exeext &&
28200 $as_test_x conftest$ac_exeext; then
28201 ac_cv_lib_gdk_gdk_im_open=yes
28202 else
28203 echo "$as_me: failed program was:" >&5
28204 sed 's/^/| /' conftest.$ac_ext >&5
28205
28206 ac_cv_lib_gdk_gdk_im_open=no
28207 fi
28208
28209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28210 conftest$ac_exeext conftest.$ac_ext
28211 LIBS=$ac_check_lib_save_LIBS
28212 fi
28213 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28214 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28215 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28216 cat >>confdefs.h <<\_ACEOF
28217 #define HAVE_XIM 1
28218 _ACEOF
28219
28220 fi
28221
28222
28223 if test "$USE_DARWIN" != 1; then
28224
28225 for ac_func in poll
28226 do
28227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28228 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28230 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28231 echo $ECHO_N "(cached) $ECHO_C" >&6
28232 else
28233 cat >conftest.$ac_ext <<_ACEOF
28234 /* confdefs.h. */
28235 _ACEOF
28236 cat confdefs.h >>conftest.$ac_ext
28237 cat >>conftest.$ac_ext <<_ACEOF
28238 /* end confdefs.h. */
28239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28241 #define $ac_func innocuous_$ac_func
28242
28243 /* System header to define __stub macros and hopefully few prototypes,
28244 which can conflict with char $ac_func (); below.
28245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28246 <limits.h> exists even on freestanding compilers. */
28247
28248 #ifdef __STDC__
28249 # include <limits.h>
28250 #else
28251 # include <assert.h>
28252 #endif
28253
28254 #undef $ac_func
28255
28256 /* Override any GCC internal prototype to avoid an error.
28257 Use char because int might match the return type of a GCC
28258 builtin and then its argument prototype would still apply. */
28259 #ifdef __cplusplus
28260 extern "C"
28261 #endif
28262 char $ac_func ();
28263 /* The GNU C library defines this for functions which it implements
28264 to always fail with ENOSYS. Some functions are actually named
28265 something starting with __ and the normal name is an alias. */
28266 #if defined __stub_$ac_func || defined __stub___$ac_func
28267 choke me
28268 #endif
28269
28270 int
28271 main ()
28272 {
28273 return $ac_func ();
28274 ;
28275 return 0;
28276 }
28277 _ACEOF
28278 rm -f conftest.$ac_objext conftest$ac_exeext
28279 if { (ac_try="$ac_link"
28280 case "(($ac_try" in
28281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28282 *) ac_try_echo=$ac_try;;
28283 esac
28284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28285 (eval "$ac_link") 2>conftest.er1
28286 ac_status=$?
28287 grep -v '^ *+' conftest.er1 >conftest.err
28288 rm -f conftest.er1
28289 cat conftest.err >&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); } && {
28292 test -z "$ac_c_werror_flag" ||
28293 test ! -s conftest.err
28294 } && test -s conftest$ac_exeext &&
28295 $as_test_x conftest$ac_exeext; then
28296 eval "$as_ac_var=yes"
28297 else
28298 echo "$as_me: failed program was:" >&5
28299 sed 's/^/| /' conftest.$ac_ext >&5
28300
28301 eval "$as_ac_var=no"
28302 fi
28303
28304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28305 conftest$ac_exeext conftest.$ac_ext
28306 fi
28307 ac_res=`eval echo '${'$as_ac_var'}'`
28308 { echo "$as_me:$LINENO: result: $ac_res" >&5
28309 echo "${ECHO_T}$ac_res" >&6; }
28310 if test `eval echo '${'$as_ac_var'}'` = yes; then
28311 cat >>confdefs.h <<_ACEOF
28312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28313 _ACEOF
28314
28315 fi
28316 done
28317
28318 fi
28319 fi
28320
28321 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28322 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28323
28324 AFMINSTALL=afminstall
28325 TOOLKIT=GTK
28326 GUIDIST=GTK_DIST
28327
28328 if test "$wxUSE_GPE" = "yes"; then
28329 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28330 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28331
28332 ac_find_libraries=
28333 for ac_dir in $SEARCH_LIB;
28334 do
28335 for ac_extension in a so sl dylib dll.a; do
28336 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28337 ac_find_libraries=$ac_dir
28338 break 2
28339 fi
28340 done
28341 done
28342
28343 if test "$ac_find_libraries" != "" ; then
28344
28345 if test "$ac_find_libraries" = "default location"; then
28346 ac_path_to_link=""
28347 else
28348 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28349 result=$?
28350 if test $result = 0; then
28351 ac_path_to_link=""
28352 else
28353 ac_path_to_link=" -L$ac_find_libraries"
28354 fi
28355 fi
28356
28357 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28358 WXGPE=1
28359 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28360 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28361 else
28362 { echo "$as_me:$LINENO: result: not found" >&5
28363 echo "${ECHO_T}not found" >&6; }
28364 fi
28365
28366 fi
28367 fi
28368
28369 if test "$wxUSE_MGL" = 1; then
28370 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28371 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28372 if test "x$MGL_ROOT" = x ; then
28373 { echo "$as_me:$LINENO: result: not found" >&5
28374 echo "${ECHO_T}not found" >&6; }
28375 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28376 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28377 { (exit 1); exit 1; }; }
28378 else
28379 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28380 echo "${ECHO_T}$MGL_ROOT" >&6; }
28381 fi
28382
28383 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28384 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28385 case "${host}" in
28386 *-*-linux* )
28387 if test "x$wxUSE_SHARED" = xyes ; then
28388 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28389 else
28390 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28391 fi
28392 ;;
28393 *-pc-msdosdjgpp )
28394 mgl_os_candidates="dos32/dj2"
28395 ;;
28396 *)
28397 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28398 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28399 { (exit 1); exit 1; }; }
28400 esac
28401
28402 mgl_lib_type=""
28403 mgl_os=""
28404
28405 for mgl_os_i in $mgl_os_candidates ; do
28406 if test "x$mgl_os" = x ; then
28407 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28408 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28409 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28410 mgl_lib_type=debug
28411 mgl_os=$mgl_os_i
28412 fi
28413 fi
28414 if test "x$mgl_lib_type" = x ; then
28415 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28416 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28417 mgl_lib_type=release
28418 mgl_os=$mgl_os_i
28419 fi
28420 fi
28421 fi
28422 done
28423
28424 if test "x$mgl_os" = x ; then
28425 { echo "$as_me:$LINENO: result: not found" >&5
28426 echo "${ECHO_T}not found" >&6; }
28427 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28428 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28429 { (exit 1); exit 1; }; }
28430 fi
28431 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28432 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28433
28434 wxUSE_UNIVERSAL="yes"
28435
28436 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28437 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28438
28439 AFMINSTALL=afminstall
28440 TOOLKIT=MGL
28441 GUIDIST=MGL_DIST
28442 fi
28443
28444 if test "$wxUSE_DFB" = 1; then
28445
28446
28447 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28448 if test -n "$ac_tool_prefix"; then
28449 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28450 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28453 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28454 echo $ECHO_N "(cached) $ECHO_C" >&6
28455 else
28456 case $PKG_CONFIG in
28457 [\\/]* | ?:[\\/]*)
28458 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28459 ;;
28460 *)
28461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28462 for as_dir in $PATH
28463 do
28464 IFS=$as_save_IFS
28465 test -z "$as_dir" && as_dir=.
28466 for ac_exec_ext in '' $ac_executable_extensions; do
28467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28468 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28470 break 2
28471 fi
28472 done
28473 done
28474 IFS=$as_save_IFS
28475
28476 ;;
28477 esac
28478 fi
28479 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28480 if test -n "$PKG_CONFIG"; then
28481 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28482 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28483 else
28484 { echo "$as_me:$LINENO: result: no" >&5
28485 echo "${ECHO_T}no" >&6; }
28486 fi
28487
28488
28489 fi
28490 if test -z "$ac_cv_path_PKG_CONFIG"; then
28491 ac_pt_PKG_CONFIG=$PKG_CONFIG
28492 # Extract the first word of "pkg-config", so it can be a program name with args.
28493 set dummy pkg-config; ac_word=$2
28494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28496 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28497 echo $ECHO_N "(cached) $ECHO_C" >&6
28498 else
28499 case $ac_pt_PKG_CONFIG in
28500 [\\/]* | ?:[\\/]*)
28501 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28502 ;;
28503 *)
28504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28505 for as_dir in $PATH
28506 do
28507 IFS=$as_save_IFS
28508 test -z "$as_dir" && as_dir=.
28509 for ac_exec_ext in '' $ac_executable_extensions; do
28510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28511 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28513 break 2
28514 fi
28515 done
28516 done
28517 IFS=$as_save_IFS
28518
28519 ;;
28520 esac
28521 fi
28522 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28523 if test -n "$ac_pt_PKG_CONFIG"; then
28524 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28525 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28526 else
28527 { echo "$as_me:$LINENO: result: no" >&5
28528 echo "${ECHO_T}no" >&6; }
28529 fi
28530
28531 if test "x$ac_pt_PKG_CONFIG" = x; then
28532 PKG_CONFIG=""
28533 else
28534 case $cross_compiling:$ac_tool_warned in
28535 yes:)
28536 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28537 whose name does not start with the host triplet. If you think this
28538 configuration is useful to you, please write to autoconf@gnu.org." >&5
28539 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28540 whose name does not start with the host triplet. If you think this
28541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28542 ac_tool_warned=yes ;;
28543 esac
28544 PKG_CONFIG=$ac_pt_PKG_CONFIG
28545 fi
28546 else
28547 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28548 fi
28549
28550 fi
28551 if test -n "$PKG_CONFIG"; then
28552 _pkg_min_version=0.9.0
28553 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28554 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28555 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28556 { echo "$as_me:$LINENO: result: yes" >&5
28557 echo "${ECHO_T}yes" >&6; }
28558 else
28559 { echo "$as_me:$LINENO: result: no" >&5
28560 echo "${ECHO_T}no" >&6; }
28561 PKG_CONFIG=""
28562 fi
28563
28564 fi
28565
28566
28567 pkg_failed=no
28568 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28569 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28570
28571 if test -n "$PKG_CONFIG"; then
28572 if test -n "$DIRECTFB_CFLAGS"; then
28573 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28574 else
28575 if test -n "$PKG_CONFIG" && \
28576 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28577 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28578 ac_status=$?
28579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28580 (exit $ac_status); }; then
28581 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28582 else
28583 pkg_failed=yes
28584 fi
28585 fi
28586 else
28587 pkg_failed=untried
28588 fi
28589 if test -n "$PKG_CONFIG"; then
28590 if test -n "$DIRECTFB_LIBS"; then
28591 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28592 else
28593 if test -n "$PKG_CONFIG" && \
28594 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28595 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28596 ac_status=$?
28597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28598 (exit $ac_status); }; then
28599 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28600 else
28601 pkg_failed=yes
28602 fi
28603 fi
28604 else
28605 pkg_failed=untried
28606 fi
28607
28608
28609
28610 if test $pkg_failed = yes; then
28611
28612 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28613 _pkg_short_errors_supported=yes
28614 else
28615 _pkg_short_errors_supported=no
28616 fi
28617 if test $_pkg_short_errors_supported = yes; then
28618 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28619 else
28620 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28621 fi
28622 # Put the nasty error message in config.log where it belongs
28623 echo "$DIRECTFB_PKG_ERRORS" >&5
28624
28625
28626 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28627 echo "$as_me: error: DirectFB not found." >&2;}
28628 { (exit 1); exit 1; }; }
28629
28630
28631 elif test $pkg_failed = untried; then
28632
28633 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28634 echo "$as_me: error: DirectFB not found." >&2;}
28635 { (exit 1); exit 1; }; }
28636
28637
28638 else
28639 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28640 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28641 { echo "$as_me:$LINENO: result: yes" >&5
28642 echo "${ECHO_T}yes" >&6; }
28643
28644 wxUSE_UNIVERSAL="yes"
28645 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28646 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28647 TOOLKIT=DFB
28648 GUIDIST=DFB_DIST
28649
28650 fi
28651 fi
28652
28653 if test "$wxUSE_MICROWIN" = 1; then
28654 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28655 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28656 if test "x$MICROWINDOWS" = x ; then
28657 { echo "$as_me:$LINENO: result: not found" >&5
28658 echo "${ECHO_T}not found" >&6; }
28659 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28660 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28661 { (exit 1); exit 1; }; }
28662 else
28663 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28664 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28665 fi
28666
28667 if test -f $MICROWINDOWS/lib/libmwin.a; then
28668 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28669 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28670 else
28671 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28672 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28673 { (exit 1); exit 1; }; }
28674 fi
28675
28676 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28677 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28678
28679 wxUSE_UNIVERSAL="yes"
28680
28681 AFMINSTALL=afminstall
28682 TOOLKIT=MICROWIN
28683 GUIDIST=MICROWIN_DIST
28684
28685 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28686 fi
28687
28688 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28689 { echo "$as_me:$LINENO: checking for X" >&5
28690 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28691
28692
28693 # Check whether --with-x was given.
28694 if test "${with_x+set}" = set; then
28695 withval=$with_x;
28696 fi
28697
28698 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28699 if test "x$with_x" = xno; then
28700 # The user explicitly disabled X.
28701 have_x=disabled
28702 else
28703 case $x_includes,$x_libraries in #(
28704 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28705 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28706 { (exit 1); exit 1; }; };; #(
28707 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28709 else
28710 # One or both of the vars are not set, and there is no cached value.
28711 ac_x_includes=no ac_x_libraries=no
28712 rm -f -r conftest.dir
28713 if mkdir conftest.dir; then
28714 cd conftest.dir
28715 cat >Imakefile <<'_ACEOF'
28716 incroot:
28717 @echo incroot='${INCROOT}'
28718 usrlibdir:
28719 @echo usrlibdir='${USRLIBDIR}'
28720 libdir:
28721 @echo libdir='${LIBDIR}'
28722 _ACEOF
28723 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28724 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28725 for ac_var in incroot usrlibdir libdir; do
28726 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28727 done
28728 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28729 for ac_extension in a so sl; do
28730 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28731 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28732 ac_im_usrlibdir=$ac_im_libdir; break
28733 fi
28734 done
28735 # Screen out bogus values from the imake configuration. They are
28736 # bogus both because they are the default anyway, and because
28737 # using them would break gcc on systems where it needs fixed includes.
28738 case $ac_im_incroot in
28739 /usr/include) ac_x_includes= ;;
28740 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28741 esac
28742 case $ac_im_usrlibdir in
28743 /usr/lib | /lib) ;;
28744 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28745 esac
28746 fi
28747 cd ..
28748 rm -f -r conftest.dir
28749 fi
28750
28751 # Standard set of common directories for X headers.
28752 # Check X11 before X11Rn because it is often a symlink to the current release.
28753 ac_x_header_dirs='
28754 /usr/X11/include
28755 /usr/X11R6/include
28756 /usr/X11R5/include
28757 /usr/X11R4/include
28758
28759 /usr/include/X11
28760 /usr/include/X11R6
28761 /usr/include/X11R5
28762 /usr/include/X11R4
28763
28764 /usr/local/X11/include
28765 /usr/local/X11R6/include
28766 /usr/local/X11R5/include
28767 /usr/local/X11R4/include
28768
28769 /usr/local/include/X11
28770 /usr/local/include/X11R6
28771 /usr/local/include/X11R5
28772 /usr/local/include/X11R4
28773
28774 /usr/X386/include
28775 /usr/x386/include
28776 /usr/XFree86/include/X11
28777
28778 /usr/include
28779 /usr/local/include
28780 /usr/unsupported/include
28781 /usr/athena/include
28782 /usr/local/x11r5/include
28783 /usr/lpp/Xamples/include
28784
28785 /usr/openwin/include
28786 /usr/openwin/share/include'
28787
28788 if test "$ac_x_includes" = no; then
28789 # Guess where to find include files, by looking for Xlib.h.
28790 # First, try using that file with no special directory specified.
28791 cat >conftest.$ac_ext <<_ACEOF
28792 /* confdefs.h. */
28793 _ACEOF
28794 cat confdefs.h >>conftest.$ac_ext
28795 cat >>conftest.$ac_ext <<_ACEOF
28796 /* end confdefs.h. */
28797 #include <X11/Xlib.h>
28798 _ACEOF
28799 if { (ac_try="$ac_cpp conftest.$ac_ext"
28800 case "(($ac_try" in
28801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28802 *) ac_try_echo=$ac_try;;
28803 esac
28804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28806 ac_status=$?
28807 grep -v '^ *+' conftest.er1 >conftest.err
28808 rm -f conftest.er1
28809 cat conftest.err >&5
28810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28811 (exit $ac_status); } >/dev/null && {
28812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28813 test ! -s conftest.err
28814 }; then
28815 # We can compile using X headers with no special include directory.
28816 ac_x_includes=
28817 else
28818 echo "$as_me: failed program was:" >&5
28819 sed 's/^/| /' conftest.$ac_ext >&5
28820
28821 for ac_dir in $ac_x_header_dirs; do
28822 if test -r "$ac_dir/X11/Xlib.h"; then
28823 ac_x_includes=$ac_dir
28824 break
28825 fi
28826 done
28827 fi
28828
28829 rm -f conftest.err conftest.$ac_ext
28830 fi # $ac_x_includes = no
28831
28832 if test "$ac_x_libraries" = no; then
28833 # Check for the libraries.
28834 # See if we find them without any special options.
28835 # Don't add to $LIBS permanently.
28836 ac_save_LIBS=$LIBS
28837 LIBS="-lX11 $LIBS"
28838 cat >conftest.$ac_ext <<_ACEOF
28839 /* confdefs.h. */
28840 _ACEOF
28841 cat confdefs.h >>conftest.$ac_ext
28842 cat >>conftest.$ac_ext <<_ACEOF
28843 /* end confdefs.h. */
28844 #include <X11/Xlib.h>
28845 int
28846 main ()
28847 {
28848 XrmInitialize ()
28849 ;
28850 return 0;
28851 }
28852 _ACEOF
28853 rm -f conftest.$ac_objext conftest$ac_exeext
28854 if { (ac_try="$ac_link"
28855 case "(($ac_try" in
28856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28857 *) ac_try_echo=$ac_try;;
28858 esac
28859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28860 (eval "$ac_link") 2>conftest.er1
28861 ac_status=$?
28862 grep -v '^ *+' conftest.er1 >conftest.err
28863 rm -f conftest.er1
28864 cat conftest.err >&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); } && {
28867 test -z "$ac_c_werror_flag" ||
28868 test ! -s conftest.err
28869 } && test -s conftest$ac_exeext &&
28870 $as_test_x conftest$ac_exeext; then
28871 LIBS=$ac_save_LIBS
28872 # We can link X programs with no special library path.
28873 ac_x_libraries=
28874 else
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.$ac_ext >&5
28877
28878 LIBS=$ac_save_LIBS
28879 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28880 do
28881 # Don't even attempt the hair of trying to link an X program!
28882 for ac_extension in a so sl; do
28883 if test -r "$ac_dir/libX11.$ac_extension"; then
28884 ac_x_libraries=$ac_dir
28885 break 2
28886 fi
28887 done
28888 done
28889 fi
28890
28891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28892 conftest$ac_exeext conftest.$ac_ext
28893 fi # $ac_x_libraries = no
28894
28895 case $ac_x_includes,$ac_x_libraries in #(
28896 no,* | *,no | *\'*)
28897 # Didn't find X, or a directory has "'" in its name.
28898 ac_cv_have_x="have_x=no";; #(
28899 *)
28900 # Record where we found X for the cache.
28901 ac_cv_have_x="have_x=yes\
28902 ac_x_includes='$ac_x_includes'\
28903 ac_x_libraries='$ac_x_libraries'"
28904 esac
28905 fi
28906 ;; #(
28907 *) have_x=yes;;
28908 esac
28909 eval "$ac_cv_have_x"
28910 fi # $with_x != no
28911
28912 if test "$have_x" != yes; then
28913 { echo "$as_me:$LINENO: result: $have_x" >&5
28914 echo "${ECHO_T}$have_x" >&6; }
28915 no_x=yes
28916 else
28917 # If each of the values was on the command line, it overrides each guess.
28918 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28919 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28920 # Update the cache value to reflect the command line values.
28921 ac_cv_have_x="have_x=yes\
28922 ac_x_includes='$x_includes'\
28923 ac_x_libraries='$x_libraries'"
28924 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28925 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28926 fi
28927
28928 if test "$no_x" = yes; then
28929 # Not all programs may use this symbol, but it does not hurt to define it.
28930
28931 cat >>confdefs.h <<\_ACEOF
28932 #define X_DISPLAY_MISSING 1
28933 _ACEOF
28934
28935 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28936 else
28937 if test -n "$x_includes"; then
28938 X_CFLAGS="$X_CFLAGS -I$x_includes"
28939 fi
28940
28941 # It would also be nice to do this for all -L options, not just this one.
28942 if test -n "$x_libraries"; then
28943 X_LIBS="$X_LIBS -L$x_libraries"
28944 # For Solaris; some versions of Sun CC require a space after -R and
28945 # others require no space. Words are not sufficient . . . .
28946 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28947 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28948 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28949 ac_xsave_c_werror_flag=$ac_c_werror_flag
28950 ac_c_werror_flag=yes
28951 cat >conftest.$ac_ext <<_ACEOF
28952 /* confdefs.h. */
28953 _ACEOF
28954 cat confdefs.h >>conftest.$ac_ext
28955 cat >>conftest.$ac_ext <<_ACEOF
28956 /* end confdefs.h. */
28957
28958 int
28959 main ()
28960 {
28961
28962 ;
28963 return 0;
28964 }
28965 _ACEOF
28966 rm -f conftest.$ac_objext conftest$ac_exeext
28967 if { (ac_try="$ac_link"
28968 case "(($ac_try" in
28969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28970 *) ac_try_echo=$ac_try;;
28971 esac
28972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28973 (eval "$ac_link") 2>conftest.er1
28974 ac_status=$?
28975 grep -v '^ *+' conftest.er1 >conftest.err
28976 rm -f conftest.er1
28977 cat conftest.err >&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); } && {
28980 test -z "$ac_c_werror_flag" ||
28981 test ! -s conftest.err
28982 } && test -s conftest$ac_exeext &&
28983 $as_test_x conftest$ac_exeext; then
28984 { echo "$as_me:$LINENO: result: no" >&5
28985 echo "${ECHO_T}no" >&6; }
28986 X_LIBS="$X_LIBS -R$x_libraries"
28987 else
28988 echo "$as_me: failed program was:" >&5
28989 sed 's/^/| /' conftest.$ac_ext >&5
28990
28991 LIBS="$ac_xsave_LIBS -R $x_libraries"
28992 cat >conftest.$ac_ext <<_ACEOF
28993 /* confdefs.h. */
28994 _ACEOF
28995 cat confdefs.h >>conftest.$ac_ext
28996 cat >>conftest.$ac_ext <<_ACEOF
28997 /* end confdefs.h. */
28998
28999 int
29000 main ()
29001 {
29002
29003 ;
29004 return 0;
29005 }
29006 _ACEOF
29007 rm -f conftest.$ac_objext conftest$ac_exeext
29008 if { (ac_try="$ac_link"
29009 case "(($ac_try" in
29010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29011 *) ac_try_echo=$ac_try;;
29012 esac
29013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29014 (eval "$ac_link") 2>conftest.er1
29015 ac_status=$?
29016 grep -v '^ *+' conftest.er1 >conftest.err
29017 rm -f conftest.er1
29018 cat conftest.err >&5
29019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020 (exit $ac_status); } && {
29021 test -z "$ac_c_werror_flag" ||
29022 test ! -s conftest.err
29023 } && test -s conftest$ac_exeext &&
29024 $as_test_x conftest$ac_exeext; then
29025 { echo "$as_me:$LINENO: result: yes" >&5
29026 echo "${ECHO_T}yes" >&6; }
29027 X_LIBS="$X_LIBS -R $x_libraries"
29028 else
29029 echo "$as_me: failed program was:" >&5
29030 sed 's/^/| /' conftest.$ac_ext >&5
29031
29032 { echo "$as_me:$LINENO: result: neither works" >&5
29033 echo "${ECHO_T}neither works" >&6; }
29034 fi
29035
29036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29037 conftest$ac_exeext conftest.$ac_ext
29038 fi
29039
29040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29041 conftest$ac_exeext conftest.$ac_ext
29042 ac_c_werror_flag=$ac_xsave_c_werror_flag
29043 LIBS=$ac_xsave_LIBS
29044 fi
29045
29046 # Check for system-dependent libraries X programs must link with.
29047 # Do this before checking for the system-independent R6 libraries
29048 # (-lICE), since we may need -lsocket or whatever for X linking.
29049
29050 if test "$ISC" = yes; then
29051 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29052 else
29053 # Martyn Johnson says this is needed for Ultrix, if the X
29054 # libraries were built with DECnet support. And Karl Berry says
29055 # the Alpha needs dnet_stub (dnet does not exist).
29056 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29057 cat >conftest.$ac_ext <<_ACEOF
29058 /* confdefs.h. */
29059 _ACEOF
29060 cat confdefs.h >>conftest.$ac_ext
29061 cat >>conftest.$ac_ext <<_ACEOF
29062 /* end confdefs.h. */
29063
29064 /* Override any GCC internal prototype to avoid an error.
29065 Use char because int might match the return type of a GCC
29066 builtin and then its argument prototype would still apply. */
29067 #ifdef __cplusplus
29068 extern "C"
29069 #endif
29070 char XOpenDisplay ();
29071 int
29072 main ()
29073 {
29074 return XOpenDisplay ();
29075 ;
29076 return 0;
29077 }
29078 _ACEOF
29079 rm -f conftest.$ac_objext conftest$ac_exeext
29080 if { (ac_try="$ac_link"
29081 case "(($ac_try" in
29082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29083 *) ac_try_echo=$ac_try;;
29084 esac
29085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29086 (eval "$ac_link") 2>conftest.er1
29087 ac_status=$?
29088 grep -v '^ *+' conftest.er1 >conftest.err
29089 rm -f conftest.er1
29090 cat conftest.err >&5
29091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29092 (exit $ac_status); } && {
29093 test -z "$ac_c_werror_flag" ||
29094 test ! -s conftest.err
29095 } && test -s conftest$ac_exeext &&
29096 $as_test_x conftest$ac_exeext; then
29097 :
29098 else
29099 echo "$as_me: failed program was:" >&5
29100 sed 's/^/| /' conftest.$ac_ext >&5
29101
29102 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29103 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29104 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29105 echo $ECHO_N "(cached) $ECHO_C" >&6
29106 else
29107 ac_check_lib_save_LIBS=$LIBS
29108 LIBS="-ldnet $LIBS"
29109 cat >conftest.$ac_ext <<_ACEOF
29110 /* confdefs.h. */
29111 _ACEOF
29112 cat confdefs.h >>conftest.$ac_ext
29113 cat >>conftest.$ac_ext <<_ACEOF
29114 /* end confdefs.h. */
29115
29116 /* Override any GCC internal prototype to avoid an error.
29117 Use char because int might match the return type of a GCC
29118 builtin and then its argument prototype would still apply. */
29119 #ifdef __cplusplus
29120 extern "C"
29121 #endif
29122 char dnet_ntoa ();
29123 int
29124 main ()
29125 {
29126 return dnet_ntoa ();
29127 ;
29128 return 0;
29129 }
29130 _ACEOF
29131 rm -f conftest.$ac_objext conftest$ac_exeext
29132 if { (ac_try="$ac_link"
29133 case "(($ac_try" in
29134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29135 *) ac_try_echo=$ac_try;;
29136 esac
29137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29138 (eval "$ac_link") 2>conftest.er1
29139 ac_status=$?
29140 grep -v '^ *+' conftest.er1 >conftest.err
29141 rm -f conftest.er1
29142 cat conftest.err >&5
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); } && {
29145 test -z "$ac_c_werror_flag" ||
29146 test ! -s conftest.err
29147 } && test -s conftest$ac_exeext &&
29148 $as_test_x conftest$ac_exeext; then
29149 ac_cv_lib_dnet_dnet_ntoa=yes
29150 else
29151 echo "$as_me: failed program was:" >&5
29152 sed 's/^/| /' conftest.$ac_ext >&5
29153
29154 ac_cv_lib_dnet_dnet_ntoa=no
29155 fi
29156
29157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29158 conftest$ac_exeext conftest.$ac_ext
29159 LIBS=$ac_check_lib_save_LIBS
29160 fi
29161 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29162 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29163 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29165 fi
29166
29167 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29168 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29169 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29170 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29172 else
29173 ac_check_lib_save_LIBS=$LIBS
29174 LIBS="-ldnet_stub $LIBS"
29175 cat >conftest.$ac_ext <<_ACEOF
29176 /* confdefs.h. */
29177 _ACEOF
29178 cat confdefs.h >>conftest.$ac_ext
29179 cat >>conftest.$ac_ext <<_ACEOF
29180 /* end confdefs.h. */
29181
29182 /* Override any GCC internal prototype to avoid an error.
29183 Use char because int might match the return type of a GCC
29184 builtin and then its argument prototype would still apply. */
29185 #ifdef __cplusplus
29186 extern "C"
29187 #endif
29188 char dnet_ntoa ();
29189 int
29190 main ()
29191 {
29192 return dnet_ntoa ();
29193 ;
29194 return 0;
29195 }
29196 _ACEOF
29197 rm -f conftest.$ac_objext conftest$ac_exeext
29198 if { (ac_try="$ac_link"
29199 case "(($ac_try" in
29200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29201 *) ac_try_echo=$ac_try;;
29202 esac
29203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29204 (eval "$ac_link") 2>conftest.er1
29205 ac_status=$?
29206 grep -v '^ *+' conftest.er1 >conftest.err
29207 rm -f conftest.er1
29208 cat conftest.err >&5
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); } && {
29211 test -z "$ac_c_werror_flag" ||
29212 test ! -s conftest.err
29213 } && test -s conftest$ac_exeext &&
29214 $as_test_x conftest$ac_exeext; then
29215 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29216 else
29217 echo "$as_me: failed program was:" >&5
29218 sed 's/^/| /' conftest.$ac_ext >&5
29219
29220 ac_cv_lib_dnet_stub_dnet_ntoa=no
29221 fi
29222
29223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29224 conftest$ac_exeext conftest.$ac_ext
29225 LIBS=$ac_check_lib_save_LIBS
29226 fi
29227 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29228 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29229 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29230 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29231 fi
29232
29233 fi
29234 fi
29235
29236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29237 conftest$ac_exeext conftest.$ac_ext
29238 LIBS="$ac_xsave_LIBS"
29239
29240 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29241 # to get the SysV transport functions.
29242 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29243 # needs -lnsl.
29244 # The nsl library prevents programs from opening the X display
29245 # on Irix 5.2, according to T.E. Dickey.
29246 # The functions gethostbyname, getservbyname, and inet_addr are
29247 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29248 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29249 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29250 if test "${ac_cv_func_gethostbyname+set}" = set; then
29251 echo $ECHO_N "(cached) $ECHO_C" >&6
29252 else
29253 cat >conftest.$ac_ext <<_ACEOF
29254 /* confdefs.h. */
29255 _ACEOF
29256 cat confdefs.h >>conftest.$ac_ext
29257 cat >>conftest.$ac_ext <<_ACEOF
29258 /* end confdefs.h. */
29259 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29261 #define gethostbyname innocuous_gethostbyname
29262
29263 /* System header to define __stub macros and hopefully few prototypes,
29264 which can conflict with char gethostbyname (); below.
29265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29266 <limits.h> exists even on freestanding compilers. */
29267
29268 #ifdef __STDC__
29269 # include <limits.h>
29270 #else
29271 # include <assert.h>
29272 #endif
29273
29274 #undef gethostbyname
29275
29276 /* Override any GCC internal prototype to avoid an error.
29277 Use char because int might match the return type of a GCC
29278 builtin and then its argument prototype would still apply. */
29279 #ifdef __cplusplus
29280 extern "C"
29281 #endif
29282 char gethostbyname ();
29283 /* The GNU C library defines this for functions which it implements
29284 to always fail with ENOSYS. Some functions are actually named
29285 something starting with __ and the normal name is an alias. */
29286 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29287 choke me
29288 #endif
29289
29290 int
29291 main ()
29292 {
29293 return gethostbyname ();
29294 ;
29295 return 0;
29296 }
29297 _ACEOF
29298 rm -f conftest.$ac_objext conftest$ac_exeext
29299 if { (ac_try="$ac_link"
29300 case "(($ac_try" in
29301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29302 *) ac_try_echo=$ac_try;;
29303 esac
29304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29305 (eval "$ac_link") 2>conftest.er1
29306 ac_status=$?
29307 grep -v '^ *+' conftest.er1 >conftest.err
29308 rm -f conftest.er1
29309 cat conftest.err >&5
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); } && {
29312 test -z "$ac_c_werror_flag" ||
29313 test ! -s conftest.err
29314 } && test -s conftest$ac_exeext &&
29315 $as_test_x conftest$ac_exeext; then
29316 ac_cv_func_gethostbyname=yes
29317 else
29318 echo "$as_me: failed program was:" >&5
29319 sed 's/^/| /' conftest.$ac_ext >&5
29320
29321 ac_cv_func_gethostbyname=no
29322 fi
29323
29324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29325 conftest$ac_exeext conftest.$ac_ext
29326 fi
29327 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29328 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29329
29330 if test $ac_cv_func_gethostbyname = no; then
29331 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29332 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29333 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29334 echo $ECHO_N "(cached) $ECHO_C" >&6
29335 else
29336 ac_check_lib_save_LIBS=$LIBS
29337 LIBS="-lnsl $LIBS"
29338 cat >conftest.$ac_ext <<_ACEOF
29339 /* confdefs.h. */
29340 _ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29344
29345 /* Override any GCC internal prototype to avoid an error.
29346 Use char because int might match the return type of a GCC
29347 builtin and then its argument prototype would still apply. */
29348 #ifdef __cplusplus
29349 extern "C"
29350 #endif
29351 char gethostbyname ();
29352 int
29353 main ()
29354 {
29355 return gethostbyname ();
29356 ;
29357 return 0;
29358 }
29359 _ACEOF
29360 rm -f conftest.$ac_objext conftest$ac_exeext
29361 if { (ac_try="$ac_link"
29362 case "(($ac_try" in
29363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29364 *) ac_try_echo=$ac_try;;
29365 esac
29366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29367 (eval "$ac_link") 2>conftest.er1
29368 ac_status=$?
29369 grep -v '^ *+' conftest.er1 >conftest.err
29370 rm -f conftest.er1
29371 cat conftest.err >&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); } && {
29374 test -z "$ac_c_werror_flag" ||
29375 test ! -s conftest.err
29376 } && test -s conftest$ac_exeext &&
29377 $as_test_x conftest$ac_exeext; then
29378 ac_cv_lib_nsl_gethostbyname=yes
29379 else
29380 echo "$as_me: failed program was:" >&5
29381 sed 's/^/| /' conftest.$ac_ext >&5
29382
29383 ac_cv_lib_nsl_gethostbyname=no
29384 fi
29385
29386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29387 conftest$ac_exeext conftest.$ac_ext
29388 LIBS=$ac_check_lib_save_LIBS
29389 fi
29390 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29391 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29392 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29393 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29394 fi
29395
29396 if test $ac_cv_lib_nsl_gethostbyname = no; then
29397 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29398 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29399 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29401 else
29402 ac_check_lib_save_LIBS=$LIBS
29403 LIBS="-lbsd $LIBS"
29404 cat >conftest.$ac_ext <<_ACEOF
29405 /* confdefs.h. */
29406 _ACEOF
29407 cat confdefs.h >>conftest.$ac_ext
29408 cat >>conftest.$ac_ext <<_ACEOF
29409 /* end confdefs.h. */
29410
29411 /* Override any GCC internal prototype to avoid an error.
29412 Use char because int might match the return type of a GCC
29413 builtin and then its argument prototype would still apply. */
29414 #ifdef __cplusplus
29415 extern "C"
29416 #endif
29417 char gethostbyname ();
29418 int
29419 main ()
29420 {
29421 return gethostbyname ();
29422 ;
29423 return 0;
29424 }
29425 _ACEOF
29426 rm -f conftest.$ac_objext conftest$ac_exeext
29427 if { (ac_try="$ac_link"
29428 case "(($ac_try" in
29429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29430 *) ac_try_echo=$ac_try;;
29431 esac
29432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29433 (eval "$ac_link") 2>conftest.er1
29434 ac_status=$?
29435 grep -v '^ *+' conftest.er1 >conftest.err
29436 rm -f conftest.er1
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } && {
29440 test -z "$ac_c_werror_flag" ||
29441 test ! -s conftest.err
29442 } && test -s conftest$ac_exeext &&
29443 $as_test_x conftest$ac_exeext; then
29444 ac_cv_lib_bsd_gethostbyname=yes
29445 else
29446 echo "$as_me: failed program was:" >&5
29447 sed 's/^/| /' conftest.$ac_ext >&5
29448
29449 ac_cv_lib_bsd_gethostbyname=no
29450 fi
29451
29452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29453 conftest$ac_exeext conftest.$ac_ext
29454 LIBS=$ac_check_lib_save_LIBS
29455 fi
29456 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29457 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29458 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29459 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29460 fi
29461
29462 fi
29463 fi
29464
29465 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29466 # socket/setsockopt and other routines are undefined under SCO ODT
29467 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29468 # on later versions), says Simon Leinen: it contains gethostby*
29469 # variants that don't use the name server (or something). -lsocket
29470 # must be given before -lnsl if both are needed. We assume that
29471 # if connect needs -lnsl, so does gethostbyname.
29472 { echo "$as_me:$LINENO: checking for connect" >&5
29473 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29474 if test "${ac_cv_func_connect+set}" = set; then
29475 echo $ECHO_N "(cached) $ECHO_C" >&6
29476 else
29477 cat >conftest.$ac_ext <<_ACEOF
29478 /* confdefs.h. */
29479 _ACEOF
29480 cat confdefs.h >>conftest.$ac_ext
29481 cat >>conftest.$ac_ext <<_ACEOF
29482 /* end confdefs.h. */
29483 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29485 #define connect innocuous_connect
29486
29487 /* System header to define __stub macros and hopefully few prototypes,
29488 which can conflict with char connect (); below.
29489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29490 <limits.h> exists even on freestanding compilers. */
29491
29492 #ifdef __STDC__
29493 # include <limits.h>
29494 #else
29495 # include <assert.h>
29496 #endif
29497
29498 #undef connect
29499
29500 /* Override any GCC internal prototype to avoid an error.
29501 Use char because int might match the return type of a GCC
29502 builtin and then its argument prototype would still apply. */
29503 #ifdef __cplusplus
29504 extern "C"
29505 #endif
29506 char connect ();
29507 /* The GNU C library defines this for functions which it implements
29508 to always fail with ENOSYS. Some functions are actually named
29509 something starting with __ and the normal name is an alias. */
29510 #if defined __stub_connect || defined __stub___connect
29511 choke me
29512 #endif
29513
29514 int
29515 main ()
29516 {
29517 return connect ();
29518 ;
29519 return 0;
29520 }
29521 _ACEOF
29522 rm -f conftest.$ac_objext conftest$ac_exeext
29523 if { (ac_try="$ac_link"
29524 case "(($ac_try" in
29525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29526 *) ac_try_echo=$ac_try;;
29527 esac
29528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29529 (eval "$ac_link") 2>conftest.er1
29530 ac_status=$?
29531 grep -v '^ *+' conftest.er1 >conftest.err
29532 rm -f conftest.er1
29533 cat conftest.err >&5
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); } && {
29536 test -z "$ac_c_werror_flag" ||
29537 test ! -s conftest.err
29538 } && test -s conftest$ac_exeext &&
29539 $as_test_x conftest$ac_exeext; then
29540 ac_cv_func_connect=yes
29541 else
29542 echo "$as_me: failed program was:" >&5
29543 sed 's/^/| /' conftest.$ac_ext >&5
29544
29545 ac_cv_func_connect=no
29546 fi
29547
29548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29549 conftest$ac_exeext conftest.$ac_ext
29550 fi
29551 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29552 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29553
29554 if test $ac_cv_func_connect = no; then
29555 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29556 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29557 if test "${ac_cv_lib_socket_connect+set}" = set; then
29558 echo $ECHO_N "(cached) $ECHO_C" >&6
29559 else
29560 ac_check_lib_save_LIBS=$LIBS
29561 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29562 cat >conftest.$ac_ext <<_ACEOF
29563 /* confdefs.h. */
29564 _ACEOF
29565 cat confdefs.h >>conftest.$ac_ext
29566 cat >>conftest.$ac_ext <<_ACEOF
29567 /* end confdefs.h. */
29568
29569 /* Override any GCC internal prototype to avoid an error.
29570 Use char because int might match the return type of a GCC
29571 builtin and then its argument prototype would still apply. */
29572 #ifdef __cplusplus
29573 extern "C"
29574 #endif
29575 char connect ();
29576 int
29577 main ()
29578 {
29579 return connect ();
29580 ;
29581 return 0;
29582 }
29583 _ACEOF
29584 rm -f conftest.$ac_objext conftest$ac_exeext
29585 if { (ac_try="$ac_link"
29586 case "(($ac_try" in
29587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29588 *) ac_try_echo=$ac_try;;
29589 esac
29590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29591 (eval "$ac_link") 2>conftest.er1
29592 ac_status=$?
29593 grep -v '^ *+' conftest.er1 >conftest.err
29594 rm -f conftest.er1
29595 cat conftest.err >&5
29596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29597 (exit $ac_status); } && {
29598 test -z "$ac_c_werror_flag" ||
29599 test ! -s conftest.err
29600 } && test -s conftest$ac_exeext &&
29601 $as_test_x conftest$ac_exeext; then
29602 ac_cv_lib_socket_connect=yes
29603 else
29604 echo "$as_me: failed program was:" >&5
29605 sed 's/^/| /' conftest.$ac_ext >&5
29606
29607 ac_cv_lib_socket_connect=no
29608 fi
29609
29610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29611 conftest$ac_exeext conftest.$ac_ext
29612 LIBS=$ac_check_lib_save_LIBS
29613 fi
29614 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29615 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29616 if test $ac_cv_lib_socket_connect = yes; then
29617 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29618 fi
29619
29620 fi
29621
29622 # Guillermo Gomez says -lposix is necessary on A/UX.
29623 { echo "$as_me:$LINENO: checking for remove" >&5
29624 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29625 if test "${ac_cv_func_remove+set}" = set; then
29626 echo $ECHO_N "(cached) $ECHO_C" >&6
29627 else
29628 cat >conftest.$ac_ext <<_ACEOF
29629 /* confdefs.h. */
29630 _ACEOF
29631 cat confdefs.h >>conftest.$ac_ext
29632 cat >>conftest.$ac_ext <<_ACEOF
29633 /* end confdefs.h. */
29634 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29636 #define remove innocuous_remove
29637
29638 /* System header to define __stub macros and hopefully few prototypes,
29639 which can conflict with char remove (); below.
29640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29641 <limits.h> exists even on freestanding compilers. */
29642
29643 #ifdef __STDC__
29644 # include <limits.h>
29645 #else
29646 # include <assert.h>
29647 #endif
29648
29649 #undef remove
29650
29651 /* Override any GCC internal prototype to avoid an error.
29652 Use char because int might match the return type of a GCC
29653 builtin and then its argument prototype would still apply. */
29654 #ifdef __cplusplus
29655 extern "C"
29656 #endif
29657 char remove ();
29658 /* The GNU C library defines this for functions which it implements
29659 to always fail with ENOSYS. Some functions are actually named
29660 something starting with __ and the normal name is an alias. */
29661 #if defined __stub_remove || defined __stub___remove
29662 choke me
29663 #endif
29664
29665 int
29666 main ()
29667 {
29668 return remove ();
29669 ;
29670 return 0;
29671 }
29672 _ACEOF
29673 rm -f conftest.$ac_objext conftest$ac_exeext
29674 if { (ac_try="$ac_link"
29675 case "(($ac_try" in
29676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29677 *) ac_try_echo=$ac_try;;
29678 esac
29679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29680 (eval "$ac_link") 2>conftest.er1
29681 ac_status=$?
29682 grep -v '^ *+' conftest.er1 >conftest.err
29683 rm -f conftest.er1
29684 cat conftest.err >&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); } && {
29687 test -z "$ac_c_werror_flag" ||
29688 test ! -s conftest.err
29689 } && test -s conftest$ac_exeext &&
29690 $as_test_x conftest$ac_exeext; then
29691 ac_cv_func_remove=yes
29692 else
29693 echo "$as_me: failed program was:" >&5
29694 sed 's/^/| /' conftest.$ac_ext >&5
29695
29696 ac_cv_func_remove=no
29697 fi
29698
29699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29700 conftest$ac_exeext conftest.$ac_ext
29701 fi
29702 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29703 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29704
29705 if test $ac_cv_func_remove = no; then
29706 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29707 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29708 if test "${ac_cv_lib_posix_remove+set}" = set; then
29709 echo $ECHO_N "(cached) $ECHO_C" >&6
29710 else
29711 ac_check_lib_save_LIBS=$LIBS
29712 LIBS="-lposix $LIBS"
29713 cat >conftest.$ac_ext <<_ACEOF
29714 /* confdefs.h. */
29715 _ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h. */
29719
29720 /* Override any GCC internal prototype to avoid an error.
29721 Use char because int might match the return type of a GCC
29722 builtin and then its argument prototype would still apply. */
29723 #ifdef __cplusplus
29724 extern "C"
29725 #endif
29726 char remove ();
29727 int
29728 main ()
29729 {
29730 return remove ();
29731 ;
29732 return 0;
29733 }
29734 _ACEOF
29735 rm -f conftest.$ac_objext conftest$ac_exeext
29736 if { (ac_try="$ac_link"
29737 case "(($ac_try" in
29738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29739 *) ac_try_echo=$ac_try;;
29740 esac
29741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29742 (eval "$ac_link") 2>conftest.er1
29743 ac_status=$?
29744 grep -v '^ *+' conftest.er1 >conftest.err
29745 rm -f conftest.er1
29746 cat conftest.err >&5
29747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748 (exit $ac_status); } && {
29749 test -z "$ac_c_werror_flag" ||
29750 test ! -s conftest.err
29751 } && test -s conftest$ac_exeext &&
29752 $as_test_x conftest$ac_exeext; then
29753 ac_cv_lib_posix_remove=yes
29754 else
29755 echo "$as_me: failed program was:" >&5
29756 sed 's/^/| /' conftest.$ac_ext >&5
29757
29758 ac_cv_lib_posix_remove=no
29759 fi
29760
29761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29762 conftest$ac_exeext conftest.$ac_ext
29763 LIBS=$ac_check_lib_save_LIBS
29764 fi
29765 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29766 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29767 if test $ac_cv_lib_posix_remove = yes; then
29768 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29769 fi
29770
29771 fi
29772
29773 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29774 { echo "$as_me:$LINENO: checking for shmat" >&5
29775 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29776 if test "${ac_cv_func_shmat+set}" = set; then
29777 echo $ECHO_N "(cached) $ECHO_C" >&6
29778 else
29779 cat >conftest.$ac_ext <<_ACEOF
29780 /* confdefs.h. */
29781 _ACEOF
29782 cat confdefs.h >>conftest.$ac_ext
29783 cat >>conftest.$ac_ext <<_ACEOF
29784 /* end confdefs.h. */
29785 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29787 #define shmat innocuous_shmat
29788
29789 /* System header to define __stub macros and hopefully few prototypes,
29790 which can conflict with char shmat (); below.
29791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29792 <limits.h> exists even on freestanding compilers. */
29793
29794 #ifdef __STDC__
29795 # include <limits.h>
29796 #else
29797 # include <assert.h>
29798 #endif
29799
29800 #undef shmat
29801
29802 /* Override any GCC internal prototype to avoid an error.
29803 Use char because int might match the return type of a GCC
29804 builtin and then its argument prototype would still apply. */
29805 #ifdef __cplusplus
29806 extern "C"
29807 #endif
29808 char shmat ();
29809 /* The GNU C library defines this for functions which it implements
29810 to always fail with ENOSYS. Some functions are actually named
29811 something starting with __ and the normal name is an alias. */
29812 #if defined __stub_shmat || defined __stub___shmat
29813 choke me
29814 #endif
29815
29816 int
29817 main ()
29818 {
29819 return shmat ();
29820 ;
29821 return 0;
29822 }
29823 _ACEOF
29824 rm -f conftest.$ac_objext conftest$ac_exeext
29825 if { (ac_try="$ac_link"
29826 case "(($ac_try" in
29827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29828 *) ac_try_echo=$ac_try;;
29829 esac
29830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29831 (eval "$ac_link") 2>conftest.er1
29832 ac_status=$?
29833 grep -v '^ *+' conftest.er1 >conftest.err
29834 rm -f conftest.er1
29835 cat conftest.err >&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); } && {
29838 test -z "$ac_c_werror_flag" ||
29839 test ! -s conftest.err
29840 } && test -s conftest$ac_exeext &&
29841 $as_test_x conftest$ac_exeext; then
29842 ac_cv_func_shmat=yes
29843 else
29844 echo "$as_me: failed program was:" >&5
29845 sed 's/^/| /' conftest.$ac_ext >&5
29846
29847 ac_cv_func_shmat=no
29848 fi
29849
29850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29851 conftest$ac_exeext conftest.$ac_ext
29852 fi
29853 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29854 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29855
29856 if test $ac_cv_func_shmat = no; then
29857 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29858 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29859 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29860 echo $ECHO_N "(cached) $ECHO_C" >&6
29861 else
29862 ac_check_lib_save_LIBS=$LIBS
29863 LIBS="-lipc $LIBS"
29864 cat >conftest.$ac_ext <<_ACEOF
29865 /* confdefs.h. */
29866 _ACEOF
29867 cat confdefs.h >>conftest.$ac_ext
29868 cat >>conftest.$ac_ext <<_ACEOF
29869 /* end confdefs.h. */
29870
29871 /* Override any GCC internal prototype to avoid an error.
29872 Use char because int might match the return type of a GCC
29873 builtin and then its argument prototype would still apply. */
29874 #ifdef __cplusplus
29875 extern "C"
29876 #endif
29877 char shmat ();
29878 int
29879 main ()
29880 {
29881 return shmat ();
29882 ;
29883 return 0;
29884 }
29885 _ACEOF
29886 rm -f conftest.$ac_objext conftest$ac_exeext
29887 if { (ac_try="$ac_link"
29888 case "(($ac_try" in
29889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29890 *) ac_try_echo=$ac_try;;
29891 esac
29892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29893 (eval "$ac_link") 2>conftest.er1
29894 ac_status=$?
29895 grep -v '^ *+' conftest.er1 >conftest.err
29896 rm -f conftest.er1
29897 cat conftest.err >&5
29898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29899 (exit $ac_status); } && {
29900 test -z "$ac_c_werror_flag" ||
29901 test ! -s conftest.err
29902 } && test -s conftest$ac_exeext &&
29903 $as_test_x conftest$ac_exeext; then
29904 ac_cv_lib_ipc_shmat=yes
29905 else
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29908
29909 ac_cv_lib_ipc_shmat=no
29910 fi
29911
29912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29913 conftest$ac_exeext conftest.$ac_ext
29914 LIBS=$ac_check_lib_save_LIBS
29915 fi
29916 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29917 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29918 if test $ac_cv_lib_ipc_shmat = yes; then
29919 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29920 fi
29921
29922 fi
29923 fi
29924
29925 # Check for libraries that X11R6 Xt/Xaw programs need.
29926 ac_save_LDFLAGS=$LDFLAGS
29927 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29928 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29929 # check for ICE first), but we must link in the order -lSM -lICE or
29930 # we get undefined symbols. So assume we have SM if we have ICE.
29931 # These have to be linked with before -lX11, unlike the other
29932 # libraries we check for below, so use a different variable.
29933 # John Interrante, Karl Berry
29934 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29935 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29936 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29937 echo $ECHO_N "(cached) $ECHO_C" >&6
29938 else
29939 ac_check_lib_save_LIBS=$LIBS
29940 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29941 cat >conftest.$ac_ext <<_ACEOF
29942 /* confdefs.h. */
29943 _ACEOF
29944 cat confdefs.h >>conftest.$ac_ext
29945 cat >>conftest.$ac_ext <<_ACEOF
29946 /* end confdefs.h. */
29947
29948 /* Override any GCC internal prototype to avoid an error.
29949 Use char because int might match the return type of a GCC
29950 builtin and then its argument prototype would still apply. */
29951 #ifdef __cplusplus
29952 extern "C"
29953 #endif
29954 char IceConnectionNumber ();
29955 int
29956 main ()
29957 {
29958 return IceConnectionNumber ();
29959 ;
29960 return 0;
29961 }
29962 _ACEOF
29963 rm -f conftest.$ac_objext conftest$ac_exeext
29964 if { (ac_try="$ac_link"
29965 case "(($ac_try" in
29966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29967 *) ac_try_echo=$ac_try;;
29968 esac
29969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29970 (eval "$ac_link") 2>conftest.er1
29971 ac_status=$?
29972 grep -v '^ *+' conftest.er1 >conftest.err
29973 rm -f conftest.er1
29974 cat conftest.err >&5
29975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29976 (exit $ac_status); } && {
29977 test -z "$ac_c_werror_flag" ||
29978 test ! -s conftest.err
29979 } && test -s conftest$ac_exeext &&
29980 $as_test_x conftest$ac_exeext; then
29981 ac_cv_lib_ICE_IceConnectionNumber=yes
29982 else
29983 echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.$ac_ext >&5
29985
29986 ac_cv_lib_ICE_IceConnectionNumber=no
29987 fi
29988
29989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29990 conftest$ac_exeext conftest.$ac_ext
29991 LIBS=$ac_check_lib_save_LIBS
29992 fi
29993 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29994 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29995 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29996 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
29997 fi
29998
29999 LDFLAGS=$ac_save_LDFLAGS
30000
30001 fi
30002
30003
30004 if test "$no_x" = "yes"; then
30005 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30006 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30007 { (exit 1); exit 1; }; }
30008 fi
30009
30010 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30011 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30012 AFMINSTALL=afminstall
30013 COMPILED_X_PROGRAM=0
30014
30015 fi
30016
30017 if test "$wxUSE_X11" = 1; then
30018 if test "$wxUSE_NANOX" = "yes"; then
30019 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30020 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30021 if test "x$MICROWIN" = x ; then
30022 { echo "$as_me:$LINENO: result: not found" >&5
30023 echo "${ECHO_T}not found" >&6; }
30024 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30025 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30026 { (exit 1); exit 1; }; }
30027 else
30028 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30029 echo "${ECHO_T}$MICROWIN" >&6; }
30030 cat >>confdefs.h <<\_ACEOF
30031 #define wxUSE_NANOX 1
30032 _ACEOF
30033
30034 fi
30035 fi
30036
30037 if test "$wxUSE_UNICODE" = "yes"; then
30038
30039
30040 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30041 if test -n "$ac_tool_prefix"; then
30042 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30043 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30046 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30047 echo $ECHO_N "(cached) $ECHO_C" >&6
30048 else
30049 case $PKG_CONFIG in
30050 [\\/]* | ?:[\\/]*)
30051 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30052 ;;
30053 *)
30054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30055 for as_dir in $PATH
30056 do
30057 IFS=$as_save_IFS
30058 test -z "$as_dir" && as_dir=.
30059 for ac_exec_ext in '' $ac_executable_extensions; do
30060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30061 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30063 break 2
30064 fi
30065 done
30066 done
30067 IFS=$as_save_IFS
30068
30069 ;;
30070 esac
30071 fi
30072 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30073 if test -n "$PKG_CONFIG"; then
30074 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30075 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30076 else
30077 { echo "$as_me:$LINENO: result: no" >&5
30078 echo "${ECHO_T}no" >&6; }
30079 fi
30080
30081
30082 fi
30083 if test -z "$ac_cv_path_PKG_CONFIG"; then
30084 ac_pt_PKG_CONFIG=$PKG_CONFIG
30085 # Extract the first word of "pkg-config", so it can be a program name with args.
30086 set dummy pkg-config; ac_word=$2
30087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30089 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30090 echo $ECHO_N "(cached) $ECHO_C" >&6
30091 else
30092 case $ac_pt_PKG_CONFIG in
30093 [\\/]* | ?:[\\/]*)
30094 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30095 ;;
30096 *)
30097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30098 for as_dir in $PATH
30099 do
30100 IFS=$as_save_IFS
30101 test -z "$as_dir" && as_dir=.
30102 for ac_exec_ext in '' $ac_executable_extensions; do
30103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30104 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30106 break 2
30107 fi
30108 done
30109 done
30110 IFS=$as_save_IFS
30111
30112 ;;
30113 esac
30114 fi
30115 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30116 if test -n "$ac_pt_PKG_CONFIG"; then
30117 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30118 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30119 else
30120 { echo "$as_me:$LINENO: result: no" >&5
30121 echo "${ECHO_T}no" >&6; }
30122 fi
30123
30124 if test "x$ac_pt_PKG_CONFIG" = x; then
30125 PKG_CONFIG=""
30126 else
30127 case $cross_compiling:$ac_tool_warned in
30128 yes:)
30129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30130 whose name does not start with the host triplet. If you think this
30131 configuration is useful to you, please write to autoconf@gnu.org." >&5
30132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30133 whose name does not start with the host triplet. If you think this
30134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30135 ac_tool_warned=yes ;;
30136 esac
30137 PKG_CONFIG=$ac_pt_PKG_CONFIG
30138 fi
30139 else
30140 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30141 fi
30142
30143 fi
30144 if test -n "$PKG_CONFIG"; then
30145 _pkg_min_version=0.9.0
30146 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30147 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30148 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30149 { echo "$as_me:$LINENO: result: yes" >&5
30150 echo "${ECHO_T}yes" >&6; }
30151 else
30152 { echo "$as_me:$LINENO: result: no" >&5
30153 echo "${ECHO_T}no" >&6; }
30154 PKG_CONFIG=""
30155 fi
30156
30157 fi
30158
30159
30160 pkg_failed=no
30161 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30162 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30163
30164 if test -n "$PKG_CONFIG"; then
30165 if test -n "$PANGOX_CFLAGS"; then
30166 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30167 else
30168 if test -n "$PKG_CONFIG" && \
30169 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30170 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; then
30174 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30175 else
30176 pkg_failed=yes
30177 fi
30178 fi
30179 else
30180 pkg_failed=untried
30181 fi
30182 if test -n "$PKG_CONFIG"; then
30183 if test -n "$PANGOX_LIBS"; then
30184 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30185 else
30186 if test -n "$PKG_CONFIG" && \
30187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30188 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30189 ac_status=$?
30190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30191 (exit $ac_status); }; then
30192 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30193 else
30194 pkg_failed=yes
30195 fi
30196 fi
30197 else
30198 pkg_failed=untried
30199 fi
30200
30201
30202
30203 if test $pkg_failed = yes; then
30204
30205 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30206 _pkg_short_errors_supported=yes
30207 else
30208 _pkg_short_errors_supported=no
30209 fi
30210 if test $_pkg_short_errors_supported = yes; then
30211 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30212 else
30213 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30214 fi
30215 # Put the nasty error message in config.log where it belongs
30216 echo "$PANGOX_PKG_ERRORS" >&5
30217
30218
30219 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30220 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30221 { (exit 1); exit 1; }; }
30222
30223
30224 elif test $pkg_failed = untried; then
30225
30226 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30227 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30228 { (exit 1); exit 1; }; }
30229
30230
30231 else
30232 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30233 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30234 { echo "$as_me:$LINENO: result: yes" >&5
30235 echo "${ECHO_T}yes" >&6; }
30236
30237 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30238 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30239 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30240
30241 fi
30242
30243 pkg_failed=no
30244 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30245 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30246
30247 if test -n "$PKG_CONFIG"; then
30248 if test -n "$PANGOFT2_CFLAGS"; then
30249 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30250 else
30251 if test -n "$PKG_CONFIG" && \
30252 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30253 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30254 ac_status=$?
30255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30256 (exit $ac_status); }; then
30257 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30258 else
30259 pkg_failed=yes
30260 fi
30261 fi
30262 else
30263 pkg_failed=untried
30264 fi
30265 if test -n "$PKG_CONFIG"; then
30266 if test -n "$PANGOFT2_LIBS"; then
30267 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30268 else
30269 if test -n "$PKG_CONFIG" && \
30270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30271 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30272 ac_status=$?
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); }; then
30275 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30276 else
30277 pkg_failed=yes
30278 fi
30279 fi
30280 else
30281 pkg_failed=untried
30282 fi
30283
30284
30285
30286 if test $pkg_failed = yes; then
30287
30288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30289 _pkg_short_errors_supported=yes
30290 else
30291 _pkg_short_errors_supported=no
30292 fi
30293 if test $_pkg_short_errors_supported = yes; then
30294 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30295 else
30296 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30297 fi
30298 # Put the nasty error message in config.log where it belongs
30299 echo "$PANGOFT2_PKG_ERRORS" >&5
30300
30301
30302 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30303 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30304 wxUSE_PRINTING_ARCHITECTURE="no"
30305
30306
30307 elif test $pkg_failed = untried; then
30308
30309 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30310 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30311 wxUSE_PRINTING_ARCHITECTURE="no"
30312
30313
30314 else
30315 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30316 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30317 { echo "$as_me:$LINENO: result: yes" >&5
30318 echo "${ECHO_T}yes" >&6; }
30319
30320 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30321 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30322 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30323
30324 fi
30325
30326 pkg_failed=no
30327 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30328 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30329
30330 if test -n "$PKG_CONFIG"; then
30331 if test -n "$PANGOXFT_CFLAGS"; then
30332 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30333 else
30334 if test -n "$PKG_CONFIG" && \
30335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30336 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30337 ac_status=$?
30338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30339 (exit $ac_status); }; then
30340 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30341 else
30342 pkg_failed=yes
30343 fi
30344 fi
30345 else
30346 pkg_failed=untried
30347 fi
30348 if test -n "$PKG_CONFIG"; then
30349 if test -n "$PANGOXFT_LIBS"; then
30350 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30351 else
30352 if test -n "$PKG_CONFIG" && \
30353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30354 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30355 ac_status=$?
30356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30357 (exit $ac_status); }; then
30358 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30359 else
30360 pkg_failed=yes
30361 fi
30362 fi
30363 else
30364 pkg_failed=untried
30365 fi
30366
30367
30368
30369 if test $pkg_failed = yes; then
30370
30371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30372 _pkg_short_errors_supported=yes
30373 else
30374 _pkg_short_errors_supported=no
30375 fi
30376 if test $_pkg_short_errors_supported = yes; then
30377 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30378 else
30379 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30380 fi
30381 # Put the nasty error message in config.log where it belongs
30382 echo "$PANGOXFT_PKG_ERRORS" >&5
30383
30384
30385 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30386 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30387
30388
30389 elif test $pkg_failed = untried; then
30390
30391 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30392 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30393
30394
30395 else
30396 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30397 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30398 { echo "$as_me:$LINENO: result: yes" >&5
30399 echo "${ECHO_T}yes" >&6; }
30400
30401 cat >>confdefs.h <<\_ACEOF
30402 #define HAVE_PANGO_XFT 1
30403 _ACEOF
30404
30405 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30406 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30407 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30408
30409 fi
30410 save_LIBS="$LIBS"
30411 LIBS="$LIBS $PANGOX_LIBS"
30412
30413 for ac_func in pango_font_family_is_monospace
30414 do
30415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30416 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30418 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30419 echo $ECHO_N "(cached) $ECHO_C" >&6
30420 else
30421 cat >conftest.$ac_ext <<_ACEOF
30422 /* confdefs.h. */
30423 _ACEOF
30424 cat confdefs.h >>conftest.$ac_ext
30425 cat >>conftest.$ac_ext <<_ACEOF
30426 /* end confdefs.h. */
30427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30429 #define $ac_func innocuous_$ac_func
30430
30431 /* System header to define __stub macros and hopefully few prototypes,
30432 which can conflict with char $ac_func (); below.
30433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30434 <limits.h> exists even on freestanding compilers. */
30435
30436 #ifdef __STDC__
30437 # include <limits.h>
30438 #else
30439 # include <assert.h>
30440 #endif
30441
30442 #undef $ac_func
30443
30444 /* Override any GCC internal prototype to avoid an error.
30445 Use char because int might match the return type of a GCC
30446 builtin and then its argument prototype would still apply. */
30447 #ifdef __cplusplus
30448 extern "C"
30449 #endif
30450 char $ac_func ();
30451 /* The GNU C library defines this for functions which it implements
30452 to always fail with ENOSYS. Some functions are actually named
30453 something starting with __ and the normal name is an alias. */
30454 #if defined __stub_$ac_func || defined __stub___$ac_func
30455 choke me
30456 #endif
30457
30458 int
30459 main ()
30460 {
30461 return $ac_func ();
30462 ;
30463 return 0;
30464 }
30465 _ACEOF
30466 rm -f conftest.$ac_objext conftest$ac_exeext
30467 if { (ac_try="$ac_link"
30468 case "(($ac_try" in
30469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30470 *) ac_try_echo=$ac_try;;
30471 esac
30472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30473 (eval "$ac_link") 2>conftest.er1
30474 ac_status=$?
30475 grep -v '^ *+' conftest.er1 >conftest.err
30476 rm -f conftest.er1
30477 cat conftest.err >&5
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); } && {
30480 test -z "$ac_c_werror_flag" ||
30481 test ! -s conftest.err
30482 } && test -s conftest$ac_exeext &&
30483 $as_test_x conftest$ac_exeext; then
30484 eval "$as_ac_var=yes"
30485 else
30486 echo "$as_me: failed program was:" >&5
30487 sed 's/^/| /' conftest.$ac_ext >&5
30488
30489 eval "$as_ac_var=no"
30490 fi
30491
30492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30493 conftest$ac_exeext conftest.$ac_ext
30494 fi
30495 ac_res=`eval echo '${'$as_ac_var'}'`
30496 { echo "$as_me:$LINENO: result: $ac_res" >&5
30497 echo "${ECHO_T}$ac_res" >&6; }
30498 if test `eval echo '${'$as_ac_var'}'` = yes; then
30499 cat >>confdefs.h <<_ACEOF
30500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30501 _ACEOF
30502
30503 fi
30504 done
30505
30506 LIBS="$save_LIBS"
30507 fi
30508
30509 wxUSE_UNIVERSAL="yes"
30510
30511 if test "$wxUSE_NANOX" = "yes"; then
30512 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30513 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"
30514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30515 else
30516 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30517 fi
30518
30519 TOOLKIT=X11
30520 GUIDIST=X11_DIST
30521 fi
30522
30523 if test "$wxUSE_MOTIF" = 1; then
30524 if test "$wxUSE_UNICODE" = "yes"; then
30525 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30526 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30527 { (exit 1); exit 1; }; }
30528 fi
30529
30530 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30531 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30532
30533 ac_find_includes=
30534 for ac_dir in $SEARCH_INCLUDE /usr/include;
30535 do
30536 if test -f "$ac_dir/Xm/Xm.h"; then
30537 ac_find_includes=$ac_dir
30538 break
30539 fi
30540 done
30541
30542 if test "$ac_find_includes" != "" ; then
30543 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30544 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30545
30546 if test "x$ac_find_includes" = "x/usr/include"; then
30547 ac_path_to_include=""
30548 else
30549 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30550 result=$?
30551 if test $result = 0; then
30552 ac_path_to_include=""
30553 else
30554 ac_path_to_include=" -I$ac_find_includes"
30555 fi
30556 fi
30557
30558 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30559 else
30560 save_CFLAGS=$CFLAGS
30561 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30562
30563 cat >conftest.$ac_ext <<_ACEOF
30564 /* confdefs.h. */
30565 _ACEOF
30566 cat confdefs.h >>conftest.$ac_ext
30567 cat >>conftest.$ac_ext <<_ACEOF
30568 /* end confdefs.h. */
30569
30570 #include <Xm/Xm.h>
30571
30572 int
30573 main ()
30574 {
30575
30576 int version;
30577 version = xmUseVersion;
30578
30579 ;
30580 return 0;
30581 }
30582 _ACEOF
30583 rm -f conftest.$ac_objext
30584 if { (ac_try="$ac_compile"
30585 case "(($ac_try" in
30586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30587 *) ac_try_echo=$ac_try;;
30588 esac
30589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30590 (eval "$ac_compile") 2>conftest.er1
30591 ac_status=$?
30592 grep -v '^ *+' conftest.er1 >conftest.err
30593 rm -f conftest.er1
30594 cat conftest.err >&5
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); } && {
30597 test -z "$ac_c_werror_flag" ||
30598 test ! -s conftest.err
30599 } && test -s conftest.$ac_objext; then
30600
30601 { echo "$as_me:$LINENO: result: found in default search path" >&5
30602 echo "${ECHO_T}found in default search path" >&6; }
30603 COMPILED_X_PROGRAM=1
30604
30605 else
30606 echo "$as_me: failed program was:" >&5
30607 sed 's/^/| /' conftest.$ac_ext >&5
30608
30609
30610 { echo "$as_me:$LINENO: result: no" >&5
30611 echo "${ECHO_T}no" >&6; }
30612 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30613 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30614 { (exit 1); exit 1; }; }
30615
30616
30617 fi
30618
30619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30620
30621 CFLAGS=$save_CFLAGS
30622 fi
30623
30624
30625 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30626 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30627
30628 ac_find_libraries=
30629 for ac_dir in $SEARCH_LIB;
30630 do
30631 for ac_extension in a so sl dylib dll.a; do
30632 if test -f "$ac_dir/libXm.$ac_extension"; then
30633 ac_find_libraries=$ac_dir
30634 break 2
30635 fi
30636 done
30637 done
30638
30639
30640 if test "x$ac_find_libraries" != "x" ; then
30641 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30642 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30643
30644
30645 if test "$ac_find_libraries" = "default location"; then
30646 ac_path_to_link=""
30647 else
30648 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30649 result=$?
30650 if test $result = 0; then
30651 ac_path_to_link=""
30652 else
30653 ac_path_to_link=" -L$ac_find_libraries"
30654 fi
30655 fi
30656
30657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30658 else
30659 save_CFLAGS=$CFLAGS
30660 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30661 save_LIBS="$LIBS"
30662 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30663
30664 cat >conftest.$ac_ext <<_ACEOF
30665 /* confdefs.h. */
30666 _ACEOF
30667 cat confdefs.h >>conftest.$ac_ext
30668 cat >>conftest.$ac_ext <<_ACEOF
30669 /* end confdefs.h. */
30670
30671 #include <Xm/Xm.h>
30672
30673 int
30674 main ()
30675 {
30676
30677 int version;
30678 version = xmUseVersion;
30679
30680 ;
30681 return 0;
30682 }
30683 _ACEOF
30684 rm -f conftest.$ac_objext conftest$ac_exeext
30685 if { (ac_try="$ac_link"
30686 case "(($ac_try" in
30687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30688 *) ac_try_echo=$ac_try;;
30689 esac
30690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30691 (eval "$ac_link") 2>conftest.er1
30692 ac_status=$?
30693 grep -v '^ *+' conftest.er1 >conftest.err
30694 rm -f conftest.er1
30695 cat conftest.err >&5
30696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30697 (exit $ac_status); } && {
30698 test -z "$ac_c_werror_flag" ||
30699 test ! -s conftest.err
30700 } && test -s conftest$ac_exeext &&
30701 $as_test_x conftest$ac_exeext; then
30702
30703 { echo "$as_me:$LINENO: result: found in default search path" >&5
30704 echo "${ECHO_T}found in default search path" >&6; }
30705 COMPILED_X_PROGRAM=1
30706
30707 else
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30710
30711
30712 { echo "$as_me:$LINENO: result: no" >&5
30713 echo "${ECHO_T}no" >&6; }
30714 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30715 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30716 { (exit 1); exit 1; }; }
30717
30718
30719 fi
30720
30721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30722 conftest$ac_exeext conftest.$ac_ext
30723
30724 CFLAGS=$save_CFLAGS
30725 LIBS="$save_LIBS"
30726 fi
30727
30728 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30729 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30730 libp_link=""
30731 libsm_ice_link=""
30732 libs_found=0
30733 for libp in "" " -lXp"; do
30734 if test "$libs_found" = "0"; then
30735 for libsm_ice in "" " -lSM -lICE"; do
30736 if test "$libs_found" = "0"; then
30737 save_LIBS="$LIBS"
30738 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30739 save_CFLAGS=$CFLAGS
30740 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30741
30742 cat >conftest.$ac_ext <<_ACEOF
30743 /* confdefs.h. */
30744 _ACEOF
30745 cat confdefs.h >>conftest.$ac_ext
30746 cat >>conftest.$ac_ext <<_ACEOF
30747 /* end confdefs.h. */
30748
30749 #include <Xm/Xm.h>
30750 #include <Xm/List.h>
30751
30752 int
30753 main ()
30754 {
30755
30756 XmString string = NULL;
30757 Widget w = NULL;
30758 int position = 0;
30759 XmListAddItem(w, string, position);
30760
30761 ;
30762 return 0;
30763 }
30764 _ACEOF
30765 rm -f conftest.$ac_objext conftest$ac_exeext
30766 if { (ac_try="$ac_link"
30767 case "(($ac_try" in
30768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30769 *) ac_try_echo=$ac_try;;
30770 esac
30771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30772 (eval "$ac_link") 2>conftest.er1
30773 ac_status=$?
30774 grep -v '^ *+' conftest.er1 >conftest.err
30775 rm -f conftest.er1
30776 cat conftest.err >&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } && {
30779 test -z "$ac_c_werror_flag" ||
30780 test ! -s conftest.err
30781 } && test -s conftest$ac_exeext &&
30782 $as_test_x conftest$ac_exeext; then
30783
30784 libp_link="$libp"
30785 libsm_ice_link="$libsm_ice"
30786 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30787 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30788 libs_found=1
30789
30790 else
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.$ac_ext >&5
30793
30794
30795
30796 fi
30797
30798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30799 conftest$ac_exeext conftest.$ac_ext
30800
30801 LIBS="$save_LIBS"
30802 CFLAGS=$save_CFLAGS
30803 fi
30804 done
30805 fi
30806 done
30807
30808 if test "$libs_found" = "0"; then
30809 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30810 echo "${ECHO_T}can't find the right libraries" >&6; }
30811 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30812 echo "$as_me: error: can't link a simple motif program" >&2;}
30813 { (exit 1); exit 1; }; }
30814 fi
30815
30816 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30817 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30818 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30819 echo $ECHO_N "(cached) $ECHO_C" >&6
30820 else
30821 ac_check_lib_save_LIBS=$LIBS
30822 LIBS="-lSgm $LIBS"
30823 cat >conftest.$ac_ext <<_ACEOF
30824 /* confdefs.h. */
30825 _ACEOF
30826 cat confdefs.h >>conftest.$ac_ext
30827 cat >>conftest.$ac_ext <<_ACEOF
30828 /* end confdefs.h. */
30829
30830 /* Override any GCC internal prototype to avoid an error.
30831 Use char because int might match the return type of a GCC
30832 builtin and then its argument prototype would still apply. */
30833 #ifdef __cplusplus
30834 extern "C"
30835 #endif
30836 char SgCreateList ();
30837 int
30838 main ()
30839 {
30840 return SgCreateList ();
30841 ;
30842 return 0;
30843 }
30844 _ACEOF
30845 rm -f conftest.$ac_objext conftest$ac_exeext
30846 if { (ac_try="$ac_link"
30847 case "(($ac_try" in
30848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30849 *) ac_try_echo=$ac_try;;
30850 esac
30851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30852 (eval "$ac_link") 2>conftest.er1
30853 ac_status=$?
30854 grep -v '^ *+' conftest.er1 >conftest.err
30855 rm -f conftest.er1
30856 cat conftest.err >&5
30857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30858 (exit $ac_status); } && {
30859 test -z "$ac_c_werror_flag" ||
30860 test ! -s conftest.err
30861 } && test -s conftest$ac_exeext &&
30862 $as_test_x conftest$ac_exeext; then
30863 ac_cv_lib_Sgm_SgCreateList=yes
30864 else
30865 echo "$as_me: failed program was:" >&5
30866 sed 's/^/| /' conftest.$ac_ext >&5
30867
30868 ac_cv_lib_Sgm_SgCreateList=no
30869 fi
30870
30871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30872 conftest$ac_exeext conftest.$ac_ext
30873 LIBS=$ac_check_lib_save_LIBS
30874 fi
30875 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30876 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30877 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30878 libsgm_link=" -lSgm"
30879 fi
30880
30881
30882 save_CFLAGS=$CFLAGS
30883 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30884
30885 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30886 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30887 if test "${wx_cv_lib_motif2+set}" = set; then
30888 echo $ECHO_N "(cached) $ECHO_C" >&6
30889 else
30890 cat >conftest.$ac_ext <<_ACEOF
30891 /* confdefs.h. */
30892 _ACEOF
30893 cat confdefs.h >>conftest.$ac_ext
30894 cat >>conftest.$ac_ext <<_ACEOF
30895 /* end confdefs.h. */
30896
30897 #include <Xm/Xm.h>
30898
30899 int
30900 main ()
30901 {
30902
30903 #if XmVersion < 2000
30904 Not Motif 2
30905 #endif
30906
30907 ;
30908 return 0;
30909 }
30910 _ACEOF
30911 rm -f conftest.$ac_objext
30912 if { (ac_try="$ac_compile"
30913 case "(($ac_try" in
30914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30915 *) ac_try_echo=$ac_try;;
30916 esac
30917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30918 (eval "$ac_compile") 2>conftest.er1
30919 ac_status=$?
30920 grep -v '^ *+' conftest.er1 >conftest.err
30921 rm -f conftest.er1
30922 cat conftest.err >&5
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); } && {
30925 test -z "$ac_c_werror_flag" ||
30926 test ! -s conftest.err
30927 } && test -s conftest.$ac_objext; then
30928 wx_cv_lib_motif2="yes"
30929 else
30930 echo "$as_me: failed program was:" >&5
30931 sed 's/^/| /' conftest.$ac_ext >&5
30932
30933 wx_cv_lib_motif2="no"
30934 fi
30935
30936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30937 fi
30938 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30939 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30940 if test "$wx_cv_lib_motif2" = "yes"; then
30941 cat >>confdefs.h <<\_ACEOF
30942 #define __WXMOTIF20__ 1
30943 _ACEOF
30944
30945 else
30946 cat >>confdefs.h <<\_ACEOF
30947 #define __WXMOTIF20__ 0
30948 _ACEOF
30949
30950 fi
30951
30952 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30953 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30954 if test "${wx_cv_lib_lesstif+set}" = set; then
30955 echo $ECHO_N "(cached) $ECHO_C" >&6
30956 else
30957 cat >conftest.$ac_ext <<_ACEOF
30958 /* confdefs.h. */
30959 _ACEOF
30960 cat confdefs.h >>conftest.$ac_ext
30961 cat >>conftest.$ac_ext <<_ACEOF
30962 /* end confdefs.h. */
30963
30964 #include <Xm/Xm.h>
30965
30966 int
30967 main ()
30968 {
30969
30970 #if !defined(LesstifVersion) || LesstifVersion <= 0
30971 Not Lesstif
30972 #endif
30973
30974 ;
30975 return 0;
30976 }
30977 _ACEOF
30978 rm -f conftest.$ac_objext
30979 if { (ac_try="$ac_compile"
30980 case "(($ac_try" in
30981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30982 *) ac_try_echo=$ac_try;;
30983 esac
30984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30985 (eval "$ac_compile") 2>conftest.er1
30986 ac_status=$?
30987 grep -v '^ *+' conftest.er1 >conftest.err
30988 rm -f conftest.er1
30989 cat conftest.err >&5
30990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991 (exit $ac_status); } && {
30992 test -z "$ac_c_werror_flag" ||
30993 test ! -s conftest.err
30994 } && test -s conftest.$ac_objext; then
30995 wx_cv_lib_lesstif="yes"
30996 else
30997 echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
30999
31000 wx_cv_lib_lesstif="no"
31001 fi
31002
31003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31004
31005 fi
31006 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31007 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31008 if test "$wx_cv_lib_lesstif" = "yes"; then
31009 cat >>confdefs.h <<\_ACEOF
31010 #define __WXLESSTIF__ 1
31011 _ACEOF
31012
31013 else
31014 cat >>confdefs.h <<\_ACEOF
31015 #define __WXLESSTIF__ 0
31016 _ACEOF
31017
31018 fi
31019
31020 CFLAGS=$save_CFLAGS
31021
31022 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31023 TOOLKIT=MOTIF
31024 GUIDIST=MOTIF_DIST
31025 fi
31026
31027 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31028 if test "$wxUSE_LIBXPM" = "sys"; then
31029 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31030 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31031
31032 ac_find_libraries=
31033 for ac_dir in $SEARCH_LIB;
31034 do
31035 for ac_extension in a so sl dylib dll.a; do
31036 if test -f "$ac_dir/libXpm.$ac_extension"; then
31037 ac_find_libraries=$ac_dir
31038 break 2
31039 fi
31040 done
31041 done
31042
31043 if test "$ac_find_libraries" != "" ; then
31044
31045 if test "$ac_find_libraries" = "default location"; then
31046 ac_path_to_link=""
31047 else
31048 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31049 result=$?
31050 if test $result = 0; then
31051 ac_path_to_link=""
31052 else
31053 ac_path_to_link=" -L$ac_find_libraries"
31054 fi
31055 fi
31056
31057 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31058 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31059 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31060
31061 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31062 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31063 if test "${wx_cv_x11_xpm_h+set}" = set; then
31064 echo $ECHO_N "(cached) $ECHO_C" >&6
31065 else
31066
31067 save_CFLAGS=$CFLAGS
31068 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31069
31070 cat >conftest.$ac_ext <<_ACEOF
31071 /* confdefs.h. */
31072 _ACEOF
31073 cat confdefs.h >>conftest.$ac_ext
31074 cat >>conftest.$ac_ext <<_ACEOF
31075 /* end confdefs.h. */
31076
31077 #include <X11/xpm.h>
31078
31079 int
31080 main ()
31081 {
31082
31083 int version;
31084 version = XpmLibraryVersion();
31085
31086 ;
31087 return 0;
31088 }
31089 _ACEOF
31090 rm -f conftest.$ac_objext
31091 if { (ac_try="$ac_compile"
31092 case "(($ac_try" in
31093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31094 *) ac_try_echo=$ac_try;;
31095 esac
31096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31097 (eval "$ac_compile") 2>conftest.er1
31098 ac_status=$?
31099 grep -v '^ *+' conftest.er1 >conftest.err
31100 rm -f conftest.er1
31101 cat conftest.err >&5
31102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31103 (exit $ac_status); } && {
31104 test -z "$ac_c_werror_flag" ||
31105 test ! -s conftest.err
31106 } && test -s conftest.$ac_objext; then
31107 wx_cv_x11_xpm_h=yes
31108 else
31109 echo "$as_me: failed program was:" >&5
31110 sed 's/^/| /' conftest.$ac_ext >&5
31111
31112 wx_cv_x11_xpm_h=no
31113
31114 fi
31115
31116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31117
31118 CFLAGS=$save_CFLAGS
31119
31120
31121 fi
31122 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31123 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31124
31125 if test $wx_cv_x11_xpm_h = "yes"; then
31126 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31127 cat >>confdefs.h <<\_ACEOF
31128 #define wxHAVE_LIB_XPM 1
31129 _ACEOF
31130
31131 else
31132 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31133 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31134 fi
31135 fi
31136
31137 fi
31138
31139 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31140 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31141 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31142 echo $ECHO_N "(cached) $ECHO_C" >&6
31143 else
31144 ac_check_lib_save_LIBS=$LIBS
31145 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31146 cat >conftest.$ac_ext <<_ACEOF
31147 /* confdefs.h. */
31148 _ACEOF
31149 cat confdefs.h >>conftest.$ac_ext
31150 cat >>conftest.$ac_ext <<_ACEOF
31151 /* end confdefs.h. */
31152
31153 /* Override any GCC internal prototype to avoid an error.
31154 Use char because int might match the return type of a GCC
31155 builtin and then its argument prototype would still apply. */
31156 #ifdef __cplusplus
31157 extern "C"
31158 #endif
31159 char XShapeQueryExtension ();
31160 int
31161 main ()
31162 {
31163 return XShapeQueryExtension ();
31164 ;
31165 return 0;
31166 }
31167 _ACEOF
31168 rm -f conftest.$ac_objext conftest$ac_exeext
31169 if { (ac_try="$ac_link"
31170 case "(($ac_try" in
31171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31172 *) ac_try_echo=$ac_try;;
31173 esac
31174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31175 (eval "$ac_link") 2>conftest.er1
31176 ac_status=$?
31177 grep -v '^ *+' conftest.er1 >conftest.err
31178 rm -f conftest.er1
31179 cat conftest.err >&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } && {
31182 test -z "$ac_c_werror_flag" ||
31183 test ! -s conftest.err
31184 } && test -s conftest$ac_exeext &&
31185 $as_test_x conftest$ac_exeext; then
31186 ac_cv_lib_Xext_XShapeQueryExtension=yes
31187 else
31188 echo "$as_me: failed program was:" >&5
31189 sed 's/^/| /' conftest.$ac_ext >&5
31190
31191 ac_cv_lib_Xext_XShapeQueryExtension=no
31192 fi
31193
31194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31195 conftest$ac_exeext conftest.$ac_ext
31196 LIBS=$ac_check_lib_save_LIBS
31197 fi
31198 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31199 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31200 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31201
31202 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31203 wxHAVE_XEXT_LIB=1
31204
31205 fi
31206
31207
31208 if test "$wxHAVE_XEXT_LIB" = 1; then
31209 save_CFLAGS="$CFLAGS"
31210 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31211
31212 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31213 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31214 cat >conftest.$ac_ext <<_ACEOF
31215 /* confdefs.h. */
31216 _ACEOF
31217 cat confdefs.h >>conftest.$ac_ext
31218 cat >>conftest.$ac_ext <<_ACEOF
31219 /* end confdefs.h. */
31220
31221 #include <X11/Xlib.h>
31222 #include <X11/extensions/shape.h>
31223
31224 int
31225 main ()
31226 {
31227
31228 int dummy1, dummy2;
31229 XShapeQueryExtension((Display*)NULL,
31230 (int*)NULL, (int*)NULL);
31231
31232 ;
31233 return 0;
31234 }
31235 _ACEOF
31236 rm -f conftest.$ac_objext
31237 if { (ac_try="$ac_compile"
31238 case "(($ac_try" in
31239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31240 *) ac_try_echo=$ac_try;;
31241 esac
31242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31243 (eval "$ac_compile") 2>conftest.er1
31244 ac_status=$?
31245 grep -v '^ *+' conftest.er1 >conftest.err
31246 rm -f conftest.er1
31247 cat conftest.err >&5
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); } && {
31250 test -z "$ac_c_werror_flag" ||
31251 test ! -s conftest.err
31252 } && test -s conftest.$ac_objext; then
31253
31254 cat >>confdefs.h <<\_ACEOF
31255 #define HAVE_XSHAPE 1
31256 _ACEOF
31257
31258 { echo "$as_me:$LINENO: result: found" >&5
31259 echo "${ECHO_T}found" >&6; }
31260
31261 else
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31264
31265
31266 { echo "$as_me:$LINENO: result: not found" >&5
31267 echo "${ECHO_T}not found" >&6; }
31268
31269 fi
31270
31271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31272 CFLAGS="$save_CFLAGS"
31273
31274 fi
31275 fi
31276
31277 if test "$wxUSE_MAC" = 1; then
31278 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31279 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31280 if test "$GCC" = yes; then
31281 { echo "$as_me:$LINENO: result: gcc" >&5
31282 echo "${ECHO_T}gcc" >&6; }
31283 CPPFLAGS_PASCAL="-fpascal-strings"
31284 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31285 { echo "$as_me:$LINENO: result: xlc" >&5
31286 echo "${ECHO_T}xlc" >&6; }
31287 CPPFLAGS_PASCAL="-qmacpstr"
31288 else
31289 { echo "$as_me:$LINENO: result: none" >&5
31290 echo "${ECHO_T}none" >&6; }
31291 fi
31292
31293 if test "x$wxUSE_UNIX" = "xyes"; then
31294 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31295 else
31296 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31297 fi
31298
31299 TOOLKIT=MAC
31300 GUIDIST=MACX_DIST
31301 WXBASEPORT="_carbon"
31302 fi
31303
31304 if test "$wxUSE_COCOA" = 1; then
31305 TOOLKIT=COCOA
31306 GUIDIST=COCOA_DIST
31307 fi
31308
31309 if test "$wxUSE_PM" = 1; then
31310 TOOLKIT=PM
31311 GUIDIST=PM_DIST
31312 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31313 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31314 if test "${wx_cv_spbcdata+set}" = set; then
31315 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 else
31317
31318 cat >conftest.$ac_ext <<_ACEOF
31319 /* confdefs.h. */
31320 _ACEOF
31321 cat confdefs.h >>conftest.$ac_ext
31322 cat >>conftest.$ac_ext <<_ACEOF
31323 /* end confdefs.h. */
31324
31325 #define INCL_PM
31326 #include <os2.h>
31327
31328 int
31329 main ()
31330 {
31331
31332 SPBCDATA test;
31333
31334 ;
31335 return 0;
31336 }
31337 _ACEOF
31338 rm -f conftest.$ac_objext
31339 if { (ac_try="$ac_compile"
31340 case "(($ac_try" in
31341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31342 *) ac_try_echo=$ac_try;;
31343 esac
31344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31345 (eval "$ac_compile") 2>conftest.er1
31346 ac_status=$?
31347 grep -v '^ *+' conftest.er1 >conftest.err
31348 rm -f conftest.er1
31349 cat conftest.err >&5
31350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31351 (exit $ac_status); } && {
31352 test -z "$ac_c_werror_flag" ||
31353 test ! -s conftest.err
31354 } && test -s conftest.$ac_objext; then
31355 wx_cv_spbcdata=yes
31356 else
31357 echo "$as_me: failed program was:" >&5
31358 sed 's/^/| /' conftest.$ac_ext >&5
31359
31360 wx_cv_spbcdata=no
31361
31362 fi
31363
31364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31365
31366
31367 fi
31368 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31369 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31370
31371 if test $wx_cv_spbcdata = "yes"; then
31372 cat >>confdefs.h <<\_ACEOF
31373 #define HAVE_SPBCDATA 1
31374 _ACEOF
31375
31376 fi
31377 fi
31378
31379 if test "$TOOLKIT" = "PM" ; then
31380 TOOLKIT_DIR="os2"
31381 else
31382 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31383 fi
31384
31385 if test "$wxUSE_UNIVERSAL" = "yes"; then
31386 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31387 WIDGET_SET=univ
31388 fi
31389
31390 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31391 DISTDIR="wx\$(TOOLKIT)"
31392 else
31393 USE_GUI=0
31394
31395 TOOLKIT_DIR="base"
31396
31397 if test "$USE_WIN32" = 1 ; then
31398 TOOLKIT="MSW"
31399 fi
31400
31401 GUIDIST="BASE_DIST"
31402 DISTDIR="wxBase"
31403 fi
31404
31405
31406 if test "$wxUSE_GUI" = "yes"; then
31407 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31408 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31409 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31410 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31411 echo $ECHO_N "(cached) $ECHO_C" >&6
31412 else
31413 cat >conftest.$ac_ext <<_ACEOF
31414 /* confdefs.h. */
31415 _ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31419
31420
31421 #include <X11/Xlib.h>
31422 _ACEOF
31423 rm -f conftest.$ac_objext
31424 if { (ac_try="$ac_compile"
31425 case "(($ac_try" in
31426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31427 *) ac_try_echo=$ac_try;;
31428 esac
31429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31430 (eval "$ac_compile") 2>conftest.er1
31431 ac_status=$?
31432 grep -v '^ *+' conftest.er1 >conftest.err
31433 rm -f conftest.er1
31434 cat conftest.err >&5
31435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31436 (exit $ac_status); } && {
31437 test -z "$ac_c_werror_flag" ||
31438 test ! -s conftest.err
31439 } && test -s conftest.$ac_objext; then
31440 ac_cv_header_X11_Xlib_h=yes
31441 else
31442 echo "$as_me: failed program was:" >&5
31443 sed 's/^/| /' conftest.$ac_ext >&5
31444
31445 ac_cv_header_X11_Xlib_h=no
31446 fi
31447
31448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31449 fi
31450 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31451 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31452
31453
31454 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31455 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31456 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31457 echo $ECHO_N "(cached) $ECHO_C" >&6
31458 else
31459 cat >conftest.$ac_ext <<_ACEOF
31460 /* confdefs.h. */
31461 _ACEOF
31462 cat confdefs.h >>conftest.$ac_ext
31463 cat >>conftest.$ac_ext <<_ACEOF
31464 /* end confdefs.h. */
31465
31466 #if HAVE_X11_XLIB_H
31467 #include <X11/Xlib.h>
31468 #endif
31469
31470
31471 #include <X11/XKBlib.h>
31472 _ACEOF
31473 rm -f conftest.$ac_objext
31474 if { (ac_try="$ac_compile"
31475 case "(($ac_try" in
31476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31477 *) ac_try_echo=$ac_try;;
31478 esac
31479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31480 (eval "$ac_compile") 2>conftest.er1
31481 ac_status=$?
31482 grep -v '^ *+' conftest.er1 >conftest.err
31483 rm -f conftest.er1
31484 cat conftest.err >&5
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); } && {
31487 test -z "$ac_c_werror_flag" ||
31488 test ! -s conftest.err
31489 } && test -s conftest.$ac_objext; then
31490 ac_cv_header_X11_XKBlib_h=yes
31491 else
31492 echo "$as_me: failed program was:" >&5
31493 sed 's/^/| /' conftest.$ac_ext >&5
31494
31495 ac_cv_header_X11_XKBlib_h=no
31496 fi
31497
31498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31499 fi
31500 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31501 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31502
31503
31504 fi
31505 fi
31506
31507
31508
31509 IODBC_C_SRC=""
31510
31511
31512 if test "$TOOLKIT" != "MSW" ; then
31513
31514 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31515
31516 { echo "$as_me:$LINENO: checking for sql.h" >&5
31517 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31518 if test "${ac_cv_header_sql_h+set}" = set; then
31519 echo $ECHO_N "(cached) $ECHO_C" >&6
31520 else
31521 cat >conftest.$ac_ext <<_ACEOF
31522 /* confdefs.h. */
31523 _ACEOF
31524 cat confdefs.h >>conftest.$ac_ext
31525 cat >>conftest.$ac_ext <<_ACEOF
31526 /* end confdefs.h. */
31527
31528
31529 #include <sql.h>
31530 _ACEOF
31531 rm -f conftest.$ac_objext
31532 if { (ac_try="$ac_compile"
31533 case "(($ac_try" in
31534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31535 *) ac_try_echo=$ac_try;;
31536 esac
31537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31538 (eval "$ac_compile") 2>conftest.er1
31539 ac_status=$?
31540 grep -v '^ *+' conftest.er1 >conftest.err
31541 rm -f conftest.er1
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } && {
31545 test -z "$ac_c_werror_flag" ||
31546 test ! -s conftest.err
31547 } && test -s conftest.$ac_objext; then
31548 ac_cv_header_sql_h=yes
31549 else
31550 echo "$as_me: failed program was:" >&5
31551 sed 's/^/| /' conftest.$ac_ext >&5
31552
31553 ac_cv_header_sql_h=no
31554 fi
31555
31556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31557 fi
31558 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31559 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31560 if test $ac_cv_header_sql_h = yes; then
31561 found_sql_h=1
31562 fi
31563
31564
31565 if test "x$found_sql_h" = "x1" ; then
31566 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31567 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31568 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31569 echo $ECHO_N "(cached) $ECHO_C" >&6
31570 else
31571 ac_check_lib_save_LIBS=$LIBS
31572 LIBS="-liodbc $LIBS"
31573 cat >conftest.$ac_ext <<_ACEOF
31574 /* confdefs.h. */
31575 _ACEOF
31576 cat confdefs.h >>conftest.$ac_ext
31577 cat >>conftest.$ac_ext <<_ACEOF
31578 /* end confdefs.h. */
31579
31580 /* Override any GCC internal prototype to avoid an error.
31581 Use char because int might match the return type of a GCC
31582 builtin and then its argument prototype would still apply. */
31583 #ifdef __cplusplus
31584 extern "C"
31585 #endif
31586 char SQLAllocEnv ();
31587 int
31588 main ()
31589 {
31590 return SQLAllocEnv ();
31591 ;
31592 return 0;
31593 }
31594 _ACEOF
31595 rm -f conftest.$ac_objext conftest$ac_exeext
31596 if { (ac_try="$ac_link"
31597 case "(($ac_try" in
31598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31599 *) ac_try_echo=$ac_try;;
31600 esac
31601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31602 (eval "$ac_link") 2>conftest.er1
31603 ac_status=$?
31604 grep -v '^ *+' conftest.er1 >conftest.err
31605 rm -f conftest.er1
31606 cat conftest.err >&5
31607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31608 (exit $ac_status); } && {
31609 test -z "$ac_c_werror_flag" ||
31610 test ! -s conftest.err
31611 } && test -s conftest$ac_exeext &&
31612 $as_test_x conftest$ac_exeext; then
31613 ac_cv_lib_iodbc_SQLAllocEnv=yes
31614 else
31615 echo "$as_me: failed program was:" >&5
31616 sed 's/^/| /' conftest.$ac_ext >&5
31617
31618 ac_cv_lib_iodbc_SQLAllocEnv=no
31619 fi
31620
31621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31622 conftest$ac_exeext conftest.$ac_ext
31623 LIBS=$ac_check_lib_save_LIBS
31624 fi
31625 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31626 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31627 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31628 ODBC_LINK=" -liodbc"
31629 else
31630
31631 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31632 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31633 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31634 echo $ECHO_N "(cached) $ECHO_C" >&6
31635 else
31636 ac_check_lib_save_LIBS=$LIBS
31637 LIBS="-lunixodbc $LIBS"
31638 cat >conftest.$ac_ext <<_ACEOF
31639 /* confdefs.h. */
31640 _ACEOF
31641 cat confdefs.h >>conftest.$ac_ext
31642 cat >>conftest.$ac_ext <<_ACEOF
31643 /* end confdefs.h. */
31644
31645 /* Override any GCC internal prototype to avoid an error.
31646 Use char because int might match the return type of a GCC
31647 builtin and then its argument prototype would still apply. */
31648 #ifdef __cplusplus
31649 extern "C"
31650 #endif
31651 char SQLAllocEnv ();
31652 int
31653 main ()
31654 {
31655 return SQLAllocEnv ();
31656 ;
31657 return 0;
31658 }
31659 _ACEOF
31660 rm -f conftest.$ac_objext conftest$ac_exeext
31661 if { (ac_try="$ac_link"
31662 case "(($ac_try" in
31663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31664 *) ac_try_echo=$ac_try;;
31665 esac
31666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31667 (eval "$ac_link") 2>conftest.er1
31668 ac_status=$?
31669 grep -v '^ *+' conftest.er1 >conftest.err
31670 rm -f conftest.er1
31671 cat conftest.err >&5
31672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31673 (exit $ac_status); } && {
31674 test -z "$ac_c_werror_flag" ||
31675 test ! -s conftest.err
31676 } && test -s conftest$ac_exeext &&
31677 $as_test_x conftest$ac_exeext; then
31678 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31679 else
31680 echo "$as_me: failed program was:" >&5
31681 sed 's/^/| /' conftest.$ac_ext >&5
31682
31683 ac_cv_lib_unixodbc_SQLAllocEnv=no
31684 fi
31685
31686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31687 conftest$ac_exeext conftest.$ac_ext
31688 LIBS=$ac_check_lib_save_LIBS
31689 fi
31690 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31691 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31692 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31693 ODBC_LINK=" -lunixodbc"
31694 else
31695
31696 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31697 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31698 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31699 echo $ECHO_N "(cached) $ECHO_C" >&6
31700 else
31701 ac_check_lib_save_LIBS=$LIBS
31702 LIBS="-lodbc $LIBS"
31703 cat >conftest.$ac_ext <<_ACEOF
31704 /* confdefs.h. */
31705 _ACEOF
31706 cat confdefs.h >>conftest.$ac_ext
31707 cat >>conftest.$ac_ext <<_ACEOF
31708 /* end confdefs.h. */
31709
31710 /* Override any GCC internal prototype to avoid an error.
31711 Use char because int might match the return type of a GCC
31712 builtin and then its argument prototype would still apply. */
31713 #ifdef __cplusplus
31714 extern "C"
31715 #endif
31716 char SQLAllocEnv ();
31717 int
31718 main ()
31719 {
31720 return SQLAllocEnv ();
31721 ;
31722 return 0;
31723 }
31724 _ACEOF
31725 rm -f conftest.$ac_objext conftest$ac_exeext
31726 if { (ac_try="$ac_link"
31727 case "(($ac_try" in
31728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31729 *) ac_try_echo=$ac_try;;
31730 esac
31731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31732 (eval "$ac_link") 2>conftest.er1
31733 ac_status=$?
31734 grep -v '^ *+' conftest.er1 >conftest.err
31735 rm -f conftest.er1
31736 cat conftest.err >&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); } && {
31739 test -z "$ac_c_werror_flag" ||
31740 test ! -s conftest.err
31741 } && test -s conftest$ac_exeext &&
31742 $as_test_x conftest$ac_exeext; then
31743 ac_cv_lib_odbc_SQLAllocEnv=yes
31744 else
31745 echo "$as_me: failed program was:" >&5
31746 sed 's/^/| /' conftest.$ac_ext >&5
31747
31748 ac_cv_lib_odbc_SQLAllocEnv=no
31749 fi
31750
31751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31752 conftest$ac_exeext conftest.$ac_ext
31753 LIBS=$ac_check_lib_save_LIBS
31754 fi
31755 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31756 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31757 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31758 ODBC_LINK=" -lodbc"
31759 fi
31760
31761
31762 fi
31763
31764
31765 fi
31766
31767 fi
31768 if test "x$ODBC_LINK" = "x" ; then
31769 if test "$wxUSE_ODBC" = "sys" ; then
31770 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31771 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31772 { (exit 1); exit 1; }; }
31773 else
31774 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31775 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31776 wxUSE_ODBC=builtin
31777 fi
31778 else
31779 wxUSE_ODBC=sys
31780 fi
31781 fi
31782
31783 if test "$wxUSE_ODBC" = "builtin" ; then
31784 cat >>confdefs.h <<\_ACEOF
31785 #define wxUSE_BUILTIN_IODBC 1
31786 _ACEOF
31787
31788 fi
31789 fi
31790
31791 if test "$wxUSE_ODBC" != "no" ; then
31792 cat >>confdefs.h <<\_ACEOF
31793 #define wxUSE_ODBC 1
31794 _ACEOF
31795
31796 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31797
31798 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31799 fi
31800
31801
31802 if test "$wxUSE_DISPLAY" = "yes"; then
31803 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31804 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31805 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31806
31807 ac_find_libraries=
31808 for ac_dir in $SEARCH_LIB;
31809 do
31810 for ac_extension in a so sl dylib dll.a; do
31811 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31812 ac_find_libraries=$ac_dir
31813 break 2
31814 fi
31815 done
31816 done
31817
31818 if test "$ac_find_libraries" != "" ; then
31819
31820 if test "$ac_find_libraries" = "default location"; then
31821 ac_path_to_link=""
31822 else
31823 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31824 result=$?
31825 if test $result = 0; then
31826 ac_path_to_link=""
31827 else
31828 ac_path_to_link=" -L$ac_find_libraries"
31829 fi
31830 fi
31831
31832 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31833 LDFLAGS="$LDFLAGS $ac_path_to_link"
31834 fi
31835 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31836 { echo "$as_me:$LINENO: result: yes" >&5
31837 echo "${ECHO_T}yes" >&6; }
31838
31839 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31840 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31841
31842 ac_find_libraries=
31843 for ac_dir in $SEARCH_LIB;
31844 do
31845 for ac_extension in a so sl dylib dll.a; do
31846 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31847 ac_find_libraries=$ac_dir
31848 break 2
31849 fi
31850 done
31851 done
31852
31853 if test "$ac_find_libraries" != "" ; then
31854 { echo "$as_me:$LINENO: result: yes" >&5
31855 echo "${ECHO_T}yes" >&6; }
31856 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31857 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31858 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31859 echo $ECHO_N "(cached) $ECHO_C" >&6
31860 else
31861 cat >conftest.$ac_ext <<_ACEOF
31862 /* confdefs.h. */
31863 _ACEOF
31864 cat confdefs.h >>conftest.$ac_ext
31865 cat >>conftest.$ac_ext <<_ACEOF
31866 /* end confdefs.h. */
31867
31868 #if HAVE_X11_XLIB_H
31869 #include <X11/Xlib.h>
31870 #endif
31871
31872
31873 #include <X11/extensions/xf86vmode.h>
31874 _ACEOF
31875 rm -f conftest.$ac_objext
31876 if { (ac_try="$ac_compile"
31877 case "(($ac_try" in
31878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31879 *) ac_try_echo=$ac_try;;
31880 esac
31881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31882 (eval "$ac_compile") 2>conftest.er1
31883 ac_status=$?
31884 grep -v '^ *+' conftest.er1 >conftest.err
31885 rm -f conftest.er1
31886 cat conftest.err >&5
31887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31888 (exit $ac_status); } && {
31889 test -z "$ac_c_werror_flag" ||
31890 test ! -s conftest.err
31891 } && test -s conftest.$ac_objext; then
31892 ac_cv_header_X11_extensions_xf86vmode_h=yes
31893 else
31894 echo "$as_me: failed program was:" >&5
31895 sed 's/^/| /' conftest.$ac_ext >&5
31896
31897 ac_cv_header_X11_extensions_xf86vmode_h=no
31898 fi
31899
31900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31901 fi
31902 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31903 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31904 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31905
31906 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31907
31908 fi
31909
31910
31911 else
31912 { echo "$as_me:$LINENO: result: no" >&5
31913 echo "${ECHO_T}no" >&6; }
31914 fi
31915
31916 else
31917 { echo "$as_me:$LINENO: result: no" >&5
31918 echo "${ECHO_T}no" >&6; }
31919 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31920 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31921 wxUSE_DISPLAY="no"
31922 fi
31923 elif test "$wxUSE_MSW" = 1; then
31924 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31925 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31926 if test "${ac_cv_header_ddraw_h+set}" = set; then
31927 echo $ECHO_N "(cached) $ECHO_C" >&6
31928 else
31929 cat >conftest.$ac_ext <<_ACEOF
31930 /* confdefs.h. */
31931 _ACEOF
31932 cat confdefs.h >>conftest.$ac_ext
31933 cat >>conftest.$ac_ext <<_ACEOF
31934 /* end confdefs.h. */
31935 #include <windows.h>
31936
31937 #include <ddraw.h>
31938 _ACEOF
31939 rm -f conftest.$ac_objext
31940 if { (ac_try="$ac_compile"
31941 case "(($ac_try" in
31942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31943 *) ac_try_echo=$ac_try;;
31944 esac
31945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31946 (eval "$ac_compile") 2>conftest.er1
31947 ac_status=$?
31948 grep -v '^ *+' conftest.er1 >conftest.err
31949 rm -f conftest.er1
31950 cat conftest.err >&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); } && {
31953 test -z "$ac_c_werror_flag" ||
31954 test ! -s conftest.err
31955 } && test -s conftest.$ac_objext; then
31956 ac_cv_header_ddraw_h=yes
31957 else
31958 echo "$as_me: failed program was:" >&5
31959 sed 's/^/| /' conftest.$ac_ext >&5
31960
31961 ac_cv_header_ddraw_h=no
31962 fi
31963
31964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31965 fi
31966 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31967 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
31968
31969
31970 fi
31971 fi
31972
31973 if test "$wxUSE_DETECT_SM" = "yes"; then
31974 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31975 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31976 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
31977
31978 ac_find_libraries=
31979 for ac_dir in $SEARCH_LIB;
31980 do
31981 for ac_extension in a so sl dylib dll.a; do
31982 if test -f "$ac_dir/libSM.$ac_extension"; then
31983 ac_find_libraries=$ac_dir
31984 break 2
31985 fi
31986 done
31987 done
31988
31989 if test "$ac_find_libraries" != "" ; then
31990
31991 if test "$ac_find_libraries" = "default location"; then
31992 ac_path_to_link=""
31993 else
31994 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31995 result=$?
31996 if test $result = 0; then
31997 ac_path_to_link=""
31998 else
31999 ac_path_to_link=" -L$ac_find_libraries"
32000 fi
32001 fi
32002
32003 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32004 LDFLAGS="$LDFLAGS $ac_path_to_link"
32005 fi
32006 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32007 { echo "$as_me:$LINENO: result: yes" >&5
32008 echo "${ECHO_T}yes" >&6; }
32009 else
32010 { echo "$as_me:$LINENO: result: no" >&5
32011 echo "${ECHO_T}no" >&6; }
32012 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32013 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32014 wxUSE_DETECT_SM="no"
32015 fi
32016 else
32017 wxUSE_DETECT_SM="no"
32018 fi
32019 fi
32020
32021
32022
32023 USE_OPENGL=0
32024 if test "$wxUSE_OPENGL" = "yes"; then
32025 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32026 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32027 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32028 wxUSE_OPENGL="no"
32029 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32030 OPENGL_LIBS="-framework OpenGL -framework AGL"
32031 elif test "$wxUSE_MSW" = 1; then
32032 OPENGL_LIBS="-lopengl32 -lglu32"
32033 else
32034 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32035 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32036
32037 ac_find_includes=
32038 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32039 do
32040 if test -f "$ac_dir/GL/gl.h"; then
32041 ac_find_includes=$ac_dir
32042 break
32043 fi
32044 done
32045
32046 if test "$ac_find_includes" != "" ; then
32047 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32048 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32049
32050 if test "x$ac_find_includes" = "x/usr/include"; then
32051 ac_path_to_include=""
32052 else
32053 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32054 result=$?
32055 if test $result = 0; then
32056 ac_path_to_include=""
32057 else
32058 ac_path_to_include=" -I$ac_find_includes"
32059 fi
32060 fi
32061
32062 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32063 else
32064 { echo "$as_me:$LINENO: result: not found" >&5
32065 echo "${ECHO_T}not found" >&6; }
32066 fi
32067
32068 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32069 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32070 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32071 echo $ECHO_N "(cached) $ECHO_C" >&6
32072 else
32073 cat >conftest.$ac_ext <<_ACEOF
32074 /* confdefs.h. */
32075 _ACEOF
32076 cat confdefs.h >>conftest.$ac_ext
32077 cat >>conftest.$ac_ext <<_ACEOF
32078 /* end confdefs.h. */
32079
32080
32081 #include <GL/gl.h>
32082 _ACEOF
32083 rm -f conftest.$ac_objext
32084 if { (ac_try="$ac_compile"
32085 case "(($ac_try" in
32086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32087 *) ac_try_echo=$ac_try;;
32088 esac
32089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32090 (eval "$ac_compile") 2>conftest.er1
32091 ac_status=$?
32092 grep -v '^ *+' conftest.er1 >conftest.err
32093 rm -f conftest.er1
32094 cat conftest.err >&5
32095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32096 (exit $ac_status); } && {
32097 test -z "$ac_c_werror_flag" ||
32098 test ! -s conftest.err
32099 } && test -s conftest.$ac_objext; then
32100 ac_cv_header_GL_gl_h=yes
32101 else
32102 echo "$as_me: failed program was:" >&5
32103 sed 's/^/| /' conftest.$ac_ext >&5
32104
32105 ac_cv_header_GL_gl_h=no
32106 fi
32107
32108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32109 fi
32110 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32111 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32112 if test $ac_cv_header_GL_gl_h = yes; then
32113
32114 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32115 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32116 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32117 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32118 echo $ECHO_N "(cached) $ECHO_C" >&6
32119 fi
32120 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32121 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32122 else
32123 # Is the header compilable?
32124 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32125 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32126 cat >conftest.$ac_ext <<_ACEOF
32127 /* confdefs.h. */
32128 _ACEOF
32129 cat confdefs.h >>conftest.$ac_ext
32130 cat >>conftest.$ac_ext <<_ACEOF
32131 /* end confdefs.h. */
32132 $ac_includes_default
32133 #include <GL/glu.h>
32134 _ACEOF
32135 rm -f conftest.$ac_objext
32136 if { (ac_try="$ac_compile"
32137 case "(($ac_try" in
32138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32139 *) ac_try_echo=$ac_try;;
32140 esac
32141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32142 (eval "$ac_compile") 2>conftest.er1
32143 ac_status=$?
32144 grep -v '^ *+' conftest.er1 >conftest.err
32145 rm -f conftest.er1
32146 cat conftest.err >&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); } && {
32149 test -z "$ac_c_werror_flag" ||
32150 test ! -s conftest.err
32151 } && test -s conftest.$ac_objext; then
32152 ac_header_compiler=yes
32153 else
32154 echo "$as_me: failed program was:" >&5
32155 sed 's/^/| /' conftest.$ac_ext >&5
32156
32157 ac_header_compiler=no
32158 fi
32159
32160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32161 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32162 echo "${ECHO_T}$ac_header_compiler" >&6; }
32163
32164 # Is the header present?
32165 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32166 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32167 cat >conftest.$ac_ext <<_ACEOF
32168 /* confdefs.h. */
32169 _ACEOF
32170 cat confdefs.h >>conftest.$ac_ext
32171 cat >>conftest.$ac_ext <<_ACEOF
32172 /* end confdefs.h. */
32173 #include <GL/glu.h>
32174 _ACEOF
32175 if { (ac_try="$ac_cpp conftest.$ac_ext"
32176 case "(($ac_try" in
32177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32178 *) ac_try_echo=$ac_try;;
32179 esac
32180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32181 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32182 ac_status=$?
32183 grep -v '^ *+' conftest.er1 >conftest.err
32184 rm -f conftest.er1
32185 cat conftest.err >&5
32186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187 (exit $ac_status); } >/dev/null && {
32188 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32189 test ! -s conftest.err
32190 }; then
32191 ac_header_preproc=yes
32192 else
32193 echo "$as_me: failed program was:" >&5
32194 sed 's/^/| /' conftest.$ac_ext >&5
32195
32196 ac_header_preproc=no
32197 fi
32198
32199 rm -f conftest.err conftest.$ac_ext
32200 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32201 echo "${ECHO_T}$ac_header_preproc" >&6; }
32202
32203 # So? What about this header?
32204 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32205 yes:no: )
32206 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32207 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32208 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32209 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32210 ac_header_preproc=yes
32211 ;;
32212 no:yes:* )
32213 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32214 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32215 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32216 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32217 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32218 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32219 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32220 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32221 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32222 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32223 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32224 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32225 ( cat <<\_ASBOX
32226 ## ----------------------------------------- ##
32227 ## Report this to wx-dev@lists.wxwidgets.org ##
32228 ## ----------------------------------------- ##
32229 _ASBOX
32230 ) | sed "s/^/$as_me: WARNING: /" >&2
32231 ;;
32232 esac
32233 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32234 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32235 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32236 echo $ECHO_N "(cached) $ECHO_C" >&6
32237 else
32238 ac_cv_header_GL_glu_h=$ac_header_preproc
32239 fi
32240 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32241 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32242
32243 fi
32244 if test $ac_cv_header_GL_glu_h = yes; then
32245
32246 found_gl=0
32247
32248 { echo "$as_me:$LINENO: checking for -lGL" >&5
32249 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32250
32251 ac_find_libraries=
32252 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32253 do
32254 for ac_extension in a so sl dylib dll.a; do
32255 if test -f "$ac_dir/libGL.$ac_extension"; then
32256 ac_find_libraries=$ac_dir
32257 break 2
32258 fi
32259 done
32260 done
32261
32262 if test "$ac_find_libraries" != "" ; then
32263 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32264 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32265
32266
32267 if test "$ac_find_libraries" = "default location"; then
32268 ac_path_to_link=""
32269 else
32270 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32271 result=$?
32272 if test $result = 0; then
32273 ac_path_to_link=""
32274 else
32275 ac_path_to_link=" -L$ac_find_libraries"
32276 fi
32277 fi
32278
32279 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32280 LDFLAGS_GL="$ac_path_to_link"
32281 fi
32282
32283 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32284 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32285
32286 ac_find_libraries=
32287 for ac_dir in $SEARCH_LIB;
32288 do
32289 for ac_extension in a so sl dylib dll.a; do
32290 if test -f "$ac_dir/libGLU.$ac_extension"; then
32291 ac_find_libraries=$ac_dir
32292 break 2
32293 fi
32294 done
32295 done
32296
32297 if test "$ac_find_libraries" != "" ; then
32298
32299 if test "$ac_find_libraries" = "default location"; then
32300 ac_path_to_link=""
32301 else
32302 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32303 result=$?
32304 if test $result = 0; then
32305 ac_path_to_link=""
32306 else
32307 ac_path_to_link=" -L$ac_find_libraries"
32308 fi
32309 fi
32310
32311 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32312 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32313 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32314 fi
32315
32316 found_gl=1
32317 OPENGL_LIBS="-lGL -lGLU"
32318 { echo "$as_me:$LINENO: result: yes" >&5
32319 echo "${ECHO_T}yes" >&6; }
32320 else
32321 { echo "$as_me:$LINENO: result: no" >&5
32322 echo "${ECHO_T}no" >&6; }
32323 fi
32324 else
32325 { echo "$as_me:$LINENO: result: no" >&5
32326 echo "${ECHO_T}no" >&6; }
32327 fi
32328
32329 if test "$found_gl" != 1; then
32330 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32331 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32332
32333 ac_find_libraries=
32334 for ac_dir in $SEARCH_LIB;
32335 do
32336 for ac_extension in a so sl dylib dll.a; do
32337 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32338 ac_find_libraries=$ac_dir
32339 break 2
32340 fi
32341 done
32342 done
32343
32344 if test "$ac_find_libraries" != "" ; then
32345
32346 if test "$ac_find_libraries" = "default location"; then
32347 ac_path_to_link=""
32348 else
32349 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32350 result=$?
32351 if test $result = 0; then
32352 ac_path_to_link=""
32353 else
32354 ac_path_to_link=" -L$ac_find_libraries"
32355 fi
32356 fi
32357
32358 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32359 OPENGL_LIBS="-lMesaGL -lMesaGLU"
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 fi
32367
32368 fi
32369
32370
32371
32372 fi
32373
32374
32375
32376 if test "x$OPENGL_LIBS" = "x"; then
32377 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32378 echo "$as_me: error: OpenGL libraries not available" >&2;}
32379 { (exit 1); exit 1; }; }
32380 fi
32381 fi
32382
32383 if test "$wxUSE_OPENGL" = "yes"; then
32384 USE_OPENGL=1
32385 cat >>confdefs.h <<\_ACEOF
32386 #define wxUSE_OPENGL 1
32387 _ACEOF
32388
32389 cat >>confdefs.h <<\_ACEOF
32390 #define wxUSE_GLCANVAS 1
32391 _ACEOF
32392
32393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32394 fi
32395 fi
32396
32397
32398 if test -n "$TOOLKIT" ; then
32399 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32400 fi
32401
32402
32403
32404 if test "$wxUSE_SHARED" = "yes"; then
32405 case "${host}" in
32406 *-pc-msdosdjgpp )
32407 wxUSE_SHARED=no
32408 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32409 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32410 ;;
32411 esac
32412 fi
32413
32414 if test "$wxUSE_SHARED" = "yes"; then
32415
32416
32417 case "${host}" in
32418 *-*-cygwin* | *-*-mingw* )
32419 wx_cv_version_script=no
32420 ;;
32421
32422 *)
32423 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32424 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32425 if test "${wx_cv_version_script+set}" = set; then
32426 echo $ECHO_N "(cached) $ECHO_C" >&6
32427 else
32428
32429 echo "VER_1 { *; };" >conftest.sym
32430 echo "int main() { return 0; }" >conftest.cpp
32431
32432 if { ac_try='
32433 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32434 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32436 (eval $ac_try) 2>&5
32437 ac_status=$?
32438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32439 (exit $ac_status); }; } ; then
32440 if test -s conftest.stderr ; then
32441 wx_cv_version_script=no
32442 else
32443 wx_cv_version_script=yes
32444 fi
32445 else
32446 wx_cv_version_script=no
32447 fi
32448
32449 if test $wx_cv_version_script = yes
32450 then
32451 echo "struct B { virtual ~B() { } }; \
32452 struct D : public B { }; \
32453 void F() { D d; }" > conftest.cpp
32454
32455 if { ac_try='
32456 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32457 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32459 (eval $ac_try) 2>&5
32460 ac_status=$?
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); }; } &&
32463 { ac_try='
32464 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32465 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32467 (eval $ac_try) 2>&5
32468 ac_status=$?
32469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32470 (exit $ac_status); }; }
32471 then
32472 if { ac_try='
32473 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32474 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32477 ac_status=$?
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; }
32480 then
32481 wx_cv_version_script=yes
32482 else
32483 wx_cv_version_script=no
32484 fi
32485 fi
32486 fi
32487
32488 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32489 rm -f conftest1.output conftest2.output conftest3.output
32490
32491 fi
32492 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32493 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32494
32495 if test $wx_cv_version_script = yes ; then
32496 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32497 fi
32498 ;;
32499 esac
32500
32501
32502 case "${host}" in
32503 *-*-linux* | *-*-gnu* )
32504 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32505 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32506 ;;
32507
32508 *-*-solaris2* )
32509 if test "$GCC" = yes ; then
32510 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32511
32512 saveLdflags="$LDFLAGS"
32513 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32514 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32515 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32516 cat >conftest.$ac_ext <<_ACEOF
32517 /* confdefs.h. */
32518 _ACEOF
32519 cat confdefs.h >>conftest.$ac_ext
32520 cat >>conftest.$ac_ext <<_ACEOF
32521 /* end confdefs.h. */
32522
32523 int
32524 main ()
32525 {
32526
32527 ;
32528 return 0;
32529 }
32530 _ACEOF
32531 rm -f conftest.$ac_objext conftest$ac_exeext
32532 if { (ac_try="$ac_link"
32533 case "(($ac_try" in
32534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32535 *) ac_try_echo=$ac_try;;
32536 esac
32537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32538 (eval "$ac_link") 2>conftest.er1
32539 ac_status=$?
32540 grep -v '^ *+' conftest.er1 >conftest.err
32541 rm -f conftest.er1
32542 cat conftest.err >&5
32543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32544 (exit $ac_status); } && {
32545 test -z "$ac_c_werror_flag" ||
32546 test ! -s conftest.err
32547 } && test -s conftest$ac_exeext &&
32548 $as_test_x conftest$ac_exeext; then
32549
32550 { echo "$as_me:$LINENO: result: yes" >&5
32551 echo "${ECHO_T}yes" >&6; }
32552 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32553 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32554
32555 else
32556 echo "$as_me: failed program was:" >&5
32557 sed 's/^/| /' conftest.$ac_ext >&5
32558
32559
32560 { echo "$as_me:$LINENO: result: no" >&5
32561 echo "${ECHO_T}no" >&6; }
32562 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32563 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32564 LDFLAGS="$saveLdflags -Wl,-R,/"
32565 cat >conftest.$ac_ext <<_ACEOF
32566 /* confdefs.h. */
32567 _ACEOF
32568 cat confdefs.h >>conftest.$ac_ext
32569 cat >>conftest.$ac_ext <<_ACEOF
32570 /* end confdefs.h. */
32571
32572 int
32573 main ()
32574 {
32575
32576 ;
32577 return 0;
32578 }
32579 _ACEOF
32580 rm -f conftest.$ac_objext conftest$ac_exeext
32581 if { (ac_try="$ac_link"
32582 case "(($ac_try" in
32583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32584 *) ac_try_echo=$ac_try;;
32585 esac
32586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32587 (eval "$ac_link") 2>conftest.er1
32588 ac_status=$?
32589 grep -v '^ *+' conftest.er1 >conftest.err
32590 rm -f conftest.er1
32591 cat conftest.err >&5
32592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32593 (exit $ac_status); } && {
32594 test -z "$ac_c_werror_flag" ||
32595 test ! -s conftest.err
32596 } && test -s conftest$ac_exeext &&
32597 $as_test_x conftest$ac_exeext; then
32598
32599 { echo "$as_me:$LINENO: result: yes" >&5
32600 echo "${ECHO_T}yes" >&6; }
32601 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32602 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32603
32604 else
32605 echo "$as_me: failed program was:" >&5
32606 sed 's/^/| /' conftest.$ac_ext >&5
32607
32608
32609 { echo "$as_me:$LINENO: result: no" >&5
32610 echo "${ECHO_T}no" >&6; }
32611
32612 fi
32613
32614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32615 conftest$ac_exeext conftest.$ac_ext
32616
32617 fi
32618
32619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32620 conftest$ac_exeext conftest.$ac_ext
32621 LDFLAGS="$saveLdflags"
32622 else
32623 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32624 WXCONFIG_RPATH="-R\$libdir"
32625 fi
32626 ;;
32627
32628 *-*-darwin* )
32629 install_name_tool=`which install_name_tool`
32630 if test "$install_name_tool" -a -x "$install_name_tool"; then
32631 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32632 cat <<EOF >change-install-names
32633 #!/bin/sh
32634 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32635 inst_cmd="install_name_tool "
32636 for i in \${libnames} ; do
32637 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32638 done
32639 \${inst_cmd} \${3}
32640 EOF
32641 chmod +x change-install-names
32642 fi
32643 ;;
32644
32645 *-*-cygwin* | *-*-mingw32* )
32646 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32647 ;;
32648
32649 *-*-hpux* )
32650 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32651 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32652 ;;
32653
32654 esac
32655
32656 if test $wxUSE_RPATH = "no"; then
32657 SAMPLES_RPATH_FLAG=''
32658 SAMPLES_RPATH_POSTLINK=''
32659 WXCONFIG_RPATH=''
32660 fi
32661
32662 SHARED=1
32663
32664 else
32665
32666 config_linkage_component="-static"
32667 SHARED=0
32668
32669 fi
32670
32671
32672 UNICODE=0
32673 lib_unicode_suffix=
32674 WX_CHARTYPE="ansi"
32675 if test "$wxUSE_UNICODE" = "yes"; then
32676 lib_unicode_suffix=u
32677 WX_CHARTYPE="unicode"
32678 UNICODE=1
32679 fi
32680
32681 lib_debug_suffix=
32682 WX_DEBUGTYPE="release"
32683 DEBUG_FLAG=0
32684 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32685 lib_debug_suffix=d
32686 WX_DEBUGTYPE="debug"
32687 DEBUG_FLAG=1
32688 fi
32689
32690 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32691 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32692
32693 DEBUG_INFO=0
32694 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32695 DEBUG_INFO=1
32696 fi
32697
32698 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32699
32700 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32701
32702 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32703
32704 if test "$cross_compiling" = "yes"; then
32705 HOST_SUFFIX="-$host_alias"
32706 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32707 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32708 fi
32709
32710 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32711 if test "${TOOLKIT_DIR}" = "os2"; then
32712 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32713 else
32714 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32715 fi
32716
32717
32718
32719 if test "$wxUSE_COCOA" = 1; then
32720
32721 ac_ext=c
32722 ac_cpp='$CPP $CPPFLAGS'
32723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32726
32727 ac_ext=m
32728
32729 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32730 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32731 cat >conftest.$ac_ext <<_ACEOF
32732 /* confdefs.h. */
32733 _ACEOF
32734 cat confdefs.h >>conftest.$ac_ext
32735 cat >>conftest.$ac_ext <<_ACEOF
32736 /* end confdefs.h. */
32737 #include <AppKit/NSEvent.h>
32738 #include <CoreFoundation/CoreFoundation.h>
32739
32740 int
32741 main ()
32742 {
32743
32744 ;
32745 return 0;
32746 }
32747 _ACEOF
32748 rm -f conftest.$ac_objext
32749 if { (ac_try="$ac_compile"
32750 case "(($ac_try" in
32751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32752 *) ac_try_echo=$ac_try;;
32753 esac
32754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32755 (eval "$ac_compile") 2>conftest.er1
32756 ac_status=$?
32757 grep -v '^ *+' conftest.er1 >conftest.err
32758 rm -f conftest.er1
32759 cat conftest.err >&5
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); } && {
32762 test -z "$ac_c_werror_flag" ||
32763 test ! -s conftest.err
32764 } && test -s conftest.$ac_objext; then
32765 { echo "$as_me:$LINENO: result: no" >&5
32766 echo "${ECHO_T}no" >&6; }
32767 else
32768 echo "$as_me: failed program was:" >&5
32769 sed 's/^/| /' conftest.$ac_ext >&5
32770
32771 { echo "$as_me:$LINENO: result: yes" >&5
32772 echo "${ECHO_T}yes" >&6; }
32773 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32774 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32775 cat >conftest.$ac_ext <<_ACEOF
32776 /* confdefs.h. */
32777 _ACEOF
32778 cat confdefs.h >>conftest.$ac_ext
32779 cat >>conftest.$ac_ext <<_ACEOF
32780 /* end confdefs.h. */
32781 #define __Point__ 1
32782 #include <AppKit/NSEvent.h>
32783 #include <CoreFoundation/CoreFoundation.h>
32784
32785 int
32786 main ()
32787 {
32788
32789 ;
32790 return 0;
32791 }
32792 _ACEOF
32793 rm -f conftest.$ac_objext
32794 if { (ac_try="$ac_compile"
32795 case "(($ac_try" in
32796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32797 *) ac_try_echo=$ac_try;;
32798 esac
32799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32800 (eval "$ac_compile") 2>conftest.er1
32801 ac_status=$?
32802 grep -v '^ *+' conftest.er1 >conftest.err
32803 rm -f conftest.er1
32804 cat conftest.err >&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } && {
32807 test -z "$ac_c_werror_flag" ||
32808 test ! -s conftest.err
32809 } && test -s conftest.$ac_objext; then
32810 { echo "$as_me:$LINENO: result: yes" >&5
32811 echo "${ECHO_T}yes" >&6; }
32812 cat >>confdefs.h <<\_ACEOF
32813 #define __Point__ 1
32814 _ACEOF
32815
32816
32817 else
32818 echo "$as_me: failed program was:" >&5
32819 sed 's/^/| /' conftest.$ac_ext >&5
32820
32821 { { echo "$as_me:$LINENO: error: no
32822 See \`config.log' for more details." >&5
32823 echo "$as_me: error: no
32824 See \`config.log' for more details." >&2;}
32825 { (exit 1); exit 1; }; }
32826
32827 fi
32828
32829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32830
32831 fi
32832
32833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32834 ac_ext=c
32835 ac_cpp='$CPP $CPPFLAGS'
32836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32839
32840 fi
32841
32842 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32843 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32844 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32845
32846 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32847
32848 # Extract the first word of "Rez", so it can be a program name with args.
32849 set dummy Rez; ac_word=$2
32850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32852 if test "${ac_cv_prog_REZ+set}" = set; then
32853 echo $ECHO_N "(cached) $ECHO_C" >&6
32854 else
32855 if test -n "$REZ"; then
32856 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32857 else
32858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32859 for as_dir in $PATH
32860 do
32861 IFS=$as_save_IFS
32862 test -z "$as_dir" && as_dir=.
32863 for ac_exec_ext in '' $ac_executable_extensions; do
32864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32865 ac_cv_prog_REZ="Rez"
32866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32867 break 2
32868 fi
32869 done
32870 done
32871 IFS=$as_save_IFS
32872
32873 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32874 fi
32875 fi
32876 REZ=$ac_cv_prog_REZ
32877 if test -n "$REZ"; then
32878 { echo "$as_me:$LINENO: result: $REZ" >&5
32879 echo "${ECHO_T}$REZ" >&6; }
32880 else
32881 { echo "$as_me:$LINENO: result: no" >&5
32882 echo "${ECHO_T}no" >&6; }
32883 fi
32884
32885
32886 # Extract the first word of "DeRez", so it can be a program name with args.
32887 set dummy DeRez; ac_word=$2
32888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32890 if test "${ac_cv_prog_DEREZ+set}" = set; then
32891 echo $ECHO_N "(cached) $ECHO_C" >&6
32892 else
32893 if test -n "$DEREZ"; then
32894 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32895 else
32896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32897 for as_dir in $PATH
32898 do
32899 IFS=$as_save_IFS
32900 test -z "$as_dir" && as_dir=.
32901 for ac_exec_ext in '' $ac_executable_extensions; do
32902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32903 ac_cv_prog_DEREZ="DeRez"
32904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32905 break 2
32906 fi
32907 done
32908 done
32909 IFS=$as_save_IFS
32910
32911 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32912 fi
32913 fi
32914 DEREZ=$ac_cv_prog_DEREZ
32915 if test -n "$DEREZ"; then
32916 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32917 echo "${ECHO_T}$DEREZ" >&6; }
32918 else
32919 { echo "$as_me:$LINENO: result: no" >&5
32920 echo "${ECHO_T}no" >&6; }
32921 fi
32922
32923
32924 # Extract the first word of "SetFile", so it can be a program name with args.
32925 set dummy SetFile; ac_word=$2
32926 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32928 if test "${ac_cv_prog_SETFILE+set}" = set; then
32929 echo $ECHO_N "(cached) $ECHO_C" >&6
32930 else
32931 if test -n "$SETFILE"; then
32932 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32933 else
32934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32935 for as_dir in $PATH
32936 do
32937 IFS=$as_save_IFS
32938 test -z "$as_dir" && as_dir=.
32939 for ac_exec_ext in '' $ac_executable_extensions; do
32940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32941 ac_cv_prog_SETFILE="SetFile"
32942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32943 break 2
32944 fi
32945 done
32946 done
32947 IFS=$as_save_IFS
32948
32949 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32950 fi
32951 fi
32952 SETFILE=$ac_cv_prog_SETFILE
32953 if test -n "$SETFILE"; then
32954 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32955 echo "${ECHO_T}$SETFILE" >&6; }
32956 else
32957 { echo "$as_me:$LINENO: result: no" >&5
32958 echo "${ECHO_T}no" >&6; }
32959 fi
32960
32961
32962
32963 MACSETFILE="\$(SETFILE)"
32964
32965 if test "$wxUSE_MAC" = 1; then
32966 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32967 RESCOMP="$REZ"
32968 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32969 else
32970 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32971 RESCOMP="echo -n \| $REZ"
32972 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32973 fi
32974
32975 else
32976 MACSETFILE="@true"
32977
32978 if test "$wxUSE_PM" = 1; then
32979 RESCOMP="emxbind"
32980 WXCONFIG_RESFLAGS="-ep"
32981
32982 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32983 else
32984 POSTLINK_COMMAND="@true"
32985 fi
32986
32987 fi
32988
32989
32990
32991 { echo "$as_me:$LINENO: checking for mode_t" >&5
32992 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
32993 if test "${ac_cv_type_mode_t+set}" = set; then
32994 echo $ECHO_N "(cached) $ECHO_C" >&6
32995 else
32996 cat >conftest.$ac_ext <<_ACEOF
32997 /* confdefs.h. */
32998 _ACEOF
32999 cat confdefs.h >>conftest.$ac_ext
33000 cat >>conftest.$ac_ext <<_ACEOF
33001 /* end confdefs.h. */
33002 $ac_includes_default
33003 typedef mode_t ac__type_new_;
33004 int
33005 main ()
33006 {
33007 if ((ac__type_new_ *) 0)
33008 return 0;
33009 if (sizeof (ac__type_new_))
33010 return 0;
33011 ;
33012 return 0;
33013 }
33014 _ACEOF
33015 rm -f conftest.$ac_objext
33016 if { (ac_try="$ac_compile"
33017 case "(($ac_try" in
33018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33019 *) ac_try_echo=$ac_try;;
33020 esac
33021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33022 (eval "$ac_compile") 2>conftest.er1
33023 ac_status=$?
33024 grep -v '^ *+' conftest.er1 >conftest.err
33025 rm -f conftest.er1
33026 cat conftest.err >&5
33027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33028 (exit $ac_status); } && {
33029 test -z "$ac_c_werror_flag" ||
33030 test ! -s conftest.err
33031 } && test -s conftest.$ac_objext; then
33032 ac_cv_type_mode_t=yes
33033 else
33034 echo "$as_me: failed program was:" >&5
33035 sed 's/^/| /' conftest.$ac_ext >&5
33036
33037 ac_cv_type_mode_t=no
33038 fi
33039
33040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33041 fi
33042 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33043 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33044 if test $ac_cv_type_mode_t = yes; then
33045 :
33046 else
33047
33048 cat >>confdefs.h <<_ACEOF
33049 #define mode_t int
33050 _ACEOF
33051
33052 fi
33053
33054 { echo "$as_me:$LINENO: checking for off_t" >&5
33055 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33056 if test "${ac_cv_type_off_t+set}" = set; then
33057 echo $ECHO_N "(cached) $ECHO_C" >&6
33058 else
33059 cat >conftest.$ac_ext <<_ACEOF
33060 /* confdefs.h. */
33061 _ACEOF
33062 cat confdefs.h >>conftest.$ac_ext
33063 cat >>conftest.$ac_ext <<_ACEOF
33064 /* end confdefs.h. */
33065 $ac_includes_default
33066 typedef off_t ac__type_new_;
33067 int
33068 main ()
33069 {
33070 if ((ac__type_new_ *) 0)
33071 return 0;
33072 if (sizeof (ac__type_new_))
33073 return 0;
33074 ;
33075 return 0;
33076 }
33077 _ACEOF
33078 rm -f conftest.$ac_objext
33079 if { (ac_try="$ac_compile"
33080 case "(($ac_try" in
33081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33082 *) ac_try_echo=$ac_try;;
33083 esac
33084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33085 (eval "$ac_compile") 2>conftest.er1
33086 ac_status=$?
33087 grep -v '^ *+' conftest.er1 >conftest.err
33088 rm -f conftest.er1
33089 cat conftest.err >&5
33090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33091 (exit $ac_status); } && {
33092 test -z "$ac_c_werror_flag" ||
33093 test ! -s conftest.err
33094 } && test -s conftest.$ac_objext; then
33095 ac_cv_type_off_t=yes
33096 else
33097 echo "$as_me: failed program was:" >&5
33098 sed 's/^/| /' conftest.$ac_ext >&5
33099
33100 ac_cv_type_off_t=no
33101 fi
33102
33103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33104 fi
33105 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33106 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33107 if test $ac_cv_type_off_t = yes; then
33108 :
33109 else
33110
33111 cat >>confdefs.h <<_ACEOF
33112 #define off_t long int
33113 _ACEOF
33114
33115 fi
33116
33117 { echo "$as_me:$LINENO: checking for pid_t" >&5
33118 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33119 if test "${ac_cv_type_pid_t+set}" = set; then
33120 echo $ECHO_N "(cached) $ECHO_C" >&6
33121 else
33122 cat >conftest.$ac_ext <<_ACEOF
33123 /* confdefs.h. */
33124 _ACEOF
33125 cat confdefs.h >>conftest.$ac_ext
33126 cat >>conftest.$ac_ext <<_ACEOF
33127 /* end confdefs.h. */
33128 $ac_includes_default
33129 typedef pid_t ac__type_new_;
33130 int
33131 main ()
33132 {
33133 if ((ac__type_new_ *) 0)
33134 return 0;
33135 if (sizeof (ac__type_new_))
33136 return 0;
33137 ;
33138 return 0;
33139 }
33140 _ACEOF
33141 rm -f conftest.$ac_objext
33142 if { (ac_try="$ac_compile"
33143 case "(($ac_try" in
33144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33145 *) ac_try_echo=$ac_try;;
33146 esac
33147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33148 (eval "$ac_compile") 2>conftest.er1
33149 ac_status=$?
33150 grep -v '^ *+' conftest.er1 >conftest.err
33151 rm -f conftest.er1
33152 cat conftest.err >&5
33153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33154 (exit $ac_status); } && {
33155 test -z "$ac_c_werror_flag" ||
33156 test ! -s conftest.err
33157 } && test -s conftest.$ac_objext; then
33158 ac_cv_type_pid_t=yes
33159 else
33160 echo "$as_me: failed program was:" >&5
33161 sed 's/^/| /' conftest.$ac_ext >&5
33162
33163 ac_cv_type_pid_t=no
33164 fi
33165
33166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33167 fi
33168 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33169 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33170 if test $ac_cv_type_pid_t = yes; then
33171 :
33172 else
33173
33174 cat >>confdefs.h <<_ACEOF
33175 #define pid_t int
33176 _ACEOF
33177
33178 fi
33179
33180 { echo "$as_me:$LINENO: checking for size_t" >&5
33181 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33182 if test "${ac_cv_type_size_t+set}" = set; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185 cat >conftest.$ac_ext <<_ACEOF
33186 /* confdefs.h. */
33187 _ACEOF
33188 cat confdefs.h >>conftest.$ac_ext
33189 cat >>conftest.$ac_ext <<_ACEOF
33190 /* end confdefs.h. */
33191 $ac_includes_default
33192 typedef size_t ac__type_new_;
33193 int
33194 main ()
33195 {
33196 if ((ac__type_new_ *) 0)
33197 return 0;
33198 if (sizeof (ac__type_new_))
33199 return 0;
33200 ;
33201 return 0;
33202 }
33203 _ACEOF
33204 rm -f conftest.$ac_objext
33205 if { (ac_try="$ac_compile"
33206 case "(($ac_try" in
33207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33208 *) ac_try_echo=$ac_try;;
33209 esac
33210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33211 (eval "$ac_compile") 2>conftest.er1
33212 ac_status=$?
33213 grep -v '^ *+' conftest.er1 >conftest.err
33214 rm -f conftest.er1
33215 cat conftest.err >&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); } && {
33218 test -z "$ac_c_werror_flag" ||
33219 test ! -s conftest.err
33220 } && test -s conftest.$ac_objext; then
33221 ac_cv_type_size_t=yes
33222 else
33223 echo "$as_me: failed program was:" >&5
33224 sed 's/^/| /' conftest.$ac_ext >&5
33225
33226 ac_cv_type_size_t=no
33227 fi
33228
33229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33230 fi
33231 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33232 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33233 if test $ac_cv_type_size_t = yes; then
33234 :
33235 else
33236
33237 cat >>confdefs.h <<_ACEOF
33238 #define size_t unsigned int
33239 _ACEOF
33240
33241 fi
33242
33243 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33244 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33245 if test "${ac_cv_type_uid_t+set}" = set; then
33246 echo $ECHO_N "(cached) $ECHO_C" >&6
33247 else
33248 cat >conftest.$ac_ext <<_ACEOF
33249 /* confdefs.h. */
33250 _ACEOF
33251 cat confdefs.h >>conftest.$ac_ext
33252 cat >>conftest.$ac_ext <<_ACEOF
33253 /* end confdefs.h. */
33254 #include <sys/types.h>
33255
33256 _ACEOF
33257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33258 $EGREP "uid_t" >/dev/null 2>&1; then
33259 ac_cv_type_uid_t=yes
33260 else
33261 ac_cv_type_uid_t=no
33262 fi
33263 rm -f conftest*
33264
33265 fi
33266 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33267 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33268 if test $ac_cv_type_uid_t = no; then
33269
33270 cat >>confdefs.h <<\_ACEOF
33271 #define uid_t int
33272 _ACEOF
33273
33274
33275 cat >>confdefs.h <<\_ACEOF
33276 #define gid_t int
33277 _ACEOF
33278
33279 fi
33280
33281
33282 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33283 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33284 if test "${ac_cv_type_ssize_t+set}" = set; then
33285 echo $ECHO_N "(cached) $ECHO_C" >&6
33286 else
33287 cat >conftest.$ac_ext <<_ACEOF
33288 /* confdefs.h. */
33289 _ACEOF
33290 cat confdefs.h >>conftest.$ac_ext
33291 cat >>conftest.$ac_ext <<_ACEOF
33292 /* end confdefs.h. */
33293 $ac_includes_default
33294 typedef ssize_t ac__type_new_;
33295 int
33296 main ()
33297 {
33298 if ((ac__type_new_ *) 0)
33299 return 0;
33300 if (sizeof (ac__type_new_))
33301 return 0;
33302 ;
33303 return 0;
33304 }
33305 _ACEOF
33306 rm -f conftest.$ac_objext
33307 if { (ac_try="$ac_compile"
33308 case "(($ac_try" in
33309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33310 *) ac_try_echo=$ac_try;;
33311 esac
33312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33313 (eval "$ac_compile") 2>conftest.er1
33314 ac_status=$?
33315 grep -v '^ *+' conftest.er1 >conftest.err
33316 rm -f conftest.er1
33317 cat conftest.err >&5
33318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33319 (exit $ac_status); } && {
33320 test -z "$ac_c_werror_flag" ||
33321 test ! -s conftest.err
33322 } && test -s conftest.$ac_objext; then
33323 ac_cv_type_ssize_t=yes
33324 else
33325 echo "$as_me: failed program was:" >&5
33326 sed 's/^/| /' conftest.$ac_ext >&5
33327
33328 ac_cv_type_ssize_t=no
33329 fi
33330
33331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33332 fi
33333 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33334 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33335 if test $ac_cv_type_ssize_t = yes; then
33336
33337 cat >>confdefs.h <<_ACEOF
33338 #define HAVE_SSIZE_T 1
33339 _ACEOF
33340
33341
33342 fi
33343
33344
33345 ac_ext=cpp
33346 ac_cpp='$CXXCPP $CPPFLAGS'
33347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33351 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33352 if test "${wx_cv_size_t_is_uint+set}" = set; then
33353 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 else
33355
33356 cat >conftest.$ac_ext <<_ACEOF
33357 /* confdefs.h. */
33358 _ACEOF
33359 cat confdefs.h >>conftest.$ac_ext
33360 cat >>conftest.$ac_ext <<_ACEOF
33361 /* end confdefs.h. */
33362 #include <stddef.h>
33363 int
33364 main ()
33365 {
33366
33367 return 0; }
33368
33369 struct Foo { void foo(size_t); void foo(unsigned int); };
33370
33371 int bar() {
33372
33373 ;
33374 return 0;
33375 }
33376 _ACEOF
33377 rm -f conftest.$ac_objext
33378 if { (ac_try="$ac_compile"
33379 case "(($ac_try" in
33380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33381 *) ac_try_echo=$ac_try;;
33382 esac
33383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33384 (eval "$ac_compile") 2>conftest.er1
33385 ac_status=$?
33386 grep -v '^ *+' conftest.er1 >conftest.err
33387 rm -f conftest.er1
33388 cat conftest.err >&5
33389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390 (exit $ac_status); } && {
33391 test -z "$ac_cxx_werror_flag" ||
33392 test ! -s conftest.err
33393 } && test -s conftest.$ac_objext; then
33394 wx_cv_size_t_is_uint=no
33395 else
33396 echo "$as_me: failed program was:" >&5
33397 sed 's/^/| /' conftest.$ac_ext >&5
33398
33399 wx_cv_size_t_is_uint=yes
33400
33401 fi
33402
33403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33404
33405
33406 fi
33407 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33408 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33409
33410 if test "$wx_cv_size_t_is_uint" = "yes"; then
33411 cat >>confdefs.h <<\_ACEOF
33412 #define wxSIZE_T_IS_UINT 1
33413 _ACEOF
33414
33415 else
33416 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33417 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33418 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33419 echo $ECHO_N "(cached) $ECHO_C" >&6
33420 else
33421 cat >conftest.$ac_ext <<_ACEOF
33422 /* confdefs.h. */
33423 _ACEOF
33424 cat confdefs.h >>conftest.$ac_ext
33425 cat >>conftest.$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33427 #include <stddef.h>
33428 int
33429 main ()
33430 {
33431
33432 return 0; }
33433
33434 struct Foo { void foo(size_t); void foo(unsigned long); };
33435
33436 int bar() {
33437
33438 ;
33439 return 0;
33440 }
33441 _ACEOF
33442 rm -f conftest.$ac_objext
33443 if { (ac_try="$ac_compile"
33444 case "(($ac_try" in
33445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33446 *) ac_try_echo=$ac_try;;
33447 esac
33448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33449 (eval "$ac_compile") 2>conftest.er1
33450 ac_status=$?
33451 grep -v '^ *+' conftest.er1 >conftest.err
33452 rm -f conftest.er1
33453 cat conftest.err >&5
33454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33455 (exit $ac_status); } && {
33456 test -z "$ac_cxx_werror_flag" ||
33457 test ! -s conftest.err
33458 } && test -s conftest.$ac_objext; then
33459 wx_cv_size_t_is_ulong=no
33460 else
33461 echo "$as_me: failed program was:" >&5
33462 sed 's/^/| /' conftest.$ac_ext >&5
33463
33464 wx_cv_size_t_is_ulong=yes
33465
33466 fi
33467
33468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33469
33470 fi
33471 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33472 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33473
33474 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33475 cat >>confdefs.h <<\_ACEOF
33476 #define wxSIZE_T_IS_ULONG 1
33477 _ACEOF
33478
33479 fi
33480 fi
33481
33482 ac_ext=c
33483 ac_cpp='$CPP $CPPFLAGS'
33484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33487
33488
33489 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33490 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33491 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 else
33494
33495 cat >conftest.$ac_ext <<_ACEOF
33496 /* confdefs.h. */
33497 _ACEOF
33498 cat confdefs.h >>conftest.$ac_ext
33499 cat >>conftest.$ac_ext <<_ACEOF
33500 /* end confdefs.h. */
33501 #include <pwd.h>
33502 int
33503 main ()
33504 {
33505
33506 char *p;
33507 struct passwd *pw;
33508 p = pw->pw_gecos;
33509
33510 ;
33511 return 0;
33512 }
33513 _ACEOF
33514 rm -f conftest.$ac_objext
33515 if { (ac_try="$ac_compile"
33516 case "(($ac_try" in
33517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33518 *) ac_try_echo=$ac_try;;
33519 esac
33520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33521 (eval "$ac_compile") 2>conftest.er1
33522 ac_status=$?
33523 grep -v '^ *+' conftest.er1 >conftest.err
33524 rm -f conftest.er1
33525 cat conftest.err >&5
33526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33527 (exit $ac_status); } && {
33528 test -z "$ac_c_werror_flag" ||
33529 test ! -s conftest.err
33530 } && test -s conftest.$ac_objext; then
33531
33532 wx_cv_struct_pw_gecos=yes
33533
33534 else
33535 echo "$as_me: failed program was:" >&5
33536 sed 's/^/| /' conftest.$ac_ext >&5
33537
33538
33539 wx_cv_struct_pw_gecos=no
33540
33541
33542 fi
33543
33544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33545
33546
33547 fi
33548 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33549 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33550
33551 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33552 cat >>confdefs.h <<\_ACEOF
33553 #define HAVE_PW_GECOS 1
33554 _ACEOF
33555
33556 fi
33557
33558
33559 if test "$wxUSE_WCHAR_T" = "yes"; then
33560 cat >>confdefs.h <<\_ACEOF
33561 #define wxUSE_WCHAR_T 1
33562 _ACEOF
33563
33564
33565 WCSLEN_FOUND=0
33566 WCHAR_LINK=
33567
33568 for ac_func in wcslen
33569 do
33570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33571 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33573 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33574 echo $ECHO_N "(cached) $ECHO_C" >&6
33575 else
33576 cat >conftest.$ac_ext <<_ACEOF
33577 /* confdefs.h. */
33578 _ACEOF
33579 cat confdefs.h >>conftest.$ac_ext
33580 cat >>conftest.$ac_ext <<_ACEOF
33581 /* end confdefs.h. */
33582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33584 #define $ac_func innocuous_$ac_func
33585
33586 /* System header to define __stub macros and hopefully few prototypes,
33587 which can conflict with char $ac_func (); below.
33588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33589 <limits.h> exists even on freestanding compilers. */
33590
33591 #ifdef __STDC__
33592 # include <limits.h>
33593 #else
33594 # include <assert.h>
33595 #endif
33596
33597 #undef $ac_func
33598
33599 /* Override any GCC internal prototype to avoid an error.
33600 Use char because int might match the return type of a GCC
33601 builtin and then its argument prototype would still apply. */
33602 #ifdef __cplusplus
33603 extern "C"
33604 #endif
33605 char $ac_func ();
33606 /* The GNU C library defines this for functions which it implements
33607 to always fail with ENOSYS. Some functions are actually named
33608 something starting with __ and the normal name is an alias. */
33609 #if defined __stub_$ac_func || defined __stub___$ac_func
33610 choke me
33611 #endif
33612
33613 int
33614 main ()
33615 {
33616 return $ac_func ();
33617 ;
33618 return 0;
33619 }
33620 _ACEOF
33621 rm -f conftest.$ac_objext conftest$ac_exeext
33622 if { (ac_try="$ac_link"
33623 case "(($ac_try" in
33624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33625 *) ac_try_echo=$ac_try;;
33626 esac
33627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33628 (eval "$ac_link") 2>conftest.er1
33629 ac_status=$?
33630 grep -v '^ *+' conftest.er1 >conftest.err
33631 rm -f conftest.er1
33632 cat conftest.err >&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); } && {
33635 test -z "$ac_c_werror_flag" ||
33636 test ! -s conftest.err
33637 } && test -s conftest$ac_exeext &&
33638 $as_test_x conftest$ac_exeext; then
33639 eval "$as_ac_var=yes"
33640 else
33641 echo "$as_me: failed program was:" >&5
33642 sed 's/^/| /' conftest.$ac_ext >&5
33643
33644 eval "$as_ac_var=no"
33645 fi
33646
33647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33648 conftest$ac_exeext conftest.$ac_ext
33649 fi
33650 ac_res=`eval echo '${'$as_ac_var'}'`
33651 { echo "$as_me:$LINENO: result: $ac_res" >&5
33652 echo "${ECHO_T}$ac_res" >&6; }
33653 if test `eval echo '${'$as_ac_var'}'` = yes; then
33654 cat >>confdefs.h <<_ACEOF
33655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33656 _ACEOF
33657 WCSLEN_FOUND=1
33658 fi
33659 done
33660
33661
33662 if test "$WCSLEN_FOUND" = 0; then
33663 if test "$TOOLKIT" = "MSW"; then
33664 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33665 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33666 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33667 echo $ECHO_N "(cached) $ECHO_C" >&6
33668 else
33669 ac_check_lib_save_LIBS=$LIBS
33670 LIBS="-lmsvcrt $LIBS"
33671 cat >conftest.$ac_ext <<_ACEOF
33672 /* confdefs.h. */
33673 _ACEOF
33674 cat confdefs.h >>conftest.$ac_ext
33675 cat >>conftest.$ac_ext <<_ACEOF
33676 /* end confdefs.h. */
33677
33678 /* Override any GCC internal prototype to avoid an error.
33679 Use char because int might match the return type of a GCC
33680 builtin and then its argument prototype would still apply. */
33681 #ifdef __cplusplus
33682 extern "C"
33683 #endif
33684 char wcslen ();
33685 int
33686 main ()
33687 {
33688 return wcslen ();
33689 ;
33690 return 0;
33691 }
33692 _ACEOF
33693 rm -f conftest.$ac_objext conftest$ac_exeext
33694 if { (ac_try="$ac_link"
33695 case "(($ac_try" in
33696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33697 *) ac_try_echo=$ac_try;;
33698 esac
33699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33700 (eval "$ac_link") 2>conftest.er1
33701 ac_status=$?
33702 grep -v '^ *+' conftest.er1 >conftest.err
33703 rm -f conftest.er1
33704 cat conftest.err >&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } && {
33707 test -z "$ac_c_werror_flag" ||
33708 test ! -s conftest.err
33709 } && test -s conftest$ac_exeext &&
33710 $as_test_x conftest$ac_exeext; then
33711 ac_cv_lib_msvcrt_wcslen=yes
33712 else
33713 echo "$as_me: failed program was:" >&5
33714 sed 's/^/| /' conftest.$ac_ext >&5
33715
33716 ac_cv_lib_msvcrt_wcslen=no
33717 fi
33718
33719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33720 conftest$ac_exeext conftest.$ac_ext
33721 LIBS=$ac_check_lib_save_LIBS
33722 fi
33723 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33724 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33725 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33726 WCHAR_OK=1
33727 fi
33728
33729 else
33730 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33731 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33732 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33733 echo $ECHO_N "(cached) $ECHO_C" >&6
33734 else
33735 ac_check_lib_save_LIBS=$LIBS
33736 LIBS="-lw $LIBS"
33737 cat >conftest.$ac_ext <<_ACEOF
33738 /* confdefs.h. */
33739 _ACEOF
33740 cat confdefs.h >>conftest.$ac_ext
33741 cat >>conftest.$ac_ext <<_ACEOF
33742 /* end confdefs.h. */
33743
33744 /* Override any GCC internal prototype to avoid an error.
33745 Use char because int might match the return type of a GCC
33746 builtin and then its argument prototype would still apply. */
33747 #ifdef __cplusplus
33748 extern "C"
33749 #endif
33750 char wcslen ();
33751 int
33752 main ()
33753 {
33754 return wcslen ();
33755 ;
33756 return 0;
33757 }
33758 _ACEOF
33759 rm -f conftest.$ac_objext conftest$ac_exeext
33760 if { (ac_try="$ac_link"
33761 case "(($ac_try" in
33762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33763 *) ac_try_echo=$ac_try;;
33764 esac
33765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33766 (eval "$ac_link") 2>conftest.er1
33767 ac_status=$?
33768 grep -v '^ *+' conftest.er1 >conftest.err
33769 rm -f conftest.er1
33770 cat conftest.err >&5
33771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33772 (exit $ac_status); } && {
33773 test -z "$ac_c_werror_flag" ||
33774 test ! -s conftest.err
33775 } && test -s conftest$ac_exeext &&
33776 $as_test_x conftest$ac_exeext; then
33777 ac_cv_lib_w_wcslen=yes
33778 else
33779 echo "$as_me: failed program was:" >&5
33780 sed 's/^/| /' conftest.$ac_ext >&5
33781
33782 ac_cv_lib_w_wcslen=no
33783 fi
33784
33785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33786 conftest$ac_exeext conftest.$ac_ext
33787 LIBS=$ac_check_lib_save_LIBS
33788 fi
33789 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33790 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33791 if test $ac_cv_lib_w_wcslen = yes; then
33792
33793 WCHAR_LINK=" -lw"
33794 WCSLEN_FOUND=1
33795
33796 fi
33797
33798 fi
33799 fi
33800
33801 if test "$WCSLEN_FOUND" = 1; then
33802 cat >>confdefs.h <<\_ACEOF
33803 #define HAVE_WCSLEN 1
33804 _ACEOF
33805
33806 fi
33807
33808 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33809 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33810 fi
33811
33812 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33813 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33814 if test "${ac_cv_type_mbstate_t+set}" = set; then
33815 echo $ECHO_N "(cached) $ECHO_C" >&6
33816 else
33817 cat >conftest.$ac_ext <<_ACEOF
33818 /* confdefs.h. */
33819 _ACEOF
33820 cat confdefs.h >>conftest.$ac_ext
33821 cat >>conftest.$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33823 #include <wchar.h>
33824
33825 typedef mbstate_t ac__type_new_;
33826 int
33827 main ()
33828 {
33829 if ((ac__type_new_ *) 0)
33830 return 0;
33831 if (sizeof (ac__type_new_))
33832 return 0;
33833 ;
33834 return 0;
33835 }
33836 _ACEOF
33837 rm -f conftest.$ac_objext
33838 if { (ac_try="$ac_compile"
33839 case "(($ac_try" in
33840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33841 *) ac_try_echo=$ac_try;;
33842 esac
33843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33844 (eval "$ac_compile") 2>conftest.er1
33845 ac_status=$?
33846 grep -v '^ *+' conftest.er1 >conftest.err
33847 rm -f conftest.er1
33848 cat conftest.err >&5
33849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33850 (exit $ac_status); } && {
33851 test -z "$ac_c_werror_flag" ||
33852 test ! -s conftest.err
33853 } && test -s conftest.$ac_objext; then
33854 ac_cv_type_mbstate_t=yes
33855 else
33856 echo "$as_me: failed program was:" >&5
33857 sed 's/^/| /' conftest.$ac_ext >&5
33858
33859 ac_cv_type_mbstate_t=no
33860 fi
33861
33862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33863 fi
33864 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33865 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33866 if test $ac_cv_type_mbstate_t = yes; then
33867
33868 cat >>confdefs.h <<_ACEOF
33869 #define HAVE_MBSTATE_T 1
33870 _ACEOF
33871
33872
33873 for ac_func in wcsrtombs
33874 do
33875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33876 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33878 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33879 echo $ECHO_N "(cached) $ECHO_C" >&6
33880 else
33881 cat >conftest.$ac_ext <<_ACEOF
33882 /* confdefs.h. */
33883 _ACEOF
33884 cat confdefs.h >>conftest.$ac_ext
33885 cat >>conftest.$ac_ext <<_ACEOF
33886 /* end confdefs.h. */
33887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33889 #define $ac_func innocuous_$ac_func
33890
33891 /* System header to define __stub macros and hopefully few prototypes,
33892 which can conflict with char $ac_func (); below.
33893 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33894 <limits.h> exists even on freestanding compilers. */
33895
33896 #ifdef __STDC__
33897 # include <limits.h>
33898 #else
33899 # include <assert.h>
33900 #endif
33901
33902 #undef $ac_func
33903
33904 /* Override any GCC internal prototype to avoid an error.
33905 Use char because int might match the return type of a GCC
33906 builtin and then its argument prototype would still apply. */
33907 #ifdef __cplusplus
33908 extern "C"
33909 #endif
33910 char $ac_func ();
33911 /* The GNU C library defines this for functions which it implements
33912 to always fail with ENOSYS. Some functions are actually named
33913 something starting with __ and the normal name is an alias. */
33914 #if defined __stub_$ac_func || defined __stub___$ac_func
33915 choke me
33916 #endif
33917
33918 int
33919 main ()
33920 {
33921 return $ac_func ();
33922 ;
33923 return 0;
33924 }
33925 _ACEOF
33926 rm -f conftest.$ac_objext conftest$ac_exeext
33927 if { (ac_try="$ac_link"
33928 case "(($ac_try" in
33929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33930 *) ac_try_echo=$ac_try;;
33931 esac
33932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33933 (eval "$ac_link") 2>conftest.er1
33934 ac_status=$?
33935 grep -v '^ *+' conftest.er1 >conftest.err
33936 rm -f conftest.er1
33937 cat conftest.err >&5
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); } && {
33940 test -z "$ac_c_werror_flag" ||
33941 test ! -s conftest.err
33942 } && test -s conftest$ac_exeext &&
33943 $as_test_x conftest$ac_exeext; then
33944 eval "$as_ac_var=yes"
33945 else
33946 echo "$as_me: failed program was:" >&5
33947 sed 's/^/| /' conftest.$ac_ext >&5
33948
33949 eval "$as_ac_var=no"
33950 fi
33951
33952 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33953 conftest$ac_exeext conftest.$ac_ext
33954 fi
33955 ac_res=`eval echo '${'$as_ac_var'}'`
33956 { echo "$as_me:$LINENO: result: $ac_res" >&5
33957 echo "${ECHO_T}$ac_res" >&6; }
33958 if test `eval echo '${'$as_ac_var'}'` = yes; then
33959 cat >>confdefs.h <<_ACEOF
33960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33961 _ACEOF
33962
33963 fi
33964 done
33965
33966 fi
33967
33968 else
33969 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33970 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33971 fi
33972
33973
33974
33975 for ac_func in snprintf vsnprintf
33976 do
33977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33978 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33980 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33981 echo $ECHO_N "(cached) $ECHO_C" >&6
33982 else
33983 cat >conftest.$ac_ext <<_ACEOF
33984 /* confdefs.h. */
33985 _ACEOF
33986 cat confdefs.h >>conftest.$ac_ext
33987 cat >>conftest.$ac_ext <<_ACEOF
33988 /* end confdefs.h. */
33989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33991 #define $ac_func innocuous_$ac_func
33992
33993 /* System header to define __stub macros and hopefully few prototypes,
33994 which can conflict with char $ac_func (); below.
33995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33996 <limits.h> exists even on freestanding compilers. */
33997
33998 #ifdef __STDC__
33999 # include <limits.h>
34000 #else
34001 # include <assert.h>
34002 #endif
34003
34004 #undef $ac_func
34005
34006 /* Override any GCC internal prototype to avoid an error.
34007 Use char because int might match the return type of a GCC
34008 builtin and then its argument prototype would still apply. */
34009 #ifdef __cplusplus
34010 extern "C"
34011 #endif
34012 char $ac_func ();
34013 /* The GNU C library defines this for functions which it implements
34014 to always fail with ENOSYS. Some functions are actually named
34015 something starting with __ and the normal name is an alias. */
34016 #if defined __stub_$ac_func || defined __stub___$ac_func
34017 choke me
34018 #endif
34019
34020 int
34021 main ()
34022 {
34023 return $ac_func ();
34024 ;
34025 return 0;
34026 }
34027 _ACEOF
34028 rm -f conftest.$ac_objext conftest$ac_exeext
34029 if { (ac_try="$ac_link"
34030 case "(($ac_try" in
34031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34032 *) ac_try_echo=$ac_try;;
34033 esac
34034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34035 (eval "$ac_link") 2>conftest.er1
34036 ac_status=$?
34037 grep -v '^ *+' conftest.er1 >conftest.err
34038 rm -f conftest.er1
34039 cat conftest.err >&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); } && {
34042 test -z "$ac_c_werror_flag" ||
34043 test ! -s conftest.err
34044 } && test -s conftest$ac_exeext &&
34045 $as_test_x conftest$ac_exeext; then
34046 eval "$as_ac_var=yes"
34047 else
34048 echo "$as_me: failed program was:" >&5
34049 sed 's/^/| /' conftest.$ac_ext >&5
34050
34051 eval "$as_ac_var=no"
34052 fi
34053
34054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34055 conftest$ac_exeext conftest.$ac_ext
34056 fi
34057 ac_res=`eval echo '${'$as_ac_var'}'`
34058 { echo "$as_me:$LINENO: result: $ac_res" >&5
34059 echo "${ECHO_T}$ac_res" >&6; }
34060 if test `eval echo '${'$as_ac_var'}'` = yes; then
34061 cat >>confdefs.h <<_ACEOF
34062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34063 _ACEOF
34064
34065 fi
34066 done
34067
34068
34069 if test "$ac_cv_func_vsnprintf" = "yes"; then
34070 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34071 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34072 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34073 echo $ECHO_N "(cached) $ECHO_C" >&6
34074 else
34075
34076 cat >conftest.$ac_ext <<_ACEOF
34077 /* confdefs.h. */
34078 _ACEOF
34079 cat confdefs.h >>conftest.$ac_ext
34080 cat >>conftest.$ac_ext <<_ACEOF
34081 /* end confdefs.h. */
34082
34083 #include <stdio.h>
34084 #include <stdarg.h>
34085 #ifdef __MSL__
34086 #if __MSL__ >= 0x6000
34087 namespace std {}
34088 using namespace std;
34089 #endif
34090 #endif
34091
34092 int
34093 main ()
34094 {
34095
34096 char *buf;
34097 va_list ap;
34098 vsnprintf(buf, 10u, "%s", ap);
34099
34100 ;
34101 return 0;
34102 }
34103 _ACEOF
34104 rm -f conftest.$ac_objext
34105 if { (ac_try="$ac_compile"
34106 case "(($ac_try" in
34107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34108 *) ac_try_echo=$ac_try;;
34109 esac
34110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34111 (eval "$ac_compile") 2>conftest.er1
34112 ac_status=$?
34113 grep -v '^ *+' conftest.er1 >conftest.err
34114 rm -f conftest.er1
34115 cat conftest.err >&5
34116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34117 (exit $ac_status); } && {
34118 test -z "$ac_c_werror_flag" ||
34119 test ! -s conftest.err
34120 } && test -s conftest.$ac_objext; then
34121 wx_cv_func_vsnprintf_decl=yes
34122 else
34123 echo "$as_me: failed program was:" >&5
34124 sed 's/^/| /' conftest.$ac_ext >&5
34125
34126 wx_cv_func_vsnprintf_decl=no
34127
34128 fi
34129
34130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34131
34132
34133 fi
34134 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34135 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34136
34137 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34138 cat >>confdefs.h <<\_ACEOF
34139 #define HAVE_VSNPRINTF_DECL 1
34140 _ACEOF
34141
34142
34143 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34144 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34145 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34146 echo $ECHO_N "(cached) $ECHO_C" >&6
34147 else
34148
34149 cat >conftest.$ac_ext <<_ACEOF
34150 /* confdefs.h. */
34151 _ACEOF
34152 cat confdefs.h >>conftest.$ac_ext
34153 cat >>conftest.$ac_ext <<_ACEOF
34154 /* end confdefs.h. */
34155
34156 #include <stdio.h>
34157 #include <stdarg.h>
34158 #ifdef __MSL__
34159 #if __MSL__ >= 0x6000
34160 namespace std {}
34161 using namespace std;
34162 #endif
34163 #endif
34164
34165 int
34166 main ()
34167 {
34168
34169 char *buf;
34170 va_list ap;
34171 const char *fmt = "%s";
34172 vsnprintf(buf, 10u, fmt, ap);
34173
34174 ;
34175 return 0;
34176 }
34177 _ACEOF
34178 rm -f conftest.$ac_objext
34179 if { (ac_try="$ac_compile"
34180 case "(($ac_try" in
34181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34182 *) ac_try_echo=$ac_try;;
34183 esac
34184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34185 (eval "$ac_compile") 2>conftest.er1
34186 ac_status=$?
34187 grep -v '^ *+' conftest.er1 >conftest.err
34188 rm -f conftest.er1
34189 cat conftest.err >&5
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); } && {
34192 test -z "$ac_c_werror_flag" ||
34193 test ! -s conftest.err
34194 } && test -s conftest.$ac_objext; then
34195 wx_cv_func_broken_vsnprintf_decl=no
34196 else
34197 echo "$as_me: failed program was:" >&5
34198 sed 's/^/| /' conftest.$ac_ext >&5
34199
34200 wx_cv_func_broken_vsnprintf_decl=yes
34201
34202 fi
34203
34204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34205
34206
34207 fi
34208 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34209 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34210
34211 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34212 cat >>confdefs.h <<\_ACEOF
34213 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34214 _ACEOF
34215
34216 fi
34217 fi
34218 fi
34219
34220 if test "$ac_cv_func_snprintf" = "yes"; then
34221 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34222 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34223 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34224 echo $ECHO_N "(cached) $ECHO_C" >&6
34225 else
34226
34227 cat >conftest.$ac_ext <<_ACEOF
34228 /* confdefs.h. */
34229 _ACEOF
34230 cat confdefs.h >>conftest.$ac_ext
34231 cat >>conftest.$ac_ext <<_ACEOF
34232 /* end confdefs.h. */
34233
34234 #include <stdio.h>
34235 #include <stdarg.h>
34236 #ifdef __MSL__
34237 #if __MSL__ >= 0x6000
34238 namespace std {}
34239 using namespace std;
34240 #endif
34241 #endif
34242
34243 int
34244 main ()
34245 {
34246
34247 char *buf;
34248 snprintf(buf, 10u, "%s", "wx");
34249
34250 ;
34251 return 0;
34252 }
34253 _ACEOF
34254 rm -f conftest.$ac_objext
34255 if { (ac_try="$ac_compile"
34256 case "(($ac_try" in
34257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34258 *) ac_try_echo=$ac_try;;
34259 esac
34260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34261 (eval "$ac_compile") 2>conftest.er1
34262 ac_status=$?
34263 grep -v '^ *+' conftest.er1 >conftest.err
34264 rm -f conftest.er1
34265 cat conftest.err >&5
34266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34267 (exit $ac_status); } && {
34268 test -z "$ac_c_werror_flag" ||
34269 test ! -s conftest.err
34270 } && test -s conftest.$ac_objext; then
34271 wx_cv_func_snprintf_decl=yes
34272 else
34273 echo "$as_me: failed program was:" >&5
34274 sed 's/^/| /' conftest.$ac_ext >&5
34275
34276 wx_cv_func_snprintf_decl=no
34277
34278 fi
34279
34280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34281
34282
34283 fi
34284 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34285 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34286
34287 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34288 cat >>confdefs.h <<\_ACEOF
34289 #define HAVE_SNPRINTF_DECL 1
34290 _ACEOF
34291
34292
34293 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34294 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34295 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34296 echo $ECHO_N "(cached) $ECHO_C" >&6
34297 else
34298
34299 cat >conftest.$ac_ext <<_ACEOF
34300 /* confdefs.h. */
34301 _ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h. */
34305
34306 #include <stdio.h>
34307 #include <stdarg.h>
34308 #ifdef __MSL__
34309 #if __MSL__ >= 0x6000
34310 namespace std {}
34311 using namespace std;
34312 #endif
34313 #endif
34314
34315 int
34316 main ()
34317 {
34318
34319 char *buf;
34320 const char *fmt = "%s";
34321 snprintf(buf, 10u, fmt, "wx");
34322
34323 ;
34324 return 0;
34325 }
34326 _ACEOF
34327 rm -f conftest.$ac_objext
34328 if { (ac_try="$ac_compile"
34329 case "(($ac_try" in
34330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34331 *) ac_try_echo=$ac_try;;
34332 esac
34333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34334 (eval "$ac_compile") 2>conftest.er1
34335 ac_status=$?
34336 grep -v '^ *+' conftest.er1 >conftest.err
34337 rm -f conftest.er1
34338 cat conftest.err >&5
34339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34340 (exit $ac_status); } && {
34341 test -z "$ac_c_werror_flag" ||
34342 test ! -s conftest.err
34343 } && test -s conftest.$ac_objext; then
34344 wx_cv_func_broken_snprintf_decl=no
34345 else
34346 echo "$as_me: failed program was:" >&5
34347 sed 's/^/| /' conftest.$ac_ext >&5
34348
34349 wx_cv_func_broken_snprintf_decl=yes
34350
34351 fi
34352
34353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34354
34355
34356 fi
34357 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34358 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34359
34360 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34361 cat >>confdefs.h <<\_ACEOF
34362 #define HAVE_BROKEN_SNPRINTF_DECL 1
34363 _ACEOF
34364
34365 fi
34366 fi
34367
34368 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34369
34370 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34371 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34372 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34373 echo $ECHO_N "(cached) $ECHO_C" >&6
34374 else
34375
34376 if test "$cross_compiling" = yes; then
34377
34378 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34379 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34380 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34381 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34382 wx_cv_func_snprintf_pos_params=no
34383
34384
34385 else
34386 cat >conftest.$ac_ext <<_ACEOF
34387 /* confdefs.h. */
34388 _ACEOF
34389 cat confdefs.h >>conftest.$ac_ext
34390 cat >>conftest.$ac_ext <<_ACEOF
34391 /* end confdefs.h. */
34392
34393 #include <stdio.h>
34394
34395 int main (void)
34396 {
34397 char buffer[128];
34398 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34399 if (strcmp ("2 3 1", buffer) == 0)
34400 exit (0);
34401 exit (1);
34402 }
34403
34404 _ACEOF
34405 rm -f conftest$ac_exeext
34406 if { (ac_try="$ac_link"
34407 case "(($ac_try" in
34408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34409 *) ac_try_echo=$ac_try;;
34410 esac
34411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34412 (eval "$ac_link") 2>&5
34413 ac_status=$?
34414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34415 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34416 { (case "(($ac_try" in
34417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34418 *) ac_try_echo=$ac_try;;
34419 esac
34420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34421 (eval "$ac_try") 2>&5
34422 ac_status=$?
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; }; then
34425 wx_cv_func_snprintf_pos_params=no
34426 else
34427 echo "$as_me: program exited with status $ac_status" >&5
34428 echo "$as_me: failed program was:" >&5
34429 sed 's/^/| /' conftest.$ac_ext >&5
34430
34431 ( exit $ac_status )
34432 wx_cv_func_snprintf_pos_params=yes
34433 fi
34434 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34435 fi
34436
34437
34438
34439
34440 fi
34441 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34442 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34443
34444 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34445 cat >>confdefs.h <<\_ACEOF
34446 #define HAVE_UNIX98_PRINTF 1
34447 _ACEOF
34448
34449 fi
34450 fi
34451 fi
34452
34453 if test "$wxUSE_UNICODE" = yes; then
34454
34455
34456 for ac_func in swprintf
34457 do
34458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34459 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34462 echo $ECHO_N "(cached) $ECHO_C" >&6
34463 else
34464 cat >conftest.$ac_ext <<_ACEOF
34465 /* confdefs.h. */
34466 _ACEOF
34467 cat confdefs.h >>conftest.$ac_ext
34468 cat >>conftest.$ac_ext <<_ACEOF
34469 /* end confdefs.h. */
34470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34472 #define $ac_func innocuous_$ac_func
34473
34474 /* System header to define __stub macros and hopefully few prototypes,
34475 which can conflict with char $ac_func (); below.
34476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34477 <limits.h> exists even on freestanding compilers. */
34478
34479 #ifdef __STDC__
34480 # include <limits.h>
34481 #else
34482 # include <assert.h>
34483 #endif
34484
34485 #undef $ac_func
34486
34487 /* Override any GCC internal prototype to avoid an error.
34488 Use char because int might match the return type of a GCC
34489 builtin and then its argument prototype would still apply. */
34490 #ifdef __cplusplus
34491 extern "C"
34492 #endif
34493 char $ac_func ();
34494 /* The GNU C library defines this for functions which it implements
34495 to always fail with ENOSYS. Some functions are actually named
34496 something starting with __ and the normal name is an alias. */
34497 #if defined __stub_$ac_func || defined __stub___$ac_func
34498 choke me
34499 #endif
34500
34501 int
34502 main ()
34503 {
34504 return $ac_func ();
34505 ;
34506 return 0;
34507 }
34508 _ACEOF
34509 rm -f conftest.$ac_objext conftest$ac_exeext
34510 if { (ac_try="$ac_link"
34511 case "(($ac_try" in
34512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34513 *) ac_try_echo=$ac_try;;
34514 esac
34515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34516 (eval "$ac_link") 2>conftest.er1
34517 ac_status=$?
34518 grep -v '^ *+' conftest.er1 >conftest.err
34519 rm -f conftest.er1
34520 cat conftest.err >&5
34521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34522 (exit $ac_status); } && {
34523 test -z "$ac_c_werror_flag" ||
34524 test ! -s conftest.err
34525 } && test -s conftest$ac_exeext &&
34526 $as_test_x conftest$ac_exeext; then
34527 eval "$as_ac_var=yes"
34528 else
34529 echo "$as_me: failed program was:" >&5
34530 sed 's/^/| /' conftest.$ac_ext >&5
34531
34532 eval "$as_ac_var=no"
34533 fi
34534
34535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34536 conftest$ac_exeext conftest.$ac_ext
34537 fi
34538 ac_res=`eval echo '${'$as_ac_var'}'`
34539 { echo "$as_me:$LINENO: result: $ac_res" >&5
34540 echo "${ECHO_T}$ac_res" >&6; }
34541 if test `eval echo '${'$as_ac_var'}'` = yes; then
34542 cat >>confdefs.h <<_ACEOF
34543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34544 _ACEOF
34545
34546 fi
34547 done
34548
34549
34550 if test "$ac_cv_func_swprintf" = "yes"; then
34551 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34552 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34553 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34554 echo $ECHO_N "(cached) $ECHO_C" >&6
34555 else
34556
34557 cat >conftest.$ac_ext <<_ACEOF
34558 /* confdefs.h. */
34559 _ACEOF
34560 cat confdefs.h >>conftest.$ac_ext
34561 cat >>conftest.$ac_ext <<_ACEOF
34562 /* end confdefs.h. */
34563
34564 #include <stdio.h>
34565 #include <stdarg.h>
34566 #include <wchar.h>
34567
34568 int
34569 main ()
34570 {
34571
34572 wchar_t *buf;
34573 const wchar_t *fmt = L"test";
34574 swprintf(buf, 10u, fmt);
34575
34576 ;
34577 return 0;
34578 }
34579 _ACEOF
34580 rm -f conftest.$ac_objext
34581 if { (ac_try="$ac_compile"
34582 case "(($ac_try" in
34583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34584 *) ac_try_echo=$ac_try;;
34585 esac
34586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34587 (eval "$ac_compile") 2>conftest.er1
34588 ac_status=$?
34589 grep -v '^ *+' conftest.er1 >conftest.err
34590 rm -f conftest.er1
34591 cat conftest.err >&5
34592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34593 (exit $ac_status); } && {
34594 test -z "$ac_c_werror_flag" ||
34595 test ! -s conftest.err
34596 } && test -s conftest.$ac_objext; then
34597 wx_cv_func_broken_swprintf_decl=no
34598 else
34599 echo "$as_me: failed program was:" >&5
34600 sed 's/^/| /' conftest.$ac_ext >&5
34601
34602 wx_cv_func_broken_swprintf_decl=yes
34603
34604 fi
34605
34606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34607
34608
34609 fi
34610 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34611 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34612
34613 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34614 cat >>confdefs.h <<\_ACEOF
34615 #define HAVE_BROKEN_SWPRINTF_DECL 1
34616 _ACEOF
34617
34618 fi
34619 fi
34620
34621 wchar_headers="#include <stdio.h>
34622 #include <wchar.h>"
34623 case "${host}" in
34624 *-*-solaris2* )
34625 { echo "$as_me:$LINENO: checking for widec.h" >&5
34626 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34627 if test "${ac_cv_header_widec_h+set}" = set; then
34628 echo $ECHO_N "(cached) $ECHO_C" >&6
34629 else
34630 cat >conftest.$ac_ext <<_ACEOF
34631 /* confdefs.h. */
34632 _ACEOF
34633 cat confdefs.h >>conftest.$ac_ext
34634 cat >>conftest.$ac_ext <<_ACEOF
34635 /* end confdefs.h. */
34636 $ac_includes_default
34637
34638 #include <widec.h>
34639 _ACEOF
34640 rm -f conftest.$ac_objext
34641 if { (ac_try="$ac_compile"
34642 case "(($ac_try" in
34643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34644 *) ac_try_echo=$ac_try;;
34645 esac
34646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34647 (eval "$ac_compile") 2>conftest.er1
34648 ac_status=$?
34649 grep -v '^ *+' conftest.er1 >conftest.err
34650 rm -f conftest.er1
34651 cat conftest.err >&5
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); } && {
34654 test -z "$ac_c_werror_flag" ||
34655 test ! -s conftest.err
34656 } && test -s conftest.$ac_objext; then
34657 ac_cv_header_widec_h=yes
34658 else
34659 echo "$as_me: failed program was:" >&5
34660 sed 's/^/| /' conftest.$ac_ext >&5
34661
34662 ac_cv_header_widec_h=no
34663 fi
34664
34665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34666 fi
34667 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34668 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34669
34670
34671 if test "$ac_cv_header_widec_h" = "yes"; then
34672 wchar_headers="$wchar_headers
34673 #include <widec.h>"
34674 fi
34675 esac
34676
34677
34678 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34679 do
34680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34682 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34683 echo $ECHO_N "(cached) $ECHO_C" >&6
34684 else
34685
34686 cat >conftest.$ac_ext <<_ACEOF
34687
34688 /* confdefs.h. */
34689 _ACEOF
34690 cat confdefs.h >>conftest.$ac_ext
34691 cat >>conftest.$ac_ext <<_ACEOF
34692 /* end confdefs.h. */
34693
34694 $wchar_headers
34695 $ac_includes_default
34696
34697 int
34698 main ()
34699 {
34700
34701 #ifndef $wx_func
34702 &$wx_func;
34703 #endif
34704
34705
34706 ;
34707 return 0;
34708 }
34709
34710 _ACEOF
34711 rm -f conftest.$ac_objext conftest$ac_exeext
34712 if { (ac_try="$ac_link"
34713 case "(($ac_try" in
34714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34715 *) ac_try_echo=$ac_try;;
34716 esac
34717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34718 (eval "$ac_link") 2>conftest.er1
34719 ac_status=$?
34720 grep -v '^ *+' conftest.er1 >conftest.err
34721 rm -f conftest.er1
34722 cat conftest.err >&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); } && {
34725 test -z "$ac_c_werror_flag" ||
34726 test ! -s conftest.err
34727 } && test -s conftest$ac_exeext &&
34728 $as_test_x conftest$ac_exeext; then
34729 eval wx_cv_func_$wx_func=yes
34730 else
34731 echo "$as_me: failed program was:" >&5
34732 sed 's/^/| /' conftest.$ac_ext >&5
34733
34734 eval wx_cv_func_$wx_func=no
34735 fi
34736
34737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34738 conftest$ac_exeext conftest.$ac_ext
34739
34740 fi
34741 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34742 { echo "$as_me:$LINENO: result: $ac_res" >&5
34743 echo "${ECHO_T}$ac_res" >&6; }
34744
34745 if eval test \$wx_cv_func_$wx_func = yes
34746 then
34747 cat >>confdefs.h <<_ACEOF
34748 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34749 _ACEOF
34750
34751
34752 else
34753 :
34754
34755 fi
34756 done
34757
34758
34759 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34760 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34761 cat >conftest.$ac_ext <<_ACEOF
34762 /* confdefs.h. */
34763 _ACEOF
34764 cat confdefs.h >>conftest.$ac_ext
34765 cat >>conftest.$ac_ext <<_ACEOF
34766 /* end confdefs.h. */
34767 #include <wchar.h>
34768 int
34769 main ()
34770 {
34771 &_vsnwprintf;
34772 ;
34773 return 0;
34774 }
34775 _ACEOF
34776 rm -f conftest.$ac_objext
34777 if { (ac_try="$ac_compile"
34778 case "(($ac_try" in
34779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34780 *) ac_try_echo=$ac_try;;
34781 esac
34782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34783 (eval "$ac_compile") 2>conftest.er1
34784 ac_status=$?
34785 grep -v '^ *+' conftest.er1 >conftest.err
34786 rm -f conftest.er1
34787 cat conftest.err >&5
34788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34789 (exit $ac_status); } && {
34790 test -z "$ac_c_werror_flag" ||
34791 test ! -s conftest.err
34792 } && test -s conftest.$ac_objext; then
34793 { echo "$as_me:$LINENO: result: yes" >&5
34794 echo "${ECHO_T}yes" >&6; }
34795 cat >>confdefs.h <<\_ACEOF
34796 #define HAVE__VSNWPRINTF 1
34797 _ACEOF
34798
34799 else
34800 echo "$as_me: failed program was:" >&5
34801 sed 's/^/| /' conftest.$ac_ext >&5
34802
34803 { echo "$as_me:$LINENO: result: no" >&5
34804 echo "${ECHO_T}no" >&6; }
34805 fi
34806
34807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34808 fi
34809
34810 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34811
34812 for wx_func in fnmatch
34813 do
34814 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34815 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34816 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34817 echo $ECHO_N "(cached) $ECHO_C" >&6
34818 else
34819
34820 cat >conftest.$ac_ext <<_ACEOF
34821
34822 /* confdefs.h. */
34823 _ACEOF
34824 cat confdefs.h >>conftest.$ac_ext
34825 cat >>conftest.$ac_ext <<_ACEOF
34826 /* end confdefs.h. */
34827
34828 #include <fnmatch.h>
34829 $ac_includes_default
34830
34831 int
34832 main ()
34833 {
34834
34835 #ifndef $wx_func
34836 &$wx_func;
34837 #endif
34838
34839
34840 ;
34841 return 0;
34842 }
34843
34844 _ACEOF
34845 rm -f conftest.$ac_objext conftest$ac_exeext
34846 if { (ac_try="$ac_link"
34847 case "(($ac_try" in
34848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34849 *) ac_try_echo=$ac_try;;
34850 esac
34851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34852 (eval "$ac_link") 2>conftest.er1
34853 ac_status=$?
34854 grep -v '^ *+' conftest.er1 >conftest.err
34855 rm -f conftest.er1
34856 cat conftest.err >&5
34857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34858 (exit $ac_status); } && {
34859 test -z "$ac_c_werror_flag" ||
34860 test ! -s conftest.err
34861 } && test -s conftest$ac_exeext &&
34862 $as_test_x conftest$ac_exeext; then
34863 eval wx_cv_func_$wx_func=yes
34864 else
34865 echo "$as_me: failed program was:" >&5
34866 sed 's/^/| /' conftest.$ac_ext >&5
34867
34868 eval wx_cv_func_$wx_func=no
34869 fi
34870
34871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34872 conftest$ac_exeext conftest.$ac_ext
34873
34874 fi
34875 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34876 { echo "$as_me:$LINENO: result: $ac_res" >&5
34877 echo "${ECHO_T}$ac_res" >&6; }
34878
34879 if eval test \$wx_cv_func_$wx_func = yes
34880 then
34881 cat >>confdefs.h <<_ACEOF
34882 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34883 _ACEOF
34884
34885
34886 else
34887 :
34888
34889 fi
34890 done
34891
34892 fi
34893
34894 if test "$wxUSE_FILE" = "yes"; then
34895
34896 for wx_func in fsync
34897 do
34898 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34899 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34900 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34902 else
34903
34904 cat >conftest.$ac_ext <<_ACEOF
34905
34906 /* confdefs.h. */
34907 _ACEOF
34908 cat confdefs.h >>conftest.$ac_ext
34909 cat >>conftest.$ac_ext <<_ACEOF
34910 /* end confdefs.h. */
34911
34912
34913 $ac_includes_default
34914
34915 int
34916 main ()
34917 {
34918
34919 #ifndef $wx_func
34920 &$wx_func;
34921 #endif
34922
34923
34924 ;
34925 return 0;
34926 }
34927
34928 _ACEOF
34929 rm -f conftest.$ac_objext conftest$ac_exeext
34930 if { (ac_try="$ac_link"
34931 case "(($ac_try" in
34932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34933 *) ac_try_echo=$ac_try;;
34934 esac
34935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34936 (eval "$ac_link") 2>conftest.er1
34937 ac_status=$?
34938 grep -v '^ *+' conftest.er1 >conftest.err
34939 rm -f conftest.er1
34940 cat conftest.err >&5
34941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34942 (exit $ac_status); } && {
34943 test -z "$ac_c_werror_flag" ||
34944 test ! -s conftest.err
34945 } && test -s conftest$ac_exeext &&
34946 $as_test_x conftest$ac_exeext; then
34947 eval wx_cv_func_$wx_func=yes
34948 else
34949 echo "$as_me: failed program was:" >&5
34950 sed 's/^/| /' conftest.$ac_ext >&5
34951
34952 eval wx_cv_func_$wx_func=no
34953 fi
34954
34955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34956 conftest$ac_exeext conftest.$ac_ext
34957
34958 fi
34959 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34960 { echo "$as_me:$LINENO: result: $ac_res" >&5
34961 echo "${ECHO_T}$ac_res" >&6; }
34962
34963 if eval test \$wx_cv_func_$wx_func = yes
34964 then
34965 cat >>confdefs.h <<_ACEOF
34966 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34967 _ACEOF
34968
34969
34970 else
34971 :
34972
34973 fi
34974 done
34975
34976 fi
34977
34978
34979 for wx_func in round
34980 do
34981 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34982 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34983 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34984 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 else
34986
34987 cat >conftest.$ac_ext <<_ACEOF
34988
34989 /* confdefs.h. */
34990 _ACEOF
34991 cat confdefs.h >>conftest.$ac_ext
34992 cat >>conftest.$ac_ext <<_ACEOF
34993 /* end confdefs.h. */
34994
34995 #include <math.h>
34996 $ac_includes_default
34997
34998 int
34999 main ()
35000 {
35001
35002 #ifndef $wx_func
35003 &$wx_func;
35004 #endif
35005
35006
35007 ;
35008 return 0;
35009 }
35010
35011 _ACEOF
35012 rm -f conftest.$ac_objext conftest$ac_exeext
35013 if { (ac_try="$ac_link"
35014 case "(($ac_try" in
35015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35016 *) ac_try_echo=$ac_try;;
35017 esac
35018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35019 (eval "$ac_link") 2>conftest.er1
35020 ac_status=$?
35021 grep -v '^ *+' conftest.er1 >conftest.err
35022 rm -f conftest.er1
35023 cat conftest.err >&5
35024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35025 (exit $ac_status); } && {
35026 test -z "$ac_c_werror_flag" ||
35027 test ! -s conftest.err
35028 } && test -s conftest$ac_exeext &&
35029 $as_test_x conftest$ac_exeext; then
35030 eval wx_cv_func_$wx_func=yes
35031 else
35032 echo "$as_me: failed program was:" >&5
35033 sed 's/^/| /' conftest.$ac_ext >&5
35034
35035 eval wx_cv_func_$wx_func=no
35036 fi
35037
35038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35039 conftest$ac_exeext conftest.$ac_ext
35040
35041 fi
35042 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35043 { echo "$as_me:$LINENO: result: $ac_res" >&5
35044 echo "${ECHO_T}$ac_res" >&6; }
35045
35046 if eval test \$wx_cv_func_$wx_func = yes
35047 then
35048 cat >>confdefs.h <<_ACEOF
35049 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35050 _ACEOF
35051
35052
35053 else
35054 :
35055
35056 fi
35057 done
35058
35059
35060 if test "$TOOLKIT" != "MSW"; then
35061
35062
35063
35064
35065
35066 # Check whether --with-libiconv-prefix was given.
35067 if test "${with_libiconv_prefix+set}" = set; then
35068 withval=$with_libiconv_prefix;
35069 for dir in `echo "$withval" | tr : ' '`; do
35070 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35071 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35072 done
35073
35074 fi
35075
35076
35077 { echo "$as_me:$LINENO: checking for iconv" >&5
35078 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35079 if test "${am_cv_func_iconv+set}" = set; then
35080 echo $ECHO_N "(cached) $ECHO_C" >&6
35081 else
35082
35083 am_cv_func_iconv="no, consider installing GNU libiconv"
35084 am_cv_lib_iconv=no
35085 cat >conftest.$ac_ext <<_ACEOF
35086 /* confdefs.h. */
35087 _ACEOF
35088 cat confdefs.h >>conftest.$ac_ext
35089 cat >>conftest.$ac_ext <<_ACEOF
35090 /* end confdefs.h. */
35091 #include <stdlib.h>
35092 #include <iconv.h>
35093 int
35094 main ()
35095 {
35096 iconv_t cd = iconv_open("","");
35097 iconv(cd,NULL,NULL,NULL,NULL);
35098 iconv_close(cd);
35099 ;
35100 return 0;
35101 }
35102 _ACEOF
35103 rm -f conftest.$ac_objext conftest$ac_exeext
35104 if { (ac_try="$ac_link"
35105 case "(($ac_try" in
35106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35107 *) ac_try_echo=$ac_try;;
35108 esac
35109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35110 (eval "$ac_link") 2>conftest.er1
35111 ac_status=$?
35112 grep -v '^ *+' conftest.er1 >conftest.err
35113 rm -f conftest.er1
35114 cat conftest.err >&5
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); } && {
35117 test -z "$ac_c_werror_flag" ||
35118 test ! -s conftest.err
35119 } && test -s conftest$ac_exeext &&
35120 $as_test_x conftest$ac_exeext; then
35121 am_cv_func_iconv=yes
35122 else
35123 echo "$as_me: failed program was:" >&5
35124 sed 's/^/| /' conftest.$ac_ext >&5
35125
35126
35127 fi
35128
35129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35130 conftest$ac_exeext conftest.$ac_ext
35131 if test "$am_cv_func_iconv" != yes; then
35132 am_save_LIBS="$LIBS"
35133 LIBS="$LIBS -liconv"
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 #include <stdlib.h>
35141 #include <iconv.h>
35142 int
35143 main ()
35144 {
35145 iconv_t cd = iconv_open("","");
35146 iconv(cd,NULL,NULL,NULL,NULL);
35147 iconv_close(cd);
35148 ;
35149 return 0;
35150 }
35151 _ACEOF
35152 rm -f conftest.$ac_objext conftest$ac_exeext
35153 if { (ac_try="$ac_link"
35154 case "(($ac_try" in
35155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35156 *) ac_try_echo=$ac_try;;
35157 esac
35158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35159 (eval "$ac_link") 2>conftest.er1
35160 ac_status=$?
35161 grep -v '^ *+' conftest.er1 >conftest.err
35162 rm -f conftest.er1
35163 cat conftest.err >&5
35164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35165 (exit $ac_status); } && {
35166 test -z "$ac_c_werror_flag" ||
35167 test ! -s conftest.err
35168 } && test -s conftest$ac_exeext &&
35169 $as_test_x conftest$ac_exeext; then
35170 am_cv_lib_iconv=yes
35171 am_cv_func_iconv=yes
35172 else
35173 echo "$as_me: failed program was:" >&5
35174 sed 's/^/| /' conftest.$ac_ext >&5
35175
35176
35177 fi
35178
35179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35180 conftest$ac_exeext conftest.$ac_ext
35181 LIBS="$am_save_LIBS"
35182 fi
35183
35184 fi
35185 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35186 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35187 if test "$am_cv_func_iconv" = yes; then
35188
35189 cat >>confdefs.h <<\_ACEOF
35190 #define HAVE_ICONV 1
35191 _ACEOF
35192
35193 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35194 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35195 if test "${wx_cv_func_iconv_const+set}" = set; then
35196 echo $ECHO_N "(cached) $ECHO_C" >&6
35197 else
35198 cat >conftest.$ac_ext <<_ACEOF
35199 /* confdefs.h. */
35200 _ACEOF
35201 cat confdefs.h >>conftest.$ac_ext
35202 cat >>conftest.$ac_ext <<_ACEOF
35203 /* end confdefs.h. */
35204
35205 #include <stdlib.h>
35206 #include <iconv.h>
35207 extern
35208 #ifdef __cplusplus
35209 "C"
35210 #endif
35211 #if defined(__STDC__) || defined(__cplusplus)
35212 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35213 #else
35214 size_t iconv();
35215 #endif
35216
35217 int
35218 main ()
35219 {
35220
35221 ;
35222 return 0;
35223 }
35224 _ACEOF
35225 rm -f conftest.$ac_objext
35226 if { (ac_try="$ac_compile"
35227 case "(($ac_try" in
35228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35229 *) ac_try_echo=$ac_try;;
35230 esac
35231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35232 (eval "$ac_compile") 2>conftest.er1
35233 ac_status=$?
35234 grep -v '^ *+' conftest.er1 >conftest.err
35235 rm -f conftest.er1
35236 cat conftest.err >&5
35237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35238 (exit $ac_status); } && {
35239 test -z "$ac_c_werror_flag" ||
35240 test ! -s conftest.err
35241 } && test -s conftest.$ac_objext; then
35242 wx_cv_func_iconv_const="no"
35243 else
35244 echo "$as_me: failed program was:" >&5
35245 sed 's/^/| /' conftest.$ac_ext >&5
35246
35247 wx_cv_func_iconv_const="yes"
35248
35249 fi
35250
35251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35252
35253 fi
35254 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35255 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35256
35257 iconv_const=
35258 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35259 iconv_const="const"
35260 fi
35261
35262
35263 cat >>confdefs.h <<_ACEOF
35264 #define ICONV_CONST $iconv_const
35265 _ACEOF
35266
35267 fi
35268 LIBICONV=
35269 if test "$am_cv_lib_iconv" = yes; then
35270 LIBICONV="-liconv"
35271 fi
35272
35273
35274 LIBS="$LIBICONV $LIBS"
35275
35276 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35277
35278 for ac_func in sigaction
35279 do
35280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35283 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35284 echo $ECHO_N "(cached) $ECHO_C" >&6
35285 else
35286 cat >conftest.$ac_ext <<_ACEOF
35287 /* confdefs.h. */
35288 _ACEOF
35289 cat confdefs.h >>conftest.$ac_ext
35290 cat >>conftest.$ac_ext <<_ACEOF
35291 /* end confdefs.h. */
35292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35294 #define $ac_func innocuous_$ac_func
35295
35296 /* System header to define __stub macros and hopefully few prototypes,
35297 which can conflict with char $ac_func (); below.
35298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35299 <limits.h> exists even on freestanding compilers. */
35300
35301 #ifdef __STDC__
35302 # include <limits.h>
35303 #else
35304 # include <assert.h>
35305 #endif
35306
35307 #undef $ac_func
35308
35309 /* Override any GCC internal prototype to avoid an error.
35310 Use char because int might match the return type of a GCC
35311 builtin and then its argument prototype would still apply. */
35312 #ifdef __cplusplus
35313 extern "C"
35314 #endif
35315 char $ac_func ();
35316 /* The GNU C library defines this for functions which it implements
35317 to always fail with ENOSYS. Some functions are actually named
35318 something starting with __ and the normal name is an alias. */
35319 #if defined __stub_$ac_func || defined __stub___$ac_func
35320 choke me
35321 #endif
35322
35323 int
35324 main ()
35325 {
35326 return $ac_func ();
35327 ;
35328 return 0;
35329 }
35330 _ACEOF
35331 rm -f conftest.$ac_objext conftest$ac_exeext
35332 if { (ac_try="$ac_link"
35333 case "(($ac_try" in
35334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35335 *) ac_try_echo=$ac_try;;
35336 esac
35337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35338 (eval "$ac_link") 2>conftest.er1
35339 ac_status=$?
35340 grep -v '^ *+' conftest.er1 >conftest.err
35341 rm -f conftest.er1
35342 cat conftest.err >&5
35343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35344 (exit $ac_status); } && {
35345 test -z "$ac_c_werror_flag" ||
35346 test ! -s conftest.err
35347 } && test -s conftest$ac_exeext &&
35348 $as_test_x conftest$ac_exeext; then
35349 eval "$as_ac_var=yes"
35350 else
35351 echo "$as_me: failed program was:" >&5
35352 sed 's/^/| /' conftest.$ac_ext >&5
35353
35354 eval "$as_ac_var=no"
35355 fi
35356
35357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35358 conftest$ac_exeext conftest.$ac_ext
35359 fi
35360 ac_res=`eval echo '${'$as_ac_var'}'`
35361 { echo "$as_me:$LINENO: result: $ac_res" >&5
35362 echo "${ECHO_T}$ac_res" >&6; }
35363 if test `eval echo '${'$as_ac_var'}'` = yes; then
35364 cat >>confdefs.h <<_ACEOF
35365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35366 _ACEOF
35367
35368 fi
35369 done
35370
35371
35372 if test "$ac_cv_func_sigaction" = "no"; then
35373 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35374 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35375 wxUSE_ON_FATAL_EXCEPTION=no
35376 fi
35377
35378 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35379 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35380 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35381 if test "${wx_cv_type_sa_handler+set}" = set; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 else
35384
35385 ac_ext=cpp
35386 ac_cpp='$CXXCPP $CPPFLAGS'
35387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35390
35391 cat >conftest.$ac_ext <<_ACEOF
35392 /* confdefs.h. */
35393 _ACEOF
35394 cat confdefs.h >>conftest.$ac_ext
35395 cat >>conftest.$ac_ext <<_ACEOF
35396 /* end confdefs.h. */
35397 #include <signal.h>
35398 int
35399 main ()
35400 {
35401
35402 extern void testSigHandler(int);
35403
35404 struct sigaction sa;
35405 sa.sa_handler = testSigHandler;
35406
35407 ;
35408 return 0;
35409 }
35410 _ACEOF
35411 rm -f conftest.$ac_objext
35412 if { (ac_try="$ac_compile"
35413 case "(($ac_try" in
35414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35415 *) ac_try_echo=$ac_try;;
35416 esac
35417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35418 (eval "$ac_compile") 2>conftest.er1
35419 ac_status=$?
35420 grep -v '^ *+' conftest.er1 >conftest.err
35421 rm -f conftest.er1
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } && {
35425 test -z "$ac_cxx_werror_flag" ||
35426 test ! -s conftest.err
35427 } && test -s conftest.$ac_objext; then
35428
35429 wx_cv_type_sa_handler=int
35430
35431 else
35432 echo "$as_me: failed program was:" >&5
35433 sed 's/^/| /' conftest.$ac_ext >&5
35434
35435
35436 wx_cv_type_sa_handler=void
35437
35438 fi
35439
35440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35441 ac_ext=c
35442 ac_cpp='$CPP $CPPFLAGS'
35443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35446
35447
35448 fi
35449 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35450 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35451
35452 cat >>confdefs.h <<_ACEOF
35453 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35454 _ACEOF
35455
35456 fi
35457 fi
35458
35459 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35460 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35461 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35462 if test "${wx_cv_func_backtrace+set}" = set; then
35463 echo $ECHO_N "(cached) $ECHO_C" >&6
35464 else
35465
35466 ac_ext=cpp
35467 ac_cpp='$CXXCPP $CPPFLAGS'
35468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35471
35472 cat >conftest.$ac_ext <<_ACEOF
35473 /* confdefs.h. */
35474 _ACEOF
35475 cat confdefs.h >>conftest.$ac_ext
35476 cat >>conftest.$ac_ext <<_ACEOF
35477 /* end confdefs.h. */
35478 #include <execinfo.h>
35479 int
35480 main ()
35481 {
35482
35483 void *trace[1];
35484 char **messages;
35485
35486 backtrace(trace, 1);
35487 messages = backtrace_symbols(trace, 1);
35488
35489 ;
35490 return 0;
35491 }
35492 _ACEOF
35493 rm -f conftest.$ac_objext
35494 if { (ac_try="$ac_compile"
35495 case "(($ac_try" in
35496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35497 *) ac_try_echo=$ac_try;;
35498 esac
35499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35500 (eval "$ac_compile") 2>conftest.er1
35501 ac_status=$?
35502 grep -v '^ *+' conftest.er1 >conftest.err
35503 rm -f conftest.er1
35504 cat conftest.err >&5
35505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35506 (exit $ac_status); } && {
35507 test -z "$ac_cxx_werror_flag" ||
35508 test ! -s conftest.err
35509 } && test -s conftest.$ac_objext; then
35510 wx_cv_func_backtrace=yes
35511 else
35512 echo "$as_me: failed program was:" >&5
35513 sed 's/^/| /' conftest.$ac_ext >&5
35514
35515 wx_cv_func_backtrace=no
35516
35517 fi
35518
35519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35520 ac_ext=c
35521 ac_cpp='$CPP $CPPFLAGS'
35522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35525
35526
35527
35528 fi
35529 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35530 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35531
35532
35533 if test "$wx_cv_func_backtrace" = "no"; then
35534 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35535 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35536 wxUSE_STACKWALKER=no
35537 else
35538 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35539 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35540 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35541 echo $ECHO_N "(cached) $ECHO_C" >&6
35542 else
35543
35544 ac_ext=cpp
35545 ac_cpp='$CXXCPP $CPPFLAGS'
35546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35549
35550 cat >conftest.$ac_ext <<_ACEOF
35551 /* confdefs.h. */
35552 _ACEOF
35553 cat confdefs.h >>conftest.$ac_ext
35554 cat >>conftest.$ac_ext <<_ACEOF
35555 /* end confdefs.h. */
35556 #include <cxxabi.h>
35557 int
35558 main ()
35559 {
35560
35561 int rc;
35562 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35563
35564 ;
35565 return 0;
35566 }
35567 _ACEOF
35568 rm -f conftest.$ac_objext conftest$ac_exeext
35569 if { (ac_try="$ac_link"
35570 case "(($ac_try" in
35571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35572 *) ac_try_echo=$ac_try;;
35573 esac
35574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35575 (eval "$ac_link") 2>conftest.er1
35576 ac_status=$?
35577 grep -v '^ *+' conftest.er1 >conftest.err
35578 rm -f conftest.er1
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } && {
35582 test -z "$ac_cxx_werror_flag" ||
35583 test ! -s conftest.err
35584 } && test -s conftest$ac_exeext &&
35585 $as_test_x conftest$ac_exeext; then
35586 wx_cv_func_cxa_demangle=yes
35587 else
35588 echo "$as_me: failed program was:" >&5
35589 sed 's/^/| /' conftest.$ac_ext >&5
35590
35591 wx_cv_func_cxa_demangle=no
35592
35593 fi
35594
35595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35596 conftest$ac_exeext conftest.$ac_ext
35597 ac_ext=c
35598 ac_cpp='$CPP $CPPFLAGS'
35599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35602
35603
35604
35605 fi
35606 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35607 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35608
35609 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35610 cat >>confdefs.h <<\_ACEOF
35611 #define HAVE_CXA_DEMANGLE 1
35612 _ACEOF
35613
35614 fi
35615 fi
35616 fi
35617
35618 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35619 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35620 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35621 wxUSE_STACKWALKER=no
35622 fi
35623
35624
35625
35626
35627 for ac_func in mkstemp mktemp
35628 do
35629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35630 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35632 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35633 echo $ECHO_N "(cached) $ECHO_C" >&6
35634 else
35635 cat >conftest.$ac_ext <<_ACEOF
35636 /* confdefs.h. */
35637 _ACEOF
35638 cat confdefs.h >>conftest.$ac_ext
35639 cat >>conftest.$ac_ext <<_ACEOF
35640 /* end confdefs.h. */
35641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35643 #define $ac_func innocuous_$ac_func
35644
35645 /* System header to define __stub macros and hopefully few prototypes,
35646 which can conflict with char $ac_func (); below.
35647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35648 <limits.h> exists even on freestanding compilers. */
35649
35650 #ifdef __STDC__
35651 # include <limits.h>
35652 #else
35653 # include <assert.h>
35654 #endif
35655
35656 #undef $ac_func
35657
35658 /* Override any GCC internal prototype to avoid an error.
35659 Use char because int might match the return type of a GCC
35660 builtin and then its argument prototype would still apply. */
35661 #ifdef __cplusplus
35662 extern "C"
35663 #endif
35664 char $ac_func ();
35665 /* The GNU C library defines this for functions which it implements
35666 to always fail with ENOSYS. Some functions are actually named
35667 something starting with __ and the normal name is an alias. */
35668 #if defined __stub_$ac_func || defined __stub___$ac_func
35669 choke me
35670 #endif
35671
35672 int
35673 main ()
35674 {
35675 return $ac_func ();
35676 ;
35677 return 0;
35678 }
35679 _ACEOF
35680 rm -f conftest.$ac_objext conftest$ac_exeext
35681 if { (ac_try="$ac_link"
35682 case "(($ac_try" in
35683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35684 *) ac_try_echo=$ac_try;;
35685 esac
35686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35687 (eval "$ac_link") 2>conftest.er1
35688 ac_status=$?
35689 grep -v '^ *+' conftest.er1 >conftest.err
35690 rm -f conftest.er1
35691 cat conftest.err >&5
35692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35693 (exit $ac_status); } && {
35694 test -z "$ac_c_werror_flag" ||
35695 test ! -s conftest.err
35696 } && test -s conftest$ac_exeext &&
35697 $as_test_x conftest$ac_exeext; then
35698 eval "$as_ac_var=yes"
35699 else
35700 echo "$as_me: failed program was:" >&5
35701 sed 's/^/| /' conftest.$ac_ext >&5
35702
35703 eval "$as_ac_var=no"
35704 fi
35705
35706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35707 conftest$ac_exeext conftest.$ac_ext
35708 fi
35709 ac_res=`eval echo '${'$as_ac_var'}'`
35710 { echo "$as_me:$LINENO: result: $ac_res" >&5
35711 echo "${ECHO_T}$ac_res" >&6; }
35712 if test `eval echo '${'$as_ac_var'}'` = yes; then
35713 cat >>confdefs.h <<_ACEOF
35714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35715 _ACEOF
35716 break
35717 fi
35718 done
35719
35720
35721 { echo "$as_me:$LINENO: checking for statfs" >&5
35722 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35723 if test "${wx_cv_func_statfs+set}" = set; then
35724 echo $ECHO_N "(cached) $ECHO_C" >&6
35725 else
35726 cat >conftest.$ac_ext <<_ACEOF
35727 /* confdefs.h. */
35728 _ACEOF
35729 cat confdefs.h >>conftest.$ac_ext
35730 cat >>conftest.$ac_ext <<_ACEOF
35731 /* end confdefs.h. */
35732
35733 #if defined(__BSD__)
35734 #include <sys/param.h>
35735 #include <sys/mount.h>
35736 #else
35737 #include <sys/vfs.h>
35738 #endif
35739
35740 int
35741 main ()
35742 {
35743
35744 long l;
35745 struct statfs fs;
35746 statfs("/", &fs);
35747 l = fs.f_bsize;
35748 l += fs.f_blocks;
35749 l += fs.f_bavail;
35750
35751 ;
35752 return 0;
35753 }
35754 _ACEOF
35755 rm -f conftest.$ac_objext
35756 if { (ac_try="$ac_compile"
35757 case "(($ac_try" in
35758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35759 *) ac_try_echo=$ac_try;;
35760 esac
35761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35762 (eval "$ac_compile") 2>conftest.er1
35763 ac_status=$?
35764 grep -v '^ *+' conftest.er1 >conftest.err
35765 rm -f conftest.er1
35766 cat conftest.err >&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); } && {
35769 test -z "$ac_c_werror_flag" ||
35770 test ! -s conftest.err
35771 } && test -s conftest.$ac_objext; then
35772 wx_cv_func_statfs=yes
35773 else
35774 echo "$as_me: failed program was:" >&5
35775 sed 's/^/| /' conftest.$ac_ext >&5
35776
35777 wx_cv_func_statfs=no
35778
35779 fi
35780
35781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35782
35783 fi
35784 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35785 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35786
35787 if test "$wx_cv_func_statfs" = "yes"; then
35788 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35789 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35790 if test "${wx_cv_func_statfs_decl+set}" = set; then
35791 echo $ECHO_N "(cached) $ECHO_C" >&6
35792 else
35793 ac_ext=cpp
35794 ac_cpp='$CXXCPP $CPPFLAGS'
35795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35798
35799 cat >conftest.$ac_ext <<_ACEOF
35800 /* confdefs.h. */
35801 _ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h. */
35805
35806 #if defined(__BSD__)
35807 #include <sys/param.h>
35808 #include <sys/mount.h>
35809 #else
35810 #include <sys/vfs.h>
35811 #endif
35812
35813 int
35814 main ()
35815 {
35816
35817 struct statfs fs;
35818 statfs("", &fs);
35819
35820 ;
35821 return 0;
35822 }
35823 _ACEOF
35824 rm -f conftest.$ac_objext
35825 if { (ac_try="$ac_compile"
35826 case "(($ac_try" in
35827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35828 *) ac_try_echo=$ac_try;;
35829 esac
35830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35831 (eval "$ac_compile") 2>conftest.er1
35832 ac_status=$?
35833 grep -v '^ *+' conftest.er1 >conftest.err
35834 rm -f conftest.er1
35835 cat conftest.err >&5
35836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35837 (exit $ac_status); } && {
35838 test -z "$ac_cxx_werror_flag" ||
35839 test ! -s conftest.err
35840 } && test -s conftest.$ac_objext; then
35841 wx_cv_func_statfs_decl=yes
35842 else
35843 echo "$as_me: failed program was:" >&5
35844 sed 's/^/| /' conftest.$ac_ext >&5
35845
35846 wx_cv_func_statfs_decl=no
35847
35848 fi
35849
35850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35851 ac_ext=c
35852 ac_cpp='$CPP $CPPFLAGS'
35853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35856
35857
35858 fi
35859 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35860 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35861
35862 if test "$wx_cv_func_statfs_decl" = "yes"; then
35863 cat >>confdefs.h <<\_ACEOF
35864 #define HAVE_STATFS_DECL 1
35865 _ACEOF
35866
35867 fi
35868
35869 wx_cv_type_statvfs_t="struct statfs"
35870 cat >>confdefs.h <<\_ACEOF
35871 #define HAVE_STATFS 1
35872 _ACEOF
35873
35874 else
35875 { echo "$as_me:$LINENO: checking for statvfs" >&5
35876 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35877 if test "${wx_cv_func_statvfs+set}" = set; then
35878 echo $ECHO_N "(cached) $ECHO_C" >&6
35879 else
35880 cat >conftest.$ac_ext <<_ACEOF
35881 /* confdefs.h. */
35882 _ACEOF
35883 cat confdefs.h >>conftest.$ac_ext
35884 cat >>conftest.$ac_ext <<_ACEOF
35885 /* end confdefs.h. */
35886
35887 #include <stddef.h>
35888 #include <sys/statvfs.h>
35889
35890 int
35891 main ()
35892 {
35893
35894 statvfs("/", NULL);
35895
35896 ;
35897 return 0;
35898 }
35899 _ACEOF
35900 rm -f conftest.$ac_objext
35901 if { (ac_try="$ac_compile"
35902 case "(($ac_try" in
35903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35904 *) ac_try_echo=$ac_try;;
35905 esac
35906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35907 (eval "$ac_compile") 2>conftest.er1
35908 ac_status=$?
35909 grep -v '^ *+' conftest.er1 >conftest.err
35910 rm -f conftest.er1
35911 cat conftest.err >&5
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); } && {
35914 test -z "$ac_c_werror_flag" ||
35915 test ! -s conftest.err
35916 } && test -s conftest.$ac_objext; then
35917 wx_cv_func_statvfs=yes
35918 else
35919 echo "$as_me: failed program was:" >&5
35920 sed 's/^/| /' conftest.$ac_ext >&5
35921
35922 wx_cv_func_statvfs=no
35923
35924 fi
35925
35926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35927
35928 fi
35929 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35930 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35931
35932 if test "$wx_cv_func_statvfs" = "yes"; then
35933 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35934 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35935 if test "${wx_cv_type_statvfs_t+set}" = set; then
35936 echo $ECHO_N "(cached) $ECHO_C" >&6
35937 else
35938 ac_ext=cpp
35939 ac_cpp='$CXXCPP $CPPFLAGS'
35940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35943
35944 cat >conftest.$ac_ext <<_ACEOF
35945 /* confdefs.h. */
35946 _ACEOF
35947 cat confdefs.h >>conftest.$ac_ext
35948 cat >>conftest.$ac_ext <<_ACEOF
35949 /* end confdefs.h. */
35950
35951 #include <sys/statvfs.h>
35952
35953 int
35954 main ()
35955 {
35956
35957 long l;
35958 statvfs_t fs;
35959 statvfs("/", &fs);
35960 l = fs.f_bsize;
35961 l += fs.f_blocks;
35962 l += fs.f_bavail;
35963
35964 ;
35965 return 0;
35966 }
35967 _ACEOF
35968 rm -f conftest.$ac_objext
35969 if { (ac_try="$ac_compile"
35970 case "(($ac_try" in
35971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35972 *) ac_try_echo=$ac_try;;
35973 esac
35974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35975 (eval "$ac_compile") 2>conftest.er1
35976 ac_status=$?
35977 grep -v '^ *+' conftest.er1 >conftest.err
35978 rm -f conftest.er1
35979 cat conftest.err >&5
35980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35981 (exit $ac_status); } && {
35982 test -z "$ac_cxx_werror_flag" ||
35983 test ! -s conftest.err
35984 } && test -s conftest.$ac_objext; then
35985 wx_cv_type_statvfs_t=statvfs_t
35986 else
35987 echo "$as_me: failed program was:" >&5
35988 sed 's/^/| /' conftest.$ac_ext >&5
35989
35990
35991 cat >conftest.$ac_ext <<_ACEOF
35992 /* confdefs.h. */
35993 _ACEOF
35994 cat confdefs.h >>conftest.$ac_ext
35995 cat >>conftest.$ac_ext <<_ACEOF
35996 /* end confdefs.h. */
35997
35998 #include <sys/statvfs.h>
35999
36000 int
36001 main ()
36002 {
36003
36004 long l;
36005 struct statvfs fs;
36006 statvfs("/", &fs);
36007 l = fs.f_bsize;
36008 l += fs.f_blocks;
36009 l += fs.f_bavail;
36010
36011 ;
36012 return 0;
36013 }
36014 _ACEOF
36015 rm -f conftest.$ac_objext
36016 if { (ac_try="$ac_compile"
36017 case "(($ac_try" in
36018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36019 *) ac_try_echo=$ac_try;;
36020 esac
36021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36022 (eval "$ac_compile") 2>conftest.er1
36023 ac_status=$?
36024 grep -v '^ *+' conftest.er1 >conftest.err
36025 rm -f conftest.er1
36026 cat conftest.err >&5
36027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36028 (exit $ac_status); } && {
36029 test -z "$ac_cxx_werror_flag" ||
36030 test ! -s conftest.err
36031 } && test -s conftest.$ac_objext; then
36032 wx_cv_type_statvfs_t="struct statvfs"
36033 else
36034 echo "$as_me: failed program was:" >&5
36035 sed 's/^/| /' conftest.$ac_ext >&5
36036
36037 wx_cv_type_statvfs_t="unknown"
36038
36039 fi
36040
36041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36042
36043
36044 fi
36045
36046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36047 ac_ext=c
36048 ac_cpp='$CPP $CPPFLAGS'
36049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36052
36053
36054 fi
36055 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36056 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36057
36058 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36059 cat >>confdefs.h <<\_ACEOF
36060 #define HAVE_STATVFS 1
36061 _ACEOF
36062
36063 fi
36064 else
36065 wx_cv_type_statvfs_t="unknown"
36066 fi
36067 fi
36068
36069 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36070 cat >>confdefs.h <<_ACEOF
36071 #define WX_STATFS_T $wx_cv_type_statvfs_t
36072 _ACEOF
36073
36074 else
36075 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36076 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36077 fi
36078
36079 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36080
36081
36082 for ac_func in fcntl flock
36083 do
36084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36085 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36088 echo $ECHO_N "(cached) $ECHO_C" >&6
36089 else
36090 cat >conftest.$ac_ext <<_ACEOF
36091 /* confdefs.h. */
36092 _ACEOF
36093 cat confdefs.h >>conftest.$ac_ext
36094 cat >>conftest.$ac_ext <<_ACEOF
36095 /* end confdefs.h. */
36096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36098 #define $ac_func innocuous_$ac_func
36099
36100 /* System header to define __stub macros and hopefully few prototypes,
36101 which can conflict with char $ac_func (); below.
36102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36103 <limits.h> exists even on freestanding compilers. */
36104
36105 #ifdef __STDC__
36106 # include <limits.h>
36107 #else
36108 # include <assert.h>
36109 #endif
36110
36111 #undef $ac_func
36112
36113 /* Override any GCC internal prototype to avoid an error.
36114 Use char because int might match the return type of a GCC
36115 builtin and then its argument prototype would still apply. */
36116 #ifdef __cplusplus
36117 extern "C"
36118 #endif
36119 char $ac_func ();
36120 /* The GNU C library defines this for functions which it implements
36121 to always fail with ENOSYS. Some functions are actually named
36122 something starting with __ and the normal name is an alias. */
36123 #if defined __stub_$ac_func || defined __stub___$ac_func
36124 choke me
36125 #endif
36126
36127 int
36128 main ()
36129 {
36130 return $ac_func ();
36131 ;
36132 return 0;
36133 }
36134 _ACEOF
36135 rm -f conftest.$ac_objext conftest$ac_exeext
36136 if { (ac_try="$ac_link"
36137 case "(($ac_try" in
36138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36139 *) ac_try_echo=$ac_try;;
36140 esac
36141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36142 (eval "$ac_link") 2>conftest.er1
36143 ac_status=$?
36144 grep -v '^ *+' conftest.er1 >conftest.err
36145 rm -f conftest.er1
36146 cat conftest.err >&5
36147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36148 (exit $ac_status); } && {
36149 test -z "$ac_c_werror_flag" ||
36150 test ! -s conftest.err
36151 } && test -s conftest$ac_exeext &&
36152 $as_test_x conftest$ac_exeext; then
36153 eval "$as_ac_var=yes"
36154 else
36155 echo "$as_me: failed program was:" >&5
36156 sed 's/^/| /' conftest.$ac_ext >&5
36157
36158 eval "$as_ac_var=no"
36159 fi
36160
36161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36162 conftest$ac_exeext conftest.$ac_ext
36163 fi
36164 ac_res=`eval echo '${'$as_ac_var'}'`
36165 { echo "$as_me:$LINENO: result: $ac_res" >&5
36166 echo "${ECHO_T}$ac_res" >&6; }
36167 if test `eval echo '${'$as_ac_var'}'` = yes; then
36168 cat >>confdefs.h <<_ACEOF
36169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36170 _ACEOF
36171 break
36172 fi
36173 done
36174
36175
36176 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36177 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36178 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36179 wxUSE_SNGLINST_CHECKER=no
36180 fi
36181 fi
36182
36183
36184 for ac_func in timegm
36185 do
36186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36187 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36189 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36190 echo $ECHO_N "(cached) $ECHO_C" >&6
36191 else
36192 cat >conftest.$ac_ext <<_ACEOF
36193 /* confdefs.h. */
36194 _ACEOF
36195 cat confdefs.h >>conftest.$ac_ext
36196 cat >>conftest.$ac_ext <<_ACEOF
36197 /* end confdefs.h. */
36198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36200 #define $ac_func innocuous_$ac_func
36201
36202 /* System header to define __stub macros and hopefully few prototypes,
36203 which can conflict with char $ac_func (); below.
36204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36205 <limits.h> exists even on freestanding compilers. */
36206
36207 #ifdef __STDC__
36208 # include <limits.h>
36209 #else
36210 # include <assert.h>
36211 #endif
36212
36213 #undef $ac_func
36214
36215 /* Override any GCC internal prototype to avoid an error.
36216 Use char because int might match the return type of a GCC
36217 builtin and then its argument prototype would still apply. */
36218 #ifdef __cplusplus
36219 extern "C"
36220 #endif
36221 char $ac_func ();
36222 /* The GNU C library defines this for functions which it implements
36223 to always fail with ENOSYS. Some functions are actually named
36224 something starting with __ and the normal name is an alias. */
36225 #if defined __stub_$ac_func || defined __stub___$ac_func
36226 choke me
36227 #endif
36228
36229 int
36230 main ()
36231 {
36232 return $ac_func ();
36233 ;
36234 return 0;
36235 }
36236 _ACEOF
36237 rm -f conftest.$ac_objext conftest$ac_exeext
36238 if { (ac_try="$ac_link"
36239 case "(($ac_try" in
36240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36241 *) ac_try_echo=$ac_try;;
36242 esac
36243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36244 (eval "$ac_link") 2>conftest.er1
36245 ac_status=$?
36246 grep -v '^ *+' conftest.er1 >conftest.err
36247 rm -f conftest.er1
36248 cat conftest.err >&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); } && {
36251 test -z "$ac_c_werror_flag" ||
36252 test ! -s conftest.err
36253 } && test -s conftest$ac_exeext &&
36254 $as_test_x conftest$ac_exeext; then
36255 eval "$as_ac_var=yes"
36256 else
36257 echo "$as_me: failed program was:" >&5
36258 sed 's/^/| /' conftest.$ac_ext >&5
36259
36260 eval "$as_ac_var=no"
36261 fi
36262
36263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36264 conftest$ac_exeext conftest.$ac_ext
36265 fi
36266 ac_res=`eval echo '${'$as_ac_var'}'`
36267 { echo "$as_me:$LINENO: result: $ac_res" >&5
36268 echo "${ECHO_T}$ac_res" >&6; }
36269 if test `eval echo '${'$as_ac_var'}'` = yes; then
36270 cat >>confdefs.h <<_ACEOF
36271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36272 _ACEOF
36273
36274 fi
36275 done
36276
36277
36278
36279
36280 for ac_func in putenv setenv
36281 do
36282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36283 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36285 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36286 echo $ECHO_N "(cached) $ECHO_C" >&6
36287 else
36288 cat >conftest.$ac_ext <<_ACEOF
36289 /* confdefs.h. */
36290 _ACEOF
36291 cat confdefs.h >>conftest.$ac_ext
36292 cat >>conftest.$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36296 #define $ac_func innocuous_$ac_func
36297
36298 /* System header to define __stub macros and hopefully few prototypes,
36299 which can conflict with char $ac_func (); below.
36300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36301 <limits.h> exists even on freestanding compilers. */
36302
36303 #ifdef __STDC__
36304 # include <limits.h>
36305 #else
36306 # include <assert.h>
36307 #endif
36308
36309 #undef $ac_func
36310
36311 /* Override any GCC internal prototype to avoid an error.
36312 Use char because int might match the return type of a GCC
36313 builtin and then its argument prototype would still apply. */
36314 #ifdef __cplusplus
36315 extern "C"
36316 #endif
36317 char $ac_func ();
36318 /* The GNU C library defines this for functions which it implements
36319 to always fail with ENOSYS. Some functions are actually named
36320 something starting with __ and the normal name is an alias. */
36321 #if defined __stub_$ac_func || defined __stub___$ac_func
36322 choke me
36323 #endif
36324
36325 int
36326 main ()
36327 {
36328 return $ac_func ();
36329 ;
36330 return 0;
36331 }
36332 _ACEOF
36333 rm -f conftest.$ac_objext conftest$ac_exeext
36334 if { (ac_try="$ac_link"
36335 case "(($ac_try" in
36336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36337 *) ac_try_echo=$ac_try;;
36338 esac
36339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36340 (eval "$ac_link") 2>conftest.er1
36341 ac_status=$?
36342 grep -v '^ *+' conftest.er1 >conftest.err
36343 rm -f conftest.er1
36344 cat conftest.err >&5
36345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36346 (exit $ac_status); } && {
36347 test -z "$ac_c_werror_flag" ||
36348 test ! -s conftest.err
36349 } && test -s conftest$ac_exeext &&
36350 $as_test_x conftest$ac_exeext; then
36351 eval "$as_ac_var=yes"
36352 else
36353 echo "$as_me: failed program was:" >&5
36354 sed 's/^/| /' conftest.$ac_ext >&5
36355
36356 eval "$as_ac_var=no"
36357 fi
36358
36359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36360 conftest$ac_exeext conftest.$ac_ext
36361 fi
36362 ac_res=`eval echo '${'$as_ac_var'}'`
36363 { echo "$as_me:$LINENO: result: $ac_res" >&5
36364 echo "${ECHO_T}$ac_res" >&6; }
36365 if test `eval echo '${'$as_ac_var'}'` = yes; then
36366 cat >>confdefs.h <<_ACEOF
36367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36368 _ACEOF
36369 break
36370 fi
36371 done
36372
36373
36374 HAVE_SOME_SLEEP_FUNC=0
36375 if test "$USE_BEOS" = 1; then
36376 cat >>confdefs.h <<\_ACEOF
36377 #define HAVE_SLEEP 1
36378 _ACEOF
36379
36380 HAVE_SOME_SLEEP_FUNC=1
36381 fi
36382
36383 if test "$USE_DARWIN" = 1; then
36384 cat >>confdefs.h <<\_ACEOF
36385 #define HAVE_USLEEP 1
36386 _ACEOF
36387
36388 HAVE_SOME_SLEEP_FUNC=1
36389 fi
36390
36391 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36392 POSIX4_LINK=
36393
36394 for ac_func in nanosleep
36395 do
36396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36397 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36399 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36400 echo $ECHO_N "(cached) $ECHO_C" >&6
36401 else
36402 cat >conftest.$ac_ext <<_ACEOF
36403 /* confdefs.h. */
36404 _ACEOF
36405 cat confdefs.h >>conftest.$ac_ext
36406 cat >>conftest.$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36410 #define $ac_func innocuous_$ac_func
36411
36412 /* System header to define __stub macros and hopefully few prototypes,
36413 which can conflict with char $ac_func (); below.
36414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36415 <limits.h> exists even on freestanding compilers. */
36416
36417 #ifdef __STDC__
36418 # include <limits.h>
36419 #else
36420 # include <assert.h>
36421 #endif
36422
36423 #undef $ac_func
36424
36425 /* Override any GCC internal prototype to avoid an error.
36426 Use char because int might match the return type of a GCC
36427 builtin and then its argument prototype would still apply. */
36428 #ifdef __cplusplus
36429 extern "C"
36430 #endif
36431 char $ac_func ();
36432 /* The GNU C library defines this for functions which it implements
36433 to always fail with ENOSYS. Some functions are actually named
36434 something starting with __ and the normal name is an alias. */
36435 #if defined __stub_$ac_func || defined __stub___$ac_func
36436 choke me
36437 #endif
36438
36439 int
36440 main ()
36441 {
36442 return $ac_func ();
36443 ;
36444 return 0;
36445 }
36446 _ACEOF
36447 rm -f conftest.$ac_objext conftest$ac_exeext
36448 if { (ac_try="$ac_link"
36449 case "(($ac_try" in
36450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36451 *) ac_try_echo=$ac_try;;
36452 esac
36453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36454 (eval "$ac_link") 2>conftest.er1
36455 ac_status=$?
36456 grep -v '^ *+' conftest.er1 >conftest.err
36457 rm -f conftest.er1
36458 cat conftest.err >&5
36459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36460 (exit $ac_status); } && {
36461 test -z "$ac_c_werror_flag" ||
36462 test ! -s conftest.err
36463 } && test -s conftest$ac_exeext &&
36464 $as_test_x conftest$ac_exeext; then
36465 eval "$as_ac_var=yes"
36466 else
36467 echo "$as_me: failed program was:" >&5
36468 sed 's/^/| /' conftest.$ac_ext >&5
36469
36470 eval "$as_ac_var=no"
36471 fi
36472
36473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36474 conftest$ac_exeext conftest.$ac_ext
36475 fi
36476 ac_res=`eval echo '${'$as_ac_var'}'`
36477 { echo "$as_me:$LINENO: result: $ac_res" >&5
36478 echo "${ECHO_T}$ac_res" >&6; }
36479 if test `eval echo '${'$as_ac_var'}'` = yes; then
36480 cat >>confdefs.h <<_ACEOF
36481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36482 _ACEOF
36483 cat >>confdefs.h <<\_ACEOF
36484 #define HAVE_NANOSLEEP 1
36485 _ACEOF
36486
36487 else
36488
36489 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36490 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36491 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36492 echo $ECHO_N "(cached) $ECHO_C" >&6
36493 else
36494 ac_check_lib_save_LIBS=$LIBS
36495 LIBS="-lposix4 $LIBS"
36496 cat >conftest.$ac_ext <<_ACEOF
36497 /* confdefs.h. */
36498 _ACEOF
36499 cat confdefs.h >>conftest.$ac_ext
36500 cat >>conftest.$ac_ext <<_ACEOF
36501 /* end confdefs.h. */
36502
36503 /* Override any GCC internal prototype to avoid an error.
36504 Use char because int might match the return type of a GCC
36505 builtin and then its argument prototype would still apply. */
36506 #ifdef __cplusplus
36507 extern "C"
36508 #endif
36509 char nanosleep ();
36510 int
36511 main ()
36512 {
36513 return nanosleep ();
36514 ;
36515 return 0;
36516 }
36517 _ACEOF
36518 rm -f conftest.$ac_objext conftest$ac_exeext
36519 if { (ac_try="$ac_link"
36520 case "(($ac_try" in
36521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36522 *) ac_try_echo=$ac_try;;
36523 esac
36524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36525 (eval "$ac_link") 2>conftest.er1
36526 ac_status=$?
36527 grep -v '^ *+' conftest.er1 >conftest.err
36528 rm -f conftest.er1
36529 cat conftest.err >&5
36530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36531 (exit $ac_status); } && {
36532 test -z "$ac_c_werror_flag" ||
36533 test ! -s conftest.err
36534 } && test -s conftest$ac_exeext &&
36535 $as_test_x conftest$ac_exeext; then
36536 ac_cv_lib_posix4_nanosleep=yes
36537 else
36538 echo "$as_me: failed program was:" >&5
36539 sed 's/^/| /' conftest.$ac_ext >&5
36540
36541 ac_cv_lib_posix4_nanosleep=no
36542 fi
36543
36544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36545 conftest$ac_exeext conftest.$ac_ext
36546 LIBS=$ac_check_lib_save_LIBS
36547 fi
36548 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36549 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36550 if test $ac_cv_lib_posix4_nanosleep = yes; then
36551
36552 cat >>confdefs.h <<\_ACEOF
36553 #define HAVE_NANOSLEEP 1
36554 _ACEOF
36555
36556 POSIX4_LINK=" -lposix4"
36557
36558 else
36559
36560
36561 for wx_func in usleep
36562 do
36563 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36564 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36565 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36566 echo $ECHO_N "(cached) $ECHO_C" >&6
36567 else
36568
36569 cat >conftest.$ac_ext <<_ACEOF
36570
36571 /* confdefs.h. */
36572 _ACEOF
36573 cat confdefs.h >>conftest.$ac_ext
36574 cat >>conftest.$ac_ext <<_ACEOF
36575 /* end confdefs.h. */
36576
36577
36578 $ac_includes_default
36579
36580 int
36581 main ()
36582 {
36583
36584 #ifndef $wx_func
36585 &$wx_func;
36586 #endif
36587
36588
36589 ;
36590 return 0;
36591 }
36592
36593 _ACEOF
36594 rm -f conftest.$ac_objext conftest$ac_exeext
36595 if { (ac_try="$ac_link"
36596 case "(($ac_try" in
36597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36598 *) ac_try_echo=$ac_try;;
36599 esac
36600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36601 (eval "$ac_link") 2>conftest.er1
36602 ac_status=$?
36603 grep -v '^ *+' conftest.er1 >conftest.err
36604 rm -f conftest.er1
36605 cat conftest.err >&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); } && {
36608 test -z "$ac_c_werror_flag" ||
36609 test ! -s conftest.err
36610 } && test -s conftest$ac_exeext &&
36611 $as_test_x conftest$ac_exeext; then
36612 eval wx_cv_func_$wx_func=yes
36613 else
36614 echo "$as_me: failed program was:" >&5
36615 sed 's/^/| /' conftest.$ac_ext >&5
36616
36617 eval wx_cv_func_$wx_func=no
36618 fi
36619
36620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36621 conftest$ac_exeext conftest.$ac_ext
36622
36623 fi
36624 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36625 { echo "$as_me:$LINENO: result: $ac_res" >&5
36626 echo "${ECHO_T}$ac_res" >&6; }
36627
36628 if eval test \$wx_cv_func_$wx_func = yes
36629 then
36630 cat >>confdefs.h <<_ACEOF
36631 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36632 _ACEOF
36633
36634
36635 else
36636 :
36637 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36638 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36639
36640 fi
36641 done
36642
36643
36644
36645 fi
36646
36647
36648
36649 fi
36650 done
36651
36652 fi
36653
36654
36655 for wx_func in uname
36656 do
36657 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36658 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36659 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36660 echo $ECHO_N "(cached) $ECHO_C" >&6
36661 else
36662
36663 cat >conftest.$ac_ext <<_ACEOF
36664
36665 /* confdefs.h. */
36666 _ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670
36671 #include <sys/utsname.h>
36672 $ac_includes_default
36673
36674 int
36675 main ()
36676 {
36677
36678 #ifndef $wx_func
36679 &$wx_func;
36680 #endif
36681
36682
36683 ;
36684 return 0;
36685 }
36686
36687 _ACEOF
36688 rm -f conftest.$ac_objext conftest$ac_exeext
36689 if { (ac_try="$ac_link"
36690 case "(($ac_try" in
36691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36692 *) ac_try_echo=$ac_try;;
36693 esac
36694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36695 (eval "$ac_link") 2>conftest.er1
36696 ac_status=$?
36697 grep -v '^ *+' conftest.er1 >conftest.err
36698 rm -f conftest.er1
36699 cat conftest.err >&5
36700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36701 (exit $ac_status); } && {
36702 test -z "$ac_c_werror_flag" ||
36703 test ! -s conftest.err
36704 } && test -s conftest$ac_exeext &&
36705 $as_test_x conftest$ac_exeext; then
36706 eval wx_cv_func_$wx_func=yes
36707 else
36708 echo "$as_me: failed program was:" >&5
36709 sed 's/^/| /' conftest.$ac_ext >&5
36710
36711 eval wx_cv_func_$wx_func=no
36712 fi
36713
36714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36715 conftest$ac_exeext conftest.$ac_ext
36716
36717 fi
36718 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36719 { echo "$as_me:$LINENO: result: $ac_res" >&5
36720 echo "${ECHO_T}$ac_res" >&6; }
36721
36722 if eval test \$wx_cv_func_$wx_func = yes
36723 then
36724 cat >>confdefs.h <<_ACEOF
36725 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36726 _ACEOF
36727
36728
36729 else
36730 :
36731
36732 fi
36733 done
36734
36735 if test "$wx_cv_func_uname" != yes; then
36736
36737 for wx_func in gethostname
36738 do
36739 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36740 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36741 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36742 echo $ECHO_N "(cached) $ECHO_C" >&6
36743 else
36744
36745 cat >conftest.$ac_ext <<_ACEOF
36746
36747 /* confdefs.h. */
36748 _ACEOF
36749 cat confdefs.h >>conftest.$ac_ext
36750 cat >>conftest.$ac_ext <<_ACEOF
36751 /* end confdefs.h. */
36752
36753
36754 $ac_includes_default
36755
36756 int
36757 main ()
36758 {
36759
36760 #ifndef $wx_func
36761 &$wx_func;
36762 #endif
36763
36764
36765 ;
36766 return 0;
36767 }
36768
36769 _ACEOF
36770 rm -f conftest.$ac_objext conftest$ac_exeext
36771 if { (ac_try="$ac_link"
36772 case "(($ac_try" in
36773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36774 *) ac_try_echo=$ac_try;;
36775 esac
36776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36777 (eval "$ac_link") 2>conftest.er1
36778 ac_status=$?
36779 grep -v '^ *+' conftest.er1 >conftest.err
36780 rm -f conftest.er1
36781 cat conftest.err >&5
36782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36783 (exit $ac_status); } && {
36784 test -z "$ac_c_werror_flag" ||
36785 test ! -s conftest.err
36786 } && test -s conftest$ac_exeext &&
36787 $as_test_x conftest$ac_exeext; then
36788 eval wx_cv_func_$wx_func=yes
36789 else
36790 echo "$as_me: failed program was:" >&5
36791 sed 's/^/| /' conftest.$ac_ext >&5
36792
36793 eval wx_cv_func_$wx_func=no
36794 fi
36795
36796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36797 conftest$ac_exeext conftest.$ac_ext
36798
36799 fi
36800 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36801 { echo "$as_me:$LINENO: result: $ac_res" >&5
36802 echo "${ECHO_T}$ac_res" >&6; }
36803
36804 if eval test \$wx_cv_func_$wx_func = yes
36805 then
36806 cat >>confdefs.h <<_ACEOF
36807 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36808 _ACEOF
36809
36810
36811 else
36812 :
36813
36814 fi
36815 done
36816
36817 fi
36818
36819
36820 for wx_func in strtok_r
36821 do
36822 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36823 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36824 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36825 echo $ECHO_N "(cached) $ECHO_C" >&6
36826 else
36827
36828 cat >conftest.$ac_ext <<_ACEOF
36829
36830 /* confdefs.h. */
36831 _ACEOF
36832 cat confdefs.h >>conftest.$ac_ext
36833 cat >>conftest.$ac_ext <<_ACEOF
36834 /* end confdefs.h. */
36835
36836 #define _REENTRANT
36837 $ac_includes_default
36838
36839 int
36840 main ()
36841 {
36842
36843 #ifndef $wx_func
36844 &$wx_func;
36845 #endif
36846
36847
36848 ;
36849 return 0;
36850 }
36851
36852 _ACEOF
36853 rm -f conftest.$ac_objext conftest$ac_exeext
36854 if { (ac_try="$ac_link"
36855 case "(($ac_try" in
36856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36857 *) ac_try_echo=$ac_try;;
36858 esac
36859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36860 (eval "$ac_link") 2>conftest.er1
36861 ac_status=$?
36862 grep -v '^ *+' conftest.er1 >conftest.err
36863 rm -f conftest.er1
36864 cat conftest.err >&5
36865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36866 (exit $ac_status); } && {
36867 test -z "$ac_c_werror_flag" ||
36868 test ! -s conftest.err
36869 } && test -s conftest$ac_exeext &&
36870 $as_test_x conftest$ac_exeext; then
36871 eval wx_cv_func_$wx_func=yes
36872 else
36873 echo "$as_me: failed program was:" >&5
36874 sed 's/^/| /' conftest.$ac_ext >&5
36875
36876 eval wx_cv_func_$wx_func=no
36877 fi
36878
36879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36880 conftest$ac_exeext conftest.$ac_ext
36881
36882 fi
36883 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36884 { echo "$as_me:$LINENO: result: $ac_res" >&5
36885 echo "${ECHO_T}$ac_res" >&6; }
36886
36887 if eval test \$wx_cv_func_$wx_func = yes
36888 then
36889 cat >>confdefs.h <<_ACEOF
36890 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36891 _ACEOF
36892
36893
36894 else
36895 :
36896
36897 fi
36898 done
36899
36900
36901 INET_LINK=
36902
36903 for ac_func in inet_addr
36904 do
36905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36909 echo $ECHO_N "(cached) $ECHO_C" >&6
36910 else
36911 cat >conftest.$ac_ext <<_ACEOF
36912 /* confdefs.h. */
36913 _ACEOF
36914 cat confdefs.h >>conftest.$ac_ext
36915 cat >>conftest.$ac_ext <<_ACEOF
36916 /* end confdefs.h. */
36917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36919 #define $ac_func innocuous_$ac_func
36920
36921 /* System header to define __stub macros and hopefully few prototypes,
36922 which can conflict with char $ac_func (); below.
36923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36924 <limits.h> exists even on freestanding compilers. */
36925
36926 #ifdef __STDC__
36927 # include <limits.h>
36928 #else
36929 # include <assert.h>
36930 #endif
36931
36932 #undef $ac_func
36933
36934 /* Override any GCC internal prototype to avoid an error.
36935 Use char because int might match the return type of a GCC
36936 builtin and then its argument prototype would still apply. */
36937 #ifdef __cplusplus
36938 extern "C"
36939 #endif
36940 char $ac_func ();
36941 /* The GNU C library defines this for functions which it implements
36942 to always fail with ENOSYS. Some functions are actually named
36943 something starting with __ and the normal name is an alias. */
36944 #if defined __stub_$ac_func || defined __stub___$ac_func
36945 choke me
36946 #endif
36947
36948 int
36949 main ()
36950 {
36951 return $ac_func ();
36952 ;
36953 return 0;
36954 }
36955 _ACEOF
36956 rm -f conftest.$ac_objext conftest$ac_exeext
36957 if { (ac_try="$ac_link"
36958 case "(($ac_try" in
36959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36960 *) ac_try_echo=$ac_try;;
36961 esac
36962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36963 (eval "$ac_link") 2>conftest.er1
36964 ac_status=$?
36965 grep -v '^ *+' conftest.er1 >conftest.err
36966 rm -f conftest.er1
36967 cat conftest.err >&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); } && {
36970 test -z "$ac_c_werror_flag" ||
36971 test ! -s conftest.err
36972 } && test -s conftest$ac_exeext &&
36973 $as_test_x conftest$ac_exeext; then
36974 eval "$as_ac_var=yes"
36975 else
36976 echo "$as_me: failed program was:" >&5
36977 sed 's/^/| /' conftest.$ac_ext >&5
36978
36979 eval "$as_ac_var=no"
36980 fi
36981
36982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36983 conftest$ac_exeext conftest.$ac_ext
36984 fi
36985 ac_res=`eval echo '${'$as_ac_var'}'`
36986 { echo "$as_me:$LINENO: result: $ac_res" >&5
36987 echo "${ECHO_T}$ac_res" >&6; }
36988 if test `eval echo '${'$as_ac_var'}'` = yes; then
36989 cat >>confdefs.h <<_ACEOF
36990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36991 _ACEOF
36992 cat >>confdefs.h <<\_ACEOF
36993 #define HAVE_INET_ADDR 1
36994 _ACEOF
36995
36996 else
36997
36998 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
36999 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37000 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37001 echo $ECHO_N "(cached) $ECHO_C" >&6
37002 else
37003 ac_check_lib_save_LIBS=$LIBS
37004 LIBS="-lnsl $LIBS"
37005 cat >conftest.$ac_ext <<_ACEOF
37006 /* confdefs.h. */
37007 _ACEOF
37008 cat confdefs.h >>conftest.$ac_ext
37009 cat >>conftest.$ac_ext <<_ACEOF
37010 /* end confdefs.h. */
37011
37012 /* Override any GCC internal prototype to avoid an error.
37013 Use char because int might match the return type of a GCC
37014 builtin and then its argument prototype would still apply. */
37015 #ifdef __cplusplus
37016 extern "C"
37017 #endif
37018 char inet_addr ();
37019 int
37020 main ()
37021 {
37022 return inet_addr ();
37023 ;
37024 return 0;
37025 }
37026 _ACEOF
37027 rm -f conftest.$ac_objext conftest$ac_exeext
37028 if { (ac_try="$ac_link"
37029 case "(($ac_try" in
37030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37031 *) ac_try_echo=$ac_try;;
37032 esac
37033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37034 (eval "$ac_link") 2>conftest.er1
37035 ac_status=$?
37036 grep -v '^ *+' conftest.er1 >conftest.err
37037 rm -f conftest.er1
37038 cat conftest.err >&5
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); } && {
37041 test -z "$ac_c_werror_flag" ||
37042 test ! -s conftest.err
37043 } && test -s conftest$ac_exeext &&
37044 $as_test_x conftest$ac_exeext; then
37045 ac_cv_lib_nsl_inet_addr=yes
37046 else
37047 echo "$as_me: failed program was:" >&5
37048 sed 's/^/| /' conftest.$ac_ext >&5
37049
37050 ac_cv_lib_nsl_inet_addr=no
37051 fi
37052
37053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37054 conftest$ac_exeext conftest.$ac_ext
37055 LIBS=$ac_check_lib_save_LIBS
37056 fi
37057 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37058 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37059 if test $ac_cv_lib_nsl_inet_addr = yes; then
37060 INET_LINK="nsl"
37061 else
37062
37063 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37064 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37065 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37066 echo $ECHO_N "(cached) $ECHO_C" >&6
37067 else
37068 ac_check_lib_save_LIBS=$LIBS
37069 LIBS="-lresolv $LIBS"
37070 cat >conftest.$ac_ext <<_ACEOF
37071 /* confdefs.h. */
37072 _ACEOF
37073 cat confdefs.h >>conftest.$ac_ext
37074 cat >>conftest.$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37076
37077 /* Override any GCC internal prototype to avoid an error.
37078 Use char because int might match the return type of a GCC
37079 builtin and then its argument prototype would still apply. */
37080 #ifdef __cplusplus
37081 extern "C"
37082 #endif
37083 char inet_addr ();
37084 int
37085 main ()
37086 {
37087 return inet_addr ();
37088 ;
37089 return 0;
37090 }
37091 _ACEOF
37092 rm -f conftest.$ac_objext conftest$ac_exeext
37093 if { (ac_try="$ac_link"
37094 case "(($ac_try" in
37095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37096 *) ac_try_echo=$ac_try;;
37097 esac
37098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37099 (eval "$ac_link") 2>conftest.er1
37100 ac_status=$?
37101 grep -v '^ *+' conftest.er1 >conftest.err
37102 rm -f conftest.er1
37103 cat conftest.err >&5
37104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37105 (exit $ac_status); } && {
37106 test -z "$ac_c_werror_flag" ||
37107 test ! -s conftest.err
37108 } && test -s conftest$ac_exeext &&
37109 $as_test_x conftest$ac_exeext; then
37110 ac_cv_lib_resolv_inet_addr=yes
37111 else
37112 echo "$as_me: failed program was:" >&5
37113 sed 's/^/| /' conftest.$ac_ext >&5
37114
37115 ac_cv_lib_resolv_inet_addr=no
37116 fi
37117
37118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37119 conftest$ac_exeext conftest.$ac_ext
37120 LIBS=$ac_check_lib_save_LIBS
37121 fi
37122 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37123 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37124 if test $ac_cv_lib_resolv_inet_addr = yes; then
37125 INET_LINK="resolv"
37126 else
37127
37128 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37129 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37130 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 else
37133 ac_check_lib_save_LIBS=$LIBS
37134 LIBS="-lsocket $LIBS"
37135 cat >conftest.$ac_ext <<_ACEOF
37136 /* confdefs.h. */
37137 _ACEOF
37138 cat confdefs.h >>conftest.$ac_ext
37139 cat >>conftest.$ac_ext <<_ACEOF
37140 /* end confdefs.h. */
37141
37142 /* Override any GCC internal prototype to avoid an error.
37143 Use char because int might match the return type of a GCC
37144 builtin and then its argument prototype would still apply. */
37145 #ifdef __cplusplus
37146 extern "C"
37147 #endif
37148 char inet_addr ();
37149 int
37150 main ()
37151 {
37152 return inet_addr ();
37153 ;
37154 return 0;
37155 }
37156 _ACEOF
37157 rm -f conftest.$ac_objext conftest$ac_exeext
37158 if { (ac_try="$ac_link"
37159 case "(($ac_try" in
37160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37161 *) ac_try_echo=$ac_try;;
37162 esac
37163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37164 (eval "$ac_link") 2>conftest.er1
37165 ac_status=$?
37166 grep -v '^ *+' conftest.er1 >conftest.err
37167 rm -f conftest.er1
37168 cat conftest.err >&5
37169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37170 (exit $ac_status); } && {
37171 test -z "$ac_c_werror_flag" ||
37172 test ! -s conftest.err
37173 } && test -s conftest$ac_exeext &&
37174 $as_test_x conftest$ac_exeext; then
37175 ac_cv_lib_socket_inet_addr=yes
37176 else
37177 echo "$as_me: failed program was:" >&5
37178 sed 's/^/| /' conftest.$ac_ext >&5
37179
37180 ac_cv_lib_socket_inet_addr=no
37181 fi
37182
37183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37184 conftest$ac_exeext conftest.$ac_ext
37185 LIBS=$ac_check_lib_save_LIBS
37186 fi
37187 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37188 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37189 if test $ac_cv_lib_socket_inet_addr = yes; then
37190 INET_LINK="socket"
37191
37192 fi
37193
37194
37195
37196 fi
37197
37198
37199
37200 fi
37201
37202
37203
37204 fi
37205 done
37206
37207
37208
37209 for ac_func in inet_aton
37210 do
37211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 else
37217 cat >conftest.$ac_ext <<_ACEOF
37218 /* confdefs.h. */
37219 _ACEOF
37220 cat confdefs.h >>conftest.$ac_ext
37221 cat >>conftest.$ac_ext <<_ACEOF
37222 /* end confdefs.h. */
37223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37225 #define $ac_func innocuous_$ac_func
37226
37227 /* System header to define __stub macros and hopefully few prototypes,
37228 which can conflict with char $ac_func (); below.
37229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37230 <limits.h> exists even on freestanding compilers. */
37231
37232 #ifdef __STDC__
37233 # include <limits.h>
37234 #else
37235 # include <assert.h>
37236 #endif
37237
37238 #undef $ac_func
37239
37240 /* Override any GCC internal prototype to avoid an error.
37241 Use char because int might match the return type of a GCC
37242 builtin and then its argument prototype would still apply. */
37243 #ifdef __cplusplus
37244 extern "C"
37245 #endif
37246 char $ac_func ();
37247 /* The GNU C library defines this for functions which it implements
37248 to always fail with ENOSYS. Some functions are actually named
37249 something starting with __ and the normal name is an alias. */
37250 #if defined __stub_$ac_func || defined __stub___$ac_func
37251 choke me
37252 #endif
37253
37254 int
37255 main ()
37256 {
37257 return $ac_func ();
37258 ;
37259 return 0;
37260 }
37261 _ACEOF
37262 rm -f conftest.$ac_objext conftest$ac_exeext
37263 if { (ac_try="$ac_link"
37264 case "(($ac_try" in
37265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37266 *) ac_try_echo=$ac_try;;
37267 esac
37268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37269 (eval "$ac_link") 2>conftest.er1
37270 ac_status=$?
37271 grep -v '^ *+' conftest.er1 >conftest.err
37272 rm -f conftest.er1
37273 cat conftest.err >&5
37274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37275 (exit $ac_status); } && {
37276 test -z "$ac_c_werror_flag" ||
37277 test ! -s conftest.err
37278 } && test -s conftest$ac_exeext &&
37279 $as_test_x conftest$ac_exeext; then
37280 eval "$as_ac_var=yes"
37281 else
37282 echo "$as_me: failed program was:" >&5
37283 sed 's/^/| /' conftest.$ac_ext >&5
37284
37285 eval "$as_ac_var=no"
37286 fi
37287
37288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37289 conftest$ac_exeext conftest.$ac_ext
37290 fi
37291 ac_res=`eval echo '${'$as_ac_var'}'`
37292 { echo "$as_me:$LINENO: result: $ac_res" >&5
37293 echo "${ECHO_T}$ac_res" >&6; }
37294 if test `eval echo '${'$as_ac_var'}'` = yes; then
37295 cat >>confdefs.h <<_ACEOF
37296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37297 _ACEOF
37298 cat >>confdefs.h <<\_ACEOF
37299 #define HAVE_INET_ATON 1
37300 _ACEOF
37301
37302 else
37303
37304 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37305 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37306 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37307 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37308 echo $ECHO_N "(cached) $ECHO_C" >&6
37309 else
37310 ac_check_lib_save_LIBS=$LIBS
37311 LIBS="-l$INET_LINK $LIBS"
37312 cat >conftest.$ac_ext <<_ACEOF
37313 /* confdefs.h. */
37314 _ACEOF
37315 cat confdefs.h >>conftest.$ac_ext
37316 cat >>conftest.$ac_ext <<_ACEOF
37317 /* end confdefs.h. */
37318
37319 /* Override any GCC internal prototype to avoid an error.
37320 Use char because int might match the return type of a GCC
37321 builtin and then its argument prototype would still apply. */
37322 #ifdef __cplusplus
37323 extern "C"
37324 #endif
37325 char inet_aton ();
37326 int
37327 main ()
37328 {
37329 return inet_aton ();
37330 ;
37331 return 0;
37332 }
37333 _ACEOF
37334 rm -f conftest.$ac_objext conftest$ac_exeext
37335 if { (ac_try="$ac_link"
37336 case "(($ac_try" in
37337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37338 *) ac_try_echo=$ac_try;;
37339 esac
37340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37341 (eval "$ac_link") 2>conftest.er1
37342 ac_status=$?
37343 grep -v '^ *+' conftest.er1 >conftest.err
37344 rm -f conftest.er1
37345 cat conftest.err >&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); } && {
37348 test -z "$ac_c_werror_flag" ||
37349 test ! -s conftest.err
37350 } && test -s conftest$ac_exeext &&
37351 $as_test_x conftest$ac_exeext; then
37352 eval "$as_ac_Lib=yes"
37353 else
37354 echo "$as_me: failed program was:" >&5
37355 sed 's/^/| /' conftest.$ac_ext >&5
37356
37357 eval "$as_ac_Lib=no"
37358 fi
37359
37360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37361 conftest$ac_exeext conftest.$ac_ext
37362 LIBS=$ac_check_lib_save_LIBS
37363 fi
37364 ac_res=`eval echo '${'$as_ac_Lib'}'`
37365 { echo "$as_me:$LINENO: result: $ac_res" >&5
37366 echo "${ECHO_T}$ac_res" >&6; }
37367 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37368 cat >>confdefs.h <<\_ACEOF
37369 #define HAVE_INET_ATON 1
37370 _ACEOF
37371
37372 fi
37373
37374
37375 fi
37376 done
37377
37378
37379 if test "x$INET_LINK" != "x"; then
37380 cat >>confdefs.h <<\_ACEOF
37381 #define HAVE_INET_ADDR 1
37382 _ACEOF
37383
37384 INET_LINK=" -l$INET_LINK"
37385 fi
37386
37387
37388 for wx_func in fdopen
37389 do
37390 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37391 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37392 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37393 echo $ECHO_N "(cached) $ECHO_C" >&6
37394 else
37395
37396 cat >conftest.$ac_ext <<_ACEOF
37397
37398 /* confdefs.h. */
37399 _ACEOF
37400 cat confdefs.h >>conftest.$ac_ext
37401 cat >>conftest.$ac_ext <<_ACEOF
37402 /* end confdefs.h. */
37403
37404
37405 $ac_includes_default
37406
37407 int
37408 main ()
37409 {
37410
37411 #ifndef $wx_func
37412 &$wx_func;
37413 #endif
37414
37415
37416 ;
37417 return 0;
37418 }
37419
37420 _ACEOF
37421 rm -f conftest.$ac_objext conftest$ac_exeext
37422 if { (ac_try="$ac_link"
37423 case "(($ac_try" in
37424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37425 *) ac_try_echo=$ac_try;;
37426 esac
37427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37428 (eval "$ac_link") 2>conftest.er1
37429 ac_status=$?
37430 grep -v '^ *+' conftest.er1 >conftest.err
37431 rm -f conftest.er1
37432 cat conftest.err >&5
37433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37434 (exit $ac_status); } && {
37435 test -z "$ac_c_werror_flag" ||
37436 test ! -s conftest.err
37437 } && test -s conftest$ac_exeext &&
37438 $as_test_x conftest$ac_exeext; then
37439 eval wx_cv_func_$wx_func=yes
37440 else
37441 echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.$ac_ext >&5
37443
37444 eval wx_cv_func_$wx_func=no
37445 fi
37446
37447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37448 conftest$ac_exeext conftest.$ac_ext
37449
37450 fi
37451 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37452 { echo "$as_me:$LINENO: result: $ac_res" >&5
37453 echo "${ECHO_T}$ac_res" >&6; }
37454
37455 if eval test \$wx_cv_func_$wx_func = yes
37456 then
37457 cat >>confdefs.h <<_ACEOF
37458 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37459 _ACEOF
37460
37461
37462 else
37463 :
37464
37465 fi
37466 done
37467
37468
37469 fi
37470
37471
37472
37473 cat >confcache <<\_ACEOF
37474 # This file is a shell script that caches the results of configure
37475 # tests run on this system so they can be shared between configure
37476 # scripts and configure runs, see configure's option --config-cache.
37477 # It is not useful on other systems. If it contains results you don't
37478 # want to keep, you may remove or edit it.
37479 #
37480 # config.status only pays attention to the cache file if you give it
37481 # the --recheck option to rerun configure.
37482 #
37483 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37484 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37485 # following values.
37486
37487 _ACEOF
37488
37489 # The following way of writing the cache mishandles newlines in values,
37490 # but we know of no workaround that is simple, portable, and efficient.
37491 # So, we kill variables containing newlines.
37492 # Ultrix sh set writes to stderr and can't be redirected directly,
37493 # and sets the high bit in the cache file unless we assign to the vars.
37494 (
37495 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37496 eval ac_val=\$$ac_var
37497 case $ac_val in #(
37498 *${as_nl}*)
37499 case $ac_var in #(
37500 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37501 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37502 esac
37503 case $ac_var in #(
37504 _ | IFS | as_nl) ;; #(
37505 *) $as_unset $ac_var ;;
37506 esac ;;
37507 esac
37508 done
37509
37510 (set) 2>&1 |
37511 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37512 *${as_nl}ac_space=\ *)
37513 # `set' does not quote correctly, so add quotes (double-quote
37514 # substitution turns \\\\ into \\, and sed turns \\ into \).
37515 sed -n \
37516 "s/'/'\\\\''/g;
37517 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37518 ;; #(
37519 *)
37520 # `set' quotes correctly as required by POSIX, so do not add quotes.
37521 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37522 ;;
37523 esac |
37524 sort
37525 ) |
37526 sed '
37527 /^ac_cv_env_/b end
37528 t clear
37529 :clear
37530 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37531 t end
37532 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37533 :end' >>confcache
37534 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37535 if test -w "$cache_file"; then
37536 test "x$cache_file" != "x/dev/null" &&
37537 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37538 echo "$as_me: updating cache $cache_file" >&6;}
37539 cat confcache >$cache_file
37540 else
37541 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37542 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37543 fi
37544 fi
37545 rm -f confcache
37546
37547
37548 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37549
37550
37551 THREADS_LINK=
37552 THREADS_CFLAGS=
37553
37554 if test "$wxUSE_THREADS" = "yes" ; then
37555 if test "$USE_BEOS" = 1; then
37556 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37557 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37558 wxUSE_THREADS="no"
37559 fi
37560 fi
37561
37562 if test "$wxUSE_THREADS" = "yes" ; then
37563
37564
37565 THREAD_OPTS="-pthread"
37566 case "${host}" in
37567 *-*-solaris2* | *-*-sunos4* )
37568 if test "x$GCC" = "xyes"; then
37569 THREAD_OPTS="-pthreads $THREAD_OPTS"
37570 else
37571 THREAD_OPTS="-mt $THREAD_OPTS"
37572 fi
37573 ;;
37574 *-*-freebsd*)
37575 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37576 ;;
37577 *-*-darwin* | *-*-cygwin* )
37578 THREAD_OPTS=""
37579 ;;
37580 *-*-aix*)
37581 THREAD_OPTS="pthreads"
37582 ;;
37583 *-hp-hpux* )
37584 if test "x$GCC" = "xyes"; then
37585 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37586 THREAD_OPTS=""
37587 else
37588 THREAD_OPTS="-mt"
37589 fi
37590 ;;
37591
37592 *-*-irix* )
37593 if test "x$GCC" = "xyes"; then
37594 THREAD_OPTS=""
37595 fi
37596 ;;
37597
37598 *-*-*UnixWare*)
37599 if test "x$GCC" != "xyes"; then
37600 THREAD_OPTS="-Ethread"
37601 fi
37602 ;;
37603 esac
37604
37605 THREAD_OPTS="$THREAD_OPTS pthread none"
37606
37607 THREADS_OK=no
37608 for flag in $THREAD_OPTS; do
37609 case $flag in
37610 none)
37611 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37612 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37613 ;;
37614
37615 -*)
37616 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37617 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37618 THREADS_CFLAGS="$flag"
37619 ;;
37620
37621 *)
37622 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37623 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37624 THREADS_LINK="-l$flag"
37625 ;;
37626 esac
37627
37628 save_LIBS="$LIBS"
37629 save_CFLAGS="$CFLAGS"
37630 LIBS="$THREADS_LINK $LIBS"
37631 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37632
37633 cat >conftest.$ac_ext <<_ACEOF
37634 /* confdefs.h. */
37635 _ACEOF
37636 cat confdefs.h >>conftest.$ac_ext
37637 cat >>conftest.$ac_ext <<_ACEOF
37638 /* end confdefs.h. */
37639 #include <pthread.h>
37640 int
37641 main ()
37642 {
37643 pthread_create(0,0,0,0);
37644 ;
37645 return 0;
37646 }
37647 _ACEOF
37648 rm -f conftest.$ac_objext conftest$ac_exeext
37649 if { (ac_try="$ac_link"
37650 case "(($ac_try" in
37651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37652 *) ac_try_echo=$ac_try;;
37653 esac
37654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37655 (eval "$ac_link") 2>conftest.er1
37656 ac_status=$?
37657 grep -v '^ *+' conftest.er1 >conftest.err
37658 rm -f conftest.er1
37659 cat conftest.err >&5
37660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37661 (exit $ac_status); } && {
37662 test -z "$ac_c_werror_flag" ||
37663 test ! -s conftest.err
37664 } && test -s conftest$ac_exeext &&
37665 $as_test_x conftest$ac_exeext; then
37666 THREADS_OK=yes
37667 else
37668 echo "$as_me: failed program was:" >&5
37669 sed 's/^/| /' conftest.$ac_ext >&5
37670
37671
37672 fi
37673
37674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37675 conftest$ac_exeext conftest.$ac_ext
37676
37677 LIBS="$save_LIBS"
37678 CFLAGS="$save_CFLAGS"
37679
37680 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37681 echo "${ECHO_T}$THREADS_OK" >&6; }
37682 if test "x$THREADS_OK" = "xyes"; then
37683 break;
37684 fi
37685
37686 THREADS_LINK=""
37687 THREADS_CFLAGS=""
37688 done
37689
37690 if test "x$THREADS_OK" != "xyes"; then
37691 wxUSE_THREADS=no
37692 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37693 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37694 else
37695 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37696 LIBS="$THREADS_LINK $LIBS"
37697
37698 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37699 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37700 flag=no
37701 case "${host}" in
37702 *-aix*)
37703 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37704 flag="-D_THREAD_SAFE"
37705 ;;
37706 *-freebsd*)
37707 flag="-D_THREAD_SAFE"
37708 ;;
37709 *-hp-hpux* )
37710 flag="-D_REENTRANT"
37711 if test "x$GCC" != "xyes"; then
37712 flag="$flag -D_RWSTD_MULTI_THREAD"
37713 fi
37714 ;;
37715 *solaris* | alpha*-osf*)
37716 flag="-D_REENTRANT"
37717 ;;
37718 esac
37719 { echo "$as_me:$LINENO: result: ${flag}" >&5
37720 echo "${ECHO_T}${flag}" >&6; }
37721 if test "x$flag" != xno; then
37722 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37723 fi
37724
37725 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37726 fi
37727 fi
37728
37729 if test "$wxUSE_THREADS" = "yes" ; then
37730
37731 for ac_func in thr_setconcurrency
37732 do
37733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37737 echo $ECHO_N "(cached) $ECHO_C" >&6
37738 else
37739 cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h. */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h. */
37745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37747 #define $ac_func innocuous_$ac_func
37748
37749 /* System header to define __stub macros and hopefully few prototypes,
37750 which can conflict with char $ac_func (); below.
37751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752 <limits.h> exists even on freestanding compilers. */
37753
37754 #ifdef __STDC__
37755 # include <limits.h>
37756 #else
37757 # include <assert.h>
37758 #endif
37759
37760 #undef $ac_func
37761
37762 /* Override any GCC internal prototype to avoid an error.
37763 Use char because int might match the return type of a GCC
37764 builtin and then its argument prototype would still apply. */
37765 #ifdef __cplusplus
37766 extern "C"
37767 #endif
37768 char $ac_func ();
37769 /* The GNU C library defines this for functions which it implements
37770 to always fail with ENOSYS. Some functions are actually named
37771 something starting with __ and the normal name is an alias. */
37772 #if defined __stub_$ac_func || defined __stub___$ac_func
37773 choke me
37774 #endif
37775
37776 int
37777 main ()
37778 {
37779 return $ac_func ();
37780 ;
37781 return 0;
37782 }
37783 _ACEOF
37784 rm -f conftest.$ac_objext conftest$ac_exeext
37785 if { (ac_try="$ac_link"
37786 case "(($ac_try" in
37787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37788 *) ac_try_echo=$ac_try;;
37789 esac
37790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37791 (eval "$ac_link") 2>conftest.er1
37792 ac_status=$?
37793 grep -v '^ *+' conftest.er1 >conftest.err
37794 rm -f conftest.er1
37795 cat conftest.err >&5
37796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37797 (exit $ac_status); } && {
37798 test -z "$ac_c_werror_flag" ||
37799 test ! -s conftest.err
37800 } && test -s conftest$ac_exeext &&
37801 $as_test_x conftest$ac_exeext; then
37802 eval "$as_ac_var=yes"
37803 else
37804 echo "$as_me: failed program was:" >&5
37805 sed 's/^/| /' conftest.$ac_ext >&5
37806
37807 eval "$as_ac_var=no"
37808 fi
37809
37810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37811 conftest$ac_exeext conftest.$ac_ext
37812 fi
37813 ac_res=`eval echo '${'$as_ac_var'}'`
37814 { echo "$as_me:$LINENO: result: $ac_res" >&5
37815 echo "${ECHO_T}$ac_res" >&6; }
37816 if test `eval echo '${'$as_ac_var'}'` = yes; then
37817 cat >>confdefs.h <<_ACEOF
37818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37819 _ACEOF
37820
37821 fi
37822 done
37823
37824
37825 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37826 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37827 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37828 echo $ECHO_N "(cached) $ECHO_C" >&6
37829 else
37830
37831 cat >conftest.$ac_ext <<_ACEOF
37832 /* confdefs.h. */
37833 _ACEOF
37834 cat confdefs.h >>conftest.$ac_ext
37835 cat >>conftest.$ac_ext <<_ACEOF
37836 /* end confdefs.h. */
37837 #include <pthread.h>
37838 void ThreadCleanupFunc(void *p);
37839
37840 int
37841 main ()
37842 {
37843
37844 void *p;
37845 pthread_cleanup_push(ThreadCleanupFunc, p);
37846 pthread_cleanup_pop(0);
37847
37848 ;
37849 return 0;
37850 }
37851 _ACEOF
37852 rm -f conftest.$ac_objext
37853 if { (ac_try="$ac_compile"
37854 case "(($ac_try" in
37855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37856 *) ac_try_echo=$ac_try;;
37857 esac
37858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37859 (eval "$ac_compile") 2>conftest.er1
37860 ac_status=$?
37861 grep -v '^ *+' conftest.er1 >conftest.err
37862 rm -f conftest.er1
37863 cat conftest.err >&5
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); } && {
37866 test -z "$ac_c_werror_flag" ||
37867 test ! -s conftest.err
37868 } && test -s conftest.$ac_objext; then
37869
37870 wx_cv_func_pthread_cleanup=yes
37871
37872 else
37873 echo "$as_me: failed program was:" >&5
37874 sed 's/^/| /' conftest.$ac_ext >&5
37875
37876
37877 wx_cv_func_pthread_cleanup=no
37878
37879
37880 fi
37881
37882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37883
37884 fi
37885 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37886 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37887 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37888 cat >>confdefs.h <<\_ACEOF
37889 #define wxHAVE_PTHREAD_CLEANUP 1
37890 _ACEOF
37891
37892 fi
37893
37894 { echo "$as_me:$LINENO: checking for sched.h" >&5
37895 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37896 if test "${ac_cv_header_sched_h+set}" = set; then
37897 echo $ECHO_N "(cached) $ECHO_C" >&6
37898 else
37899 cat >conftest.$ac_ext <<_ACEOF
37900 /* confdefs.h. */
37901 _ACEOF
37902 cat confdefs.h >>conftest.$ac_ext
37903 cat >>conftest.$ac_ext <<_ACEOF
37904 /* end confdefs.h. */
37905 $ac_includes_default
37906
37907 #include <sched.h>
37908 _ACEOF
37909 rm -f conftest.$ac_objext
37910 if { (ac_try="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37913 *) ac_try_echo=$ac_try;;
37914 esac
37915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37917 ac_status=$?
37918 grep -v '^ *+' conftest.er1 >conftest.err
37919 rm -f conftest.er1
37920 cat conftest.err >&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_c_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.$ac_objext; then
37926 ac_cv_header_sched_h=yes
37927 else
37928 echo "$as_me: failed program was:" >&5
37929 sed 's/^/| /' conftest.$ac_ext >&5
37930
37931 ac_cv_header_sched_h=no
37932 fi
37933
37934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37935 fi
37936 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37937 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
37938
37939
37940 if test "$ac_cv_header_sched_h" = "yes"; then
37941 { echo "$as_me:$LINENO: checking for sched_yield" >&5
37942 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
37943 if test "${ac_cv_func_sched_yield+set}" = set; then
37944 echo $ECHO_N "(cached) $ECHO_C" >&6
37945 else
37946 cat >conftest.$ac_ext <<_ACEOF
37947 /* confdefs.h. */
37948 _ACEOF
37949 cat confdefs.h >>conftest.$ac_ext
37950 cat >>conftest.$ac_ext <<_ACEOF
37951 /* end confdefs.h. */
37952 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37954 #define sched_yield innocuous_sched_yield
37955
37956 /* System header to define __stub macros and hopefully few prototypes,
37957 which can conflict with char sched_yield (); below.
37958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37959 <limits.h> exists even on freestanding compilers. */
37960
37961 #ifdef __STDC__
37962 # include <limits.h>
37963 #else
37964 # include <assert.h>
37965 #endif
37966
37967 #undef sched_yield
37968
37969 /* Override any GCC internal prototype to avoid an error.
37970 Use char because int might match the return type of a GCC
37971 builtin and then its argument prototype would still apply. */
37972 #ifdef __cplusplus
37973 extern "C"
37974 #endif
37975 char sched_yield ();
37976 /* The GNU C library defines this for functions which it implements
37977 to always fail with ENOSYS. Some functions are actually named
37978 something starting with __ and the normal name is an alias. */
37979 #if defined __stub_sched_yield || defined __stub___sched_yield
37980 choke me
37981 #endif
37982
37983 int
37984 main ()
37985 {
37986 return sched_yield ();
37987 ;
37988 return 0;
37989 }
37990 _ACEOF
37991 rm -f conftest.$ac_objext conftest$ac_exeext
37992 if { (ac_try="$ac_link"
37993 case "(($ac_try" in
37994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37995 *) ac_try_echo=$ac_try;;
37996 esac
37997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37998 (eval "$ac_link") 2>conftest.er1
37999 ac_status=$?
38000 grep -v '^ *+' conftest.er1 >conftest.err
38001 rm -f conftest.er1
38002 cat conftest.err >&5
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); } && {
38005 test -z "$ac_c_werror_flag" ||
38006 test ! -s conftest.err
38007 } && test -s conftest$ac_exeext &&
38008 $as_test_x conftest$ac_exeext; then
38009 ac_cv_func_sched_yield=yes
38010 else
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.$ac_ext >&5
38013
38014 ac_cv_func_sched_yield=no
38015 fi
38016
38017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38018 conftest$ac_exeext conftest.$ac_ext
38019 fi
38020 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38021 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38022 if test $ac_cv_func_sched_yield = yes; then
38023 cat >>confdefs.h <<\_ACEOF
38024 #define HAVE_SCHED_YIELD 1
38025 _ACEOF
38026
38027 else
38028
38029 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38030 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38031 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38032 echo $ECHO_N "(cached) $ECHO_C" >&6
38033 else
38034 ac_check_lib_save_LIBS=$LIBS
38035 LIBS="-lposix4 $LIBS"
38036 cat >conftest.$ac_ext <<_ACEOF
38037 /* confdefs.h. */
38038 _ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042
38043 /* Override any GCC internal prototype to avoid an error.
38044 Use char because int might match the return type of a GCC
38045 builtin and then its argument prototype would still apply. */
38046 #ifdef __cplusplus
38047 extern "C"
38048 #endif
38049 char sched_yield ();
38050 int
38051 main ()
38052 {
38053 return sched_yield ();
38054 ;
38055 return 0;
38056 }
38057 _ACEOF
38058 rm -f conftest.$ac_objext conftest$ac_exeext
38059 if { (ac_try="$ac_link"
38060 case "(($ac_try" in
38061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38062 *) ac_try_echo=$ac_try;;
38063 esac
38064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38065 (eval "$ac_link") 2>conftest.er1
38066 ac_status=$?
38067 grep -v '^ *+' conftest.er1 >conftest.err
38068 rm -f conftest.er1
38069 cat conftest.err >&5
38070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38071 (exit $ac_status); } && {
38072 test -z "$ac_c_werror_flag" ||
38073 test ! -s conftest.err
38074 } && test -s conftest$ac_exeext &&
38075 $as_test_x conftest$ac_exeext; then
38076 ac_cv_lib_posix4_sched_yield=yes
38077 else
38078 echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38080
38081 ac_cv_lib_posix4_sched_yield=no
38082 fi
38083
38084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38085 conftest$ac_exeext conftest.$ac_ext
38086 LIBS=$ac_check_lib_save_LIBS
38087 fi
38088 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38089 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38090 if test $ac_cv_lib_posix4_sched_yield = yes; then
38091 cat >>confdefs.h <<\_ACEOF
38092 #define HAVE_SCHED_YIELD 1
38093 _ACEOF
38094 POSIX4_LINK=" -lposix4"
38095 else
38096 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38097 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38098
38099 fi
38100
38101
38102
38103 fi
38104
38105 fi
38106
38107 HAVE_PRIOR_FUNCS=0
38108 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38109 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38110 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 else
38113 cat >conftest.$ac_ext <<_ACEOF
38114 /* confdefs.h. */
38115 _ACEOF
38116 cat confdefs.h >>conftest.$ac_ext
38117 cat >>conftest.$ac_ext <<_ACEOF
38118 /* end confdefs.h. */
38119 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38121 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38122
38123 /* System header to define __stub macros and hopefully few prototypes,
38124 which can conflict with char pthread_attr_getschedpolicy (); below.
38125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38126 <limits.h> exists even on freestanding compilers. */
38127
38128 #ifdef __STDC__
38129 # include <limits.h>
38130 #else
38131 # include <assert.h>
38132 #endif
38133
38134 #undef pthread_attr_getschedpolicy
38135
38136 /* Override any GCC internal prototype to avoid an error.
38137 Use char because int might match the return type of a GCC
38138 builtin and then its argument prototype would still apply. */
38139 #ifdef __cplusplus
38140 extern "C"
38141 #endif
38142 char pthread_attr_getschedpolicy ();
38143 /* The GNU C library defines this for functions which it implements
38144 to always fail with ENOSYS. Some functions are actually named
38145 something starting with __ and the normal name is an alias. */
38146 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38147 choke me
38148 #endif
38149
38150 int
38151 main ()
38152 {
38153 return pthread_attr_getschedpolicy ();
38154 ;
38155 return 0;
38156 }
38157 _ACEOF
38158 rm -f conftest.$ac_objext conftest$ac_exeext
38159 if { (ac_try="$ac_link"
38160 case "(($ac_try" in
38161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38162 *) ac_try_echo=$ac_try;;
38163 esac
38164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38165 (eval "$ac_link") 2>conftest.er1
38166 ac_status=$?
38167 grep -v '^ *+' conftest.er1 >conftest.err
38168 rm -f conftest.er1
38169 cat conftest.err >&5
38170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171 (exit $ac_status); } && {
38172 test -z "$ac_c_werror_flag" ||
38173 test ! -s conftest.err
38174 } && test -s conftest$ac_exeext &&
38175 $as_test_x conftest$ac_exeext; then
38176 ac_cv_func_pthread_attr_getschedpolicy=yes
38177 else
38178 echo "$as_me: failed program was:" >&5
38179 sed 's/^/| /' conftest.$ac_ext >&5
38180
38181 ac_cv_func_pthread_attr_getschedpolicy=no
38182 fi
38183
38184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38185 conftest$ac_exeext conftest.$ac_ext
38186 fi
38187 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38188 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38189 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38190 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38191 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38192 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38193 echo $ECHO_N "(cached) $ECHO_C" >&6
38194 else
38195 cat >conftest.$ac_ext <<_ACEOF
38196 /* confdefs.h. */
38197 _ACEOF
38198 cat confdefs.h >>conftest.$ac_ext
38199 cat >>conftest.$ac_ext <<_ACEOF
38200 /* end confdefs.h. */
38201 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38203 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38204
38205 /* System header to define __stub macros and hopefully few prototypes,
38206 which can conflict with char pthread_attr_setschedparam (); below.
38207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38208 <limits.h> exists even on freestanding compilers. */
38209
38210 #ifdef __STDC__
38211 # include <limits.h>
38212 #else
38213 # include <assert.h>
38214 #endif
38215
38216 #undef pthread_attr_setschedparam
38217
38218 /* Override any GCC internal prototype to avoid an error.
38219 Use char because int might match the return type of a GCC
38220 builtin and then its argument prototype would still apply. */
38221 #ifdef __cplusplus
38222 extern "C"
38223 #endif
38224 char pthread_attr_setschedparam ();
38225 /* The GNU C library defines this for functions which it implements
38226 to always fail with ENOSYS. Some functions are actually named
38227 something starting with __ and the normal name is an alias. */
38228 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38229 choke me
38230 #endif
38231
38232 int
38233 main ()
38234 {
38235 return pthread_attr_setschedparam ();
38236 ;
38237 return 0;
38238 }
38239 _ACEOF
38240 rm -f conftest.$ac_objext conftest$ac_exeext
38241 if { (ac_try="$ac_link"
38242 case "(($ac_try" in
38243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38244 *) ac_try_echo=$ac_try;;
38245 esac
38246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38247 (eval "$ac_link") 2>conftest.er1
38248 ac_status=$?
38249 grep -v '^ *+' conftest.er1 >conftest.err
38250 rm -f conftest.er1
38251 cat conftest.err >&5
38252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38253 (exit $ac_status); } && {
38254 test -z "$ac_c_werror_flag" ||
38255 test ! -s conftest.err
38256 } && test -s conftest$ac_exeext &&
38257 $as_test_x conftest$ac_exeext; then
38258 ac_cv_func_pthread_attr_setschedparam=yes
38259 else
38260 echo "$as_me: failed program was:" >&5
38261 sed 's/^/| /' conftest.$ac_ext >&5
38262
38263 ac_cv_func_pthread_attr_setschedparam=no
38264 fi
38265
38266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38267 conftest$ac_exeext conftest.$ac_ext
38268 fi
38269 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38270 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38271 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38272 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38273 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38274 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38275 echo $ECHO_N "(cached) $ECHO_C" >&6
38276 else
38277 cat >conftest.$ac_ext <<_ACEOF
38278 /* confdefs.h. */
38279 _ACEOF
38280 cat confdefs.h >>conftest.$ac_ext
38281 cat >>conftest.$ac_ext <<_ACEOF
38282 /* end confdefs.h. */
38283 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38285 #define sched_get_priority_max innocuous_sched_get_priority_max
38286
38287 /* System header to define __stub macros and hopefully few prototypes,
38288 which can conflict with char sched_get_priority_max (); below.
38289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38290 <limits.h> exists even on freestanding compilers. */
38291
38292 #ifdef __STDC__
38293 # include <limits.h>
38294 #else
38295 # include <assert.h>
38296 #endif
38297
38298 #undef sched_get_priority_max
38299
38300 /* Override any GCC internal prototype to avoid an error.
38301 Use char because int might match the return type of a GCC
38302 builtin and then its argument prototype would still apply. */
38303 #ifdef __cplusplus
38304 extern "C"
38305 #endif
38306 char sched_get_priority_max ();
38307 /* The GNU C library defines this for functions which it implements
38308 to always fail with ENOSYS. Some functions are actually named
38309 something starting with __ and the normal name is an alias. */
38310 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38311 choke me
38312 #endif
38313
38314 int
38315 main ()
38316 {
38317 return sched_get_priority_max ();
38318 ;
38319 return 0;
38320 }
38321 _ACEOF
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (ac_try="$ac_link"
38324 case "(($ac_try" in
38325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38326 *) ac_try_echo=$ac_try;;
38327 esac
38328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38329 (eval "$ac_link") 2>conftest.er1
38330 ac_status=$?
38331 grep -v '^ *+' conftest.er1 >conftest.err
38332 rm -f conftest.er1
38333 cat conftest.err >&5
38334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38335 (exit $ac_status); } && {
38336 test -z "$ac_c_werror_flag" ||
38337 test ! -s conftest.err
38338 } && test -s conftest$ac_exeext &&
38339 $as_test_x conftest$ac_exeext; then
38340 ac_cv_func_sched_get_priority_max=yes
38341 else
38342 echo "$as_me: failed program was:" >&5
38343 sed 's/^/| /' conftest.$ac_ext >&5
38344
38345 ac_cv_func_sched_get_priority_max=no
38346 fi
38347
38348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38349 conftest$ac_exeext conftest.$ac_ext
38350 fi
38351 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38352 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38353 if test $ac_cv_func_sched_get_priority_max = yes; then
38354 HAVE_PRIOR_FUNCS=1
38355 else
38356 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38357 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38358 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38359 echo $ECHO_N "(cached) $ECHO_C" >&6
38360 else
38361 ac_check_lib_save_LIBS=$LIBS
38362 LIBS="-lposix4 $LIBS"
38363 cat >conftest.$ac_ext <<_ACEOF
38364 /* confdefs.h. */
38365 _ACEOF
38366 cat confdefs.h >>conftest.$ac_ext
38367 cat >>conftest.$ac_ext <<_ACEOF
38368 /* end confdefs.h. */
38369
38370 /* Override any GCC internal prototype to avoid an error.
38371 Use char because int might match the return type of a GCC
38372 builtin and then its argument prototype would still apply. */
38373 #ifdef __cplusplus
38374 extern "C"
38375 #endif
38376 char sched_get_priority_max ();
38377 int
38378 main ()
38379 {
38380 return sched_get_priority_max ();
38381 ;
38382 return 0;
38383 }
38384 _ACEOF
38385 rm -f conftest.$ac_objext conftest$ac_exeext
38386 if { (ac_try="$ac_link"
38387 case "(($ac_try" in
38388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38389 *) ac_try_echo=$ac_try;;
38390 esac
38391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38392 (eval "$ac_link") 2>conftest.er1
38393 ac_status=$?
38394 grep -v '^ *+' conftest.er1 >conftest.err
38395 rm -f conftest.er1
38396 cat conftest.err >&5
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); } && {
38399 test -z "$ac_c_werror_flag" ||
38400 test ! -s conftest.err
38401 } && test -s conftest$ac_exeext &&
38402 $as_test_x conftest$ac_exeext; then
38403 ac_cv_lib_posix4_sched_get_priority_max=yes
38404 else
38405 echo "$as_me: failed program was:" >&5
38406 sed 's/^/| /' conftest.$ac_ext >&5
38407
38408 ac_cv_lib_posix4_sched_get_priority_max=no
38409 fi
38410
38411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38412 conftest$ac_exeext conftest.$ac_ext
38413 LIBS=$ac_check_lib_save_LIBS
38414 fi
38415 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38416 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38417 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38418
38419 HAVE_PRIOR_FUNCS=1
38420 POSIX4_LINK=" -lposix4"
38421
38422 fi
38423
38424
38425 fi
38426
38427
38428 fi
38429
38430
38431 fi
38432
38433
38434 if test "$HAVE_PRIOR_FUNCS" = 1; then
38435 cat >>confdefs.h <<\_ACEOF
38436 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38437 _ACEOF
38438
38439 else
38440 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38441 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38442 fi
38443
38444 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38445 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38446 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38447 echo $ECHO_N "(cached) $ECHO_C" >&6
38448 else
38449 cat >conftest.$ac_ext <<_ACEOF
38450 /* confdefs.h. */
38451 _ACEOF
38452 cat confdefs.h >>conftest.$ac_ext
38453 cat >>conftest.$ac_ext <<_ACEOF
38454 /* end confdefs.h. */
38455 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38457 #define pthread_cancel innocuous_pthread_cancel
38458
38459 /* System header to define __stub macros and hopefully few prototypes,
38460 which can conflict with char pthread_cancel (); below.
38461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38462 <limits.h> exists even on freestanding compilers. */
38463
38464 #ifdef __STDC__
38465 # include <limits.h>
38466 #else
38467 # include <assert.h>
38468 #endif
38469
38470 #undef pthread_cancel
38471
38472 /* Override any GCC internal prototype to avoid an error.
38473 Use char because int might match the return type of a GCC
38474 builtin and then its argument prototype would still apply. */
38475 #ifdef __cplusplus
38476 extern "C"
38477 #endif
38478 char pthread_cancel ();
38479 /* The GNU C library defines this for functions which it implements
38480 to always fail with ENOSYS. Some functions are actually named
38481 something starting with __ and the normal name is an alias. */
38482 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38483 choke me
38484 #endif
38485
38486 int
38487 main ()
38488 {
38489 return pthread_cancel ();
38490 ;
38491 return 0;
38492 }
38493 _ACEOF
38494 rm -f conftest.$ac_objext conftest$ac_exeext
38495 if { (ac_try="$ac_link"
38496 case "(($ac_try" in
38497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38498 *) ac_try_echo=$ac_try;;
38499 esac
38500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38501 (eval "$ac_link") 2>conftest.er1
38502 ac_status=$?
38503 grep -v '^ *+' conftest.er1 >conftest.err
38504 rm -f conftest.er1
38505 cat conftest.err >&5
38506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38507 (exit $ac_status); } && {
38508 test -z "$ac_c_werror_flag" ||
38509 test ! -s conftest.err
38510 } && test -s conftest$ac_exeext &&
38511 $as_test_x conftest$ac_exeext; then
38512 ac_cv_func_pthread_cancel=yes
38513 else
38514 echo "$as_me: failed program was:" >&5
38515 sed 's/^/| /' conftest.$ac_ext >&5
38516
38517 ac_cv_func_pthread_cancel=no
38518 fi
38519
38520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38521 conftest$ac_exeext conftest.$ac_ext
38522 fi
38523 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38524 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38525 if test $ac_cv_func_pthread_cancel = yes; then
38526 cat >>confdefs.h <<\_ACEOF
38527 #define HAVE_PTHREAD_CANCEL 1
38528 _ACEOF
38529
38530 else
38531 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38532 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38533 fi
38534
38535
38536 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38537 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38538 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38539 echo $ECHO_N "(cached) $ECHO_C" >&6
38540 else
38541 cat >conftest.$ac_ext <<_ACEOF
38542 /* confdefs.h. */
38543 _ACEOF
38544 cat confdefs.h >>conftest.$ac_ext
38545 cat >>conftest.$ac_ext <<_ACEOF
38546 /* end confdefs.h. */
38547 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38549 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38550
38551 /* System header to define __stub macros and hopefully few prototypes,
38552 which can conflict with char pthread_mutex_timedlock (); below.
38553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38554 <limits.h> exists even on freestanding compilers. */
38555
38556 #ifdef __STDC__
38557 # include <limits.h>
38558 #else
38559 # include <assert.h>
38560 #endif
38561
38562 #undef pthread_mutex_timedlock
38563
38564 /* Override any GCC internal prototype to avoid an error.
38565 Use char because int might match the return type of a GCC
38566 builtin and then its argument prototype would still apply. */
38567 #ifdef __cplusplus
38568 extern "C"
38569 #endif
38570 char pthread_mutex_timedlock ();
38571 /* The GNU C library defines this for functions which it implements
38572 to always fail with ENOSYS. Some functions are actually named
38573 something starting with __ and the normal name is an alias. */
38574 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38575 choke me
38576 #endif
38577
38578 int
38579 main ()
38580 {
38581 return pthread_mutex_timedlock ();
38582 ;
38583 return 0;
38584 }
38585 _ACEOF
38586 rm -f conftest.$ac_objext conftest$ac_exeext
38587 if { (ac_try="$ac_link"
38588 case "(($ac_try" in
38589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38590 *) ac_try_echo=$ac_try;;
38591 esac
38592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38593 (eval "$ac_link") 2>conftest.er1
38594 ac_status=$?
38595 grep -v '^ *+' conftest.er1 >conftest.err
38596 rm -f conftest.er1
38597 cat conftest.err >&5
38598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38599 (exit $ac_status); } && {
38600 test -z "$ac_c_werror_flag" ||
38601 test ! -s conftest.err
38602 } && test -s conftest$ac_exeext &&
38603 $as_test_x conftest$ac_exeext; then
38604 ac_cv_func_pthread_mutex_timedlock=yes
38605 else
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38608
38609 ac_cv_func_pthread_mutex_timedlock=no
38610 fi
38611
38612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38613 conftest$ac_exeext conftest.$ac_ext
38614 fi
38615 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38616 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38617 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38618 cat >>confdefs.h <<\_ACEOF
38619 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38620 _ACEOF
38621
38622 else
38623 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38624 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38625 fi
38626
38627
38628 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38629 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38630 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38631 echo $ECHO_N "(cached) $ECHO_C" >&6
38632 else
38633 cat >conftest.$ac_ext <<_ACEOF
38634 /* confdefs.h. */
38635 _ACEOF
38636 cat confdefs.h >>conftest.$ac_ext
38637 cat >>conftest.$ac_ext <<_ACEOF
38638 /* end confdefs.h. */
38639 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38641 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38642
38643 /* System header to define __stub macros and hopefully few prototypes,
38644 which can conflict with char pthread_attr_setstacksize (); below.
38645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38646 <limits.h> exists even on freestanding compilers. */
38647
38648 #ifdef __STDC__
38649 # include <limits.h>
38650 #else
38651 # include <assert.h>
38652 #endif
38653
38654 #undef pthread_attr_setstacksize
38655
38656 /* Override any GCC internal prototype to avoid an error.
38657 Use char because int might match the return type of a GCC
38658 builtin and then its argument prototype would still apply. */
38659 #ifdef __cplusplus
38660 extern "C"
38661 #endif
38662 char pthread_attr_setstacksize ();
38663 /* The GNU C library defines this for functions which it implements
38664 to always fail with ENOSYS. Some functions are actually named
38665 something starting with __ and the normal name is an alias. */
38666 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38667 choke me
38668 #endif
38669
38670 int
38671 main ()
38672 {
38673 return pthread_attr_setstacksize ();
38674 ;
38675 return 0;
38676 }
38677 _ACEOF
38678 rm -f conftest.$ac_objext conftest$ac_exeext
38679 if { (ac_try="$ac_link"
38680 case "(($ac_try" in
38681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38682 *) ac_try_echo=$ac_try;;
38683 esac
38684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38685 (eval "$ac_link") 2>conftest.er1
38686 ac_status=$?
38687 grep -v '^ *+' conftest.er1 >conftest.err
38688 rm -f conftest.er1
38689 cat conftest.err >&5
38690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38691 (exit $ac_status); } && {
38692 test -z "$ac_c_werror_flag" ||
38693 test ! -s conftest.err
38694 } && test -s conftest$ac_exeext &&
38695 $as_test_x conftest$ac_exeext; then
38696 ac_cv_func_pthread_attr_setstacksize=yes
38697 else
38698 echo "$as_me: failed program was:" >&5
38699 sed 's/^/| /' conftest.$ac_ext >&5
38700
38701 ac_cv_func_pthread_attr_setstacksize=no
38702 fi
38703
38704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38705 conftest$ac_exeext conftest.$ac_ext
38706 fi
38707 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38708 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38709 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38710 cat >>confdefs.h <<\_ACEOF
38711 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38712 _ACEOF
38713
38714 fi
38715
38716
38717
38718 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38719 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38720 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38721 echo $ECHO_N "(cached) $ECHO_C" >&6
38722 else
38723
38724 cat >conftest.$ac_ext <<_ACEOF
38725 /* confdefs.h. */
38726 _ACEOF
38727 cat confdefs.h >>conftest.$ac_ext
38728 cat >>conftest.$ac_ext <<_ACEOF
38729 /* end confdefs.h. */
38730 #include <pthread.h>
38731 int
38732 main ()
38733 {
38734
38735 pthread_mutexattr_t attr;
38736 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38737
38738 ;
38739 return 0;
38740 }
38741 _ACEOF
38742 rm -f conftest.$ac_objext
38743 if { (ac_try="$ac_compile"
38744 case "(($ac_try" in
38745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38746 *) ac_try_echo=$ac_try;;
38747 esac
38748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38749 (eval "$ac_compile") 2>conftest.er1
38750 ac_status=$?
38751 grep -v '^ *+' conftest.er1 >conftest.err
38752 rm -f conftest.er1
38753 cat conftest.err >&5
38754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38755 (exit $ac_status); } && {
38756 test -z "$ac_c_werror_flag" ||
38757 test ! -s conftest.err
38758 } && test -s conftest.$ac_objext; then
38759 wx_cv_type_pthread_mutexattr_t=yes
38760 else
38761 echo "$as_me: failed program was:" >&5
38762 sed 's/^/| /' conftest.$ac_ext >&5
38763
38764 wx_cv_type_pthread_mutexattr_t=no
38765
38766 fi
38767
38768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38769
38770 fi
38771 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38772 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38773
38774 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38775 cat >>confdefs.h <<\_ACEOF
38776 #define HAVE_PTHREAD_MUTEXATTR_T 1
38777 _ACEOF
38778
38779
38780 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38781 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38782 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38783 echo $ECHO_N "(cached) $ECHO_C" >&6
38784 else
38785
38786 cat >conftest.$ac_ext <<_ACEOF
38787 /* confdefs.h. */
38788 _ACEOF
38789 cat confdefs.h >>conftest.$ac_ext
38790 cat >>conftest.$ac_ext <<_ACEOF
38791 /* end confdefs.h. */
38792 #include <pthread.h>
38793 int
38794 main ()
38795 {
38796
38797 pthread_mutexattr_t attr;
38798 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38799
38800 ;
38801 return 0;
38802 }
38803 _ACEOF
38804 rm -f conftest.$ac_objext
38805 if { (ac_try="$ac_compile"
38806 case "(($ac_try" in
38807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38808 *) ac_try_echo=$ac_try;;
38809 esac
38810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38811 (eval "$ac_compile") 2>conftest.er1
38812 ac_status=$?
38813 grep -v '^ *+' conftest.er1 >conftest.err
38814 rm -f conftest.er1
38815 cat conftest.err >&5
38816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817 (exit $ac_status); } && {
38818 test -z "$ac_c_werror_flag" ||
38819 test ! -s conftest.err
38820 } && test -s conftest.$ac_objext; then
38821 wx_cv_func_pthread_mutexattr_settype_decl=yes
38822 else
38823 echo "$as_me: failed program was:" >&5
38824 sed 's/^/| /' conftest.$ac_ext >&5
38825
38826 wx_cv_func_pthread_mutexattr_settype_decl=no
38827
38828 fi
38829
38830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38831
38832 fi
38833 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38834 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38835 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38836 cat >>confdefs.h <<\_ACEOF
38837 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38838 _ACEOF
38839
38840 fi
38841 else
38842 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38843 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38844 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38845 echo $ECHO_N "(cached) $ECHO_C" >&6
38846 else
38847
38848 cat >conftest.$ac_ext <<_ACEOF
38849 /* confdefs.h. */
38850 _ACEOF
38851 cat confdefs.h >>conftest.$ac_ext
38852 cat >>conftest.$ac_ext <<_ACEOF
38853 /* end confdefs.h. */
38854 #include <pthread.h>
38855 int
38856 main ()
38857 {
38858
38859 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38860
38861 ;
38862 return 0;
38863 }
38864 _ACEOF
38865 rm -f conftest.$ac_objext
38866 if { (ac_try="$ac_compile"
38867 case "(($ac_try" in
38868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38869 *) ac_try_echo=$ac_try;;
38870 esac
38871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38872 (eval "$ac_compile") 2>conftest.er1
38873 ac_status=$?
38874 grep -v '^ *+' conftest.er1 >conftest.err
38875 rm -f conftest.er1
38876 cat conftest.err >&5
38877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38878 (exit $ac_status); } && {
38879 test -z "$ac_c_werror_flag" ||
38880 test ! -s conftest.err
38881 } && test -s conftest.$ac_objext; then
38882
38883 wx_cv_type_pthread_rec_mutex_init=yes
38884
38885 else
38886 echo "$as_me: failed program was:" >&5
38887 sed 's/^/| /' conftest.$ac_ext >&5
38888
38889
38890 wx_cv_type_pthread_rec_mutex_init=no
38891
38892
38893 fi
38894
38895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38896
38897 fi
38898 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38899 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38900 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38901 cat >>confdefs.h <<\_ACEOF
38902 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38903 _ACEOF
38904
38905 else
38906 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38907 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38908 fi
38909 fi
38910 fi
38911
38912 else
38913 if test "$wxUSE_THREADS" = "yes" ; then
38914 case "${host}" in
38915 *-*-mingw32* )
38916 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38917 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
38918 if test "${wx_cv_cflags_mthread+set}" = set; then
38919 echo $ECHO_N "(cached) $ECHO_C" >&6
38920 else
38921
38922 CFLAGS_OLD="$CFLAGS"
38923 CFLAGS="-mthreads $CFLAGS"
38924 cat >conftest.$ac_ext <<_ACEOF
38925 /* confdefs.h. */
38926 _ACEOF
38927 cat confdefs.h >>conftest.$ac_ext
38928 cat >>conftest.$ac_ext <<_ACEOF
38929 /* end confdefs.h. */
38930
38931 int
38932 main ()
38933 {
38934
38935 ;
38936 return 0;
38937 }
38938 _ACEOF
38939 rm -f conftest.$ac_objext
38940 if { (ac_try="$ac_compile"
38941 case "(($ac_try" in
38942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38943 *) ac_try_echo=$ac_try;;
38944 esac
38945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38946 (eval "$ac_compile") 2>conftest.er1
38947 ac_status=$?
38948 grep -v '^ *+' conftest.er1 >conftest.err
38949 rm -f conftest.er1
38950 cat conftest.err >&5
38951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38952 (exit $ac_status); } && {
38953 test -z "$ac_c_werror_flag" ||
38954 test ! -s conftest.err
38955 } && test -s conftest.$ac_objext; then
38956 wx_cv_cflags_mthread=yes
38957 else
38958 echo "$as_me: failed program was:" >&5
38959 sed 's/^/| /' conftest.$ac_ext >&5
38960
38961 wx_cv_cflags_mthread=no
38962
38963 fi
38964
38965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38966
38967
38968 fi
38969 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38970 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
38971
38972 if test "$wx_cv_cflags_mthread" = "yes"; then
38973 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38974 LDFLAGS="$LDFLAGS -mthreads"
38975 else
38976 CFLAGS="$CFLAGS_OLD"
38977 fi
38978 ;;
38979 *-pc-os2*emx )
38980 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38981 LDFLAGS="$LDFLAGS -Zmt"
38982 ;;
38983 esac
38984 fi
38985 fi
38986
38987 { echo "$as_me:$LINENO: checking for localtime_r" >&5
38988 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
38989 if test "${ac_cv_func_localtime_r+set}" = set; then
38990 echo $ECHO_N "(cached) $ECHO_C" >&6
38991 else
38992 cat >conftest.$ac_ext <<_ACEOF
38993 /* confdefs.h. */
38994 _ACEOF
38995 cat confdefs.h >>conftest.$ac_ext
38996 cat >>conftest.$ac_ext <<_ACEOF
38997 /* end confdefs.h. */
38998 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
38999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39000 #define localtime_r innocuous_localtime_r
39001
39002 /* System header to define __stub macros and hopefully few prototypes,
39003 which can conflict with char localtime_r (); below.
39004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39005 <limits.h> exists even on freestanding compilers. */
39006
39007 #ifdef __STDC__
39008 # include <limits.h>
39009 #else
39010 # include <assert.h>
39011 #endif
39012
39013 #undef localtime_r
39014
39015 /* Override any GCC internal prototype to avoid an error.
39016 Use char because int might match the return type of a GCC
39017 builtin and then its argument prototype would still apply. */
39018 #ifdef __cplusplus
39019 extern "C"
39020 #endif
39021 char localtime_r ();
39022 /* The GNU C library defines this for functions which it implements
39023 to always fail with ENOSYS. Some functions are actually named
39024 something starting with __ and the normal name is an alias. */
39025 #if defined __stub_localtime_r || defined __stub___localtime_r
39026 choke me
39027 #endif
39028
39029 int
39030 main ()
39031 {
39032 return localtime_r ();
39033 ;
39034 return 0;
39035 }
39036 _ACEOF
39037 rm -f conftest.$ac_objext conftest$ac_exeext
39038 if { (ac_try="$ac_link"
39039 case "(($ac_try" in
39040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39041 *) ac_try_echo=$ac_try;;
39042 esac
39043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39044 (eval "$ac_link") 2>conftest.er1
39045 ac_status=$?
39046 grep -v '^ *+' conftest.er1 >conftest.err
39047 rm -f conftest.er1
39048 cat conftest.err >&5
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); } && {
39051 test -z "$ac_c_werror_flag" ||
39052 test ! -s conftest.err
39053 } && test -s conftest$ac_exeext &&
39054 $as_test_x conftest$ac_exeext; then
39055 ac_cv_func_localtime_r=yes
39056 else
39057 echo "$as_me: failed program was:" >&5
39058 sed 's/^/| /' conftest.$ac_ext >&5
39059
39060 ac_cv_func_localtime_r=no
39061 fi
39062
39063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39064 conftest$ac_exeext conftest.$ac_ext
39065 fi
39066 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39067 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39068 if test $ac_cv_func_localtime_r = yes; then
39069 cat >>confdefs.h <<\_ACEOF
39070 #define HAVE_LOCALTIME_R 1
39071 _ACEOF
39072
39073 fi
39074
39075 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39076 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39077 if test "${ac_cv_func_gmtime_r+set}" = set; then
39078 echo $ECHO_N "(cached) $ECHO_C" >&6
39079 else
39080 cat >conftest.$ac_ext <<_ACEOF
39081 /* confdefs.h. */
39082 _ACEOF
39083 cat confdefs.h >>conftest.$ac_ext
39084 cat >>conftest.$ac_ext <<_ACEOF
39085 /* end confdefs.h. */
39086 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39088 #define gmtime_r innocuous_gmtime_r
39089
39090 /* System header to define __stub macros and hopefully few prototypes,
39091 which can conflict with char gmtime_r (); below.
39092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39093 <limits.h> exists even on freestanding compilers. */
39094
39095 #ifdef __STDC__
39096 # include <limits.h>
39097 #else
39098 # include <assert.h>
39099 #endif
39100
39101 #undef gmtime_r
39102
39103 /* Override any GCC internal prototype to avoid an error.
39104 Use char because int might match the return type of a GCC
39105 builtin and then its argument prototype would still apply. */
39106 #ifdef __cplusplus
39107 extern "C"
39108 #endif
39109 char gmtime_r ();
39110 /* The GNU C library defines this for functions which it implements
39111 to always fail with ENOSYS. Some functions are actually named
39112 something starting with __ and the normal name is an alias. */
39113 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39114 choke me
39115 #endif
39116
39117 int
39118 main ()
39119 {
39120 return gmtime_r ();
39121 ;
39122 return 0;
39123 }
39124 _ACEOF
39125 rm -f conftest.$ac_objext conftest$ac_exeext
39126 if { (ac_try="$ac_link"
39127 case "(($ac_try" in
39128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39129 *) ac_try_echo=$ac_try;;
39130 esac
39131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39132 (eval "$ac_link") 2>conftest.er1
39133 ac_status=$?
39134 grep -v '^ *+' conftest.er1 >conftest.err
39135 rm -f conftest.er1
39136 cat conftest.err >&5
39137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39138 (exit $ac_status); } && {
39139 test -z "$ac_c_werror_flag" ||
39140 test ! -s conftest.err
39141 } && test -s conftest$ac_exeext &&
39142 $as_test_x conftest$ac_exeext; then
39143 ac_cv_func_gmtime_r=yes
39144 else
39145 echo "$as_me: failed program was:" >&5
39146 sed 's/^/| /' conftest.$ac_ext >&5
39147
39148 ac_cv_func_gmtime_r=no
39149 fi
39150
39151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39152 conftest$ac_exeext conftest.$ac_ext
39153 fi
39154 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39155 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39156 if test $ac_cv_func_gmtime_r = yes; then
39157 cat >>confdefs.h <<\_ACEOF
39158 #define HAVE_GMTIME_R 1
39159 _ACEOF
39160
39161 fi
39162
39163 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39164 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39165 if test "${ac_cv_func_readdir_r+set}" = set; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 else
39168 cat >conftest.$ac_ext <<_ACEOF
39169 /* confdefs.h. */
39170 _ACEOF
39171 cat confdefs.h >>conftest.$ac_ext
39172 cat >>conftest.$ac_ext <<_ACEOF
39173 /* end confdefs.h. */
39174 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39176 #define readdir_r innocuous_readdir_r
39177
39178 /* System header to define __stub macros and hopefully few prototypes,
39179 which can conflict with char readdir_r (); below.
39180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39181 <limits.h> exists even on freestanding compilers. */
39182
39183 #ifdef __STDC__
39184 # include <limits.h>
39185 #else
39186 # include <assert.h>
39187 #endif
39188
39189 #undef readdir_r
39190
39191 /* Override any GCC internal prototype to avoid an error.
39192 Use char because int might match the return type of a GCC
39193 builtin and then its argument prototype would still apply. */
39194 #ifdef __cplusplus
39195 extern "C"
39196 #endif
39197 char readdir_r ();
39198 /* The GNU C library defines this for functions which it implements
39199 to always fail with ENOSYS. Some functions are actually named
39200 something starting with __ and the normal name is an alias. */
39201 #if defined __stub_readdir_r || defined __stub___readdir_r
39202 choke me
39203 #endif
39204
39205 int
39206 main ()
39207 {
39208 return readdir_r ();
39209 ;
39210 return 0;
39211 }
39212 _ACEOF
39213 rm -f conftest.$ac_objext conftest$ac_exeext
39214 if { (ac_try="$ac_link"
39215 case "(($ac_try" in
39216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39217 *) ac_try_echo=$ac_try;;
39218 esac
39219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39220 (eval "$ac_link") 2>conftest.er1
39221 ac_status=$?
39222 grep -v '^ *+' conftest.er1 >conftest.err
39223 rm -f conftest.er1
39224 cat conftest.err >&5
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); } && {
39227 test -z "$ac_c_werror_flag" ||
39228 test ! -s conftest.err
39229 } && test -s conftest$ac_exeext &&
39230 $as_test_x conftest$ac_exeext; then
39231 ac_cv_func_readdir_r=yes
39232 else
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39235
39236 ac_cv_func_readdir_r=no
39237 fi
39238
39239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39240 conftest$ac_exeext conftest.$ac_ext
39241 fi
39242 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39243 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39244 if test $ac_cv_func_readdir_r = yes; then
39245 cat >>confdefs.h <<\_ACEOF
39246 #define HAVE_READDIR_R 1
39247 _ACEOF
39248
39249 fi
39250
39251
39252
39253
39254 ac_ext=c
39255 ac_cpp='$CPP $CPPFLAGS'
39256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39259
39260 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39261 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39262
39263 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39264 echo $ECHO_N "(cached) $ECHO_C" >&6
39265 else
39266
39267
39268 ################################################################
39269
39270 ac_cv_func_which_gethostbyname_r=unknown
39271
39272 #
39273 # ONE ARGUMENT (sanity check)
39274 #
39275
39276 # This should fail, as there is no variant of gethostbyname_r() that takes
39277 # a single argument. If it actually compiles, then we can assume that
39278 # netdb.h is not declaring the function, and the compiler is thereby
39279 # assuming an implicit prototype. In which case, we're out of luck.
39280 #
39281 cat >conftest.$ac_ext <<_ACEOF
39282 /* confdefs.h. */
39283 _ACEOF
39284 cat confdefs.h >>conftest.$ac_ext
39285 cat >>conftest.$ac_ext <<_ACEOF
39286 /* end confdefs.h. */
39287 #include <netdb.h>
39288 int
39289 main ()
39290 {
39291
39292 char *name = "www.gnu.org";
39293 (void)gethostbyname_r(name) /* ; */
39294
39295 ;
39296 return 0;
39297 }
39298 _ACEOF
39299 rm -f conftest.$ac_objext
39300 if { (ac_try="$ac_compile"
39301 case "(($ac_try" in
39302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39303 *) ac_try_echo=$ac_try;;
39304 esac
39305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39306 (eval "$ac_compile") 2>conftest.er1
39307 ac_status=$?
39308 grep -v '^ *+' conftest.er1 >conftest.err
39309 rm -f conftest.er1
39310 cat conftest.err >&5
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); } && {
39313 test -z "$ac_c_werror_flag" ||
39314 test ! -s conftest.err
39315 } && test -s conftest.$ac_objext; then
39316 ac_cv_func_which_gethostbyname_r=no
39317 else
39318 echo "$as_me: failed program was:" >&5
39319 sed 's/^/| /' conftest.$ac_ext >&5
39320
39321
39322 fi
39323
39324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39325
39326 #
39327 # SIX ARGUMENTS
39328 # (e.g. Linux)
39329 #
39330
39331 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39332
39333 cat >conftest.$ac_ext <<_ACEOF
39334 /* confdefs.h. */
39335 _ACEOF
39336 cat confdefs.h >>conftest.$ac_ext
39337 cat >>conftest.$ac_ext <<_ACEOF
39338 /* end confdefs.h. */
39339 #include <netdb.h>
39340 int
39341 main ()
39342 {
39343
39344 char *name = "www.gnu.org";
39345 struct hostent ret, *retp;
39346 char buf[1024];
39347 int buflen = 1024;
39348 int my_h_errno;
39349 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39350
39351 ;
39352 return 0;
39353 }
39354 _ACEOF
39355 rm -f conftest.$ac_objext
39356 if { (ac_try="$ac_compile"
39357 case "(($ac_try" in
39358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39359 *) ac_try_echo=$ac_try;;
39360 esac
39361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39362 (eval "$ac_compile") 2>conftest.er1
39363 ac_status=$?
39364 grep -v '^ *+' conftest.er1 >conftest.err
39365 rm -f conftest.er1
39366 cat conftest.err >&5
39367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39368 (exit $ac_status); } && {
39369 test -z "$ac_c_werror_flag" ||
39370 test ! -s conftest.err
39371 } && test -s conftest.$ac_objext; then
39372 ac_cv_func_which_gethostbyname_r=six
39373 else
39374 echo "$as_me: failed program was:" >&5
39375 sed 's/^/| /' conftest.$ac_ext >&5
39376
39377
39378 fi
39379
39380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39381
39382 fi
39383
39384 #
39385 # FIVE ARGUMENTS
39386 # (e.g. Solaris)
39387 #
39388
39389 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39390
39391 cat >conftest.$ac_ext <<_ACEOF
39392 /* confdefs.h. */
39393 _ACEOF
39394 cat confdefs.h >>conftest.$ac_ext
39395 cat >>conftest.$ac_ext <<_ACEOF
39396 /* end confdefs.h. */
39397 #include <netdb.h>
39398 int
39399 main ()
39400 {
39401
39402 char *name = "www.gnu.org";
39403 struct hostent ret;
39404 char buf[1024];
39405 int buflen = 1024;
39406 int my_h_errno;
39407 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39408
39409 ;
39410 return 0;
39411 }
39412 _ACEOF
39413 rm -f conftest.$ac_objext
39414 if { (ac_try="$ac_compile"
39415 case "(($ac_try" in
39416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39417 *) ac_try_echo=$ac_try;;
39418 esac
39419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39420 (eval "$ac_compile") 2>conftest.er1
39421 ac_status=$?
39422 grep -v '^ *+' conftest.er1 >conftest.err
39423 rm -f conftest.er1
39424 cat conftest.err >&5
39425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39426 (exit $ac_status); } && {
39427 test -z "$ac_c_werror_flag" ||
39428 test ! -s conftest.err
39429 } && test -s conftest.$ac_objext; then
39430 ac_cv_func_which_gethostbyname_r=five
39431 else
39432 echo "$as_me: failed program was:" >&5
39433 sed 's/^/| /' conftest.$ac_ext >&5
39434
39435
39436 fi
39437
39438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39439
39440 fi
39441
39442 #
39443 # THREE ARGUMENTS
39444 # (e.g. AIX, HP-UX, Tru64)
39445 #
39446
39447 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39448
39449 cat >conftest.$ac_ext <<_ACEOF
39450 /* confdefs.h. */
39451 _ACEOF
39452 cat confdefs.h >>conftest.$ac_ext
39453 cat >>conftest.$ac_ext <<_ACEOF
39454 /* end confdefs.h. */
39455 #include <netdb.h>
39456 int
39457 main ()
39458 {
39459
39460 char *name = "www.gnu.org";
39461 struct hostent ret;
39462 struct hostent_data data;
39463 (void)gethostbyname_r(name, &ret, &data) /* ; */
39464
39465 ;
39466 return 0;
39467 }
39468 _ACEOF
39469 rm -f conftest.$ac_objext
39470 if { (ac_try="$ac_compile"
39471 case "(($ac_try" in
39472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39473 *) ac_try_echo=$ac_try;;
39474 esac
39475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39476 (eval "$ac_compile") 2>conftest.er1
39477 ac_status=$?
39478 grep -v '^ *+' conftest.er1 >conftest.err
39479 rm -f conftest.er1
39480 cat conftest.err >&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); } && {
39483 test -z "$ac_c_werror_flag" ||
39484 test ! -s conftest.err
39485 } && test -s conftest.$ac_objext; then
39486 ac_cv_func_which_gethostbyname_r=three
39487 else
39488 echo "$as_me: failed program was:" >&5
39489 sed 's/^/| /' conftest.$ac_ext >&5
39490
39491
39492 fi
39493
39494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39495
39496 fi
39497
39498 ################################################################
39499
39500
39501 fi
39502
39503 case "$ac_cv_func_which_gethostbyname_r" in
39504 three)
39505 { echo "$as_me:$LINENO: result: three" >&5
39506 echo "${ECHO_T}three" >&6; }
39507 cat >>confdefs.h <<\_ACEOF
39508 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39509 _ACEOF
39510
39511 ;;
39512
39513 five)
39514 { echo "$as_me:$LINENO: result: five" >&5
39515 echo "${ECHO_T}five" >&6; }
39516 cat >>confdefs.h <<\_ACEOF
39517 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39518 _ACEOF
39519
39520 ;;
39521
39522 six)
39523 { echo "$as_me:$LINENO: result: six" >&5
39524 echo "${ECHO_T}six" >&6; }
39525 cat >>confdefs.h <<\_ACEOF
39526 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39527 _ACEOF
39528
39529 ;;
39530
39531 no)
39532 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39533 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39534 ;;
39535
39536 unknown)
39537 { echo "$as_me:$LINENO: result: can't tell" >&5
39538 echo "${ECHO_T}can't tell" >&6; }
39539 ;;
39540
39541 *)
39542 { { echo "$as_me:$LINENO: error: internal error" >&5
39543 echo "$as_me: error: internal error" >&2;}
39544 { (exit 1); exit 1; }; }
39545 ;;
39546 esac
39547
39548 ac_ext=c
39549 ac_cpp='$CPP $CPPFLAGS'
39550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39553
39554
39555
39556 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39557 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39558 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39559 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39560 if test "${ac_cv_func_gethostbyname+set}" = set; then
39561 echo $ECHO_N "(cached) $ECHO_C" >&6
39562 else
39563 cat >conftest.$ac_ext <<_ACEOF
39564 /* confdefs.h. */
39565 _ACEOF
39566 cat confdefs.h >>conftest.$ac_ext
39567 cat >>conftest.$ac_ext <<_ACEOF
39568 /* end confdefs.h. */
39569 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39571 #define gethostbyname innocuous_gethostbyname
39572
39573 /* System header to define __stub macros and hopefully few prototypes,
39574 which can conflict with char gethostbyname (); below.
39575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39576 <limits.h> exists even on freestanding compilers. */
39577
39578 #ifdef __STDC__
39579 # include <limits.h>
39580 #else
39581 # include <assert.h>
39582 #endif
39583
39584 #undef gethostbyname
39585
39586 /* Override any GCC internal prototype to avoid an error.
39587 Use char because int might match the return type of a GCC
39588 builtin and then its argument prototype would still apply. */
39589 #ifdef __cplusplus
39590 extern "C"
39591 #endif
39592 char gethostbyname ();
39593 /* The GNU C library defines this for functions which it implements
39594 to always fail with ENOSYS. Some functions are actually named
39595 something starting with __ and the normal name is an alias. */
39596 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39597 choke me
39598 #endif
39599
39600 int
39601 main ()
39602 {
39603 return gethostbyname ();
39604 ;
39605 return 0;
39606 }
39607 _ACEOF
39608 rm -f conftest.$ac_objext conftest$ac_exeext
39609 if { (ac_try="$ac_link"
39610 case "(($ac_try" in
39611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39612 *) ac_try_echo=$ac_try;;
39613 esac
39614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39615 (eval "$ac_link") 2>conftest.er1
39616 ac_status=$?
39617 grep -v '^ *+' conftest.er1 >conftest.err
39618 rm -f conftest.er1
39619 cat conftest.err >&5
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); } && {
39622 test -z "$ac_c_werror_flag" ||
39623 test ! -s conftest.err
39624 } && test -s conftest$ac_exeext &&
39625 $as_test_x conftest$ac_exeext; then
39626 ac_cv_func_gethostbyname=yes
39627 else
39628 echo "$as_me: failed program was:" >&5
39629 sed 's/^/| /' conftest.$ac_ext >&5
39630
39631 ac_cv_func_gethostbyname=no
39632 fi
39633
39634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39635 conftest$ac_exeext conftest.$ac_ext
39636 fi
39637 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39638 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39639 if test $ac_cv_func_gethostbyname = yes; then
39640 cat >>confdefs.h <<\_ACEOF
39641 #define HAVE_GETHOSTBYNAME 1
39642 _ACEOF
39643
39644 fi
39645
39646 fi
39647
39648 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39649 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39650 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39651 echo $ECHO_N "(cached) $ECHO_C" >&6
39652 else
39653
39654 ac_ext=cpp
39655 ac_cpp='$CXXCPP $CPPFLAGS'
39656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39659
39660
39661 cat >conftest.$ac_ext <<_ACEOF
39662 /* confdefs.h. */
39663 _ACEOF
39664 cat confdefs.h >>conftest.$ac_ext
39665 cat >>conftest.$ac_ext <<_ACEOF
39666 /* end confdefs.h. */
39667 #include <netdb.h>
39668 int
39669 main ()
39670 {
39671
39672 char *name;
39673 char *proto;
39674 struct servent *se, *res;
39675 char buffer[2048];
39676 int buflen = 2048;
39677 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39678
39679 ;
39680 return 0;
39681 }
39682 _ACEOF
39683 rm -f conftest.$ac_objext
39684 if { (ac_try="$ac_compile"
39685 case "(($ac_try" in
39686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39687 *) ac_try_echo=$ac_try;;
39688 esac
39689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39690 (eval "$ac_compile") 2>conftest.er1
39691 ac_status=$?
39692 grep -v '^ *+' conftest.er1 >conftest.err
39693 rm -f conftest.er1
39694 cat conftest.err >&5
39695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39696 (exit $ac_status); } && {
39697 test -z "$ac_cxx_werror_flag" ||
39698 test ! -s conftest.err
39699 } && test -s conftest.$ac_objext; then
39700 ac_cv_func_which_getservbyname_r=six
39701 else
39702 echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.$ac_ext >&5
39704
39705
39706 cat >conftest.$ac_ext <<_ACEOF
39707 /* confdefs.h. */
39708 _ACEOF
39709 cat confdefs.h >>conftest.$ac_ext
39710 cat >>conftest.$ac_ext <<_ACEOF
39711 /* end confdefs.h. */
39712 #include <netdb.h>
39713 int
39714 main ()
39715 {
39716
39717 char *name;
39718 char *proto;
39719 struct servent *se;
39720 char buffer[2048];
39721 int buflen = 2048;
39722 (void) getservbyname_r(name, proto, se, buffer, buflen)
39723
39724 ;
39725 return 0;
39726 }
39727 _ACEOF
39728 rm -f conftest.$ac_objext
39729 if { (ac_try="$ac_compile"
39730 case "(($ac_try" in
39731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39732 *) ac_try_echo=$ac_try;;
39733 esac
39734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39735 (eval "$ac_compile") 2>conftest.er1
39736 ac_status=$?
39737 grep -v '^ *+' conftest.er1 >conftest.err
39738 rm -f conftest.er1
39739 cat conftest.err >&5
39740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39741 (exit $ac_status); } && {
39742 test -z "$ac_cxx_werror_flag" ||
39743 test ! -s conftest.err
39744 } && test -s conftest.$ac_objext; then
39745 ac_cv_func_which_getservbyname_r=five
39746 else
39747 echo "$as_me: failed program was:" >&5
39748 sed 's/^/| /' conftest.$ac_ext >&5
39749
39750
39751 cat >conftest.$ac_ext <<_ACEOF
39752 /* confdefs.h. */
39753 _ACEOF
39754 cat confdefs.h >>conftest.$ac_ext
39755 cat >>conftest.$ac_ext <<_ACEOF
39756 /* end confdefs.h. */
39757 #include <netdb.h>
39758 int
39759 main ()
39760 {
39761
39762 char *name;
39763 char *proto;
39764 struct servent *se;
39765 struct servent_data data;
39766 (void) getservbyname_r(name, proto, se, &data);
39767
39768 ;
39769 return 0;
39770 }
39771 _ACEOF
39772 rm -f conftest.$ac_objext
39773 if { (ac_try="$ac_compile"
39774 case "(($ac_try" in
39775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39776 *) ac_try_echo=$ac_try;;
39777 esac
39778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39779 (eval "$ac_compile") 2>conftest.er1
39780 ac_status=$?
39781 grep -v '^ *+' conftest.er1 >conftest.err
39782 rm -f conftest.er1
39783 cat conftest.err >&5
39784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39785 (exit $ac_status); } && {
39786 test -z "$ac_cxx_werror_flag" ||
39787 test ! -s conftest.err
39788 } && test -s conftest.$ac_objext; then
39789 ac_cv_func_which_getservbyname_r=four
39790 else
39791 echo "$as_me: failed program was:" >&5
39792 sed 's/^/| /' conftest.$ac_ext >&5
39793
39794 ac_cv_func_which_getservbyname_r=no
39795
39796 fi
39797
39798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39799
39800
39801 fi
39802
39803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39804
39805
39806 fi
39807
39808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39809 ac_ext=c
39810 ac_cpp='$CPP $CPPFLAGS'
39811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39814
39815
39816
39817 fi
39818 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39819 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39820
39821 if test $ac_cv_func_which_getservbyname_r = six; then
39822 cat >>confdefs.h <<\_ACEOF
39823 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39824 _ACEOF
39825
39826 elif test $ac_cv_func_which_getservbyname_r = five; then
39827 cat >>confdefs.h <<\_ACEOF
39828 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39829 _ACEOF
39830
39831 elif test $ac_cv_func_which_getservbyname_r = four; then
39832 cat >>confdefs.h <<\_ACEOF
39833 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39834 _ACEOF
39835
39836 fi
39837
39838
39839 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39840 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39841
39842 for ac_func in getservbyname
39843 do
39844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39845 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39847 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39848 echo $ECHO_N "(cached) $ECHO_C" >&6
39849 else
39850 cat >conftest.$ac_ext <<_ACEOF
39851 /* confdefs.h. */
39852 _ACEOF
39853 cat confdefs.h >>conftest.$ac_ext
39854 cat >>conftest.$ac_ext <<_ACEOF
39855 /* end confdefs.h. */
39856 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39857 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39858 #define $ac_func innocuous_$ac_func
39859
39860 /* System header to define __stub macros and hopefully few prototypes,
39861 which can conflict with char $ac_func (); below.
39862 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39863 <limits.h> exists even on freestanding compilers. */
39864
39865 #ifdef __STDC__
39866 # include <limits.h>
39867 #else
39868 # include <assert.h>
39869 #endif
39870
39871 #undef $ac_func
39872
39873 /* Override any GCC internal prototype to avoid an error.
39874 Use char because int might match the return type of a GCC
39875 builtin and then its argument prototype would still apply. */
39876 #ifdef __cplusplus
39877 extern "C"
39878 #endif
39879 char $ac_func ();
39880 /* The GNU C library defines this for functions which it implements
39881 to always fail with ENOSYS. Some functions are actually named
39882 something starting with __ and the normal name is an alias. */
39883 #if defined __stub_$ac_func || defined __stub___$ac_func
39884 choke me
39885 #endif
39886
39887 int
39888 main ()
39889 {
39890 return $ac_func ();
39891 ;
39892 return 0;
39893 }
39894 _ACEOF
39895 rm -f conftest.$ac_objext conftest$ac_exeext
39896 if { (ac_try="$ac_link"
39897 case "(($ac_try" in
39898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39899 *) ac_try_echo=$ac_try;;
39900 esac
39901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39902 (eval "$ac_link") 2>conftest.er1
39903 ac_status=$?
39904 grep -v '^ *+' conftest.er1 >conftest.err
39905 rm -f conftest.er1
39906 cat conftest.err >&5
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); } && {
39909 test -z "$ac_c_werror_flag" ||
39910 test ! -s conftest.err
39911 } && test -s conftest$ac_exeext &&
39912 $as_test_x conftest$ac_exeext; then
39913 eval "$as_ac_var=yes"
39914 else
39915 echo "$as_me: failed program was:" >&5
39916 sed 's/^/| /' conftest.$ac_ext >&5
39917
39918 eval "$as_ac_var=no"
39919 fi
39920
39921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39922 conftest$ac_exeext conftest.$ac_ext
39923 fi
39924 ac_res=`eval echo '${'$as_ac_var'}'`
39925 { echo "$as_me:$LINENO: result: $ac_res" >&5
39926 echo "${ECHO_T}$ac_res" >&6; }
39927 if test `eval echo '${'$as_ac_var'}'` = yes; then
39928 cat >>confdefs.h <<_ACEOF
39929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39930 _ACEOF
39931 cat >>confdefs.h <<\_ACEOF
39932 #define HAVE_GETSERVBYNAME 1
39933 _ACEOF
39934
39935 fi
39936 done
39937
39938 fi
39939
39940 if test "$wxUSE_THREADS" = "yes"; then
39941 cat >>confdefs.h <<\_ACEOF
39942 #define wxUSE_THREADS 1
39943 _ACEOF
39944
39945
39946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39947 else
39948 if test "$wx_cv_func_strtok_r" = "yes"; then
39949 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39950 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
39951 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39952 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39953 { echo "$as_me:$LINENO: result: yes" >&5
39954 echo "${ECHO_T}yes" >&6; }
39955 else
39956 { echo "$as_me:$LINENO: result: no" >&5
39957 echo "${ECHO_T}no" >&6; }
39958 fi
39959 fi
39960 fi
39961
39962 if test "$WXGTK20" = 1 ; then
39963 cat >>confdefs.h <<_ACEOF
39964 #define __WXGTK20__ $WXGTK20
39965 _ACEOF
39966
39967 WXGTK12=1
39968 fi
39969
39970 if test "$WXGTK12" = 1 ; then
39971 cat >>confdefs.h <<_ACEOF
39972 #define __WXGTK12__ $WXGTK12
39973 _ACEOF
39974
39975 fi
39976
39977 if test "$WXGTK127" = 1 ; then
39978 cat >>confdefs.h <<_ACEOF
39979 #define __WXGTK127__ $WXGTK127
39980 _ACEOF
39981
39982 fi
39983
39984 if test "$WXGPE" = 1 ; then
39985 cat >>confdefs.h <<_ACEOF
39986 #define __WXGPE__ $WXGPE
39987 _ACEOF
39988
39989 fi
39990
39991 DEBUG_CFLAGS=
39992 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39993 DEBUG_CFLAGS="-g"
39994 wxUSE_OPTIMISE=no
39995 fi
39996
39997 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
39998 wxUSE_DEBUG_INFO=yes
39999 if test "$GCC" = yes; then
40000 DEBUG_CFLAGS="-ggdb"
40001 fi
40002 fi
40003
40004 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40005 cat >>confdefs.h <<\_ACEOF
40006 #define WXDEBUG 1
40007 _ACEOF
40008
40009 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40010 else
40011 if test "$wxUSE_GTK" = 1 ; then
40012 if test "x$wxGTK_VERSION" = "x1" ; then
40013 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40014 fi
40015 fi
40016 fi
40017
40018 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40019 cat >>confdefs.h <<\_ACEOF
40020 #define wxUSE_MEMORY_TRACING 1
40021 _ACEOF
40022
40023 cat >>confdefs.h <<\_ACEOF
40024 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40025 _ACEOF
40026
40027 cat >>confdefs.h <<\_ACEOF
40028 #define wxUSE_DEBUG_NEW_ALWAYS 1
40029 _ACEOF
40030
40031 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40032 fi
40033
40034 if test "$wxUSE_DMALLOC" = "yes" ; then
40035 DMALLOC_LIBS="-ldmallocthcxx"
40036 fi
40037
40038 PROFILE_FLAGS=
40039 if test "$wxUSE_PROFILE" = "yes" ; then
40040 PROFILE_FLAGS=" -pg"
40041 fi
40042
40043 if test "$GCC" = "yes" ; then
40044 if test "$wxUSE_NO_RTTI" = "yes" ; then
40045 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40046 fi
40047 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40048 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40049 fi
40050 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40051 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40052 fi
40053
40054 case "${host}" in
40055 powerpc*-*-aix* )
40056 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40057 ;;
40058 *-hppa* )
40059 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40060 ;;
40061 esac
40062 fi
40063
40064 OPTIMISE_CFLAGS=
40065 if test "$wxUSE_OPTIMISE" = "no" ; then
40066 if test "$GCC" = yes ; then
40067 OPTIMISE_CFLAGS="-O0"
40068 fi
40069 else
40070 if test "$GCC" = yes ; then
40071 case "${host}" in
40072 *-pc-os2_emx | *-pc-os2-emx )
40073 OPTIMISE_CFLAGS="-O2"
40074 ;;
40075 *)
40076 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40077 ;;
40078 esac
40079 else
40080 OPTIMISE_CFLAGS="-O"
40081 fi
40082 fi
40083
40084
40085 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40086 cat >>confdefs.h <<\_ACEOF
40087 #define WXWIN_COMPATIBILITY_2_6 1
40088 _ACEOF
40089
40090
40091 WXWIN_COMPATIBILITY_2_8="yes"
40092 fi
40093
40094 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40095 cat >>confdefs.h <<\_ACEOF
40096 #define WXWIN_COMPATIBILITY_2_8 1
40097 _ACEOF
40098
40099 fi
40100
40101
40102 if test "$wxUSE_GUI" = "yes"; then
40103 cat >>confdefs.h <<\_ACEOF
40104 #define wxUSE_GUI 1
40105 _ACEOF
40106
40107
40108 fi
40109
40110
40111 if test "$wxUSE_UNIX" = "yes"; then
40112 cat >>confdefs.h <<\_ACEOF
40113 #define wxUSE_UNIX 1
40114 _ACEOF
40115
40116 fi
40117
40118
40119 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40120
40121 HAVE_DL_FUNCS=0
40122 HAVE_SHL_FUNCS=0
40123 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40124 if test "$USE_DARWIN" = 1; then
40125 HAVE_DL_FUNCS=1
40126 elif test "$USE_DOS" = 1; then
40127 HAVE_DL_FUNCS=0
40128 else
40129
40130 for ac_func in dlopen
40131 do
40132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40133 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40135 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40136 echo $ECHO_N "(cached) $ECHO_C" >&6
40137 else
40138 cat >conftest.$ac_ext <<_ACEOF
40139 /* confdefs.h. */
40140 _ACEOF
40141 cat confdefs.h >>conftest.$ac_ext
40142 cat >>conftest.$ac_ext <<_ACEOF
40143 /* end confdefs.h. */
40144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40146 #define $ac_func innocuous_$ac_func
40147
40148 /* System header to define __stub macros and hopefully few prototypes,
40149 which can conflict with char $ac_func (); below.
40150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40151 <limits.h> exists even on freestanding compilers. */
40152
40153 #ifdef __STDC__
40154 # include <limits.h>
40155 #else
40156 # include <assert.h>
40157 #endif
40158
40159 #undef $ac_func
40160
40161 /* Override any GCC internal prototype to avoid an error.
40162 Use char because int might match the return type of a GCC
40163 builtin and then its argument prototype would still apply. */
40164 #ifdef __cplusplus
40165 extern "C"
40166 #endif
40167 char $ac_func ();
40168 /* The GNU C library defines this for functions which it implements
40169 to always fail with ENOSYS. Some functions are actually named
40170 something starting with __ and the normal name is an alias. */
40171 #if defined __stub_$ac_func || defined __stub___$ac_func
40172 choke me
40173 #endif
40174
40175 int
40176 main ()
40177 {
40178 return $ac_func ();
40179 ;
40180 return 0;
40181 }
40182 _ACEOF
40183 rm -f conftest.$ac_objext conftest$ac_exeext
40184 if { (ac_try="$ac_link"
40185 case "(($ac_try" in
40186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40187 *) ac_try_echo=$ac_try;;
40188 esac
40189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40190 (eval "$ac_link") 2>conftest.er1
40191 ac_status=$?
40192 grep -v '^ *+' conftest.er1 >conftest.err
40193 rm -f conftest.er1
40194 cat conftest.err >&5
40195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40196 (exit $ac_status); } && {
40197 test -z "$ac_c_werror_flag" ||
40198 test ! -s conftest.err
40199 } && test -s conftest$ac_exeext &&
40200 $as_test_x conftest$ac_exeext; then
40201 eval "$as_ac_var=yes"
40202 else
40203 echo "$as_me: failed program was:" >&5
40204 sed 's/^/| /' conftest.$ac_ext >&5
40205
40206 eval "$as_ac_var=no"
40207 fi
40208
40209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40210 conftest$ac_exeext conftest.$ac_ext
40211 fi
40212 ac_res=`eval echo '${'$as_ac_var'}'`
40213 { echo "$as_me:$LINENO: result: $ac_res" >&5
40214 echo "${ECHO_T}$ac_res" >&6; }
40215 if test `eval echo '${'$as_ac_var'}'` = yes; then
40216 cat >>confdefs.h <<_ACEOF
40217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40218 _ACEOF
40219
40220 cat >>confdefs.h <<\_ACEOF
40221 #define HAVE_DLOPEN 1
40222 _ACEOF
40223
40224 HAVE_DL_FUNCS=1
40225
40226 else
40227
40228 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40229 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40230 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40231 echo $ECHO_N "(cached) $ECHO_C" >&6
40232 else
40233 ac_check_lib_save_LIBS=$LIBS
40234 LIBS="-ldl $LIBS"
40235 cat >conftest.$ac_ext <<_ACEOF
40236 /* confdefs.h. */
40237 _ACEOF
40238 cat confdefs.h >>conftest.$ac_ext
40239 cat >>conftest.$ac_ext <<_ACEOF
40240 /* end confdefs.h. */
40241
40242 /* Override any GCC internal prototype to avoid an error.
40243 Use char because int might match the return type of a GCC
40244 builtin and then its argument prototype would still apply. */
40245 #ifdef __cplusplus
40246 extern "C"
40247 #endif
40248 char dlopen ();
40249 int
40250 main ()
40251 {
40252 return dlopen ();
40253 ;
40254 return 0;
40255 }
40256 _ACEOF
40257 rm -f conftest.$ac_objext conftest$ac_exeext
40258 if { (ac_try="$ac_link"
40259 case "(($ac_try" in
40260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40261 *) ac_try_echo=$ac_try;;
40262 esac
40263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40264 (eval "$ac_link") 2>conftest.er1
40265 ac_status=$?
40266 grep -v '^ *+' conftest.er1 >conftest.err
40267 rm -f conftest.er1
40268 cat conftest.err >&5
40269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40270 (exit $ac_status); } && {
40271 test -z "$ac_c_werror_flag" ||
40272 test ! -s conftest.err
40273 } && test -s conftest$ac_exeext &&
40274 $as_test_x conftest$ac_exeext; then
40275 ac_cv_lib_dl_dlopen=yes
40276 else
40277 echo "$as_me: failed program was:" >&5
40278 sed 's/^/| /' conftest.$ac_ext >&5
40279
40280 ac_cv_lib_dl_dlopen=no
40281 fi
40282
40283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40284 conftest$ac_exeext conftest.$ac_ext
40285 LIBS=$ac_check_lib_save_LIBS
40286 fi
40287 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40288 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40289 if test $ac_cv_lib_dl_dlopen = yes; then
40290
40291 cat >>confdefs.h <<\_ACEOF
40292 #define HAVE_DLOPEN 1
40293 _ACEOF
40294
40295 HAVE_DL_FUNCS=1
40296 DL_LINK=" -ldl$DL_LINK"
40297
40298 else
40299
40300
40301 for ac_func in shl_load
40302 do
40303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40306 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40307 echo $ECHO_N "(cached) $ECHO_C" >&6
40308 else
40309 cat >conftest.$ac_ext <<_ACEOF
40310 /* confdefs.h. */
40311 _ACEOF
40312 cat confdefs.h >>conftest.$ac_ext
40313 cat >>conftest.$ac_ext <<_ACEOF
40314 /* end confdefs.h. */
40315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40317 #define $ac_func innocuous_$ac_func
40318
40319 /* System header to define __stub macros and hopefully few prototypes,
40320 which can conflict with char $ac_func (); below.
40321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40322 <limits.h> exists even on freestanding compilers. */
40323
40324 #ifdef __STDC__
40325 # include <limits.h>
40326 #else
40327 # include <assert.h>
40328 #endif
40329
40330 #undef $ac_func
40331
40332 /* Override any GCC internal prototype to avoid an error.
40333 Use char because int might match the return type of a GCC
40334 builtin and then its argument prototype would still apply. */
40335 #ifdef __cplusplus
40336 extern "C"
40337 #endif
40338 char $ac_func ();
40339 /* The GNU C library defines this for functions which it implements
40340 to always fail with ENOSYS. Some functions are actually named
40341 something starting with __ and the normal name is an alias. */
40342 #if defined __stub_$ac_func || defined __stub___$ac_func
40343 choke me
40344 #endif
40345
40346 int
40347 main ()
40348 {
40349 return $ac_func ();
40350 ;
40351 return 0;
40352 }
40353 _ACEOF
40354 rm -f conftest.$ac_objext conftest$ac_exeext
40355 if { (ac_try="$ac_link"
40356 case "(($ac_try" in
40357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40358 *) ac_try_echo=$ac_try;;
40359 esac
40360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40361 (eval "$ac_link") 2>conftest.er1
40362 ac_status=$?
40363 grep -v '^ *+' conftest.er1 >conftest.err
40364 rm -f conftest.er1
40365 cat conftest.err >&5
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); } && {
40368 test -z "$ac_c_werror_flag" ||
40369 test ! -s conftest.err
40370 } && test -s conftest$ac_exeext &&
40371 $as_test_x conftest$ac_exeext; then
40372 eval "$as_ac_var=yes"
40373 else
40374 echo "$as_me: failed program was:" >&5
40375 sed 's/^/| /' conftest.$ac_ext >&5
40376
40377 eval "$as_ac_var=no"
40378 fi
40379
40380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40381 conftest$ac_exeext conftest.$ac_ext
40382 fi
40383 ac_res=`eval echo '${'$as_ac_var'}'`
40384 { echo "$as_me:$LINENO: result: $ac_res" >&5
40385 echo "${ECHO_T}$ac_res" >&6; }
40386 if test `eval echo '${'$as_ac_var'}'` = yes; then
40387 cat >>confdefs.h <<_ACEOF
40388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40389 _ACEOF
40390
40391 cat >>confdefs.h <<\_ACEOF
40392 #define HAVE_SHL_LOAD 1
40393 _ACEOF
40394
40395 HAVE_SHL_FUNCS=1
40396
40397 else
40398
40399 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40400 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40401 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40402 echo $ECHO_N "(cached) $ECHO_C" >&6
40403 else
40404 ac_check_lib_save_LIBS=$LIBS
40405 LIBS="-lshl_load $LIBS"
40406 cat >conftest.$ac_ext <<_ACEOF
40407 /* confdefs.h. */
40408 _ACEOF
40409 cat confdefs.h >>conftest.$ac_ext
40410 cat >>conftest.$ac_ext <<_ACEOF
40411 /* end confdefs.h. */
40412
40413 /* Override any GCC internal prototype to avoid an error.
40414 Use char because int might match the return type of a GCC
40415 builtin and then its argument prototype would still apply. */
40416 #ifdef __cplusplus
40417 extern "C"
40418 #endif
40419 char dld ();
40420 int
40421 main ()
40422 {
40423 return dld ();
40424 ;
40425 return 0;
40426 }
40427 _ACEOF
40428 rm -f conftest.$ac_objext conftest$ac_exeext
40429 if { (ac_try="$ac_link"
40430 case "(($ac_try" in
40431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40432 *) ac_try_echo=$ac_try;;
40433 esac
40434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40435 (eval "$ac_link") 2>conftest.er1
40436 ac_status=$?
40437 grep -v '^ *+' conftest.er1 >conftest.err
40438 rm -f conftest.er1
40439 cat conftest.err >&5
40440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40441 (exit $ac_status); } && {
40442 test -z "$ac_c_werror_flag" ||
40443 test ! -s conftest.err
40444 } && test -s conftest$ac_exeext &&
40445 $as_test_x conftest$ac_exeext; then
40446 ac_cv_lib_shl_load_dld=yes
40447 else
40448 echo "$as_me: failed program was:" >&5
40449 sed 's/^/| /' conftest.$ac_ext >&5
40450
40451 ac_cv_lib_shl_load_dld=no
40452 fi
40453
40454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40455 conftest$ac_exeext conftest.$ac_ext
40456 LIBS=$ac_check_lib_save_LIBS
40457 fi
40458 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40459 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40460 if test $ac_cv_lib_shl_load_dld = yes; then
40461
40462 HAVE_SHL_FUNCS=1
40463 DL_LINK=" -ldld$DL_LINK"
40464
40465 fi
40466
40467
40468 fi
40469 done
40470
40471
40472 fi
40473
40474
40475 fi
40476 done
40477
40478
40479 if test "$HAVE_DL_FUNCS" = 1; then
40480
40481 for ac_func in dlerror
40482 do
40483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40484 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40486 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40487 echo $ECHO_N "(cached) $ECHO_C" >&6
40488 else
40489 cat >conftest.$ac_ext <<_ACEOF
40490 /* confdefs.h. */
40491 _ACEOF
40492 cat confdefs.h >>conftest.$ac_ext
40493 cat >>conftest.$ac_ext <<_ACEOF
40494 /* end confdefs.h. */
40495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40497 #define $ac_func innocuous_$ac_func
40498
40499 /* System header to define __stub macros and hopefully few prototypes,
40500 which can conflict with char $ac_func (); below.
40501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40502 <limits.h> exists even on freestanding compilers. */
40503
40504 #ifdef __STDC__
40505 # include <limits.h>
40506 #else
40507 # include <assert.h>
40508 #endif
40509
40510 #undef $ac_func
40511
40512 /* Override any GCC internal prototype to avoid an error.
40513 Use char because int might match the return type of a GCC
40514 builtin and then its argument prototype would still apply. */
40515 #ifdef __cplusplus
40516 extern "C"
40517 #endif
40518 char $ac_func ();
40519 /* The GNU C library defines this for functions which it implements
40520 to always fail with ENOSYS. Some functions are actually named
40521 something starting with __ and the normal name is an alias. */
40522 #if defined __stub_$ac_func || defined __stub___$ac_func
40523 choke me
40524 #endif
40525
40526 int
40527 main ()
40528 {
40529 return $ac_func ();
40530 ;
40531 return 0;
40532 }
40533 _ACEOF
40534 rm -f conftest.$ac_objext conftest$ac_exeext
40535 if { (ac_try="$ac_link"
40536 case "(($ac_try" in
40537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40538 *) ac_try_echo=$ac_try;;
40539 esac
40540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40541 (eval "$ac_link") 2>conftest.er1
40542 ac_status=$?
40543 grep -v '^ *+' conftest.er1 >conftest.err
40544 rm -f conftest.er1
40545 cat conftest.err >&5
40546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40547 (exit $ac_status); } && {
40548 test -z "$ac_c_werror_flag" ||
40549 test ! -s conftest.err
40550 } && test -s conftest$ac_exeext &&
40551 $as_test_x conftest$ac_exeext; then
40552 eval "$as_ac_var=yes"
40553 else
40554 echo "$as_me: failed program was:" >&5
40555 sed 's/^/| /' conftest.$ac_ext >&5
40556
40557 eval "$as_ac_var=no"
40558 fi
40559
40560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40561 conftest$ac_exeext conftest.$ac_ext
40562 fi
40563 ac_res=`eval echo '${'$as_ac_var'}'`
40564 { echo "$as_me:$LINENO: result: $ac_res" >&5
40565 echo "${ECHO_T}$ac_res" >&6; }
40566 if test `eval echo '${'$as_ac_var'}'` = yes; then
40567 cat >>confdefs.h <<_ACEOF
40568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40569 _ACEOF
40570 cat >>confdefs.h <<\_ACEOF
40571 #define HAVE_DLERROR 1
40572 _ACEOF
40573
40574 else
40575
40576 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40577 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40578 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40579 echo $ECHO_N "(cached) $ECHO_C" >&6
40580 else
40581 ac_check_lib_save_LIBS=$LIBS
40582 LIBS="-ldl $LIBS"
40583 cat >conftest.$ac_ext <<_ACEOF
40584 /* confdefs.h. */
40585 _ACEOF
40586 cat confdefs.h >>conftest.$ac_ext
40587 cat >>conftest.$ac_ext <<_ACEOF
40588 /* end confdefs.h. */
40589
40590 /* Override any GCC internal prototype to avoid an error.
40591 Use char because int might match the return type of a GCC
40592 builtin and then its argument prototype would still apply. */
40593 #ifdef __cplusplus
40594 extern "C"
40595 #endif
40596 char dlerror ();
40597 int
40598 main ()
40599 {
40600 return dlerror ();
40601 ;
40602 return 0;
40603 }
40604 _ACEOF
40605 rm -f conftest.$ac_objext conftest$ac_exeext
40606 if { (ac_try="$ac_link"
40607 case "(($ac_try" in
40608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40609 *) ac_try_echo=$ac_try;;
40610 esac
40611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40612 (eval "$ac_link") 2>conftest.er1
40613 ac_status=$?
40614 grep -v '^ *+' conftest.er1 >conftest.err
40615 rm -f conftest.er1
40616 cat conftest.err >&5
40617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40618 (exit $ac_status); } && {
40619 test -z "$ac_c_werror_flag" ||
40620 test ! -s conftest.err
40621 } && test -s conftest$ac_exeext &&
40622 $as_test_x conftest$ac_exeext; then
40623 ac_cv_lib_dl_dlerror=yes
40624 else
40625 echo "$as_me: failed program was:" >&5
40626 sed 's/^/| /' conftest.$ac_ext >&5
40627
40628 ac_cv_lib_dl_dlerror=no
40629 fi
40630
40631 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40632 conftest$ac_exeext conftest.$ac_ext
40633 LIBS=$ac_check_lib_save_LIBS
40634 fi
40635 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40636 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40637 if test $ac_cv_lib_dl_dlerror = yes; then
40638 cat >>confdefs.h <<\_ACEOF
40639 #define HAVE_DLERROR 1
40640 _ACEOF
40641
40642 fi
40643
40644
40645
40646 fi
40647 done
40648
40649 fi
40650 fi
40651
40652 if test "$HAVE_DL_FUNCS" = 0; then
40653 if test "$HAVE_SHL_FUNCS" = 0; then
40654 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40655 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40656 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40657 wxUSE_DYNAMIC_LOADER=no
40658 wxUSE_DYNLIB_CLASS=no
40659 else
40660 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40661 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40662 fi
40663 fi
40664 fi
40665 fi
40666 fi
40667
40668 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40669 cat >>confdefs.h <<\_ACEOF
40670 #define wxUSE_DYNAMIC_LOADER 1
40671 _ACEOF
40672
40673 fi
40674 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40675 cat >>confdefs.h <<\_ACEOF
40676 #define wxUSE_DYNLIB_CLASS 1
40677 _ACEOF
40678
40679 fi
40680
40681
40682
40683 if test "$wxUSE_PLUGINS" = "yes" ; then
40684 if test "$wxUSE_SHARED" = "no" ; then
40685 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40686 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40687 wxUSE_PLUGINS=no
40688 fi
40689 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40690 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40691 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40692 wxUSE_PLUGINS=no
40693 fi
40694 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40695 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40696 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40697 wxUSE_PLUGINS=no
40698 fi
40699 if test "$wxUSE_PLUGINS" = "yes" ; then
40700 cat >>confdefs.h <<\_ACEOF
40701 #define wxUSE_PLUGINS 1
40702 _ACEOF
40703
40704 fi
40705 fi
40706
40707
40708 if test "$wxUSE_STL" = "yes"; then
40709 cat >>confdefs.h <<\_ACEOF
40710 #define wxUSE_STL 1
40711 _ACEOF
40712
40713 fi
40714
40715 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40716 cat >>confdefs.h <<\_ACEOF
40717 #define wxUSE_APPLE_IEEE 1
40718 _ACEOF
40719
40720 fi
40721
40722 if test "$wxUSE_TIMER" = "yes"; then
40723 cat >>confdefs.h <<\_ACEOF
40724 #define wxUSE_TIMER 1
40725 _ACEOF
40726
40727 fi
40728
40729 if test "$USE_UNIX" = "1" ; then
40730 if test "$wxUSE_MGL" != 1; then
40731 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40732 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40733 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40734 echo $ECHO_N "(cached) $ECHO_C" >&6
40735 else
40736
40737 cat >conftest.$ac_ext <<_ACEOF
40738 /* confdefs.h. */
40739 _ACEOF
40740 cat confdefs.h >>conftest.$ac_ext
40741 cat >>conftest.$ac_ext <<_ACEOF
40742 /* end confdefs.h. */
40743
40744 #include <sys/ioctl.h>
40745 #include <sys/soundcard.h>
40746
40747 int
40748 main ()
40749 {
40750
40751 ioctl(0, SNDCTL_DSP_SPEED, 0);
40752
40753 ;
40754 return 0;
40755 }
40756 _ACEOF
40757 rm -f conftest.$ac_objext conftest$ac_exeext
40758 if { (ac_try="$ac_link"
40759 case "(($ac_try" in
40760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40761 *) ac_try_echo=$ac_try;;
40762 esac
40763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40764 (eval "$ac_link") 2>conftest.er1
40765 ac_status=$?
40766 grep -v '^ *+' conftest.er1 >conftest.err
40767 rm -f conftest.er1
40768 cat conftest.err >&5
40769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770 (exit $ac_status); } && {
40771 test -z "$ac_c_werror_flag" ||
40772 test ! -s conftest.err
40773 } && test -s conftest$ac_exeext &&
40774 $as_test_x conftest$ac_exeext; then
40775 ac_cv_header_sys_soundcard=yes
40776 else
40777 echo "$as_me: failed program was:" >&5
40778 sed 's/^/| /' conftest.$ac_ext >&5
40779
40780
40781 saveLibs="$LIBS"
40782 LIBS="$saveLibs -lossaudio"
40783 cat >conftest.$ac_ext <<_ACEOF
40784 /* confdefs.h. */
40785 _ACEOF
40786 cat confdefs.h >>conftest.$ac_ext
40787 cat >>conftest.$ac_ext <<_ACEOF
40788 /* end confdefs.h. */
40789
40790 #include <sys/ioctl.h>
40791 #include <sys/soundcard.h>
40792
40793 int
40794 main ()
40795 {
40796
40797 ioctl(0, SNDCTL_DSP_SPEED, 0);
40798
40799 ;
40800 return 0;
40801 }
40802 _ACEOF
40803 rm -f conftest.$ac_objext conftest$ac_exeext
40804 if { (ac_try="$ac_link"
40805 case "(($ac_try" in
40806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40807 *) ac_try_echo=$ac_try;;
40808 esac
40809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40810 (eval "$ac_link") 2>conftest.er1
40811 ac_status=$?
40812 grep -v '^ *+' conftest.er1 >conftest.err
40813 rm -f conftest.er1
40814 cat conftest.err >&5
40815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40816 (exit $ac_status); } && {
40817 test -z "$ac_c_werror_flag" ||
40818 test ! -s conftest.err
40819 } && test -s conftest$ac_exeext &&
40820 $as_test_x conftest$ac_exeext; then
40821 ac_cv_header_sys_soundcard=yes
40822 else
40823 echo "$as_me: failed program was:" >&5
40824 sed 's/^/| /' conftest.$ac_ext >&5
40825
40826
40827 LIBS="$saveLibs"
40828 ac_cv_header_sys_soundcard=no
40829
40830
40831 fi
40832
40833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40834 conftest$ac_exeext conftest.$ac_ext
40835
40836
40837 fi
40838
40839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40840 conftest$ac_exeext conftest.$ac_ext
40841
40842 fi
40843 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40844 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
40845 fi
40846
40847 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40848 cat >>confdefs.h <<\_ACEOF
40849 #define HAVE_SYS_SOUNDCARD_H 1
40850 _ACEOF
40851
40852 fi
40853 fi
40854
40855 WITH_PLUGIN_SDL=0
40856 if test "$wxUSE_SOUND" = "yes"; then
40857 if test "$USE_UNIX" = "1" ; then
40858 if test "$wxUSE_LIBSDL" != "no"; then
40859
40860 # Check whether --with-sdl-prefix was given.
40861 if test "${with_sdl_prefix+set}" = set; then
40862 withval=$with_sdl_prefix; sdl_prefix="$withval"
40863 else
40864 sdl_prefix=""
40865 fi
40866
40867
40868 # Check whether --with-sdl-exec-prefix was given.
40869 if test "${with_sdl_exec_prefix+set}" = set; then
40870 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
40871 else
40872 sdl_exec_prefix=""
40873 fi
40874
40875 # Check whether --enable-sdltest was given.
40876 if test "${enable_sdltest+set}" = set; then
40877 enableval=$enable_sdltest;
40878 else
40879 enable_sdltest=yes
40880 fi
40881
40882
40883 if test x$sdl_exec_prefix != x ; then
40884 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40885 if test x${SDL_CONFIG+set} != xset ; then
40886 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40887 fi
40888 fi
40889 if test x$sdl_prefix != x ; then
40890 sdl_args="$sdl_args --prefix=$sdl_prefix"
40891 if test x${SDL_CONFIG+set} != xset ; then
40892 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40893 fi
40894 fi
40895
40896 if test "x$prefix" != xNONE; then
40897 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40898 fi
40899 # Extract the first word of "sdl-config", so it can be a program name with args.
40900 set dummy sdl-config; ac_word=$2
40901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40903 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40904 echo $ECHO_N "(cached) $ECHO_C" >&6
40905 else
40906 case $SDL_CONFIG in
40907 [\\/]* | ?:[\\/]*)
40908 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40909 ;;
40910 *)
40911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40912 for as_dir in $PATH
40913 do
40914 IFS=$as_save_IFS
40915 test -z "$as_dir" && as_dir=.
40916 for ac_exec_ext in '' $ac_executable_extensions; do
40917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40918 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40920 break 2
40921 fi
40922 done
40923 done
40924 IFS=$as_save_IFS
40925
40926 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40927 ;;
40928 esac
40929 fi
40930 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40931 if test -n "$SDL_CONFIG"; then
40932 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40933 echo "${ECHO_T}$SDL_CONFIG" >&6; }
40934 else
40935 { echo "$as_me:$LINENO: result: no" >&5
40936 echo "${ECHO_T}no" >&6; }
40937 fi
40938
40939
40940 min_sdl_version=1.2.0
40941 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40942 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
40943 no_sdl=""
40944 if test "$SDL_CONFIG" = "no" ; then
40945 no_sdl=yes
40946 else
40947 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40948 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40949
40950 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40951 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40952 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40953 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40954 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40956 if test "x$enable_sdltest" = "xyes" ; then
40957 ac_save_CFLAGS="$CFLAGS"
40958 ac_save_CXXFLAGS="$CXXFLAGS"
40959 ac_save_LIBS="$LIBS"
40960 CFLAGS="$CFLAGS $SDL_CFLAGS"
40961 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40962 LIBS="$LIBS $SDL_LIBS"
40963 rm -f conf.sdltest
40964 if test "$cross_compiling" = yes; then
40965 echo $ac_n "cross compiling; assumed OK... $ac_c"
40966 else
40967 cat >conftest.$ac_ext <<_ACEOF
40968 /* confdefs.h. */
40969 _ACEOF
40970 cat confdefs.h >>conftest.$ac_ext
40971 cat >>conftest.$ac_ext <<_ACEOF
40972 /* end confdefs.h. */
40973
40974 #include <stdio.h>
40975 #include <stdlib.h>
40976 #include <string.h>
40977 #include "SDL.h"
40978
40979 char*
40980 my_strdup (char *str)
40981 {
40982 char *new_str;
40983
40984 if (str)
40985 {
40986 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40987 strcpy (new_str, str);
40988 }
40989 else
40990 new_str = NULL;
40991
40992 return new_str;
40993 }
40994
40995 int main (int argc, char *argv[])
40996 {
40997 int major, minor, micro;
40998 char *tmp_version;
40999
41000 /* This hangs on some systems (?)
41001 system ("touch conf.sdltest");
41002 */
41003 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41004
41005 /* HP/UX 9 (%@#!) writes to sscanf strings */
41006 tmp_version = my_strdup("$min_sdl_version");
41007 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41008 printf("%s, bad version string\n", "$min_sdl_version");
41009 exit(1);
41010 }
41011
41012 if (($sdl_major_version > major) ||
41013 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41014 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41015 {
41016 return 0;
41017 }
41018 else
41019 {
41020 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41021 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41022 printf("*** best to upgrade to the required version.\n");
41023 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41024 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41025 printf("*** config.cache before re-running configure\n");
41026 return 1;
41027 }
41028 }
41029
41030
41031 _ACEOF
41032 rm -f conftest$ac_exeext
41033 if { (ac_try="$ac_link"
41034 case "(($ac_try" in
41035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41036 *) ac_try_echo=$ac_try;;
41037 esac
41038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41039 (eval "$ac_link") 2>&5
41040 ac_status=$?
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41043 { (case "(($ac_try" in
41044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41045 *) ac_try_echo=$ac_try;;
41046 esac
41047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41048 (eval "$ac_try") 2>&5
41049 ac_status=$?
41050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41051 (exit $ac_status); }; }; then
41052 :
41053 else
41054 echo "$as_me: program exited with status $ac_status" >&5
41055 echo "$as_me: failed program was:" >&5
41056 sed 's/^/| /' conftest.$ac_ext >&5
41057
41058 ( exit $ac_status )
41059 no_sdl=yes
41060 fi
41061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41062 fi
41063
41064
41065 CFLAGS="$ac_save_CFLAGS"
41066 CXXFLAGS="$ac_save_CXXFLAGS"
41067 LIBS="$ac_save_LIBS"
41068 fi
41069 fi
41070 if test "x$no_sdl" = x ; then
41071 { echo "$as_me:$LINENO: result: yes" >&5
41072 echo "${ECHO_T}yes" >&6; }
41073
41074 EXTRALIBS_SDL="$SDL_LIBS"
41075 CFLAGS="$SDL_CFLAGS $CFLAGS"
41076 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41077 cat >>confdefs.h <<\_ACEOF
41078 #define wxUSE_LIBSDL 1
41079 _ACEOF
41080
41081
41082 else
41083 { echo "$as_me:$LINENO: result: no" >&5
41084 echo "${ECHO_T}no" >&6; }
41085 if test "$SDL_CONFIG" = "no" ; then
41086 echo "*** The sdl-config script installed by SDL could not be found"
41087 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41088 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41089 echo "*** full path to sdl-config."
41090 else
41091 if test -f conf.sdltest ; then
41092 :
41093 else
41094 echo "*** Could not run SDL test program, checking why..."
41095 CFLAGS="$CFLAGS $SDL_CFLAGS"
41096 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41097 LIBS="$LIBS $SDL_LIBS"
41098 cat >conftest.$ac_ext <<_ACEOF
41099 /* confdefs.h. */
41100 _ACEOF
41101 cat confdefs.h >>conftest.$ac_ext
41102 cat >>conftest.$ac_ext <<_ACEOF
41103 /* end confdefs.h. */
41104
41105 #include <stdio.h>
41106 #include "SDL.h"
41107
41108 int main(int argc, char *argv[])
41109 { return 0; }
41110 #undef main
41111 #define main K_and_R_C_main
41112
41113 int
41114 main ()
41115 {
41116 return 0;
41117 ;
41118 return 0;
41119 }
41120 _ACEOF
41121 rm -f conftest.$ac_objext conftest$ac_exeext
41122 if { (ac_try="$ac_link"
41123 case "(($ac_try" in
41124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41125 *) ac_try_echo=$ac_try;;
41126 esac
41127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41128 (eval "$ac_link") 2>conftest.er1
41129 ac_status=$?
41130 grep -v '^ *+' conftest.er1 >conftest.err
41131 rm -f conftest.er1
41132 cat conftest.err >&5
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); } && {
41135 test -z "$ac_c_werror_flag" ||
41136 test ! -s conftest.err
41137 } && test -s conftest$ac_exeext &&
41138 $as_test_x conftest$ac_exeext; then
41139 echo "*** The test program compiled, but did not run. This usually means"
41140 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41141 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41142 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41143 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41144 echo "*** is required on your system"
41145 echo "***"
41146 echo "*** If you have an old version installed, it is best to remove it, although"
41147 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41148 else
41149 echo "$as_me: failed program was:" >&5
41150 sed 's/^/| /' conftest.$ac_ext >&5
41151
41152 echo "*** The test program failed to compile or link. See the file config.log for the"
41153 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41154 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41155 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41156 fi
41157
41158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41159 conftest$ac_exeext conftest.$ac_ext
41160 CFLAGS="$ac_save_CFLAGS"
41161 CXXFLAGS="$ac_save_CXXFLAGS"
41162 LIBS="$ac_save_LIBS"
41163 fi
41164 fi
41165 SDL_CFLAGS=""
41166 SDL_LIBS=""
41167 wxUSE_LIBSDL="no"
41168 fi
41169
41170
41171 rm -f conf.sdltest
41172
41173 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41174 WITH_PLUGIN_SDL=1
41175 fi
41176 fi
41177 else
41178 if test "$wxUSE_MGL" = 1; then
41179 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41180 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41181 wxUSE_SOUND="no"
41182 fi
41183 fi
41184 fi
41185
41186 if test "$wxUSE_SOUND" = "yes"; then
41187 cat >>confdefs.h <<\_ACEOF
41188 #define wxUSE_SOUND 1
41189 _ACEOF
41190
41191 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41192 fi
41193
41194 if test "$WXGTK20" = 1; then
41195
41196
41197 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41198 if test -n "$ac_tool_prefix"; then
41199 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41200 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41203 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41204 echo $ECHO_N "(cached) $ECHO_C" >&6
41205 else
41206 case $PKG_CONFIG in
41207 [\\/]* | ?:[\\/]*)
41208 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41209 ;;
41210 *)
41211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41212 for as_dir in $PATH
41213 do
41214 IFS=$as_save_IFS
41215 test -z "$as_dir" && as_dir=.
41216 for ac_exec_ext in '' $ac_executable_extensions; do
41217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41218 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41220 break 2
41221 fi
41222 done
41223 done
41224 IFS=$as_save_IFS
41225
41226 ;;
41227 esac
41228 fi
41229 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41230 if test -n "$PKG_CONFIG"; then
41231 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41232 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41233 else
41234 { echo "$as_me:$LINENO: result: no" >&5
41235 echo "${ECHO_T}no" >&6; }
41236 fi
41237
41238
41239 fi
41240 if test -z "$ac_cv_path_PKG_CONFIG"; then
41241 ac_pt_PKG_CONFIG=$PKG_CONFIG
41242 # Extract the first word of "pkg-config", so it can be a program name with args.
41243 set dummy pkg-config; ac_word=$2
41244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41246 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41247 echo $ECHO_N "(cached) $ECHO_C" >&6
41248 else
41249 case $ac_pt_PKG_CONFIG in
41250 [\\/]* | ?:[\\/]*)
41251 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41252 ;;
41253 *)
41254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41255 for as_dir in $PATH
41256 do
41257 IFS=$as_save_IFS
41258 test -z "$as_dir" && as_dir=.
41259 for ac_exec_ext in '' $ac_executable_extensions; do
41260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41261 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41263 break 2
41264 fi
41265 done
41266 done
41267 IFS=$as_save_IFS
41268
41269 ;;
41270 esac
41271 fi
41272 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41273 if test -n "$ac_pt_PKG_CONFIG"; then
41274 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41275 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41276 else
41277 { echo "$as_me:$LINENO: result: no" >&5
41278 echo "${ECHO_T}no" >&6; }
41279 fi
41280
41281 if test "x$ac_pt_PKG_CONFIG" = x; then
41282 PKG_CONFIG=""
41283 else
41284 case $cross_compiling:$ac_tool_warned in
41285 yes:)
41286 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41287 whose name does not start with the host triplet. If you think this
41288 configuration is useful to you, please write to autoconf@gnu.org." >&5
41289 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41290 whose name does not start with the host triplet. If you think this
41291 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41292 ac_tool_warned=yes ;;
41293 esac
41294 PKG_CONFIG=$ac_pt_PKG_CONFIG
41295 fi
41296 else
41297 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41298 fi
41299
41300 fi
41301 if test -n "$PKG_CONFIG"; then
41302 _pkg_min_version=0.9.0
41303 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41304 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41305 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41306 { echo "$as_me:$LINENO: result: yes" >&5
41307 echo "${ECHO_T}yes" >&6; }
41308 else
41309 { echo "$as_me:$LINENO: result: no" >&5
41310 echo "${ECHO_T}no" >&6; }
41311 PKG_CONFIG=""
41312 fi
41313
41314 fi
41315
41316 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41317 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41318
41319
41320 pkg_failed=no
41321 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41322 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41323
41324 if test -n "$PKG_CONFIG"; then
41325 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41326 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41327 else
41328 if test -n "$PKG_CONFIG" && \
41329 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41330 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41331 ac_status=$?
41332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333 (exit $ac_status); }; then
41334 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41335 else
41336 pkg_failed=yes
41337 fi
41338 fi
41339 else
41340 pkg_failed=untried
41341 fi
41342 if test -n "$PKG_CONFIG"; then
41343 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41344 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41345 else
41346 if test -n "$PKG_CONFIG" && \
41347 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41348 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41349 ac_status=$?
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); }; then
41352 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41353 else
41354 pkg_failed=yes
41355 fi
41356 fi
41357 else
41358 pkg_failed=untried
41359 fi
41360
41361
41362
41363 if test $pkg_failed = yes; then
41364
41365 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41366 _pkg_short_errors_supported=yes
41367 else
41368 _pkg_short_errors_supported=no
41369 fi
41370 if test $_pkg_short_errors_supported = yes; then
41371 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41372 else
41373 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41374 fi
41375 # Put the nasty error message in config.log where it belongs
41376 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41377
41378
41379 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41380 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41381 wxUSE_LIBGNOMEPRINT="no"
41382
41383
41384 elif test $pkg_failed = untried; then
41385
41386 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41387 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41388 wxUSE_LIBGNOMEPRINT="no"
41389
41390
41391 else
41392 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41393 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41394 { echo "$as_me:$LINENO: result: yes" >&5
41395 echo "${ECHO_T}yes" >&6; }
41396
41397 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41398 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41399 cat >>confdefs.h <<\_ACEOF
41400 #define wxUSE_LIBGNOMEPRINT 1
41401 _ACEOF
41402
41403
41404 fi
41405 fi
41406 fi
41407
41408 if test "$wxUSE_MIMETYPE" = "yes" ; then
41409 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41410
41411
41412 pkg_failed=no
41413 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41414 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41415
41416 if test -n "$PKG_CONFIG"; then
41417 if test -n "$GNOMEVFS_CFLAGS"; then
41418 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41419 else
41420 if test -n "$PKG_CONFIG" && \
41421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41422 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41423 ac_status=$?
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); }; then
41426 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41427 else
41428 pkg_failed=yes
41429 fi
41430 fi
41431 else
41432 pkg_failed=untried
41433 fi
41434 if test -n "$PKG_CONFIG"; then
41435 if test -n "$GNOMEVFS_LIBS"; then
41436 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41437 else
41438 if test -n "$PKG_CONFIG" && \
41439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41440 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41441 ac_status=$?
41442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41443 (exit $ac_status); }; then
41444 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41445 else
41446 pkg_failed=yes
41447 fi
41448 fi
41449 else
41450 pkg_failed=untried
41451 fi
41452
41453
41454
41455 if test $pkg_failed = yes; then
41456
41457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41458 _pkg_short_errors_supported=yes
41459 else
41460 _pkg_short_errors_supported=no
41461 fi
41462 if test $_pkg_short_errors_supported = yes; then
41463 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41464 else
41465 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41466 fi
41467 # Put the nasty error message in config.log where it belongs
41468 echo "$GNOMEVFS_PKG_ERRORS" >&5
41469
41470
41471 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41472 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41473 wxUSE_LIBGNOMEVFS="no"
41474
41475
41476 elif test $pkg_failed = untried; then
41477
41478 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41479 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41480 wxUSE_LIBGNOMEVFS="no"
41481
41482
41483 else
41484 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41485 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41486 { echo "$as_me:$LINENO: result: yes" >&5
41487 echo "${ECHO_T}yes" >&6; }
41488
41489 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41490 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41491 cat >>confdefs.h <<\_ACEOF
41492 #define wxUSE_LIBGNOMEVFS 1
41493 _ACEOF
41494
41495
41496 fi
41497 fi
41498 fi
41499
41500 if test "$wxUSE_LIBHILDON" = "yes" ; then
41501
41502 pkg_failed=no
41503 { echo "$as_me:$LINENO: checking for HILDON" >&5
41504 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41505
41506 if test -n "$PKG_CONFIG"; then
41507 if test -n "$HILDON_CFLAGS"; then
41508 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41509 else
41510 if test -n "$PKG_CONFIG" && \
41511 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41512 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41513 ac_status=$?
41514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41515 (exit $ac_status); }; then
41516 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41517 else
41518 pkg_failed=yes
41519 fi
41520 fi
41521 else
41522 pkg_failed=untried
41523 fi
41524 if test -n "$PKG_CONFIG"; then
41525 if test -n "$HILDON_LIBS"; then
41526 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41527 else
41528 if test -n "$PKG_CONFIG" && \
41529 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41530 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41531 ac_status=$?
41532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41533 (exit $ac_status); }; then
41534 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41535 else
41536 pkg_failed=yes
41537 fi
41538 fi
41539 else
41540 pkg_failed=untried
41541 fi
41542
41543
41544
41545 if test $pkg_failed = yes; then
41546
41547 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41548 _pkg_short_errors_supported=yes
41549 else
41550 _pkg_short_errors_supported=no
41551 fi
41552 if test $_pkg_short_errors_supported = yes; then
41553 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41554 else
41555 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41556 fi
41557 # Put the nasty error message in config.log where it belongs
41558 echo "$HILDON_PKG_ERRORS" >&5
41559
41560
41561 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41562 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41563 wxUSE_LIBHILDON="no"
41564
41565
41566 elif test $pkg_failed = untried; then
41567
41568 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41569 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41570 wxUSE_LIBHILDON="no"
41571
41572
41573 else
41574 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41575 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41576 { echo "$as_me:$LINENO: result: yes" >&5
41577 echo "${ECHO_T}yes" >&6; }
41578
41579 EXTRALIBS_HILDON="$HILDON_LIBS"
41580 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41581 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41582 cat >>confdefs.h <<\_ACEOF
41583 #define wxUSE_LIBHILDON 1
41584 _ACEOF
41585
41586
41587 fi
41588 fi
41589 fi
41590
41591 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41592 cat >>confdefs.h <<\_ACEOF
41593 #define wxUSE_CMDLINE_PARSER 1
41594 _ACEOF
41595
41596 fi
41597
41598 if test "$wxUSE_STOPWATCH" = "yes"; then
41599 cat >>confdefs.h <<\_ACEOF
41600 #define wxUSE_STOPWATCH 1
41601 _ACEOF
41602
41603 fi
41604
41605 if test "$wxUSE_DATETIME" = "yes"; then
41606 cat >>confdefs.h <<\_ACEOF
41607 #define wxUSE_DATETIME 1
41608 _ACEOF
41609
41610 fi
41611
41612 if test "$wxUSE_FILE" = "yes"; then
41613 cat >>confdefs.h <<\_ACEOF
41614 #define wxUSE_FILE 1
41615 _ACEOF
41616
41617 fi
41618
41619 if test "$wxUSE_FFILE" = "yes"; then
41620 cat >>confdefs.h <<\_ACEOF
41621 #define wxUSE_FFILE 1
41622 _ACEOF
41623
41624 fi
41625
41626 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41627 if test "$wxUSE_STREAMS" != yes; then
41628 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41629 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41630 wxUSE_ARCHIVE_STREAMS=no
41631 else
41632 cat >>confdefs.h <<\_ACEOF
41633 #define wxUSE_ARCHIVE_STREAMS 1
41634 _ACEOF
41635
41636 fi
41637 fi
41638
41639 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41640 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41641 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41642 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41643 elif test "$wxUSE_ZLIB" = "no"; then
41644 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41645 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41646 else
41647 cat >>confdefs.h <<\_ACEOF
41648 #define wxUSE_ZIPSTREAM 1
41649 _ACEOF
41650
41651 fi
41652 fi
41653
41654 if test "$wxUSE_TARSTREAM" = "yes"; then
41655 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41656 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41657 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41658 else
41659 cat >>confdefs.h <<\_ACEOF
41660 #define wxUSE_TARSTREAM 1
41661 _ACEOF
41662
41663 fi
41664 fi
41665
41666 if test "$wxUSE_FILESYSTEM" = "yes"; then
41667 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41668 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41669 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41670 wxUSE_FILESYSTEM=no
41671 else
41672 cat >>confdefs.h <<\_ACEOF
41673 #define wxUSE_FILESYSTEM 1
41674 _ACEOF
41675
41676 fi
41677 fi
41678
41679 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41680 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41681 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41682 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41683 else
41684 cat >>confdefs.h <<\_ACEOF
41685 #define wxUSE_FS_ARCHIVE 1
41686 _ACEOF
41687
41688 fi
41689 fi
41690
41691 if test "$wxUSE_FS_ZIP" = "yes"; then
41692 if test "$wxUSE_FS_ARCHIVE" != yes; then
41693 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41694 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41695 else
41696 cat >>confdefs.h <<\_ACEOF
41697 #define wxUSE_FS_ZIP 1
41698 _ACEOF
41699
41700 fi
41701 fi
41702
41703 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41704 if test "$USE_UNIX" != 1; then
41705 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41706 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41707 wxUSE_ON_FATAL_EXCEPTION=no
41708 else
41709 cat >>confdefs.h <<\_ACEOF
41710 #define wxUSE_ON_FATAL_EXCEPTION 1
41711 _ACEOF
41712
41713 fi
41714 fi
41715
41716 if test "$wxUSE_STACKWALKER" = "yes"; then
41717 cat >>confdefs.h <<\_ACEOF
41718 #define wxUSE_STACKWALKER 1
41719 _ACEOF
41720
41721 fi
41722
41723 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41724 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41725 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41726 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41727 wxUSE_DEBUGREPORT=no
41728 else
41729 cat >>confdefs.h <<\_ACEOF
41730 #define wxUSE_DEBUGREPORT 1
41731 _ACEOF
41732
41733 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41735 fi
41736 fi
41737 fi
41738
41739 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41740 cat >>confdefs.h <<\_ACEOF
41741 #define wxUSE_SNGLINST_CHECKER 1
41742 _ACEOF
41743
41744 fi
41745
41746 if test "$wxUSE_BUSYINFO" = "yes"; then
41747 cat >>confdefs.h <<\_ACEOF
41748 #define wxUSE_BUSYINFO 1
41749 _ACEOF
41750
41751 fi
41752
41753 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41754 cat >>confdefs.h <<\_ACEOF
41755 #define wxUSE_STD_IOSTREAM 1
41756 _ACEOF
41757
41758 fi
41759
41760 if test "$wxUSE_STD_STRING" = "yes"; then
41761 cat >>confdefs.h <<\_ACEOF
41762 #define wxUSE_STD_STRING 1
41763 _ACEOF
41764
41765 fi
41766
41767 if test "$wxUSE_STDPATHS" = "yes"; then
41768 cat >>confdefs.h <<\_ACEOF
41769 #define wxUSE_STDPATHS 1
41770 _ACEOF
41771
41772 fi
41773
41774 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41775 cat >>confdefs.h <<\_ACEOF
41776 #define wxUSE_TEXTBUFFER 1
41777 _ACEOF
41778
41779 fi
41780
41781 if test "$wxUSE_TEXTFILE" = "yes"; then
41782 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41783 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41784 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41785 else
41786 cat >>confdefs.h <<\_ACEOF
41787 #define wxUSE_TEXTFILE 1
41788 _ACEOF
41789
41790 fi
41791 fi
41792
41793 if test "$wxUSE_CONFIG" = "yes" ; then
41794 if test "$wxUSE_TEXTFILE" != "yes"; then
41795 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41796 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41797 else
41798 cat >>confdefs.h <<\_ACEOF
41799 #define wxUSE_CONFIG 1
41800 _ACEOF
41801
41802 cat >>confdefs.h <<\_ACEOF
41803 #define wxUSE_CONFIG_NATIVE 1
41804 _ACEOF
41805
41806 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41807 fi
41808 fi
41809
41810 if test "$wxUSE_INTL" = "yes" ; then
41811 if test "$wxUSE_FILE" != "yes"; then
41812 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41813 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41814 else
41815 cat >>confdefs.h <<\_ACEOF
41816 #define wxUSE_INTL 1
41817 _ACEOF
41818
41819 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41820 GUIDIST="$GUIDIST INTL_DIST"
41821 fi
41822 fi
41823
41824 if test "$wxUSE_LOG" = "yes"; then
41825 cat >>confdefs.h <<\_ACEOF
41826 #define wxUSE_LOG 1
41827 _ACEOF
41828
41829
41830 if test "$wxUSE_LOGGUI" = "yes"; then
41831 cat >>confdefs.h <<\_ACEOF
41832 #define wxUSE_LOGGUI 1
41833 _ACEOF
41834
41835 fi
41836
41837 if test "$wxUSE_LOGWINDOW" = "yes"; then
41838 cat >>confdefs.h <<\_ACEOF
41839 #define wxUSE_LOGWINDOW 1
41840 _ACEOF
41841
41842 fi
41843
41844 if test "$wxUSE_LOGDIALOG" = "yes"; then
41845 cat >>confdefs.h <<\_ACEOF
41846 #define wxUSE_LOG_DIALOG 1
41847 _ACEOF
41848
41849 fi
41850
41851 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41852 fi
41853
41854 if test "$wxUSE_LONGLONG" = "yes"; then
41855 cat >>confdefs.h <<\_ACEOF
41856 #define wxUSE_LONGLONG 1
41857 _ACEOF
41858
41859 fi
41860
41861 if test "$wxUSE_GEOMETRY" = "yes"; then
41862 cat >>confdefs.h <<\_ACEOF
41863 #define wxUSE_GEOMETRY 1
41864 _ACEOF
41865
41866 fi
41867
41868 if test "$wxUSE_STREAMS" = "yes" ; then
41869 cat >>confdefs.h <<\_ACEOF
41870 #define wxUSE_STREAMS 1
41871 _ACEOF
41872
41873 fi
41874
41875 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41876 cat >>confdefs.h <<\_ACEOF
41877 #define wxUSE_PRINTF_POS_PARAMS 1
41878 _ACEOF
41879
41880 fi
41881
41882
41883
41884 if test "$wxUSE_DATETIME" = "yes"; then
41885
41886 for ac_func in strptime
41887 do
41888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41889 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41891 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41892 echo $ECHO_N "(cached) $ECHO_C" >&6
41893 else
41894 cat >conftest.$ac_ext <<_ACEOF
41895 /* confdefs.h. */
41896 _ACEOF
41897 cat confdefs.h >>conftest.$ac_ext
41898 cat >>conftest.$ac_ext <<_ACEOF
41899 /* end confdefs.h. */
41900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41902 #define $ac_func innocuous_$ac_func
41903
41904 /* System header to define __stub macros and hopefully few prototypes,
41905 which can conflict with char $ac_func (); below.
41906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41907 <limits.h> exists even on freestanding compilers. */
41908
41909 #ifdef __STDC__
41910 # include <limits.h>
41911 #else
41912 # include <assert.h>
41913 #endif
41914
41915 #undef $ac_func
41916
41917 /* Override any GCC internal prototype to avoid an error.
41918 Use char because int might match the return type of a GCC
41919 builtin and then its argument prototype would still apply. */
41920 #ifdef __cplusplus
41921 extern "C"
41922 #endif
41923 char $ac_func ();
41924 /* The GNU C library defines this for functions which it implements
41925 to always fail with ENOSYS. Some functions are actually named
41926 something starting with __ and the normal name is an alias. */
41927 #if defined __stub_$ac_func || defined __stub___$ac_func
41928 choke me
41929 #endif
41930
41931 int
41932 main ()
41933 {
41934 return $ac_func ();
41935 ;
41936 return 0;
41937 }
41938 _ACEOF
41939 rm -f conftest.$ac_objext conftest$ac_exeext
41940 if { (ac_try="$ac_link"
41941 case "(($ac_try" in
41942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41943 *) ac_try_echo=$ac_try;;
41944 esac
41945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41946 (eval "$ac_link") 2>conftest.er1
41947 ac_status=$?
41948 grep -v '^ *+' conftest.er1 >conftest.err
41949 rm -f conftest.er1
41950 cat conftest.err >&5
41951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41952 (exit $ac_status); } && {
41953 test -z "$ac_c_werror_flag" ||
41954 test ! -s conftest.err
41955 } && test -s conftest$ac_exeext &&
41956 $as_test_x conftest$ac_exeext; then
41957 eval "$as_ac_var=yes"
41958 else
41959 echo "$as_me: failed program was:" >&5
41960 sed 's/^/| /' conftest.$ac_ext >&5
41961
41962 eval "$as_ac_var=no"
41963 fi
41964
41965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41966 conftest$ac_exeext conftest.$ac_ext
41967 fi
41968 ac_res=`eval echo '${'$as_ac_var'}'`
41969 { echo "$as_me:$LINENO: result: $ac_res" >&5
41970 echo "${ECHO_T}$ac_res" >&6; }
41971 if test `eval echo '${'$as_ac_var'}'` = yes; then
41972 cat >>confdefs.h <<_ACEOF
41973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41974 _ACEOF
41975
41976 fi
41977 done
41978
41979 if test "$ac_cv_func_strptime" = "yes"; then
41980 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
41981 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
41982 if test "${wx_cv_func_strptime_decl+set}" = set; then
41983 echo $ECHO_N "(cached) $ECHO_C" >&6
41984 else
41985
41986 ac_ext=cpp
41987 ac_cpp='$CXXCPP $CPPFLAGS'
41988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41991
41992 cat >conftest.$ac_ext <<_ACEOF
41993 /* confdefs.h. */
41994 _ACEOF
41995 cat confdefs.h >>conftest.$ac_ext
41996 cat >>conftest.$ac_ext <<_ACEOF
41997 /* end confdefs.h. */
41998
41999 #include <time.h>
42000
42001 int
42002 main ()
42003 {
42004
42005 struct tm t;
42006 strptime("foo", "bar", &t);
42007
42008 ;
42009 return 0;
42010 }
42011 _ACEOF
42012 rm -f conftest.$ac_objext
42013 if { (ac_try="$ac_compile"
42014 case "(($ac_try" in
42015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42016 *) ac_try_echo=$ac_try;;
42017 esac
42018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42019 (eval "$ac_compile") 2>conftest.er1
42020 ac_status=$?
42021 grep -v '^ *+' conftest.er1 >conftest.err
42022 rm -f conftest.er1
42023 cat conftest.err >&5
42024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42025 (exit $ac_status); } && {
42026 test -z "$ac_cxx_werror_flag" ||
42027 test ! -s conftest.err
42028 } && test -s conftest.$ac_objext; then
42029 wx_cv_func_strptime_decl=yes
42030 else
42031 echo "$as_me: failed program was:" >&5
42032 sed 's/^/| /' conftest.$ac_ext >&5
42033
42034 wx_cv_func_strptime_decl=no
42035
42036 fi
42037
42038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42039 ac_ext=c
42040 ac_cpp='$CPP $CPPFLAGS'
42041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42044
42045
42046
42047 fi
42048 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42049 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42050 fi
42051 if test "$wx_cv_func_strptime_decl" = "yes"; then
42052 cat >>confdefs.h <<\_ACEOF
42053 #define HAVE_STRPTIME_DECL 1
42054 _ACEOF
42055
42056 fi
42057
42058 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42059 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42060 if test "${wx_cv_var_timezone+set}" = set; then
42061 echo $ECHO_N "(cached) $ECHO_C" >&6
42062 else
42063
42064 ac_ext=cpp
42065 ac_cpp='$CXXCPP $CPPFLAGS'
42066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42069
42070 cat >conftest.$ac_ext <<_ACEOF
42071 /* confdefs.h. */
42072 _ACEOF
42073 cat confdefs.h >>conftest.$ac_ext
42074 cat >>conftest.$ac_ext <<_ACEOF
42075 /* end confdefs.h. */
42076
42077 #include <time.h>
42078
42079 int
42080 main ()
42081 {
42082
42083 int tz;
42084 tz = timezone;
42085
42086 ;
42087 return 0;
42088 }
42089 _ACEOF
42090 rm -f conftest.$ac_objext
42091 if { (ac_try="$ac_compile"
42092 case "(($ac_try" in
42093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42094 *) ac_try_echo=$ac_try;;
42095 esac
42096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42097 (eval "$ac_compile") 2>conftest.er1
42098 ac_status=$?
42099 grep -v '^ *+' conftest.er1 >conftest.err
42100 rm -f conftest.er1
42101 cat conftest.err >&5
42102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42103 (exit $ac_status); } && {
42104 test -z "$ac_cxx_werror_flag" ||
42105 test ! -s conftest.err
42106 } && test -s conftest.$ac_objext; then
42107
42108 wx_cv_var_timezone=timezone
42109
42110 else
42111 echo "$as_me: failed program was:" >&5
42112 sed 's/^/| /' conftest.$ac_ext >&5
42113
42114
42115 cat >conftest.$ac_ext <<_ACEOF
42116 /* confdefs.h. */
42117 _ACEOF
42118 cat confdefs.h >>conftest.$ac_ext
42119 cat >>conftest.$ac_ext <<_ACEOF
42120 /* end confdefs.h. */
42121
42122 #include <time.h>
42123
42124 int
42125 main ()
42126 {
42127
42128 int tz;
42129 tz = _timezone;
42130
42131 ;
42132 return 0;
42133 }
42134 _ACEOF
42135 rm -f conftest.$ac_objext
42136 if { (ac_try="$ac_compile"
42137 case "(($ac_try" in
42138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42139 *) ac_try_echo=$ac_try;;
42140 esac
42141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42142 (eval "$ac_compile") 2>conftest.er1
42143 ac_status=$?
42144 grep -v '^ *+' conftest.er1 >conftest.err
42145 rm -f conftest.er1
42146 cat conftest.err >&5
42147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42148 (exit $ac_status); } && {
42149 test -z "$ac_cxx_werror_flag" ||
42150 test ! -s conftest.err
42151 } && test -s conftest.$ac_objext; then
42152
42153 wx_cv_var_timezone=_timezone
42154
42155 else
42156 echo "$as_me: failed program was:" >&5
42157 sed 's/^/| /' conftest.$ac_ext >&5
42158
42159
42160 cat >conftest.$ac_ext <<_ACEOF
42161 /* confdefs.h. */
42162 _ACEOF
42163 cat confdefs.h >>conftest.$ac_ext
42164 cat >>conftest.$ac_ext <<_ACEOF
42165 /* end confdefs.h. */
42166
42167 #include <time.h>
42168
42169 int
42170 main ()
42171 {
42172
42173 int tz;
42174 tz = __timezone;
42175
42176 ;
42177 return 0;
42178 }
42179 _ACEOF
42180 rm -f conftest.$ac_objext
42181 if { (ac_try="$ac_compile"
42182 case "(($ac_try" in
42183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42184 *) ac_try_echo=$ac_try;;
42185 esac
42186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42187 (eval "$ac_compile") 2>conftest.er1
42188 ac_status=$?
42189 grep -v '^ *+' conftest.er1 >conftest.err
42190 rm -f conftest.er1
42191 cat conftest.err >&5
42192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42193 (exit $ac_status); } && {
42194 test -z "$ac_cxx_werror_flag" ||
42195 test ! -s conftest.err
42196 } && test -s conftest.$ac_objext; then
42197
42198 wx_cv_var_timezone=__timezone
42199
42200 else
42201 echo "$as_me: failed program was:" >&5
42202 sed 's/^/| /' conftest.$ac_ext >&5
42203
42204
42205 if test "$USE_DOS" = 0 ; then
42206 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42207 echo "$as_me: WARNING: no timezone variable" >&2;}
42208 fi
42209
42210
42211 fi
42212
42213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42214
42215
42216 fi
42217
42218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42219
42220
42221 fi
42222
42223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42224 ac_ext=c
42225 ac_cpp='$CPP $CPPFLAGS'
42226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42229
42230
42231
42232 fi
42233 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42234 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42235
42236 if test "x$wx_cv_var_timezone" != x ; then
42237 cat >>confdefs.h <<_ACEOF
42238 #define WX_TIMEZONE $wx_cv_var_timezone
42239 _ACEOF
42240
42241 fi
42242
42243
42244 for ac_func in localtime
42245 do
42246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42250 echo $ECHO_N "(cached) $ECHO_C" >&6
42251 else
42252 cat >conftest.$ac_ext <<_ACEOF
42253 /* confdefs.h. */
42254 _ACEOF
42255 cat confdefs.h >>conftest.$ac_ext
42256 cat >>conftest.$ac_ext <<_ACEOF
42257 /* end confdefs.h. */
42258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42260 #define $ac_func innocuous_$ac_func
42261
42262 /* System header to define __stub macros and hopefully few prototypes,
42263 which can conflict with char $ac_func (); below.
42264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42265 <limits.h> exists even on freestanding compilers. */
42266
42267 #ifdef __STDC__
42268 # include <limits.h>
42269 #else
42270 # include <assert.h>
42271 #endif
42272
42273 #undef $ac_func
42274
42275 /* Override any GCC internal prototype to avoid an error.
42276 Use char because int might match the return type of a GCC
42277 builtin and then its argument prototype would still apply. */
42278 #ifdef __cplusplus
42279 extern "C"
42280 #endif
42281 char $ac_func ();
42282 /* The GNU C library defines this for functions which it implements
42283 to always fail with ENOSYS. Some functions are actually named
42284 something starting with __ and the normal name is an alias. */
42285 #if defined __stub_$ac_func || defined __stub___$ac_func
42286 choke me
42287 #endif
42288
42289 int
42290 main ()
42291 {
42292 return $ac_func ();
42293 ;
42294 return 0;
42295 }
42296 _ACEOF
42297 rm -f conftest.$ac_objext conftest$ac_exeext
42298 if { (ac_try="$ac_link"
42299 case "(($ac_try" in
42300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42301 *) ac_try_echo=$ac_try;;
42302 esac
42303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42304 (eval "$ac_link") 2>conftest.er1
42305 ac_status=$?
42306 grep -v '^ *+' conftest.er1 >conftest.err
42307 rm -f conftest.er1
42308 cat conftest.err >&5
42309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42310 (exit $ac_status); } && {
42311 test -z "$ac_c_werror_flag" ||
42312 test ! -s conftest.err
42313 } && test -s conftest$ac_exeext &&
42314 $as_test_x conftest$ac_exeext; then
42315 eval "$as_ac_var=yes"
42316 else
42317 echo "$as_me: failed program was:" >&5
42318 sed 's/^/| /' conftest.$ac_ext >&5
42319
42320 eval "$as_ac_var=no"
42321 fi
42322
42323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42324 conftest$ac_exeext conftest.$ac_ext
42325 fi
42326 ac_res=`eval echo '${'$as_ac_var'}'`
42327 { echo "$as_me:$LINENO: result: $ac_res" >&5
42328 echo "${ECHO_T}$ac_res" >&6; }
42329 if test `eval echo '${'$as_ac_var'}'` = yes; then
42330 cat >>confdefs.h <<_ACEOF
42331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42332 _ACEOF
42333
42334 fi
42335 done
42336
42337
42338 if test "$ac_cv_func_localtime" = "yes"; then
42339 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42340 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42341 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42342 echo $ECHO_N "(cached) $ECHO_C" >&6
42343 else
42344
42345 cat >conftest.$ac_ext <<_ACEOF
42346 /* confdefs.h. */
42347 _ACEOF
42348 cat confdefs.h >>conftest.$ac_ext
42349 cat >>conftest.$ac_ext <<_ACEOF
42350 /* end confdefs.h. */
42351
42352 #include <time.h>
42353
42354 int
42355 main ()
42356 {
42357
42358 struct tm tm;
42359 tm.tm_gmtoff++;
42360
42361 ;
42362 return 0;
42363 }
42364 _ACEOF
42365 rm -f conftest.$ac_objext
42366 if { (ac_try="$ac_compile"
42367 case "(($ac_try" in
42368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42369 *) ac_try_echo=$ac_try;;
42370 esac
42371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42372 (eval "$ac_compile") 2>conftest.er1
42373 ac_status=$?
42374 grep -v '^ *+' conftest.er1 >conftest.err
42375 rm -f conftest.er1
42376 cat conftest.err >&5
42377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42378 (exit $ac_status); } && {
42379 test -z "$ac_c_werror_flag" ||
42380 test ! -s conftest.err
42381 } && test -s conftest.$ac_objext; then
42382
42383 wx_cv_struct_tm_has_gmtoff=yes
42384
42385 else
42386 echo "$as_me: failed program was:" >&5
42387 sed 's/^/| /' conftest.$ac_ext >&5
42388
42389 wx_cv_struct_tm_has_gmtoff=no
42390
42391 fi
42392
42393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42394
42395 fi
42396 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42397 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42398 fi
42399
42400 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define WX_GMTOFF_IN_TM 1
42403 _ACEOF
42404
42405 fi
42406
42407
42408
42409 for ac_func in gettimeofday ftime
42410 do
42411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42415 echo $ECHO_N "(cached) $ECHO_C" >&6
42416 else
42417 cat >conftest.$ac_ext <<_ACEOF
42418 /* confdefs.h. */
42419 _ACEOF
42420 cat confdefs.h >>conftest.$ac_ext
42421 cat >>conftest.$ac_ext <<_ACEOF
42422 /* end confdefs.h. */
42423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42425 #define $ac_func innocuous_$ac_func
42426
42427 /* System header to define __stub macros and hopefully few prototypes,
42428 which can conflict with char $ac_func (); below.
42429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42430 <limits.h> exists even on freestanding compilers. */
42431
42432 #ifdef __STDC__
42433 # include <limits.h>
42434 #else
42435 # include <assert.h>
42436 #endif
42437
42438 #undef $ac_func
42439
42440 /* Override any GCC internal prototype to avoid an error.
42441 Use char because int might match the return type of a GCC
42442 builtin and then its argument prototype would still apply. */
42443 #ifdef __cplusplus
42444 extern "C"
42445 #endif
42446 char $ac_func ();
42447 /* The GNU C library defines this for functions which it implements
42448 to always fail with ENOSYS. Some functions are actually named
42449 something starting with __ and the normal name is an alias. */
42450 #if defined __stub_$ac_func || defined __stub___$ac_func
42451 choke me
42452 #endif
42453
42454 int
42455 main ()
42456 {
42457 return $ac_func ();
42458 ;
42459 return 0;
42460 }
42461 _ACEOF
42462 rm -f conftest.$ac_objext conftest$ac_exeext
42463 if { (ac_try="$ac_link"
42464 case "(($ac_try" in
42465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42466 *) ac_try_echo=$ac_try;;
42467 esac
42468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42469 (eval "$ac_link") 2>conftest.er1
42470 ac_status=$?
42471 grep -v '^ *+' conftest.er1 >conftest.err
42472 rm -f conftest.er1
42473 cat conftest.err >&5
42474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42475 (exit $ac_status); } && {
42476 test -z "$ac_c_werror_flag" ||
42477 test ! -s conftest.err
42478 } && test -s conftest$ac_exeext &&
42479 $as_test_x conftest$ac_exeext; then
42480 eval "$as_ac_var=yes"
42481 else
42482 echo "$as_me: failed program was:" >&5
42483 sed 's/^/| /' conftest.$ac_ext >&5
42484
42485 eval "$as_ac_var=no"
42486 fi
42487
42488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42489 conftest$ac_exeext conftest.$ac_ext
42490 fi
42491 ac_res=`eval echo '${'$as_ac_var'}'`
42492 { echo "$as_me:$LINENO: result: $ac_res" >&5
42493 echo "${ECHO_T}$ac_res" >&6; }
42494 if test `eval echo '${'$as_ac_var'}'` = yes; then
42495 cat >>confdefs.h <<_ACEOF
42496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42497 _ACEOF
42498 break
42499 fi
42500 done
42501
42502
42503 if test "$ac_cv_func_gettimeofday" = "yes"; then
42504 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42505 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42506 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42507 echo $ECHO_N "(cached) $ECHO_C" >&6
42508 else
42509
42510 cat >conftest.$ac_ext <<_ACEOF
42511 /* confdefs.h. */
42512 _ACEOF
42513 cat confdefs.h >>conftest.$ac_ext
42514 cat >>conftest.$ac_ext <<_ACEOF
42515 /* end confdefs.h. */
42516
42517 #include <sys/time.h>
42518 #include <unistd.h>
42519
42520 int
42521 main ()
42522 {
42523
42524 struct timeval tv;
42525 gettimeofday(&tv, NULL);
42526
42527 ;
42528 return 0;
42529 }
42530 _ACEOF
42531 rm -f conftest.$ac_objext
42532 if { (ac_try="$ac_compile"
42533 case "(($ac_try" in
42534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42535 *) ac_try_echo=$ac_try;;
42536 esac
42537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42538 (eval "$ac_compile") 2>conftest.er1
42539 ac_status=$?
42540 grep -v '^ *+' conftest.er1 >conftest.err
42541 rm -f conftest.er1
42542 cat conftest.err >&5
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); } && {
42545 test -z "$ac_c_werror_flag" ||
42546 test ! -s conftest.err
42547 } && test -s conftest.$ac_objext; then
42548 wx_cv_func_gettimeofday_has_2_args=yes
42549 else
42550 echo "$as_me: failed program was:" >&5
42551 sed 's/^/| /' conftest.$ac_ext >&5
42552
42553 cat >conftest.$ac_ext <<_ACEOF
42554 /* confdefs.h. */
42555 _ACEOF
42556 cat confdefs.h >>conftest.$ac_ext
42557 cat >>conftest.$ac_ext <<_ACEOF
42558 /* end confdefs.h. */
42559
42560 #include <sys/time.h>
42561 #include <unistd.h>
42562
42563 int
42564 main ()
42565 {
42566
42567 struct timeval tv;
42568 gettimeofday(&tv);
42569
42570 ;
42571 return 0;
42572 }
42573 _ACEOF
42574 rm -f conftest.$ac_objext
42575 if { (ac_try="$ac_compile"
42576 case "(($ac_try" in
42577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42578 *) ac_try_echo=$ac_try;;
42579 esac
42580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42581 (eval "$ac_compile") 2>conftest.er1
42582 ac_status=$?
42583 grep -v '^ *+' conftest.er1 >conftest.err
42584 rm -f conftest.er1
42585 cat conftest.err >&5
42586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587 (exit $ac_status); } && {
42588 test -z "$ac_c_werror_flag" ||
42589 test ! -s conftest.err
42590 } && test -s conftest.$ac_objext; then
42591 wx_cv_func_gettimeofday_has_2_args=no
42592 else
42593 echo "$as_me: failed program was:" >&5
42594 sed 's/^/| /' conftest.$ac_ext >&5
42595
42596
42597 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42598 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42599 wx_cv_func_gettimeofday_has_2_args=unknown
42600
42601
42602 fi
42603
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42605
42606 fi
42607
42608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42609
42610 fi
42611 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42612 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42613
42614 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42615 cat >>confdefs.h <<\_ACEOF
42616 #define WX_GETTIMEOFDAY_NO_TZ 1
42617 _ACEOF
42618
42619 fi
42620 fi
42621
42622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42623 fi
42624
42625
42626 if test "$wxUSE_SOCKETS" = "yes"; then
42627 if test "$wxUSE_MGL" = "1"; then
42628 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42629 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42630 wxUSE_SOCKETS="no"
42631 fi
42632 fi
42633
42634 if test "$wxUSE_SOCKETS" = "yes"; then
42635 if test "$TOOLKIT" != "MSW"; then
42636 { echo "$as_me:$LINENO: checking for socket" >&5
42637 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42638 if test "${ac_cv_func_socket+set}" = set; then
42639 echo $ECHO_N "(cached) $ECHO_C" >&6
42640 else
42641 cat >conftest.$ac_ext <<_ACEOF
42642 /* confdefs.h. */
42643 _ACEOF
42644 cat confdefs.h >>conftest.$ac_ext
42645 cat >>conftest.$ac_ext <<_ACEOF
42646 /* end confdefs.h. */
42647 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42649 #define socket innocuous_socket
42650
42651 /* System header to define __stub macros and hopefully few prototypes,
42652 which can conflict with char socket (); below.
42653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42654 <limits.h> exists even on freestanding compilers. */
42655
42656 #ifdef __STDC__
42657 # include <limits.h>
42658 #else
42659 # include <assert.h>
42660 #endif
42661
42662 #undef socket
42663
42664 /* Override any GCC internal prototype to avoid an error.
42665 Use char because int might match the return type of a GCC
42666 builtin and then its argument prototype would still apply. */
42667 #ifdef __cplusplus
42668 extern "C"
42669 #endif
42670 char socket ();
42671 /* The GNU C library defines this for functions which it implements
42672 to always fail with ENOSYS. Some functions are actually named
42673 something starting with __ and the normal name is an alias. */
42674 #if defined __stub_socket || defined __stub___socket
42675 choke me
42676 #endif
42677
42678 int
42679 main ()
42680 {
42681 return socket ();
42682 ;
42683 return 0;
42684 }
42685 _ACEOF
42686 rm -f conftest.$ac_objext conftest$ac_exeext
42687 if { (ac_try="$ac_link"
42688 case "(($ac_try" in
42689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42690 *) ac_try_echo=$ac_try;;
42691 esac
42692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42693 (eval "$ac_link") 2>conftest.er1
42694 ac_status=$?
42695 grep -v '^ *+' conftest.er1 >conftest.err
42696 rm -f conftest.er1
42697 cat conftest.err >&5
42698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42699 (exit $ac_status); } && {
42700 test -z "$ac_c_werror_flag" ||
42701 test ! -s conftest.err
42702 } && test -s conftest$ac_exeext &&
42703 $as_test_x conftest$ac_exeext; then
42704 ac_cv_func_socket=yes
42705 else
42706 echo "$as_me: failed program was:" >&5
42707 sed 's/^/| /' conftest.$ac_ext >&5
42708
42709 ac_cv_func_socket=no
42710 fi
42711
42712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42713 conftest$ac_exeext conftest.$ac_ext
42714 fi
42715 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42716 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42717 if test $ac_cv_func_socket = yes; then
42718 :
42719 else
42720
42721 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42722 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42723 if test "${ac_cv_lib_socket_socket+set}" = set; then
42724 echo $ECHO_N "(cached) $ECHO_C" >&6
42725 else
42726 ac_check_lib_save_LIBS=$LIBS
42727 LIBS="-lsocket $LIBS"
42728 cat >conftest.$ac_ext <<_ACEOF
42729 /* confdefs.h. */
42730 _ACEOF
42731 cat confdefs.h >>conftest.$ac_ext
42732 cat >>conftest.$ac_ext <<_ACEOF
42733 /* end confdefs.h. */
42734
42735 /* Override any GCC internal prototype to avoid an error.
42736 Use char because int might match the return type of a GCC
42737 builtin and then its argument prototype would still apply. */
42738 #ifdef __cplusplus
42739 extern "C"
42740 #endif
42741 char socket ();
42742 int
42743 main ()
42744 {
42745 return socket ();
42746 ;
42747 return 0;
42748 }
42749 _ACEOF
42750 rm -f conftest.$ac_objext conftest$ac_exeext
42751 if { (ac_try="$ac_link"
42752 case "(($ac_try" in
42753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42754 *) ac_try_echo=$ac_try;;
42755 esac
42756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42757 (eval "$ac_link") 2>conftest.er1
42758 ac_status=$?
42759 grep -v '^ *+' conftest.er1 >conftest.err
42760 rm -f conftest.er1
42761 cat conftest.err >&5
42762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42763 (exit $ac_status); } && {
42764 test -z "$ac_c_werror_flag" ||
42765 test ! -s conftest.err
42766 } && test -s conftest$ac_exeext &&
42767 $as_test_x conftest$ac_exeext; then
42768 ac_cv_lib_socket_socket=yes
42769 else
42770 echo "$as_me: failed program was:" >&5
42771 sed 's/^/| /' conftest.$ac_ext >&5
42772
42773 ac_cv_lib_socket_socket=no
42774 fi
42775
42776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42777 conftest$ac_exeext conftest.$ac_ext
42778 LIBS=$ac_check_lib_save_LIBS
42779 fi
42780 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42781 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42782 if test $ac_cv_lib_socket_socket = yes; then
42783 if test "$INET_LINK" != " -lsocket"; then
42784 INET_LINK="$INET_LINK -lsocket"
42785 fi
42786 else
42787
42788 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42789 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42790 wxUSE_SOCKETS=no
42791
42792
42793 fi
42794
42795
42796
42797 fi
42798
42799 fi
42800 fi
42801
42802 if test "$wxUSE_SOCKETS" = "yes" ; then
42803 if test "$TOOLKIT" != "MSW"; then
42804 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42805 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42806 if test "${wx_cv_type_getsockname3+set}" = set; then
42807 echo $ECHO_N "(cached) $ECHO_C" >&6
42808 else
42809
42810 ac_ext=cpp
42811 ac_cpp='$CXXCPP $CPPFLAGS'
42812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42815
42816 cat >conftest.$ac_ext <<_ACEOF
42817 /* confdefs.h. */
42818 _ACEOF
42819 cat confdefs.h >>conftest.$ac_ext
42820 cat >>conftest.$ac_ext <<_ACEOF
42821 /* end confdefs.h. */
42822
42823 #include <sys/types.h>
42824 #include <sys/socket.h>
42825
42826 int
42827 main ()
42828 {
42829
42830 socklen_t len;
42831 getsockname(0, 0, &len);
42832
42833 ;
42834 return 0;
42835 }
42836 _ACEOF
42837 rm -f conftest.$ac_objext
42838 if { (ac_try="$ac_compile"
42839 case "(($ac_try" in
42840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42841 *) ac_try_echo=$ac_try;;
42842 esac
42843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42844 (eval "$ac_compile") 2>conftest.er1
42845 ac_status=$?
42846 grep -v '^ *+' conftest.er1 >conftest.err
42847 rm -f conftest.er1
42848 cat conftest.err >&5
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); } && {
42851 test -z "$ac_cxx_werror_flag" ||
42852 test ! -s conftest.err
42853 } && test -s conftest.$ac_objext; then
42854 wx_cv_type_getsockname3=socklen_t
42855 else
42856 echo "$as_me: failed program was:" >&5
42857 sed 's/^/| /' conftest.$ac_ext >&5
42858
42859
42860 CFLAGS_OLD="$CFLAGS"
42861 if test "$GCC" = yes ; then
42862 CFLAGS="-Werror $CFLAGS"
42863 fi
42864
42865 cat >conftest.$ac_ext <<_ACEOF
42866 /* confdefs.h. */
42867 _ACEOF
42868 cat confdefs.h >>conftest.$ac_ext
42869 cat >>conftest.$ac_ext <<_ACEOF
42870 /* end confdefs.h. */
42871
42872 #include <sys/types.h>
42873 #include <sys/socket.h>
42874
42875 int
42876 main ()
42877 {
42878
42879 size_t len;
42880 getsockname(0, 0, &len);
42881
42882 ;
42883 return 0;
42884 }
42885 _ACEOF
42886 rm -f conftest.$ac_objext
42887 if { (ac_try="$ac_compile"
42888 case "(($ac_try" in
42889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42890 *) ac_try_echo=$ac_try;;
42891 esac
42892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42893 (eval "$ac_compile") 2>conftest.er1
42894 ac_status=$?
42895 grep -v '^ *+' conftest.er1 >conftest.err
42896 rm -f conftest.er1
42897 cat conftest.err >&5
42898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42899 (exit $ac_status); } && {
42900 test -z "$ac_cxx_werror_flag" ||
42901 test ! -s conftest.err
42902 } && test -s conftest.$ac_objext; then
42903 wx_cv_type_getsockname3=size_t
42904 else
42905 echo "$as_me: failed program was:" >&5
42906 sed 's/^/| /' conftest.$ac_ext >&5
42907
42908 cat >conftest.$ac_ext <<_ACEOF
42909 /* confdefs.h. */
42910 _ACEOF
42911 cat confdefs.h >>conftest.$ac_ext
42912 cat >>conftest.$ac_ext <<_ACEOF
42913 /* end confdefs.h. */
42914
42915 #include <sys/types.h>
42916 #include <sys/socket.h>
42917
42918 int
42919 main ()
42920 {
42921
42922 int len;
42923 getsockname(0, 0, &len);
42924
42925 ;
42926 return 0;
42927 }
42928 _ACEOF
42929 rm -f conftest.$ac_objext
42930 if { (ac_try="$ac_compile"
42931 case "(($ac_try" in
42932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42933 *) ac_try_echo=$ac_try;;
42934 esac
42935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42936 (eval "$ac_compile") 2>conftest.er1
42937 ac_status=$?
42938 grep -v '^ *+' conftest.er1 >conftest.err
42939 rm -f conftest.er1
42940 cat conftest.err >&5
42941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42942 (exit $ac_status); } && {
42943 test -z "$ac_cxx_werror_flag" ||
42944 test ! -s conftest.err
42945 } && test -s conftest.$ac_objext; then
42946 wx_cv_type_getsockname3=int
42947 else
42948 echo "$as_me: failed program was:" >&5
42949 sed 's/^/| /' conftest.$ac_ext >&5
42950
42951 wx_cv_type_getsockname3=unknown
42952
42953 fi
42954
42955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42956
42957 fi
42958
42959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42960
42961 CFLAGS="$CFLAGS_OLD"
42962
42963
42964 fi
42965
42966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42967 ac_ext=c
42968 ac_cpp='$CPP $CPPFLAGS'
42969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972
42973
42974 fi
42975 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42976 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
42977
42978 if test "$wx_cv_type_getsockname3" = "unknown"; then
42979 wxUSE_SOCKETS=no
42980 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42981 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42982 else
42983 cat >>confdefs.h <<_ACEOF
42984 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42985 _ACEOF
42986
42987 fi
42988 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42989 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
42990 if test "${wx_cv_type_getsockopt5+set}" = set; then
42991 echo $ECHO_N "(cached) $ECHO_C" >&6
42992 else
42993
42994 ac_ext=cpp
42995 ac_cpp='$CXXCPP $CPPFLAGS'
42996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42999
43000 cat >conftest.$ac_ext <<_ACEOF
43001 /* confdefs.h. */
43002 _ACEOF
43003 cat confdefs.h >>conftest.$ac_ext
43004 cat >>conftest.$ac_ext <<_ACEOF
43005 /* end confdefs.h. */
43006
43007 #include <sys/types.h>
43008 #include <sys/socket.h>
43009
43010 int
43011 main ()
43012 {
43013
43014 socklen_t len;
43015 getsockopt(0, 0, 0, 0, &len);
43016
43017 ;
43018 return 0;
43019 }
43020 _ACEOF
43021 rm -f conftest.$ac_objext
43022 if { (ac_try="$ac_compile"
43023 case "(($ac_try" in
43024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43025 *) ac_try_echo=$ac_try;;
43026 esac
43027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43028 (eval "$ac_compile") 2>conftest.er1
43029 ac_status=$?
43030 grep -v '^ *+' conftest.er1 >conftest.err
43031 rm -f conftest.er1
43032 cat conftest.err >&5
43033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43034 (exit $ac_status); } && {
43035 test -z "$ac_cxx_werror_flag" ||
43036 test ! -s conftest.err
43037 } && test -s conftest.$ac_objext; then
43038 wx_cv_type_getsockopt5=socklen_t
43039 else
43040 echo "$as_me: failed program was:" >&5
43041 sed 's/^/| /' conftest.$ac_ext >&5
43042
43043
43044 cat >conftest.$ac_ext <<_ACEOF
43045 /* confdefs.h. */
43046 _ACEOF
43047 cat confdefs.h >>conftest.$ac_ext
43048 cat >>conftest.$ac_ext <<_ACEOF
43049 /* end confdefs.h. */
43050
43051 #include <sys/types.h>
43052 #include <sys/socket.h>
43053
43054 int
43055 main ()
43056 {
43057
43058 size_t len;
43059 getsockopt(0, 0, 0, 0, &len);
43060
43061 ;
43062 return 0;
43063 }
43064 _ACEOF
43065 rm -f conftest.$ac_objext
43066 if { (ac_try="$ac_compile"
43067 case "(($ac_try" in
43068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43069 *) ac_try_echo=$ac_try;;
43070 esac
43071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43072 (eval "$ac_compile") 2>conftest.er1
43073 ac_status=$?
43074 grep -v '^ *+' conftest.er1 >conftest.err
43075 rm -f conftest.er1
43076 cat conftest.err >&5
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); } && {
43079 test -z "$ac_cxx_werror_flag" ||
43080 test ! -s conftest.err
43081 } && test -s conftest.$ac_objext; then
43082 wx_cv_type_getsockopt5=size_t
43083 else
43084 echo "$as_me: failed program was:" >&5
43085 sed 's/^/| /' conftest.$ac_ext >&5
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 int len;
43102 getsockopt(0, 0, 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_getsockopt5=int
43126 else
43127 echo "$as_me: failed program was:" >&5
43128 sed 's/^/| /' conftest.$ac_ext >&5
43129
43130 wx_cv_type_getsockopt5=unknown
43131
43132 fi
43133
43134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43135
43136 fi
43137
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139
43140
43141 fi
43142
43143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43144 ac_ext=c
43145 ac_cpp='$CPP $CPPFLAGS'
43146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149
43150
43151 fi
43152 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43153 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43154
43155 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43156 wxUSE_SOCKETS=no
43157 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43158 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43159 else
43160 cat >>confdefs.h <<_ACEOF
43161 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43162 _ACEOF
43163
43164 fi
43165 fi
43166 fi
43167
43168 if test "$wxUSE_SOCKETS" = "yes" ; then
43169 cat >>confdefs.h <<\_ACEOF
43170 #define wxUSE_SOCKETS 1
43171 _ACEOF
43172
43173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43174 fi
43175
43176 if test "$wxUSE_PROTOCOL" = "yes"; then
43177 if test "$wxUSE_SOCKETS" != "yes"; then
43178 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43179 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43180 wxUSE_PROTOCOL=no
43181 fi
43182 fi
43183
43184 if test "$wxUSE_PROTOCOL" = "yes"; then
43185 cat >>confdefs.h <<\_ACEOF
43186 #define wxUSE_PROTOCOL 1
43187 _ACEOF
43188
43189
43190 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43191 cat >>confdefs.h <<\_ACEOF
43192 #define wxUSE_PROTOCOL_HTTP 1
43193 _ACEOF
43194
43195 fi
43196 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43197 cat >>confdefs.h <<\_ACEOF
43198 #define wxUSE_PROTOCOL_FTP 1
43199 _ACEOF
43200
43201 fi
43202 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43203 cat >>confdefs.h <<\_ACEOF
43204 #define wxUSE_PROTOCOL_FILE 1
43205 _ACEOF
43206
43207 fi
43208 else
43209 if test "$wxUSE_FS_INET" = "yes"; then
43210 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43211 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43212 wxUSE_FS_INET="no"
43213 fi
43214 fi
43215
43216 if test "$wxUSE_URL" = "yes"; then
43217 if test "$wxUSE_PROTOCOL" != "yes"; then
43218 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43219 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43220 wxUSE_URL=no
43221 fi
43222 if test "$wxUSE_URL" = "yes"; then
43223 cat >>confdefs.h <<\_ACEOF
43224 #define wxUSE_URL 1
43225 _ACEOF
43226
43227 fi
43228 fi
43229
43230 if test "$wxUSE_VARIANT" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_VARIANT 1
43233 _ACEOF
43234
43235 fi
43236
43237 if test "$wxUSE_FS_INET" = "yes"; then
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_FS_INET 1
43240 _ACEOF
43241
43242 fi
43243
43244
43245 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43246 wxUSE_JOYSTICK=no
43247
43248 if test "$TOOLKIT" = "MSW"; then
43249 wxUSE_JOYSTICK=yes
43250
43251 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43252 if test "$USE_DARWIN" = 1; then
43253 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43254 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43255 ac_ext=cpp
43256 ac_cpp='$CXXCPP $CPPFLAGS'
43257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43260
43261 cat >conftest.$ac_ext <<_ACEOF
43262 /* confdefs.h. */
43263 _ACEOF
43264 cat confdefs.h >>conftest.$ac_ext
43265 cat >>conftest.$ac_ext <<_ACEOF
43266 /* end confdefs.h. */
43267 #include <IOKit/hid/IOHIDLib.h>
43268 int
43269 main ()
43270 {
43271 IOHIDQueueInterface *qi = NULL;
43272 IOHIDCallbackFunction cb = NULL;
43273 qi->setEventCallout(NULL, cb, NULL, NULL);
43274 ;
43275 return 0;
43276 }
43277 _ACEOF
43278 rm -f conftest.$ac_objext
43279 if { (ac_try="$ac_compile"
43280 case "(($ac_try" in
43281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43282 *) ac_try_echo=$ac_try;;
43283 esac
43284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43285 (eval "$ac_compile") 2>conftest.er1
43286 ac_status=$?
43287 grep -v '^ *+' conftest.er1 >conftest.err
43288 rm -f conftest.er1
43289 cat conftest.err >&5
43290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43291 (exit $ac_status); } && {
43292 test -z "$ac_cxx_werror_flag" ||
43293 test ! -s conftest.err
43294 } && test -s conftest.$ac_objext; then
43295 wxUSE_JOYSTICK=yes
43296
43297 else
43298 echo "$as_me: failed program was:" >&5
43299 sed 's/^/| /' conftest.$ac_ext >&5
43300
43301
43302 fi
43303
43304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43305 ac_ext=c
43306 ac_cpp='$CPP $CPPFLAGS'
43307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43310
43311 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43312 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43313 fi
43314
43315 else
43316 if test "$wxUSE_MGL" != "1"; then
43317 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43318 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43319 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43320 echo $ECHO_N "(cached) $ECHO_C" >&6
43321 else
43322 cat >conftest.$ac_ext <<_ACEOF
43323 /* confdefs.h. */
43324 _ACEOF
43325 cat confdefs.h >>conftest.$ac_ext
43326 cat >>conftest.$ac_ext <<_ACEOF
43327 /* end confdefs.h. */
43328 $ac_includes_default
43329
43330 #include <linux/joystick.h>
43331 _ACEOF
43332 rm -f conftest.$ac_objext
43333 if { (ac_try="$ac_compile"
43334 case "(($ac_try" in
43335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43336 *) ac_try_echo=$ac_try;;
43337 esac
43338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43339 (eval "$ac_compile") 2>conftest.er1
43340 ac_status=$?
43341 grep -v '^ *+' conftest.er1 >conftest.err
43342 rm -f conftest.er1
43343 cat conftest.err >&5
43344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43345 (exit $ac_status); } && {
43346 test -z "$ac_c_werror_flag" ||
43347 test ! -s conftest.err
43348 } && test -s conftest.$ac_objext; then
43349 ac_cv_header_linux_joystick_h=yes
43350 else
43351 echo "$as_me: failed program was:" >&5
43352 sed 's/^/| /' conftest.$ac_ext >&5
43353
43354 ac_cv_header_linux_joystick_h=no
43355 fi
43356
43357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43358 fi
43359 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43360 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43361 if test $ac_cv_header_linux_joystick_h = yes; then
43362 wxUSE_JOYSTICK=yes
43363 fi
43364
43365
43366 fi
43367 fi
43368
43369 if test "$wxUSE_JOYSTICK" = "yes"; then
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_JOYSTICK 1
43372 _ACEOF
43373
43374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43375 else
43376 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43377 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43378 fi
43379 fi
43380
43381
43382
43383 if test "$wxUSE_FONTMAP" = "yes" ; then
43384 cat >>confdefs.h <<\_ACEOF
43385 #define wxUSE_FONTMAP 1
43386 _ACEOF
43387
43388 fi
43389
43390 if test "$wxUSE_UNICODE" = "yes" ; then
43391 cat >>confdefs.h <<\_ACEOF
43392 #define wxUSE_UNICODE 1
43393 _ACEOF
43394
43395
43396 if test "$USE_WIN32" != 1; then
43397 wxUSE_UNICODE_MSLU=no
43398 fi
43399
43400 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43401 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43402 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43403 if test "${ac_cv_lib_unicows_main+set}" = set; then
43404 echo $ECHO_N "(cached) $ECHO_C" >&6
43405 else
43406 ac_check_lib_save_LIBS=$LIBS
43407 LIBS="-lunicows $LIBS"
43408 cat >conftest.$ac_ext <<_ACEOF
43409 /* confdefs.h. */
43410 _ACEOF
43411 cat confdefs.h >>conftest.$ac_ext
43412 cat >>conftest.$ac_ext <<_ACEOF
43413 /* end confdefs.h. */
43414
43415
43416 int
43417 main ()
43418 {
43419 return main ();
43420 ;
43421 return 0;
43422 }
43423 _ACEOF
43424 rm -f conftest.$ac_objext conftest$ac_exeext
43425 if { (ac_try="$ac_link"
43426 case "(($ac_try" in
43427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43428 *) ac_try_echo=$ac_try;;
43429 esac
43430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43431 (eval "$ac_link") 2>conftest.er1
43432 ac_status=$?
43433 grep -v '^ *+' conftest.er1 >conftest.err
43434 rm -f conftest.er1
43435 cat conftest.err >&5
43436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43437 (exit $ac_status); } && {
43438 test -z "$ac_c_werror_flag" ||
43439 test ! -s conftest.err
43440 } && test -s conftest$ac_exeext &&
43441 $as_test_x conftest$ac_exeext; then
43442 ac_cv_lib_unicows_main=yes
43443 else
43444 echo "$as_me: failed program was:" >&5
43445 sed 's/^/| /' conftest.$ac_ext >&5
43446
43447 ac_cv_lib_unicows_main=no
43448 fi
43449
43450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43451 conftest$ac_exeext conftest.$ac_ext
43452 LIBS=$ac_check_lib_save_LIBS
43453 fi
43454 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43455 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43456 if test $ac_cv_lib_unicows_main = yes; then
43457
43458 cat >>confdefs.h <<\_ACEOF
43459 #define wxUSE_UNICODE_MSLU 1
43460 _ACEOF
43461
43462
43463 else
43464
43465 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43466 Applications will only run on Windows NT/2000/XP!" >&5
43467 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43468 Applications will only run on Windows NT/2000/XP!" >&2;}
43469 wxUSE_UNICODE_MSLU=no
43470
43471 fi
43472
43473 fi
43474 fi
43475
43476 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43477 cat >>confdefs.h <<\_ACEOF
43478 #define wxUSE_EXPERIMENTAL_PRINTF 1
43479 _ACEOF
43480
43481 fi
43482
43483
43484 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43485 cat >>confdefs.h <<\_ACEOF
43486 #define wxUSE_POSTSCRIPT 1
43487 _ACEOF
43488
43489 fi
43490
43491 cat >>confdefs.h <<\_ACEOF
43492 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43493 _ACEOF
43494
43495
43496 cat >>confdefs.h <<\_ACEOF
43497 #define wxUSE_NORMALIZED_PS_FONTS 1
43498 _ACEOF
43499
43500
43501
43502 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43503 cat >>confdefs.h <<\_ACEOF
43504 #define wxUSE_CONSTRAINTS 1
43505 _ACEOF
43506
43507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43508 fi
43509
43510 if test "$wxUSE_MDI" = "yes"; then
43511 cat >>confdefs.h <<\_ACEOF
43512 #define wxUSE_MDI 1
43513 _ACEOF
43514
43515
43516 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43517 cat >>confdefs.h <<\_ACEOF
43518 #define wxUSE_MDI_ARCHITECTURE 1
43519 _ACEOF
43520
43521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43522 fi
43523 fi
43524
43525 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43526 cat >>confdefs.h <<\_ACEOF
43527 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43528 _ACEOF
43529
43530 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43531 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43533 fi
43534 fi
43535
43536 if test "$wxUSE_HELP" = "yes"; then
43537 cat >>confdefs.h <<\_ACEOF
43538 #define wxUSE_HELP 1
43539 _ACEOF
43540
43541 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43542
43543 if test "$wxUSE_MSW" = 1; then
43544 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43545 cat >>confdefs.h <<\_ACEOF
43546 #define wxUSE_MS_HTML_HELP 1
43547 _ACEOF
43548
43549 fi
43550 fi
43551
43552 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43553 if test "$wxUSE_HTML" = "yes"; then
43554 cat >>confdefs.h <<\_ACEOF
43555 #define wxUSE_WXHTML_HELP 1
43556 _ACEOF
43557
43558 else
43559 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43560 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43561 wxUSE_WXHTML_HELP=no
43562 fi
43563 fi
43564 fi
43565
43566 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43567 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43568 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43569 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43570 else
43571 cat >>confdefs.h <<\_ACEOF
43572 #define wxUSE_PRINTING_ARCHITECTURE 1
43573 _ACEOF
43574
43575 fi
43576 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43577 fi
43578
43579
43580
43581 if test "$wxUSE_METAFILE" = "yes"; then
43582 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43583 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43584 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43585 wxUSE_METAFILE=no
43586 fi
43587 fi
43588
43589
43590 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43591 -o "$wxUSE_CLIPBOARD" = "yes" \
43592 -o "$wxUSE_OLE" = "yes" \
43593 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43594 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43595 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43596 if test "${ac_cv_header_ole2_h+set}" = set; then
43597 echo $ECHO_N "(cached) $ECHO_C" >&6
43598 else
43599 cat >conftest.$ac_ext <<_ACEOF
43600 /* confdefs.h. */
43601 _ACEOF
43602 cat confdefs.h >>conftest.$ac_ext
43603 cat >>conftest.$ac_ext <<_ACEOF
43604 /* end confdefs.h. */
43605
43606
43607 #include <ole2.h>
43608 _ACEOF
43609 rm -f conftest.$ac_objext
43610 if { (ac_try="$ac_compile"
43611 case "(($ac_try" in
43612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43613 *) ac_try_echo=$ac_try;;
43614 esac
43615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43616 (eval "$ac_compile") 2>conftest.er1
43617 ac_status=$?
43618 grep -v '^ *+' conftest.er1 >conftest.err
43619 rm -f conftest.er1
43620 cat conftest.err >&5
43621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43622 (exit $ac_status); } && {
43623 test -z "$ac_c_werror_flag" ||
43624 test ! -s conftest.err
43625 } && test -s conftest.$ac_objext; then
43626 ac_cv_header_ole2_h=yes
43627 else
43628 echo "$as_me: failed program was:" >&5
43629 sed 's/^/| /' conftest.$ac_ext >&5
43630
43631 ac_cv_header_ole2_h=no
43632 fi
43633
43634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43635 fi
43636 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43637 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43638
43639
43640
43641 if test "$ac_cv_header_ole2_h" = "yes" ; then
43642 if test "$GCC" = yes ; then
43643 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43644 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43645 cat >conftest.$ac_ext <<_ACEOF
43646 /* confdefs.h. */
43647 _ACEOF
43648 cat confdefs.h >>conftest.$ac_ext
43649 cat >>conftest.$ac_ext <<_ACEOF
43650 /* end confdefs.h. */
43651 #include <windows.h>
43652 #include <ole2.h>
43653 int
43654 main ()
43655 {
43656
43657 ;
43658 return 0;
43659 }
43660 _ACEOF
43661 rm -f conftest.$ac_objext
43662 if { (ac_try="$ac_compile"
43663 case "(($ac_try" in
43664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43665 *) ac_try_echo=$ac_try;;
43666 esac
43667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43668 (eval "$ac_compile") 2>conftest.er1
43669 ac_status=$?
43670 grep -v '^ *+' conftest.er1 >conftest.err
43671 rm -f conftest.er1
43672 cat conftest.err >&5
43673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43674 (exit $ac_status); } && {
43675 test -z "$ac_c_werror_flag" ||
43676 test ! -s conftest.err
43677 } && test -s conftest.$ac_objext; then
43678 { echo "$as_me:$LINENO: result: no" >&5
43679 echo "${ECHO_T}no" >&6; }
43680 else
43681 echo "$as_me: failed program was:" >&5
43682 sed 's/^/| /' conftest.$ac_ext >&5
43683
43684 { echo "$as_me:$LINENO: result: yes" >&5
43685 echo "${ECHO_T}yes" >&6; }
43686 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43687 fi
43688
43689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43690 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43691 if test "$wxUSE_OLE" = "yes" ; then
43692 cat >>confdefs.h <<\_ACEOF
43693 #define wxUSE_OLE 1
43694 _ACEOF
43695
43696 cat >>confdefs.h <<\_ACEOF
43697 #define wxUSE_OLE_AUTOMATION 1
43698 _ACEOF
43699
43700 cat >>confdefs.h <<\_ACEOF
43701 #define wxUSE_ACTIVEX 1
43702 _ACEOF
43703
43704 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43705 fi
43706 fi
43707
43708 if test "$wxUSE_DATAOBJ" = "yes" ; then
43709 cat >>confdefs.h <<\_ACEOF
43710 #define wxUSE_DATAOBJ 1
43711 _ACEOF
43712
43713 fi
43714 else
43715 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43716 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43717
43718 wxUSE_CLIPBOARD=no
43719 wxUSE_DRAG_AND_DROP=no
43720 wxUSE_DATAOBJ=no
43721 wxUSE_OLE=no
43722 fi
43723
43724 if test "$wxUSE_METAFILE" = "yes"; then
43725 cat >>confdefs.h <<\_ACEOF
43726 #define wxUSE_METAFILE 1
43727 _ACEOF
43728
43729
43730 cat >>confdefs.h <<\_ACEOF
43731 #define wxUSE_ENH_METAFILE 1
43732 _ACEOF
43733
43734 fi
43735 fi
43736
43737 if test "$wxUSE_IPC" = "yes"; then
43738 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43739 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43740 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43741 wxUSE_IPC=no
43742 fi
43743
43744 if test "$wxUSE_IPC" = "yes"; then
43745 cat >>confdefs.h <<\_ACEOF
43746 #define wxUSE_IPC 1
43747 _ACEOF
43748
43749 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43750 fi
43751 fi
43752
43753 if test "$wxUSE_DATAOBJ" = "yes"; then
43754 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43755 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43756 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43757 wxUSE_DATAOBJ=no
43758 else
43759 cat >>confdefs.h <<\_ACEOF
43760 #define wxUSE_DATAOBJ 1
43761 _ACEOF
43762
43763 fi
43764 else
43765 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43766 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43767 wxUSE_CLIPBOARD=no
43768 wxUSE_DRAG_AND_DROP=no
43769 fi
43770
43771 if test "$wxUSE_CLIPBOARD" = "yes"; then
43772 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43773 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43774 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43775 wxUSE_CLIPBOARD=no
43776 fi
43777
43778 if test "$wxUSE_CLIPBOARD" = "yes"; then
43779 cat >>confdefs.h <<\_ACEOF
43780 #define wxUSE_CLIPBOARD 1
43781 _ACEOF
43782
43783 fi
43784 fi
43785
43786 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43787 if test "$wxUSE_GTK" = 1; then
43788 if test "$WXGTK12" != 1; then
43789 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43790 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43791 wxUSE_DRAG_AND_DROP=no
43792 fi
43793 fi
43794
43795 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43796 "$wxUSE_DFB" = 1; then
43797 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43798 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43799 wxUSE_DRAG_AND_DROP=no
43800 fi
43801
43802 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43803 cat >>confdefs.h <<\_ACEOF
43804 #define wxUSE_DRAG_AND_DROP 1
43805 _ACEOF
43806
43807 fi
43808
43809 fi
43810
43811 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43812 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43813 fi
43814
43815 if test "$wxUSE_SPLINES" = "yes" ; then
43816 cat >>confdefs.h <<\_ACEOF
43817 #define wxUSE_SPLINES 1
43818 _ACEOF
43819
43820 fi
43821
43822 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43823 cat >>confdefs.h <<\_ACEOF
43824 #define wxUSE_MOUSEWHEEL 1
43825 _ACEOF
43826
43827 fi
43828
43829
43830 USES_CONTROLS=0
43831 if test "$wxUSE_CONTROLS" = "yes"; then
43832 USES_CONTROLS=1
43833 fi
43834
43835 if test "$wxUSE_ACCEL" = "yes"; then
43836 cat >>confdefs.h <<\_ACEOF
43837 #define wxUSE_ACCEL 1
43838 _ACEOF
43839
43840 USES_CONTROLS=1
43841 fi
43842
43843 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43844 cat >>confdefs.h <<\_ACEOF
43845 #define wxUSE_ANIMATIONCTRL 1
43846 _ACEOF
43847
43848 USES_CONTROLS=1
43849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
43850 fi
43851
43852 if test "$wxUSE_BUTTON" = "yes"; then
43853 cat >>confdefs.h <<\_ACEOF
43854 #define wxUSE_BUTTON 1
43855 _ACEOF
43856
43857 USES_CONTROLS=1
43858 fi
43859
43860 if test "$wxUSE_BMPBUTTON" = "yes"; then
43861 cat >>confdefs.h <<\_ACEOF
43862 #define wxUSE_BMPBUTTON 1
43863 _ACEOF
43864
43865 USES_CONTROLS=1
43866 fi
43867
43868 if test "$wxUSE_CALCTRL" = "yes"; then
43869 cat >>confdefs.h <<\_ACEOF
43870 #define wxUSE_CALENDARCTRL 1
43871 _ACEOF
43872
43873 USES_CONTROLS=1
43874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43875 fi
43876
43877 if test "$wxUSE_CARET" = "yes"; then
43878 cat >>confdefs.h <<\_ACEOF
43879 #define wxUSE_CARET 1
43880 _ACEOF
43881
43882 USES_CONTROLS=1
43883 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43884 fi
43885
43886 if test "$wxUSE_COLLPANE" = "yes"; then
43887 cat >>confdefs.h <<\_ACEOF
43888 #define wxUSE_COLLPANE 1
43889 _ACEOF
43890
43891 USES_CONTROLS=1
43892 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
43893 fi
43894
43895 if test "$wxUSE_COMBOBOX" = "yes"; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_COMBOBOX 1
43898 _ACEOF
43899
43900 USES_CONTROLS=1
43901 fi
43902
43903 if test "$wxUSE_COMBOCTRL" = "yes"; then
43904 cat >>confdefs.h <<\_ACEOF
43905 #define wxUSE_COMBOCTRL 1
43906 _ACEOF
43907
43908 USES_CONTROLS=1
43909 fi
43910
43911 if test "$wxUSE_CHOICE" = "yes"; then
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_CHOICE 1
43914 _ACEOF
43915
43916 USES_CONTROLS=1
43917 fi
43918
43919 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43920 cat >>confdefs.h <<\_ACEOF
43921 #define wxUSE_CHOICEBOOK 1
43922 _ACEOF
43923
43924 USES_CONTROLS=1
43925 fi
43926
43927 if test "$wxUSE_CHECKBOX" = "yes"; then
43928 cat >>confdefs.h <<\_ACEOF
43929 #define wxUSE_CHECKBOX 1
43930 _ACEOF
43931
43932 USES_CONTROLS=1
43933 fi
43934
43935 if test "$wxUSE_CHECKLST" = "yes"; then
43936 cat >>confdefs.h <<\_ACEOF
43937 #define wxUSE_CHECKLISTBOX 1
43938 _ACEOF
43939
43940 USES_CONTROLS=1
43941 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43942 fi
43943
43944 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
43945 cat >>confdefs.h <<\_ACEOF
43946 #define wxUSE_COLOURPICKERCTRL 1
43947 _ACEOF
43948
43949 USES_CONTROLS=1
43950 fi
43951
43952 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43953 cat >>confdefs.h <<\_ACEOF
43954 #define wxUSE_DATEPICKCTRL 1
43955 _ACEOF
43956
43957 USES_CONTROLS=1
43958 fi
43959
43960 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
43961 cat >>confdefs.h <<\_ACEOF
43962 #define wxUSE_DIRPICKERCTRL 1
43963 _ACEOF
43964
43965 USES_CONTROLS=1
43966 fi
43967
43968 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
43969 cat >>confdefs.h <<\_ACEOF
43970 #define wxUSE_FILEPICKERCTRL 1
43971 _ACEOF
43972
43973 USES_CONTROLS=1
43974 fi
43975
43976 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
43977 cat >>confdefs.h <<\_ACEOF
43978 #define wxUSE_FONTPICKERCTRL 1
43979 _ACEOF
43980
43981 USES_CONTROLS=1
43982 fi
43983
43984 if test "$wxUSE_DISPLAY" = "yes"; then
43985 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
43986 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
43987 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
43988 wxUSE_DISPLAY=no
43989 else
43990 cat >>confdefs.h <<\_ACEOF
43991 #define wxUSE_DISPLAY 1
43992 _ACEOF
43993
43994 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
43995 fi
43996 fi
43997
43998 if test "$wxUSE_DETECT_SM" = "yes"; then
43999 cat >>confdefs.h <<\_ACEOF
44000 #define wxUSE_DETECT_SM 1
44001 _ACEOF
44002
44003 fi
44004
44005 if test "$wxUSE_GAUGE" = "yes"; then
44006 cat >>confdefs.h <<\_ACEOF
44007 #define wxUSE_GAUGE 1
44008 _ACEOF
44009
44010 USES_CONTROLS=1
44011 fi
44012
44013 if test "$wxUSE_GRID" = "yes"; then
44014 cat >>confdefs.h <<\_ACEOF
44015 #define wxUSE_GRID 1
44016 _ACEOF
44017
44018 USES_CONTROLS=1
44019 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44020 fi
44021
44022 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44023 cat >>confdefs.h <<\_ACEOF
44024 #define wxUSE_HYPERLINKCTRL 1
44025 _ACEOF
44026
44027 USES_CONTROLS=1
44028 fi
44029
44030 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44031 cat >>confdefs.h <<\_ACEOF
44032 #define wxUSE_BITMAPCOMBOBOX 1
44033 _ACEOF
44034
44035 USES_CONTROLS=1
44036 fi
44037
44038 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44039 cat >>confdefs.h <<\_ACEOF
44040 #define wxUSE_DATAVIEWCTRL 1
44041 _ACEOF
44042
44043 USES_CONTROLS=1
44044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44045 fi
44046
44047 if test "$wxUSE_IMAGLIST" = "yes"; then
44048 cat >>confdefs.h <<\_ACEOF
44049 #define wxUSE_IMAGLIST 1
44050 _ACEOF
44051
44052 fi
44053
44054 if test "$wxUSE_LISTBOOK" = "yes"; then
44055 cat >>confdefs.h <<\_ACEOF
44056 #define wxUSE_LISTBOOK 1
44057 _ACEOF
44058
44059 USES_CONTROLS=1
44060 fi
44061
44062 if test "$wxUSE_LISTBOX" = "yes"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_LISTBOX 1
44065 _ACEOF
44066
44067 USES_CONTROLS=1
44068 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44069 fi
44070
44071 if test "$wxUSE_LISTCTRL" = "yes"; then
44072 if test "$wxUSE_IMAGLIST" = "yes"; then
44073 cat >>confdefs.h <<\_ACEOF
44074 #define wxUSE_LISTCTRL 1
44075 _ACEOF
44076
44077 USES_CONTROLS=1
44078 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44079 else
44080 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44081 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44082 fi
44083 fi
44084
44085 if test "$wxUSE_NOTEBOOK" = "yes"; then
44086 cat >>confdefs.h <<\_ACEOF
44087 #define wxUSE_NOTEBOOK 1
44088 _ACEOF
44089
44090 USES_CONTROLS=1
44091 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44092 fi
44093
44094 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44095 cat >>confdefs.h <<\_ACEOF
44096 #define wxUSE_ODCOMBOBOX 1
44097 _ACEOF
44098
44099 USES_CONTROLS=1
44100 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44101 fi
44102
44103
44104 if test "$wxUSE_RADIOBOX" = "yes"; then
44105 cat >>confdefs.h <<\_ACEOF
44106 #define wxUSE_RADIOBOX 1
44107 _ACEOF
44108
44109 USES_CONTROLS=1
44110 fi
44111
44112 if test "$wxUSE_RADIOBTN" = "yes"; then
44113 cat >>confdefs.h <<\_ACEOF
44114 #define wxUSE_RADIOBTN 1
44115 _ACEOF
44116
44117 USES_CONTROLS=1
44118 fi
44119
44120 if test "$wxUSE_SASH" = "yes"; then
44121 cat >>confdefs.h <<\_ACEOF
44122 #define wxUSE_SASH 1
44123 _ACEOF
44124
44125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44126 fi
44127
44128 if test "$wxUSE_SCROLLBAR" = "yes"; then
44129 cat >>confdefs.h <<\_ACEOF
44130 #define wxUSE_SCROLLBAR 1
44131 _ACEOF
44132
44133 USES_CONTROLS=1
44134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44135 fi
44136
44137 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44138 cat >>confdefs.h <<\_ACEOF
44139 #define wxUSE_SEARCHCTRL 1
44140 _ACEOF
44141
44142 USES_CONTROLS=1
44143 fi
44144
44145 if test "$wxUSE_SLIDER" = "yes"; then
44146 cat >>confdefs.h <<\_ACEOF
44147 #define wxUSE_SLIDER 1
44148 _ACEOF
44149
44150 USES_CONTROLS=1
44151 fi
44152
44153 if test "$wxUSE_SPINBTN" = "yes"; then
44154 cat >>confdefs.h <<\_ACEOF
44155 #define wxUSE_SPINBTN 1
44156 _ACEOF
44157
44158 USES_CONTROLS=1
44159 fi
44160
44161 if test "$wxUSE_SPINCTRL" = "yes"; then
44162 cat >>confdefs.h <<\_ACEOF
44163 #define wxUSE_SPINCTRL 1
44164 _ACEOF
44165
44166 USES_CONTROLS=1
44167 fi
44168
44169 if test "$wxUSE_SPLITTER" = "yes"; then
44170 cat >>confdefs.h <<\_ACEOF
44171 #define wxUSE_SPLITTER 1
44172 _ACEOF
44173
44174 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44175 fi
44176
44177 if test "$wxUSE_STATBMP" = "yes"; then
44178 cat >>confdefs.h <<\_ACEOF
44179 #define wxUSE_STATBMP 1
44180 _ACEOF
44181
44182 USES_CONTROLS=1
44183 fi
44184
44185 if test "$wxUSE_STATBOX" = "yes"; then
44186 cat >>confdefs.h <<\_ACEOF
44187 #define wxUSE_STATBOX 1
44188 _ACEOF
44189
44190 USES_CONTROLS=1
44191 fi
44192
44193 if test "$wxUSE_STATTEXT" = "yes"; then
44194 cat >>confdefs.h <<\_ACEOF
44195 #define wxUSE_STATTEXT 1
44196 _ACEOF
44197
44198 USES_CONTROLS=1
44199 fi
44200
44201 if test "$wxUSE_STATLINE" = "yes"; then
44202 cat >>confdefs.h <<\_ACEOF
44203 #define wxUSE_STATLINE 1
44204 _ACEOF
44205
44206 USES_CONTROLS=1
44207 fi
44208
44209 if test "$wxUSE_STATUSBAR" = "yes"; then
44210 cat >>confdefs.h <<\_ACEOF
44211 #define wxUSE_NATIVE_STATUSBAR 1
44212 _ACEOF
44213
44214 cat >>confdefs.h <<\_ACEOF
44215 #define wxUSE_STATUSBAR 1
44216 _ACEOF
44217
44218 USES_CONTROLS=1
44219
44220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44221 fi
44222
44223 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44224 cat >>confdefs.h <<\_ACEOF
44225 #define wxUSE_TAB_DIALOG 1
44226 _ACEOF
44227
44228 fi
44229
44230 if test "$wxUSE_TEXTCTRL" = "yes"; then
44231 cat >>confdefs.h <<\_ACEOF
44232 #define wxUSE_TEXTCTRL 1
44233 _ACEOF
44234
44235 USES_CONTROLS=1
44236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44237 fi
44238
44239 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44240 if test "$wxUSE_COCOA" = 1 ; then
44241 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44242 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44243 wxUSE_TOGGLEBTN=no
44244 fi
44245
44246 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44247 cat >>confdefs.h <<\_ACEOF
44248 #define wxUSE_TOGGLEBTN 1
44249 _ACEOF
44250
44251 USES_CONTROLS=1
44252 fi
44253 fi
44254
44255 if test "$wxUSE_TOOLBAR" = "yes"; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_TOOLBAR 1
44258 _ACEOF
44259
44260 USES_CONTROLS=1
44261
44262 if test "$wxUSE_UNIVERSAL" = "yes"; then
44263 wxUSE_TOOLBAR_NATIVE="no"
44264 else
44265 wxUSE_TOOLBAR_NATIVE="yes"
44266 cat >>confdefs.h <<\_ACEOF
44267 #define wxUSE_TOOLBAR_NATIVE 1
44268 _ACEOF
44269
44270 fi
44271
44272 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44273 fi
44274
44275 if test "$wxUSE_TOOLTIPS" = "yes"; then
44276 if test "$wxUSE_MOTIF" = 1; then
44277 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44278 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44279 else
44280 if test "$wxUSE_UNIVERSAL" = "yes"; then
44281 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44282 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44283 else
44284 cat >>confdefs.h <<\_ACEOF
44285 #define wxUSE_TOOLTIPS 1
44286 _ACEOF
44287
44288 fi
44289 fi
44290 fi
44291
44292 if test "$wxUSE_TREEBOOK" = "yes"; then
44293 cat >>confdefs.h <<\_ACEOF
44294 #define wxUSE_TREEBOOK 1
44295 _ACEOF
44296
44297 USES_CONTROLS=1
44298 fi
44299
44300 if test "$wxUSE_TOOLBOOK" = "yes"; then
44301 cat >>confdefs.h <<\_ACEOF
44302 #define wxUSE_TOOLBOOK 1
44303 _ACEOF
44304
44305 USES_CONTROLS=1
44306 fi
44307
44308 if test "$wxUSE_TREECTRL" = "yes"; then
44309 if test "$wxUSE_IMAGLIST" = "yes"; then
44310 cat >>confdefs.h <<\_ACEOF
44311 #define wxUSE_TREECTRL 1
44312 _ACEOF
44313
44314 USES_CONTROLS=1
44315 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44316 else
44317 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44318 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44319 fi
44320 fi
44321
44322 if test "$wxUSE_POPUPWIN" = "yes"; then
44323 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44324 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44325 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44326 else
44327 if test "$wxUSE_PM" = 1; then
44328 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44329 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44330 else
44331 cat >>confdefs.h <<\_ACEOF
44332 #define wxUSE_POPUPWIN 1
44333 _ACEOF
44334
44335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44336
44337 USES_CONTROLS=1
44338 fi
44339 fi
44340 fi
44341
44342 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44343 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44344 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44345 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44346 else
44347 cat >>confdefs.h <<\_ACEOF
44348 #define wxUSE_DIALUP_MANAGER 1
44349 _ACEOF
44350
44351 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44352 fi
44353 fi
44354
44355 if test "$wxUSE_TIPWINDOW" = "yes"; then
44356 if test "$wxUSE_PM" = 1; then
44357 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44358 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44359 else
44360 cat >>confdefs.h <<\_ACEOF
44361 #define wxUSE_TIPWINDOW 1
44362 _ACEOF
44363
44364 fi
44365 fi
44366
44367 if test "$USES_CONTROLS" = 1; then
44368 cat >>confdefs.h <<\_ACEOF
44369 #define wxUSE_CONTROLS 1
44370 _ACEOF
44371
44372 fi
44373
44374
44375 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44376 cat >>confdefs.h <<\_ACEOF
44377 #define wxUSE_ACCESSIBILITY 1
44378 _ACEOF
44379
44380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44381 fi
44382
44383 if test "$wxUSE_DC_CACHEING" = "yes"; then
44384 cat >>confdefs.h <<\_ACEOF
44385 #define wxUSE_DC_CACHEING 1
44386 _ACEOF
44387
44388 fi
44389
44390 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_DRAGIMAGE 1
44393 _ACEOF
44394
44395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44396 fi
44397
44398 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44399 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44400 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44401 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44402 else
44403 cat >>confdefs.h <<\_ACEOF
44404 #define wxUSE_EXCEPTIONS 1
44405 _ACEOF
44406
44407 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44408 fi
44409 fi
44410
44411 USE_HTML=0
44412 if test "$wxUSE_HTML" = "yes"; then
44413 cat >>confdefs.h <<\_ACEOF
44414 #define wxUSE_HTML 1
44415 _ACEOF
44416
44417 USE_HTML=1
44418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44419 if test "$wxUSE_MAC" = 1; then
44420 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44421 fi
44422 fi
44423 if test "$wxUSE_WEBKIT" = "yes"; then
44424 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44425 old_CPPFLAGS="$CPPFLAGS"
44426 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44427 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44428 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44429 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44430 echo $ECHO_N "(cached) $ECHO_C" >&6
44431 else
44432 cat >conftest.$ac_ext <<_ACEOF
44433 /* confdefs.h. */
44434 _ACEOF
44435 cat confdefs.h >>conftest.$ac_ext
44436 cat >>conftest.$ac_ext <<_ACEOF
44437 /* end confdefs.h. */
44438
44439 #include <Carbon/Carbon.h>
44440 #include <WebKit/WebKit.h>
44441
44442
44443 #include <WebKit/HIWebView.h>
44444 _ACEOF
44445 rm -f conftest.$ac_objext
44446 if { (ac_try="$ac_compile"
44447 case "(($ac_try" in
44448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44449 *) ac_try_echo=$ac_try;;
44450 esac
44451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44452 (eval "$ac_compile") 2>conftest.er1
44453 ac_status=$?
44454 grep -v '^ *+' conftest.er1 >conftest.err
44455 rm -f conftest.er1
44456 cat conftest.err >&5
44457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44458 (exit $ac_status); } && {
44459 test -z "$ac_c_werror_flag" ||
44460 test ! -s conftest.err
44461 } && test -s conftest.$ac_objext; then
44462 ac_cv_header_WebKit_HIWebView_h=yes
44463 else
44464 echo "$as_me: failed program was:" >&5
44465 sed 's/^/| /' conftest.$ac_ext >&5
44466
44467 ac_cv_header_WebKit_HIWebView_h=no
44468 fi
44469
44470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44471 fi
44472 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44473 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44474 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44475
44476 cat >>confdefs.h <<\_ACEOF
44477 #define wxUSE_WEBKIT 1
44478 _ACEOF
44479
44480 WEBKIT_LINK="-framework WebKit"
44481
44482 else
44483
44484 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44485 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44486 wxUSE_WEBKIT=no
44487
44488 fi
44489
44490
44491 CPPFLAGS="$old_CPPFLAGS"
44492 elif test "$wxUSE_COCOA" = 1; then
44493 cat >>confdefs.h <<\_ACEOF
44494 #define wxUSE_WEBKIT 1
44495 _ACEOF
44496
44497 else
44498 wxUSE_WEBKIT=no
44499 fi
44500 fi
44501
44502 USE_XRC=0
44503 if test "$wxUSE_XRC" = "yes"; then
44504 if test "$wxUSE_XML" != "yes"; then
44505 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44506 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44507 wxUSE_XRC=no
44508 else
44509 cat >>confdefs.h <<\_ACEOF
44510 #define wxUSE_XRC 1
44511 _ACEOF
44512
44513 USE_XRC=1
44514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44515 fi
44516 fi
44517
44518 USE_AUI=0
44519 if test "$wxUSE_AUI" = "yes"; then
44520 cat >>confdefs.h <<\_ACEOF
44521 #define wxUSE_AUI 1
44522 _ACEOF
44523
44524 USE_AUI=1
44525 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44526 fi
44527
44528 USE_STC=0
44529 if test "$wxUSE_STC" = "yes"; then
44530 cat >>confdefs.h <<\_ACEOF
44531 #define wxUSE_STC 1
44532 _ACEOF
44533
44534 USE_STC=1
44535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44536 fi
44537
44538 if test "$wxUSE_MENUS" = "yes"; then
44539 cat >>confdefs.h <<\_ACEOF
44540 #define wxUSE_MENUS 1
44541 _ACEOF
44542
44543 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44544 fi
44545
44546 if test "$wxUSE_METAFILE" = "yes"; then
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_METAFILE 1
44549 _ACEOF
44550
44551 fi
44552
44553 if test "$wxUSE_MIMETYPE" = "yes"; then
44554 cat >>confdefs.h <<\_ACEOF
44555 #define wxUSE_MIMETYPE 1
44556 _ACEOF
44557
44558 fi
44559
44560 if test "$wxUSE_MINIFRAME" = "yes"; then
44561 cat >>confdefs.h <<\_ACEOF
44562 #define wxUSE_MINIFRAME 1
44563 _ACEOF
44564
44565 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44566 fi
44567
44568 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44569 cat >>confdefs.h <<\_ACEOF
44570 #define wxUSE_SYSTEM_OPTIONS 1
44571 _ACEOF
44572
44573 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44574 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44576 fi
44577 fi
44578
44579
44580 if test "$wxUSE_VALIDATORS" = "yes"; then
44581 cat >>confdefs.h <<\_ACEOF
44582 #define wxUSE_VALIDATORS 1
44583 _ACEOF
44584
44585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44586 fi
44587
44588 if test "$wxUSE_PALETTE" = "yes" ; then
44589 if test "$wxUSE_DFB" = 1; then
44590 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44591 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44592 wxUSE_PALETTE=no
44593 else
44594 cat >>confdefs.h <<\_ACEOF
44595 #define wxUSE_PALETTE 1
44596 _ACEOF
44597
44598 fi
44599 fi
44600
44601 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44602 LIBS=" -lunicows $LIBS"
44603 fi
44604
44605 USE_RICHTEXT=0
44606 if test "$wxUSE_RICHTEXT" = "yes"; then
44607 cat >>confdefs.h <<\_ACEOF
44608 #define wxUSE_RICHTEXT 1
44609 _ACEOF
44610
44611 USE_RICHTEXT=1
44612 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44613 fi
44614
44615
44616 if test "$wxUSE_IMAGE" = "yes" ; then
44617 cat >>confdefs.h <<\_ACEOF
44618 #define wxUSE_IMAGE 1
44619 _ACEOF
44620
44621
44622 if test "$wxUSE_GIF" = "yes" ; then
44623 cat >>confdefs.h <<\_ACEOF
44624 #define wxUSE_GIF 1
44625 _ACEOF
44626
44627 fi
44628
44629 if test "$wxUSE_PCX" = "yes" ; then
44630 cat >>confdefs.h <<\_ACEOF
44631 #define wxUSE_PCX 1
44632 _ACEOF
44633
44634 fi
44635
44636 if test "$wxUSE_TGA" = "yes" ; then
44637 cat >>confdefs.h <<\_ACEOF
44638 #define wxUSE_TGA 1
44639 _ACEOF
44640
44641 fi
44642
44643 if test "$wxUSE_IFF" = "yes" ; then
44644 cat >>confdefs.h <<\_ACEOF
44645 #define wxUSE_IFF 1
44646 _ACEOF
44647
44648 fi
44649
44650 if test "$wxUSE_PNM" = "yes" ; then
44651 cat >>confdefs.h <<\_ACEOF
44652 #define wxUSE_PNM 1
44653 _ACEOF
44654
44655 fi
44656
44657 if test "$wxUSE_XPM" = "yes" ; then
44658 cat >>confdefs.h <<\_ACEOF
44659 #define wxUSE_XPM 1
44660 _ACEOF
44661
44662 fi
44663
44664 if test "$wxUSE_ICO_CUR" = "yes" ; then
44665 cat >>confdefs.h <<\_ACEOF
44666 #define wxUSE_ICO_CUR 1
44667 _ACEOF
44668
44669 fi
44670 fi
44671
44672
44673 if test "$wxUSE_ABOUTDLG" = "yes"; then
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_ABOUTDLG 1
44676 _ACEOF
44677
44678 fi
44679
44680 if test "$wxUSE_CHOICEDLG" = "yes"; then
44681 cat >>confdefs.h <<\_ACEOF
44682 #define wxUSE_CHOICEDLG 1
44683 _ACEOF
44684
44685 fi
44686
44687 if test "$wxUSE_COLOURDLG" = "yes"; then
44688 cat >>confdefs.h <<\_ACEOF
44689 #define wxUSE_COLOURDLG 1
44690 _ACEOF
44691
44692 fi
44693
44694 if test "$wxUSE_FILEDLG" = "yes"; then
44695 cat >>confdefs.h <<\_ACEOF
44696 #define wxUSE_FILEDLG 1
44697 _ACEOF
44698
44699 fi
44700
44701 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44702 cat >>confdefs.h <<\_ACEOF
44703 #define wxUSE_FINDREPLDLG 1
44704 _ACEOF
44705
44706 fi
44707
44708 if test "$wxUSE_FONTDLG" = "yes"; then
44709 cat >>confdefs.h <<\_ACEOF
44710 #define wxUSE_FONTDLG 1
44711 _ACEOF
44712
44713 fi
44714
44715 if test "$wxUSE_DIRDLG" = "yes"; then
44716 if test "$wxUSE_TREECTRL" != "yes"; then
44717 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44718 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44719 else
44720 cat >>confdefs.h <<\_ACEOF
44721 #define wxUSE_DIRDLG 1
44722 _ACEOF
44723
44724 fi
44725 fi
44726
44727 if test "$wxUSE_MSGDLG" = "yes"; then
44728 cat >>confdefs.h <<\_ACEOF
44729 #define wxUSE_MSGDLG 1
44730 _ACEOF
44731
44732 fi
44733
44734 if test "$wxUSE_NUMBERDLG" = "yes"; then
44735 cat >>confdefs.h <<\_ACEOF
44736 #define wxUSE_NUMBERDLG 1
44737 _ACEOF
44738
44739 fi
44740
44741 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44742 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44743 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44744 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44745 else
44746 cat >>confdefs.h <<\_ACEOF
44747 #define wxUSE_PROGRESSDLG 1
44748 _ACEOF
44749
44750 fi
44751 fi
44752
44753 if test "$wxUSE_SPLASH" = "yes"; then
44754 cat >>confdefs.h <<\_ACEOF
44755 #define wxUSE_SPLASH 1
44756 _ACEOF
44757
44758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44759 fi
44760
44761 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44762 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44763 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44764 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44765 else
44766 cat >>confdefs.h <<\_ACEOF
44767 #define wxUSE_STARTUP_TIPS 1
44768 _ACEOF
44769
44770 fi
44771 fi
44772
44773 if test "$wxUSE_TEXTDLG" = "yes"; then
44774 cat >>confdefs.h <<\_ACEOF
44775 #define wxUSE_TEXTDLG 1
44776 _ACEOF
44777
44778 fi
44779
44780 if test "$wxUSE_WIZARDDLG" = "yes"; then
44781 cat >>confdefs.h <<\_ACEOF
44782 #define wxUSE_WIZARDDLG 1
44783 _ACEOF
44784
44785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44786 fi
44787
44788
44789 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44790 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44791 cat >>confdefs.h <<\_ACEOF
44792 #define wxUSE_GRAPHICS_CONTEXT 1
44793 _ACEOF
44794
44795 elif test "$wxUSE_GTK" != 1; then
44796 cat >>confdefs.h <<\_ACEOF
44797 #define wxUSE_GRAPHICS_CONTEXT 1
44798 _ACEOF
44799
44800 else
44801
44802 pkg_failed=no
44803 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44804 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44805
44806 if test -n "$PKG_CONFIG"; then
44807 if test -n "$CAIRO_CFLAGS"; then
44808 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44809 else
44810 if test -n "$PKG_CONFIG" && \
44811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44812 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44813 ac_status=$?
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); }; then
44816 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44817 else
44818 pkg_failed=yes
44819 fi
44820 fi
44821 else
44822 pkg_failed=untried
44823 fi
44824 if test -n "$PKG_CONFIG"; then
44825 if test -n "$CAIRO_LIBS"; then
44826 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44827 else
44828 if test -n "$PKG_CONFIG" && \
44829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44830 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44831 ac_status=$?
44832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44833 (exit $ac_status); }; then
44834 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44835 else
44836 pkg_failed=yes
44837 fi
44838 fi
44839 else
44840 pkg_failed=untried
44841 fi
44842
44843
44844
44845 if test $pkg_failed = yes; then
44846
44847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44848 _pkg_short_errors_supported=yes
44849 else
44850 _pkg_short_errors_supported=no
44851 fi
44852 if test $_pkg_short_errors_supported = yes; then
44853 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44854 else
44855 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44856 fi
44857 # Put the nasty error message in config.log where it belongs
44858 echo "$CAIRO_PKG_ERRORS" >&5
44859
44860 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44861 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44862
44863 elif test $pkg_failed = untried; then
44864 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44865 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44866
44867 else
44868 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
44869 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
44870 { echo "$as_me:$LINENO: result: yes" >&5
44871 echo "${ECHO_T}yes" >&6; }
44872 cat >>confdefs.h <<\_ACEOF
44873 #define wxUSE_GRAPHICS_CONTEXT 1
44874 _ACEOF
44875
44876 fi
44877 fi
44878 fi
44879
44880
44881 USE_MEDIA=0
44882
44883 if test "$wxUSE_MEDIACTRL" = "yes"; then
44884 USE_MEDIA=1
44885
44886 if test "$wxUSE_GTK" = 1; then
44887 wxUSE_GSTREAMER="no"
44888
44889 GST_VERSION_MAJOR=0
44890 GST_VERSION_MINOR=10
44891 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44892
44893 if test "$wxUSE_GSTREAMER8" = "no"; then
44894
44895 pkg_failed=no
44896 { echo "$as_me:$LINENO: checking for GST" >&5
44897 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44898
44899 if test -n "$PKG_CONFIG"; then
44900 if test -n "$GST_CFLAGS"; then
44901 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44902 else
44903 if test -n "$PKG_CONFIG" && \
44904 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44905 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44906 ac_status=$?
44907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44908 (exit $ac_status); }; then
44909 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44910 else
44911 pkg_failed=yes
44912 fi
44913 fi
44914 else
44915 pkg_failed=untried
44916 fi
44917 if test -n "$PKG_CONFIG"; then
44918 if test -n "$GST_LIBS"; then
44919 pkg_cv_GST_LIBS="$GST_LIBS"
44920 else
44921 if test -n "$PKG_CONFIG" && \
44922 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44923 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44924 ac_status=$?
44925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926 (exit $ac_status); }; then
44927 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44928 else
44929 pkg_failed=yes
44930 fi
44931 fi
44932 else
44933 pkg_failed=untried
44934 fi
44935
44936
44937
44938 if test $pkg_failed = yes; then
44939
44940 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44941 _pkg_short_errors_supported=yes
44942 else
44943 _pkg_short_errors_supported=no
44944 fi
44945 if test $_pkg_short_errors_supported = yes; then
44946 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44947 else
44948 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44949 fi
44950 # Put the nasty error message in config.log where it belongs
44951 echo "$GST_PKG_ERRORS" >&5
44952
44953
44954 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44955 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44956 GST_VERSION_MINOR=8
44957
44958
44959 elif test $pkg_failed = untried; then
44960
44961 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44962 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44963 GST_VERSION_MINOR=8
44964
44965
44966 else
44967 GST_CFLAGS=$pkg_cv_GST_CFLAGS
44968 GST_LIBS=$pkg_cv_GST_LIBS
44969 { echo "$as_me:$LINENO: result: yes" >&5
44970 echo "${ECHO_T}yes" >&6; }
44971
44972 wxUSE_GSTREAMER="yes"
44973 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
44974
44975 fi
44976 else
44977 GST_VERSION_MINOR=8
44978 fi
44979
44980 if test $GST_VERSION_MINOR = "8"; then
44981 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44982
44983 pkg_failed=no
44984 { echo "$as_me:$LINENO: checking for GST" >&5
44985 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44986
44987 if test -n "$PKG_CONFIG"; then
44988 if test -n "$GST_CFLAGS"; then
44989 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44990 else
44991 if test -n "$PKG_CONFIG" && \
44992 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
44993 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
44994 ac_status=$?
44995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44996 (exit $ac_status); }; then
44997 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
44998 else
44999 pkg_failed=yes
45000 fi
45001 fi
45002 else
45003 pkg_failed=untried
45004 fi
45005 if test -n "$PKG_CONFIG"; then
45006 if test -n "$GST_LIBS"; then
45007 pkg_cv_GST_LIBS="$GST_LIBS"
45008 else
45009 if test -n "$PKG_CONFIG" && \
45010 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45011 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45012 ac_status=$?
45013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45014 (exit $ac_status); }; then
45015 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45016 else
45017 pkg_failed=yes
45018 fi
45019 fi
45020 else
45021 pkg_failed=untried
45022 fi
45023
45024
45025
45026 if test $pkg_failed = yes; then
45027
45028 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45029 _pkg_short_errors_supported=yes
45030 else
45031 _pkg_short_errors_supported=no
45032 fi
45033 if test $_pkg_short_errors_supported = yes; then
45034 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45035 else
45036 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45037 fi
45038 # Put the nasty error message in config.log where it belongs
45039 echo "$GST_PKG_ERRORS" >&5
45040
45041
45042 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45043 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45044
45045 elif test $pkg_failed = untried; then
45046
45047 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45048 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45049
45050 else
45051 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45052 GST_LIBS=$pkg_cv_GST_LIBS
45053 { echo "$as_me:$LINENO: result: yes" >&5
45054 echo "${ECHO_T}yes" >&6; }
45055 wxUSE_GSTREAMER="yes"
45056 fi
45057 fi
45058
45059
45060 if test "$wxUSE_GSTREAMER" = "yes"; then
45061 case "${host}" in
45062 *-*-solaris2* )
45063 if "$GCC" = yes; then
45064 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45065 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45066 fi
45067 esac
45068
45069 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45070 LIBS="$GST_LIBS $LIBS"
45071
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_GSTREAMER 1
45074 _ACEOF
45075
45076 else
45077 USE_MEDIA=0
45078 fi
45079 fi
45080
45081 if test $USE_MEDIA = 1; then
45082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45083 cat >>confdefs.h <<\_ACEOF
45084 #define wxUSE_MEDIACTRL 1
45085 _ACEOF
45086
45087 fi
45088 fi
45089
45090
45091 if test "$cross_compiling" = "yes"; then
45092 OSINFO="\"$host\""
45093 else
45094 OSINFO=`uname -s -r -m`
45095 OSINFO="\"$OSINFO\""
45096 fi
45097
45098 cat >>confdefs.h <<_ACEOF
45099 #define WXWIN_OS_DESCRIPTION $OSINFO
45100 _ACEOF
45101
45102
45103
45104 if test "x$prefix" != "xNONE"; then
45105 wxPREFIX=$prefix
45106 else
45107 wxPREFIX=$ac_default_prefix
45108 fi
45109
45110 cat >>confdefs.h <<_ACEOF
45111 #define wxINSTALL_PREFIX "$wxPREFIX"
45112 _ACEOF
45113
45114
45115
45116
45117 CORE_BASE_LIBS="net base"
45118 CORE_GUI_LIBS="adv core"
45119
45120 if test "$wxUSE_XML" = "yes" ; then
45121 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45122 fi
45123 if test "$wxUSE_ODBC" != "no" ; then
45124 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45125 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45126 fi
45127 if test "$wxUSE_HTML" = "yes" ; then
45128 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45129 fi
45130 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45131 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45132 fi
45133 if test "$wxUSE_XRC" = "yes" ; then
45134 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45135 fi
45136 if test "$wxUSE_AUI" = "yes" ; then
45137 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45138 fi
45139 if test "$wxUSE_STC" = "yes" ; then
45140 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45141 fi
45142
45143 if test "$wxUSE_GUI" != "yes"; then
45144 CORE_GUI_LIBS=""
45145 fi
45146
45147
45148
45149
45150
45151
45152 if test "$wxUSE_MAC" = 1 ; then
45153 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45154 if test "$USE_DARWIN" = 1; then
45155 LDFLAGS="$LDFLAGS -framework QuickTime"
45156 else
45157 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45158 fi
45159 fi
45160 if test "$USE_DARWIN" = 1; then
45161 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45162 else
45163 LDFLAGS="$LDFLAGS -lCarbonLib"
45164 fi
45165 fi
45166 if test "$wxUSE_COCOA" = 1 ; then
45167 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45168 if test "$wxUSE_MEDIACTRL" = "yes"; then
45169 LDFLAGS="$LDFLAGS -framework QuickTime"
45170 fi
45171 fi
45172 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45173 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45174 fi
45175
45176 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45177
45178 if test "$wxUSE_GUI" = "yes"; then
45179
45180
45181 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45182 dynamic erase event exec font image minimal mobile \
45183 mobile/wxedit mobile/styles propsize render \
45184 rotate shaped svg taborder vscroll widgets"
45185
45186 if test "$wxUSE_MONOLITHIC" != "yes"; then
45187 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45188 fi
45189 if test "$TOOLKIT" = "MSW"; then
45190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45191 if test "$wxUSE_UNIVERSAL" != "yes"; then
45192 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45193 fi
45194 fi
45195 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45197 fi
45198 else
45199 SAMPLES_SUBDIRS="console"
45200 fi
45201
45202
45203 if test "x$INTELCC" = "xyes" ; then
45204 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45205 elif test "$GCC" = yes ; then
45206 CWARNINGS="-Wall -Wundef"
45207 fi
45208
45209 if test "x$INTELCXX" = "xyes" ; then
45210 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45211 elif test "$GXX" = yes ; then
45212 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45213 fi
45214
45215
45216 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45217 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45218
45219
45220 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45221 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45222 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45223 $CPPFLAGS `
45224
45225 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45226 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45227 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45228
45229 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45230
45231
45232 if test "x$MWCC" = "xyes"; then
45233
45234 CC="$CC -cwd source -I-"
45235 CXX="$CXX -cwd source -I-"
45236 fi
45237
45238
45239 LIBS=`echo $LIBS`
45240 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45241 EXTRALIBS_XML="$EXPAT_LINK"
45242 EXTRALIBS_HTML="$MSPACK_LINK"
45243 EXTRALIBS_ODBC="$ODBC_LINK"
45244 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45245 if test "$wxUSE_GUI" = "yes"; then
45246 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45247 fi
45248 if test "$wxUSE_OPENGL" = "yes"; then
45249 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45250 fi
45251
45252 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45253
45254 WXCONFIG_LIBS="$LIBS"
45255
45256 if test "$wxUSE_REGEX" = "builtin" ; then
45257 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45258 fi
45259 if test "$wxUSE_EXPAT" = "builtin" ; then
45260 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45261 fi
45262 if test "$wxUSE_ODBC" = "builtin" ; then
45263 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45264 fi
45265 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45266 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45267 fi
45268 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45269 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45270 fi
45271 if test "$wxUSE_LIBPNG" = "builtin" ; then
45272 wxconfig_3rdparty="png $wxconfig_3rdparty"
45273 fi
45274 if test "$wxUSE_ZLIB" = "builtin" ; then
45275 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45276 fi
45277
45278 for i in $wxconfig_3rdparty ; do
45279 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45280 done
45281
45282
45283 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45284 WXUNIV=1
45285
45286 case "$wxUNIV_THEMES" in
45287 ''|all)
45288 cat >>confdefs.h <<\_ACEOF
45289 #define wxUSE_ALL_THEMES 1
45290 _ACEOF
45291
45292 ;;
45293
45294 *)
45295 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45296 cat >>confdefs.h <<_ACEOF
45297 #define wxUSE_THEME_$t 1
45298 _ACEOF
45299
45300 done
45301 esac
45302 else
45303 WXUNIV=0
45304 fi
45305
45306
45307
45308
45309
45310
45311
45312
45313
45314 if test $wxUSE_MONOLITHIC = "yes" ; then
45315 MONOLITHIC=1
45316 else
45317 MONOLITHIC=0
45318 fi
45319
45320 if test $wxUSE_PLUGINS = "yes" ; then
45321 USE_PLUGINS=1
45322 else
45323 USE_PLUGINS=0
45324 fi
45325
45326 if test $wxUSE_ODBC != "no" ; then
45327 USE_ODBC=1
45328 else
45329 USE_ODBC=0
45330 fi
45331
45332 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45333 USE_QA=1
45334 else
45335 USE_QA=0
45336 fi
45337
45338 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45339 OFFICIAL_BUILD=1
45340 else
45341 OFFICIAL_BUILD=0
45342 fi
45343
45344
45345
45346
45347
45348
45349
45350
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360
45361
45362
45363
45364
45365
45366
45367
45368 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45369
45370
45371
45372
45373
45374
45375
45376
45377 case "$TOOLKIT" in
45378 GTK)
45379 TOOLKIT_DESC="GTK+"
45380 if test "$WXGTK20" = 1; then
45381 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45382 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45383 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45384 fi
45385 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45386 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45387 fi
45388 if test "$wxUSE_LIBHILDON" = "yes"; then
45389 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45390 fi
45391
45392 if test "$TOOLKIT_EXTRA" != ""; then
45393 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45394 fi
45395 fi
45396 ;;
45397
45398 ?*)
45399 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45400 ;;
45401
45402 *)
45403 TOOLKIT_DESC="base only"
45404 ;;
45405 esac
45406
45407 if test "$wxUSE_WINE" = "yes"; then
45408 BAKEFILE_FORCE_PLATFORM=win32
45409 fi
45410
45411 if test "$wxUSE_MAC" = 1 ; then
45412 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45413 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45414 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45415 else
45416 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45417 fi
45418 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45419 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45420 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45421 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45422 bk_use_pch=no
45423 fi
45424 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45425 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45426 fi
45427
45428 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45429 then
45430 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45431 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45432 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45433 echo $ECHO_N "(cached) $ECHO_C" >&6
45434 else
45435
45436 echo '#include <stdio.h>
45437 const wchar_t test_var[] = L"awidetest";' > conftest.h
45438
45439 echo '#include "conftest.h"
45440 int main()
45441 {
45442 printf("%ls", test_var);
45443 return 0;
45444 }' > conftest.cpp
45445
45446 wx_cv_gcc_pch_bug="pch not supported"
45447
45448 if $CXX conftest.h >/dev/null 2>&1
45449 then
45450 wx_cv_gcc_pch_bug=
45451
45452 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45453 then
45454 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45455 grep awidetest >/dev/null
45456 then
45457 wx_cv_gcc_pch_bug=no
45458 else
45459 wx_cv_gcc_pch_bug=yes
45460 fi
45461 fi
45462 fi
45463
45464 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45465
45466 fi
45467 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45468 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45469
45470 if test "$wx_cv_gcc_pch_bug" = yes; then
45471 bk_use_pch=no
45472 fi
45473 fi
45474
45475
45476
45477
45478 if test "x$BAKEFILE_HOST" = "x"; then
45479 if test "x${host}" = "x" ; then
45480 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45481 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45482 { (exit 1); exit 1; }; }
45483 fi
45484
45485 BAKEFILE_HOST="${host}"
45486 fi
45487
45488 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45489
45490 if test -n "$ac_tool_prefix"; then
45491 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45492 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45495 if test "${ac_cv_prog_RANLIB+set}" = set; then
45496 echo $ECHO_N "(cached) $ECHO_C" >&6
45497 else
45498 if test -n "$RANLIB"; then
45499 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45500 else
45501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45502 for as_dir in $PATH
45503 do
45504 IFS=$as_save_IFS
45505 test -z "$as_dir" && as_dir=.
45506 for ac_exec_ext in '' $ac_executable_extensions; do
45507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45508 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45510 break 2
45511 fi
45512 done
45513 done
45514 IFS=$as_save_IFS
45515
45516 fi
45517 fi
45518 RANLIB=$ac_cv_prog_RANLIB
45519 if test -n "$RANLIB"; then
45520 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45521 echo "${ECHO_T}$RANLIB" >&6; }
45522 else
45523 { echo "$as_me:$LINENO: result: no" >&5
45524 echo "${ECHO_T}no" >&6; }
45525 fi
45526
45527
45528 fi
45529 if test -z "$ac_cv_prog_RANLIB"; then
45530 ac_ct_RANLIB=$RANLIB
45531 # Extract the first word of "ranlib", so it can be a program name with args.
45532 set dummy ranlib; ac_word=$2
45533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45535 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45536 echo $ECHO_N "(cached) $ECHO_C" >&6
45537 else
45538 if test -n "$ac_ct_RANLIB"; then
45539 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45540 else
45541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45542 for as_dir in $PATH
45543 do
45544 IFS=$as_save_IFS
45545 test -z "$as_dir" && as_dir=.
45546 for ac_exec_ext in '' $ac_executable_extensions; do
45547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45548 ac_cv_prog_ac_ct_RANLIB="ranlib"
45549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45550 break 2
45551 fi
45552 done
45553 done
45554 IFS=$as_save_IFS
45555
45556 fi
45557 fi
45558 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45559 if test -n "$ac_ct_RANLIB"; then
45560 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45561 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45562 else
45563 { echo "$as_me:$LINENO: result: no" >&5
45564 echo "${ECHO_T}no" >&6; }
45565 fi
45566
45567 if test "x$ac_ct_RANLIB" = x; then
45568 RANLIB=":"
45569 else
45570 case $cross_compiling:$ac_tool_warned in
45571 yes:)
45572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45573 whose name does not start with the host triplet. If you think this
45574 configuration is useful to you, please write to autoconf@gnu.org." >&5
45575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45576 whose name does not start with the host triplet. If you think this
45577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45578 ac_tool_warned=yes ;;
45579 esac
45580 RANLIB=$ac_ct_RANLIB
45581 fi
45582 else
45583 RANLIB="$ac_cv_prog_RANLIB"
45584 fi
45585
45586 # Find a good install program. We prefer a C program (faster),
45587 # so one script is as good as another. But avoid the broken or
45588 # incompatible versions:
45589 # SysV /etc/install, /usr/sbin/install
45590 # SunOS /usr/etc/install
45591 # IRIX /sbin/install
45592 # AIX /bin/install
45593 # AmigaOS /C/install, which installs bootblocks on floppy discs
45594 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45595 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45596 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45597 # OS/2's system install, which has a completely different semantic
45598 # ./install, which can be erroneously created by make from ./install.sh.
45599 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45600 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45601 if test -z "$INSTALL"; then
45602 if test "${ac_cv_path_install+set}" = set; then
45603 echo $ECHO_N "(cached) $ECHO_C" >&6
45604 else
45605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45606 for as_dir in $PATH
45607 do
45608 IFS=$as_save_IFS
45609 test -z "$as_dir" && as_dir=.
45610 # Account for people who put trailing slashes in PATH elements.
45611 case $as_dir/ in
45612 ./ | .// | /cC/* | \
45613 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45614 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45615 /usr/ucb/* ) ;;
45616 *)
45617 # OSF1 and SCO ODT 3.0 have their own names for install.
45618 # Don't use installbsd from OSF since it installs stuff as root
45619 # by default.
45620 for ac_prog in ginstall scoinst install; do
45621 for ac_exec_ext in '' $ac_executable_extensions; do
45622 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45623 if test $ac_prog = install &&
45624 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45625 # AIX install. It has an incompatible calling convention.
45626 :
45627 elif test $ac_prog = install &&
45628 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45629 # program-specific install script used by HP pwplus--don't use.
45630 :
45631 else
45632 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45633 break 3
45634 fi
45635 fi
45636 done
45637 done
45638 ;;
45639 esac
45640 done
45641 IFS=$as_save_IFS
45642
45643
45644 fi
45645 if test "${ac_cv_path_install+set}" = set; then
45646 INSTALL=$ac_cv_path_install
45647 else
45648 # As a last resort, use the slow shell script. Don't cache a
45649 # value for INSTALL within a source directory, because that will
45650 # break other packages using the cache if that directory is
45651 # removed, or if the value is a relative name.
45652 INSTALL=$ac_install_sh
45653 fi
45654 fi
45655 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45656 echo "${ECHO_T}$INSTALL" >&6; }
45657
45658 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45659 # It thinks the first close brace ends the variable substitution.
45660 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45661
45662 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45663
45664 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45665
45666 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45667 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45668 LN_S=$as_ln_s
45669 if test "$LN_S" = "ln -s"; then
45670 { echo "$as_me:$LINENO: result: yes" >&5
45671 echo "${ECHO_T}yes" >&6; }
45672 else
45673 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45674 echo "${ECHO_T}no, using $LN_S" >&6; }
45675 fi
45676
45677
45678 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45680 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45681 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45682 echo $ECHO_N "(cached) $ECHO_C" >&6
45683 else
45684 cat >conftest.make <<\_ACEOF
45685 SHELL = /bin/sh
45686 all:
45687 @echo '@@@%%%=$(MAKE)=@@@%%%'
45688 _ACEOF
45689 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45690 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45691 *@@@%%%=?*=@@@%%%*)
45692 eval ac_cv_prog_make_${ac_make}_set=yes;;
45693 *)
45694 eval ac_cv_prog_make_${ac_make}_set=no;;
45695 esac
45696 rm -f conftest.make
45697 fi
45698 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45699 { echo "$as_me:$LINENO: result: yes" >&5
45700 echo "${ECHO_T}yes" >&6; }
45701 SET_MAKE=
45702 else
45703 { echo "$as_me:$LINENO: result: no" >&5
45704 echo "${ECHO_T}no" >&6; }
45705 SET_MAKE="MAKE=${MAKE-make}"
45706 fi
45707
45708
45709
45710 if test "x$SUNCXX" = "xyes"; then
45711 AR=$CXX
45712 AROPTIONS="-xar -o"
45713
45714 elif test "x$SGICC" = "xyes"; then
45715 AR=$CXX
45716 AROPTIONS="-ar -o"
45717
45718 else
45719 if test -n "$ac_tool_prefix"; then
45720 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45721 set dummy ${ac_tool_prefix}ar; ac_word=$2
45722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45724 if test "${ac_cv_prog_AR+set}" = set; then
45725 echo $ECHO_N "(cached) $ECHO_C" >&6
45726 else
45727 if test -n "$AR"; then
45728 ac_cv_prog_AR="$AR" # Let the user override the test.
45729 else
45730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45731 for as_dir in $PATH
45732 do
45733 IFS=$as_save_IFS
45734 test -z "$as_dir" && as_dir=.
45735 for ac_exec_ext in '' $ac_executable_extensions; do
45736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45737 ac_cv_prog_AR="${ac_tool_prefix}ar"
45738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45739 break 2
45740 fi
45741 done
45742 done
45743 IFS=$as_save_IFS
45744
45745 fi
45746 fi
45747 AR=$ac_cv_prog_AR
45748 if test -n "$AR"; then
45749 { echo "$as_me:$LINENO: result: $AR" >&5
45750 echo "${ECHO_T}$AR" >&6; }
45751 else
45752 { echo "$as_me:$LINENO: result: no" >&5
45753 echo "${ECHO_T}no" >&6; }
45754 fi
45755
45756
45757 fi
45758 if test -z "$ac_cv_prog_AR"; then
45759 ac_ct_AR=$AR
45760 # Extract the first word of "ar", so it can be a program name with args.
45761 set dummy ar; ac_word=$2
45762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45764 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45765 echo $ECHO_N "(cached) $ECHO_C" >&6
45766 else
45767 if test -n "$ac_ct_AR"; then
45768 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45769 else
45770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45771 for as_dir in $PATH
45772 do
45773 IFS=$as_save_IFS
45774 test -z "$as_dir" && as_dir=.
45775 for ac_exec_ext in '' $ac_executable_extensions; do
45776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45777 ac_cv_prog_ac_ct_AR="ar"
45778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45779 break 2
45780 fi
45781 done
45782 done
45783 IFS=$as_save_IFS
45784
45785 fi
45786 fi
45787 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45788 if test -n "$ac_ct_AR"; then
45789 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45790 echo "${ECHO_T}$ac_ct_AR" >&6; }
45791 else
45792 { echo "$as_me:$LINENO: result: no" >&5
45793 echo "${ECHO_T}no" >&6; }
45794 fi
45795
45796 if test "x$ac_ct_AR" = x; then
45797 AR="ar"
45798 else
45799 case $cross_compiling:$ac_tool_warned in
45800 yes:)
45801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45802 whose name does not start with the host triplet. If you think this
45803 configuration is useful to you, please write to autoconf@gnu.org." >&5
45804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45805 whose name does not start with the host triplet. If you think this
45806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45807 ac_tool_warned=yes ;;
45808 esac
45809 AR=$ac_ct_AR
45810 fi
45811 else
45812 AR="$ac_cv_prog_AR"
45813 fi
45814
45815 AROPTIONS=rcu
45816 fi
45817
45818
45819 if test -n "$ac_tool_prefix"; then
45820 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45821 set dummy ${ac_tool_prefix}strip; ac_word=$2
45822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45824 if test "${ac_cv_prog_STRIP+set}" = set; then
45825 echo $ECHO_N "(cached) $ECHO_C" >&6
45826 else
45827 if test -n "$STRIP"; then
45828 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45829 else
45830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45831 for as_dir in $PATH
45832 do
45833 IFS=$as_save_IFS
45834 test -z "$as_dir" && as_dir=.
45835 for ac_exec_ext in '' $ac_executable_extensions; do
45836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45837 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45839 break 2
45840 fi
45841 done
45842 done
45843 IFS=$as_save_IFS
45844
45845 fi
45846 fi
45847 STRIP=$ac_cv_prog_STRIP
45848 if test -n "$STRIP"; then
45849 { echo "$as_me:$LINENO: result: $STRIP" >&5
45850 echo "${ECHO_T}$STRIP" >&6; }
45851 else
45852 { echo "$as_me:$LINENO: result: no" >&5
45853 echo "${ECHO_T}no" >&6; }
45854 fi
45855
45856
45857 fi
45858 if test -z "$ac_cv_prog_STRIP"; then
45859 ac_ct_STRIP=$STRIP
45860 # Extract the first word of "strip", so it can be a program name with args.
45861 set dummy strip; ac_word=$2
45862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45864 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45866 else
45867 if test -n "$ac_ct_STRIP"; then
45868 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45869 else
45870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45871 for as_dir in $PATH
45872 do
45873 IFS=$as_save_IFS
45874 test -z "$as_dir" && as_dir=.
45875 for ac_exec_ext in '' $ac_executable_extensions; do
45876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45877 ac_cv_prog_ac_ct_STRIP="strip"
45878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45879 break 2
45880 fi
45881 done
45882 done
45883 IFS=$as_save_IFS
45884
45885 fi
45886 fi
45887 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45888 if test -n "$ac_ct_STRIP"; then
45889 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45890 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45891 else
45892 { echo "$as_me:$LINENO: result: no" >&5
45893 echo "${ECHO_T}no" >&6; }
45894 fi
45895
45896 if test "x$ac_ct_STRIP" = x; then
45897 STRIP=":"
45898 else
45899 case $cross_compiling:$ac_tool_warned in
45900 yes:)
45901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45902 whose name does not start with the host triplet. If you think this
45903 configuration is useful to you, please write to autoconf@gnu.org." >&5
45904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45905 whose name does not start with the host triplet. If you think this
45906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45907 ac_tool_warned=yes ;;
45908 esac
45909 STRIP=$ac_ct_STRIP
45910 fi
45911 else
45912 STRIP="$ac_cv_prog_STRIP"
45913 fi
45914
45915 if test -n "$ac_tool_prefix"; then
45916 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45917 set dummy ${ac_tool_prefix}nm; ac_word=$2
45918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45920 if test "${ac_cv_prog_NM+set}" = set; then
45921 echo $ECHO_N "(cached) $ECHO_C" >&6
45922 else
45923 if test -n "$NM"; then
45924 ac_cv_prog_NM="$NM" # Let the user override the test.
45925 else
45926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45927 for as_dir in $PATH
45928 do
45929 IFS=$as_save_IFS
45930 test -z "$as_dir" && as_dir=.
45931 for ac_exec_ext in '' $ac_executable_extensions; do
45932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45933 ac_cv_prog_NM="${ac_tool_prefix}nm"
45934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45935 break 2
45936 fi
45937 done
45938 done
45939 IFS=$as_save_IFS
45940
45941 fi
45942 fi
45943 NM=$ac_cv_prog_NM
45944 if test -n "$NM"; then
45945 { echo "$as_me:$LINENO: result: $NM" >&5
45946 echo "${ECHO_T}$NM" >&6; }
45947 else
45948 { echo "$as_me:$LINENO: result: no" >&5
45949 echo "${ECHO_T}no" >&6; }
45950 fi
45951
45952
45953 fi
45954 if test -z "$ac_cv_prog_NM"; then
45955 ac_ct_NM=$NM
45956 # Extract the first word of "nm", so it can be a program name with args.
45957 set dummy nm; ac_word=$2
45958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45960 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45961 echo $ECHO_N "(cached) $ECHO_C" >&6
45962 else
45963 if test -n "$ac_ct_NM"; then
45964 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45965 else
45966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45967 for as_dir in $PATH
45968 do
45969 IFS=$as_save_IFS
45970 test -z "$as_dir" && as_dir=.
45971 for ac_exec_ext in '' $ac_executable_extensions; do
45972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45973 ac_cv_prog_ac_ct_NM="nm"
45974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45975 break 2
45976 fi
45977 done
45978 done
45979 IFS=$as_save_IFS
45980
45981 fi
45982 fi
45983 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45984 if test -n "$ac_ct_NM"; then
45985 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45986 echo "${ECHO_T}$ac_ct_NM" >&6; }
45987 else
45988 { echo "$as_me:$LINENO: result: no" >&5
45989 echo "${ECHO_T}no" >&6; }
45990 fi
45991
45992 if test "x$ac_ct_NM" = x; then
45993 NM=":"
45994 else
45995 case $cross_compiling:$ac_tool_warned in
45996 yes:)
45997 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45998 whose name does not start with the host triplet. If you think this
45999 configuration is useful to you, please write to autoconf@gnu.org." >&5
46000 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46001 whose name does not start with the host triplet. If you think this
46002 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46003 ac_tool_warned=yes ;;
46004 esac
46005 NM=$ac_ct_NM
46006 fi
46007 else
46008 NM="$ac_cv_prog_NM"
46009 fi
46010
46011
46012 case ${BAKEFILE_HOST} in
46013 *-hp-hpux* )
46014 INSTALL_DIR="mkdir -p"
46015 ;;
46016 * )
46017 INSTALL_DIR='$(INSTALL) -d'
46018 ;;
46019 esac
46020
46021
46022 LDFLAGS_GUI=
46023 case ${BAKEFILE_HOST} in
46024 *-*-cygwin* | *-*-mingw32* )
46025 LDFLAGS_GUI="-mwindows"
46026 esac
46027
46028
46029 fi
46030
46031 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46032 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46033 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46034 echo $ECHO_N "(cached) $ECHO_C" >&6
46035 else
46036
46037 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46038 egrep -s GNU > /dev/null); then
46039 bakefile_cv_prog_makeisgnu="yes"
46040 else
46041 bakefile_cv_prog_makeisgnu="no"
46042 fi
46043
46044 fi
46045 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46046 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46047
46048 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46049 IF_GNU_MAKE=""
46050 else
46051 IF_GNU_MAKE="#"
46052 fi
46053
46054
46055
46056 PLATFORM_UNIX=0
46057 PLATFORM_WIN32=0
46058 PLATFORM_MSDOS=0
46059 PLATFORM_MAC=0
46060 PLATFORM_MACOS=0
46061 PLATFORM_MACOSX=0
46062 PLATFORM_OS2=0
46063 PLATFORM_BEOS=0
46064
46065 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46066 case "${BAKEFILE_HOST}" in
46067 *-*-mingw32* )
46068 PLATFORM_WIN32=1
46069 ;;
46070 *-pc-msdosdjgpp )
46071 PLATFORM_MSDOS=1
46072 ;;
46073 *-pc-os2_emx | *-pc-os2-emx )
46074 PLATFORM_OS2=1
46075 ;;
46076 *-*-darwin* )
46077 PLATFORM_MAC=1
46078 PLATFORM_MACOSX=1
46079 ;;
46080 *-*-beos* )
46081 PLATFORM_BEOS=1
46082 ;;
46083 powerpc-apple-macos* )
46084 PLATFORM_MAC=1
46085 PLATFORM_MACOS=1
46086 ;;
46087 * )
46088 PLATFORM_UNIX=1
46089 ;;
46090 esac
46091 else
46092 case "$BAKEFILE_FORCE_PLATFORM" in
46093 win32 )
46094 PLATFORM_WIN32=1
46095 ;;
46096 msdos )
46097 PLATFORM_MSDOS=1
46098 ;;
46099 os2 )
46100 PLATFORM_OS2=1
46101 ;;
46102 darwin )
46103 PLATFORM_MAC=1
46104 PLATFORM_MACOSX=1
46105 ;;
46106 unix )
46107 PLATFORM_UNIX=1
46108 ;;
46109 beos )
46110 PLATFORM_BEOS=1
46111 ;;
46112 * )
46113 ;;
46114 esac
46115 fi
46116
46117
46118
46119
46120
46121
46122
46123
46124
46125
46126
46127 # Check whether --enable-omf was given.
46128 if test "${enable_omf+set}" = set; then
46129 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46130 fi
46131
46132
46133 case "${BAKEFILE_HOST}" in
46134 *-*-darwin* )
46135 if test "x$GCC" = "xyes"; then
46136 CFLAGS="$CFLAGS -fno-common"
46137 CXXFLAGS="$CXXFLAGS -fno-common"
46138 fi
46139 if test "x$XLCC" = "xyes"; then
46140 CFLAGS="$CFLAGS -qnocommon"
46141 CXXFLAGS="$CXXFLAGS -qnocommon"
46142 fi
46143 ;;
46144
46145 *-pc-os2_emx | *-pc-os2-emx )
46146 if test "x$bk_os2_use_omf" = "xyes" ; then
46147 AR=emxomfar
46148 RANLIB=:
46149 LDFLAGS="-Zomf $LDFLAGS"
46150 CFLAGS="-Zomf $CFLAGS"
46151 CXXFLAGS="-Zomf $CXXFLAGS"
46152 OS2_LIBEXT="lib"
46153 else
46154 OS2_LIBEXT="a"
46155 fi
46156 ;;
46157
46158 i*86-*-beos* )
46159 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46160 ;;
46161 esac
46162
46163
46164 SO_SUFFIX="so"
46165 SO_SUFFIX_MODULE="so"
46166 EXEEXT=""
46167 LIBPREFIX="lib"
46168 LIBEXT=".a"
46169 DLLPREFIX="lib"
46170 DLLPREFIX_MODULE=""
46171 DLLIMP_SUFFIX=""
46172 dlldir="$libdir"
46173
46174 case "${BAKEFILE_HOST}" in
46175 *-hp-hpux* )
46176 SO_SUFFIX="sl"
46177 SO_SUFFIX_MODULE="sl"
46178 ;;
46179 *-*-aix* )
46180 SO_SUFFIX="a"
46181 SO_SUFFIX_MODULE="a"
46182 ;;
46183 *-*-cygwin* )
46184 SO_SUFFIX="dll"
46185 SO_SUFFIX_MODULE="dll"
46186 DLLIMP_SUFFIX="dll.a"
46187 EXEEXT=".exe"
46188 DLLPREFIX="cyg"
46189 dlldir="$bindir"
46190 ;;
46191 *-*-mingw32* )
46192 SO_SUFFIX="dll"
46193 SO_SUFFIX_MODULE="dll"
46194 DLLIMP_SUFFIX="dll.a"
46195 EXEEXT=".exe"
46196 DLLPREFIX=""
46197 dlldir="$bindir"
46198 ;;
46199 *-pc-msdosdjgpp )
46200 EXEEXT=".exe"
46201 DLLPREFIX=""
46202 dlldir="$bindir"
46203 ;;
46204 *-pc-os2_emx | *-pc-os2-emx )
46205 SO_SUFFIX="dll"
46206 SO_SUFFIX_MODULE="dll"
46207 DLLIMP_SUFFIX=$OS2_LIBEXT
46208 EXEEXT=".exe"
46209 DLLPREFIX=""
46210 LIBPREFIX=""
46211 LIBEXT=".$OS2_LIBEXT"
46212 dlldir="$bindir"
46213 ;;
46214 *-*-darwin* )
46215 SO_SUFFIX="dylib"
46216 SO_SUFFIX_MODULE="bundle"
46217 ;;
46218 esac
46219
46220 if test "x$DLLIMP_SUFFIX" = "x" ; then
46221 DLLIMP_SUFFIX="$SO_SUFFIX"
46222 fi
46223
46224
46225
46226
46227
46228
46229
46230
46231
46232
46233
46234
46235 PIC_FLAG=""
46236 if test "x$GCC" = "xyes"; then
46237 PIC_FLAG="-fPIC"
46238 fi
46239
46240 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46241 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46242 WINDOWS_IMPLIB=0
46243
46244 case "${BAKEFILE_HOST}" in
46245 *-hp-hpux* )
46246 if test "x$GCC" != "xyes"; then
46247 LDFLAGS="$LDFLAGS -L/usr/lib"
46248
46249 SHARED_LD_CC="${CC} -b -o"
46250 SHARED_LD_CXX="${CXX} -b -o"
46251 PIC_FLAG="+Z"
46252 fi
46253 ;;
46254
46255 *-*-linux* )
46256 if test "x$GCC" != "xyes"; then
46257 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46258 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46259 if test "${bakefile_cv_prog_icc+set}" = set; then
46260 echo $ECHO_N "(cached) $ECHO_C" >&6
46261 else
46262
46263 cat >conftest.$ac_ext <<_ACEOF
46264 /* confdefs.h. */
46265 _ACEOF
46266 cat confdefs.h >>conftest.$ac_ext
46267 cat >>conftest.$ac_ext <<_ACEOF
46268 /* end confdefs.h. */
46269
46270 int
46271 main ()
46272 {
46273
46274 #ifndef __INTEL_COMPILER
46275 This is not ICC
46276 #endif
46277
46278 ;
46279 return 0;
46280 }
46281 _ACEOF
46282 rm -f conftest.$ac_objext
46283 if { (ac_try="$ac_compile"
46284 case "(($ac_try" in
46285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46286 *) ac_try_echo=$ac_try;;
46287 esac
46288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46289 (eval "$ac_compile") 2>conftest.er1
46290 ac_status=$?
46291 grep -v '^ *+' conftest.er1 >conftest.err
46292 rm -f conftest.er1
46293 cat conftest.err >&5
46294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46295 (exit $ac_status); } && {
46296 test -z "$ac_c_werror_flag" ||
46297 test ! -s conftest.err
46298 } && test -s conftest.$ac_objext; then
46299 bakefile_cv_prog_icc=yes
46300 else
46301 echo "$as_me: failed program was:" >&5
46302 sed 's/^/| /' conftest.$ac_ext >&5
46303
46304 bakefile_cv_prog_icc=no
46305
46306 fi
46307
46308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46309
46310 fi
46311 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46312 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46313 if test "$bakefile_cv_prog_icc" = "yes"; then
46314 PIC_FLAG="-KPIC"
46315 fi
46316 fi
46317 ;;
46318
46319 *-*-solaris2* )
46320 if test "x$GCC" != xyes ; then
46321 SHARED_LD_CC="${CC} -G -o"
46322 SHARED_LD_CXX="${CXX} -G -o"
46323 PIC_FLAG="-KPIC"
46324 fi
46325 ;;
46326
46327 *-*-darwin* )
46328
46329 D='$'
46330 cat <<EOF >shared-ld-sh
46331 #!/bin/sh
46332 #-----------------------------------------------------------------------------
46333 #-- Name: distrib/mac/shared-ld-sh
46334 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46335 #-- Author: Gilles Depeyrot
46336 #-- Copyright: (c) 2002 Gilles Depeyrot
46337 #-- Licence: any use permitted
46338 #-----------------------------------------------------------------------------
46339
46340 verbose=0
46341 args=""
46342 objects=""
46343 linking_flag="-dynamiclib"
46344 ldargs="-r -keep_private_externs -nostdlib"
46345
46346 while test ${D}# -gt 0; do
46347 case ${D}1 in
46348
46349 -v)
46350 verbose=1
46351 ;;
46352
46353 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46354 # collect these options and values
46355 args="${D}{args} ${D}1 ${D}2"
46356 shift
46357 ;;
46358
46359 -s|-Wl,*)
46360 # collect these load args
46361 ldargs="${D}{ldargs} ${D}1"
46362 ;;
46363
46364 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46365 # collect these options
46366 args="${D}{args} ${D}1"
46367 ;;
46368
46369 -dynamiclib|-bundle)
46370 linking_flag="${D}1"
46371 ;;
46372
46373 -*)
46374 echo "shared-ld: unhandled option '${D}1'"
46375 exit 1
46376 ;;
46377
46378 *.o | *.a | *.dylib)
46379 # collect object files
46380 objects="${D}{objects} ${D}1"
46381 ;;
46382
46383 *)
46384 echo "shared-ld: unhandled argument '${D}1'"
46385 exit 1
46386 ;;
46387
46388 esac
46389 shift
46390 done
46391
46392 status=0
46393
46394 #
46395 # Link one module containing all the others
46396 #
46397 if test ${D}{verbose} = 1; then
46398 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46399 fi
46400 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46401 status=${D}?
46402
46403 #
46404 # Link the shared library from the single module created, but only if the
46405 # previous command didn't fail:
46406 #
46407 if test ${D}{status} = 0; then
46408 if test ${D}{verbose} = 1; then
46409 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46410 fi
46411 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46412 status=${D}?
46413 fi
46414
46415 #
46416 # Remove intermediate module
46417 #
46418 rm -f master.${D}${D}.o
46419
46420 exit ${D}status
46421 EOF
46422
46423 chmod +x shared-ld-sh
46424
46425 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46426 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46427
46428
46429 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46430 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46431 if test "${bakefile_cv_gcc31+set}" = set; then
46432 echo $ECHO_N "(cached) $ECHO_C" >&6
46433 else
46434
46435 cat >conftest.$ac_ext <<_ACEOF
46436 /* confdefs.h. */
46437 _ACEOF
46438 cat confdefs.h >>conftest.$ac_ext
46439 cat >>conftest.$ac_ext <<_ACEOF
46440 /* end confdefs.h. */
46441
46442 int
46443 main ()
46444 {
46445
46446 #if (__GNUC__ < 3) || \
46447 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46448 This is old gcc
46449 #endif
46450
46451 ;
46452 return 0;
46453 }
46454 _ACEOF
46455 rm -f conftest.$ac_objext
46456 if { (ac_try="$ac_compile"
46457 case "(($ac_try" in
46458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46459 *) ac_try_echo=$ac_try;;
46460 esac
46461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46462 (eval "$ac_compile") 2>conftest.er1
46463 ac_status=$?
46464 grep -v '^ *+' conftest.er1 >conftest.err
46465 rm -f conftest.er1
46466 cat conftest.err >&5
46467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46468 (exit $ac_status); } && {
46469 test -z "$ac_c_werror_flag" ||
46470 test ! -s conftest.err
46471 } && test -s conftest.$ac_objext; then
46472
46473 bakefile_cv_gcc31=yes
46474
46475 else
46476 echo "$as_me: failed program was:" >&5
46477 sed 's/^/| /' conftest.$ac_ext >&5
46478
46479
46480 bakefile_cv_gcc31=no
46481
46482
46483 fi
46484
46485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46486
46487 fi
46488 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46489 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46490 if test "$bakefile_cv_gcc31" = "no"; then
46491 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46492 SHARED_LD_CXX="$SHARED_LD_CC"
46493 else
46494 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46495 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46496 fi
46497
46498 if test "x$GCC" == "xyes"; then
46499 PIC_FLAG="-dynamic -fPIC"
46500 fi
46501 if test "x$XLCC" = "xyes"; then
46502 PIC_FLAG="-dynamic -DPIC"
46503 fi
46504 ;;
46505
46506 *-*-aix* )
46507 if test "x$GCC" = "xyes"; then
46508 PIC_FLAG=""
46509
46510 case "${BAKEFILE_HOST}" in
46511 *-*-aix5* )
46512 LD_EXPFULL="-Wl,-bexpfull"
46513 ;;
46514 esac
46515
46516 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46517 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46518 else
46519 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46520 set dummy makeC++SharedLib; ac_word=$2
46521 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46523 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46524 echo $ECHO_N "(cached) $ECHO_C" >&6
46525 else
46526 if test -n "$AIX_CXX_LD"; then
46527 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46528 else
46529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46530 for as_dir in $PATH
46531 do
46532 IFS=$as_save_IFS
46533 test -z "$as_dir" && as_dir=.
46534 for ac_exec_ext in '' $ac_executable_extensions; do
46535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46536 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46538 break 2
46539 fi
46540 done
46541 done
46542 IFS=$as_save_IFS
46543
46544 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46545 fi
46546 fi
46547 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46548 if test -n "$AIX_CXX_LD"; then
46549 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46550 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46551 else
46552 { echo "$as_me:$LINENO: result: no" >&5
46553 echo "${ECHO_T}no" >&6; }
46554 fi
46555
46556
46557 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46558 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46559 fi
46560 ;;
46561
46562 *-*-beos* )
46563 SHARED_LD_CC="${LD} -nostart -o"
46564 SHARED_LD_CXX="${LD} -nostart -o"
46565 ;;
46566
46567 *-*-irix* )
46568 if test "x$GCC" != "xyes"; then
46569 PIC_FLAG="-KPIC"
46570 fi
46571 ;;
46572
46573 *-*-cygwin* | *-*-mingw32* )
46574 PIC_FLAG=""
46575 SHARED_LD_CC="\$(CC) -shared -o"
46576 SHARED_LD_CXX="\$(CXX) -shared -o"
46577 WINDOWS_IMPLIB=1
46578 ;;
46579
46580 *-pc-os2_emx | *-pc-os2-emx )
46581 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46582 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46583 PIC_FLAG=""
46584
46585 D='$'
46586 cat <<EOF >dllar.sh
46587 #!/bin/sh
46588 #
46589 # dllar - a tool to build both a .dll and an .a file
46590 # from a set of object (.o) files for EMX/OS2.
46591 #
46592 # Written by Andrew Zabolotny, bit@freya.etu.ru
46593 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46594 #
46595 # This script will accept a set of files on the command line.
46596 # All the public symbols from the .o files will be exported into
46597 # a .DEF file, then linker will be run (through gcc) against them to
46598 # build a shared library consisting of all given .o files. All libraries
46599 # (.a) will be first decompressed into component .o files then act as
46600 # described above. You can optionally give a description (-d "description")
46601 # which will be put into .DLL. To see the list of accepted options (as well
46602 # as command-line format) simply run this program without options. The .DLL
46603 # is built to be imported by name (there is no guarantee that new versions
46604 # of the library you build will have same ordinals for same symbols).
46605 #
46606 # dllar is free software; you can redistribute it and/or modify
46607 # it under the terms of the GNU General Public License as published by
46608 # the Free Software Foundation; either version 2, or (at your option)
46609 # any later version.
46610 #
46611 # dllar is distributed in the hope that it will be useful,
46612 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46613 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46614 # GNU General Public License for more details.
46615 #
46616 # You should have received a copy of the GNU General Public License
46617 # along with dllar; see the file COPYING. If not, write to the Free
46618 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46619 # 02111-1307, USA.
46620
46621 # To successfuly run this program you will need:
46622 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46623 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46624 # - gcc
46625 # (used to build the .dll)
46626 # - emxexp
46627 # (used to create .def file from .o files)
46628 # - emximp
46629 # (used to create .a file from .def file)
46630 # - GNU text utilites (cat, sort, uniq)
46631 # used to process emxexp output
46632 # - GNU file utilities (mv, rm)
46633 # - GNU sed
46634 # - lxlite (optional, see flag below)
46635 # (used for general .dll cleanup)
46636 #
46637
46638 flag_USE_LXLITE=1;
46639
46640 #
46641 # helper functions
46642 # basnam, variant of basename, which does _not_ remove the path, _iff_
46643 # second argument (suffix to remove) is given
46644 basnam(){
46645 case ${D}# in
46646 1)
46647 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46648 ;;
46649 2)
46650 echo ${D}1 | sed 's/'${D}2'${D}//'
46651 ;;
46652 *)
46653 echo "error in basnam ${D}*"
46654 exit 8
46655 ;;
46656 esac
46657 }
46658
46659 # Cleanup temporary files and output
46660 CleanUp() {
46661 cd ${D}curDir
46662 for i in ${D}inputFiles ; do
46663 case ${D}i in
46664 *!)
46665 rm -rf \`basnam ${D}i !\`
46666 ;;
46667 *)
46668 ;;
46669 esac
46670 done
46671
46672 # Kill result in case of failure as there is just to many stupid make/nmake
46673 # things out there which doesn't do this.
46674 if [ ${D}# -eq 0 ]; then
46675 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46676 fi
46677 }
46678
46679 # Print usage and exit script with rc=1.
46680 PrintHelp() {
46681 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46682 echo ' [-name-mangler-script script.sh]'
46683 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46684 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46685 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46686 echo ' [*.o] [*.a]'
46687 echo '*> "output_file" should have no extension.'
46688 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46689 echo ' The import library name is derived from this and is set to "name".a,'
46690 echo ' unless overridden by -import'
46691 echo '*> "importlib_name" should have no extension.'
46692 echo ' If it has the .o, or .a extension, it is automatically removed.'
46693 echo ' This name is used as the import library name and may be longer and'
46694 echo ' more descriptive than the DLL name which has to follow the old '
46695 echo ' 8.3 convention of FAT.'
46696 echo '*> "script.sh may be given to override the output_file name by a'
46697 echo ' different name. It is mainly useful if the regular make process'
46698 echo ' of some package does not take into account OS/2 restriction of'
46699 echo ' DLL name lengths. It takes the importlib name as input and is'
46700 echo ' supposed to procude a shorter name as output. The script should'
46701 echo ' expect to get importlib_name without extension and should produce'
46702 echo ' a (max.) 8 letter name without extension.'
46703 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46704 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46705 echo ' These flags will be put at the start of GCC command line.'
46706 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46707 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46708 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46709 echo ' If the last character of a symbol is "*", all symbols beginning'
46710 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46711 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46712 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46713 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46714 echo ' C runtime DLLs.'
46715 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46716 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46717 echo ' unchanged to GCC at the end of command line.'
46718 echo '*> If you create a DLL from a library and you do not specify -o,'
46719 echo ' the basename for DLL and import library will be set to library name,'
46720 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46721 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46722 echo ' library will be renamed into gcc_s.a.'
46723 echo '--------'
46724 echo 'Example:'
46725 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46726 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46727 CleanUp
46728 exit 1
46729 }
46730
46731 # Execute a command.
46732 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46733 # @Uses Whatever CleanUp() uses.
46734 doCommand() {
46735 echo "${D}*"
46736 eval ${D}*
46737 rcCmd=${D}?
46738
46739 if [ ${D}rcCmd -ne 0 ]; then
46740 echo "command failed, exit code="${D}rcCmd
46741 CleanUp
46742 exit ${D}rcCmd
46743 fi
46744 }
46745
46746 # main routine
46747 # setup globals
46748 cmdLine=${D}*
46749 outFile=""
46750 outimpFile=""
46751 inputFiles=""
46752 renameScript=""
46753 description=""
46754 CC=gcc.exe
46755 CFLAGS="-s -Zcrtdll"
46756 EXTRA_CFLAGS=""
46757 EXPORT_BY_ORDINALS=0
46758 exclude_symbols=""
46759 library_flags=""
46760 curDir=\`pwd\`
46761 curDirS=curDir
46762 case ${D}curDirS in
46763 */)
46764 ;;
46765 *)
46766 curDirS=${D}{curDirS}"/"
46767 ;;
46768 esac
46769 # Parse commandline
46770 libsToLink=0
46771 omfLinking=0
46772 while [ ${D}1 ]; do
46773 case ${D}1 in
46774 -ord*)
46775 EXPORT_BY_ORDINALS=1;
46776 ;;
46777 -o*)
46778 shift
46779 outFile=${D}1
46780 ;;
46781 -i*)
46782 shift
46783 outimpFile=${D}1
46784 ;;
46785 -name-mangler-script)
46786 shift
46787 renameScript=${D}1
46788 ;;
46789 -d*)
46790 shift
46791 description=${D}1
46792 ;;
46793 -f*)
46794 shift
46795 CFLAGS=${D}1
46796 ;;
46797 -c*)
46798 shift
46799 CC=${D}1
46800 ;;
46801 -h*)
46802 PrintHelp
46803 ;;
46804 -ex*)
46805 shift
46806 exclude_symbols=${D}{exclude_symbols}${D}1" "
46807 ;;
46808 -libf*)
46809 shift
46810 library_flags=${D}{library_flags}${D}1" "
46811 ;;
46812 -nocrt*)
46813 CFLAGS="-s"
46814 ;;
46815 -nolxl*)
46816 flag_USE_LXLITE=0
46817 ;;
46818 -* | /*)
46819 case ${D}1 in
46820 -L* | -l*)
46821 libsToLink=1
46822 ;;
46823 -Zomf)
46824 omfLinking=1
46825 ;;
46826 *)
46827 ;;
46828 esac
46829 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46830 ;;
46831 *.dll)
46832 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46833 if [ ${D}omfLinking -eq 1 ]; then
46834 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46835 else
46836 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46837 fi
46838 ;;
46839 *)
46840 found=0;
46841 if [ ${D}libsToLink -ne 0 ]; then
46842 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46843 else
46844 for file in ${D}1 ; do
46845 if [ -f ${D}file ]; then
46846 inputFiles="${D}{inputFiles} ${D}file"
46847 found=1
46848 fi
46849 done
46850 if [ ${D}found -eq 0 ]; then
46851 echo "ERROR: No file(s) found: "${D}1
46852 exit 8
46853 fi
46854 fi
46855 ;;
46856 esac
46857 shift
46858 done # iterate cmdline words
46859
46860 #
46861 if [ -z "${D}inputFiles" ]; then
46862 echo "dllar: no input files"
46863 PrintHelp
46864 fi
46865
46866 # Now extract all .o files from .a files
46867 newInputFiles=""
46868 for file in ${D}inputFiles ; do
46869 case ${D}file in
46870 *.a | *.lib)
46871 case ${D}file in
46872 *.a)
46873 suffix=".a"
46874 AR="ar"
46875 ;;
46876 *.lib)
46877 suffix=".lib"
46878 AR="emxomfar"
46879 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46880 ;;
46881 *)
46882 ;;
46883 esac
46884 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46885 mkdir ${D}dirname
46886 if [ ${D}? -ne 0 ]; then
46887 echo "Failed to create subdirectory ./${D}dirname"
46888 CleanUp
46889 exit 8;
46890 fi
46891 # Append '!' to indicate archive
46892 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46893 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46894 cd ${D}curDir
46895 found=0;
46896 for subfile in ${D}dirname/*.o* ; do
46897 if [ -f ${D}subfile ]; then
46898 found=1
46899 if [ -s ${D}subfile ]; then
46900 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46901 newInputFiles="${D}newInputFiles ${D}subfile"
46902 fi
46903 fi
46904 done
46905 if [ ${D}found -eq 0 ]; then
46906 echo "WARNING: there are no files in archive \\'${D}file\\'"
46907 fi
46908 ;;
46909 *)
46910 newInputFiles="${D}{newInputFiles} ${D}file"
46911 ;;
46912 esac
46913 done
46914 inputFiles="${D}newInputFiles"
46915
46916 # Output filename(s).
46917 do_backup=0;
46918 if [ -z ${D}outFile ]; then
46919 do_backup=1;
46920 set outFile ${D}inputFiles; outFile=${D}2
46921 fi
46922
46923 # If it is an archive, remove the '!' and the '_%' suffixes
46924 case ${D}outFile in
46925 *_%!)
46926 outFile=\`basnam ${D}outFile _%!\`
46927 ;;
46928 *)
46929 ;;
46930 esac
46931 case ${D}outFile in
46932 *.dll)
46933 outFile=\`basnam ${D}outFile .dll\`
46934 ;;
46935 *.DLL)
46936 outFile=\`basnam ${D}outFile .DLL\`
46937 ;;
46938 *.o)
46939 outFile=\`basnam ${D}outFile .o\`
46940 ;;
46941 *.obj)
46942 outFile=\`basnam ${D}outFile .obj\`
46943 ;;
46944 *.a)
46945 outFile=\`basnam ${D}outFile .a\`
46946 ;;
46947 *.lib)
46948 outFile=\`basnam ${D}outFile .lib\`
46949 ;;
46950 *)
46951 ;;
46952 esac
46953 case ${D}outimpFile in
46954 *.a)
46955 outimpFile=\`basnam ${D}outimpFile .a\`
46956 ;;
46957 *.lib)
46958 outimpFile=\`basnam ${D}outimpFile .lib\`
46959 ;;
46960 *)
46961 ;;
46962 esac
46963 if [ -z ${D}outimpFile ]; then
46964 outimpFile=${D}outFile
46965 fi
46966 defFile="${D}{outFile}.def"
46967 arcFile="${D}{outimpFile}.a"
46968 arcFile2="${D}{outimpFile}.lib"
46969
46970 #create ${D}dllFile as something matching 8.3 restrictions,
46971 if [ -z ${D}renameScript ] ; then
46972 dllFile="${D}outFile"
46973 else
46974 dllFile=\`${D}renameScript ${D}outimpFile\`
46975 fi
46976
46977 if [ ${D}do_backup -ne 0 ] ; then
46978 if [ -f ${D}arcFile ] ; then
46979 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46980 fi
46981 if [ -f ${D}arcFile2 ] ; then
46982 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46983 fi
46984 fi
46985
46986 # Extract public symbols from all the object files.
46987 tmpdefFile=${D}{defFile}_%
46988 rm -f ${D}tmpdefFile
46989 for file in ${D}inputFiles ; do
46990 case ${D}file in
46991 *!)
46992 ;;
46993 *)
46994 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46995 ;;
46996 esac
46997 done
46998
46999 # Create the def file.
47000 rm -f ${D}defFile
47001 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47002 dllFile="${D}{dllFile}.dll"
47003 if [ ! -z ${D}description ]; then
47004 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47005 fi
47006 echo "EXPORTS" >> ${D}defFile
47007
47008 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47009 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47010
47011 # Checks if the export is ok or not.
47012 for word in ${D}exclude_symbols; do
47013 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47014 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47015 done
47016
47017
47018 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47019 sed "=" < ${D}tmpdefFile | \\
47020 sed '
47021 N
47022 : loop
47023 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47024 t loop
47025 ' > ${D}{tmpdefFile}%
47026 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47027 else
47028 rm -f ${D}{tmpdefFile}%
47029 fi
47030 cat ${D}tmpdefFile >> ${D}defFile
47031 rm -f ${D}tmpdefFile
47032
47033 # Do linking, create implib, and apply lxlite.
47034 gccCmdl="";
47035 for file in ${D}inputFiles ; do
47036 case ${D}file in
47037 *!)
47038 ;;
47039 *)
47040 gccCmdl="${D}gccCmdl ${D}file"
47041 ;;
47042 esac
47043 done
47044 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47045 touch "${D}{outFile}.dll"
47046
47047 doCommand "emximp -o ${D}arcFile ${D}defFile"
47048 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47049 add_flags="";
47050 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47051 add_flags="-ynd"
47052 fi
47053 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47054 fi
47055 doCommand "emxomf -s -l ${D}arcFile"
47056
47057 # Successful exit.
47058 CleanUp 1
47059 exit 0
47060 EOF
47061
47062 chmod +x dllar.sh
47063 ;;
47064
47065 powerpc-apple-macos* | \
47066 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47067 *-*-mirbsd* | \
47068 *-*-sunos4* | \
47069 *-*-osf* | \
47070 *-*-dgux5* | \
47071 *-*-sysv5* | \
47072 *-pc-msdosdjgpp )
47073 ;;
47074
47075 *)
47076 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47077 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47078 { (exit 1); exit 1; }; }
47079 esac
47080
47081 if test "x$PIC_FLAG" != "x" ; then
47082 PIC_FLAG="$PIC_FLAG -DPIC"
47083 fi
47084
47085 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47086 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47087 fi
47088 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47089 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47090 fi
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100 USE_SOVERSION=0
47101 USE_SOVERLINUX=0
47102 USE_SOVERSOLARIS=0
47103 USE_SOVERCYGWIN=0
47104 USE_SOSYMLINKS=0
47105 USE_MACVERSION=0
47106 SONAME_FLAG=
47107
47108 case "${BAKEFILE_HOST}" in
47109 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47110 SONAME_FLAG="-Wl,-soname,"
47111 USE_SOVERSION=1
47112 USE_SOVERLINUX=1
47113 USE_SOSYMLINKS=1
47114 ;;
47115
47116 *-*-solaris2* )
47117 SONAME_FLAG="-h "
47118 USE_SOVERSION=1
47119 USE_SOVERSOLARIS=1
47120 USE_SOSYMLINKS=1
47121 ;;
47122
47123 *-*-darwin* )
47124 USE_MACVERSION=1
47125 USE_SOVERSION=1
47126 USE_SOSYMLINKS=1
47127 ;;
47128
47129 *-*-cygwin* )
47130 USE_SOVERSION=1
47131 USE_SOVERCYGWIN=1
47132 ;;
47133 esac
47134
47135
47136
47137
47138
47139
47140
47141
47142
47143
47144 # Check whether --enable-dependency-tracking was given.
47145 if test "${enable_dependency_tracking+set}" = set; then
47146 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47147 fi
47148
47149
47150 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47151 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47152
47153 BK_DEPS=""
47154 if test "x$bk_use_trackdeps" = "xno" ; then
47155 DEPS_TRACKING=0
47156 { echo "$as_me:$LINENO: result: disabled" >&5
47157 echo "${ECHO_T}disabled" >&6; }
47158 else
47159 DEPS_TRACKING=1
47160
47161 if test "x$GCC" = "xyes"; then
47162 DEPSMODE=gcc
47163 case "${BAKEFILE_HOST}" in
47164 *-*-darwin* )
47165 DEPSFLAG="-no-cpp-precomp -MMD"
47166 ;;
47167 * )
47168 DEPSFLAG="-MMD"
47169 ;;
47170 esac
47171 { echo "$as_me:$LINENO: result: gcc" >&5
47172 echo "${ECHO_T}gcc" >&6; }
47173 elif test "x$MWCC" = "xyes"; then
47174 DEPSMODE=mwcc
47175 DEPSFLAG="-MM"
47176 { echo "$as_me:$LINENO: result: mwcc" >&5
47177 echo "${ECHO_T}mwcc" >&6; }
47178 elif test "x$SUNCC" = "xyes"; then
47179 DEPSMODE=unixcc
47180 DEPSFLAG="-xM1"
47181 { echo "$as_me:$LINENO: result: Sun cc" >&5
47182 echo "${ECHO_T}Sun cc" >&6; }
47183 elif test "x$SGICC" = "xyes"; then
47184 DEPSMODE=unixcc
47185 DEPSFLAG="-M"
47186 { echo "$as_me:$LINENO: result: SGI cc" >&5
47187 echo "${ECHO_T}SGI cc" >&6; }
47188 elif test "x$HPCC" = "xyes"; then
47189 DEPSMODE=unixcc
47190 DEPSFLAG="+make"
47191 { echo "$as_me:$LINENO: result: HP cc" >&5
47192 echo "${ECHO_T}HP cc" >&6; }
47193 elif test "x$COMPAQCC" = "xyes"; then
47194 DEPSMODE=gcc
47195 DEPSFLAG="-MD"
47196 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47197 echo "${ECHO_T}Compaq cc" >&6; }
47198 else
47199 DEPS_TRACKING=0
47200 { echo "$as_me:$LINENO: result: none" >&5
47201 echo "${ECHO_T}none" >&6; }
47202 fi
47203
47204 if test $DEPS_TRACKING = 1 ; then
47205
47206 D='$'
47207 cat <<EOF >bk-deps
47208 #!/bin/sh
47209
47210 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47211 # script. It is used to track C/C++ files dependencies in portable way.
47212 #
47213 # Permission is given to use this file in any way.
47214
47215 DEPSMODE=${DEPSMODE}
47216 DEPSDIR=.deps
47217 DEPSFLAG="${DEPSFLAG}"
47218
47219 mkdir -p ${D}DEPSDIR
47220
47221 if test ${D}DEPSMODE = gcc ; then
47222 ${D}* ${D}{DEPSFLAG}
47223 status=${D}?
47224 if test ${D}{status} != 0 ; then
47225 exit ${D}{status}
47226 fi
47227 # move created file to the location we want it in:
47228 while test ${D}# -gt 0; do
47229 case "${D}1" in
47230 -o )
47231 shift
47232 objfile=${D}1
47233 ;;
47234 -* )
47235 ;;
47236 * )
47237 srcfile=${D}1
47238 ;;
47239 esac
47240 shift
47241 done
47242 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47243 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47244 if test -f ${D}depfile ; then
47245 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47246 rm -f ${D}depfile
47247 else
47248 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47249 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47250 if test ! -f ${D}depfile ; then
47251 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47252 depfile="${D}objfile.d"
47253 fi
47254 if test -f ${D}depfile ; then
47255 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47256 rm -f ${D}depfile
47257 fi
47258 fi
47259 exit 0
47260 elif test ${D}DEPSMODE = mwcc ; then
47261 ${D}* || exit ${D}?
47262 # Run mwcc again with -MM and redirect into the dep file we want
47263 # NOTE: We can't use shift here because we need ${D}* to be valid
47264 prevarg=
47265 for arg in ${D}* ; do
47266 if test "${D}prevarg" = "-o"; then
47267 objfile=${D}arg
47268 else
47269 case "${D}arg" in
47270 -* )
47271 ;;
47272 * )
47273 srcfile=${D}arg
47274 ;;
47275 esac
47276 fi
47277 prevarg="${D}arg"
47278 done
47279 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47280 exit 0
47281 elif test ${D}DEPSMODE = unixcc; then
47282 ${D}* || exit ${D}?
47283 # Run compiler again with deps flag and redirect into the dep file.
47284 # It doesn't work if the '-o FILE' option is used, but without it the
47285 # dependency file will contain the wrong name for the object. So it is
47286 # removed from the command line, and the dep file is fixed with sed.
47287 cmd=""
47288 while test ${D}# -gt 0; do
47289 case "${D}1" in
47290 -o )
47291 shift
47292 objfile=${D}1
47293 ;;
47294 * )
47295 eval arg${D}#=\\${D}1
47296 cmd="${D}cmd \\${D}arg${D}#"
47297 ;;
47298 esac
47299 shift
47300 done
47301 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47302 exit 0
47303 else
47304 ${D}*
47305 exit ${D}?
47306 fi
47307 EOF
47308
47309 chmod +x bk-deps
47310 BK_DEPS="`pwd`/bk-deps"
47311 fi
47312 fi
47313
47314
47315
47316
47317
47318 case ${BAKEFILE_HOST} in
47319 *-*-cygwin* | *-*-mingw32* )
47320 if test -n "$ac_tool_prefix"; then
47321 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47322 set dummy ${ac_tool_prefix}windres; ac_word=$2
47323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47325 if test "${ac_cv_prog_WINDRES+set}" = set; then
47326 echo $ECHO_N "(cached) $ECHO_C" >&6
47327 else
47328 if test -n "$WINDRES"; then
47329 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47330 else
47331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47332 for as_dir in $PATH
47333 do
47334 IFS=$as_save_IFS
47335 test -z "$as_dir" && as_dir=.
47336 for ac_exec_ext in '' $ac_executable_extensions; do
47337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47338 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47340 break 2
47341 fi
47342 done
47343 done
47344 IFS=$as_save_IFS
47345
47346 fi
47347 fi
47348 WINDRES=$ac_cv_prog_WINDRES
47349 if test -n "$WINDRES"; then
47350 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47351 echo "${ECHO_T}$WINDRES" >&6; }
47352 else
47353 { echo "$as_me:$LINENO: result: no" >&5
47354 echo "${ECHO_T}no" >&6; }
47355 fi
47356
47357
47358 fi
47359 if test -z "$ac_cv_prog_WINDRES"; then
47360 ac_ct_WINDRES=$WINDRES
47361 # Extract the first word of "windres", so it can be a program name with args.
47362 set dummy windres; ac_word=$2
47363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47365 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47366 echo $ECHO_N "(cached) $ECHO_C" >&6
47367 else
47368 if test -n "$ac_ct_WINDRES"; then
47369 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47370 else
47371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47372 for as_dir in $PATH
47373 do
47374 IFS=$as_save_IFS
47375 test -z "$as_dir" && as_dir=.
47376 for ac_exec_ext in '' $ac_executable_extensions; do
47377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47378 ac_cv_prog_ac_ct_WINDRES="windres"
47379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47380 break 2
47381 fi
47382 done
47383 done
47384 IFS=$as_save_IFS
47385
47386 fi
47387 fi
47388 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47389 if test -n "$ac_ct_WINDRES"; then
47390 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47391 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47392 else
47393 { echo "$as_me:$LINENO: result: no" >&5
47394 echo "${ECHO_T}no" >&6; }
47395 fi
47396
47397 if test "x$ac_ct_WINDRES" = x; then
47398 WINDRES=""
47399 else
47400 case $cross_compiling:$ac_tool_warned in
47401 yes:)
47402 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47403 whose name does not start with the host triplet. If you think this
47404 configuration is useful to you, please write to autoconf@gnu.org." >&5
47405 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47406 whose name does not start with the host triplet. If you think this
47407 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47408 ac_tool_warned=yes ;;
47409 esac
47410 WINDRES=$ac_ct_WINDRES
47411 fi
47412 else
47413 WINDRES="$ac_cv_prog_WINDRES"
47414 fi
47415
47416 ;;
47417
47418 *-*-darwin* | powerpc-apple-macos* )
47419 # Extract the first word of "Rez", so it can be a program name with args.
47420 set dummy Rez; ac_word=$2
47421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47423 if test "${ac_cv_prog_REZ+set}" = set; then
47424 echo $ECHO_N "(cached) $ECHO_C" >&6
47425 else
47426 if test -n "$REZ"; then
47427 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47428 else
47429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47430 for as_dir in $PATH
47431 do
47432 IFS=$as_save_IFS
47433 test -z "$as_dir" && as_dir=.
47434 for ac_exec_ext in '' $ac_executable_extensions; do
47435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47436 ac_cv_prog_REZ="Rez"
47437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47438 break 2
47439 fi
47440 done
47441 done
47442 IFS=$as_save_IFS
47443
47444 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47445 fi
47446 fi
47447 REZ=$ac_cv_prog_REZ
47448 if test -n "$REZ"; then
47449 { echo "$as_me:$LINENO: result: $REZ" >&5
47450 echo "${ECHO_T}$REZ" >&6; }
47451 else
47452 { echo "$as_me:$LINENO: result: no" >&5
47453 echo "${ECHO_T}no" >&6; }
47454 fi
47455
47456
47457 # Extract the first word of "SetFile", so it can be a program name with args.
47458 set dummy SetFile; ac_word=$2
47459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47461 if test "${ac_cv_prog_SETFILE+set}" = set; then
47462 echo $ECHO_N "(cached) $ECHO_C" >&6
47463 else
47464 if test -n "$SETFILE"; then
47465 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47466 else
47467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47468 for as_dir in $PATH
47469 do
47470 IFS=$as_save_IFS
47471 test -z "$as_dir" && as_dir=.
47472 for ac_exec_ext in '' $ac_executable_extensions; do
47473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47474 ac_cv_prog_SETFILE="SetFile"
47475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47476 break 2
47477 fi
47478 done
47479 done
47480 IFS=$as_save_IFS
47481
47482 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47483 fi
47484 fi
47485 SETFILE=$ac_cv_prog_SETFILE
47486 if test -n "$SETFILE"; then
47487 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47488 echo "${ECHO_T}$SETFILE" >&6; }
47489 else
47490 { echo "$as_me:$LINENO: result: no" >&5
47491 echo "${ECHO_T}no" >&6; }
47492 fi
47493
47494
47495 ;;
47496 esac
47497
47498
47499
47500
47501
47502
47503 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47504
47505
47506 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47507
47508
47509
47510 # Check whether --enable-precomp-headers was given.
47511 if test "${enable_precomp_headers+set}" = set; then
47512 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47513 fi
47514
47515
47516 GCC_PCH=0
47517 ICC_PCH=0
47518 USE_PCH=0
47519 BK_MAKE_PCH=""
47520
47521 case ${BAKEFILE_HOST} in
47522 *-*-cygwin* )
47523 bk_use_pch="no"
47524 ;;
47525 esac
47526
47527 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47528 if test "x$GCC" = "xyes"; then
47529 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47530 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47531 cat >conftest.$ac_ext <<_ACEOF
47532 /* confdefs.h. */
47533 _ACEOF
47534 cat confdefs.h >>conftest.$ac_ext
47535 cat >>conftest.$ac_ext <<_ACEOF
47536 /* end confdefs.h. */
47537
47538 int
47539 main ()
47540 {
47541
47542 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47543 There is no PCH support
47544 #endif
47545 #if (__GNUC__ < 3)
47546 There is no PCH support
47547 #endif
47548 #if (__GNUC__ == 3) && \
47549 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47550 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47551 ( defined(__INTEL_COMPILER) )
47552 There is no PCH support
47553 #endif
47554
47555 ;
47556 return 0;
47557 }
47558 _ACEOF
47559 rm -f conftest.$ac_objext
47560 if { (ac_try="$ac_compile"
47561 case "(($ac_try" in
47562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47563 *) ac_try_echo=$ac_try;;
47564 esac
47565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47566 (eval "$ac_compile") 2>conftest.er1
47567 ac_status=$?
47568 grep -v '^ *+' conftest.er1 >conftest.err
47569 rm -f conftest.er1
47570 cat conftest.err >&5
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); } && {
47573 test -z "$ac_c_werror_flag" ||
47574 test ! -s conftest.err
47575 } && test -s conftest.$ac_objext; then
47576
47577 { echo "$as_me:$LINENO: result: yes" >&5
47578 echo "${ECHO_T}yes" >&6; }
47579 GCC_PCH=1
47580
47581 else
47582 echo "$as_me: failed program was:" >&5
47583 sed 's/^/| /' conftest.$ac_ext >&5
47584
47585
47586 cat >conftest.$ac_ext <<_ACEOF
47587 /* confdefs.h. */
47588 _ACEOF
47589 cat confdefs.h >>conftest.$ac_ext
47590 cat >>conftest.$ac_ext <<_ACEOF
47591 /* end confdefs.h. */
47592
47593 int
47594 main ()
47595 {
47596
47597 #if !defined(__INTEL_COMPILER) || \
47598 (__INTEL_COMPILER < 800)
47599 There is no PCH support
47600 #endif
47601
47602 ;
47603 return 0;
47604 }
47605 _ACEOF
47606 rm -f conftest.$ac_objext
47607 if { (ac_try="$ac_compile"
47608 case "(($ac_try" in
47609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47610 *) ac_try_echo=$ac_try;;
47611 esac
47612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47613 (eval "$ac_compile") 2>conftest.er1
47614 ac_status=$?
47615 grep -v '^ *+' conftest.er1 >conftest.err
47616 rm -f conftest.er1
47617 cat conftest.err >&5
47618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47619 (exit $ac_status); } && {
47620 test -z "$ac_c_werror_flag" ||
47621 test ! -s conftest.err
47622 } && test -s conftest.$ac_objext; then
47623
47624 { echo "$as_me:$LINENO: result: yes" >&5
47625 echo "${ECHO_T}yes" >&6; }
47626 ICC_PCH=1
47627
47628 else
47629 echo "$as_me: failed program was:" >&5
47630 sed 's/^/| /' conftest.$ac_ext >&5
47631
47632
47633 { echo "$as_me:$LINENO: result: no" >&5
47634 echo "${ECHO_T}no" >&6; }
47635
47636 fi
47637
47638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47639
47640 fi
47641
47642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47643 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47644 USE_PCH=1
47645
47646 D='$'
47647 cat <<EOF >bk-make-pch
47648 #!/bin/sh
47649
47650 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47651 # script. It is used to generated precompiled headers.
47652 #
47653 # Permission is given to use this file in any way.
47654
47655 outfile="${D}{1}"
47656 header="${D}{2}"
47657 shift
47658 shift
47659
47660 compiler=""
47661 headerfile=""
47662
47663 while test ${D}{#} -gt 0; do
47664 add_to_cmdline=1
47665 case "${D}{1}" in
47666 -I* )
47667 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47668 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47669 headerfile="${D}{incdir}/${D}{header}"
47670 fi
47671 ;;
47672 -use-pch|-use_pch )
47673 shift
47674 add_to_cmdline=0
47675 ;;
47676 esac
47677 if test ${D}add_to_cmdline = 1 ; then
47678 compiler="${D}{compiler} ${D}{1}"
47679 fi
47680 shift
47681 done
47682
47683 if test "x${D}{headerfile}" = "x" ; then
47684 echo "error: can't find header ${D}{header} in include paths" >&2
47685 else
47686 if test -f ${D}{outfile} ; then
47687 rm -f ${D}{outfile}
47688 else
47689 mkdir -p \`dirname ${D}{outfile}\`
47690 fi
47691 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47692 mkdir -p .deps
47693 if test "x${GCC_PCH}" = "x1" ; then
47694 # can do this because gcc is >= 3.4:
47695 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47696 elif test "x${ICC_PCH}" = "x1" ; then
47697 filename=pch_gen-${D}${D}
47698 file=${D}{filename}.c
47699 dfile=${D}{filename}.d
47700 cat > ${D}file <<EOT
47701 #include "${D}header"
47702 EOT
47703 # using -MF icc complains about differing command lines in creation/use
47704 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47705 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47706 rm -f ${D}file ${D}dfile ${D}{filename}.o
47707 fi
47708 exit ${D}{?}
47709 fi
47710 EOF
47711
47712 chmod +x bk-make-pch
47713 BK_MAKE_PCH="`pwd`/bk-make-pch"
47714 fi
47715 fi
47716 fi
47717
47718
47719
47720
47721
47722 COND_BUILD_DEBUG="#"
47723 if test "x$BUILD" = "xdebug" ; then
47724 COND_BUILD_DEBUG=""
47725 fi
47726
47727 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47728 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47729 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47730 fi
47731
47732 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47733 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47734 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47735 fi
47736
47737 COND_BUILD_DEBUG_UNICODE_0="#"
47738 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47739 COND_BUILD_DEBUG_UNICODE_0=""
47740 fi
47741
47742 COND_BUILD_DEBUG_UNICODE_1="#"
47743 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47744 COND_BUILD_DEBUG_UNICODE_1=""
47745 fi
47746
47747 COND_BUILD_RELEASE="#"
47748 if test "x$BUILD" = "xrelease" ; then
47749 COND_BUILD_RELEASE=""
47750 fi
47751
47752 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47753 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47754 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47755 fi
47756
47757 COND_BUILD_RELEASE_UNICODE_0="#"
47758 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47759 COND_BUILD_RELEASE_UNICODE_0=""
47760 fi
47761
47762 COND_BUILD_RELEASE_UNICODE_1="#"
47763 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47764 COND_BUILD_RELEASE_UNICODE_1=""
47765 fi
47766
47767 COND_DEBUG_FLAG_1="#"
47768 if test "x$DEBUG_FLAG" = "x1" ; then
47769 COND_DEBUG_FLAG_1=""
47770 fi
47771
47772 COND_DEBUG_INFO_0="#"
47773 if test "x$DEBUG_INFO" = "x0" ; then
47774 COND_DEBUG_INFO_0=""
47775 fi
47776
47777 COND_DEBUG_INFO_1="#"
47778 if test "x$DEBUG_INFO" = "x1" ; then
47779 COND_DEBUG_INFO_1=""
47780 fi
47781
47782 COND_DEPS_TRACKING_0="#"
47783 if test "x$DEPS_TRACKING" = "x0" ; then
47784 COND_DEPS_TRACKING_0=""
47785 fi
47786
47787 COND_DEPS_TRACKING_1="#"
47788 if test "x$DEPS_TRACKING" = "x1" ; then
47789 COND_DEPS_TRACKING_1=""
47790 fi
47791
47792 COND_GCC_PCH_1="#"
47793 if test "x$GCC_PCH" = "x1" ; then
47794 COND_GCC_PCH_1=""
47795 fi
47796
47797 COND_ICC_PCH_1="#"
47798 if test "x$ICC_PCH" = "x1" ; then
47799 COND_ICC_PCH_1=""
47800 fi
47801
47802 COND_MONOLITHIC_0="#"
47803 if test "x$MONOLITHIC" = "x0" ; then
47804 COND_MONOLITHIC_0=""
47805 fi
47806
47807 COND_MONOLITHIC_0_SHARED_0="#"
47808 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47809 COND_MONOLITHIC_0_SHARED_0=""
47810 fi
47811
47812 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47813 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47814 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47815 fi
47816
47817 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47819 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47820 fi
47821
47822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47824 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47825 fi
47826
47827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47830 fi
47831
47832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47835 fi
47836
47837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47840 fi
47841
47842 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47844 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47845 fi
47846
47847 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47849 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47850 fi
47851
47852 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47854 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47855 fi
47856
47857 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47859 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47860 fi
47861
47862 COND_MONOLITHIC_0_SHARED_1="#"
47863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47864 COND_MONOLITHIC_0_SHARED_1=""
47865 fi
47866
47867 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47869 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47870 fi
47871
47872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47875 fi
47876
47877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47880 fi
47881
47882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47885 fi
47886
47887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47890 fi
47891
47892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47895 fi
47896
47897 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47899 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47900 fi
47901
47902 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47904 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47905 fi
47906
47907 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
47908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47909 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
47910 fi
47911
47912 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47915 fi
47916
47917 COND_MONOLITHIC_0_USE_AUI_1="#"
47918 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
47919 COND_MONOLITHIC_0_USE_AUI_1=""
47920 fi
47921
47922 COND_MONOLITHIC_0_USE_GUI_1="#"
47923 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
47924 COND_MONOLITHIC_0_USE_GUI_1=""
47925 fi
47926
47927 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
47928 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47929 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
47930 fi
47931
47932 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
47933 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47934 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
47935 fi
47936
47937 COND_MONOLITHIC_0_USE_HTML_1="#"
47938 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
47939 COND_MONOLITHIC_0_USE_HTML_1=""
47940 fi
47941
47942 COND_MONOLITHIC_0_USE_MEDIA_1="#"
47943 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47944 COND_MONOLITHIC_0_USE_MEDIA_1=""
47945 fi
47946
47947 COND_MONOLITHIC_0_USE_ODBC_1="#"
47948 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47949 COND_MONOLITHIC_0_USE_ODBC_1=""
47950 fi
47951
47952 COND_MONOLITHIC_0_USE_QA_1="#"
47953 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
47954 COND_MONOLITHIC_0_USE_QA_1=""
47955 fi
47956
47957 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
47958 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47959 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
47960 fi
47961
47962 COND_MONOLITHIC_0_USE_STC_1="#"
47963 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
47964 COND_MONOLITHIC_0_USE_STC_1=""
47965 fi
47966
47967 COND_MONOLITHIC_0_USE_XRC_1="#"
47968 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
47969 COND_MONOLITHIC_0_USE_XRC_1=""
47970 fi
47971
47972 COND_MONOLITHIC_1="#"
47973 if test "x$MONOLITHIC" = "x1" ; then
47974 COND_MONOLITHIC_1=""
47975 fi
47976
47977 COND_MONOLITHIC_1_SHARED_0="#"
47978 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47979 COND_MONOLITHIC_1_SHARED_0=""
47980 fi
47981
47982 COND_MONOLITHIC_1_SHARED_1="#"
47983 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47984 COND_MONOLITHIC_1_SHARED_1=""
47985 fi
47986
47987 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47988 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47989 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47990 fi
47991
47992 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47993 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47994 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47995 fi
47996
47997 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
47998 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
47999 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48000 fi
48001
48002 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48003 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48004 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48005 fi
48006
48007 COND_PLATFORM_MACOSX_1="#"
48008 if test "x$PLATFORM_MACOSX" = "x1" ; then
48009 COND_PLATFORM_MACOSX_1=""
48010 fi
48011
48012 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48013 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48014 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48015 fi
48016
48017 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48018 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48019 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48020 fi
48021
48022 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48023 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48024 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48025 fi
48026
48027 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48028 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48029 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48030 fi
48031
48032 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48033 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48034 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48035 fi
48036
48037 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48038 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48039 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48040 fi
48041
48042 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48043 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48044 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48045 fi
48046
48047 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48048 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48049 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48050 fi
48051
48052 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48053 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48054 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48055 fi
48056
48057 COND_PLATFORM_MACOS_1="#"
48058 if test "x$PLATFORM_MACOS" = "x1" ; then
48059 COND_PLATFORM_MACOS_1=""
48060 fi
48061
48062 COND_PLATFORM_MAC_1="#"
48063 if test "x$PLATFORM_MAC" = "x1" ; then
48064 COND_PLATFORM_MAC_1=""
48065 fi
48066
48067 COND_PLATFORM_MSDOS_0="#"
48068 if test "x$PLATFORM_MSDOS" = "x0" ; then
48069 COND_PLATFORM_MSDOS_0=""
48070 fi
48071
48072 COND_PLATFORM_MSDOS_1="#"
48073 if test "x$PLATFORM_MSDOS" = "x1" ; then
48074 COND_PLATFORM_MSDOS_1=""
48075 fi
48076
48077 COND_PLATFORM_OS2_1="#"
48078 if test "x$PLATFORM_OS2" = "x1" ; then
48079 COND_PLATFORM_OS2_1=""
48080 fi
48081
48082 COND_PLATFORM_UNIX_0="#"
48083 if test "x$PLATFORM_UNIX" = "x0" ; then
48084 COND_PLATFORM_UNIX_0=""
48085 fi
48086
48087 COND_PLATFORM_UNIX_1="#"
48088 if test "x$PLATFORM_UNIX" = "x1" ; then
48089 COND_PLATFORM_UNIX_1=""
48090 fi
48091
48092 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48093 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48094 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48095 fi
48096
48097 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48098 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48099 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48100 fi
48101
48102 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48103 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48104 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48105 fi
48106
48107 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48108 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48109 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48110 fi
48111
48112 COND_PLATFORM_WIN32_0="#"
48113 if test "x$PLATFORM_WIN32" = "x0" ; then
48114 COND_PLATFORM_WIN32_0=""
48115 fi
48116
48117 COND_PLATFORM_WIN32_1="#"
48118 if test "x$PLATFORM_WIN32" = "x1" ; then
48119 COND_PLATFORM_WIN32_1=""
48120 fi
48121
48122 COND_SHARED_0="#"
48123 if test "x$SHARED" = "x0" ; then
48124 COND_SHARED_0=""
48125 fi
48126
48127 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48128 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48129 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48130 fi
48131
48132 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48133 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48134 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48135 fi
48136
48137 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48138 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48139 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48140 fi
48141
48142 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48143 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48144 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48145 fi
48146
48147 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48148 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48149 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48150 fi
48151
48152 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48153 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48154 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48155 fi
48156
48157 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48158 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48159 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48160 fi
48161
48162 COND_SHARED_0_USE_XRC_1="#"
48163 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48164 COND_SHARED_0_USE_XRC_1=""
48165 fi
48166
48167 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48168 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48169 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48170 fi
48171
48172 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48173 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48174 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48175 fi
48176
48177 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48178 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48179 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48180 fi
48181
48182 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48183 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48184 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48185 fi
48186
48187 COND_SHARED_1="#"
48188 if test "x$SHARED" = "x1" ; then
48189 COND_SHARED_1=""
48190 fi
48191
48192 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48193 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48194 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48195 fi
48196
48197 COND_SHARED_1_USE_XRC_1="#"
48198 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48199 COND_SHARED_1_USE_XRC_1=""
48200 fi
48201
48202 COND_TOOLKIT_="#"
48203 if test "x$TOOLKIT" = "x" ; then
48204 COND_TOOLKIT_=""
48205 fi
48206
48207 COND_TOOLKIT_COCOA="#"
48208 if test "x$TOOLKIT" = "xCOCOA" ; then
48209 COND_TOOLKIT_COCOA=""
48210 fi
48211
48212 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48213 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48214 COND_TOOLKIT_COCOA_USE_GUI_1=""
48215 fi
48216
48217 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48218 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48219 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48220 fi
48221
48222 COND_TOOLKIT_DFB="#"
48223 if test "x$TOOLKIT" = "xDFB" ; then
48224 COND_TOOLKIT_DFB=""
48225 fi
48226
48227 COND_TOOLKIT_DFB_USE_GUI_1="#"
48228 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48229 COND_TOOLKIT_DFB_USE_GUI_1=""
48230 fi
48231
48232 COND_TOOLKIT_GTK="#"
48233 if test "x$TOOLKIT" = "xGTK" ; then
48234 COND_TOOLKIT_GTK=""
48235 fi
48236
48237 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48238 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48239 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48240 fi
48241
48242 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48243 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48244 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48245 fi
48246
48247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48248 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48249 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48250 fi
48251
48252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48253 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48254 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48255 fi
48256
48257 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48258 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48259 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48260 fi
48261
48262 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48263 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48264 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48265 fi
48266
48267 COND_TOOLKIT_GTK_USE_GUI_1="#"
48268 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48269 COND_TOOLKIT_GTK_USE_GUI_1=""
48270 fi
48271
48272 COND_TOOLKIT_MAC="#"
48273 if test "x$TOOLKIT" = "xMAC" ; then
48274 COND_TOOLKIT_MAC=""
48275 fi
48276
48277 COND_TOOLKIT_MAC_USE_GUI_1="#"
48278 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48279 COND_TOOLKIT_MAC_USE_GUI_1=""
48280 fi
48281
48282 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48283 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48284 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48285 fi
48286
48287 COND_TOOLKIT_MGL="#"
48288 if test "x$TOOLKIT" = "xMGL" ; then
48289 COND_TOOLKIT_MGL=""
48290 fi
48291
48292 COND_TOOLKIT_MGL_USE_GUI_1="#"
48293 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48294 COND_TOOLKIT_MGL_USE_GUI_1=""
48295 fi
48296
48297 COND_TOOLKIT_MOTIF="#"
48298 if test "x$TOOLKIT" = "xMOTIF" ; then
48299 COND_TOOLKIT_MOTIF=""
48300 fi
48301
48302 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48303 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48304 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48305 fi
48306
48307 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48308 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48309 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48310 fi
48311
48312 COND_TOOLKIT_MSW="#"
48313 if test "x$TOOLKIT" = "xMSW" ; then
48314 COND_TOOLKIT_MSW=""
48315 fi
48316
48317 COND_TOOLKIT_MSW_USE_GUI_1="#"
48318 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48319 COND_TOOLKIT_MSW_USE_GUI_1=""
48320 fi
48321
48322 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48323 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48324 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48325 fi
48326
48327 COND_TOOLKIT_MSW_WXUNIV_0="#"
48328 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48329 COND_TOOLKIT_MSW_WXUNIV_0=""
48330 fi
48331
48332 COND_TOOLKIT_PM="#"
48333 if test "x$TOOLKIT" = "xPM" ; then
48334 COND_TOOLKIT_PM=""
48335 fi
48336
48337 COND_TOOLKIT_PM_USE_GUI_1="#"
48338 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48339 COND_TOOLKIT_PM_USE_GUI_1=""
48340 fi
48341
48342 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48343 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48344 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48345 fi
48346
48347 COND_TOOLKIT_WINCE="#"
48348 if test "x$TOOLKIT" = "xWINCE" ; then
48349 COND_TOOLKIT_WINCE=""
48350 fi
48351
48352 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48353 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48354 COND_TOOLKIT_WINCE_USE_GUI_1=""
48355 fi
48356
48357 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48358 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48359 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48360 fi
48361
48362 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48363 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48364 COND_TOOLKIT_WINCE_WXUNIV_0=""
48365 fi
48366
48367 COND_TOOLKIT_X11="#"
48368 if test "x$TOOLKIT" = "xX11" ; then
48369 COND_TOOLKIT_X11=""
48370 fi
48371
48372 COND_TOOLKIT_X11_USE_GUI_1="#"
48373 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48374 COND_TOOLKIT_X11_USE_GUI_1=""
48375 fi
48376
48377 COND_UNICODE_1="#"
48378 if test "x$UNICODE" = "x1" ; then
48379 COND_UNICODE_1=""
48380 fi
48381
48382 COND_USE_EXCEPTIONS_0="#"
48383 if test "x$USE_EXCEPTIONS" = "x0" ; then
48384 COND_USE_EXCEPTIONS_0=""
48385 fi
48386
48387 COND_USE_EXCEPTIONS_1="#"
48388 if test "x$USE_EXCEPTIONS" = "x1" ; then
48389 COND_USE_EXCEPTIONS_1=""
48390 fi
48391
48392 COND_USE_GUI_0="#"
48393 if test "x$USE_GUI" = "x0" ; then
48394 COND_USE_GUI_0=""
48395 fi
48396
48397 COND_USE_GUI_1="#"
48398 if test "x$USE_GUI" = "x1" ; then
48399 COND_USE_GUI_1=""
48400 fi
48401
48402 COND_USE_GUI_1_WXUNIV_0="#"
48403 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48404 COND_USE_GUI_1_WXUNIV_0=""
48405 fi
48406
48407 COND_USE_GUI_1_WXUNIV_1="#"
48408 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48409 COND_USE_GUI_1_WXUNIV_1=""
48410 fi
48411
48412 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48413 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48414 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48415 fi
48416
48417 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48418 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48419 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48420 fi
48421
48422 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48423 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48424 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48425 fi
48426
48427 COND_USE_ODBC_1="#"
48428 if test "x$USE_ODBC" = "x1" ; then
48429 COND_USE_ODBC_1=""
48430 fi
48431
48432 COND_USE_OPENGL_1="#"
48433 if test "x$USE_OPENGL" = "x1" ; then
48434 COND_USE_OPENGL_1=""
48435 fi
48436
48437 COND_USE_PCH_1="#"
48438 if test "x$USE_PCH" = "x1" ; then
48439 COND_USE_PCH_1=""
48440 fi
48441
48442 COND_USE_PLUGINS_0="#"
48443 if test "x$USE_PLUGINS" = "x0" ; then
48444 COND_USE_PLUGINS_0=""
48445 fi
48446
48447 COND_USE_RTTI_0="#"
48448 if test "x$USE_RTTI" = "x0" ; then
48449 COND_USE_RTTI_0=""
48450 fi
48451
48452 COND_USE_RTTI_1="#"
48453 if test "x$USE_RTTI" = "x1" ; then
48454 COND_USE_RTTI_1=""
48455 fi
48456
48457 COND_USE_SOSYMLINKS_1="#"
48458 if test "x$USE_SOSYMLINKS" = "x1" ; then
48459 COND_USE_SOSYMLINKS_1=""
48460 fi
48461
48462 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48463 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48464 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48465 fi
48466
48467 COND_USE_SOVERLINUX_1="#"
48468 if test "x$USE_SOVERLINUX" = "x1" ; then
48469 COND_USE_SOVERLINUX_1=""
48470 fi
48471
48472 COND_USE_SOVERSION_0="#"
48473 if test "x$USE_SOVERSION" = "x0" ; then
48474 COND_USE_SOVERSION_0=""
48475 fi
48476
48477 COND_USE_SOVERSOLARIS_1="#"
48478 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48479 COND_USE_SOVERSOLARIS_1=""
48480 fi
48481
48482 COND_USE_THREADS_0="#"
48483 if test "x$USE_THREADS" = "x0" ; then
48484 COND_USE_THREADS_0=""
48485 fi
48486
48487 COND_USE_THREADS_1="#"
48488 if test "x$USE_THREADS" = "x1" ; then
48489 COND_USE_THREADS_1=""
48490 fi
48491
48492 COND_USE_XRC_1="#"
48493 if test "x$USE_XRC" = "x1" ; then
48494 COND_USE_XRC_1=""
48495 fi
48496
48497 COND_WINDOWS_IMPLIB_1="#"
48498 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48499 COND_WINDOWS_IMPLIB_1=""
48500 fi
48501
48502 COND_WITH_PLUGIN_SDL_1="#"
48503 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48504 COND_WITH_PLUGIN_SDL_1=""
48505 fi
48506
48507 COND_WXUNIV_0="#"
48508 if test "x$WXUNIV" = "x0" ; then
48509 COND_WXUNIV_0=""
48510 fi
48511
48512 COND_WXUNIV_1="#"
48513 if test "x$WXUNIV" = "x1" ; then
48514 COND_WXUNIV_1=""
48515 fi
48516
48517 COND_WXUSE_EXPAT_BUILTIN="#"
48518 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48519 COND_WXUSE_EXPAT_BUILTIN=""
48520 fi
48521
48522 COND_WXUSE_LIBJPEG_BUILTIN="#"
48523 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48524 COND_WXUSE_LIBJPEG_BUILTIN=""
48525 fi
48526
48527 COND_WXUSE_LIBPNG_BUILTIN="#"
48528 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48529 COND_WXUSE_LIBPNG_BUILTIN=""
48530 fi
48531
48532 COND_WXUSE_LIBTIFF_BUILTIN="#"
48533 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48534 COND_WXUSE_LIBTIFF_BUILTIN=""
48535 fi
48536
48537 COND_WXUSE_ODBC_BUILTIN="#"
48538 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48539 COND_WXUSE_ODBC_BUILTIN=""
48540 fi
48541
48542 COND_WXUSE_REGEX_BUILTIN="#"
48543 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48544 COND_WXUSE_REGEX_BUILTIN=""
48545 fi
48546
48547 COND_WXUSE_ZLIB_BUILTIN="#"
48548 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48549 COND_WXUSE_ZLIB_BUILTIN=""
48550 fi
48551
48552
48553
48554 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48555 { { 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
48556 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;}
48557 { (exit 1); exit 1; }; }
48558 fi
48559
48560 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48561 { { 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
48562 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;}
48563 { (exit 1); exit 1; }; }
48564 fi
48565
48566
48567 if test $GCC_PCH = 1
48568 then
48569 if test "$wx_cv_gcc_pch_bug" = yes; then
48570 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48571 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48572 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48573 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48574 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48575 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48576 fi
48577
48578 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48579 fi
48580
48581
48582 if test "$wxUSE_MAC" = 1 ; then
48583 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48584 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48585 mv temp bk-deps
48586 chmod +x bk-deps
48587 fi
48588 fi
48589
48590 if test "$wxUSE_SHARED" = "yes"; then
48591
48592 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48593 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48594
48595 case "${host}" in
48596 *-pc-os2_emx | *-pc-os2-emx )
48597 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48598 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48599 cp -p ${srcdir}/src/os2/dllnames.sh .
48600 cp -p ${srcdir}/src/os2/dllar.sh .
48601 ;;
48602 esac
48603 else
48604
48605 EXE_LINKER="$CXX -o"
48606
48607 fi
48608 if test "$wxUSE_OMF" = "yes"; then
48609 case "${host}" in
48610 *-pc-os2_emx | *-pc-os2-emx )
48611 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48612 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48613 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48614 ;;
48615 esac
48616 fi
48617
48618 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48619
48620 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48621
48622
48623
48624
48625
48626
48627
48628
48629
48630
48631
48632
48633
48634
48635
48636
48637
48638
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
48657
48658
48659
48660
48661
48662
48663
48664
48665
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48683 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48684 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48685 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48686 echo $ECHO_N "(cached) $ECHO_C" >&6
48687 else
48688 cat >conftest.make <<\_ACEOF
48689 SHELL = /bin/sh
48690 all:
48691 @echo '@@@%%%=$(MAKE)=@@@%%%'
48692 _ACEOF
48693 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48694 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48695 *@@@%%%=?*=@@@%%%*)
48696 eval ac_cv_prog_make_${ac_make}_set=yes;;
48697 *)
48698 eval ac_cv_prog_make_${ac_make}_set=no;;
48699 esac
48700 rm -f conftest.make
48701 fi
48702 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48703 { echo "$as_me:$LINENO: result: yes" >&5
48704 echo "${ECHO_T}yes" >&6; }
48705 SET_MAKE=
48706 else
48707 { echo "$as_me:$LINENO: result: no" >&5
48708 echo "${ECHO_T}no" >&6; }
48709 SET_MAKE="MAKE=${MAKE-make}"
48710 fi
48711
48712
48713
48714 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48715
48716
48717 if test "$USE_WIN32" = 1; then
48718 ac_config_commands="$ac_config_commands
48719 rcdefs.h
48720 "
48721
48722 fi
48723
48724 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48725
48726
48727 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48728
48729
48730 if test "$wx_cv_version_script" = "yes"; then
48731 ac_config_files="$ac_config_files version-script"
48732
48733 fi
48734 ac_config_files="$ac_config_files Makefile"
48735
48736
48737 ac_config_commands="$ac_config_commands wx-config"
48738
48739
48740
48741 if test "$wxWITH_SUBDIRS" != "no"; then
48742 if test "$wxUSE_GUI" = "yes"; then
48743 SUBDIRS="samples demos utils"
48744 else SUBDIRS="samples utils"
48745 fi
48746
48747
48748
48749 # Check whether --with-cppunit-prefix was given.
48750 if test "${with_cppunit_prefix+set}" = set; then
48751 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48752 else
48753 cppunit_config_prefix=""
48754 fi
48755
48756
48757 # Check whether --with-cppunit-exec-prefix was given.
48758 if test "${with_cppunit_exec_prefix+set}" = set; then
48759 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48760 else
48761 cppunit_config_exec_prefix=""
48762 fi
48763
48764
48765 if test x$cppunit_config_exec_prefix != x ; then
48766 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48767 if test x${CPPUNIT_CONFIG+set} != xset ; then
48768 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48769 fi
48770 fi
48771 if test x$cppunit_config_prefix != x ; then
48772 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48773 if test x${CPPUNIT_CONFIG+set} != xset ; then
48774 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48775 fi
48776 fi
48777
48778 # Extract the first word of "cppunit-config", so it can be a program name with args.
48779 set dummy cppunit-config; ac_word=$2
48780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48782 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48784 else
48785 case $CPPUNIT_CONFIG in
48786 [\\/]* | ?:[\\/]*)
48787 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48788 ;;
48789 *)
48790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48791 for as_dir in $PATH
48792 do
48793 IFS=$as_save_IFS
48794 test -z "$as_dir" && as_dir=.
48795 for ac_exec_ext in '' $ac_executable_extensions; do
48796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48797 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48799 break 2
48800 fi
48801 done
48802 done
48803 IFS=$as_save_IFS
48804
48805 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48806 ;;
48807 esac
48808 fi
48809 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48810 if test -n "$CPPUNIT_CONFIG"; then
48811 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48812 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48813 else
48814 { echo "$as_me:$LINENO: result: no" >&5
48815 echo "${ECHO_T}no" >&6; }
48816 fi
48817
48818
48819 cppunit_version_min=1.8.0
48820
48821 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48822 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48823 no_cppunit=""
48824 if test "$CPPUNIT_CONFIG" = "no" ; then
48825 { echo "$as_me:$LINENO: result: no" >&5
48826 echo "${ECHO_T}no" >&6; }
48827 no_cppunit=yes
48828 else
48829 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48830 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48831 cppunit_version=`$CPPUNIT_CONFIG --version`
48832
48833 cppunit_major_version=`echo $cppunit_version | \
48834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48835 cppunit_minor_version=`echo $cppunit_version | \
48836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48837 cppunit_micro_version=`echo $cppunit_version | \
48838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48839
48840 cppunit_major_min=`echo $cppunit_version_min | \
48841 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48842 cppunit_minor_min=`echo $cppunit_version_min | \
48843 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48844 cppunit_micro_min=`echo $cppunit_version_min | \
48845 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48846
48847 cppunit_version_proper=`expr \
48848 $cppunit_major_version \> $cppunit_major_min \| \
48849 $cppunit_major_version \= $cppunit_major_min \& \
48850 $cppunit_minor_version \> $cppunit_minor_min \| \
48851 $cppunit_major_version \= $cppunit_major_min \& \
48852 $cppunit_minor_version \= $cppunit_minor_min \& \
48853 $cppunit_micro_version \>= $cppunit_micro_min `
48854
48855 if test "$cppunit_version_proper" = "1" ; then
48856 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48857 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
48858 else
48859 { echo "$as_me:$LINENO: result: no" >&5
48860 echo "${ECHO_T}no" >&6; }
48861 no_cppunit=yes
48862 fi
48863 fi
48864
48865 if test "x$no_cppunit" = x ; then
48866 SUBDIRS="$SUBDIRS tests"
48867 else
48868 CPPUNIT_CFLAGS=""
48869 CPPUNIT_LIBS=""
48870 :
48871 fi
48872
48873
48874
48875
48876
48877 for subdir in `echo $SUBDIRS`; do
48878 if test -d ${srcdir}/${subdir} ; then
48879 if test "$wxUSE_GUI" = "yes"; then
48880 if test ${subdir} = "samples"; then
48881 makefiles="samples/Makefile.in $makefiles"
48882 for sample in `echo $SAMPLES_SUBDIRS`; do
48883 if test -d $srcdir/samples/$sample; then
48884 makefiles="samples/$sample/Makefile.in $makefiles"
48885 fi
48886 done
48887 else
48888 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48889 eval "disabled=\$$disabled_var"
48890 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48891 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
48892 fi
48893 else if test ${subdir} = "samples"; then
48894 makefiles="samples/Makefile.in samples/console/Makefile.in"
48895 elif test ${subdir} = "utils"; then
48896 makefiles=""
48897 for util in HelpGen tex2rtf ; do
48898 if test -d $srcdir/utils/$util ; then
48899 makefiles="utils/$util/Makefile.in \
48900 utils/$util/src/Makefile.in \
48901 $makefiles"
48902 fi
48903 done
48904 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48905 fi
48906 fi
48907
48908 for mkin in $makefiles ; do
48909 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48910 ac_config_files="$ac_config_files $mk"
48911
48912 done
48913 fi
48914 done
48915 fi
48916 cat >confcache <<\_ACEOF
48917 # This file is a shell script that caches the results of configure
48918 # tests run on this system so they can be shared between configure
48919 # scripts and configure runs, see configure's option --config-cache.
48920 # It is not useful on other systems. If it contains results you don't
48921 # want to keep, you may remove or edit it.
48922 #
48923 # config.status only pays attention to the cache file if you give it
48924 # the --recheck option to rerun configure.
48925 #
48926 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48927 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48928 # following values.
48929
48930 _ACEOF
48931
48932 # The following way of writing the cache mishandles newlines in values,
48933 # but we know of no workaround that is simple, portable, and efficient.
48934 # So, we kill variables containing newlines.
48935 # Ultrix sh set writes to stderr and can't be redirected directly,
48936 # and sets the high bit in the cache file unless we assign to the vars.
48937 (
48938 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
48939 eval ac_val=\$$ac_var
48940 case $ac_val in #(
48941 *${as_nl}*)
48942 case $ac_var in #(
48943 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
48944 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
48945 esac
48946 case $ac_var in #(
48947 _ | IFS | as_nl) ;; #(
48948 *) $as_unset $ac_var ;;
48949 esac ;;
48950 esac
48951 done
48952
48953 (set) 2>&1 |
48954 case $as_nl`(ac_space=' '; set) 2>&1` in #(
48955 *${as_nl}ac_space=\ *)
48956 # `set' does not quote correctly, so add quotes (double-quote
48957 # substitution turns \\\\ into \\, and sed turns \\ into \).
48958 sed -n \
48959 "s/'/'\\\\''/g;
48960 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48961 ;; #(
48962 *)
48963 # `set' quotes correctly as required by POSIX, so do not add quotes.
48964 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
48965 ;;
48966 esac |
48967 sort
48968 ) |
48969 sed '
48970 /^ac_cv_env_/b end
48971 t clear
48972 :clear
48973 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48974 t end
48975 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48976 :end' >>confcache
48977 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
48978 if test -w "$cache_file"; then
48979 test "x$cache_file" != "x/dev/null" &&
48980 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
48981 echo "$as_me: updating cache $cache_file" >&6;}
48982 cat confcache >$cache_file
48983 else
48984 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
48985 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
48986 fi
48987 fi
48988 rm -f confcache
48989
48990 test "x$prefix" = xNONE && prefix=$ac_default_prefix
48991 # Let make expand exec_prefix.
48992 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
48993
48994 DEFS=-DHAVE_CONFIG_H
48995
48996 ac_libobjs=
48997 ac_ltlibobjs=
48998 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
48999 # 1. Remove the extension, and $U if already installed.
49000 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49001 ac_i=`echo "$ac_i" | sed "$ac_script"`
49002 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49003 # will be set to the directory where LIBOBJS objects are built.
49004 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49005 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49006 done
49007 LIBOBJS=$ac_libobjs
49008
49009 LTLIBOBJS=$ac_ltlibobjs
49010
49011
49012
49013 : ${CONFIG_STATUS=./config.status}
49014 ac_clean_files_save=$ac_clean_files
49015 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49016 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49017 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49018 cat >$CONFIG_STATUS <<_ACEOF
49019 #! $SHELL
49020 # Generated by $as_me.
49021 # Run this file to recreate the current configuration.
49022 # Compiler output produced by configure, useful for debugging
49023 # configure, is in config.log if it exists.
49024
49025 debug=false
49026 ac_cs_recheck=false
49027 ac_cs_silent=false
49028 SHELL=\${CONFIG_SHELL-$SHELL}
49029 _ACEOF
49030
49031 cat >>$CONFIG_STATUS <<\_ACEOF
49032 ## --------------------- ##
49033 ## M4sh Initialization. ##
49034 ## --------------------- ##
49035
49036 # Be more Bourne compatible
49037 DUALCASE=1; export DUALCASE # for MKS sh
49038 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49039 emulate sh
49040 NULLCMD=:
49041 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49042 # is contrary to our usage. Disable this feature.
49043 alias -g '${1+"$@"}'='"$@"'
49044 setopt NO_GLOB_SUBST
49045 else
49046 case `(set -o) 2>/dev/null` in
49047 *posix*) set -o posix ;;
49048 esac
49049
49050 fi
49051
49052
49053
49054
49055 # PATH needs CR
49056 # Avoid depending upon Character Ranges.
49057 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49058 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49059 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49060 as_cr_digits='0123456789'
49061 as_cr_alnum=$as_cr_Letters$as_cr_digits
49062
49063 # The user is always right.
49064 if test "${PATH_SEPARATOR+set}" != set; then
49065 echo "#! /bin/sh" >conf$$.sh
49066 echo "exit 0" >>conf$$.sh
49067 chmod +x conf$$.sh
49068 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49069 PATH_SEPARATOR=';'
49070 else
49071 PATH_SEPARATOR=:
49072 fi
49073 rm -f conf$$.sh
49074 fi
49075
49076 # Support unset when possible.
49077 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49078 as_unset=unset
49079 else
49080 as_unset=false
49081 fi
49082
49083
49084 # IFS
49085 # We need space, tab and new line, in precisely that order. Quoting is
49086 # there to prevent editors from complaining about space-tab.
49087 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49088 # splitting by setting IFS to empty value.)
49089 as_nl='
49090 '
49091 IFS=" "" $as_nl"
49092
49093 # Find who we are. Look in the path if we contain no directory separator.
49094 case $0 in
49095 *[\\/]* ) as_myself=$0 ;;
49096 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49097 for as_dir in $PATH
49098 do
49099 IFS=$as_save_IFS
49100 test -z "$as_dir" && as_dir=.
49101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49102 done
49103 IFS=$as_save_IFS
49104
49105 ;;
49106 esac
49107 # We did not find ourselves, most probably we were run as `sh COMMAND'
49108 # in which case we are not to be found in the path.
49109 if test "x$as_myself" = x; then
49110 as_myself=$0
49111 fi
49112 if test ! -f "$as_myself"; then
49113 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49114 { (exit 1); exit 1; }
49115 fi
49116
49117 # Work around bugs in pre-3.0 UWIN ksh.
49118 for as_var in ENV MAIL MAILPATH
49119 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49120 done
49121 PS1='$ '
49122 PS2='> '
49123 PS4='+ '
49124
49125 # NLS nuisances.
49126 for as_var in \
49127 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49128 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49129 LC_TELEPHONE LC_TIME
49130 do
49131 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49132 eval $as_var=C; export $as_var
49133 else
49134 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49135 fi
49136 done
49137
49138 # Required to use basename.
49139 if expr a : '\(a\)' >/dev/null 2>&1 &&
49140 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49141 as_expr=expr
49142 else
49143 as_expr=false
49144 fi
49145
49146 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49147 as_basename=basename
49148 else
49149 as_basename=false
49150 fi
49151
49152
49153 # Name of the executable.
49154 as_me=`$as_basename -- "$0" ||
49155 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49156 X"$0" : 'X\(//\)$' \| \
49157 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49158 echo X/"$0" |
49159 sed '/^.*\/\([^/][^/]*\)\/*$/{
49160 s//\1/
49161 q
49162 }
49163 /^X\/\(\/\/\)$/{
49164 s//\1/
49165 q
49166 }
49167 /^X\/\(\/\).*/{
49168 s//\1/
49169 q
49170 }
49171 s/.*/./; q'`
49172
49173 # CDPATH.
49174 $as_unset CDPATH
49175
49176
49177
49178 as_lineno_1=$LINENO
49179 as_lineno_2=$LINENO
49180 test "x$as_lineno_1" != "x$as_lineno_2" &&
49181 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49182
49183 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49184 # uniformly replaced by the line number. The first 'sed' inserts a
49185 # line-number line after each line using $LINENO; the second 'sed'
49186 # does the real work. The second script uses 'N' to pair each
49187 # line-number line with the line containing $LINENO, and appends
49188 # trailing '-' during substitution so that $LINENO is not a special
49189 # case at line end.
49190 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49191 # scripts with optimization help from Paolo Bonzini. Blame Lee
49192 # E. McMahon (1931-1989) for sed's syntax. :-)
49193 sed -n '
49194 p
49195 /[$]LINENO/=
49196 ' <$as_myself |
49197 sed '
49198 s/[$]LINENO.*/&-/
49199 t lineno
49200 b
49201 :lineno
49202 N
49203 :loop
49204 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49205 t loop
49206 s/-\n.*//
49207 ' >$as_me.lineno &&
49208 chmod +x "$as_me.lineno" ||
49209 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49210 { (exit 1); exit 1; }; }
49211
49212 # Don't try to exec as it changes $[0], causing all sort of problems
49213 # (the dirname of $[0] is not the place where we might find the
49214 # original and so on. Autoconf is especially sensitive to this).
49215 . "./$as_me.lineno"
49216 # Exit status is that of the last command.
49217 exit
49218 }
49219
49220
49221 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49222 as_dirname=dirname
49223 else
49224 as_dirname=false
49225 fi
49226
49227 ECHO_C= ECHO_N= ECHO_T=
49228 case `echo -n x` in
49229 -n*)
49230 case `echo 'x\c'` in
49231 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49232 *) ECHO_C='\c';;
49233 esac;;
49234 *)
49235 ECHO_N='-n';;
49236 esac
49237
49238 if expr a : '\(a\)' >/dev/null 2>&1 &&
49239 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49240 as_expr=expr
49241 else
49242 as_expr=false
49243 fi
49244
49245 rm -f conf$$ conf$$.exe conf$$.file
49246 if test -d conf$$.dir; then
49247 rm -f conf$$.dir/conf$$.file
49248 else
49249 rm -f conf$$.dir
49250 mkdir conf$$.dir
49251 fi
49252 echo >conf$$.file
49253 if ln -s conf$$.file conf$$ 2>/dev/null; then
49254 as_ln_s='ln -s'
49255 # ... but there are two gotchas:
49256 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49257 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49258 # In both cases, we have to default to `cp -p'.
49259 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49260 as_ln_s='cp -p'
49261 elif ln conf$$.file conf$$ 2>/dev/null; then
49262 as_ln_s=ln
49263 else
49264 as_ln_s='cp -p'
49265 fi
49266 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49267 rmdir conf$$.dir 2>/dev/null
49268
49269 if mkdir -p . 2>/dev/null; then
49270 as_mkdir_p=:
49271 else
49272 test -d ./-p && rmdir ./-p
49273 as_mkdir_p=false
49274 fi
49275
49276 if test -x / >/dev/null 2>&1; then
49277 as_test_x='test -x'
49278 else
49279 if ls -dL / >/dev/null 2>&1; then
49280 as_ls_L_option=L
49281 else
49282 as_ls_L_option=
49283 fi
49284 as_test_x='
49285 eval sh -c '\''
49286 if test -d "$1"; then
49287 test -d "$1/.";
49288 else
49289 case $1 in
49290 -*)set "./$1";;
49291 esac;
49292 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49293 ???[sx]*):;;*)false;;esac;fi
49294 '\'' sh
49295 '
49296 fi
49297 as_executable_p=$as_test_x
49298
49299 # Sed expression to map a string onto a valid CPP name.
49300 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49301
49302 # Sed expression to map a string onto a valid variable name.
49303 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49304
49305
49306 exec 6>&1
49307
49308 # Save the log message, to keep $[0] and so on meaningful, and to
49309 # report actual input values of CONFIG_FILES etc. instead of their
49310 # values after options handling.
49311 ac_log="
49312 This file was extended by wxWidgets $as_me 2.9.0, which was
49313 generated by GNU Autoconf 2.61. Invocation command line was
49314
49315 CONFIG_FILES = $CONFIG_FILES
49316 CONFIG_HEADERS = $CONFIG_HEADERS
49317 CONFIG_LINKS = $CONFIG_LINKS
49318 CONFIG_COMMANDS = $CONFIG_COMMANDS
49319 $ $0 $@
49320
49321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49322 "
49323
49324 _ACEOF
49325
49326 cat >>$CONFIG_STATUS <<_ACEOF
49327 # Files that config.status was made for.
49328 config_files="$ac_config_files"
49329 config_headers="$ac_config_headers"
49330 config_commands="$ac_config_commands"
49331
49332 _ACEOF
49333
49334 cat >>$CONFIG_STATUS <<\_ACEOF
49335 ac_cs_usage="\
49336 \`$as_me' instantiates files from templates according to the
49337 current configuration.
49338
49339 Usage: $0 [OPTIONS] [FILE]...
49340
49341 -h, --help print this help, then exit
49342 -V, --version print version number and configuration settings, then exit
49343 -q, --quiet do not print progress messages
49344 -d, --debug don't remove temporary files
49345 --recheck update $as_me by reconfiguring in the same conditions
49346 --file=FILE[:TEMPLATE]
49347 instantiate the configuration file FILE
49348 --header=FILE[:TEMPLATE]
49349 instantiate the configuration header FILE
49350
49351 Configuration files:
49352 $config_files
49353
49354 Configuration headers:
49355 $config_headers
49356
49357 Configuration commands:
49358 $config_commands
49359
49360 Report bugs to <bug-autoconf@gnu.org>."
49361
49362 _ACEOF
49363 cat >>$CONFIG_STATUS <<_ACEOF
49364 ac_cs_version="\\
49365 wxWidgets config.status 2.9.0
49366 configured by $0, generated by GNU Autoconf 2.61,
49367 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49368
49369 Copyright (C) 2006 Free Software Foundation, Inc.
49370 This config.status script is free software; the Free Software Foundation
49371 gives unlimited permission to copy, distribute and modify it."
49372
49373 ac_pwd='$ac_pwd'
49374 srcdir='$srcdir'
49375 INSTALL='$INSTALL'
49376 _ACEOF
49377
49378 cat >>$CONFIG_STATUS <<\_ACEOF
49379 # If no file are specified by the user, then we need to provide default
49380 # value. By we need to know if files were specified by the user.
49381 ac_need_defaults=:
49382 while test $# != 0
49383 do
49384 case $1 in
49385 --*=*)
49386 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49387 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49388 ac_shift=:
49389 ;;
49390 *)
49391 ac_option=$1
49392 ac_optarg=$2
49393 ac_shift=shift
49394 ;;
49395 esac
49396
49397 case $ac_option in
49398 # Handling of the options.
49399 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49400 ac_cs_recheck=: ;;
49401 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49402 echo "$ac_cs_version"; exit ;;
49403 --debug | --debu | --deb | --de | --d | -d )
49404 debug=: ;;
49405 --file | --fil | --fi | --f )
49406 $ac_shift
49407 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49408 ac_need_defaults=false;;
49409 --header | --heade | --head | --hea )
49410 $ac_shift
49411 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49412 ac_need_defaults=false;;
49413 --he | --h)
49414 # Conflict between --help and --header
49415 { echo "$as_me: error: ambiguous option: $1
49416 Try \`$0 --help' for more information." >&2
49417 { (exit 1); exit 1; }; };;
49418 --help | --hel | -h )
49419 echo "$ac_cs_usage"; exit ;;
49420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49421 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49422 ac_cs_silent=: ;;
49423
49424 # This is an error.
49425 -*) { echo "$as_me: error: unrecognized option: $1
49426 Try \`$0 --help' for more information." >&2
49427 { (exit 1); exit 1; }; } ;;
49428
49429 *) ac_config_targets="$ac_config_targets $1"
49430 ac_need_defaults=false ;;
49431
49432 esac
49433 shift
49434 done
49435
49436 ac_configure_extra_args=
49437
49438 if $ac_cs_silent; then
49439 exec 6>/dev/null
49440 ac_configure_extra_args="$ac_configure_extra_args --silent"
49441 fi
49442
49443 _ACEOF
49444 cat >>$CONFIG_STATUS <<_ACEOF
49445 if \$ac_cs_recheck; then
49446 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49447 CONFIG_SHELL=$SHELL
49448 export CONFIG_SHELL
49449 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49450 fi
49451
49452 _ACEOF
49453 cat >>$CONFIG_STATUS <<\_ACEOF
49454 exec 5>>config.log
49455 {
49456 echo
49457 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49458 ## Running $as_me. ##
49459 _ASBOX
49460 echo "$ac_log"
49461 } >&5
49462
49463 _ACEOF
49464 cat >>$CONFIG_STATUS <<_ACEOF
49465 #
49466 # INIT-COMMANDS
49467 #
49468
49469 CPP="$CPP"
49470 infile="$srcdir/include/wx/msw/genrcdefs.h"
49471 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49472
49473
49474 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49475 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49476 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49477 LN_S="${LN_S}"
49478
49479
49480 _ACEOF
49481
49482 cat >>$CONFIG_STATUS <<\_ACEOF
49483
49484 # Handling of arguments.
49485 for ac_config_target in $ac_config_targets
49486 do
49487 case $ac_config_target in
49488 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49489 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49490 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49491 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49492 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49493 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49494 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49495 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49496
49497 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49498 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49499 { (exit 1); exit 1; }; };;
49500 esac
49501 done
49502
49503
49504 # If the user did not use the arguments to specify the items to instantiate,
49505 # then the envvar interface is used. Set only those that are not.
49506 # We use the long form for the default assignment because of an extremely
49507 # bizarre bug on SunOS 4.1.3.
49508 if $ac_need_defaults; then
49509 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49510 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49511 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49512 fi
49513
49514 # Have a temporary directory for convenience. Make it in the build tree
49515 # simply because there is no reason against having it here, and in addition,
49516 # creating and moving files from /tmp can sometimes cause problems.
49517 # Hook for its removal unless debugging.
49518 # Note that there is a small window in which the directory will not be cleaned:
49519 # after its creation but before its name has been assigned to `$tmp'.
49520 $debug ||
49521 {
49522 tmp=
49523 trap 'exit_status=$?
49524 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49525 ' 0
49526 trap '{ (exit 1); exit 1; }' 1 2 13 15
49527 }
49528 # Create a (secure) tmp directory for tmp files.
49529
49530 {
49531 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49532 test -n "$tmp" && test -d "$tmp"
49533 } ||
49534 {
49535 tmp=./conf$$-$RANDOM
49536 (umask 077 && mkdir "$tmp")
49537 } ||
49538 {
49539 echo "$me: cannot create a temporary directory in ." >&2
49540 { (exit 1); exit 1; }
49541 }
49542
49543 #
49544 # Set up the sed scripts for CONFIG_FILES section.
49545 #
49546
49547 # No need to generate the scripts if there are no CONFIG_FILES.
49548 # This happens for instance when ./config.status config.h
49549 if test -n "$CONFIG_FILES"; then
49550
49551 _ACEOF
49552
49553
49554
49555 ac_delim='%!_!# '
49556 for ac_last_try in false false false false false :; do
49557 cat >conf$$subs.sed <<_ACEOF
49558 SHELL!$SHELL$ac_delim
49559 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49560 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49561 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49562 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49563 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49564 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49565 exec_prefix!$exec_prefix$ac_delim
49566 prefix!$prefix$ac_delim
49567 program_transform_name!$program_transform_name$ac_delim
49568 bindir!$bindir$ac_delim
49569 sbindir!$sbindir$ac_delim
49570 libexecdir!$libexecdir$ac_delim
49571 datarootdir!$datarootdir$ac_delim
49572 datadir!$datadir$ac_delim
49573 sysconfdir!$sysconfdir$ac_delim
49574 sharedstatedir!$sharedstatedir$ac_delim
49575 localstatedir!$localstatedir$ac_delim
49576 includedir!$includedir$ac_delim
49577 oldincludedir!$oldincludedir$ac_delim
49578 docdir!$docdir$ac_delim
49579 infodir!$infodir$ac_delim
49580 htmldir!$htmldir$ac_delim
49581 dvidir!$dvidir$ac_delim
49582 pdfdir!$pdfdir$ac_delim
49583 psdir!$psdir$ac_delim
49584 libdir!$libdir$ac_delim
49585 localedir!$localedir$ac_delim
49586 mandir!$mandir$ac_delim
49587 DEFS!$DEFS$ac_delim
49588 ECHO_C!$ECHO_C$ac_delim
49589 ECHO_N!$ECHO_N$ac_delim
49590 ECHO_T!$ECHO_T$ac_delim
49591 LIBS!$LIBS$ac_delim
49592 build_alias!$build_alias$ac_delim
49593 host_alias!$host_alias$ac_delim
49594 target_alias!$target_alias$ac_delim
49595 build!$build$ac_delim
49596 build_cpu!$build_cpu$ac_delim
49597 build_vendor!$build_vendor$ac_delim
49598 build_os!$build_os$ac_delim
49599 host!$host$ac_delim
49600 host_cpu!$host_cpu$ac_delim
49601 host_vendor!$host_vendor$ac_delim
49602 host_os!$host_os$ac_delim
49603 target!$target$ac_delim
49604 target_cpu!$target_cpu$ac_delim
49605 target_vendor!$target_vendor$ac_delim
49606 target_os!$target_os$ac_delim
49607 wx_top_builddir!$wx_top_builddir$ac_delim
49608 CC!$CC$ac_delim
49609 CFLAGS!$CFLAGS$ac_delim
49610 LDFLAGS!$LDFLAGS$ac_delim
49611 CPPFLAGS!$CPPFLAGS$ac_delim
49612 ac_ct_CC!$ac_ct_CC$ac_delim
49613 EXEEXT!$EXEEXT$ac_delim
49614 OBJEXT!$OBJEXT$ac_delim
49615 CPP!$CPP$ac_delim
49616 GREP!$GREP$ac_delim
49617 EGREP!$EGREP$ac_delim
49618 CXX!$CXX$ac_delim
49619 CXXFLAGS!$CXXFLAGS$ac_delim
49620 ac_ct_CXX!$ac_ct_CXX$ac_delim
49621 RANLIB!$RANLIB$ac_delim
49622 AR!$AR$ac_delim
49623 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49624 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49625 INSTALL_DATA!$INSTALL_DATA$ac_delim
49626 STRIP!$STRIP$ac_delim
49627 WINDRES!$WINDRES$ac_delim
49628 DLLTOOL!$DLLTOOL$ac_delim
49629 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49630 LN_S!$LN_S$ac_delim
49631 subdirs!$subdirs$ac_delim
49632 PKG_CONFIG!$PKG_CONFIG$ac_delim
49633 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49634 GTK_LIBS!$GTK_LIBS$ac_delim
49635 GTK_CONFIG!$GTK_CONFIG$ac_delim
49636 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49637 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49638 XMKMF!$XMKMF$ac_delim
49639 X_CFLAGS!$X_CFLAGS$ac_delim
49640 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49641 X_LIBS!$X_LIBS$ac_delim
49642 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49643 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49644 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49645 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49646 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49647 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49648 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49649 REZ!$REZ$ac_delim
49650 DEREZ!$DEREZ$ac_delim
49651 SETFILE!$SETFILE$ac_delim
49652 LIBICONV!$LIBICONV$ac_delim
49653 SDL_CONFIG!$SDL_CONFIG$ac_delim
49654 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49655 _ACEOF
49656
49657 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49658 break
49659 elif $ac_last_try; then
49660 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49661 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49662 { (exit 1); exit 1; }; }
49663 else
49664 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49665 fi
49666 done
49667
49668 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49669 if test -n "$ac_eof"; then
49670 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49671 ac_eof=`expr $ac_eof + 1`
49672 fi
49673
49674 cat >>$CONFIG_STATUS <<_ACEOF
49675 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49677 _ACEOF
49678 sed '
49679 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49680 s/^/s,@/; s/!/@,|#_!!_#|/
49681 :n
49682 t n
49683 s/'"$ac_delim"'$/,g/; t
49684 s/$/\\/; p
49685 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49686 ' >>$CONFIG_STATUS <conf$$subs.sed
49687 rm -f conf$$subs.sed
49688 cat >>$CONFIG_STATUS <<_ACEOF
49689 CEOF$ac_eof
49690 _ACEOF
49691
49692
49693 ac_delim='%!_!# '
49694 for ac_last_try in false false false false false :; do
49695 cat >conf$$subs.sed <<_ACEOF
49696 SDL_LIBS!$SDL_LIBS$ac_delim
49697 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49698 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49699 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49700 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49701 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49702 HILDON_LIBS!$HILDON_LIBS$ac_delim
49703 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49704 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49705 GST_CFLAGS!$GST_CFLAGS$ac_delim
49706 GST_LIBS!$GST_LIBS$ac_delim
49707 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49708 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49709 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49710 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49711 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49712 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49713 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49714 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49715 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49716 VENDOR!$VENDOR$ac_delim
49717 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49718 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49719 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49720 WXUNIV!$WXUNIV$ac_delim
49721 MONOLITHIC!$MONOLITHIC$ac_delim
49722 USE_PLUGINS!$USE_PLUGINS$ac_delim
49723 EXTRALIBS!$EXTRALIBS$ac_delim
49724 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49725 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49726 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49727 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49728 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49729 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49730 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49731 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49732 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49733 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49734 UNICODE!$UNICODE$ac_delim
49735 BUILD!$BUILD$ac_delim
49736 DEBUG_INFO!$DEBUG_INFO$ac_delim
49737 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49738 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49739 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49740 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49741 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49742 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49743 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49744 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49745 SET_MAKE!$SET_MAKE$ac_delim
49746 MAKE_SET!$MAKE_SET$ac_delim
49747 AROPTIONS!$AROPTIONS$ac_delim
49748 NM!$NM$ac_delim
49749 INSTALL_DIR!$INSTALL_DIR$ac_delim
49750 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49751 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49752 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49753 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49754 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49755 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49756 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49757 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49758 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49759 SO_SUFFIX!$SO_SUFFIX$ac_delim
49760 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49761 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49762 LIBPREFIX!$LIBPREFIX$ac_delim
49763 LIBEXT!$LIBEXT$ac_delim
49764 DLLPREFIX!$DLLPREFIX$ac_delim
49765 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49766 dlldir!$dlldir$ac_delim
49767 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49768 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49769 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49770 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49771 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49772 PIC_FLAG!$PIC_FLAG$ac_delim
49773 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49774 USE_SOVERSION!$USE_SOVERSION$ac_delim
49775 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49776 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49777 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49778 USE_MACVERSION!$USE_MACVERSION$ac_delim
49779 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49780 SONAME_FLAG!$SONAME_FLAG$ac_delim
49781 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49782 BK_DEPS!$BK_DEPS$ac_delim
49783 GCC_PCH!$GCC_PCH$ac_delim
49784 ICC_PCH!$ICC_PCH$ac_delim
49785 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49786 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49787 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49788 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49789 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49790 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49791 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49792 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49793 _ACEOF
49794
49795 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49796 break
49797 elif $ac_last_try; then
49798 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49799 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49800 { (exit 1); exit 1; }; }
49801 else
49802 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49803 fi
49804 done
49805
49806 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49807 if test -n "$ac_eof"; then
49808 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49809 ac_eof=`expr $ac_eof + 1`
49810 fi
49811
49812 cat >>$CONFIG_STATUS <<_ACEOF
49813 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49814 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49815 _ACEOF
49816 sed '
49817 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49818 s/^/s,@/; s/!/@,|#_!!_#|/
49819 :n
49820 t n
49821 s/'"$ac_delim"'$/,g/; t
49822 s/$/\\/; p
49823 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49824 ' >>$CONFIG_STATUS <conf$$subs.sed
49825 rm -f conf$$subs.sed
49826 cat >>$CONFIG_STATUS <<_ACEOF
49827 CEOF$ac_eof
49828 _ACEOF
49829
49830
49831 ac_delim='%!_!# '
49832 for ac_last_try in false false false false false :; do
49833 cat >conf$$subs.sed <<_ACEOF
49834 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49835 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49836 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49837 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49838 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49839 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49840 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49841 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49842 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49843 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49844 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
49845 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
49846 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
49847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
49848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
49850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
49851 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
49852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
49853 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
49854 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
49855 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
49856 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
49857 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
49858 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
49859 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
49860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
49861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
49862 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
49863 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
49864 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
49865 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
49866 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
49867 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
49868 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49869 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
49870 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
49871 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
49872 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
49873 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
49874 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
49875 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
49876 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
49877 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
49878 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
49879 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
49880 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
49881 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
49882 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
49883 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
49884 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
49885 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
49886 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
49887 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
49888 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
49889 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
49890 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
49891 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
49892 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
49893 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
49894 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
49895 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
49896 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
49897 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
49898 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
49899 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
49900 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
49901 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
49902 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
49903 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
49904 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
49905 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
49906 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
49907 COND_SHARED_0!$COND_SHARED_0$ac_delim
49908 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
49909 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
49910 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
49911 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
49912 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
49913 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
49914 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
49915 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
49916 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
49917 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
49918 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
49919 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
49920 COND_SHARED_1!$COND_SHARED_1$ac_delim
49921 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
49922 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
49923 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
49924 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
49925 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
49926 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
49927 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
49928 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
49929 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
49930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
49931 _ACEOF
49932
49933 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49934 break
49935 elif $ac_last_try; then
49936 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49937 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49938 { (exit 1); exit 1; }; }
49939 else
49940 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49941 fi
49942 done
49943
49944 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49945 if test -n "$ac_eof"; then
49946 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49947 ac_eof=`expr $ac_eof + 1`
49948 fi
49949
49950 cat >>$CONFIG_STATUS <<_ACEOF
49951 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
49952 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49953 _ACEOF
49954 sed '
49955 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49956 s/^/s,@/; s/!/@,|#_!!_#|/
49957 :n
49958 t n
49959 s/'"$ac_delim"'$/,g/; t
49960 s/$/\\/; p
49961 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49962 ' >>$CONFIG_STATUS <conf$$subs.sed
49963 rm -f conf$$subs.sed
49964 cat >>$CONFIG_STATUS <<_ACEOF
49965 CEOF$ac_eof
49966 _ACEOF
49967
49968
49969 ac_delim='%!_!# '
49970 for ac_last_try in false false false false false :; do
49971 cat >conf$$subs.sed <<_ACEOF
49972 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
49973 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
49974 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
49975 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
49976 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
49977 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
49978 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
49979 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
49980 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
49981 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
49982 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
49983 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
49984 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
49985 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
49986 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
49987 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
49988 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
49989 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
49990 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
49991 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
49992 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
49993 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
49994 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
49995 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
49996 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
49997 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
49998 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
49999 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50000 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50001 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50002 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50003 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50004 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50005 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50006 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50007 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50008 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50009 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50010 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50011 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50012 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50013 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50014 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50015 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50016 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50017 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50018 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50019 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50020 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50021 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50022 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50023 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50024 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50025 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50026 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50027 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50028 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50029 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50030 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50031 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50032 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50033 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50034 SHARED!$SHARED$ac_delim
50035 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50036 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50037 USE_GUI!$USE_GUI$ac_delim
50038 AFMINSTALL!$AFMINSTALL$ac_delim
50039 WIN32INSTALL!$WIN32INSTALL$ac_delim
50040 TOOLKIT!$TOOLKIT$ac_delim
50041 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50042 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50043 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50044 cross_compiling!$cross_compiling$ac_delim
50045 WIDGET_SET!$WIDGET_SET$ac_delim
50046 WX_RELEASE!$WX_RELEASE$ac_delim
50047 WX_VERSION!$WX_VERSION$ac_delim
50048 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50049 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50050 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50051 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50052 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50053 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50054 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50055 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50056 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50057 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50058 EXE_LINKER!$EXE_LINKER$ac_delim
50059 GUIDIST!$GUIDIST$ac_delim
50060 DISTDIR!$DISTDIR$ac_delim
50061 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50062 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50063 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50064 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50065 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50066 RESCOMP!$RESCOMP$ac_delim
50067 RESFLAGS!$RESFLAGS$ac_delim
50068 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50069 _ACEOF
50070
50071 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50072 break
50073 elif $ac_last_try; then
50074 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50075 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50076 { (exit 1); exit 1; }; }
50077 else
50078 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50079 fi
50080 done
50081
50082 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50083 if test -n "$ac_eof"; then
50084 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50085 ac_eof=`expr $ac_eof + 1`
50086 fi
50087
50088 cat >>$CONFIG_STATUS <<_ACEOF
50089 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50090 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50091 _ACEOF
50092 sed '
50093 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50094 s/^/s,@/; s/!/@,|#_!!_#|/
50095 :n
50096 t n
50097 s/'"$ac_delim"'$/,g/; t
50098 s/$/\\/; p
50099 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50100 ' >>$CONFIG_STATUS <conf$$subs.sed
50101 rm -f conf$$subs.sed
50102 cat >>$CONFIG_STATUS <<_ACEOF
50103 CEOF$ac_eof
50104 _ACEOF
50105
50106
50107 ac_delim='%!_!# '
50108 for ac_last_try in false false false false false :; do
50109 cat >conf$$subs.sed <<_ACEOF
50110 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50111 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50112 LIBWXMACRES!$LIBWXMACRES$ac_delim
50113 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50114 MACSETFILE!$MACSETFILE$ac_delim
50115 GCC!$GCC$ac_delim
50116 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50117 LIBOBJS!$LIBOBJS$ac_delim
50118 LTLIBOBJS!$LTLIBOBJS$ac_delim
50119 _ACEOF
50120
50121 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
50122 break
50123 elif $ac_last_try; then
50124 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50125 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50126 { (exit 1); exit 1; }; }
50127 else
50128 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50129 fi
50130 done
50131
50132 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50133 if test -n "$ac_eof"; then
50134 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50135 ac_eof=`expr $ac_eof + 1`
50136 fi
50137
50138 cat >>$CONFIG_STATUS <<_ACEOF
50139 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50140 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50141 _ACEOF
50142 sed '
50143 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50144 s/^/s,@/; s/!/@,|#_!!_#|/
50145 :n
50146 t n
50147 s/'"$ac_delim"'$/,g/; t
50148 s/$/\\/; p
50149 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50150 ' >>$CONFIG_STATUS <conf$$subs.sed
50151 rm -f conf$$subs.sed
50152 cat >>$CONFIG_STATUS <<_ACEOF
50153 :end
50154 s/|#_!!_#|//g
50155 CEOF$ac_eof
50156 _ACEOF
50157
50158
50159 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50160 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50161 # trailing colons and then remove the whole line if VPATH becomes empty
50162 # (actually we leave an empty line to preserve line numbers).
50163 if test "x$srcdir" = x.; then
50164 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50165 s/:*\$(srcdir):*/:/
50166 s/:*\${srcdir}:*/:/
50167 s/:*@srcdir@:*/:/
50168 s/^\([^=]*=[ ]*\):*/\1/
50169 s/:*$//
50170 s/^[^=]*=[ ]*$//
50171 }'
50172 fi
50173
50174 cat >>$CONFIG_STATUS <<\_ACEOF
50175 fi # test -n "$CONFIG_FILES"
50176
50177
50178 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50179 do
50180 case $ac_tag in
50181 :[FHLC]) ac_mode=$ac_tag; continue;;
50182 esac
50183 case $ac_mode$ac_tag in
50184 :[FHL]*:*);;
50185 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50186 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50187 { (exit 1); exit 1; }; };;
50188 :[FH]-) ac_tag=-:-;;
50189 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50190 esac
50191 ac_save_IFS=$IFS
50192 IFS=:
50193 set x $ac_tag
50194 IFS=$ac_save_IFS
50195 shift
50196 ac_file=$1
50197 shift
50198
50199 case $ac_mode in
50200 :L) ac_source=$1;;
50201 :[FH])
50202 ac_file_inputs=
50203 for ac_f
50204 do
50205 case $ac_f in
50206 -) ac_f="$tmp/stdin";;
50207 *) # Look for the file first in the build tree, then in the source tree
50208 # (if the path is not absolute). The absolute path cannot be DOS-style,
50209 # because $ac_f cannot contain `:'.
50210 test -f "$ac_f" ||
50211 case $ac_f in
50212 [\\/$]*) false;;
50213 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50214 esac ||
50215 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50216 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50217 { (exit 1); exit 1; }; };;
50218 esac
50219 ac_file_inputs="$ac_file_inputs $ac_f"
50220 done
50221
50222 # Let's still pretend it is `configure' which instantiates (i.e., don't
50223 # use $as_me), people would be surprised to read:
50224 # /* config.h. Generated by config.status. */
50225 configure_input="Generated from "`IFS=:
50226 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50227 if test x"$ac_file" != x-; then
50228 configure_input="$ac_file. $configure_input"
50229 { echo "$as_me:$LINENO: creating $ac_file" >&5
50230 echo "$as_me: creating $ac_file" >&6;}
50231 fi
50232
50233 case $ac_tag in
50234 *:-:* | *:-) cat >"$tmp/stdin";;
50235 esac
50236 ;;
50237 esac
50238
50239 ac_dir=`$as_dirname -- "$ac_file" ||
50240 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50241 X"$ac_file" : 'X\(//\)[^/]' \| \
50242 X"$ac_file" : 'X\(//\)$' \| \
50243 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50244 echo X"$ac_file" |
50245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50246 s//\1/
50247 q
50248 }
50249 /^X\(\/\/\)[^/].*/{
50250 s//\1/
50251 q
50252 }
50253 /^X\(\/\/\)$/{
50254 s//\1/
50255 q
50256 }
50257 /^X\(\/\).*/{
50258 s//\1/
50259 q
50260 }
50261 s/.*/./; q'`
50262 { as_dir="$ac_dir"
50263 case $as_dir in #(
50264 -*) as_dir=./$as_dir;;
50265 esac
50266 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50267 as_dirs=
50268 while :; do
50269 case $as_dir in #(
50270 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50271 *) as_qdir=$as_dir;;
50272 esac
50273 as_dirs="'$as_qdir' $as_dirs"
50274 as_dir=`$as_dirname -- "$as_dir" ||
50275 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50276 X"$as_dir" : 'X\(//\)[^/]' \| \
50277 X"$as_dir" : 'X\(//\)$' \| \
50278 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50279 echo X"$as_dir" |
50280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50281 s//\1/
50282 q
50283 }
50284 /^X\(\/\/\)[^/].*/{
50285 s//\1/
50286 q
50287 }
50288 /^X\(\/\/\)$/{
50289 s//\1/
50290 q
50291 }
50292 /^X\(\/\).*/{
50293 s//\1/
50294 q
50295 }
50296 s/.*/./; q'`
50297 test -d "$as_dir" && break
50298 done
50299 test -z "$as_dirs" || eval "mkdir $as_dirs"
50300 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50301 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50302 { (exit 1); exit 1; }; }; }
50303 ac_builddir=.
50304
50305 case "$ac_dir" in
50306 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50307 *)
50308 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50309 # A ".." for each directory in $ac_dir_suffix.
50310 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50311 case $ac_top_builddir_sub in
50312 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50313 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50314 esac ;;
50315 esac
50316 ac_abs_top_builddir=$ac_pwd
50317 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50318 # for backward compatibility:
50319 ac_top_builddir=$ac_top_build_prefix
50320
50321 case $srcdir in
50322 .) # We are building in place.
50323 ac_srcdir=.
50324 ac_top_srcdir=$ac_top_builddir_sub
50325 ac_abs_top_srcdir=$ac_pwd ;;
50326 [\\/]* | ?:[\\/]* ) # Absolute name.
50327 ac_srcdir=$srcdir$ac_dir_suffix;
50328 ac_top_srcdir=$srcdir
50329 ac_abs_top_srcdir=$srcdir ;;
50330 *) # Relative name.
50331 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50332 ac_top_srcdir=$ac_top_build_prefix$srcdir
50333 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50334 esac
50335 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50336
50337
50338 case $ac_mode in
50339 :F)
50340 #
50341 # CONFIG_FILE
50342 #
50343
50344 case $INSTALL in
50345 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50346 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50347 esac
50348 _ACEOF
50349
50350 cat >>$CONFIG_STATUS <<\_ACEOF
50351 # If the template does not know about datarootdir, expand it.
50352 # FIXME: This hack should be removed a few years after 2.60.
50353 ac_datarootdir_hack=; ac_datarootdir_seen=
50354
50355 case `sed -n '/datarootdir/ {
50356 p
50357 q
50358 }
50359 /@datadir@/p
50360 /@docdir@/p
50361 /@infodir@/p
50362 /@localedir@/p
50363 /@mandir@/p
50364 ' $ac_file_inputs` in
50365 *datarootdir*) ac_datarootdir_seen=yes;;
50366 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50367 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50368 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50369 _ACEOF
50370 cat >>$CONFIG_STATUS <<_ACEOF
50371 ac_datarootdir_hack='
50372 s&@datadir@&$datadir&g
50373 s&@docdir@&$docdir&g
50374 s&@infodir@&$infodir&g
50375 s&@localedir@&$localedir&g
50376 s&@mandir@&$mandir&g
50377 s&\\\${datarootdir}&$datarootdir&g' ;;
50378 esac
50379 _ACEOF
50380
50381 # Neutralize VPATH when `$srcdir' = `.'.
50382 # Shell code in configure.ac might set extrasub.
50383 # FIXME: do we really want to maintain this feature?
50384 cat >>$CONFIG_STATUS <<_ACEOF
50385 sed "$ac_vpsub
50386 $extrasub
50387 _ACEOF
50388 cat >>$CONFIG_STATUS <<\_ACEOF
50389 :t
50390 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50391 s&@configure_input@&$configure_input&;t t
50392 s&@top_builddir@&$ac_top_builddir_sub&;t t
50393 s&@srcdir@&$ac_srcdir&;t t
50394 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50395 s&@top_srcdir@&$ac_top_srcdir&;t t
50396 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50397 s&@builddir@&$ac_builddir&;t t
50398 s&@abs_builddir@&$ac_abs_builddir&;t t
50399 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50400 s&@INSTALL@&$ac_INSTALL&;t t
50401 $ac_datarootdir_hack
50402 " $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
50403
50404 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50405 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50406 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50407 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50408 which seems to be undefined. Please make sure it is defined." >&5
50409 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50410 which seems to be undefined. Please make sure it is defined." >&2;}
50411
50412 rm -f "$tmp/stdin"
50413 case $ac_file in
50414 -) cat "$tmp/out"; rm -f "$tmp/out";;
50415 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50416 esac
50417 ;;
50418 :H)
50419 #
50420 # CONFIG_HEADER
50421 #
50422 _ACEOF
50423
50424 # Transform confdefs.h into a sed script `conftest.defines', that
50425 # substitutes the proper values into config.h.in to produce config.h.
50426 rm -f conftest.defines conftest.tail
50427 # First, append a space to every undef/define line, to ease matching.
50428 echo 's/$/ /' >conftest.defines
50429 # Then, protect against being on the right side of a sed subst, or in
50430 # an unquoted here document, in config.status. If some macros were
50431 # called several times there might be several #defines for the same
50432 # symbol, which is useless. But do not sort them, since the last
50433 # AC_DEFINE must be honored.
50434 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50435 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50436 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50437 # PARAMS is the parameter list in the macro definition--in most cases, it's
50438 # just an empty string.
50439 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50440 ac_dB='\\)[ (].*,\\1define\\2'
50441 ac_dC=' '
50442 ac_dD=' ,'
50443
50444 uniq confdefs.h |
50445 sed -n '
50446 t rset
50447 :rset
50448 s/^[ ]*#[ ]*define[ ][ ]*//
50449 t ok
50450 d
50451 :ok
50452 s/[\\&,]/\\&/g
50453 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50454 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50455 ' >>conftest.defines
50456
50457 # Remove the space that was appended to ease matching.
50458 # Then replace #undef with comments. This is necessary, for
50459 # example, in the case of _POSIX_SOURCE, which is predefined and required
50460 # on some systems where configure will not decide to define it.
50461 # (The regexp can be short, since the line contains either #define or #undef.)
50462 echo 's/ $//
50463 s,^[ #]*u.*,/* & */,' >>conftest.defines
50464
50465 # Break up conftest.defines:
50466 ac_max_sed_lines=50
50467
50468 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50469 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50470 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50471 # et cetera.
50472 ac_in='$ac_file_inputs'
50473 ac_out='"$tmp/out1"'
50474 ac_nxt='"$tmp/out2"'
50475
50476 while :
50477 do
50478 # Write a here document:
50479 cat >>$CONFIG_STATUS <<_ACEOF
50480 # First, check the format of the line:
50481 cat >"\$tmp/defines.sed" <<\\CEOF
50482 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50483 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50484 b
50485 :def
50486 _ACEOF
50487 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50488 echo 'CEOF
50489 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50490 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50491 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50492 grep . conftest.tail >/dev/null || break
50493 rm -f conftest.defines
50494 mv conftest.tail conftest.defines
50495 done
50496 rm -f conftest.defines conftest.tail
50497
50498 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50499 cat >>$CONFIG_STATUS <<\_ACEOF
50500 if test x"$ac_file" != x-; then
50501 echo "/* $configure_input */" >"$tmp/config.h"
50502 cat "$ac_result" >>"$tmp/config.h"
50503 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50504 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50505 echo "$as_me: $ac_file is unchanged" >&6;}
50506 else
50507 rm -f $ac_file
50508 mv "$tmp/config.h" $ac_file
50509 fi
50510 else
50511 echo "/* $configure_input */"
50512 cat "$ac_result"
50513 fi
50514 rm -f "$tmp/out12"
50515 ;;
50516
50517 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50518 echo "$as_me: executing $ac_file commands" >&6;}
50519 ;;
50520 esac
50521
50522
50523 case $ac_file$ac_mode in
50524 "rcdefs.h":C)
50525 mkdir -p $outdir &&
50526 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50527 ;;
50528 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50529 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50530 "wx-config":C) rm -f wx-config
50531 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50532 ;;
50533
50534 esac
50535 done # for ac_tag
50536
50537
50538 { (exit 0); exit 0; }
50539 _ACEOF
50540 chmod +x $CONFIG_STATUS
50541 ac_clean_files=$ac_clean_files_save
50542
50543
50544 # configure is writing to config.log, and then calls config.status.
50545 # config.status does its own redirection, appending to config.log.
50546 # Unfortunately, on DOS this fails, as config.log is still kept open
50547 # by configure, so config.status won't be able to write to it; its
50548 # output is simply discarded. So we exec the FD to /dev/null,
50549 # effectively closing config.log, so it can be properly (re)opened and
50550 # appended to by config.status. When coming back to configure, we
50551 # need to make the FD available again.
50552 if test "$no_create" != yes; then
50553 ac_cs_success=:
50554 ac_config_status_args=
50555 test "$silent" = yes &&
50556 ac_config_status_args="$ac_config_status_args --quiet"
50557 exec 5>/dev/null
50558 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50559 exec 5>>config.log
50560 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50561 # would make configure fail if this is the last instruction.
50562 $ac_cs_success || { (exit 1); exit 1; }
50563 fi
50564
50565 #
50566 # CONFIG_SUBDIRS section.
50567 #
50568 if test "$no_recursion" != yes; then
50569
50570 # Remove --cache-file and --srcdir arguments so they do not pile up.
50571 ac_sub_configure_args=
50572 ac_prev=
50573 eval "set x $ac_configure_args"
50574 shift
50575 for ac_arg
50576 do
50577 if test -n "$ac_prev"; then
50578 ac_prev=
50579 continue
50580 fi
50581 case $ac_arg in
50582 -cache-file | --cache-file | --cache-fil | --cache-fi \
50583 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50584 ac_prev=cache_file ;;
50585 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50586 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50587 | --c=*)
50588 ;;
50589 --config-cache | -C)
50590 ;;
50591 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50592 ac_prev=srcdir ;;
50593 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50594 ;;
50595 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50596 ac_prev=prefix ;;
50597 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50598 ;;
50599 *)
50600 case $ac_arg in
50601 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50602 esac
50603 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50604 esac
50605 done
50606
50607 # Always prepend --prefix to ensure using the same prefix
50608 # in subdir configurations.
50609 ac_arg="--prefix=$prefix"
50610 case $ac_arg in
50611 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50612 esac
50613 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50614
50615 # Pass --silent
50616 if test "$silent" = yes; then
50617 ac_sub_configure_args="--silent $ac_sub_configure_args"
50618 fi
50619
50620 ac_popdir=`pwd`
50621 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50622
50623 # Do not complain, so a configure script can configure whichever
50624 # parts of a large source tree are present.
50625 test -d "$srcdir/$ac_dir" || continue
50626
50627 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50628 echo "$as_me:$LINENO: $ac_msg" >&5
50629 echo "$ac_msg" >&6
50630 { as_dir="$ac_dir"
50631 case $as_dir in #(
50632 -*) as_dir=./$as_dir;;
50633 esac
50634 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50635 as_dirs=
50636 while :; do
50637 case $as_dir in #(
50638 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50639 *) as_qdir=$as_dir;;
50640 esac
50641 as_dirs="'$as_qdir' $as_dirs"
50642 as_dir=`$as_dirname -- "$as_dir" ||
50643 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50644 X"$as_dir" : 'X\(//\)[^/]' \| \
50645 X"$as_dir" : 'X\(//\)$' \| \
50646 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50647 echo X"$as_dir" |
50648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50649 s//\1/
50650 q
50651 }
50652 /^X\(\/\/\)[^/].*/{
50653 s//\1/
50654 q
50655 }
50656 /^X\(\/\/\)$/{
50657 s//\1/
50658 q
50659 }
50660 /^X\(\/\).*/{
50661 s//\1/
50662 q
50663 }
50664 s/.*/./; q'`
50665 test -d "$as_dir" && break
50666 done
50667 test -z "$as_dirs" || eval "mkdir $as_dirs"
50668 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50669 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50670 { (exit 1); exit 1; }; }; }
50671 ac_builddir=.
50672
50673 case "$ac_dir" in
50674 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50675 *)
50676 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50677 # A ".." for each directory in $ac_dir_suffix.
50678 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50679 case $ac_top_builddir_sub in
50680 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50681 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50682 esac ;;
50683 esac
50684 ac_abs_top_builddir=$ac_pwd
50685 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50686 # for backward compatibility:
50687 ac_top_builddir=$ac_top_build_prefix
50688
50689 case $srcdir in
50690 .) # We are building in place.
50691 ac_srcdir=.
50692 ac_top_srcdir=$ac_top_builddir_sub
50693 ac_abs_top_srcdir=$ac_pwd ;;
50694 [\\/]* | ?:[\\/]* ) # Absolute name.
50695 ac_srcdir=$srcdir$ac_dir_suffix;
50696 ac_top_srcdir=$srcdir
50697 ac_abs_top_srcdir=$srcdir ;;
50698 *) # Relative name.
50699 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50700 ac_top_srcdir=$ac_top_build_prefix$srcdir
50701 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50702 esac
50703 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50704
50705
50706 cd "$ac_dir"
50707
50708 # Check for guested configure; otherwise get Cygnus style configure.
50709 if test -f "$ac_srcdir/configure.gnu"; then
50710 ac_sub_configure=$ac_srcdir/configure.gnu
50711 elif test -f "$ac_srcdir/configure"; then
50712 ac_sub_configure=$ac_srcdir/configure
50713 elif test -f "$ac_srcdir/configure.in"; then
50714 # This should be Cygnus configure.
50715 ac_sub_configure=$ac_aux_dir/configure
50716 else
50717 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50718 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50719 ac_sub_configure=
50720 fi
50721
50722 # The recursion is here.
50723 if test -n "$ac_sub_configure"; then
50724 # Make the cache file name correct relative to the subdirectory.
50725 case $cache_file in
50726 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50727 *) # Relative name.
50728 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50729 esac
50730
50731 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50732 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50733 # The eval makes quoting arguments work.
50734 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50735 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50736 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50737 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50738 { (exit 1); exit 1; }; }
50739 fi
50740
50741 cd "$ac_popdir"
50742 done
50743 fi
50744
50745
50746 echo
50747 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50748 echo ""
50749 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50750 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50751
50752 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50753 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50754 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50755
50756 echo " What level of wxWidgets compatibility should be enabled?"
50757 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50758 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50759
50760 echo " Which libraries should wxWidgets use?"
50761 echo " jpeg ${wxUSE_LIBJPEG-none}"
50762 echo " png ${wxUSE_LIBPNG-none}"
50763 echo " regex ${wxUSE_REGEX}"
50764 echo " tiff ${wxUSE_LIBTIFF-none}"
50765 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50766 echo " xpm ${wxUSE_LIBXPM-none}"
50767 fi
50768 echo " zlib ${wxUSE_ZLIB}"
50769 echo " odbc ${wxUSE_ODBC}"
50770 echo " expat ${wxUSE_EXPAT}"
50771 echo " libmspack ${wxUSE_LIBMSPACK}"
50772 echo " sdl ${wxUSE_LIBSDL}"
50773
50774 echo ""
50775