]> git.saurik.com Git - wxWidgets.git/blob - configure
fixing iPhone build
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
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.3'
579 PACKAGE_STRING='wxWidgets 2.9.3'
580 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
581
582 ac_unique_file="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default="\
585 #include <stdio.h>
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
588 #endif
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
591 #endif
592 #ifdef STDC_HEADERS
593 # include <stdlib.h>
594 # include <stddef.h>
595 #else
596 # ifdef HAVE_STDLIB_H
597 # include <stdlib.h>
598 # endif
599 #endif
600 #ifdef HAVE_STRING_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
602 # include <memory.h>
603 # endif
604 # include <string.h>
605 #endif
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
608 #endif
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
611 #endif
612 #ifdef HAVE_STDINT_H
613 # include <stdint.h>
614 #endif
615 #ifdef HAVE_UNISTD_H
616 # include <unistd.h>
617 #endif"
618
619 ac_subst_vars='SHELL
620 PATH_SEPARATOR
621 PACKAGE_NAME
622 PACKAGE_TARNAME
623 PACKAGE_VERSION
624 PACKAGE_STRING
625 PACKAGE_BUGREPORT
626 exec_prefix
627 prefix
628 program_transform_name
629 bindir
630 sbindir
631 libexecdir
632 datarootdir
633 datadir
634 sysconfdir
635 sharedstatedir
636 localstatedir
637 includedir
638 oldincludedir
639 docdir
640 infodir
641 htmldir
642 dvidir
643 pdfdir
644 psdir
645 libdir
646 localedir
647 mandir
648 DEFS
649 ECHO_C
650 ECHO_N
651 ECHO_T
652 LIBS
653 build_alias
654 host_alias
655 target_alias
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 wx_top_builddir
665 CC
666 CFLAGS
667 LDFLAGS
668 CPPFLAGS
669 ac_ct_CC
670 EXEEXT
671 OBJEXT
672 CPP
673 GREP
674 EGREP
675 CXX
676 CXXFLAGS
677 ac_ct_CXX
678 AR
679 OSX_SW_VERS
680 CXXCPP
681 subdirs
682 PKG_CONFIG
683 GTK_CFLAGS
684 GTK_LIBS
685 GTK_CONFIG
686 DIRECTFB_CFLAGS
687 DIRECTFB_LIBS
688 XMKMF
689 X_CFLAGS
690 X_PRE_LIBS
691 X_LIBS
692 X_EXTRA_LIBS
693 PANGOX_CFLAGS
694 PANGOX_LIBS
695 PANGOFT2_CFLAGS
696 PANGOFT2_LIBS
697 PANGOXFT_CFLAGS
698 PANGOXFT_LIBS
699 Xinerama_CFLAGS
700 Xinerama_LIBS
701 Xxf86vm_CFLAGS
702 Xxf86vm_LIBS
703 SM_CFLAGS
704 SM_LIBS
705 GL_CFLAGS
706 GL_LIBS
707 GLU_CFLAGS
708 GLU_LIBS
709 MesaGL_CFLAGS
710 MesaGL_LIBS
711 CFLAGS_VISIBILITY
712 CXXFLAGS_VISIBILITY
713 LIBICONV
714 GXX_VERSION
715 SDL_CONFIG
716 SDL_CFLAGS
717 SDL_LIBS
718 GTKPRINT_CFLAGS
719 GTKPRINT_LIBS
720 LIBGNOMEPRINTUI_CFLAGS
721 LIBGNOMEPRINTUI_LIBS
722 GNOMEVFS_CFLAGS
723 GNOMEVFS_LIBS
724 HILDON_CFLAGS
725 HILDON_LIBS
726 HILDON2_CFLAGS
727 HILDON2_LIBS
728 PYTHON
729 COND_PYTHON
730 CAIRO_CFLAGS
731 CAIRO_LIBS
732 GST_CFLAGS
733 GST_LIBS
734 ALL_WX_LIBS
735 BUILT_WX_LIBS
736 STD_BASE_LIBS
737 STD_GUI_LIBS
738 wxUSE_ZLIB
739 wxUSE_REGEX
740 wxUSE_EXPAT
741 wxUSE_LIBJPEG
742 wxUSE_LIBPNG
743 wxUSE_LIBTIFF
744 VENDOR
745 OFFICIAL_BUILD
746 WX_FLAVOUR
747 WX_LIB_FLAVOUR
748 WXUNIV
749 MONOLITHIC
750 USE_PLUGINS
751 CXXWARNINGS
752 EXTRALIBS
753 EXTRALIBS_XML
754 EXTRALIBS_HTML
755 EXTRALIBS_MEDIA
756 EXTRALIBS_GUI
757 EXTRALIBS_OPENGL
758 EXTRALIBS_SDL
759 EXTRALIBS_STC
760 WITH_PLUGIN_SDL
761 EXTRALIBS_GTKPRINT
762 EXTRALIBS_GNOMEPRINT
763 EXTRALIBS_GNOMEVFS
764 EXTRALIBS_HILDON
765 UNICODE
766 DEBUG_INFO
767 DEBUG_FLAG
768 TOOLKIT_LOWERCASE
769 TOOLKIT_VERSION
770 DYLIB_RPATH_INSTALL
771 DYLIB_RPATH_POSTLINK
772 SAMPLES_RPATH_FLAG
773 HEADER_PAD_OPTION
774 HOST_SUFFIX
775 CPPUNIT_CFLAGS
776 CPPUNIT_LIBS
777 RANLIB
778 INSTALL_PROGRAM
779 INSTALL_SCRIPT
780 INSTALL_DATA
781 LN_S
782 SET_MAKE
783 MAKE_SET
784 AROPTIONS
785 STRIP
786 NM
787 INSTALL_DIR
788 LDFLAGS_GUI
789 IF_GNU_MAKE
790 PLATFORM_UNIX
791 PLATFORM_WIN32
792 PLATFORM_MSDOS
793 PLATFORM_MAC
794 PLATFORM_MACOS
795 PLATFORM_MACOSX
796 PLATFORM_OS2
797 PLATFORM_BEOS
798 SO_SUFFIX
799 SO_SUFFIX_MODULE
800 DLLIMP_SUFFIX
801 LIBPREFIX
802 LIBEXT
803 DLLPREFIX
804 DLLPREFIX_MODULE
805 dlldir
806 AIX_CXX_LD
807 SHARED_LD_CC
808 SHARED_LD_CXX
809 SHARED_LD_MODULE_CC
810 SHARED_LD_MODULE_CXX
811 PIC_FLAG
812 WINDOWS_IMPLIB
813 USE_SOVERSION
814 USE_SOVERLINUX
815 USE_SOVERSOLARIS
816 USE_SOVERCYGWIN
817 USE_MACVERSION
818 USE_SOTWOSYMLINKS
819 SONAME_FLAG
820 DEPS_TRACKING
821 BK_DEPS
822 WINDRES
823 REZ
824 SETFILE
825 OBJCXXFLAGS
826 GCC_PCH
827 ICC_PCH
828 ICC_PCH_CREATE_SWITCH
829 ICC_PCH_USE_SWITCH
830 BK_MAKE_PCH
831 COND_BUILD_DEBUG
832 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
833 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
834 COND_BUILD_DEBUG_UNICODE_0
835 COND_BUILD_DEBUG_UNICODE_1
836 COND_BUILD_RELEASE
837 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
838 COND_BUILD_RELEASE_UNICODE_0
839 COND_BUILD_RELEASE_UNICODE_1
840 COND_BUILD_debug
841 COND_BUILD_debug_DEBUG_FLAG_default
842 COND_BUILD_debug_DEBUG_INFO_default
843 COND_BUILD_debug_UNICODE_0
844 COND_BUILD_debug_UNICODE_1
845 COND_BUILD_release
846 COND_BUILD_release_DEBUG_INFO_default
847 COND_BUILD_release_UNICODE_0
848 COND_BUILD_release_UNICODE_1
849 COND_DEBUG_FLAG_0
850 COND_DEBUG_FLAG_1
851 COND_DEBUG_INFO_0
852 COND_DEBUG_INFO_1
853 COND_DEPS_TRACKING_0
854 COND_DEPS_TRACKING_1
855 COND_GCC_PCH_1
856 COND_ICC_PCH_1
857 COND_MONOLITHIC_0
858 COND_MONOLITHIC_0_SHARED_0
859 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
860 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
861 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
865 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
866 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
867 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
869 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
870 COND_MONOLITHIC_0_SHARED_1
871 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
872 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
873 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
877 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
878 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
879 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
880 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
881 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
882 COND_MONOLITHIC_0_USE_AUI_1
883 COND_MONOLITHIC_0_USE_GUI_1
884 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
885 COND_MONOLITHIC_0_USE_HTML_1
886 COND_MONOLITHIC_0_USE_MEDIA_1
887 COND_MONOLITHIC_0_USE_PROPGRID_1
888 COND_MONOLITHIC_0_USE_QA_1
889 COND_MONOLITHIC_0_USE_RIBBON_1
890 COND_MONOLITHIC_0_USE_RICHTEXT_1
891 COND_MONOLITHIC_0_USE_STC_1
892 COND_MONOLITHIC_0_USE_WEBVIEW_1
893 COND_MONOLITHIC_0_USE_XRC_1
894 COND_MONOLITHIC_1
895 COND_MONOLITHIC_1_SHARED_0
896 COND_MONOLITHIC_1_SHARED_1
897 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
898 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
899 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
900 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
901 COND_PLATFORM_MACOSX_1
902 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
903 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
904 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
905 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
910 COND_PLATFORM_MACOSX_1_USE_GUI_1
911 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
912 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
913 COND_PLATFORM_MACOS_1
914 COND_PLATFORM_MAC_0
915 COND_PLATFORM_MAC_1
916 COND_PLATFORM_MSDOS_0
917 COND_PLATFORM_MSDOS_1
918 COND_PLATFORM_OS2_1
919 COND_PLATFORM_UNIX_0
920 COND_PLATFORM_UNIX_1
921 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
922 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
923 COND_PLATFORM_UNIX_1_USE_GUI_1
924 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
925 COND_PLATFORM_WIN32_0
926 COND_PLATFORM_WIN32_1
927 COND_PLATFORM_WIN32_1_SHARED_0
928 COND_SHARED_0
929 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
930 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
931 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
932 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
934 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
935 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
936 COND_SHARED_0_USE_STC_1
937 COND_SHARED_0_wxUSE_EXPAT_builtin
938 COND_SHARED_0_wxUSE_REGEX_builtin
939 COND_SHARED_0_wxUSE_ZLIB_builtin
940 COND_SHARED_1
941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
942 COND_TOOLKIT_
943 COND_TOOLKIT_COCOA
944 COND_TOOLKIT_COCOA_USE_GUI_1
945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
946 COND_TOOLKIT_DFB
947 COND_TOOLKIT_DFB_USE_GUI_1
948 COND_TOOLKIT_GTK
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
955 COND_TOOLKIT_GTK_USE_GUI_1
956 COND_TOOLKIT_MAC
957 COND_TOOLKIT_MGL
958 COND_TOOLKIT_MGL_USE_GUI_1
959 COND_TOOLKIT_MOTIF
960 COND_TOOLKIT_MOTIF_USE_GUI_1
961 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_MSW
963 COND_TOOLKIT_MSW_USE_GUI_1
964 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
965 COND_TOOLKIT_MSW_WXUNIV_0
966 COND_TOOLKIT_OSX_CARBON
967 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
968 COND_TOOLKIT_OSX_COCOA
969 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
970 COND_TOOLKIT_OSX_IPHONE
971 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
972 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
973 COND_TOOLKIT_PM
974 COND_TOOLKIT_PM_USE_GUI_1
975 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
976 COND_TOOLKIT_WINCE
977 COND_TOOLKIT_WINCE_USE_GUI_1
978 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
979 COND_TOOLKIT_WINCE_WXUNIV_0
980 COND_TOOLKIT_X11
981 COND_TOOLKIT_X11_USE_GUI_1
982 COND_UNICODE_1
983 COND_USE_CAIRO_1
984 COND_USE_EXCEPTIONS_0
985 COND_USE_EXCEPTIONS_1
986 COND_USE_GUI_0
987 COND_USE_GUI_1
988 COND_USE_GUI_1_USE_OPENGL_1
989 COND_USE_GUI_1_WXUNIV_0
990 COND_USE_GUI_1_WXUNIV_1
991 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
992 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
993 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
994 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
995 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
996 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
997 COND_USE_OPENGL_1
998 COND_USE_PCH_1
999 COND_USE_PLUGINS_0
1000 COND_USE_RTTI_0
1001 COND_USE_RTTI_1
1002 COND_USE_SOTWOSYMLINKS_1
1003 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1004 COND_USE_SOVERLINUX_1
1005 COND_USE_SOVERSION_0
1006 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1007 COND_USE_SOVERSOLARIS_1
1008 COND_USE_STC_1
1009 COND_USE_THREADS_0
1010 COND_USE_THREADS_1
1011 COND_USE_XRC_1
1012 COND_WINDOWS_IMPLIB_1
1013 COND_WITH_PLUGIN_SDL_1
1014 COND_WXUNIV_0
1015 COND_WXUNIV_1
1016 COND_WXUSE_EXPAT_BUILTIN
1017 COND_WXUSE_LIBJPEG_BUILTIN
1018 COND_WXUSE_LIBPNG_BUILTIN
1019 COND_WXUSE_LIBTIFF_BUILTIN
1020 COND_WXUSE_REGEX_BUILTIN
1021 COND_WXUSE_ZLIB_BUILTIN
1022 COND_wxUSE_EXPAT_builtin
1023 COND_wxUSE_LIBJPEG_builtin
1024 COND_wxUSE_LIBPNG_builtin
1025 COND_wxUSE_LIBTIFF_builtin
1026 COND_wxUSE_REGEX_builtin
1027 COND_wxUSE_ZLIB_builtin
1028 DEREZ
1029 SHARED
1030 WX_LIBRARY_BASENAME_NOGUI
1031 WX_LIBRARY_BASENAME_GUI
1032 USE_GUI
1033 AFMINSTALL
1034 WIN32INSTALL
1035 TOOLKIT
1036 TOOLKIT_DIR
1037 TOOLCHAIN_NAME
1038 TOOLCHAIN_FULLNAME
1039 cross_compiling
1040 WIDGET_SET
1041 WX_RELEASE
1042 WX_VERSION
1043 WX_SUBVERSION
1044 WX_CHARTYPE
1045 WXCONFIG_CPPFLAGS
1046 WXCONFIG_CFLAGS
1047 WXCONFIG_CXXFLAGS
1048 WXCONFIG_LIBS
1049 WXCONFIG_RPATH
1050 WXCONFIG_LDFLAGS
1051 WXCONFIG_LDFLAGS_GUI
1052 WXCONFIG_RESFLAGS
1053 GUIDIST
1054 DISTDIR
1055 SAMPLES_SUBDIRS
1056 LDFLAGS_GL
1057 OPENGL_LIBS
1058 DMALLOC_LIBS
1059 WX_VERSION_TAG
1060 RESCOMP
1061 RESFLAGS
1062 RESPROGRAMOBJ
1063 WX_RESOURCES_MACOSX_ASCII
1064 WX_RESOURCES_MACOSX_DATA
1065 LIBWXMACRES
1066 POSTLINK_COMMAND
1067 MACSETFILE
1068 GCC
1069 DLLTOOL
1070 CPPUNIT_CONFIG
1071 LIBOBJS
1072 LTLIBOBJS'
1073 ac_subst_files=''
1074 ac_precious_vars='build_alias
1075 host_alias
1076 target_alias
1077 CC
1078 CFLAGS
1079 LDFLAGS
1080 LIBS
1081 CPPFLAGS
1082 CPP
1083 CXX
1084 CXXFLAGS
1085 CCC
1086 CXXCPP
1087 PKG_CONFIG
1088 DIRECTFB_CFLAGS
1089 DIRECTFB_LIBS
1090 XMKMF
1091 PANGOX_CFLAGS
1092 PANGOX_LIBS
1093 PANGOFT2_CFLAGS
1094 PANGOFT2_LIBS
1095 PANGOXFT_CFLAGS
1096 PANGOXFT_LIBS
1097 Xinerama_CFLAGS
1098 Xinerama_LIBS
1099 Xxf86vm_CFLAGS
1100 Xxf86vm_LIBS
1101 SM_CFLAGS
1102 SM_LIBS
1103 GL_CFLAGS
1104 GL_LIBS
1105 GLU_CFLAGS
1106 GLU_LIBS
1107 MesaGL_CFLAGS
1108 MesaGL_LIBS
1109 GTKPRINT_CFLAGS
1110 GTKPRINT_LIBS
1111 LIBGNOMEPRINTUI_CFLAGS
1112 LIBGNOMEPRINTUI_LIBS
1113 GNOMEVFS_CFLAGS
1114 GNOMEVFS_LIBS
1115 HILDON_CFLAGS
1116 HILDON_LIBS
1117 HILDON2_CFLAGS
1118 HILDON2_LIBS
1119 CAIRO_CFLAGS
1120 CAIRO_LIBS
1121 GST_CFLAGS
1122 GST_LIBS'
1123 ac_subdirs_all='src/tiff
1124 src/expat'
1125
1126 # Initialize some variables set by options.
1127 ac_init_help=
1128 ac_init_version=false
1129 # The variables have the same names as the options, with
1130 # dashes changed to underlines.
1131 cache_file=/dev/null
1132 exec_prefix=NONE
1133 no_create=
1134 no_recursion=
1135 prefix=NONE
1136 program_prefix=NONE
1137 program_suffix=NONE
1138 program_transform_name=s,x,x,
1139 silent=
1140 site=
1141 srcdir=
1142 verbose=
1143 x_includes=NONE
1144 x_libraries=NONE
1145
1146 # Installation directory options.
1147 # These are left unexpanded so users can "make install exec_prefix=/foo"
1148 # and all the variables that are supposed to be based on exec_prefix
1149 # by default will actually change.
1150 # Use braces instead of parens because sh, perl, etc. also accept them.
1151 # (The list follows the same order as the GNU Coding Standards.)
1152 bindir='${exec_prefix}/bin'
1153 sbindir='${exec_prefix}/sbin'
1154 libexecdir='${exec_prefix}/libexec'
1155 datarootdir='${prefix}/share'
1156 datadir='${datarootdir}'
1157 sysconfdir='${prefix}/etc'
1158 sharedstatedir='${prefix}/com'
1159 localstatedir='${prefix}/var'
1160 includedir='${prefix}/include'
1161 oldincludedir='/usr/include'
1162 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1163 infodir='${datarootdir}/info'
1164 htmldir='${docdir}'
1165 dvidir='${docdir}'
1166 pdfdir='${docdir}'
1167 psdir='${docdir}'
1168 libdir='${exec_prefix}/lib'
1169 localedir='${datarootdir}/locale'
1170 mandir='${datarootdir}/man'
1171
1172 ac_prev=
1173 ac_dashdash=
1174 for ac_option
1175 do
1176 # If the previous option needs an argument, assign it.
1177 if test -n "$ac_prev"; then
1178 eval $ac_prev=\$ac_option
1179 ac_prev=
1180 continue
1181 fi
1182
1183 case $ac_option in
1184 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1185 *) ac_optarg=yes ;;
1186 esac
1187
1188 # Accept the important Cygnus configure options, so we can diagnose typos.
1189
1190 case $ac_dashdash$ac_option in
1191 --)
1192 ac_dashdash=yes ;;
1193
1194 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1195 ac_prev=bindir ;;
1196 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1197 bindir=$ac_optarg ;;
1198
1199 -build | --build | --buil | --bui | --bu)
1200 ac_prev=build_alias ;;
1201 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1202 build_alias=$ac_optarg ;;
1203
1204 -cache-file | --cache-file | --cache-fil | --cache-fi \
1205 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1206 ac_prev=cache_file ;;
1207 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1208 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1209 cache_file=$ac_optarg ;;
1210
1211 --config-cache | -C)
1212 cache_file=config.cache ;;
1213
1214 -datadir | --datadir | --datadi | --datad)
1215 ac_prev=datadir ;;
1216 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1217 datadir=$ac_optarg ;;
1218
1219 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1220 | --dataroo | --dataro | --datar)
1221 ac_prev=datarootdir ;;
1222 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1223 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1224 datarootdir=$ac_optarg ;;
1225
1226 -disable-* | --disable-*)
1227 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1230 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1233 eval enable_$ac_feature=no ;;
1234
1235 -docdir | --docdir | --docdi | --doc | --do)
1236 ac_prev=docdir ;;
1237 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1238 docdir=$ac_optarg ;;
1239
1240 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1241 ac_prev=dvidir ;;
1242 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1243 dvidir=$ac_optarg ;;
1244
1245 -enable-* | --enable-*)
1246 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1249 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1252 eval enable_$ac_feature=\$ac_optarg ;;
1253
1254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1256 | --exec | --exe | --ex)
1257 ac_prev=exec_prefix ;;
1258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1260 | --exec=* | --exe=* | --ex=*)
1261 exec_prefix=$ac_optarg ;;
1262
1263 -gas | --gas | --ga | --g)
1264 # Obsolete; use --with-gas.
1265 with_gas=yes ;;
1266
1267 -help | --help | --hel | --he | -h)
1268 ac_init_help=long ;;
1269 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1270 ac_init_help=recursive ;;
1271 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1272 ac_init_help=short ;;
1273
1274 -host | --host | --hos | --ho)
1275 ac_prev=host_alias ;;
1276 -host=* | --host=* | --hos=* | --ho=*)
1277 host_alias=$ac_optarg ;;
1278
1279 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1280 ac_prev=htmldir ;;
1281 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1282 | --ht=*)
1283 htmldir=$ac_optarg ;;
1284
1285 -includedir | --includedir | --includedi | --included | --include \
1286 | --includ | --inclu | --incl | --inc)
1287 ac_prev=includedir ;;
1288 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1289 | --includ=* | --inclu=* | --incl=* | --inc=*)
1290 includedir=$ac_optarg ;;
1291
1292 -infodir | --infodir | --infodi | --infod | --info | --inf)
1293 ac_prev=infodir ;;
1294 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1295 infodir=$ac_optarg ;;
1296
1297 -libdir | --libdir | --libdi | --libd)
1298 ac_prev=libdir ;;
1299 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1300 libdir=$ac_optarg ;;
1301
1302 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1303 | --libexe | --libex | --libe)
1304 ac_prev=libexecdir ;;
1305 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1306 | --libexe=* | --libex=* | --libe=*)
1307 libexecdir=$ac_optarg ;;
1308
1309 -localedir | --localedir | --localedi | --localed | --locale)
1310 ac_prev=localedir ;;
1311 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1312 localedir=$ac_optarg ;;
1313
1314 -localstatedir | --localstatedir | --localstatedi | --localstated \
1315 | --localstate | --localstat | --localsta | --localst | --locals)
1316 ac_prev=localstatedir ;;
1317 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1318 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1319 localstatedir=$ac_optarg ;;
1320
1321 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1322 ac_prev=mandir ;;
1323 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1324 mandir=$ac_optarg ;;
1325
1326 -nfp | --nfp | --nf)
1327 # Obsolete; use --without-fp.
1328 with_fp=no ;;
1329
1330 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1331 | --no-cr | --no-c | -n)
1332 no_create=yes ;;
1333
1334 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1335 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1336 no_recursion=yes ;;
1337
1338 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1339 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1340 | --oldin | --oldi | --old | --ol | --o)
1341 ac_prev=oldincludedir ;;
1342 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1343 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1344 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1345 oldincludedir=$ac_optarg ;;
1346
1347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1348 ac_prev=prefix ;;
1349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1350 prefix=$ac_optarg ;;
1351
1352 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1353 | --program-pre | --program-pr | --program-p)
1354 ac_prev=program_prefix ;;
1355 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1356 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1357 program_prefix=$ac_optarg ;;
1358
1359 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1360 | --program-suf | --program-su | --program-s)
1361 ac_prev=program_suffix ;;
1362 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1363 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1364 program_suffix=$ac_optarg ;;
1365
1366 -program-transform-name | --program-transform-name \
1367 | --program-transform-nam | --program-transform-na \
1368 | --program-transform-n | --program-transform- \
1369 | --program-transform | --program-transfor \
1370 | --program-transfo | --program-transf \
1371 | --program-trans | --program-tran \
1372 | --progr-tra | --program-tr | --program-t)
1373 ac_prev=program_transform_name ;;
1374 -program-transform-name=* | --program-transform-name=* \
1375 | --program-transform-nam=* | --program-transform-na=* \
1376 | --program-transform-n=* | --program-transform-=* \
1377 | --program-transform=* | --program-transfor=* \
1378 | --program-transfo=* | --program-transf=* \
1379 | --program-trans=* | --program-tran=* \
1380 | --progr-tra=* | --program-tr=* | --program-t=*)
1381 program_transform_name=$ac_optarg ;;
1382
1383 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1384 ac_prev=pdfdir ;;
1385 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1386 pdfdir=$ac_optarg ;;
1387
1388 -psdir | --psdir | --psdi | --psd | --ps)
1389 ac_prev=psdir ;;
1390 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1391 psdir=$ac_optarg ;;
1392
1393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1394 | -silent | --silent | --silen | --sile | --sil)
1395 silent=yes ;;
1396
1397 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1398 ac_prev=sbindir ;;
1399 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1400 | --sbi=* | --sb=*)
1401 sbindir=$ac_optarg ;;
1402
1403 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1404 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1405 | --sharedst | --shareds | --shared | --share | --shar \
1406 | --sha | --sh)
1407 ac_prev=sharedstatedir ;;
1408 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1409 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1410 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1411 | --sha=* | --sh=*)
1412 sharedstatedir=$ac_optarg ;;
1413
1414 -site | --site | --sit)
1415 ac_prev=site ;;
1416 -site=* | --site=* | --sit=*)
1417 site=$ac_optarg ;;
1418
1419 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1420 ac_prev=srcdir ;;
1421 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1422 srcdir=$ac_optarg ;;
1423
1424 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1425 | --syscon | --sysco | --sysc | --sys | --sy)
1426 ac_prev=sysconfdir ;;
1427 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1428 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1429 sysconfdir=$ac_optarg ;;
1430
1431 -target | --target | --targe | --targ | --tar | --ta | --t)
1432 ac_prev=target_alias ;;
1433 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1434 target_alias=$ac_optarg ;;
1435
1436 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1437 verbose=yes ;;
1438
1439 -version | --version | --versio | --versi | --vers | -V)
1440 ac_init_version=: ;;
1441
1442 -with-* | --with-*)
1443 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1444 # Reject names that are not valid shell variable names.
1445 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1446 { echo "$as_me: error: invalid package name: $ac_package" >&2
1447 { (exit 1); exit 1; }; }
1448 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1449 eval with_$ac_package=\$ac_optarg ;;
1450
1451 -without-* | --without-*)
1452 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1453 # Reject names that are not valid shell variable names.
1454 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1455 { echo "$as_me: error: invalid package name: $ac_package" >&2
1456 { (exit 1); exit 1; }; }
1457 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1458 eval with_$ac_package=no ;;
1459
1460 --x)
1461 # Obsolete; use --with-x.
1462 with_x=yes ;;
1463
1464 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465 | --x-incl | --x-inc | --x-in | --x-i)
1466 ac_prev=x_includes ;;
1467 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469 x_includes=$ac_optarg ;;
1470
1471 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473 ac_prev=x_libraries ;;
1474 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476 x_libraries=$ac_optarg ;;
1477
1478 -*) { echo "$as_me: error: unrecognized option: $ac_option
1479 Try \`$0 --help' for more information." >&2
1480 { (exit 1); exit 1; }; }
1481 ;;
1482
1483 *=*)
1484 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1485 # Reject names that are not valid shell variable names.
1486 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1487 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1488 { (exit 1); exit 1; }; }
1489 eval $ac_envvar=\$ac_optarg
1490 export $ac_envvar ;;
1491
1492 *)
1493 # FIXME: should be removed in autoconf 3.0.
1494 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1496 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1498 ;;
1499
1500 esac
1501 done
1502
1503 if test -n "$ac_prev"; then
1504 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1505 { echo "$as_me: error: missing argument to $ac_option" >&2
1506 { (exit 1); exit 1; }; }
1507 fi
1508
1509 # Be sure to have absolute directory names.
1510 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1511 datadir sysconfdir sharedstatedir localstatedir includedir \
1512 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1513 libdir localedir mandir
1514 do
1515 eval ac_val=\$$ac_var
1516 case $ac_val in
1517 [\\/$]* | ?:[\\/]* ) continue;;
1518 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1519 esac
1520 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1521 { (exit 1); exit 1; }; }
1522 done
1523
1524 # There might be people who depend on the old broken behavior: `$host'
1525 # used to hold the argument of --host etc.
1526 # FIXME: To remove some day.
1527 build=$build_alias
1528 host=$host_alias
1529 target=$target_alias
1530
1531 # FIXME: To remove some day.
1532 if test "x$host_alias" != x; then
1533 if test "x$build_alias" = x; then
1534 cross_compiling=maybe
1535 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1536 If a cross compiler is detected then cross compile mode will be used." >&2
1537 elif test "x$build_alias" != "x$host_alias"; then
1538 cross_compiling=yes
1539 fi
1540 fi
1541
1542 ac_tool_prefix=
1543 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1544
1545 test "$silent" = yes && exec 6>/dev/null
1546
1547
1548 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1549 ac_ls_di=`ls -di .` &&
1550 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1551 { echo "$as_me: error: Working directory cannot be determined" >&2
1552 { (exit 1); exit 1; }; }
1553 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1554 { echo "$as_me: error: pwd does not report name of working directory" >&2
1555 { (exit 1); exit 1; }; }
1556
1557
1558 # Find the source files, if location was not specified.
1559 if test -z "$srcdir"; then
1560 ac_srcdir_defaulted=yes
1561 # Try the directory containing this script, then the parent directory.
1562 ac_confdir=`$as_dirname -- "$0" ||
1563 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1564 X"$0" : 'X\(//\)[^/]' \| \
1565 X"$0" : 'X\(//\)$' \| \
1566 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1567 echo X"$0" |
1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1569 s//\1/
1570 q
1571 }
1572 /^X\(\/\/\)[^/].*/{
1573 s//\1/
1574 q
1575 }
1576 /^X\(\/\/\)$/{
1577 s//\1/
1578 q
1579 }
1580 /^X\(\/\).*/{
1581 s//\1/
1582 q
1583 }
1584 s/.*/./; q'`
1585 srcdir=$ac_confdir
1586 if test ! -r "$srcdir/$ac_unique_file"; then
1587 srcdir=..
1588 fi
1589 else
1590 ac_srcdir_defaulted=no
1591 fi
1592 if test ! -r "$srcdir/$ac_unique_file"; then
1593 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1594 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1595 { (exit 1); exit 1; }; }
1596 fi
1597 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1598 ac_abs_confdir=`(
1599 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1600 { (exit 1); exit 1; }; }
1601 pwd)`
1602 # When building in place, set srcdir=.
1603 if test "$ac_abs_confdir" = "$ac_pwd"; then
1604 srcdir=.
1605 fi
1606 # Remove unnecessary trailing slashes from srcdir.
1607 # Double slashes in file names in object file debugging info
1608 # mess up M-x gdb in Emacs.
1609 case $srcdir in
1610 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1611 esac
1612 for ac_var in $ac_precious_vars; do
1613 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1614 eval ac_env_${ac_var}_value=\$${ac_var}
1615 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1616 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1617 done
1618
1619 #
1620 # Report the --help message.
1621 #
1622 if test "$ac_init_help" = "long"; then
1623 # Omit some internal or obsolete options to make the list less imposing.
1624 # This message is too long to be a string in the A/UX 3.1 sh.
1625 cat <<_ACEOF
1626 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1627
1628 Usage: $0 [OPTION]... [VAR=VALUE]...
1629
1630 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1631 VAR=VALUE. See below for descriptions of some of the useful variables.
1632
1633 Defaults for the options are specified in brackets.
1634
1635 Configuration:
1636 -h, --help display this help and exit
1637 --help=short display options specific to this package
1638 --help=recursive display the short help of all the included packages
1639 -V, --version display version information and exit
1640 -q, --quiet, --silent do not print \`checking...' messages
1641 --cache-file=FILE cache test results in FILE [disabled]
1642 -C, --config-cache alias for \`--cache-file=config.cache'
1643 -n, --no-create do not create output files
1644 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1645
1646 Installation directories:
1647 --prefix=PREFIX install architecture-independent files in PREFIX
1648 [$ac_default_prefix]
1649 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1650 [PREFIX]
1651
1652 By default, \`make install' will install all the files in
1653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1655 for instance \`--prefix=\$HOME'.
1656
1657 For better control, use the options below.
1658
1659 Fine tuning of the installation directories:
1660 --bindir=DIR user executables [EPREFIX/bin]
1661 --sbindir=DIR system admin executables [EPREFIX/sbin]
1662 --libexecdir=DIR program executables [EPREFIX/libexec]
1663 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1664 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1665 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1666 --libdir=DIR object code libraries [EPREFIX/lib]
1667 --includedir=DIR C header files [PREFIX/include]
1668 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1669 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1670 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1671 --infodir=DIR info documentation [DATAROOTDIR/info]
1672 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1673 --mandir=DIR man documentation [DATAROOTDIR/man]
1674 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1675 --htmldir=DIR html documentation [DOCDIR]
1676 --dvidir=DIR dvi documentation [DOCDIR]
1677 --pdfdir=DIR pdf documentation [DOCDIR]
1678 --psdir=DIR ps documentation [DOCDIR]
1679 _ACEOF
1680
1681 cat <<\_ACEOF
1682
1683 X features:
1684 --x-includes=DIR X include files are in DIR
1685 --x-libraries=DIR X library files are in DIR
1686
1687 System types:
1688 --build=BUILD configure for building on BUILD [guessed]
1689 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1690 _ACEOF
1691 fi
1692
1693 if test -n "$ac_init_help"; then
1694 case $ac_init_help in
1695 short | recursive ) echo "Configuration of wxWidgets 2.9.3:";;
1696 esac
1697 cat <<\_ACEOF
1698
1699 Optional Features:
1700 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1701 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1702 --disable-gui don't build GUI parts of the library
1703 --enable-monolithic build wxWidgets as single library
1704 --enable-plugins build parts of wxWidgets as loadable components
1705 --enable-official_build official build of wxWidgets (win32 DLL only)
1706 --enable-vendor=VENDOR vendor name (win32 DLL only)
1707 --disable-all-features disable all optional features to build minimal library
1708 --enable-universal use wxWidgets GUI controls instead of native ones
1709 --enable-nanox use NanoX
1710 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1711 --enable-gpe use GNOME PDA Environment features if possible
1712 --enable-debug build library for debugging
1713 --disable-debug_flag disable all debugging support
1714 --enable-debug_info generate debug information
1715 --enable-debug_gdb create code with extra GDB debugging information
1716 --enable-debug_cntxt obsolete, don't use: use wxDebugContext
1717 --enable-mem_tracing obsolete, don't use: create code with memory tracing
1718 --disable-shared create static library instead of shared
1719 --enable-stl use standard C++ classes for everything
1720 --enable-std_containers use standard C++ container classes
1721 --enable-std_iostreams use standard C++ stream classes
1722 --enable-std_string use standard C++ string classes
1723 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1724 --disable-unicode compile without Unicode support
1725 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1726 --enable-utf8 use UTF-8 representation for strings (Unix only)
1727 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1728 --enable-extended_rtti use extended RTTI (XTI)
1729 --enable-omf use OMF object format
1730 --disable-optimise compile without optimisations
1731 --enable-profile create code with profiling information
1732 --enable-no_rtti create code without RTTI information
1733 --enable-no_exceptions create code without C++ exceptions handling
1734 --enable-permissive compile code disregarding strict ANSI
1735 --enable-no_deps create code without dependency information
1736 --disable-vararg_macros don't use vararg macros, even if they are supported
1737 --enable-universal_binary create universal binary with Mac PPC and i386 (and x86_64 if using Cocoa) architectures
1738 --enable-macosx_arch=ARCH build for just the specified architecture
1739 --enable-compat26 enable wxWidgets 2.6 compatibility
1740 --disable-compat28 disable wxWidgets 2.8 compatibility
1741 --disable-rpath disable use of rpath for uninstalled builds
1742 --enable-objc_uniquifying enable Objective-C class name uniquifying
1743 --disable-visibility disable use of ELF symbols visibility even if supported
1744 --disable-tls disable use of compiler TLS support
1745 --enable-intl use internationalization system
1746 --enable-xlocale use x-locale support (requires wxLocale)
1747 --enable-config use wxConfig (and derived) classes
1748 --enable-protocols use wxProtocol and derived classes
1749 --enable-ftp use wxFTP (requires wxProtocol
1750 --enable-http use wxHTTP (requires wxProtocol
1751 --enable-fileproto use wxFileProto class (requires wxProtocol
1752 --enable-sockets use socket/network classes
1753 --enable-ipv6 enable IPv6 support in wxSocket
1754 --enable-ole use OLE classes (Win32 only)
1755 --enable-dataobj use data object classes
1756 --enable-ipc use interprocess communication (wxSocket etc.)
1757 --enable-baseevtloop use event loop in console programs too
1758 --enable-epollloop use wxEpollDispatcher class (Linux only)
1759 --enable-selectloop use wxSelectDispatcher class
1760 --enable-any use wxAny class
1761 --enable-apple_ieee use the Apple IEEE codec
1762 --enable-arcstream use wxArchive streams
1763 --enable-base64 use base64 encoding/decoding functions
1764 --enable-backtrace use wxStackWalker class for getting backtraces
1765 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1766 --enable-cmdline use wxCmdLineParser class
1767 --enable-datetime use wxDateTime class
1768 --enable-debugreport use wxDebugReport class
1769 --enable-dialupman use dialup network classes
1770 --enable-dynlib use wxLibrary class for DLL loading
1771 --enable-dynamicloader use (new) wxDynamicLibrary class
1772 --enable-exceptions build exception-safe library
1773 --enable-ffile use wxFFile class
1774 --enable-file use wxFile class
1775 --enable-filehistory use wxFileHistory class
1776 --enable-filesystem use virtual file systems classes
1777 --enable-fontenum use wxFontEnumerator class
1778 --enable-fontmap use font encodings conversion classes
1779 --enable-fs_archive use virtual archive filesystems
1780 --enable-fs_inet use virtual HTTP/FTP filesystems
1781 --enable-fs_zip now replaced by fs_archive
1782 --enable-fswatcher use wxFileSystemWatcher class
1783 --enable-geometry use geometry class
1784 --enable-log use logging system
1785 --enable-longlong use wxLongLong class
1786 --enable-mimetype use wxMimeTypesManager
1787 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1788 --enable-snglinst use wxSingleInstanceChecker class
1789 --enable-sound use wxSound class
1790 --enable-stdpaths use wxStandardPaths class
1791 --enable-stopwatch use wxStopWatch class
1792 --enable-streams use wxStream etc classes
1793 --enable-sysoptions use wxSystemOptions
1794 --enable-tarstream use wxTar streams
1795 --enable-textbuf use wxTextBuffer class
1796 --enable-textfile use wxTextFile class
1797 --enable-timer use wxTimer class
1798 --enable-variant use wxVariant class
1799 --enable-zipstream use wxZip streams
1800 --enable-url use wxURL class
1801 --enable-protocol use wxProtocol class
1802 --enable-protocol-http HTTP support in wxProtocol
1803 --enable-protocol-ftp FTP support in wxProtocol
1804 --enable-protocol-file FILE support in wxProtocol
1805 --enable-threads use threads
1806 --enable-iniconf use wxIniConfig (Win32 only)
1807 --enable-regkey use wxRegKey class (Win32 only)
1808 --enable-docview use document view architecture
1809 --enable-help use help subsystem
1810 --enable-mshtmlhelp use MS HTML Help (win32)
1811 --enable-html use wxHTML sub-library
1812 --enable-htmlhelp use wxHTML-based help
1813 --enable-xrc use XRC resources sub-library
1814 --enable-aui use AUI docking library
1815 --enable-propgrid use wxPropertyGrid library
1816 --enable-ribbon use wxRibbon library
1817 --enable-stc use wxStyledTextCtrl library
1818 --enable-constraints use layout-constraints system
1819 --enable-loggui use standard GUI logger
1820 --enable-logwin use wxLogWindow
1821 --enable-logdialog use wxLogDialog
1822 --enable-mdi use multiple document interface architecture
1823 --enable-mdidoc use docview architecture with MDI
1824 --enable-mediactrl use wxMediaCtrl class
1825 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1826 --enable-richtext use wxRichTextCtrl
1827 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1828 --enable-printarch use printing architecture
1829 --enable-svg use wxSVGFileDC device context
1830 --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
1831 --enable-webview use wxWebView library
1832 --enable-graphics_ctx use graphics context 2D drawing API
1833 --enable-clipboard use wxClipboard class
1834 --enable-dnd use Drag'n'Drop classes
1835 --disable-controls disable compilation of all standard controls
1836 --enable-markup support wxControl::SetLabelMarkup
1837 --enable-accel use accelerators
1838 --enable-animatectrl use wxAnimationCtrl class
1839 --enable-bannerwindow use wxBannerWindow class
1840 --enable-artstd use standard XPM icons in wxArtProvider
1841 --enable-arttango use Tango icons in wxArtProvider
1842 --enable-bmpbutton use wxBitmapButton class
1843 --enable-bmpcombobox use wxBitmapComboBox class
1844 --enable-button use wxButton class
1845 --enable-calendar use wxCalendarCtrl class
1846 --enable-caret use wxCaret class
1847 --enable-checkbox use wxCheckBox class
1848 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1849 --enable-choice use wxChoice class
1850 --enable-choicebook use wxChoicebook class
1851 --enable-collpane use wxCollapsiblePane class
1852 --enable-colourpicker use wxColourPickerCtrl class
1853 --enable-combobox use wxComboBox class
1854 --enable-comboctrl use wxComboCtrl class
1855 --enable-commandlinkbutton use wxCommmandLinkButton class
1856 --enable-dataviewctrl use wxDataViewCtrl class
1857 --enable-datepick use wxDatePickerCtrl class
1858 --enable-detect_sm use code to detect X11 session manager
1859 --enable-dirpicker use wxDirPickerCtrl class
1860 --enable-display use wxDisplay class
1861 --enable-editablebox use wxEditableListBox class
1862 --enable-filectrl use wxFileCtrl class
1863 --enable-filepicker use wxFilePickerCtrl class
1864 --enable-fontpicker use wxFontPickerCtrl class
1865 --enable-gauge use wxGauge class
1866 --enable-grid use wxGrid class
1867 --enable-headerctrl use wxHeaderCtrl class
1868 --enable-hyperlink use wxHyperlinkCtrl class
1869 --enable-imaglist use wxImageList class
1870 --enable-infobar use wxInfoBar class
1871 --enable-listbook use wxListbook class
1872 --enable-listbox use wxListBox class
1873 --enable-listctrl use wxListCtrl class
1874 --enable-notebook use wxNotebook class
1875 --enable-notifmsg use wxNotificationMessage class
1876 --enable-odcombobox use wxOwnerDrawnComboBox class
1877 --enable-popupwin use wxPopUpWindow class
1878 --enable-radiobox use wxRadioBox class
1879 --enable-radiobtn use wxRadioButton class
1880 --enable-richmsgdlg use wxRichMessageDialog class
1881 --enable-richtooltip use wxRichToolTip class
1882 --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
1883 --enable-sash use wxSashWindow class
1884 --enable-scrollbar use wxScrollBar class and scrollable windows
1885 --enable-searchctrl use wxSearchCtrl class
1886 --enable-slider use wxSlider class
1887 --enable-spinbtn use wxSpinButton class
1888 --enable-spinctrl use wxSpinCtrl class
1889 --enable-splitter use wxSplitterWindow class
1890 --enable-statbmp use wxStaticBitmap class
1891 --enable-statbox use wxStaticBox class
1892 --enable-statline use wxStaticLine class
1893 --enable-stattext use wxStaticText class
1894 --enable-statusbar use wxStatusBar class
1895 --enable-taskbaricon use wxTaskBarIcon class
1896 --enable-tbarnative use native wxToolBar class
1897 --enable-textctrl use wxTextCtrl class
1898 --enable-timepick use wxTimePickerCtrl class
1899 --enable-tipwindow use wxTipWindow class
1900 --enable-togglebtn use wxToggleButton class
1901 --enable-toolbar use wxToolBar class
1902 --enable-toolbook use wxToolbook class
1903 --enable-treebook use wxTreebook class
1904 --enable-treectrl use wxTreeCtrl class
1905 --enable-treelist use wxTreeListCtrl class
1906 --enable-commondlg use all common dialogs
1907 --enable-aboutdlg use wxAboutBox
1908 --enable-choicedlg use wxChoiceDialog
1909 --enable-coldlg use wxColourDialog
1910 --enable-filedlg use wxFileDialog
1911 --enable-finddlg use wxFindReplaceDialog
1912 --enable-fontdlg use wxFontDialog
1913 --enable-dirdlg use wxDirDialog
1914 --enable-msgdlg use wxMessageDialog
1915 --enable-numberdlg use wxNumberEntryDialog
1916 --enable-splash use wxSplashScreen
1917 --enable-textdlg use wxTextDialog
1918 --enable-tipdlg use startup tips
1919 --enable-progressdlg use wxProgressDialog
1920 --enable-wizarddlg use wxWizard
1921 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1922 --enable-miniframe use wxMiniFrame class
1923 --enable-tooltips use wxToolTip class
1924 --enable-splines use spline drawing code
1925 --enable-mousewheel use mousewheel
1926 --enable-validators use wxValidator and derived classes
1927 --enable-busyinfo use wxBusyInfo
1928 --enable-hotkey use wxWindow::RegisterHotKey()
1929 --enable-joystick use wxJoystick
1930 --enable-metafiles use wxMetaFile
1931 --enable-dragimage use wxDragImage
1932 --enable-accessibility enable accessibility support
1933 --enable-uiactionsim use wxUIActionSimulator (experimental)
1934 --enable-dctransform use wxDC::SetTransformMatrix and related
1935 --enable-webview-webkit use wxWebView WebKit backend
1936 --enable-palette use wxPalette class
1937 --enable-image use wxImage class
1938 --enable-gif use gif images (GIF file format)
1939 --enable-pcx use pcx images (PCX file format)
1940 --enable-tga use tga images (TGA file format)
1941 --enable-iff use iff images (IFF file format)
1942 --enable-pnm use pnm images (PNM file format)
1943 --enable-xpm use xpm images (XPM file format)
1944 --enable-ico_cur use Windows ICO and CUR formats
1945 --enable-dccache cache temporary wxDC objects (Win32 only)
1946 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1947 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1948 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1949 --enable-wxdib use wxDIB class (Win32 only)
1950 --enable-webview-ie use wxWebView IE backend (Win32 only)
1951 --enable-autoidman use automatic ids management
1952 --disable-largefile omit support for large files
1953 --disable-gtktest do not try to compile and run a test GTK+ program
1954 --disable-gtktest Do not try to compile and run a test GTK program
1955 --disable-sdltest Do not try to compile and run a test SDL program
1956 --enable-omf use OMF object format (OS/2)
1957 --disable-dependency-tracking
1958 don't use dependency tracking even if the compiler
1959 can
1960 --disable-precomp-headers
1961 don't use precompiled headers even if compiler can
1962
1963 Optional Packages:
1964 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1965 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1966 --without-subdirs don't generate makefiles for samples/demos/...
1967 --with-flavour=NAME specify a name to identify this build
1968 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1969 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1970 --with-motif use Motif/Lesstif
1971 --with-osx_carbon use Mac OS X (Carbon)
1972 --with-osx_cocoa use Mac OS X (Cocoa)
1973 --with-osx_iphone use iPhone OS X port
1974 --with-osx use Mac OS X (default port, currently Carbon)
1975 --with-carbon same as --with-osx_carbon
1976 --with-cocoa same as --with-osx_cocoa
1977 --with-iphone same as --with-osx_iphone
1978 --with-mac same as --with-osx
1979 --with-old_cocoa use old, deprecated, Cocoa port
1980 --with-wine use Wine
1981 --with-msw use MS-Windows
1982 --with-pm use OS/2 Presentation Manager
1983 --with-mgl use SciTech MGL
1984 --with-directfb use DirectFB
1985 --with-microwin use MicroWindows
1986 --with-x11 use X11
1987 --with-libpng use libpng (PNG image format)
1988 --with-libjpeg use libjpeg (JPEG file format)
1989 --with-libtiff use libtiff (TIFF file format)
1990 --with-libxpm use libxpm (XPM file format)
1991 --with-libiconv use libiconv (character conversion)
1992 --with-libmspack use libmspack (CHM help files loading)
1993 --without-gtkprint don't use GTK printing support
1994 --without-gnomeprint don't use GNOME printing libraries
1995 --with-gnomevfs use GNOME VFS for associating MIME types
1996 --with-hildon use Hildon framework for Nokia 770/800/810
1997 --with-opengl use OpenGL (or Mesa)
1998 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1999 --with-sdl use SDL for audio on Unix
2000 --with-regex enable support for wxRegEx class
2001 --with-zlib use zlib for LZW compression
2002 --with-expat enable XML support using expat parser
2003 --with-macosx-sdk=PATH use an OS X SDK at PATH
2004 --with-macosx-version-min=VER build binaries which require at least this OS X version
2005 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2006 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2007 --with-x use the X Window System
2008 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2009 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2010 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2011 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2012 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2013
2014 Some influential environment variables:
2015 CC C compiler command
2016 CFLAGS C compiler flags
2017 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2018 nonstandard directory <lib dir>
2019 LIBS libraries to pass to the linker, e.g. -l<library>
2020 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2021 you have headers in a nonstandard directory <include dir>
2022 CPP C preprocessor
2023 CXX C++ compiler command
2024 CXXFLAGS C++ compiler flags
2025 CXXCPP C++ preprocessor
2026 PKG_CONFIG path to pkg-config utility
2027 DIRECTFB_CFLAGS
2028 C compiler flags for DIRECTFB, overriding pkg-config
2029 DIRECTFB_LIBS
2030 linker flags for DIRECTFB, overriding pkg-config
2031 XMKMF Path to xmkmf, Makefile generator for X Window System
2032 PANGOX_CFLAGS
2033 C compiler flags for PANGOX, overriding pkg-config
2034 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2035 PANGOFT2_CFLAGS
2036 C compiler flags for PANGOFT2, overriding pkg-config
2037 PANGOFT2_LIBS
2038 linker flags for PANGOFT2, overriding pkg-config
2039 PANGOXFT_CFLAGS
2040 C compiler flags for PANGOXFT, overriding pkg-config
2041 PANGOXFT_LIBS
2042 linker flags for PANGOXFT, overriding pkg-config
2043 Xinerama_CFLAGS
2044 C compiler flags for Xinerama, overriding pkg-config
2045 Xinerama_LIBS
2046 linker flags for Xinerama, overriding pkg-config
2047 Xxf86vm_CFLAGS
2048 C compiler flags for Xxf86vm, overriding pkg-config
2049 Xxf86vm_LIBS
2050 linker flags for Xxf86vm, overriding pkg-config
2051 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2052 SM_LIBS linker flags for SM, overriding pkg-config
2053 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2054 GL_LIBS linker flags for GL, overriding pkg-config
2055 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2056 GLU_LIBS linker flags for GLU, overriding pkg-config
2057 MesaGL_CFLAGS
2058 C compiler flags for MesaGL, overriding pkg-config
2059 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2060 GTKPRINT_CFLAGS
2061 C compiler flags for GTKPRINT, overriding pkg-config
2062 GTKPRINT_LIBS
2063 linker flags for GTKPRINT, overriding pkg-config
2064 LIBGNOMEPRINTUI_CFLAGS
2065 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2066 LIBGNOMEPRINTUI_LIBS
2067 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2068 GNOMEVFS_CFLAGS
2069 C compiler flags for GNOMEVFS, overriding pkg-config
2070 GNOMEVFS_LIBS
2071 linker flags for GNOMEVFS, overriding pkg-config
2072 HILDON_CFLAGS
2073 C compiler flags for HILDON, overriding pkg-config
2074 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2075 HILDON2_CFLAGS
2076 C compiler flags for HILDON2, overriding pkg-config
2077 HILDON2_LIBS
2078 linker flags for HILDON2, overriding pkg-config
2079 CAIRO_CFLAGS
2080 C compiler flags for CAIRO, overriding pkg-config
2081 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2082 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2083 GST_LIBS linker flags for GST, overriding pkg-config
2084
2085 Use these variables to override the choices made by `configure' or to help
2086 it to find libraries and programs with nonstandard names/locations.
2087
2088 Report bugs to <wx-dev@lists.wxwidgets.org>.
2089 _ACEOF
2090 ac_status=$?
2091 fi
2092
2093 if test "$ac_init_help" = "recursive"; then
2094 # If there are subdirs, report their specific --help.
2095 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2096 test -d "$ac_dir" || continue
2097 ac_builddir=.
2098
2099 case "$ac_dir" in
2100 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2101 *)
2102 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2103 # A ".." for each directory in $ac_dir_suffix.
2104 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2105 case $ac_top_builddir_sub in
2106 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2107 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2108 esac ;;
2109 esac
2110 ac_abs_top_builddir=$ac_pwd
2111 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2112 # for backward compatibility:
2113 ac_top_builddir=$ac_top_build_prefix
2114
2115 case $srcdir in
2116 .) # We are building in place.
2117 ac_srcdir=.
2118 ac_top_srcdir=$ac_top_builddir_sub
2119 ac_abs_top_srcdir=$ac_pwd ;;
2120 [\\/]* | ?:[\\/]* ) # Absolute name.
2121 ac_srcdir=$srcdir$ac_dir_suffix;
2122 ac_top_srcdir=$srcdir
2123 ac_abs_top_srcdir=$srcdir ;;
2124 *) # Relative name.
2125 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2126 ac_top_srcdir=$ac_top_build_prefix$srcdir
2127 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2128 esac
2129 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2130
2131 cd "$ac_dir" || { ac_status=$?; continue; }
2132 # Check for guested configure.
2133 if test -f "$ac_srcdir/configure.gnu"; then
2134 echo &&
2135 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2136 elif test -f "$ac_srcdir/configure"; then
2137 echo &&
2138 $SHELL "$ac_srcdir/configure" --help=recursive
2139 else
2140 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2141 fi || ac_status=$?
2142 cd "$ac_pwd" || { ac_status=$?; break; }
2143 done
2144 fi
2145
2146 test -n "$ac_init_help" && exit $ac_status
2147 if $ac_init_version; then
2148 cat <<\_ACEOF
2149 wxWidgets configure 2.9.3
2150 generated by GNU Autoconf 2.61
2151
2152 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2153 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2154 This configure script is free software; the Free Software Foundation
2155 gives unlimited permission to copy, distribute and modify it.
2156 _ACEOF
2157 exit
2158 fi
2159 cat >config.log <<_ACEOF
2160 This file contains any messages produced by compilers while
2161 running configure, to aid debugging if configure makes a mistake.
2162
2163 It was created by wxWidgets $as_me 2.9.3, which was
2164 generated by GNU Autoconf 2.61. Invocation command line was
2165
2166 $ $0 $@
2167
2168 _ACEOF
2169 exec 5>>config.log
2170 {
2171 cat <<_ASUNAME
2172 ## --------- ##
2173 ## Platform. ##
2174 ## --------- ##
2175
2176 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2177 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2178 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2179 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2180 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2181
2182 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2183 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2184
2185 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2186 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2187 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2188 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2189 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2190 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2191 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2192
2193 _ASUNAME
2194
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 for as_dir in $PATH
2197 do
2198 IFS=$as_save_IFS
2199 test -z "$as_dir" && as_dir=.
2200 echo "PATH: $as_dir"
2201 done
2202 IFS=$as_save_IFS
2203
2204 } >&5
2205
2206 cat >&5 <<_ACEOF
2207
2208
2209 ## ----------- ##
2210 ## Core tests. ##
2211 ## ----------- ##
2212
2213 _ACEOF
2214
2215
2216 # Keep a trace of the command line.
2217 # Strip out --no-create and --no-recursion so they do not pile up.
2218 # Strip out --silent because we don't want to record it for future runs.
2219 # Also quote any args containing shell meta-characters.
2220 # Make two passes to allow for proper duplicate-argument suppression.
2221 ac_configure_args=
2222 ac_configure_args0=
2223 ac_configure_args1=
2224 ac_must_keep_next=false
2225 for ac_pass in 1 2
2226 do
2227 for ac_arg
2228 do
2229 case $ac_arg in
2230 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2231 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2232 | -silent | --silent | --silen | --sile | --sil)
2233 continue ;;
2234 *\'*)
2235 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2236 esac
2237 case $ac_pass in
2238 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2239 2)
2240 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2241 if test $ac_must_keep_next = true; then
2242 ac_must_keep_next=false # Got value, back to normal.
2243 else
2244 case $ac_arg in
2245 *=* | --config-cache | -C | -disable-* | --disable-* \
2246 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2247 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2248 | -with-* | --with-* | -without-* | --without-* | --x)
2249 case "$ac_configure_args0 " in
2250 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2251 esac
2252 ;;
2253 -* ) ac_must_keep_next=true ;;
2254 esac
2255 fi
2256 ac_configure_args="$ac_configure_args '$ac_arg'"
2257 ;;
2258 esac
2259 done
2260 done
2261 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2262 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2263
2264 # When interrupted or exit'd, cleanup temporary files, and complete
2265 # config.log. We remove comments because anyway the quotes in there
2266 # would cause problems or look ugly.
2267 # WARNING: Use '\'' to represent an apostrophe within the trap.
2268 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2269 trap 'exit_status=$?
2270 # Save into config.log some information that might help in debugging.
2271 {
2272 echo
2273
2274 cat <<\_ASBOX
2275 ## ---------------- ##
2276 ## Cache variables. ##
2277 ## ---------------- ##
2278 _ASBOX
2279 echo
2280 # The following way of writing the cache mishandles newlines in values,
2281 (
2282 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2283 eval ac_val=\$$ac_var
2284 case $ac_val in #(
2285 *${as_nl}*)
2286 case $ac_var in #(
2287 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2288 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2289 esac
2290 case $ac_var in #(
2291 _ | IFS | as_nl) ;; #(
2292 *) $as_unset $ac_var ;;
2293 esac ;;
2294 esac
2295 done
2296 (set) 2>&1 |
2297 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2298 *${as_nl}ac_space=\ *)
2299 sed -n \
2300 "s/'\''/'\''\\\\'\'''\''/g;
2301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2302 ;; #(
2303 *)
2304 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2305 ;;
2306 esac |
2307 sort
2308 )
2309 echo
2310
2311 cat <<\_ASBOX
2312 ## ----------------- ##
2313 ## Output variables. ##
2314 ## ----------------- ##
2315 _ASBOX
2316 echo
2317 for ac_var in $ac_subst_vars
2318 do
2319 eval ac_val=\$$ac_var
2320 case $ac_val in
2321 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2322 esac
2323 echo "$ac_var='\''$ac_val'\''"
2324 done | sort
2325 echo
2326
2327 if test -n "$ac_subst_files"; then
2328 cat <<\_ASBOX
2329 ## ------------------- ##
2330 ## File substitutions. ##
2331 ## ------------------- ##
2332 _ASBOX
2333 echo
2334 for ac_var in $ac_subst_files
2335 do
2336 eval ac_val=\$$ac_var
2337 case $ac_val in
2338 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2339 esac
2340 echo "$ac_var='\''$ac_val'\''"
2341 done | sort
2342 echo
2343 fi
2344
2345 if test -s confdefs.h; then
2346 cat <<\_ASBOX
2347 ## ----------- ##
2348 ## confdefs.h. ##
2349 ## ----------- ##
2350 _ASBOX
2351 echo
2352 cat confdefs.h
2353 echo
2354 fi
2355 test "$ac_signal" != 0 &&
2356 echo "$as_me: caught signal $ac_signal"
2357 echo "$as_me: exit $exit_status"
2358 } >&5
2359 rm -f core *.core core.conftest.* &&
2360 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2361 exit $exit_status
2362 ' 0
2363 for ac_signal in 1 2 13 15; do
2364 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2365 done
2366 ac_signal=0
2367
2368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2369 rm -f -r conftest* confdefs.h
2370
2371 # Predefined preprocessor variables.
2372
2373 cat >>confdefs.h <<_ACEOF
2374 #define PACKAGE_NAME "$PACKAGE_NAME"
2375 _ACEOF
2376
2377
2378 cat >>confdefs.h <<_ACEOF
2379 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2380 _ACEOF
2381
2382
2383 cat >>confdefs.h <<_ACEOF
2384 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2385 _ACEOF
2386
2387
2388 cat >>confdefs.h <<_ACEOF
2389 #define PACKAGE_STRING "$PACKAGE_STRING"
2390 _ACEOF
2391
2392
2393 cat >>confdefs.h <<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2395 _ACEOF
2396
2397
2398 # Let the site file select an alternate cache file if it wants to.
2399 # Prefer explicitly selected file to automatically selected ones.
2400 if test -n "$CONFIG_SITE"; then
2401 set x "$CONFIG_SITE"
2402 elif test "x$prefix" != xNONE; then
2403 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2404 else
2405 set x "$ac_default_prefix/share/config.site" \
2406 "$ac_default_prefix/etc/config.site"
2407 fi
2408 shift
2409 for ac_site_file
2410 do
2411 if test -r "$ac_site_file"; then
2412 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2413 echo "$as_me: loading site script $ac_site_file" >&6;}
2414 sed 's/^/| /' "$ac_site_file" >&5
2415 . "$ac_site_file"
2416 fi
2417 done
2418
2419 if test -r "$cache_file"; then
2420 # Some versions of bash will fail to source /dev/null (special
2421 # files actually), so we avoid doing that.
2422 if test -f "$cache_file"; then
2423 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2424 echo "$as_me: loading cache $cache_file" >&6;}
2425 case $cache_file in
2426 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2427 *) . "./$cache_file";;
2428 esac
2429 fi
2430 else
2431 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2432 echo "$as_me: creating cache $cache_file" >&6;}
2433 >$cache_file
2434 fi
2435
2436 # Check that the precious variables saved in the cache have kept the same
2437 # value.
2438 ac_cache_corrupted=false
2439 for ac_var in $ac_precious_vars; do
2440 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2441 eval ac_new_set=\$ac_env_${ac_var}_set
2442 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2443 eval ac_new_val=\$ac_env_${ac_var}_value
2444 case $ac_old_set,$ac_new_set in
2445 set,)
2446 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2447 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2448 ac_cache_corrupted=: ;;
2449 ,set)
2450 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2451 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2452 ac_cache_corrupted=: ;;
2453 ,);;
2454 *)
2455 if test "x$ac_old_val" != "x$ac_new_val"; then
2456 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2457 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2458 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2459 echo "$as_me: former value: $ac_old_val" >&2;}
2460 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2461 echo "$as_me: current value: $ac_new_val" >&2;}
2462 ac_cache_corrupted=:
2463 fi;;
2464 esac
2465 # Pass precious variables to config.status.
2466 if test "$ac_new_set" = set; then
2467 case $ac_new_val in
2468 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2469 *) ac_arg=$ac_var=$ac_new_val ;;
2470 esac
2471 case " $ac_configure_args " in
2472 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2473 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2474 esac
2475 fi
2476 done
2477 if $ac_cache_corrupted; then
2478 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2479 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2480 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2481 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2482 { (exit 1); exit 1; }; }
2483 fi
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509 ac_ext=c
2510 ac_cpp='$CPP $CPPFLAGS'
2511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2514
2515
2516
2517
2518
2519 ac_aux_dir=
2520 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2521 if test -f "$ac_dir/install-sh"; then
2522 ac_aux_dir=$ac_dir
2523 ac_install_sh="$ac_aux_dir/install-sh -c"
2524 break
2525 elif test -f "$ac_dir/install.sh"; then
2526 ac_aux_dir=$ac_dir
2527 ac_install_sh="$ac_aux_dir/install.sh -c"
2528 break
2529 elif test -f "$ac_dir/shtool"; then
2530 ac_aux_dir=$ac_dir
2531 ac_install_sh="$ac_aux_dir/shtool install -c"
2532 break
2533 fi
2534 done
2535 if test -z "$ac_aux_dir"; then
2536 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2537 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2538 { (exit 1); exit 1; }; }
2539 fi
2540
2541 # These three variables are undocumented and unsupported,
2542 # and are intended to be withdrawn in a future Autoconf release.
2543 # They can cause serious problems if a builder's source tree is in a directory
2544 # whose full name contains unusual characters.
2545 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2546 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2547 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2548
2549
2550 # Make sure we can run config.sub.
2551 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2552 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2553 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2554 { (exit 1); exit 1; }; }
2555
2556 { echo "$as_me:$LINENO: checking build system type" >&5
2557 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2558 if test "${ac_cv_build+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 else
2561 ac_build_alias=$build_alias
2562 test "x$ac_build_alias" = x &&
2563 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2564 test "x$ac_build_alias" = x &&
2565 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2566 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2567 { (exit 1); exit 1; }; }
2568 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2569 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2570 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2571 { (exit 1); exit 1; }; }
2572
2573 fi
2574 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2575 echo "${ECHO_T}$ac_cv_build" >&6; }
2576 case $ac_cv_build in
2577 *-*-*) ;;
2578 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2579 echo "$as_me: error: invalid value of canonical build" >&2;}
2580 { (exit 1); exit 1; }; };;
2581 esac
2582 build=$ac_cv_build
2583 ac_save_IFS=$IFS; IFS='-'
2584 set x $ac_cv_build
2585 shift
2586 build_cpu=$1
2587 build_vendor=$2
2588 shift; shift
2589 # Remember, the first character of IFS is used to create $*,
2590 # except with old shells:
2591 build_os=$*
2592 IFS=$ac_save_IFS
2593 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2594
2595
2596 { echo "$as_me:$LINENO: checking host system type" >&5
2597 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2598 if test "${ac_cv_host+set}" = set; then
2599 echo $ECHO_N "(cached) $ECHO_C" >&6
2600 else
2601 if test "x$host_alias" = x; then
2602 ac_cv_host=$ac_cv_build
2603 else
2604 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2605 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2606 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2607 { (exit 1); exit 1; }; }
2608 fi
2609
2610 fi
2611 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2612 echo "${ECHO_T}$ac_cv_host" >&6; }
2613 case $ac_cv_host in
2614 *-*-*) ;;
2615 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2616 echo "$as_me: error: invalid value of canonical host" >&2;}
2617 { (exit 1); exit 1; }; };;
2618 esac
2619 host=$ac_cv_host
2620 ac_save_IFS=$IFS; IFS='-'
2621 set x $ac_cv_host
2622 shift
2623 host_cpu=$1
2624 host_vendor=$2
2625 shift; shift
2626 # Remember, the first character of IFS is used to create $*,
2627 # except with old shells:
2628 host_os=$*
2629 IFS=$ac_save_IFS
2630 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2631
2632
2633
2634 if test "$cross_compiling" != "no"; then
2635 HOST_PREFIX="${host_alias}-"
2636 HOST_SUFFIX="-$host_alias"
2637 else
2638 HOST_PREFIX=
2639 HOST_SUFFIX=
2640 fi
2641
2642
2643 wx_major_version_number=2
2644 wx_minor_version_number=9
2645 wx_release_number=3
2646 wx_subrelease_number=0
2647
2648 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2649 WX_VERSION=$WX_RELEASE.$wx_release_number
2650 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2651
2652 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2653
2654
2655 wx_top_builddir="`pwd`"
2656
2657
2658
2659
2660 USE_UNIX=1
2661 USE_OS2=0
2662 USE_WIN32=0
2663 USE_DOS=0
2664 USE_BEOS=0
2665 USE_MAC=0
2666
2667 USE_AIX=
2668 USE_BSD= USE_DARWIN= USE_FREEBSD=
2669 USE_GNU= USE_HPUX=
2670 USE_LINUX=
2671 USE_NETBSD=
2672 USE_OPENBSD=
2673 USE_OSF= USE_SGI=
2674 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2675 USE_ULTRIX=
2676 USE_UNIXWARE=
2677
2678 USE_ALPHA=
2679
2680 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2681
2682 ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2683
2684 DEFAULT_wxUSE_OLD_COCOA=0
2685 DEFAULT_wxUSE_GTK=0
2686 DEFAULT_wxUSE_OSX_CARBON=0
2687 DEFAULT_wxUSE_OSX_COCOA=0
2688 DEFAULT_wxUSE_OSX_IPHONE=0
2689 DEFAULT_wxUSE_MGL=0
2690 DEFAULT_wxUSE_MICROWIN=0
2691 DEFAULT_wxUSE_MOTIF=0
2692 DEFAULT_wxUSE_MSW=0
2693 DEFAULT_wxUSE_PM=0
2694 DEFAULT_wxUSE_X11=0
2695 DEFAULT_wxUSE_DFB=0
2696
2697 DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
2698 DEFAULT_DEFAULT_wxUSE_GTK=0
2699 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
2700 DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
2701 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
2702 DEFAULT_DEFAULT_wxUSE_MGL=0
2703 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2704 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2705 DEFAULT_DEFAULT_wxUSE_MSW=0
2706 DEFAULT_DEFAULT_wxUSE_PM=0
2707 DEFAULT_DEFAULT_wxUSE_X11=0
2708 DEFAULT_DEFAULT_wxUSE_DFB=0
2709
2710 PROGRAM_EXT=
2711 SAMPLES_RPATH_FLAG=
2712 DYLIB_RPATH_INSTALL=
2713 DYLIB_RPATH_POSTLINK=
2714
2715 DEFAULT_STD_FLAG=yes
2716
2717 case "${host}" in
2718 *-hp-hpux* )
2719 USE_HPUX=1
2720 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2722 cat >>confdefs.h <<\_ACEOF
2723 #define __HPUX__ 1
2724 _ACEOF
2725
2726
2727 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2728 ;;
2729 *-*-linux* )
2730 USE_LINUX=1
2731 cat >>confdefs.h <<\_ACEOF
2732 #define __LINUX__ 1
2733 _ACEOF
2734
2735 TMP=`uname -m`
2736 if test "x$TMP" = "xalpha"; then
2737 USE_ALPHA=1
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __ALPHA__ 1
2740 _ACEOF
2741
2742 fi
2743 DEFAULT_DEFAULT_wxUSE_GTK=1
2744 ;;
2745 *-*-gnu* | *-*-k*bsd*-gnu )
2746 USE_GNU=1
2747 TMP=`uname -m`
2748 if test "x$TMP" = "xalpha"; then
2749 USE_ALPHA=1
2750 cat >>confdefs.h <<\_ACEOF
2751 #define __ALPHA__ 1
2752 _ACEOF
2753
2754 fi
2755 DEFAULT_DEFAULT_wxUSE_GTK=1
2756 ;;
2757 *-*-irix5* | *-*-irix6* )
2758 USE_SGI=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SGI__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-qnx*)
2771 USE_QNX=1
2772 cat >>confdefs.h <<\_ACEOF
2773 #define __QNX__ 1
2774 _ACEOF
2775
2776 DEFAULT_DEFAULT_wxUSE_X11=1
2777 ;;
2778 *-*-solaris2* )
2779 USE_SUN=1
2780 USE_SOLARIS=1
2781 USE_SVR4=1
2782 cat >>confdefs.h <<\_ACEOF
2783 #define __SUN__ 1
2784 _ACEOF
2785
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SOLARIS__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SVR4__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2796 ;;
2797 *-*-sunos4* )
2798 USE_SUN=1
2799 USE_SUNOS=1
2800 USE_BSD=1
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __SUN__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SUNOS__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __BSD__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 ;;
2815 *-*-freebsd*)
2816 USE_BSD=1
2817 USE_FREEBSD=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __FREEBSD__ 1
2820 _ACEOF
2821
2822 cat >>confdefs.h <<\_ACEOF
2823 #define __BSD__ 1
2824 _ACEOF
2825
2826 DEFAULT_DEFAULT_wxUSE_GTK=1
2827 ;;
2828 *-*-openbsd*|*-*-mirbsd*)
2829 USE_BSD=1
2830 USE_OPENBSD=1
2831 cat >>confdefs.h <<\_ACEOF
2832 #define __OPENBSD__ 1
2833 _ACEOF
2834
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __BSD__ 1
2837 _ACEOF
2838
2839 DEFAULT_DEFAULT_wxUSE_GTK=1
2840 ;;
2841 *-*-netbsd*)
2842 USE_BSD=1
2843 USE_NETBSD=1
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __NETBSD__ 1
2846 _ACEOF
2847
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __BSD__ 1
2850 _ACEOF
2851
2852 DEFAULT_DEFAULT_wxUSE_GTK=1
2853 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2854
2855 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2856 ;;
2857 *-*-osf* )
2858 USE_ALPHA=1
2859 USE_OSF=1
2860 cat >>confdefs.h <<\_ACEOF
2861 #define __ALPHA__ 1
2862 _ACEOF
2863
2864 cat >>confdefs.h <<\_ACEOF
2865 #define __OSF__ 1
2866 _ACEOF
2867
2868 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2869 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2870 ;;
2871 *-*-dgux5* )
2872 USE_ALPHA=1
2873 USE_SVR4=1
2874 cat >>confdefs.h <<\_ACEOF
2875 #define __ALPHA__ 1
2876 _ACEOF
2877
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __SVR4__ 1
2880 _ACEOF
2881
2882 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2883 ;;
2884 *-*-sysv5* )
2885 USE_SYSV=1
2886 USE_SVR4=1
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __SYSV__ 1
2889 _ACEOF
2890
2891 cat >>confdefs.h <<\_ACEOF
2892 #define __SVR4__ 1
2893 _ACEOF
2894
2895 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2896 ;;
2897 *-*-aix* )
2898 USE_AIX=1
2899 USE_SYSV=1
2900 USE_SVR4=1
2901 cat >>confdefs.h <<\_ACEOF
2902 #define __AIX__ 1
2903 _ACEOF
2904
2905 cat >>confdefs.h <<\_ACEOF
2906 #define __SYSV__ 1
2907 _ACEOF
2908
2909 cat >>confdefs.h <<\_ACEOF
2910 #define __SVR4__ 1
2911 _ACEOF
2912
2913 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2914 ;;
2915
2916 *-*-*UnixWare*)
2917 USE_SYSV=1
2918 USE_SVR4=1
2919 USE_UNIXWARE=1
2920 cat >>confdefs.h <<\_ACEOF
2921 #define __UNIXWARE__ 1
2922 _ACEOF
2923
2924 ;;
2925
2926 *-*-cygwin* | *-*-mingw32* )
2927 PROGRAM_EXT=".exe"
2928 DEFAULT_DEFAULT_wxUSE_MSW=1
2929 ;;
2930
2931 *-pc-msdosdjgpp )
2932 USE_UNIX=0
2933 USE_DOS=1
2934 cat >>confdefs.h <<\_ACEOF
2935 #define __DOS__ 1
2936 _ACEOF
2937
2938 PROGRAM_EXT=".exe"
2939 DEFAULT_DEFAULT_wxUSE_MGL=1
2940 ;;
2941
2942 *-pc-os2_emx | *-pc-os2-emx )
2943 cat >>confdefs.h <<\_ACEOF
2944 #define __EMX__ 1
2945 _ACEOF
2946
2947 USE_OS2=1
2948 cat >>confdefs.h <<\_ACEOF
2949 #define __OS2__ 1
2950 _ACEOF
2951
2952 PROGRAM_EXT=".exe"
2953 DEFAULT_DEFAULT_wxUSE_PM=1
2954 CXX=gcc
2955 LDFLAGS="$LDFLAGS -Zcrtdll"
2956 ac_executable_extensions=".exe"
2957 export ac_executable_extensions
2958 ac_save_IFS="$IFS"
2959 IFS='\\'
2960 ac_TEMP_PATH=
2961 for ac_dir in $PATH; do
2962 IFS=$ac_save_IFS
2963 if test -z "$ac_TEMP_PATH"; then
2964 ac_TEMP_PATH="$ac_dir"
2965 else
2966 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2967 fi
2968 done
2969 export PATH="$ac_TEMP_PATH"
2970 unset ac_TEMP_PATH
2971 DEFAULT_STD_FLAG=no
2972 ;;
2973
2974 arm-apple-darwin*)
2975 USE_BSD=1
2976 USE_DARWIN=1
2977 cat >>confdefs.h <<\_ACEOF
2978 #define __BSD__ 1
2979 _ACEOF
2980
2981 cat >>confdefs.h <<\_ACEOF
2982 #define __DARWIN__ 1
2983 _ACEOF
2984
2985 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
2986 ;;
2987
2988 *-*-darwin* )
2989 USE_BSD=1
2990 USE_DARWIN=1
2991 cat >>confdefs.h <<\_ACEOF
2992 #define __BSD__ 1
2993 _ACEOF
2994
2995 cat >>confdefs.h <<\_ACEOF
2996 #define __DARWIN__ 1
2997 _ACEOF
2998
2999 cat >>confdefs.h <<\_ACEOF
3000 #define TARGET_CARBON 1
3001 _ACEOF
3002
3003 DEFAULT_DEFAULT_wxUSE_OSX_CARBON=1
3004 ;;
3005
3006 *-*-beos* )
3007 USE_BEOS=1
3008 cat >>confdefs.h <<\_ACEOF
3009 #define __BEOS__ 1
3010 _ACEOF
3011
3012 ;;
3013
3014 *)
3015 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3016 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3017 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3018 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3019
3020 DEFAULT_DEFAULT_wxUSE_X11=1
3021 DEFAULT_wxUSE_SHARED=no
3022 esac
3023
3024
3025
3026 DEFAULT_wxUSE_ALL_FEATURES=yes
3027
3028 DEFAULT_wxUSE_STD_CONTAINERS=no
3029 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3030 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3031
3032 DEFAULT_wxUSE_DMALLOC=no
3033 DEFAULT_wxUSE_LIBGNOMEVFS=no
3034 DEFAULT_wxUSE_LIBHILDON=no
3035 DEFAULT_wxUSE_LIBHILDON2=no
3036 DEFAULT_wxUSE_LIBMSPACK=no
3037 DEFAULT_wxUSE_LIBSDL=no
3038
3039 DEFAULT_wxUSE_ACCESSIBILITY=no
3040 DEFAULT_wxUSE_IPV6=no
3041 DEFAULT_wxUSE_GSTREAMER8=no
3042
3043 DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
3044 DEFAULT_wxUSE_UNICODE_UTF8=auto
3045 DEFAULT_wxUSE_OPENGL=auto
3046 DEFAULT_wxUSE_MEDIACTRL=auto
3047 DEFAULT_wxUSE_COMPILER_TLS=auto
3048 DEFAULT_wxUSE_HOTKEY=auto
3049 DEFAULT_wxUSE_METAFILE=auto
3050
3051 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3052
3053 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3054 DEFAULT_wxUSE_MAC_ARCH=no
3055
3056 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3057
3058 DEFAULT_wxUSE_GTK2=yes
3059
3060 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
3061
3062
3063
3064
3065
3066 enablestring=disable
3067 defaultval=
3068 if test -z "$defaultval"; then
3069 if test x"$enablestring" = xdisable; then
3070 defaultval=yes
3071 else
3072 defaultval=no
3073 fi
3074 fi
3075
3076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3077 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3078 # Check whether --enable-gui was given.
3079 if test "${enable_gui+set}" = set; then
3080 enableval=$enable_gui;
3081 if test "$enableval" = yes; then
3082 wx_cv_use_gui='wxUSE_GUI=yes'
3083 else
3084 wx_cv_use_gui='wxUSE_GUI=no'
3085 fi
3086
3087 else
3088
3089 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3090
3091 fi
3092
3093
3094 eval "$wx_cv_use_gui"
3095
3096 if test x"$enablestring" = xdisable; then
3097 if test $wxUSE_GUI = no; then
3098 result=yes
3099 else
3100 result=no
3101 fi
3102 else
3103 result=$wxUSE_GUI
3104 fi
3105
3106 { echo "$as_me:$LINENO: result: $result" >&5
3107 echo "${ECHO_T}$result" >&6; }
3108
3109
3110 enablestring=
3111 defaultval=
3112 if test -z "$defaultval"; then
3113 if test x"$enablestring" = xdisable; then
3114 defaultval=yes
3115 else
3116 defaultval=no
3117 fi
3118 fi
3119
3120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3121 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3122 # Check whether --enable-monolithic was given.
3123 if test "${enable_monolithic+set}" = set; then
3124 enableval=$enable_monolithic;
3125 if test "$enableval" = yes; then
3126 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3127 else
3128 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3129 fi
3130
3131 else
3132
3133 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3134
3135 fi
3136
3137
3138 eval "$wx_cv_use_monolithic"
3139
3140 if test x"$enablestring" = xdisable; then
3141 if test $wxUSE_MONOLITHIC = no; then
3142 result=yes
3143 else
3144 result=no
3145 fi
3146 else
3147 result=$wxUSE_MONOLITHIC
3148 fi
3149
3150 { echo "$as_me:$LINENO: result: $result" >&5
3151 echo "${ECHO_T}$result" >&6; }
3152
3153
3154 enablestring=
3155 defaultval=
3156 if test -z "$defaultval"; then
3157 if test x"$enablestring" = xdisable; then
3158 defaultval=yes
3159 else
3160 defaultval=no
3161 fi
3162 fi
3163
3164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3165 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3166 # Check whether --enable-plugins was given.
3167 if test "${enable_plugins+set}" = set; then
3168 enableval=$enable_plugins;
3169 if test "$enableval" = yes; then
3170 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3171 else
3172 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3173 fi
3174
3175 else
3176
3177 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3178
3179 fi
3180
3181
3182 eval "$wx_cv_use_plugins"
3183
3184 if test x"$enablestring" = xdisable; then
3185 if test $wxUSE_PLUGINS = no; then
3186 result=yes
3187 else
3188 result=no
3189 fi
3190 else
3191 result=$wxUSE_PLUGINS
3192 fi
3193
3194 { echo "$as_me:$LINENO: result: $result" >&5
3195 echo "${ECHO_T}$result" >&6; }
3196
3197
3198 withstring=without
3199 defaultval=$wxUSE_ALL_FEATURES
3200 if test -z "$defaultval"; then
3201 if test x"$withstring" = xwithout; then
3202 defaultval=yes
3203 else
3204 defaultval=no
3205 fi
3206 fi
3207 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3208 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3209
3210 # Check whether --with-subdirs was given.
3211 if test "${with_subdirs+set}" = set; then
3212 withval=$with_subdirs;
3213 if test "$withval" = yes; then
3214 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3215 else
3216 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3217 fi
3218
3219 else
3220
3221 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3222
3223 fi
3224
3225
3226 eval "$wx_cv_use_subdirs"
3227
3228 if test x"$withstring" = xwithout; then
3229 if test $wxWITH_SUBDIRS = yes; then
3230 result=no
3231 else
3232 result=yes
3233 fi
3234 else
3235 result=$wxWITH_SUBDIRS
3236 fi
3237
3238 { echo "$as_me:$LINENO: result: $result" >&5
3239 echo "${ECHO_T}$result" >&6; }
3240
3241
3242 # Check whether --with-flavour was given.
3243 if test "${with_flavour+set}" = set; then
3244 withval=$with_flavour; WX_FLAVOUR="$withval"
3245 fi
3246
3247
3248 enablestring=
3249 defaultval=
3250 if test -z "$defaultval"; then
3251 if test x"$enablestring" = xdisable; then
3252 defaultval=yes
3253 else
3254 defaultval=no
3255 fi
3256 fi
3257
3258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3259 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3260 # Check whether --enable-official_build was given.
3261 if test "${enable_official_build+set}" = set; then
3262 enableval=$enable_official_build;
3263 if test "$enableval" = yes; then
3264 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3265 else
3266 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3267 fi
3268
3269 else
3270
3271 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3272
3273 fi
3274
3275
3276 eval "$wx_cv_use_official_build"
3277
3278 if test x"$enablestring" = xdisable; then
3279 if test $wxUSE_OFFICIAL_BUILD = no; then
3280 result=yes
3281 else
3282 result=no
3283 fi
3284 else
3285 result=$wxUSE_OFFICIAL_BUILD
3286 fi
3287
3288 { echo "$as_me:$LINENO: result: $result" >&5
3289 echo "${ECHO_T}$result" >&6; }
3290
3291 # Check whether --enable-vendor was given.
3292 if test "${enable_vendor+set}" = set; then
3293 enableval=$enable_vendor; VENDOR="$enableval"
3294 fi
3295
3296 if test "x$VENDOR" = "x"; then
3297 VENDOR="custom"
3298 fi
3299
3300
3301 enablestring=disable
3302 defaultval=
3303 if test -z "$defaultval"; then
3304 if test x"$enablestring" = xdisable; then
3305 defaultval=yes
3306 else
3307 defaultval=no
3308 fi
3309 fi
3310
3311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3312 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3313 # Check whether --enable-all-features was given.
3314 if test "${enable_all_features+set}" = set; then
3315 enableval=$enable_all_features;
3316 if test "$enableval" = yes; then
3317 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3318 else
3319 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3320 fi
3321
3322 else
3323
3324 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3325
3326 fi
3327
3328
3329 eval "$wx_cv_use_all_features"
3330
3331 if test x"$enablestring" = xdisable; then
3332 if test $wxUSE_ALL_FEATURES = no; then
3333 result=yes
3334 else
3335 result=no
3336 fi
3337 else
3338 result=$wxUSE_ALL_FEATURES
3339 fi
3340
3341 { echo "$as_me:$LINENO: result: $result" >&5
3342 echo "${ECHO_T}$result" >&6; }
3343
3344
3345 if test "$wxUSE_ALL_FEATURES" = "no"; then
3346 DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
3347 DEFAULT_wxUSE_MEDIACTRL=no
3348 fi
3349
3350
3351 if test "$wxUSE_GUI" = "yes"; then
3352
3353
3354 enablestring=
3355 defaultval=
3356 if test -z "$defaultval"; then
3357 if test x"$enablestring" = xdisable; then
3358 defaultval=yes
3359 else
3360 defaultval=no
3361 fi
3362 fi
3363
3364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3365 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3366 # Check whether --enable-universal was given.
3367 if test "${enable_universal+set}" = set; then
3368 enableval=$enable_universal;
3369 if test "$enableval" = yes; then
3370 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3371 else
3372 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3373 fi
3374
3375 else
3376
3377 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3378
3379 fi
3380
3381
3382 eval "$wx_cv_use_universal"
3383
3384 if test x"$enablestring" = xdisable; then
3385 if test $wxUSE_UNIVERSAL = no; then
3386 result=yes
3387 else
3388 result=no
3389 fi
3390 else
3391 result=$wxUSE_UNIVERSAL
3392 fi
3393
3394 { echo "$as_me:$LINENO: result: $result" >&5
3395 echo "${ECHO_T}$result" >&6; }
3396
3397 if test "$wxUSE_UNIVERSAL" = "yes"; then
3398
3399 # Check whether --with-themes was given.
3400 if test "${with_themes+set}" = set; then
3401 withval=$with_themes; wxUNIV_THEMES="$withval"
3402 fi
3403
3404 fi
3405
3406
3407 # Check whether --with-gtk was given.
3408 if test "${with_gtk+set}" = set; then
3409 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3410 fi
3411
3412
3413 # Check whether --with-motif was given.
3414 if test "${with_motif+set}" = set; then
3415 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3416 fi
3417
3418
3419 # Check whether --with-osx_carbon was given.
3420 if test "${with_osx_carbon+set}" = set; then
3421 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3422 fi
3423
3424
3425 # Check whether --with-osx_cocoa was given.
3426 if test "${with_osx_cocoa+set}" = set; then
3427 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3428 fi
3429
3430
3431 # Check whether --with-osx_iphone was given.
3432 if test "${with_osx_iphone+set}" = set; then
3433 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3434 fi
3435
3436
3437 # Check whether --with-osx was given.
3438 if test "${with_osx+set}" = set; then
3439 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3440 fi
3441
3442
3443 # Check whether --with-carbon was given.
3444 if test "${with_carbon+set}" = set; then
3445 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3446 fi
3447
3448
3449 # Check whether --with-cocoa was given.
3450 if test "${with_cocoa+set}" = set; then
3451 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3452 fi
3453
3454
3455 # Check whether --with-iphone was given.
3456 if test "${with_iphone+set}" = set; then
3457 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3458 fi
3459
3460
3461 # Check whether --with-mac was given.
3462 if test "${with_mac+set}" = set; then
3463 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3464 fi
3465
3466
3467 # Check whether --with-old_cocoa was given.
3468 if test "${with_old_cocoa+set}" = set; then
3469 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3470 fi
3471
3472
3473 # Check whether --with-wine was given.
3474 if test "${with_wine+set}" = set; then
3475 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3476 fi
3477
3478
3479 # Check whether --with-msw was given.
3480 if test "${with_msw+set}" = set; then
3481 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3482 fi
3483
3484
3485 # Check whether --with-pm was given.
3486 if test "${with_pm+set}" = set; then
3487 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3488 fi
3489
3490
3491 # Check whether --with-mgl was given.
3492 if test "${with_mgl+set}" = set; then
3493 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3494 fi
3495
3496
3497 # Check whether --with-directfb was given.
3498 if test "${with_directfb+set}" = set; then
3499 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3500 fi
3501
3502
3503 # Check whether --with-microwin was given.
3504 if test "${with_microwin+set}" = set; then
3505 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3506 fi
3507
3508
3509 # Check whether --with-x11 was given.
3510 if test "${with_x11+set}" = set; then
3511 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3512 fi
3513
3514
3515 enablestring=
3516 defaultval=
3517 if test -z "$defaultval"; then
3518 if test x"$enablestring" = xdisable; then
3519 defaultval=yes
3520 else
3521 defaultval=no
3522 fi
3523 fi
3524
3525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3526 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3527 # Check whether --enable-nanox was given.
3528 if test "${enable_nanox+set}" = set; then
3529 enableval=$enable_nanox;
3530 if test "$enableval" = yes; then
3531 wx_cv_use_nanox='wxUSE_NANOX=yes'
3532 else
3533 wx_cv_use_nanox='wxUSE_NANOX=no'
3534 fi
3535
3536 else
3537
3538 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3539
3540 fi
3541
3542
3543 eval "$wx_cv_use_nanox"
3544
3545 if test x"$enablestring" = xdisable; then
3546 if test $wxUSE_NANOX = no; then
3547 result=yes
3548 else
3549 result=no
3550 fi
3551 else
3552 result=$wxUSE_NANOX
3553 fi
3554
3555 { echo "$as_me:$LINENO: result: $result" >&5
3556 echo "${ECHO_T}$result" >&6; }
3557
3558
3559 # Check whether --enable-gtk2 was given.
3560 if test "${enable_gtk2+set}" = set; then
3561 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3562 fi
3563
3564
3565 enablestring=
3566 defaultval=
3567 if test -z "$defaultval"; then
3568 if test x"$enablestring" = xdisable; then
3569 defaultval=yes
3570 else
3571 defaultval=no
3572 fi
3573 fi
3574
3575 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3576 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3577 # Check whether --enable-gpe was given.
3578 if test "${enable_gpe+set}" = set; then
3579 enableval=$enable_gpe;
3580 if test "$enableval" = yes; then
3581 wx_cv_use_gpe='wxUSE_GPE=yes'
3582 else
3583 wx_cv_use_gpe='wxUSE_GPE=no'
3584 fi
3585
3586 else
3587
3588 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3589
3590 fi
3591
3592
3593 eval "$wx_cv_use_gpe"
3594
3595 if test x"$enablestring" = xdisable; then
3596 if test $wxUSE_GPE = no; then
3597 result=yes
3598 else
3599 result=no
3600 fi
3601 else
3602 result=$wxUSE_GPE
3603 fi
3604
3605 { echo "$as_me:$LINENO: result: $result" >&5
3606 echo "${ECHO_T}$result" >&6; }
3607
3608
3609
3610 { echo "$as_me:$LINENO: checking for toolkit" >&5
3611 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3612
3613
3614
3615 # In Wine, we need to default to MSW, not GTK or MOTIF
3616 if test "$wxUSE_WINE" = "yes"; then
3617 DEFAULT_DEFAULT_wxUSE_GTK=0
3618 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3619 DEFAULT_DEFAULT_wxUSE_MSW=1
3620 wxUSE_SHARED=no
3621 CC=${CC:-winegcc}
3622 CXX=${CXX:-wineg++}
3623 fi
3624
3625
3626 if test "$wxUSE_GUI" = "yes"; then
3627
3628 if test "$USE_BEOS" = 1; then
3629 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3630 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3631 { (exit 1); exit 1; }; }
3632 fi
3633
3634 if test "$TOOLKIT_GIVEN" = 1; then
3635 for toolkit in $ALL_TOOLKITS; do
3636 var=wxUSE_$toolkit
3637 eval "value=\$${var}"
3638 if test "x$value" = "xno"; then
3639 eval "$var=0"
3640 elif test "x$value" != "x"; then
3641 eval "$var=1"
3642 fi
3643
3644 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3645 eval "wx${toolkit}_VERSION=$value"
3646 fi
3647 done
3648 else
3649 for toolkit in $ALL_TOOLKITS; do
3650 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3651 eval "wxUSE_$toolkit=\$${var}"
3652 done
3653 fi
3654
3655 NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3656 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3657 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3658
3659 case "${host}" in
3660 *-pc-os2_emx | *-pc-os2-emx )
3661 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3662 esac
3663
3664 case "$NUM_TOOLKITS" in
3665 1)
3666 ;;
3667 0)
3668 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3669 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3670 { (exit 1); exit 1; }; }
3671 ;;
3672 *)
3673 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3674 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3675 { (exit 1); exit 1; }; }
3676 esac
3677
3678 # to be removed when --disable-gtk2 isn't needed
3679 if test "x$wxUSE_GTK2" = "xyes"; then
3680 wxGTK_VERSION=2
3681 wxUSE_GTK1=0
3682 elif test "x$wxUSE_GTK2" = "xno"; then
3683 wxGTK_VERSION=1
3684 wxUSE_GTK1=1
3685 fi
3686
3687 for toolkit in $ALL_TOOLKITS; do
3688 var=wxUSE_$toolkit
3689 eval "value=\$${var}"
3690 if test "$value" = 1; then
3691 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3692 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3693 echo "${ECHO_T}$toolkit_echo" >&6; }
3694 fi
3695 done
3696 else
3697 if test "x$host_alias" != "x"; then
3698 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3699 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3700 else
3701 { echo "$as_me:$LINENO: result: base only" >&5
3702 echo "${ECHO_T}base only" >&6; }
3703 fi
3704 fi
3705
3706 wxUSE_MAC=0
3707 if test "$wxUSE_OSX_CARBON" = 1 \
3708 -o "$wxUSE_OSX_COCOA" = 1 \
3709 -o "$wxUSE_OSX_IPHONE" = 1; then
3710 wxUSE_MAC=1
3711 fi
3712
3713
3714
3715 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3716 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3717
3718 # Check whether --with-libpng was given.
3719 if test "${with_libpng+set}" = set; then
3720 withval=$with_libpng;
3721 if test "$withval" = yes; then
3722 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3723 elif test "$withval" = no; then
3724 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3725 elif test "$withval" = sys; then
3726 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3727 elif test "$withval" = builtin; then
3728 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3729 else
3730 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3731 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3732 { (exit 1); exit 1; }; }
3733 fi
3734
3735 else
3736
3737 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3738
3739 fi
3740
3741
3742 eval "$wx_cv_use_libpng"
3743
3744 if test "$wxUSE_LIBPNG" = yes; then
3745 { echo "$as_me:$LINENO: result: yes" >&5
3746 echo "${ECHO_T}yes" >&6; }
3747 elif test "$wxUSE_LIBPNG" = no; then
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3750 elif test "$wxUSE_LIBPNG" = sys; then
3751 { echo "$as_me:$LINENO: result: system version" >&5
3752 echo "${ECHO_T}system version" >&6; }
3753 elif test "$wxUSE_LIBPNG" = builtin; then
3754 { echo "$as_me:$LINENO: result: builtin version" >&5
3755 echo "${ECHO_T}builtin version" >&6; }
3756 else
3757 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3758 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3759 { (exit 1); exit 1; }; }
3760 fi
3761
3762
3763 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3764 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3765
3766 # Check whether --with-libjpeg was given.
3767 if test "${with_libjpeg+set}" = set; then
3768 withval=$with_libjpeg;
3769 if test "$withval" = yes; then
3770 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3771 elif test "$withval" = no; then
3772 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3773 elif test "$withval" = sys; then
3774 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3775 elif test "$withval" = builtin; then
3776 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3777 else
3778 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3779 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3780 { (exit 1); exit 1; }; }
3781 fi
3782
3783 else
3784
3785 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3786
3787 fi
3788
3789
3790 eval "$wx_cv_use_libjpeg"
3791
3792 if test "$wxUSE_LIBJPEG" = yes; then
3793 { echo "$as_me:$LINENO: result: yes" >&5
3794 echo "${ECHO_T}yes" >&6; }
3795 elif test "$wxUSE_LIBJPEG" = no; then
3796 { echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6; }
3798 elif test "$wxUSE_LIBJPEG" = sys; then
3799 { echo "$as_me:$LINENO: result: system version" >&5
3800 echo "${ECHO_T}system version" >&6; }
3801 elif test "$wxUSE_LIBJPEG" = builtin; then
3802 { echo "$as_me:$LINENO: result: builtin version" >&5
3803 echo "${ECHO_T}builtin version" >&6; }
3804 else
3805 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3806 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3807 { (exit 1); exit 1; }; }
3808 fi
3809
3810
3811 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3812 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3813
3814 # Check whether --with-libtiff was given.
3815 if test "${with_libtiff+set}" = set; then
3816 withval=$with_libtiff;
3817 if test "$withval" = yes; then
3818 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3819 elif test "$withval" = no; then
3820 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3821 elif test "$withval" = sys; then
3822 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3823 elif test "$withval" = builtin; then
3824 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3825 else
3826 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3827 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3828 { (exit 1); exit 1; }; }
3829 fi
3830
3831 else
3832
3833 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3834
3835 fi
3836
3837
3838 eval "$wx_cv_use_libtiff"
3839
3840 if test "$wxUSE_LIBTIFF" = yes; then
3841 { echo "$as_me:$LINENO: result: yes" >&5
3842 echo "${ECHO_T}yes" >&6; }
3843 elif test "$wxUSE_LIBTIFF" = no; then
3844 { echo "$as_me:$LINENO: result: no" >&5
3845 echo "${ECHO_T}no" >&6; }
3846 elif test "$wxUSE_LIBTIFF" = sys; then
3847 { echo "$as_me:$LINENO: result: system version" >&5
3848 echo "${ECHO_T}system version" >&6; }
3849 elif test "$wxUSE_LIBTIFF" = builtin; then
3850 { echo "$as_me:$LINENO: result: builtin version" >&5
3851 echo "${ECHO_T}builtin version" >&6; }
3852 else
3853 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3854 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3855 { (exit 1); exit 1; }; }
3856 fi
3857
3858
3859 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3860 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3861
3862 # Check whether --with-libxpm was given.
3863 if test "${with_libxpm+set}" = set; then
3864 withval=$with_libxpm;
3865 if test "$withval" = yes; then
3866 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3867 elif test "$withval" = no; then
3868 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3869 elif test "$withval" = sys; then
3870 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3871 elif test "$withval" = builtin; then
3872 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3873 else
3874 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3875 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3876 { (exit 1); exit 1; }; }
3877 fi
3878
3879 else
3880
3881 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3882
3883 fi
3884
3885
3886 eval "$wx_cv_use_libxpm"
3887
3888 if test "$wxUSE_LIBXPM" = yes; then
3889 { echo "$as_me:$LINENO: result: yes" >&5
3890 echo "${ECHO_T}yes" >&6; }
3891 elif test "$wxUSE_LIBXPM" = no; then
3892 { echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6; }
3894 elif test "$wxUSE_LIBXPM" = sys; then
3895 { echo "$as_me:$LINENO: result: system version" >&5
3896 echo "${ECHO_T}system version" >&6; }
3897 elif test "$wxUSE_LIBXPM" = builtin; then
3898 { echo "$as_me:$LINENO: result: builtin version" >&5
3899 echo "${ECHO_T}builtin version" >&6; }
3900 else
3901 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3902 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3903 { (exit 1); exit 1; }; }
3904 fi
3905
3906
3907 withstring=
3908 defaultval=$wxUSE_ALL_FEATURES
3909 if test -z "$defaultval"; then
3910 if test x"$withstring" = xwithout; then
3911 defaultval=yes
3912 else
3913 defaultval=no
3914 fi
3915 fi
3916 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3917 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3918
3919 # Check whether --with-libiconv was given.
3920 if test "${with_libiconv+set}" = set; then
3921 withval=$with_libiconv;
3922 if test "$withval" = yes; then
3923 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3924 else
3925 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3926 fi
3927
3928 else
3929
3930 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3931
3932 fi
3933
3934
3935 eval "$wx_cv_use_libiconv"
3936
3937 if test x"$withstring" = xwithout; then
3938 if test $wxUSE_LIBICONV = yes; then
3939 result=no
3940 else
3941 result=yes
3942 fi
3943 else
3944 result=$wxUSE_LIBICONV
3945 fi
3946
3947 { echo "$as_me:$LINENO: result: $result" >&5
3948 echo "${ECHO_T}$result" >&6; }
3949
3950
3951 withstring=
3952 defaultval=$wxUSE_ALL_FEATURES
3953 if test -z "$defaultval"; then
3954 if test x"$withstring" = xwithout; then
3955 defaultval=yes
3956 else
3957 defaultval=no
3958 fi
3959 fi
3960 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3961 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3962
3963 # Check whether --with-libmspack was given.
3964 if test "${with_libmspack+set}" = set; then
3965 withval=$with_libmspack;
3966 if test "$withval" = yes; then
3967 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3968 else
3969 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3970 fi
3971
3972 else
3973
3974 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3975
3976 fi
3977
3978
3979 eval "$wx_cv_use_libmspack"
3980
3981 if test x"$withstring" = xwithout; then
3982 if test $wxUSE_LIBMSPACK = yes; then
3983 result=no
3984 else
3985 result=yes
3986 fi
3987 else
3988 result=$wxUSE_LIBMSPACK
3989 fi
3990
3991 { echo "$as_me:$LINENO: result: $result" >&5
3992 echo "${ECHO_T}$result" >&6; }
3993
3994
3995 withstring=without
3996 defaultval=$wxUSE_ALL_FEATURES
3997 if test -z "$defaultval"; then
3998 if test x"$withstring" = xwithout; then
3999 defaultval=yes
4000 else
4001 defaultval=no
4002 fi
4003 fi
4004 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
4005 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
4006
4007 # Check whether --with-gtkprint was given.
4008 if test "${with_gtkprint+set}" = set; then
4009 withval=$with_gtkprint;
4010 if test "$withval" = yes; then
4011 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
4012 else
4013 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
4014 fi
4015
4016 else
4017
4018 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4019
4020 fi
4021
4022
4023 eval "$wx_cv_use_gtkprint"
4024
4025 if test x"$withstring" = xwithout; then
4026 if test $wxUSE_GTKPRINT = yes; then
4027 result=no
4028 else
4029 result=yes
4030 fi
4031 else
4032 result=$wxUSE_GTKPRINT
4033 fi
4034
4035 { echo "$as_me:$LINENO: result: $result" >&5
4036 echo "${ECHO_T}$result" >&6; }
4037
4038
4039 withstring=without
4040 defaultval=$wxUSE_ALL_FEATURES
4041 if test -z "$defaultval"; then
4042 if test x"$withstring" = xwithout; then
4043 defaultval=yes
4044 else
4045 defaultval=no
4046 fi
4047 fi
4048 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4049 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4050
4051 # Check whether --with-gnomeprint was given.
4052 if test "${with_gnomeprint+set}" = set; then
4053 withval=$with_gnomeprint;
4054 if test "$withval" = yes; then
4055 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4056 else
4057 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4058 fi
4059
4060 else
4061
4062 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4063
4064 fi
4065
4066
4067 eval "$wx_cv_use_gnomeprint"
4068
4069 if test x"$withstring" = xwithout; then
4070 if test $wxUSE_LIBGNOMEPRINT = yes; then
4071 result=no
4072 else
4073 result=yes
4074 fi
4075 else
4076 result=$wxUSE_LIBGNOMEPRINT
4077 fi
4078
4079 { echo "$as_me:$LINENO: result: $result" >&5
4080 echo "${ECHO_T}$result" >&6; }
4081
4082
4083 withstring=
4084 defaultval=$wxUSE_ALL_FEATURES
4085 if test -z "$defaultval"; then
4086 if test x"$withstring" = xwithout; then
4087 defaultval=yes
4088 else
4089 defaultval=no
4090 fi
4091 fi
4092 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4093 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4094
4095 # Check whether --with-gnomevfs was given.
4096 if test "${with_gnomevfs+set}" = set; then
4097 withval=$with_gnomevfs;
4098 if test "$withval" = yes; then
4099 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4100 else
4101 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4102 fi
4103
4104 else
4105
4106 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4107
4108 fi
4109
4110
4111 eval "$wx_cv_use_gnomevfs"
4112
4113 if test x"$withstring" = xwithout; then
4114 if test $wxUSE_LIBGNOMEVFS = yes; then
4115 result=no
4116 else
4117 result=yes
4118 fi
4119 else
4120 result=$wxUSE_LIBGNOMEVFS
4121 fi
4122
4123 { echo "$as_me:$LINENO: result: $result" >&5
4124 echo "${ECHO_T}$result" >&6; }
4125
4126
4127 withstring=
4128 defaultval=$wxUSE_ALL_FEATURES
4129 if test -z "$defaultval"; then
4130 if test x"$withstring" = xwithout; then
4131 defaultval=yes
4132 else
4133 defaultval=no
4134 fi
4135 fi
4136 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4137 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4138
4139 # Check whether --with-hildon was given.
4140 if test "${with_hildon+set}" = set; then
4141 withval=$with_hildon;
4142 if test "$withval" = yes; then
4143 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
4144 else
4145 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
4146 fi
4147
4148 else
4149
4150 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4151
4152 fi
4153
4154
4155 eval "$wx_cv_use_hildon"
4156
4157 if test x"$withstring" = xwithout; then
4158 if test $wxUSE_LIBHILDON = yes; then
4159 result=no
4160 else
4161 result=yes
4162 fi
4163 else
4164 result=$wxUSE_LIBHILDON
4165 fi
4166
4167 { echo "$as_me:$LINENO: result: $result" >&5
4168 echo "${ECHO_T}$result" >&6; }
4169
4170
4171 withstring=
4172 defaultval=$wxUSE_ALL_FEATURES
4173 if test -z "$defaultval"; then
4174 if test x"$withstring" = xwithout; then
4175 defaultval=yes
4176 else
4177 defaultval=no
4178 fi
4179 fi
4180 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4181 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4182
4183 # Check whether --with-opengl was given.
4184 if test "${with_opengl+set}" = set; then
4185 withval=$with_opengl;
4186 if test "$withval" = yes; then
4187 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4188 else
4189 wx_cv_use_opengl='wxUSE_OPENGL=no'
4190 fi
4191
4192 else
4193
4194 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4195
4196 fi
4197
4198
4199 eval "$wx_cv_use_opengl"
4200
4201 if test x"$withstring" = xwithout; then
4202 if test $wxUSE_OPENGL = yes; then
4203 result=no
4204 else
4205 result=yes
4206 fi
4207 else
4208 result=$wxUSE_OPENGL
4209 fi
4210
4211 { echo "$as_me:$LINENO: result: $result" >&5
4212 echo "${ECHO_T}$result" >&6; }
4213
4214
4215 fi
4216
4217
4218 withstring=
4219 defaultval=$wxUSE_ALL_FEATURES
4220 if test -z "$defaultval"; then
4221 if test x"$withstring" = xwithout; then
4222 defaultval=yes
4223 else
4224 defaultval=no
4225 fi
4226 fi
4227 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4228 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4229
4230 # Check whether --with-dmalloc was given.
4231 if test "${with_dmalloc+set}" = set; then
4232 withval=$with_dmalloc;
4233 if test "$withval" = yes; then
4234 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4235 else
4236 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4237 fi
4238
4239 else
4240
4241 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4242
4243 fi
4244
4245
4246 eval "$wx_cv_use_dmalloc"
4247
4248 if test x"$withstring" = xwithout; then
4249 if test $wxUSE_DMALLOC = yes; then
4250 result=no
4251 else
4252 result=yes
4253 fi
4254 else
4255 result=$wxUSE_DMALLOC
4256 fi
4257
4258 { echo "$as_me:$LINENO: result: $result" >&5
4259 echo "${ECHO_T}$result" >&6; }
4260
4261
4262 withstring=
4263 defaultval=$wxUSE_ALL_FEATURES
4264 if test -z "$defaultval"; then
4265 if test x"$withstring" = xwithout; then
4266 defaultval=yes
4267 else
4268 defaultval=no
4269 fi
4270 fi
4271 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4272 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4273
4274 # Check whether --with-sdl was given.
4275 if test "${with_sdl+set}" = set; then
4276 withval=$with_sdl;
4277 if test "$withval" = yes; then
4278 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4279 else
4280 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4281 fi
4282
4283 else
4284
4285 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4286
4287 fi
4288
4289
4290 eval "$wx_cv_use_sdl"
4291
4292 if test x"$withstring" = xwithout; then
4293 if test $wxUSE_LIBSDL = yes; then
4294 result=no
4295 else
4296 result=yes
4297 fi
4298 else
4299 result=$wxUSE_LIBSDL
4300 fi
4301
4302 { echo "$as_me:$LINENO: result: $result" >&5
4303 echo "${ECHO_T}$result" >&6; }
4304
4305
4306 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4307 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4308
4309 # Check whether --with-regex was given.
4310 if test "${with_regex+set}" = set; then
4311 withval=$with_regex;
4312 if test "$withval" = yes; then
4313 wx_cv_use_regex='wxUSE_REGEX=yes'
4314 elif test "$withval" = no; then
4315 wx_cv_use_regex='wxUSE_REGEX=no'
4316 elif test "$withval" = sys; then
4317 wx_cv_use_regex='wxUSE_REGEX=sys'
4318 elif test "$withval" = builtin; then
4319 wx_cv_use_regex='wxUSE_REGEX=builtin'
4320 else
4321 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4322 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4323 { (exit 1); exit 1; }; }
4324 fi
4325
4326 else
4327
4328 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4329
4330 fi
4331
4332
4333 eval "$wx_cv_use_regex"
4334
4335 if test "$wxUSE_REGEX" = yes; then
4336 { echo "$as_me:$LINENO: result: yes" >&5
4337 echo "${ECHO_T}yes" >&6; }
4338 elif test "$wxUSE_REGEX" = no; then
4339 { echo "$as_me:$LINENO: result: no" >&5
4340 echo "${ECHO_T}no" >&6; }
4341 elif test "$wxUSE_REGEX" = sys; then
4342 { echo "$as_me:$LINENO: result: system version" >&5
4343 echo "${ECHO_T}system version" >&6; }
4344 elif test "$wxUSE_REGEX" = builtin; then
4345 { echo "$as_me:$LINENO: result: builtin version" >&5
4346 echo "${ECHO_T}builtin version" >&6; }
4347 else
4348 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4349 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4350 { (exit 1); exit 1; }; }
4351 fi
4352
4353
4354 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4355 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4356
4357 # Check whether --with-zlib was given.
4358 if test "${with_zlib+set}" = set; then
4359 withval=$with_zlib;
4360 if test "$withval" = yes; then
4361 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4362 elif test "$withval" = no; then
4363 wx_cv_use_zlib='wxUSE_ZLIB=no'
4364 elif test "$withval" = sys; then
4365 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4366 elif test "$withval" = builtin; then
4367 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4368 else
4369 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4370 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4371 { (exit 1); exit 1; }; }
4372 fi
4373
4374 else
4375
4376 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4377
4378 fi
4379
4380
4381 eval "$wx_cv_use_zlib"
4382
4383 if test "$wxUSE_ZLIB" = yes; then
4384 { echo "$as_me:$LINENO: result: yes" >&5
4385 echo "${ECHO_T}yes" >&6; }
4386 elif test "$wxUSE_ZLIB" = no; then
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4389 elif test "$wxUSE_ZLIB" = sys; then
4390 { echo "$as_me:$LINENO: result: system version" >&5
4391 echo "${ECHO_T}system version" >&6; }
4392 elif test "$wxUSE_ZLIB" = builtin; then
4393 { echo "$as_me:$LINENO: result: builtin version" >&5
4394 echo "${ECHO_T}builtin version" >&6; }
4395 else
4396 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4397 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4398 { (exit 1); exit 1; }; }
4399 fi
4400
4401
4402 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4403 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4404
4405 # Check whether --with-expat was given.
4406 if test "${with_expat+set}" = set; then
4407 withval=$with_expat;
4408 if test "$withval" = yes; then
4409 wx_cv_use_expat='wxUSE_EXPAT=yes'
4410 elif test "$withval" = no; then
4411 wx_cv_use_expat='wxUSE_EXPAT=no'
4412 elif test "$withval" = sys; then
4413 wx_cv_use_expat='wxUSE_EXPAT=sys'
4414 elif test "$withval" = builtin; then
4415 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4416 else
4417 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4418 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4419 { (exit 1); exit 1; }; }
4420 fi
4421
4422 else
4423
4424 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4425
4426 fi
4427
4428
4429 eval "$wx_cv_use_expat"
4430
4431 if test "$wxUSE_EXPAT" = yes; then
4432 { echo "$as_me:$LINENO: result: yes" >&5
4433 echo "${ECHO_T}yes" >&6; }
4434 elif test "$wxUSE_EXPAT" = no; then
4435 { echo "$as_me:$LINENO: result: no" >&5
4436 echo "${ECHO_T}no" >&6; }
4437 elif test "$wxUSE_EXPAT" = sys; then
4438 { echo "$as_me:$LINENO: result: system version" >&5
4439 echo "${ECHO_T}system version" >&6; }
4440 elif test "$wxUSE_EXPAT" = builtin; then
4441 { echo "$as_me:$LINENO: result: builtin version" >&5
4442 echo "${ECHO_T}builtin version" >&6; }
4443 else
4444 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4445 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4446 { (exit 1); exit 1; }; }
4447 fi
4448
4449
4450 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4451 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4452
4453 # Check whether --with-macosx-sdk was given.
4454 if test "${with_macosx_sdk+set}" = set; then
4455 withval=$with_macosx_sdk;
4456 wxUSE_MACOSX_SDK=$withval
4457 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4458
4459 fi
4460
4461 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4462 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4463
4464 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4465 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4466
4467 # Check whether --with-macosx-version-min was given.
4468 if test "${with_macosx_version_min+set}" = set; then
4469 withval=$with_macosx_version_min;
4470 wxUSE_MACOSX_VERSION_MIN=$withval
4471 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4472
4473 fi
4474
4475 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4476 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4477
4478
4479 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4480 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4481 # Check whether --enable-debug was given.
4482 if test "${enable_debug+set}" = set; then
4483 enableval=$enable_debug;
4484 if test "$enableval" = yes; then
4485 wxUSE_DEBUG=yes
4486 elif test "$enableval" = no; then
4487 wxUSE_DEBUG=no
4488 elif test "$enableval" = max; then
4489 wxUSE_DEBUG=yes
4490 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4491 else
4492 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4493 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4494 { (exit 1); exit 1; }; }
4495 fi
4496
4497 else
4498 wxUSE_DEBUG=default
4499
4500 fi
4501
4502
4503 case "$wxUSE_DEBUG" in
4504 yes)
4505 DEFAULT_wxUSE_DEBUG_FLAG=yes
4506 DEFAULT_wxUSE_DEBUG_INFO=yes
4507
4508 DEFAULT_wxUSE_OPTIMISE=no
4509 ;;
4510
4511 no)
4512 DEFAULT_wxUSE_DEBUG_FLAG=no
4513 DEFAULT_wxUSE_DEBUG_INFO=no
4514 ;;
4515
4516 default)
4517 DEFAULT_wxUSE_DEBUG_FLAG=yes
4518 DEFAULT_wxUSE_DEBUG_INFO=no
4519 ;;
4520 esac
4521
4522
4523 enablestring=disable
4524 defaultval=
4525 if test -z "$defaultval"; then
4526 if test x"$enablestring" = xdisable; then
4527 defaultval=yes
4528 else
4529 defaultval=no
4530 fi
4531 fi
4532
4533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4535 # Check whether --enable-debug_flag was given.
4536 if test "${enable_debug_flag+set}" = set; then
4537 enableval=$enable_debug_flag;
4538 if test "$enableval" = yes; then
4539 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4540 else
4541 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4542 fi
4543
4544 else
4545
4546 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4547
4548 fi
4549
4550
4551 eval "$wx_cv_use_debug_flag"
4552
4553 if test x"$enablestring" = xdisable; then
4554 if test $wxUSE_DEBUG_FLAG = no; then
4555 result=yes
4556 else
4557 result=no
4558 fi
4559 else
4560 result=$wxUSE_DEBUG_FLAG
4561 fi
4562
4563 { echo "$as_me:$LINENO: result: $result" >&5
4564 echo "${ECHO_T}$result" >&6; }
4565
4566
4567 enablestring=
4568 defaultval=
4569 if test -z "$defaultval"; then
4570 if test x"$enablestring" = xdisable; then
4571 defaultval=yes
4572 else
4573 defaultval=no
4574 fi
4575 fi
4576
4577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4579 # Check whether --enable-debug_info was given.
4580 if test "${enable_debug_info+set}" = set; then
4581 enableval=$enable_debug_info;
4582 if test "$enableval" = yes; then
4583 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4584 else
4585 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4586 fi
4587
4588 else
4589
4590 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4591
4592 fi
4593
4594
4595 eval "$wx_cv_use_debug_info"
4596
4597 if test x"$enablestring" = xdisable; then
4598 if test $wxUSE_DEBUG_INFO = no; then
4599 result=yes
4600 else
4601 result=no
4602 fi
4603 else
4604 result=$wxUSE_DEBUG_INFO
4605 fi
4606
4607 { echo "$as_me:$LINENO: result: $result" >&5
4608 echo "${ECHO_T}$result" >&6; }
4609
4610
4611
4612
4613 enablestring=
4614 defaultval=
4615 if test -z "$defaultval"; then
4616 if test x"$enablestring" = xdisable; then
4617 defaultval=yes
4618 else
4619 defaultval=no
4620 fi
4621 fi
4622
4623 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4625 # Check whether --enable-debug_gdb was given.
4626 if test "${enable_debug_gdb+set}" = set; then
4627 enableval=$enable_debug_gdb;
4628 if test "$enableval" = yes; then
4629 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4630 else
4631 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4632 fi
4633
4634 else
4635
4636 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4637
4638 fi
4639
4640
4641 eval "$wx_cv_use_debug_gdb"
4642
4643 if test x"$enablestring" = xdisable; then
4644 if test $wxUSE_DEBUG_GDB = no; then
4645 result=yes
4646 else
4647 result=no
4648 fi
4649 else
4650 result=$wxUSE_DEBUG_GDB
4651 fi
4652
4653 { echo "$as_me:$LINENO: result: $result" >&5
4654 echo "${ECHO_T}$result" >&6; }
4655
4656
4657 enablestring=
4658 defaultval=
4659 if test -z "$defaultval"; then
4660 if test x"$enablestring" = xdisable; then
4661 defaultval=yes
4662 else
4663 defaultval=no
4664 fi
4665 fi
4666
4667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4668 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4669 # Check whether --enable-debug_cntxt was given.
4670 if test "${enable_debug_cntxt+set}" = set; then
4671 enableval=$enable_debug_cntxt;
4672 if test "$enableval" = yes; then
4673 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4674 else
4675 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4676 fi
4677
4678 else
4679
4680 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4681
4682 fi
4683
4684
4685 eval "$wx_cv_use_debug_cntxt"
4686
4687 if test x"$enablestring" = xdisable; then
4688 if test $wxUSE_DEBUG_CONTEXT = no; then
4689 result=yes
4690 else
4691 result=no
4692 fi
4693 else
4694 result=$wxUSE_DEBUG_CONTEXT
4695 fi
4696
4697 { echo "$as_me:$LINENO: result: $result" >&5
4698 echo "${ECHO_T}$result" >&6; }
4699
4700
4701 enablestring=
4702 defaultval=
4703 if test -z "$defaultval"; then
4704 if test x"$enablestring" = xdisable; then
4705 defaultval=yes
4706 else
4707 defaultval=no
4708 fi
4709 fi
4710
4711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4712 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4713 # Check whether --enable-mem_tracing was given.
4714 if test "${enable_mem_tracing+set}" = set; then
4715 enableval=$enable_mem_tracing;
4716 if test "$enableval" = yes; then
4717 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4718 else
4719 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4720 fi
4721
4722 else
4723
4724 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4725
4726 fi
4727
4728
4729 eval "$wx_cv_use_mem_tracing"
4730
4731 if test x"$enablestring" = xdisable; then
4732 if test $wxUSE_MEM_TRACING = no; then
4733 result=yes
4734 else
4735 result=no
4736 fi
4737 else
4738 result=$wxUSE_MEM_TRACING
4739 fi
4740
4741 { echo "$as_me:$LINENO: result: $result" >&5
4742 echo "${ECHO_T}$result" >&6; }
4743
4744
4745
4746
4747 enablestring=disable
4748 defaultval=
4749 if test -z "$defaultval"; then
4750 if test x"$enablestring" = xdisable; then
4751 defaultval=yes
4752 else
4753 defaultval=no
4754 fi
4755 fi
4756
4757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4758 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4759 # Check whether --enable-shared was given.
4760 if test "${enable_shared+set}" = set; then
4761 enableval=$enable_shared;
4762 if test "$enableval" = yes; then
4763 wx_cv_use_shared='wxUSE_SHARED=yes'
4764 else
4765 wx_cv_use_shared='wxUSE_SHARED=no'
4766 fi
4767
4768 else
4769
4770 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4771
4772 fi
4773
4774
4775 eval "$wx_cv_use_shared"
4776
4777 if test x"$enablestring" = xdisable; then
4778 if test $wxUSE_SHARED = no; then
4779 result=yes
4780 else
4781 result=no
4782 fi
4783 else
4784 result=$wxUSE_SHARED
4785 fi
4786
4787 { echo "$as_me:$LINENO: result: $result" >&5
4788 echo "${ECHO_T}$result" >&6; }
4789
4790
4791 enablestring=
4792 defaultval=
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4795 defaultval=yes
4796 else
4797 defaultval=no
4798 fi
4799 fi
4800
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4803 # Check whether --enable-stl was given.
4804 if test "${enable_stl+set}" = set; then
4805 enableval=$enable_stl;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_stl='wxUSE_STL=yes'
4808 else
4809 wx_cv_use_stl='wxUSE_STL=no'
4810 fi
4811
4812 else
4813
4814 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4815
4816 fi
4817
4818
4819 eval "$wx_cv_use_stl"
4820
4821 if test x"$enablestring" = xdisable; then
4822 if test $wxUSE_STL = no; then
4823 result=yes
4824 else
4825 result=no
4826 fi
4827 else
4828 result=$wxUSE_STL
4829 fi
4830
4831 { echo "$as_me:$LINENO: result: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4833
4834 if test "$wxUSE_STL" = "yes"; then
4835 DEFAULT_wxUSE_STD_CONTAINERS=yes
4836 DEFAULT_wxUSE_STD_IOSTREAM=yes
4837 DEFAULT_wxUSE_STD_STRING=yes
4838 fi
4839
4840 enablestring=
4841 defaultval=
4842 if test -z "$defaultval"; then
4843 if test x"$enablestring" = xdisable; then
4844 defaultval=yes
4845 else
4846 defaultval=no
4847 fi
4848 fi
4849
4850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_containers" >&5
4851 echo $ECHO_N "checking for --${enablestring:-enable}-std_containers... $ECHO_C" >&6; }
4852 # Check whether --enable-std_containers was given.
4853 if test "${enable_std_containers+set}" = set; then
4854 enableval=$enable_std_containers;
4855 if test "$enableval" = yes; then
4856 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4857 else
4858 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4859 fi
4860
4861 else
4862
4863 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4864
4865 fi
4866
4867
4868 eval "$wx_cv_use_std_containers"
4869
4870 if test x"$enablestring" = xdisable; then
4871 if test $wxUSE_STD_CONTAINERS = no; then
4872 result=yes
4873 else
4874 result=no
4875 fi
4876 else
4877 result=$wxUSE_STD_CONTAINERS
4878 fi
4879
4880 { echo "$as_me:$LINENO: result: $result" >&5
4881 echo "${ECHO_T}$result" >&6; }
4882
4883
4884 enablestring=
4885 defaultval=
4886 if test -z "$defaultval"; then
4887 if test x"$enablestring" = xdisable; then
4888 defaultval=yes
4889 else
4890 defaultval=no
4891 fi
4892 fi
4893
4894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4895 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4896 # Check whether --enable-std_iostreams was given.
4897 if test "${enable_std_iostreams+set}" = set; then
4898 enableval=$enable_std_iostreams;
4899 if test "$enableval" = yes; then
4900 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4901 else
4902 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4903 fi
4904
4905 else
4906
4907 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4908
4909 fi
4910
4911
4912 eval "$wx_cv_use_std_iostreams"
4913
4914 if test x"$enablestring" = xdisable; then
4915 if test $wxUSE_STD_IOSTREAM = no; then
4916 result=yes
4917 else
4918 result=no
4919 fi
4920 else
4921 result=$wxUSE_STD_IOSTREAM
4922 fi
4923
4924 { echo "$as_me:$LINENO: result: $result" >&5
4925 echo "${ECHO_T}$result" >&6; }
4926
4927
4928 enablestring=
4929 defaultval=
4930 if test -z "$defaultval"; then
4931 if test x"$enablestring" = xdisable; then
4932 defaultval=yes
4933 else
4934 defaultval=no
4935 fi
4936 fi
4937
4938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4939 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4940 # Check whether --enable-std_string was given.
4941 if test "${enable_std_string+set}" = set; then
4942 enableval=$enable_std_string;
4943 if test "$enableval" = yes; then
4944 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4945 else
4946 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4947 fi
4948
4949 else
4950
4951 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4952
4953 fi
4954
4955
4956 eval "$wx_cv_use_std_string"
4957
4958 if test x"$enablestring" = xdisable; then
4959 if test $wxUSE_STD_STRING = no; then
4960 result=yes
4961 else
4962 result=no
4963 fi
4964 else
4965 result=$wxUSE_STD_STRING
4966 fi
4967
4968 { echo "$as_me:$LINENO: result: $result" >&5
4969 echo "${ECHO_T}$result" >&6; }
4970
4971
4972 enablestring=
4973 defaultval=
4974 if test -z "$defaultval"; then
4975 if test x"$enablestring" = xdisable; then
4976 defaultval=yes
4977 else
4978 defaultval=no
4979 fi
4980 fi
4981
4982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4983 echo $ECHO_N "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... $ECHO_C" >&6; }
4984 # Check whether --enable-std_string_conv_in_wxstring was given.
4985 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4986 enableval=$enable_std_string_conv_in_wxstring;
4987 if test "$enableval" = yes; then
4988 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4989 else
4990 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4991 fi
4992
4993 else
4994
4995 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4996
4997 fi
4998
4999
5000 eval "$wx_cv_use_std_string_conv_in_wxstring"
5001
5002 if test x"$enablestring" = xdisable; then
5003 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
5004 result=yes
5005 else
5006 result=no
5007 fi
5008 else
5009 result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5010 fi
5011
5012 { echo "$as_me:$LINENO: result: $result" >&5
5013 echo "${ECHO_T}$result" >&6; }
5014
5015
5016 enablestring=disable
5017 defaultval=
5018 if test -z "$defaultval"; then
5019 if test x"$enablestring" = xdisable; then
5020 defaultval=yes
5021 else
5022 defaultval=no
5023 fi
5024 fi
5025
5026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5027 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5028 # Check whether --enable-unicode was given.
5029 if test "${enable_unicode+set}" = set; then
5030 enableval=$enable_unicode;
5031 if test "$enableval" = yes; then
5032 wx_cv_use_unicode='wxUSE_UNICODE=yes'
5033 else
5034 wx_cv_use_unicode='wxUSE_UNICODE=no'
5035 fi
5036
5037 else
5038
5039 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5040
5041 fi
5042
5043
5044 eval "$wx_cv_use_unicode"
5045
5046 if test x"$enablestring" = xdisable; then
5047 if test $wxUSE_UNICODE = no; then
5048 result=yes
5049 else
5050 result=no
5051 fi
5052 else
5053 result=$wxUSE_UNICODE
5054 fi
5055
5056 { echo "$as_me:$LINENO: result: $result" >&5
5057 echo "${ECHO_T}$result" >&6; }
5058
5059
5060 enablestring=
5061 defaultval=
5062 if test -z "$defaultval"; then
5063 if test x"$enablestring" = xdisable; then
5064 defaultval=yes
5065 else
5066 defaultval=no
5067 fi
5068 fi
5069
5070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5071 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5072 # Check whether --enable-mslu was given.
5073 if test "${enable_mslu+set}" = set; then
5074 enableval=$enable_mslu;
5075 if test "$enableval" = yes; then
5076 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5077 else
5078 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5079 fi
5080
5081 else
5082
5083 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5084
5085 fi
5086
5087
5088 eval "$wx_cv_use_mslu"
5089
5090 if test x"$enablestring" = xdisable; then
5091 if test $wxUSE_UNICODE_MSLU = no; then
5092 result=yes
5093 else
5094 result=no
5095 fi
5096 else
5097 result=$wxUSE_UNICODE_MSLU
5098 fi
5099
5100 { echo "$as_me:$LINENO: result: $result" >&5
5101 echo "${ECHO_T}$result" >&6; }
5102
5103
5104 enablestring=
5105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
5106 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
5107 # Check whether --enable-utf8 was given.
5108 if test "${enable_utf8+set}" = set; then
5109 enableval=$enable_utf8;
5110 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
5111
5112 else
5113
5114 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5115
5116 fi
5117
5118
5119 eval "$wx_cv_use_utf8"
5120
5121 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
5122 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5123
5124
5125 enablestring=
5126 defaultval=
5127 if test -z "$defaultval"; then
5128 if test x"$enablestring" = xdisable; then
5129 defaultval=yes
5130 else
5131 defaultval=no
5132 fi
5133 fi
5134
5135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
5136 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
5137 # Check whether --enable-utf8only was given.
5138 if test "${enable_utf8only+set}" = set; then
5139 enableval=$enable_utf8only;
5140 if test "$enableval" = yes; then
5141 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5142 else
5143 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5144 fi
5145
5146 else
5147
5148 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5149
5150 fi
5151
5152
5153 eval "$wx_cv_use_utf8only"
5154
5155 if test x"$enablestring" = xdisable; then
5156 if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
5157 result=yes
5158 else
5159 result=no
5160 fi
5161 else
5162 result=$wxUSE_UNICODE_UTF8_LOCALE
5163 fi
5164
5165 { echo "$as_me:$LINENO: result: $result" >&5
5166 echo "${ECHO_T}$result" >&6; }
5167
5168
5169 enablestring=
5170 defaultval=
5171 if test -z "$defaultval"; then
5172 if test x"$enablestring" = xdisable; then
5173 defaultval=yes
5174 else
5175 defaultval=no
5176 fi
5177 fi
5178
5179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5180 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5181 # Check whether --enable-extended_rtti was given.
5182 if test "${enable_extended_rtti+set}" = set; then
5183 enableval=$enable_extended_rtti;
5184 if test "$enableval" = yes; then
5185 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
5186 else
5187 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
5188 fi
5189
5190 else
5191
5192 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5193
5194 fi
5195
5196
5197 eval "$wx_cv_use_extended_rtti"
5198
5199 if test x"$enablestring" = xdisable; then
5200 if test $wxUSE_EXTENDED_RTTI = no; then
5201 result=yes
5202 else
5203 result=no
5204 fi
5205 else
5206 result=$wxUSE_EXTENDED_RTTI
5207 fi
5208
5209 { echo "$as_me:$LINENO: result: $result" >&5
5210 echo "${ECHO_T}$result" >&6; }
5211
5212 if test "$USE_OS2" = 1; then
5213 DEFAULT_wxUSE_OMF=no
5214
5215 enablestring=
5216 defaultval=
5217 if test -z "$defaultval"; then
5218 if test x"$enablestring" = xdisable; then
5219 defaultval=yes
5220 else
5221 defaultval=no
5222 fi
5223 fi
5224
5225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5226 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5227 # Check whether --enable-omf was given.
5228 if test "${enable_omf+set}" = set; then
5229 enableval=$enable_omf;
5230 if test "$enableval" = yes; then
5231 wx_cv_use_omf='wxUSE_OMF=yes'
5232 else
5233 wx_cv_use_omf='wxUSE_OMF=no'
5234 fi
5235
5236 else
5237
5238 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5239
5240 fi
5241
5242
5243 eval "$wx_cv_use_omf"
5244
5245 if test x"$enablestring" = xdisable; then
5246 if test $wxUSE_OMF = no; then
5247 result=yes
5248 else
5249 result=no
5250 fi
5251 else
5252 result=$wxUSE_OMF
5253 fi
5254
5255 { echo "$as_me:$LINENO: result: $result" >&5
5256 echo "${ECHO_T}$result" >&6; }
5257
5258 fi
5259
5260
5261 enablestring=disable
5262 defaultval=
5263 if test -z "$defaultval"; then
5264 if test x"$enablestring" = xdisable; then
5265 defaultval=yes
5266 else
5267 defaultval=no
5268 fi
5269 fi
5270
5271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
5272 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
5273 # Check whether --enable-optimise was given.
5274 if test "${enable_optimise+set}" = set; then
5275 enableval=$enable_optimise;
5276 if test "$enableval" = yes; then
5277 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5278 else
5279 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5280 fi
5281
5282 else
5283
5284 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5285
5286 fi
5287
5288
5289 eval "$wx_cv_use_optimise"
5290
5291 if test x"$enablestring" = xdisable; then
5292 if test $wxUSE_OPTIMISE = no; then
5293 result=yes
5294 else
5295 result=no
5296 fi
5297 else
5298 result=$wxUSE_OPTIMISE
5299 fi
5300
5301 { echo "$as_me:$LINENO: result: $result" >&5
5302 echo "${ECHO_T}$result" >&6; }
5303
5304
5305
5306 enablestring=
5307 defaultval=
5308 if test -z "$defaultval"; then
5309 if test x"$enablestring" = xdisable; then
5310 defaultval=yes
5311 else
5312 defaultval=no
5313 fi
5314 fi
5315
5316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5317 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5318 # Check whether --enable-profile was given.
5319 if test "${enable_profile+set}" = set; then
5320 enableval=$enable_profile;
5321 if test "$enableval" = yes; then
5322 wx_cv_use_profile='wxUSE_PROFILE=yes'
5323 else
5324 wx_cv_use_profile='wxUSE_PROFILE=no'
5325 fi
5326
5327 else
5328
5329 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5330
5331 fi
5332
5333
5334 eval "$wx_cv_use_profile"
5335
5336 if test x"$enablestring" = xdisable; then
5337 if test $wxUSE_PROFILE = no; then
5338 result=yes
5339 else
5340 result=no
5341 fi
5342 else
5343 result=$wxUSE_PROFILE
5344 fi
5345
5346 { echo "$as_me:$LINENO: result: $result" >&5
5347 echo "${ECHO_T}$result" >&6; }
5348
5349
5350 enablestring=
5351 defaultval=
5352 if test -z "$defaultval"; then
5353 if test x"$enablestring" = xdisable; then
5354 defaultval=yes
5355 else
5356 defaultval=no
5357 fi
5358 fi
5359
5360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5361 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5362 # Check whether --enable-no_rtti was given.
5363 if test "${enable_no_rtti+set}" = set; then
5364 enableval=$enable_no_rtti;
5365 if test "$enableval" = yes; then
5366 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5367 else
5368 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5369 fi
5370
5371 else
5372
5373 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5374
5375 fi
5376
5377
5378 eval "$wx_cv_use_no_rtti"
5379
5380 if test x"$enablestring" = xdisable; then
5381 if test $wxUSE_NO_RTTI = no; then
5382 result=yes
5383 else
5384 result=no
5385 fi
5386 else
5387 result=$wxUSE_NO_RTTI
5388 fi
5389
5390 { echo "$as_me:$LINENO: result: $result" >&5
5391 echo "${ECHO_T}$result" >&6; }
5392
5393
5394 enablestring=
5395 defaultval=
5396 if test -z "$defaultval"; then
5397 if test x"$enablestring" = xdisable; then
5398 defaultval=yes
5399 else
5400 defaultval=no
5401 fi
5402 fi
5403
5404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5405 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5406 # Check whether --enable-no_exceptions was given.
5407 if test "${enable_no_exceptions+set}" = set; then
5408 enableval=$enable_no_exceptions;
5409 if test "$enableval" = yes; then
5410 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5411 else
5412 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5413 fi
5414
5415 else
5416
5417 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5418
5419 fi
5420
5421
5422 eval "$wx_cv_use_no_exceptions"
5423
5424 if test x"$enablestring" = xdisable; then
5425 if test $wxUSE_NO_EXCEPTIONS = no; then
5426 result=yes
5427 else
5428 result=no
5429 fi
5430 else
5431 result=$wxUSE_NO_EXCEPTIONS
5432 fi
5433
5434 { echo "$as_me:$LINENO: result: $result" >&5
5435 echo "${ECHO_T}$result" >&6; }
5436
5437
5438 enablestring=
5439 defaultval=
5440 if test -z "$defaultval"; then
5441 if test x"$enablestring" = xdisable; then
5442 defaultval=yes
5443 else
5444 defaultval=no
5445 fi
5446 fi
5447
5448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5449 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5450 # Check whether --enable-permissive was given.
5451 if test "${enable_permissive+set}" = set; then
5452 enableval=$enable_permissive;
5453 if test "$enableval" = yes; then
5454 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5455 else
5456 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5457 fi
5458
5459 else
5460
5461 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5462
5463 fi
5464
5465
5466 eval "$wx_cv_use_permissive"
5467
5468 if test x"$enablestring" = xdisable; then
5469 if test $wxUSE_PERMISSIVE = no; then
5470 result=yes
5471 else
5472 result=no
5473 fi
5474 else
5475 result=$wxUSE_PERMISSIVE
5476 fi
5477
5478 { echo "$as_me:$LINENO: result: $result" >&5
5479 echo "${ECHO_T}$result" >&6; }
5480
5481
5482 enablestring=
5483 defaultval=
5484 if test -z "$defaultval"; then
5485 if test x"$enablestring" = xdisable; then
5486 defaultval=yes
5487 else
5488 defaultval=no
5489 fi
5490 fi
5491
5492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5493 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5494 # Check whether --enable-no_deps was given.
5495 if test "${enable_no_deps+set}" = set; then
5496 enableval=$enable_no_deps;
5497 if test "$enableval" = yes; then
5498 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5499 else
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5501 fi
5502
5503 else
5504
5505 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5506
5507 fi
5508
5509
5510 eval "$wx_cv_use_no_deps"
5511
5512 if test x"$enablestring" = xdisable; then
5513 if test $wxUSE_NO_DEPS = no; then
5514 result=yes
5515 else
5516 result=no
5517 fi
5518 else
5519 result=$wxUSE_NO_DEPS
5520 fi
5521
5522 { echo "$as_me:$LINENO: result: $result" >&5
5523 echo "${ECHO_T}$result" >&6; }
5524
5525
5526 enablestring=disable
5527 defaultval=
5528 if test -z "$defaultval"; then
5529 if test x"$enablestring" = xdisable; then
5530 defaultval=yes
5531 else
5532 defaultval=no
5533 fi
5534 fi
5535
5536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5537 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5538 # Check whether --enable-vararg_macros was given.
5539 if test "${enable_vararg_macros+set}" = set; then
5540 enableval=$enable_vararg_macros;
5541 if test "$enableval" = yes; then
5542 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5543 else
5544 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5545 fi
5546
5547 else
5548
5549 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5550
5551 fi
5552
5553
5554 eval "$wx_cv_use_vararg_macros"
5555
5556 if test x"$enablestring" = xdisable; then
5557 if test $wxUSE_VARARG_MACROS = no; then
5558 result=yes
5559 else
5560 result=no
5561 fi
5562 else
5563 result=$wxUSE_VARARG_MACROS
5564 fi
5565
5566 { echo "$as_me:$LINENO: result: $result" >&5
5567 echo "${ECHO_T}$result" >&6; }
5568
5569
5570
5571 enablestring=
5572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5573 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5574 # Check whether --enable-universal_binary was given.
5575 if test "${enable_universal_binary+set}" = set; then
5576 enableval=$enable_universal_binary;
5577 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5578
5579 else
5580
5581 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5582
5583 fi
5584
5585
5586 eval "$wx_cv_use_universal_binary"
5587
5588 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5589 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5590
5591
5592 enablestring=
5593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5595 # Check whether --enable-macosx_arch was given.
5596 if test "${enable_macosx_arch+set}" = set; then
5597 enableval=$enable_macosx_arch;
5598 wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
5599
5600 else
5601
5602 wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5603
5604 fi
5605
5606
5607 eval "$wx_cv_use_macosx_arch"
5608
5609 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5610 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5611
5612
5613
5614 enablestring=
5615 defaultval=
5616 if test -z "$defaultval"; then
5617 if test x"$enablestring" = xdisable; then
5618 defaultval=yes
5619 else
5620 defaultval=no
5621 fi
5622 fi
5623
5624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5625 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5626 # Check whether --enable-compat26 was given.
5627 if test "${enable_compat26+set}" = set; then
5628 enableval=$enable_compat26;
5629 if test "$enableval" = yes; then
5630 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5631 else
5632 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5633 fi
5634
5635 else
5636
5637 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5638
5639 fi
5640
5641
5642 eval "$wx_cv_use_compat26"
5643
5644 if test x"$enablestring" = xdisable; then
5645 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5646 result=yes
5647 else
5648 result=no
5649 fi
5650 else
5651 result=$WXWIN_COMPATIBILITY_2_6
5652 fi
5653
5654 { echo "$as_me:$LINENO: result: $result" >&5
5655 echo "${ECHO_T}$result" >&6; }
5656
5657
5658 enablestring=disable
5659 defaultval=
5660 if test -z "$defaultval"; then
5661 if test x"$enablestring" = xdisable; then
5662 defaultval=yes
5663 else
5664 defaultval=no
5665 fi
5666 fi
5667
5668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5669 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5670 # Check whether --enable-compat28 was given.
5671 if test "${enable_compat28+set}" = set; then
5672 enableval=$enable_compat28;
5673 if test "$enableval" = yes; then
5674 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5675 else
5676 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5677 fi
5678
5679 else
5680
5681 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5682
5683 fi
5684
5685
5686 eval "$wx_cv_use_compat28"
5687
5688 if test x"$enablestring" = xdisable; then
5689 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5690 result=yes
5691 else
5692 result=no
5693 fi
5694 else
5695 result=$WXWIN_COMPATIBILITY_2_8
5696 fi
5697
5698 { echo "$as_me:$LINENO: result: $result" >&5
5699 echo "${ECHO_T}$result" >&6; }
5700
5701
5702
5703 enablestring=disable
5704 defaultval=
5705 if test -z "$defaultval"; then
5706 if test x"$enablestring" = xdisable; then
5707 defaultval=yes
5708 else
5709 defaultval=no
5710 fi
5711 fi
5712
5713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5714 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5715 # Check whether --enable-rpath was given.
5716 if test "${enable_rpath+set}" = set; then
5717 enableval=$enable_rpath;
5718 if test "$enableval" = yes; then
5719 wx_cv_use_rpath='wxUSE_RPATH=yes'
5720 else
5721 wx_cv_use_rpath='wxUSE_RPATH=no'
5722 fi
5723
5724 else
5725
5726 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5727
5728 fi
5729
5730
5731 eval "$wx_cv_use_rpath"
5732
5733 if test x"$enablestring" = xdisable; then
5734 if test $wxUSE_RPATH = no; then
5735 result=yes
5736 else
5737 result=no
5738 fi
5739 else
5740 result=$wxUSE_RPATH
5741 fi
5742
5743 { echo "$as_me:$LINENO: result: $result" >&5
5744 echo "${ECHO_T}$result" >&6; }
5745
5746
5747
5748 enablestring=
5749 defaultval=
5750 if test -z "$defaultval"; then
5751 if test x"$enablestring" = xdisable; then
5752 defaultval=yes
5753 else
5754 defaultval=no
5755 fi
5756 fi
5757
5758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5759 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5760 # Check whether --enable-objc_uniquifying was given.
5761 if test "${enable_objc_uniquifying+set}" = set; then
5762 enableval=$enable_objc_uniquifying;
5763 if test "$enableval" = yes; then
5764 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5765 else
5766 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5767 fi
5768
5769 else
5770
5771 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5772
5773 fi
5774
5775
5776 eval "$wx_cv_use_objc_uniquifying"
5777
5778 if test x"$enablestring" = xdisable; then
5779 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5780 result=yes
5781 else
5782 result=no
5783 fi
5784 else
5785 result=$wxUSE_OBJC_UNIQUIFYING
5786 fi
5787
5788 { echo "$as_me:$LINENO: result: $result" >&5
5789 echo "${ECHO_T}$result" >&6; }
5790
5791
5792
5793 enablestring=disable
5794 defaultval=
5795 if test -z "$defaultval"; then
5796 if test x"$enablestring" = xdisable; then
5797 defaultval=yes
5798 else
5799 defaultval=no
5800 fi
5801 fi
5802
5803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5804 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5805 # Check whether --enable-visibility was given.
5806 if test "${enable_visibility+set}" = set; then
5807 enableval=$enable_visibility;
5808 if test "$enableval" = yes; then
5809 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5810 else
5811 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5812 fi
5813
5814 else
5815
5816 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5817
5818 fi
5819
5820
5821 eval "$wx_cv_use_visibility"
5822
5823 if test x"$enablestring" = xdisable; then
5824 if test $wxUSE_VISIBILITY = no; then
5825 result=yes
5826 else
5827 result=no
5828 fi
5829 else
5830 result=$wxUSE_VISIBILITY
5831 fi
5832
5833 { echo "$as_me:$LINENO: result: $result" >&5
5834 echo "${ECHO_T}$result" >&6; }
5835
5836
5837 enablestring=disable
5838 defaultval=
5839 if test -z "$defaultval"; then
5840 if test x"$enablestring" = xdisable; then
5841 defaultval=yes
5842 else
5843 defaultval=no
5844 fi
5845 fi
5846
5847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tls" >&5
5848 echo $ECHO_N "checking for --${enablestring:-enable}-tls... $ECHO_C" >&6; }
5849 # Check whether --enable-tls was given.
5850 if test "${enable_tls+set}" = set; then
5851 enableval=$enable_tls;
5852 if test "$enableval" = yes; then
5853 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5854 else
5855 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5856 fi
5857
5858 else
5859
5860 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5861
5862 fi
5863
5864
5865 eval "$wx_cv_use_tls"
5866
5867 if test x"$enablestring" = xdisable; then
5868 if test $wxUSE_COMPILER_TLS = no; then
5869 result=yes
5870 else
5871 result=no
5872 fi
5873 else
5874 result=$wxUSE_COMPILER_TLS
5875 fi
5876
5877 { echo "$as_me:$LINENO: result: $result" >&5
5878 echo "${ECHO_T}$result" >&6; }
5879
5880
5881
5882
5883 enablestring=
5884 defaultval=$wxUSE_ALL_FEATURES
5885 if test -z "$defaultval"; then
5886 if test x"$enablestring" = xdisable; then
5887 defaultval=yes
5888 else
5889 defaultval=no
5890 fi
5891 fi
5892
5893 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5894 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5895 # Check whether --enable-intl was given.
5896 if test "${enable_intl+set}" = set; then
5897 enableval=$enable_intl;
5898 if test "$enableval" = yes; then
5899 wx_cv_use_intl='wxUSE_INTL=yes'
5900 else
5901 wx_cv_use_intl='wxUSE_INTL=no'
5902 fi
5903
5904 else
5905
5906 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5907
5908 fi
5909
5910
5911 eval "$wx_cv_use_intl"
5912
5913 if test x"$enablestring" = xdisable; then
5914 if test $wxUSE_INTL = no; then
5915 result=yes
5916 else
5917 result=no
5918 fi
5919 else
5920 result=$wxUSE_INTL
5921 fi
5922
5923 { echo "$as_me:$LINENO: result: $result" >&5
5924 echo "${ECHO_T}$result" >&6; }
5925
5926
5927 enablestring=
5928 defaultval=$wxUSE_ALL_FEATURES
5929 if test -z "$defaultval"; then
5930 if test x"$enablestring" = xdisable; then
5931 defaultval=yes
5932 else
5933 defaultval=no
5934 fi
5935 fi
5936
5937 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5938 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5939 # Check whether --enable-xlocale was given.
5940 if test "${enable_xlocale+set}" = set; then
5941 enableval=$enable_xlocale;
5942 if test "$enableval" = yes; then
5943 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5944 else
5945 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5946 fi
5947
5948 else
5949
5950 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5951
5952 fi
5953
5954
5955 eval "$wx_cv_use_xlocale"
5956
5957 if test x"$enablestring" = xdisable; then
5958 if test $wxUSE_XLOCALE = no; then
5959 result=yes
5960 else
5961 result=no
5962 fi
5963 else
5964 result=$wxUSE_XLOCALE
5965 fi
5966
5967 { echo "$as_me:$LINENO: result: $result" >&5
5968 echo "${ECHO_T}$result" >&6; }
5969
5970
5971 enablestring=
5972 defaultval=$wxUSE_ALL_FEATURES
5973 if test -z "$defaultval"; then
5974 if test x"$enablestring" = xdisable; then
5975 defaultval=yes
5976 else
5977 defaultval=no
5978 fi
5979 fi
5980
5981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5982 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5983 # Check whether --enable-config was given.
5984 if test "${enable_config+set}" = set; then
5985 enableval=$enable_config;
5986 if test "$enableval" = yes; then
5987 wx_cv_use_config='wxUSE_CONFIG=yes'
5988 else
5989 wx_cv_use_config='wxUSE_CONFIG=no'
5990 fi
5991
5992 else
5993
5994 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5995
5996 fi
5997
5998
5999 eval "$wx_cv_use_config"
6000
6001 if test x"$enablestring" = xdisable; then
6002 if test $wxUSE_CONFIG = no; then
6003 result=yes
6004 else
6005 result=no
6006 fi
6007 else
6008 result=$wxUSE_CONFIG
6009 fi
6010
6011 { echo "$as_me:$LINENO: result: $result" >&5
6012 echo "${ECHO_T}$result" >&6; }
6013
6014
6015
6016 enablestring=
6017 defaultval=$wxUSE_ALL_FEATURES
6018 if test -z "$defaultval"; then
6019 if test x"$enablestring" = xdisable; then
6020 defaultval=yes
6021 else
6022 defaultval=no
6023 fi
6024 fi
6025
6026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6027 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6028 # Check whether --enable-protocols was given.
6029 if test "${enable_protocols+set}" = set; then
6030 enableval=$enable_protocols;
6031 if test "$enableval" = yes; then
6032 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
6033 else
6034 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
6035 fi
6036
6037 else
6038
6039 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6040
6041 fi
6042
6043
6044 eval "$wx_cv_use_protocols"
6045
6046 if test x"$enablestring" = xdisable; then
6047 if test $wxUSE_PROTOCOL = no; then
6048 result=yes
6049 else
6050 result=no
6051 fi
6052 else
6053 result=$wxUSE_PROTOCOL
6054 fi
6055
6056 { echo "$as_me:$LINENO: result: $result" >&5
6057 echo "${ECHO_T}$result" >&6; }
6058
6059
6060 enablestring=
6061 defaultval=$wxUSE_ALL_FEATURES
6062 if test -z "$defaultval"; then
6063 if test x"$enablestring" = xdisable; then
6064 defaultval=yes
6065 else
6066 defaultval=no
6067 fi
6068 fi
6069
6070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6071 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6072 # Check whether --enable-ftp was given.
6073 if test "${enable_ftp+set}" = set; then
6074 enableval=$enable_ftp;
6075 if test "$enableval" = yes; then
6076 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
6077 else
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
6079 fi
6080
6081 else
6082
6083 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6084
6085 fi
6086
6087
6088 eval "$wx_cv_use_ftp"
6089
6090 if test x"$enablestring" = xdisable; then
6091 if test $wxUSE_PROTOCOL_FTP = no; then
6092 result=yes
6093 else
6094 result=no
6095 fi
6096 else
6097 result=$wxUSE_PROTOCOL_FTP
6098 fi
6099
6100 { echo "$as_me:$LINENO: result: $result" >&5
6101 echo "${ECHO_T}$result" >&6; }
6102
6103
6104 enablestring=
6105 defaultval=$wxUSE_ALL_FEATURES
6106 if test -z "$defaultval"; then
6107 if test x"$enablestring" = xdisable; then
6108 defaultval=yes
6109 else
6110 defaultval=no
6111 fi
6112 fi
6113
6114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
6115 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
6116 # Check whether --enable-http was given.
6117 if test "${enable_http+set}" = set; then
6118 enableval=$enable_http;
6119 if test "$enableval" = yes; then
6120 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6121 else
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6123 fi
6124
6125 else
6126
6127 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6128
6129 fi
6130
6131
6132 eval "$wx_cv_use_http"
6133
6134 if test x"$enablestring" = xdisable; then
6135 if test $wxUSE_PROTOCOL_HTTP = no; then
6136 result=yes
6137 else
6138 result=no
6139 fi
6140 else
6141 result=$wxUSE_PROTOCOL_HTTP
6142 fi
6143
6144 { echo "$as_me:$LINENO: result: $result" >&5
6145 echo "${ECHO_T}$result" >&6; }
6146
6147
6148 enablestring=
6149 defaultval=$wxUSE_ALL_FEATURES
6150 if test -z "$defaultval"; then
6151 if test x"$enablestring" = xdisable; then
6152 defaultval=yes
6153 else
6154 defaultval=no
6155 fi
6156 fi
6157
6158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6159 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6160 # Check whether --enable-fileproto was given.
6161 if test "${enable_fileproto+set}" = set; then
6162 enableval=$enable_fileproto;
6163 if test "$enableval" = yes; then
6164 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
6165 else
6166 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
6167 fi
6168
6169 else
6170
6171 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6172
6173 fi
6174
6175
6176 eval "$wx_cv_use_fileproto"
6177
6178 if test x"$enablestring" = xdisable; then
6179 if test $wxUSE_PROTOCOL_FILE = no; then
6180 result=yes
6181 else
6182 result=no
6183 fi
6184 else
6185 result=$wxUSE_PROTOCOL_FILE
6186 fi
6187
6188 { echo "$as_me:$LINENO: result: $result" >&5
6189 echo "${ECHO_T}$result" >&6; }
6190
6191
6192 enablestring=
6193 defaultval=$wxUSE_ALL_FEATURES
6194 if test -z "$defaultval"; then
6195 if test x"$enablestring" = xdisable; then
6196 defaultval=yes
6197 else
6198 defaultval=no
6199 fi
6200 fi
6201
6202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6203 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6204 # Check whether --enable-sockets was given.
6205 if test "${enable_sockets+set}" = set; then
6206 enableval=$enable_sockets;
6207 if test "$enableval" = yes; then
6208 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
6209 else
6210 wx_cv_use_sockets='wxUSE_SOCKETS=no'
6211 fi
6212
6213 else
6214
6215 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6216
6217 fi
6218
6219
6220 eval "$wx_cv_use_sockets"
6221
6222 if test x"$enablestring" = xdisable; then
6223 if test $wxUSE_SOCKETS = no; then
6224 result=yes
6225 else
6226 result=no
6227 fi
6228 else
6229 result=$wxUSE_SOCKETS
6230 fi
6231
6232 { echo "$as_me:$LINENO: result: $result" >&5
6233 echo "${ECHO_T}$result" >&6; }
6234
6235
6236 enablestring=
6237 defaultval=$wxUSE_ALL_FEATURES
6238 if test -z "$defaultval"; then
6239 if test x"$enablestring" = xdisable; then
6240 defaultval=yes
6241 else
6242 defaultval=no
6243 fi
6244 fi
6245
6246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
6247 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
6248 # Check whether --enable-ipv6 was given.
6249 if test "${enable_ipv6+set}" = set; then
6250 enableval=$enable_ipv6;
6251 if test "$enableval" = yes; then
6252 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6253 else
6254 wx_cv_use_ipv6='wxUSE_IPV6=no'
6255 fi
6256
6257 else
6258
6259 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6260
6261 fi
6262
6263
6264 eval "$wx_cv_use_ipv6"
6265
6266 if test x"$enablestring" = xdisable; then
6267 if test $wxUSE_IPV6 = no; then
6268 result=yes
6269 else
6270 result=no
6271 fi
6272 else
6273 result=$wxUSE_IPV6
6274 fi
6275
6276 { echo "$as_me:$LINENO: result: $result" >&5
6277 echo "${ECHO_T}$result" >&6; }
6278
6279
6280 enablestring=
6281 defaultval=$wxUSE_ALL_FEATURES
6282 if test -z "$defaultval"; then
6283 if test x"$enablestring" = xdisable; then
6284 defaultval=yes
6285 else
6286 defaultval=no
6287 fi
6288 fi
6289
6290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6291 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6292 # Check whether --enable-ole was given.
6293 if test "${enable_ole+set}" = set; then
6294 enableval=$enable_ole;
6295 if test "$enableval" = yes; then
6296 wx_cv_use_ole='wxUSE_OLE=yes'
6297 else
6298 wx_cv_use_ole='wxUSE_OLE=no'
6299 fi
6300
6301 else
6302
6303 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6304
6305 fi
6306
6307
6308 eval "$wx_cv_use_ole"
6309
6310 if test x"$enablestring" = xdisable; then
6311 if test $wxUSE_OLE = no; then
6312 result=yes
6313 else
6314 result=no
6315 fi
6316 else
6317 result=$wxUSE_OLE
6318 fi
6319
6320 { echo "$as_me:$LINENO: result: $result" >&5
6321 echo "${ECHO_T}$result" >&6; }
6322
6323
6324 enablestring=
6325 defaultval=$wxUSE_ALL_FEATURES
6326 if test -z "$defaultval"; then
6327 if test x"$enablestring" = xdisable; then
6328 defaultval=yes
6329 else
6330 defaultval=no
6331 fi
6332 fi
6333
6334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6335 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6336 # Check whether --enable-dataobj was given.
6337 if test "${enable_dataobj+set}" = set; then
6338 enableval=$enable_dataobj;
6339 if test "$enableval" = yes; then
6340 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6341 else
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6343 fi
6344
6345 else
6346
6347 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6348
6349 fi
6350
6351
6352 eval "$wx_cv_use_dataobj"
6353
6354 if test x"$enablestring" = xdisable; then
6355 if test $wxUSE_DATAOBJ = no; then
6356 result=yes
6357 else
6358 result=no
6359 fi
6360 else
6361 result=$wxUSE_DATAOBJ
6362 fi
6363
6364 { echo "$as_me:$LINENO: result: $result" >&5
6365 echo "${ECHO_T}$result" >&6; }
6366
6367
6368
6369 enablestring=
6370 defaultval=$wxUSE_ALL_FEATURES
6371 if test -z "$defaultval"; then
6372 if test x"$enablestring" = xdisable; then
6373 defaultval=yes
6374 else
6375 defaultval=no
6376 fi
6377 fi
6378
6379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6380 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6381 # Check whether --enable-ipc was given.
6382 if test "${enable_ipc+set}" = set; then
6383 enableval=$enable_ipc;
6384 if test "$enableval" = yes; then
6385 wx_cv_use_ipc='wxUSE_IPC=yes'
6386 else
6387 wx_cv_use_ipc='wxUSE_IPC=no'
6388 fi
6389
6390 else
6391
6392 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6393
6394 fi
6395
6396
6397 eval "$wx_cv_use_ipc"
6398
6399 if test x"$enablestring" = xdisable; then
6400 if test $wxUSE_IPC = no; then
6401 result=yes
6402 else
6403 result=no
6404 fi
6405 else
6406 result=$wxUSE_IPC
6407 fi
6408
6409 { echo "$as_me:$LINENO: result: $result" >&5
6410 echo "${ECHO_T}$result" >&6; }
6411
6412
6413
6414 enablestring=
6415 defaultval=$wxUSE_ALL_FEATURES
6416 if test -z "$defaultval"; then
6417 if test x"$enablestring" = xdisable; then
6418 defaultval=yes
6419 else
6420 defaultval=no
6421 fi
6422 fi
6423
6424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6425 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6426 # Check whether --enable-baseevtloop was given.
6427 if test "${enable_baseevtloop+set}" = set; then
6428 enableval=$enable_baseevtloop;
6429 if test "$enableval" = yes; then
6430 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6431 else
6432 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6433 fi
6434
6435 else
6436
6437 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6438
6439 fi
6440
6441
6442 eval "$wx_cv_use_baseevtloop"
6443
6444 if test x"$enablestring" = xdisable; then
6445 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6446 result=yes
6447 else
6448 result=no
6449 fi
6450 else
6451 result=$wxUSE_CONSOLE_EVENTLOOP
6452 fi
6453
6454 { echo "$as_me:$LINENO: result: $result" >&5
6455 echo "${ECHO_T}$result" >&6; }
6456
6457
6458 enablestring=
6459 defaultval=$wxUSE_ALL_FEATURES
6460 if test -z "$defaultval"; then
6461 if test x"$enablestring" = xdisable; then
6462 defaultval=yes
6463 else
6464 defaultval=no
6465 fi
6466 fi
6467
6468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6469 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6470 # Check whether --enable-epollloop was given.
6471 if test "${enable_epollloop+set}" = set; then
6472 enableval=$enable_epollloop;
6473 if test "$enableval" = yes; then
6474 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6475 else
6476 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6477 fi
6478
6479 else
6480
6481 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6482
6483 fi
6484
6485
6486 eval "$wx_cv_use_epollloop"
6487
6488 if test x"$enablestring" = xdisable; then
6489 if test $wxUSE_EPOLL_DISPATCHER = no; then
6490 result=yes
6491 else
6492 result=no
6493 fi
6494 else
6495 result=$wxUSE_EPOLL_DISPATCHER
6496 fi
6497
6498 { echo "$as_me:$LINENO: result: $result" >&5
6499 echo "${ECHO_T}$result" >&6; }
6500
6501
6502 enablestring=
6503 defaultval=$wxUSE_ALL_FEATURES
6504 if test -z "$defaultval"; then
6505 if test x"$enablestring" = xdisable; then
6506 defaultval=yes
6507 else
6508 defaultval=no
6509 fi
6510 fi
6511
6512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6514 # Check whether --enable-selectloop was given.
6515 if test "${enable_selectloop+set}" = set; then
6516 enableval=$enable_selectloop;
6517 if test "$enableval" = yes; then
6518 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6519 else
6520 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6521 fi
6522
6523 else
6524
6525 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6526
6527 fi
6528
6529
6530 eval "$wx_cv_use_selectloop"
6531
6532 if test x"$enablestring" = xdisable; then
6533 if test $wxUSE_SELECT_DISPATCHER = no; then
6534 result=yes
6535 else
6536 result=no
6537 fi
6538 else
6539 result=$wxUSE_SELECT_DISPATCHER
6540 fi
6541
6542 { echo "$as_me:$LINENO: result: $result" >&5
6543 echo "${ECHO_T}$result" >&6; }
6544
6545
6546
6547 enablestring=
6548 defaultval=$wxUSE_ALL_FEATURES
6549 if test -z "$defaultval"; then
6550 if test x"$enablestring" = xdisable; then
6551 defaultval=yes
6552 else
6553 defaultval=no
6554 fi
6555 fi
6556
6557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6558 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6559 # Check whether --enable-any was given.
6560 if test "${enable_any+set}" = set; then
6561 enableval=$enable_any;
6562 if test "$enableval" = yes; then
6563 wx_cv_use_any='wxUSE_ANY=yes'
6564 else
6565 wx_cv_use_any='wxUSE_ANY=no'
6566 fi
6567
6568 else
6569
6570 wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6571
6572 fi
6573
6574
6575 eval "$wx_cv_use_any"
6576
6577 if test x"$enablestring" = xdisable; then
6578 if test $wxUSE_ANY = no; then
6579 result=yes
6580 else
6581 result=no
6582 fi
6583 else
6584 result=$wxUSE_ANY
6585 fi
6586
6587 { echo "$as_me:$LINENO: result: $result" >&5
6588 echo "${ECHO_T}$result" >&6; }
6589
6590
6591 enablestring=
6592 defaultval=$wxUSE_ALL_FEATURES
6593 if test -z "$defaultval"; then
6594 if test x"$enablestring" = xdisable; then
6595 defaultval=yes
6596 else
6597 defaultval=no
6598 fi
6599 fi
6600
6601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6602 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6603 # Check whether --enable-apple_ieee was given.
6604 if test "${enable_apple_ieee+set}" = set; then
6605 enableval=$enable_apple_ieee;
6606 if test "$enableval" = yes; then
6607 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6608 else
6609 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6610 fi
6611
6612 else
6613
6614 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6615
6616 fi
6617
6618
6619 eval "$wx_cv_use_apple_ieee"
6620
6621 if test x"$enablestring" = xdisable; then
6622 if test $wxUSE_APPLE_IEEE = no; then
6623 result=yes
6624 else
6625 result=no
6626 fi
6627 else
6628 result=$wxUSE_APPLE_IEEE
6629 fi
6630
6631 { echo "$as_me:$LINENO: result: $result" >&5
6632 echo "${ECHO_T}$result" >&6; }
6633
6634
6635 enablestring=
6636 defaultval=$wxUSE_ALL_FEATURES
6637 if test -z "$defaultval"; then
6638 if test x"$enablestring" = xdisable; then
6639 defaultval=yes
6640 else
6641 defaultval=no
6642 fi
6643 fi
6644
6645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6646 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6647 # Check whether --enable-arcstream was given.
6648 if test "${enable_arcstream+set}" = set; then
6649 enableval=$enable_arcstream;
6650 if test "$enableval" = yes; then
6651 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6652 else
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6654 fi
6655
6656 else
6657
6658 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6659
6660 fi
6661
6662
6663 eval "$wx_cv_use_arcstream"
6664
6665 if test x"$enablestring" = xdisable; then
6666 if test $wxUSE_ARCHIVE_STREAMS = no; then
6667 result=yes
6668 else
6669 result=no
6670 fi
6671 else
6672 result=$wxUSE_ARCHIVE_STREAMS
6673 fi
6674
6675 { echo "$as_me:$LINENO: result: $result" >&5
6676 echo "${ECHO_T}$result" >&6; }
6677
6678
6679 enablestring=
6680 defaultval=$wxUSE_ALL_FEATURES
6681 if test -z "$defaultval"; then
6682 if test x"$enablestring" = xdisable; then
6683 defaultval=yes
6684 else
6685 defaultval=no
6686 fi
6687 fi
6688
6689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6690 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6691 # Check whether --enable-base64 was given.
6692 if test "${enable_base64+set}" = set; then
6693 enableval=$enable_base64;
6694 if test "$enableval" = yes; then
6695 wx_cv_use_base64='wxUSE_BASE64=yes'
6696 else
6697 wx_cv_use_base64='wxUSE_BASE64=no'
6698 fi
6699
6700 else
6701
6702 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6703
6704 fi
6705
6706
6707 eval "$wx_cv_use_base64"
6708
6709 if test x"$enablestring" = xdisable; then
6710 if test $wxUSE_BASE64 = no; then
6711 result=yes
6712 else
6713 result=no
6714 fi
6715 else
6716 result=$wxUSE_BASE64
6717 fi
6718
6719 { echo "$as_me:$LINENO: result: $result" >&5
6720 echo "${ECHO_T}$result" >&6; }
6721
6722
6723 enablestring=
6724 defaultval=$wxUSE_ALL_FEATURES
6725 if test -z "$defaultval"; then
6726 if test x"$enablestring" = xdisable; then
6727 defaultval=yes
6728 else
6729 defaultval=no
6730 fi
6731 fi
6732
6733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6734 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6735 # Check whether --enable-backtrace was given.
6736 if test "${enable_backtrace+set}" = set; then
6737 enableval=$enable_backtrace;
6738 if test "$enableval" = yes; then
6739 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6740 else
6741 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6742 fi
6743
6744 else
6745
6746 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6747
6748 fi
6749
6750
6751 eval "$wx_cv_use_backtrace"
6752
6753 if test x"$enablestring" = xdisable; then
6754 if test $wxUSE_STACKWALKER = no; then
6755 result=yes
6756 else
6757 result=no
6758 fi
6759 else
6760 result=$wxUSE_STACKWALKER
6761 fi
6762
6763 { echo "$as_me:$LINENO: result: $result" >&5
6764 echo "${ECHO_T}$result" >&6; }
6765
6766
6767 enablestring=
6768 defaultval=$wxUSE_ALL_FEATURES
6769 if test -z "$defaultval"; then
6770 if test x"$enablestring" = xdisable; then
6771 defaultval=yes
6772 else
6773 defaultval=no
6774 fi
6775 fi
6776
6777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6778 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6779 # Check whether --enable-catch_segvs was given.
6780 if test "${enable_catch_segvs+set}" = set; then
6781 enableval=$enable_catch_segvs;
6782 if test "$enableval" = yes; then
6783 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6784 else
6785 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6786 fi
6787
6788 else
6789
6790 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6791
6792 fi
6793
6794
6795 eval "$wx_cv_use_catch_segvs"
6796
6797 if test x"$enablestring" = xdisable; then
6798 if test $wxUSE_ON_FATAL_EXCEPTION = no; then
6799 result=yes
6800 else
6801 result=no
6802 fi
6803 else
6804 result=$wxUSE_ON_FATAL_EXCEPTION
6805 fi
6806
6807 { echo "$as_me:$LINENO: result: $result" >&5
6808 echo "${ECHO_T}$result" >&6; }
6809
6810
6811 enablestring=
6812 defaultval=$wxUSE_ALL_FEATURES
6813 if test -z "$defaultval"; then
6814 if test x"$enablestring" = xdisable; then
6815 defaultval=yes
6816 else
6817 defaultval=no
6818 fi
6819 fi
6820
6821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6822 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6823 # Check whether --enable-cmdline was given.
6824 if test "${enable_cmdline+set}" = set; then
6825 enableval=$enable_cmdline;
6826 if test "$enableval" = yes; then
6827 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6828 else
6829 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6830 fi
6831
6832 else
6833
6834 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6835
6836 fi
6837
6838
6839 eval "$wx_cv_use_cmdline"
6840
6841 if test x"$enablestring" = xdisable; then
6842 if test $wxUSE_CMDLINE_PARSER = no; then
6843 result=yes
6844 else
6845 result=no
6846 fi
6847 else
6848 result=$wxUSE_CMDLINE_PARSER
6849 fi
6850
6851 { echo "$as_me:$LINENO: result: $result" >&5
6852 echo "${ECHO_T}$result" >&6; }
6853
6854
6855 enablestring=
6856 defaultval=$wxUSE_ALL_FEATURES
6857 if test -z "$defaultval"; then
6858 if test x"$enablestring" = xdisable; then
6859 defaultval=yes
6860 else
6861 defaultval=no
6862 fi
6863 fi
6864
6865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6866 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6867 # Check whether --enable-datetime was given.
6868 if test "${enable_datetime+set}" = set; then
6869 enableval=$enable_datetime;
6870 if test "$enableval" = yes; then
6871 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6872 else
6873 wx_cv_use_datetime='wxUSE_DATETIME=no'
6874 fi
6875
6876 else
6877
6878 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6879
6880 fi
6881
6882
6883 eval "$wx_cv_use_datetime"
6884
6885 if test x"$enablestring" = xdisable; then
6886 if test $wxUSE_DATETIME = no; then
6887 result=yes
6888 else
6889 result=no
6890 fi
6891 else
6892 result=$wxUSE_DATETIME
6893 fi
6894
6895 { echo "$as_me:$LINENO: result: $result" >&5
6896 echo "${ECHO_T}$result" >&6; }
6897
6898
6899 enablestring=
6900 defaultval=$wxUSE_ALL_FEATURES
6901 if test -z "$defaultval"; then
6902 if test x"$enablestring" = xdisable; then
6903 defaultval=yes
6904 else
6905 defaultval=no
6906 fi
6907 fi
6908
6909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6910 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6911 # Check whether --enable-debugreport was given.
6912 if test "${enable_debugreport+set}" = set; then
6913 enableval=$enable_debugreport;
6914 if test "$enableval" = yes; then
6915 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6916 else
6917 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6918 fi
6919
6920 else
6921
6922 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6923
6924 fi
6925
6926
6927 eval "$wx_cv_use_debugreport"
6928
6929 if test x"$enablestring" = xdisable; then
6930 if test $wxUSE_DEBUGREPORT = no; then
6931 result=yes
6932 else
6933 result=no
6934 fi
6935 else
6936 result=$wxUSE_DEBUGREPORT
6937 fi
6938
6939 { echo "$as_me:$LINENO: result: $result" >&5
6940 echo "${ECHO_T}$result" >&6; }
6941
6942
6943 enablestring=
6944 defaultval=$wxUSE_ALL_FEATURES
6945 if test -z "$defaultval"; then
6946 if test x"$enablestring" = xdisable; then
6947 defaultval=yes
6948 else
6949 defaultval=no
6950 fi
6951 fi
6952
6953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6954 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6955 # Check whether --enable-dialupman was given.
6956 if test "${enable_dialupman+set}" = set; then
6957 enableval=$enable_dialupman;
6958 if test "$enableval" = yes; then
6959 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6960 else
6961 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6962 fi
6963
6964 else
6965
6966 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6967
6968 fi
6969
6970
6971 eval "$wx_cv_use_dialupman"
6972
6973 if test x"$enablestring" = xdisable; then
6974 if test $wxUSE_DIALUP_MANAGER = no; then
6975 result=yes
6976 else
6977 result=no
6978 fi
6979 else
6980 result=$wxUSE_DIALUP_MANAGER
6981 fi
6982
6983 { echo "$as_me:$LINENO: result: $result" >&5
6984 echo "${ECHO_T}$result" >&6; }
6985
6986
6987 enablestring=
6988 defaultval=$wxUSE_ALL_FEATURES
6989 if test -z "$defaultval"; then
6990 if test x"$enablestring" = xdisable; then
6991 defaultval=yes
6992 else
6993 defaultval=no
6994 fi
6995 fi
6996
6997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6998 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6999 # Check whether --enable-dynlib was given.
7000 if test "${enable_dynlib+set}" = set; then
7001 enableval=$enable_dynlib;
7002 if test "$enableval" = yes; then
7003 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
7004 else
7005 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
7006 fi
7007
7008 else
7009
7010 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7011
7012 fi
7013
7014
7015 eval "$wx_cv_use_dynlib"
7016
7017 if test x"$enablestring" = xdisable; then
7018 if test $wxUSE_DYNLIB_CLASS = no; then
7019 result=yes
7020 else
7021 result=no
7022 fi
7023 else
7024 result=$wxUSE_DYNLIB_CLASS
7025 fi
7026
7027 { echo "$as_me:$LINENO: result: $result" >&5
7028 echo "${ECHO_T}$result" >&6; }
7029
7030
7031 enablestring=
7032 defaultval=$wxUSE_ALL_FEATURES
7033 if test -z "$defaultval"; then
7034 if test x"$enablestring" = xdisable; then
7035 defaultval=yes
7036 else
7037 defaultval=no
7038 fi
7039 fi
7040
7041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
7042 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
7043 # Check whether --enable-dynamicloader was given.
7044 if test "${enable_dynamicloader+set}" = set; then
7045 enableval=$enable_dynamicloader;
7046 if test "$enableval" = yes; then
7047 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7048 else
7049 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7050 fi
7051
7052 else
7053
7054 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7055
7056 fi
7057
7058
7059 eval "$wx_cv_use_dynamicloader"
7060
7061 if test x"$enablestring" = xdisable; then
7062 if test $wxUSE_DYNAMIC_LOADER = no; then
7063 result=yes
7064 else
7065 result=no
7066 fi
7067 else
7068 result=$wxUSE_DYNAMIC_LOADER
7069 fi
7070
7071 { echo "$as_me:$LINENO: result: $result" >&5
7072 echo "${ECHO_T}$result" >&6; }
7073
7074
7075 enablestring=
7076 defaultval=$wxUSE_ALL_FEATURES
7077 if test -z "$defaultval"; then
7078 if test x"$enablestring" = xdisable; then
7079 defaultval=yes
7080 else
7081 defaultval=no
7082 fi
7083 fi
7084
7085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7086 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7087 # Check whether --enable-exceptions was given.
7088 if test "${enable_exceptions+set}" = set; then
7089 enableval=$enable_exceptions;
7090 if test "$enableval" = yes; then
7091 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
7092 else
7093 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
7094 fi
7095
7096 else
7097
7098 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7099
7100 fi
7101
7102
7103 eval "$wx_cv_use_exceptions"
7104
7105 if test x"$enablestring" = xdisable; then
7106 if test $wxUSE_EXCEPTIONS = no; then
7107 result=yes
7108 else
7109 result=no
7110 fi
7111 else
7112 result=$wxUSE_EXCEPTIONS
7113 fi
7114
7115 { echo "$as_me:$LINENO: result: $result" >&5
7116 echo "${ECHO_T}$result" >&6; }
7117
7118
7119 enablestring=
7120 defaultval=$wxUSE_ALL_FEATURES
7121 if test -z "$defaultval"; then
7122 if test x"$enablestring" = xdisable; then
7123 defaultval=yes
7124 else
7125 defaultval=no
7126 fi
7127 fi
7128
7129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7130 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7131 # Check whether --enable-ffile was given.
7132 if test "${enable_ffile+set}" = set; then
7133 enableval=$enable_ffile;
7134 if test "$enableval" = yes; then
7135 wx_cv_use_ffile='wxUSE_FFILE=yes'
7136 else
7137 wx_cv_use_ffile='wxUSE_FFILE=no'
7138 fi
7139
7140 else
7141
7142 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7143
7144 fi
7145
7146
7147 eval "$wx_cv_use_ffile"
7148
7149 if test x"$enablestring" = xdisable; then
7150 if test $wxUSE_FFILE = no; then
7151 result=yes
7152 else
7153 result=no
7154 fi
7155 else
7156 result=$wxUSE_FFILE
7157 fi
7158
7159 { echo "$as_me:$LINENO: result: $result" >&5
7160 echo "${ECHO_T}$result" >&6; }
7161
7162
7163 enablestring=
7164 defaultval=$wxUSE_ALL_FEATURES
7165 if test -z "$defaultval"; then
7166 if test x"$enablestring" = xdisable; then
7167 defaultval=yes
7168 else
7169 defaultval=no
7170 fi
7171 fi
7172
7173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
7174 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
7175 # Check whether --enable-file was given.
7176 if test "${enable_file+set}" = set; then
7177 enableval=$enable_file;
7178 if test "$enableval" = yes; then
7179 wx_cv_use_file='wxUSE_FILE=yes'
7180 else
7181 wx_cv_use_file='wxUSE_FILE=no'
7182 fi
7183
7184 else
7185
7186 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7187
7188 fi
7189
7190
7191 eval "$wx_cv_use_file"
7192
7193 if test x"$enablestring" = xdisable; then
7194 if test $wxUSE_FILE = no; then
7195 result=yes
7196 else
7197 result=no
7198 fi
7199 else
7200 result=$wxUSE_FILE
7201 fi
7202
7203 { echo "$as_me:$LINENO: result: $result" >&5
7204 echo "${ECHO_T}$result" >&6; }
7205
7206
7207 enablestring=
7208 defaultval=$wxUSE_ALL_FEATURES
7209 if test -z "$defaultval"; then
7210 if test x"$enablestring" = xdisable; then
7211 defaultval=yes
7212 else
7213 defaultval=no
7214 fi
7215 fi
7216
7217 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7219 # Check whether --enable-filehistory was given.
7220 if test "${enable_filehistory+set}" = set; then
7221 enableval=$enable_filehistory;
7222 if test "$enableval" = yes; then
7223 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
7224 else
7225 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
7226 fi
7227
7228 else
7229
7230 wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7231
7232 fi
7233
7234
7235 eval "$wx_cv_use_filehistory"
7236
7237 if test x"$enablestring" = xdisable; then
7238 if test $wxUSE_FILE_HISTORY = no; then
7239 result=yes
7240 else
7241 result=no
7242 fi
7243 else
7244 result=$wxUSE_FILE_HISTORY
7245 fi
7246
7247 { echo "$as_me:$LINENO: result: $result" >&5
7248 echo "${ECHO_T}$result" >&6; }
7249
7250
7251 enablestring=
7252 defaultval=$wxUSE_ALL_FEATURES
7253 if test -z "$defaultval"; then
7254 if test x"$enablestring" = xdisable; then
7255 defaultval=yes
7256 else
7257 defaultval=no
7258 fi
7259 fi
7260
7261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7262 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7263 # Check whether --enable-filesystem was given.
7264 if test "${enable_filesystem+set}" = set; then
7265 enableval=$enable_filesystem;
7266 if test "$enableval" = yes; then
7267 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
7268 else
7269 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
7270 fi
7271
7272 else
7273
7274 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7275
7276 fi
7277
7278
7279 eval "$wx_cv_use_filesystem"
7280
7281 if test x"$enablestring" = xdisable; then
7282 if test $wxUSE_FILESYSTEM = no; then
7283 result=yes
7284 else
7285 result=no
7286 fi
7287 else
7288 result=$wxUSE_FILESYSTEM
7289 fi
7290
7291 { echo "$as_me:$LINENO: result: $result" >&5
7292 echo "${ECHO_T}$result" >&6; }
7293
7294
7295 enablestring=
7296 defaultval=$wxUSE_ALL_FEATURES
7297 if test -z "$defaultval"; then
7298 if test x"$enablestring" = xdisable; then
7299 defaultval=yes
7300 else
7301 defaultval=no
7302 fi
7303 fi
7304
7305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
7306 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
7307 # Check whether --enable-fontenum was given.
7308 if test "${enable_fontenum+set}" = set; then
7309 enableval=$enable_fontenum;
7310 if test "$enableval" = yes; then
7311 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7312 else
7313 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7314 fi
7315
7316 else
7317
7318 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7319
7320 fi
7321
7322
7323 eval "$wx_cv_use_fontenum"
7324
7325 if test x"$enablestring" = xdisable; then
7326 if test $wxUSE_FONTENUM = no; then
7327 result=yes
7328 else
7329 result=no
7330 fi
7331 else
7332 result=$wxUSE_FONTENUM
7333 fi
7334
7335 { echo "$as_me:$LINENO: result: $result" >&5
7336 echo "${ECHO_T}$result" >&6; }
7337
7338
7339 enablestring=
7340 defaultval=$wxUSE_ALL_FEATURES
7341 if test -z "$defaultval"; then
7342 if test x"$enablestring" = xdisable; then
7343 defaultval=yes
7344 else
7345 defaultval=no
7346 fi
7347 fi
7348
7349 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7350 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7351 # Check whether --enable-fontmap was given.
7352 if test "${enable_fontmap+set}" = set; then
7353 enableval=$enable_fontmap;
7354 if test "$enableval" = yes; then
7355 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
7356 else
7357 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
7358 fi
7359
7360 else
7361
7362 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7363
7364 fi
7365
7366
7367 eval "$wx_cv_use_fontmap"
7368
7369 if test x"$enablestring" = xdisable; then
7370 if test $wxUSE_FONTMAP = no; then
7371 result=yes
7372 else
7373 result=no
7374 fi
7375 else
7376 result=$wxUSE_FONTMAP
7377 fi
7378
7379 { echo "$as_me:$LINENO: result: $result" >&5
7380 echo "${ECHO_T}$result" >&6; }
7381
7382
7383 enablestring=
7384 defaultval=$wxUSE_ALL_FEATURES
7385 if test -z "$defaultval"; then
7386 if test x"$enablestring" = xdisable; then
7387 defaultval=yes
7388 else
7389 defaultval=no
7390 fi
7391 fi
7392
7393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7394 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7395 # Check whether --enable-fs_archive was given.
7396 if test "${enable_fs_archive+set}" = set; then
7397 enableval=$enable_fs_archive;
7398 if test "$enableval" = yes; then
7399 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7400 else
7401 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7402 fi
7403
7404 else
7405
7406 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7407
7408 fi
7409
7410
7411 eval "$wx_cv_use_fs_archive"
7412
7413 if test x"$enablestring" = xdisable; then
7414 if test $wxUSE_FS_ARCHIVE = no; then
7415 result=yes
7416 else
7417 result=no
7418 fi
7419 else
7420 result=$wxUSE_FS_ARCHIVE
7421 fi
7422
7423 { echo "$as_me:$LINENO: result: $result" >&5
7424 echo "${ECHO_T}$result" >&6; }
7425
7426
7427 enablestring=
7428 defaultval=$wxUSE_ALL_FEATURES
7429 if test -z "$defaultval"; then
7430 if test x"$enablestring" = xdisable; then
7431 defaultval=yes
7432 else
7433 defaultval=no
7434 fi
7435 fi
7436
7437 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7438 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7439 # Check whether --enable-fs_inet was given.
7440 if test "${enable_fs_inet+set}" = set; then
7441 enableval=$enable_fs_inet;
7442 if test "$enableval" = yes; then
7443 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7444 else
7445 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7446 fi
7447
7448 else
7449
7450 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7451
7452 fi
7453
7454
7455 eval "$wx_cv_use_fs_inet"
7456
7457 if test x"$enablestring" = xdisable; then
7458 if test $wxUSE_FS_INET = no; then
7459 result=yes
7460 else
7461 result=no
7462 fi
7463 else
7464 result=$wxUSE_FS_INET
7465 fi
7466
7467 { echo "$as_me:$LINENO: result: $result" >&5
7468 echo "${ECHO_T}$result" >&6; }
7469
7470
7471 enablestring=
7472 defaultval=$wxUSE_ALL_FEATURES
7473 if test -z "$defaultval"; then
7474 if test x"$enablestring" = xdisable; then
7475 defaultval=yes
7476 else
7477 defaultval=no
7478 fi
7479 fi
7480
7481 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7482 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7483 # Check whether --enable-fs_zip was given.
7484 if test "${enable_fs_zip+set}" = set; then
7485 enableval=$enable_fs_zip;
7486 if test "$enableval" = yes; then
7487 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7488 else
7489 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7490 fi
7491
7492 else
7493
7494 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7495
7496 fi
7497
7498
7499 eval "$wx_cv_use_fs_zip"
7500
7501 if test x"$enablestring" = xdisable; then
7502 if test $wxUSE_FS_ZIP = no; then
7503 result=yes
7504 else
7505 result=no
7506 fi
7507 else
7508 result=$wxUSE_FS_ZIP
7509 fi
7510
7511 { echo "$as_me:$LINENO: result: $result" >&5
7512 echo "${ECHO_T}$result" >&6; }
7513
7514
7515 enablestring=
7516 defaultval=$wxUSE_ALL_FEATURES
7517 if test -z "$defaultval"; then
7518 if test x"$enablestring" = xdisable; then
7519 defaultval=yes
7520 else
7521 defaultval=no
7522 fi
7523 fi
7524
7525 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7526 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7527 # Check whether --enable-fswatcher was given.
7528 if test "${enable_fswatcher+set}" = set; then
7529 enableval=$enable_fswatcher;
7530 if test "$enableval" = yes; then
7531 wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
7532 else
7533 wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
7534 fi
7535
7536 else
7537
7538 wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7539
7540 fi
7541
7542
7543 eval "$wx_cv_use_fswatcher"
7544
7545 if test x"$enablestring" = xdisable; then
7546 if test $wxUSE_FSWATCHER = no; then
7547 result=yes
7548 else
7549 result=no
7550 fi
7551 else
7552 result=$wxUSE_FSWATCHER
7553 fi
7554
7555 { echo "$as_me:$LINENO: result: $result" >&5
7556 echo "${ECHO_T}$result" >&6; }
7557
7558
7559 enablestring=
7560 defaultval=$wxUSE_ALL_FEATURES
7561 if test -z "$defaultval"; then
7562 if test x"$enablestring" = xdisable; then
7563 defaultval=yes
7564 else
7565 defaultval=no
7566 fi
7567 fi
7568
7569 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7570 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7571 # Check whether --enable-geometry was given.
7572 if test "${enable_geometry+set}" = set; then
7573 enableval=$enable_geometry;
7574 if test "$enableval" = yes; then
7575 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7576 else
7577 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7578 fi
7579
7580 else
7581
7582 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7583
7584 fi
7585
7586
7587 eval "$wx_cv_use_geometry"
7588
7589 if test x"$enablestring" = xdisable; then
7590 if test $wxUSE_GEOMETRY = no; then
7591 result=yes
7592 else
7593 result=no
7594 fi
7595 else
7596 result=$wxUSE_GEOMETRY
7597 fi
7598
7599 { echo "$as_me:$LINENO: result: $result" >&5
7600 echo "${ECHO_T}$result" >&6; }
7601
7602
7603 enablestring=
7604 defaultval=$wxUSE_ALL_FEATURES
7605 if test -z "$defaultval"; then
7606 if test x"$enablestring" = xdisable; then
7607 defaultval=yes
7608 else
7609 defaultval=no
7610 fi
7611 fi
7612
7613 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7614 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7615 # Check whether --enable-log was given.
7616 if test "${enable_log+set}" = set; then
7617 enableval=$enable_log;
7618 if test "$enableval" = yes; then
7619 wx_cv_use_log='wxUSE_LOG=yes'
7620 else
7621 wx_cv_use_log='wxUSE_LOG=no'
7622 fi
7623
7624 else
7625
7626 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7627
7628 fi
7629
7630
7631 eval "$wx_cv_use_log"
7632
7633 if test x"$enablestring" = xdisable; then
7634 if test $wxUSE_LOG = no; then
7635 result=yes
7636 else
7637 result=no
7638 fi
7639 else
7640 result=$wxUSE_LOG
7641 fi
7642
7643 { echo "$as_me:$LINENO: result: $result" >&5
7644 echo "${ECHO_T}$result" >&6; }
7645
7646
7647 enablestring=
7648 defaultval=$wxUSE_ALL_FEATURES
7649 if test -z "$defaultval"; then
7650 if test x"$enablestring" = xdisable; then
7651 defaultval=yes
7652 else
7653 defaultval=no
7654 fi
7655 fi
7656
7657 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7658 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7659 # Check whether --enable-longlong was given.
7660 if test "${enable_longlong+set}" = set; then
7661 enableval=$enable_longlong;
7662 if test "$enableval" = yes; then
7663 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7664 else
7665 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7666 fi
7667
7668 else
7669
7670 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7671
7672 fi
7673
7674
7675 eval "$wx_cv_use_longlong"
7676
7677 if test x"$enablestring" = xdisable; then
7678 if test $wxUSE_LONGLONG = no; then
7679 result=yes
7680 else
7681 result=no
7682 fi
7683 else
7684 result=$wxUSE_LONGLONG
7685 fi
7686
7687 { echo "$as_me:$LINENO: result: $result" >&5
7688 echo "${ECHO_T}$result" >&6; }
7689
7690
7691 enablestring=
7692 defaultval=$wxUSE_ALL_FEATURES
7693 if test -z "$defaultval"; then
7694 if test x"$enablestring" = xdisable; then
7695 defaultval=yes
7696 else
7697 defaultval=no
7698 fi
7699 fi
7700
7701 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7702 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7703 # Check whether --enable-mimetype was given.
7704 if test "${enable_mimetype+set}" = set; then
7705 enableval=$enable_mimetype;
7706 if test "$enableval" = yes; then
7707 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7708 else
7709 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7710 fi
7711
7712 else
7713
7714 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7715
7716 fi
7717
7718
7719 eval "$wx_cv_use_mimetype"
7720
7721 if test x"$enablestring" = xdisable; then
7722 if test $wxUSE_MIMETYPE = no; then
7723 result=yes
7724 else
7725 result=no
7726 fi
7727 else
7728 result=$wxUSE_MIMETYPE
7729 fi
7730
7731 { echo "$as_me:$LINENO: result: $result" >&5
7732 echo "${ECHO_T}$result" >&6; }
7733
7734
7735 enablestring=
7736 defaultval=$wxUSE_ALL_FEATURES
7737 if test -z "$defaultval"; then
7738 if test x"$enablestring" = xdisable; then
7739 defaultval=yes
7740 else
7741 defaultval=no
7742 fi
7743 fi
7744
7745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7746 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7747 # Check whether --enable-printfposparam was given.
7748 if test "${enable_printfposparam+set}" = set; then
7749 enableval=$enable_printfposparam;
7750 if test "$enableval" = yes; then
7751 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7752 else
7753 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7754 fi
7755
7756 else
7757
7758 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7759
7760 fi
7761
7762
7763 eval "$wx_cv_use_printfposparam"
7764
7765 if test x"$enablestring" = xdisable; then
7766 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7767 result=yes
7768 else
7769 result=no
7770 fi
7771 else
7772 result=$wxUSE_PRINTF_POS_PARAMS
7773 fi
7774
7775 { echo "$as_me:$LINENO: result: $result" >&5
7776 echo "${ECHO_T}$result" >&6; }
7777
7778
7779 enablestring=
7780 defaultval=$wxUSE_ALL_FEATURES
7781 if test -z "$defaultval"; then
7782 if test x"$enablestring" = xdisable; then
7783 defaultval=yes
7784 else
7785 defaultval=no
7786 fi
7787 fi
7788
7789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7791 # Check whether --enable-snglinst was given.
7792 if test "${enable_snglinst+set}" = set; then
7793 enableval=$enable_snglinst;
7794 if test "$enableval" = yes; then
7795 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7796 else
7797 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7798 fi
7799
7800 else
7801
7802 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7803
7804 fi
7805
7806
7807 eval "$wx_cv_use_snglinst"
7808
7809 if test x"$enablestring" = xdisable; then
7810 if test $wxUSE_SNGLINST_CHECKER = no; then
7811 result=yes
7812 else
7813 result=no
7814 fi
7815 else
7816 result=$wxUSE_SNGLINST_CHECKER
7817 fi
7818
7819 { echo "$as_me:$LINENO: result: $result" >&5
7820 echo "${ECHO_T}$result" >&6; }
7821
7822
7823 enablestring=
7824 defaultval=$wxUSE_ALL_FEATURES
7825 if test -z "$defaultval"; then
7826 if test x"$enablestring" = xdisable; then
7827 defaultval=yes
7828 else
7829 defaultval=no
7830 fi
7831 fi
7832
7833 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7835 # Check whether --enable-sound was given.
7836 if test "${enable_sound+set}" = set; then
7837 enableval=$enable_sound;
7838 if test "$enableval" = yes; then
7839 wx_cv_use_sound='wxUSE_SOUND=yes'
7840 else
7841 wx_cv_use_sound='wxUSE_SOUND=no'
7842 fi
7843
7844 else
7845
7846 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7847
7848 fi
7849
7850
7851 eval "$wx_cv_use_sound"
7852
7853 if test x"$enablestring" = xdisable; then
7854 if test $wxUSE_SOUND = no; then
7855 result=yes
7856 else
7857 result=no
7858 fi
7859 else
7860 result=$wxUSE_SOUND
7861 fi
7862
7863 { echo "$as_me:$LINENO: result: $result" >&5
7864 echo "${ECHO_T}$result" >&6; }
7865
7866
7867 enablestring=
7868 defaultval=$wxUSE_ALL_FEATURES
7869 if test -z "$defaultval"; then
7870 if test x"$enablestring" = xdisable; then
7871 defaultval=yes
7872 else
7873 defaultval=no
7874 fi
7875 fi
7876
7877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7878 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7879 # Check whether --enable-stdpaths was given.
7880 if test "${enable_stdpaths+set}" = set; then
7881 enableval=$enable_stdpaths;
7882 if test "$enableval" = yes; then
7883 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7884 else
7885 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7886 fi
7887
7888 else
7889
7890 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7891
7892 fi
7893
7894
7895 eval "$wx_cv_use_stdpaths"
7896
7897 if test x"$enablestring" = xdisable; then
7898 if test $wxUSE_STDPATHS = no; then
7899 result=yes
7900 else
7901 result=no
7902 fi
7903 else
7904 result=$wxUSE_STDPATHS
7905 fi
7906
7907 { echo "$as_me:$LINENO: result: $result" >&5
7908 echo "${ECHO_T}$result" >&6; }
7909
7910
7911 enablestring=
7912 defaultval=$wxUSE_ALL_FEATURES
7913 if test -z "$defaultval"; then
7914 if test x"$enablestring" = xdisable; then
7915 defaultval=yes
7916 else
7917 defaultval=no
7918 fi
7919 fi
7920
7921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7922 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7923 # Check whether --enable-stopwatch was given.
7924 if test "${enable_stopwatch+set}" = set; then
7925 enableval=$enable_stopwatch;
7926 if test "$enableval" = yes; then
7927 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7928 else
7929 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7930 fi
7931
7932 else
7933
7934 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7935
7936 fi
7937
7938
7939 eval "$wx_cv_use_stopwatch"
7940
7941 if test x"$enablestring" = xdisable; then
7942 if test $wxUSE_STOPWATCH = no; then
7943 result=yes
7944 else
7945 result=no
7946 fi
7947 else
7948 result=$wxUSE_STOPWATCH
7949 fi
7950
7951 { echo "$as_me:$LINENO: result: $result" >&5
7952 echo "${ECHO_T}$result" >&6; }
7953
7954
7955 enablestring=
7956 defaultval=$wxUSE_ALL_FEATURES
7957 if test -z "$defaultval"; then
7958 if test x"$enablestring" = xdisable; then
7959 defaultval=yes
7960 else
7961 defaultval=no
7962 fi
7963 fi
7964
7965 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7966 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7967 # Check whether --enable-streams was given.
7968 if test "${enable_streams+set}" = set; then
7969 enableval=$enable_streams;
7970 if test "$enableval" = yes; then
7971 wx_cv_use_streams='wxUSE_STREAMS=yes'
7972 else
7973 wx_cv_use_streams='wxUSE_STREAMS=no'
7974 fi
7975
7976 else
7977
7978 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7979
7980 fi
7981
7982
7983 eval "$wx_cv_use_streams"
7984
7985 if test x"$enablestring" = xdisable; then
7986 if test $wxUSE_STREAMS = no; then
7987 result=yes
7988 else
7989 result=no
7990 fi
7991 else
7992 result=$wxUSE_STREAMS
7993 fi
7994
7995 { echo "$as_me:$LINENO: result: $result" >&5
7996 echo "${ECHO_T}$result" >&6; }
7997
7998
7999 enablestring=
8000 defaultval=$wxUSE_ALL_FEATURES
8001 if test -z "$defaultval"; then
8002 if test x"$enablestring" = xdisable; then
8003 defaultval=yes
8004 else
8005 defaultval=no
8006 fi
8007 fi
8008
8009 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8010 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8011 # Check whether --enable-sysoptions was given.
8012 if test "${enable_sysoptions+set}" = set; then
8013 enableval=$enable_sysoptions;
8014 if test "$enableval" = yes; then
8015 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
8016 else
8017 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
8018 fi
8019
8020 else
8021
8022 wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8023
8024 fi
8025
8026
8027 eval "$wx_cv_use_sysoptions"
8028
8029 if test x"$enablestring" = xdisable; then
8030 if test $wxUSE_SYSTEM_OPTIONS = no; then
8031 result=yes
8032 else
8033 result=no
8034 fi
8035 else
8036 result=$wxUSE_SYSTEM_OPTIONS
8037 fi
8038
8039 { echo "$as_me:$LINENO: result: $result" >&5
8040 echo "${ECHO_T}$result" >&6; }
8041
8042
8043 enablestring=
8044 defaultval=$wxUSE_ALL_FEATURES
8045 if test -z "$defaultval"; then
8046 if test x"$enablestring" = xdisable; then
8047 defaultval=yes
8048 else
8049 defaultval=no
8050 fi
8051 fi
8052
8053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8054 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8055 # Check whether --enable-tarstream was given.
8056 if test "${enable_tarstream+set}" = set; then
8057 enableval=$enable_tarstream;
8058 if test "$enableval" = yes; then
8059 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
8060 else
8061 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
8062 fi
8063
8064 else
8065
8066 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8067
8068 fi
8069
8070
8071 eval "$wx_cv_use_tarstream"
8072
8073 if test x"$enablestring" = xdisable; then
8074 if test $wxUSE_TARSTREAM = no; then
8075 result=yes
8076 else
8077 result=no
8078 fi
8079 else
8080 result=$wxUSE_TARSTREAM
8081 fi
8082
8083 { echo "$as_me:$LINENO: result: $result" >&5
8084 echo "${ECHO_T}$result" >&6; }
8085
8086
8087 enablestring=
8088 defaultval=$wxUSE_ALL_FEATURES
8089 if test -z "$defaultval"; then
8090 if test x"$enablestring" = xdisable; then
8091 defaultval=yes
8092 else
8093 defaultval=no
8094 fi
8095 fi
8096
8097 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
8098 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
8099 # Check whether --enable-textbuf was given.
8100 if test "${enable_textbuf+set}" = set; then
8101 enableval=$enable_textbuf;
8102 if test "$enableval" = yes; then
8103 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8104 else
8105 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8106 fi
8107
8108 else
8109
8110 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8111
8112 fi
8113
8114
8115 eval "$wx_cv_use_textbuf"
8116
8117 if test x"$enablestring" = xdisable; then
8118 if test $wxUSE_TEXTBUFFER = no; then
8119 result=yes
8120 else
8121 result=no
8122 fi
8123 else
8124 result=$wxUSE_TEXTBUFFER
8125 fi
8126
8127 { echo "$as_me:$LINENO: result: $result" >&5
8128 echo "${ECHO_T}$result" >&6; }
8129
8130
8131 enablestring=
8132 defaultval=$wxUSE_ALL_FEATURES
8133 if test -z "$defaultval"; then
8134 if test x"$enablestring" = xdisable; then
8135 defaultval=yes
8136 else
8137 defaultval=no
8138 fi
8139 fi
8140
8141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8142 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8143 # Check whether --enable-textfile was given.
8144 if test "${enable_textfile+set}" = set; then
8145 enableval=$enable_textfile;
8146 if test "$enableval" = yes; then
8147 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
8148 else
8149 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
8150 fi
8151
8152 else
8153
8154 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8155
8156 fi
8157
8158
8159 eval "$wx_cv_use_textfile"
8160
8161 if test x"$enablestring" = xdisable; then
8162 if test $wxUSE_TEXTFILE = no; then
8163 result=yes
8164 else
8165 result=no
8166 fi
8167 else
8168 result=$wxUSE_TEXTFILE
8169 fi
8170
8171 { echo "$as_me:$LINENO: result: $result" >&5
8172 echo "${ECHO_T}$result" >&6; }
8173
8174
8175 enablestring=
8176 defaultval=$wxUSE_ALL_FEATURES
8177 if test -z "$defaultval"; then
8178 if test x"$enablestring" = xdisable; then
8179 defaultval=yes
8180 else
8181 defaultval=no
8182 fi
8183 fi
8184
8185 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8186 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8187 # Check whether --enable-timer was given.
8188 if test "${enable_timer+set}" = set; then
8189 enableval=$enable_timer;
8190 if test "$enableval" = yes; then
8191 wx_cv_use_timer='wxUSE_TIMER=yes'
8192 else
8193 wx_cv_use_timer='wxUSE_TIMER=no'
8194 fi
8195
8196 else
8197
8198 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8199
8200 fi
8201
8202
8203 eval "$wx_cv_use_timer"
8204
8205 if test x"$enablestring" = xdisable; then
8206 if test $wxUSE_TIMER = no; then
8207 result=yes
8208 else
8209 result=no
8210 fi
8211 else
8212 result=$wxUSE_TIMER
8213 fi
8214
8215 { echo "$as_me:$LINENO: result: $result" >&5
8216 echo "${ECHO_T}$result" >&6; }
8217
8218
8219 enablestring=
8220 defaultval=$wxUSE_ALL_FEATURES
8221 if test -z "$defaultval"; then
8222 if test x"$enablestring" = xdisable; then
8223 defaultval=yes
8224 else
8225 defaultval=no
8226 fi
8227 fi
8228
8229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
8230 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
8231 # Check whether --enable-variant was given.
8232 if test "${enable_variant+set}" = set; then
8233 enableval=$enable_variant;
8234 if test "$enableval" = yes; then
8235 wx_cv_use_variant='wxUSE_VARIANT=yes'
8236 else
8237 wx_cv_use_variant='wxUSE_VARIANT=no'
8238 fi
8239
8240 else
8241
8242 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8243
8244 fi
8245
8246
8247 eval "$wx_cv_use_variant"
8248
8249 if test x"$enablestring" = xdisable; then
8250 if test $wxUSE_VARIANT = no; then
8251 result=yes
8252 else
8253 result=no
8254 fi
8255 else
8256 result=$wxUSE_VARIANT
8257 fi
8258
8259 { echo "$as_me:$LINENO: result: $result" >&5
8260 echo "${ECHO_T}$result" >&6; }
8261
8262
8263 enablestring=
8264 defaultval=$wxUSE_ALL_FEATURES
8265 if test -z "$defaultval"; then
8266 if test x"$enablestring" = xdisable; then
8267 defaultval=yes
8268 else
8269 defaultval=no
8270 fi
8271 fi
8272
8273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8275 # Check whether --enable-zipstream was given.
8276 if test "${enable_zipstream+set}" = set; then
8277 enableval=$enable_zipstream;
8278 if test "$enableval" = yes; then
8279 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
8280 else
8281 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
8282 fi
8283
8284 else
8285
8286 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8287
8288 fi
8289
8290
8291 eval "$wx_cv_use_zipstream"
8292
8293 if test x"$enablestring" = xdisable; then
8294 if test $wxUSE_ZIPSTREAM = no; then
8295 result=yes
8296 else
8297 result=no
8298 fi
8299 else
8300 result=$wxUSE_ZIPSTREAM
8301 fi
8302
8303 { echo "$as_me:$LINENO: result: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8305
8306
8307
8308 enablestring=
8309 defaultval=$wxUSE_ALL_FEATURES
8310 if test -z "$defaultval"; then
8311 if test x"$enablestring" = xdisable; then
8312 defaultval=yes
8313 else
8314 defaultval=no
8315 fi
8316 fi
8317
8318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8319 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8320 # Check whether --enable-url was given.
8321 if test "${enable_url+set}" = set; then
8322 enableval=$enable_url;
8323 if test "$enableval" = yes; then
8324 wx_cv_use_url='wxUSE_URL=yes'
8325 else
8326 wx_cv_use_url='wxUSE_URL=no'
8327 fi
8328
8329 else
8330
8331 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
8332
8333 fi
8334
8335
8336 eval "$wx_cv_use_url"
8337
8338 if test x"$enablestring" = xdisable; then
8339 if test $wxUSE_URL = no; then
8340 result=yes
8341 else
8342 result=no
8343 fi
8344 else
8345 result=$wxUSE_URL
8346 fi
8347
8348 { echo "$as_me:$LINENO: result: $result" >&5
8349 echo "${ECHO_T}$result" >&6; }
8350
8351
8352 enablestring=
8353 defaultval=$wxUSE_ALL_FEATURES
8354 if test -z "$defaultval"; then
8355 if test x"$enablestring" = xdisable; then
8356 defaultval=yes
8357 else
8358 defaultval=no
8359 fi
8360 fi
8361
8362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
8363 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
8364 # Check whether --enable-protocol was given.
8365 if test "${enable_protocol+set}" = set; then
8366 enableval=$enable_protocol;
8367 if test "$enableval" = yes; then
8368 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8369 else
8370 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8371 fi
8372
8373 else
8374
8375 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8376
8377 fi
8378
8379
8380 eval "$wx_cv_use_protocol"
8381
8382 if test x"$enablestring" = xdisable; then
8383 if test $wxUSE_PROTOCOL = no; then
8384 result=yes
8385 else
8386 result=no
8387 fi
8388 else
8389 result=$wxUSE_PROTOCOL
8390 fi
8391
8392 { echo "$as_me:$LINENO: result: $result" >&5
8393 echo "${ECHO_T}$result" >&6; }
8394
8395
8396 enablestring=
8397 defaultval=$wxUSE_ALL_FEATURES
8398 if test -z "$defaultval"; then
8399 if test x"$enablestring" = xdisable; then
8400 defaultval=yes
8401 else
8402 defaultval=no
8403 fi
8404 fi
8405
8406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8407 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8408 # Check whether --enable-protocol_http was given.
8409 if test "${enable_protocol_http+set}" = set; then
8410 enableval=$enable_protocol_http;
8411 if test "$enableval" = yes; then
8412 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8413 else
8414 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8415 fi
8416
8417 else
8418
8419 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8420
8421 fi
8422
8423
8424 eval "$wx_cv_use_protocol_http"
8425
8426 if test x"$enablestring" = xdisable; then
8427 if test $wxUSE_PROTOCOL_HTTP = no; then
8428 result=yes
8429 else
8430 result=no
8431 fi
8432 else
8433 result=$wxUSE_PROTOCOL_HTTP
8434 fi
8435
8436 { echo "$as_me:$LINENO: result: $result" >&5
8437 echo "${ECHO_T}$result" >&6; }
8438
8439
8440 enablestring=
8441 defaultval=$wxUSE_ALL_FEATURES
8442 if test -z "$defaultval"; then
8443 if test x"$enablestring" = xdisable; then
8444 defaultval=yes
8445 else
8446 defaultval=no
8447 fi
8448 fi
8449
8450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8451 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8452 # Check whether --enable-protocol_ftp was given.
8453 if test "${enable_protocol_ftp+set}" = set; then
8454 enableval=$enable_protocol_ftp;
8455 if test "$enableval" = yes; then
8456 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8457 else
8458 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8459 fi
8460
8461 else
8462
8463 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8464
8465 fi
8466
8467
8468 eval "$wx_cv_use_protocol_ftp"
8469
8470 if test x"$enablestring" = xdisable; then
8471 if test $wxUSE_PROTOCOL_FTP = no; then
8472 result=yes
8473 else
8474 result=no
8475 fi
8476 else
8477 result=$wxUSE_PROTOCOL_FTP
8478 fi
8479
8480 { echo "$as_me:$LINENO: result: $result" >&5
8481 echo "${ECHO_T}$result" >&6; }
8482
8483
8484 enablestring=
8485 defaultval=$wxUSE_ALL_FEATURES
8486 if test -z "$defaultval"; then
8487 if test x"$enablestring" = xdisable; then
8488 defaultval=yes
8489 else
8490 defaultval=no
8491 fi
8492 fi
8493
8494 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8495 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8496 # Check whether --enable-protocol_file was given.
8497 if test "${enable_protocol_file+set}" = set; then
8498 enableval=$enable_protocol_file;
8499 if test "$enableval" = yes; then
8500 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8501 else
8502 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8503 fi
8504
8505 else
8506
8507 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8508
8509 fi
8510
8511
8512 eval "$wx_cv_use_protocol_file"
8513
8514 if test x"$enablestring" = xdisable; then
8515 if test $wxUSE_PROTOCOL_FILE = no; then
8516 result=yes
8517 else
8518 result=no
8519 fi
8520 else
8521 result=$wxUSE_PROTOCOL_FILE
8522 fi
8523
8524 { echo "$as_me:$LINENO: result: $result" >&5
8525 echo "${ECHO_T}$result" >&6; }
8526
8527
8528
8529 enablestring=
8530 defaultval=$wxUSE_ALL_FEATURES
8531 if test -z "$defaultval"; then
8532 if test x"$enablestring" = xdisable; then
8533 defaultval=yes
8534 else
8535 defaultval=no
8536 fi
8537 fi
8538
8539 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8540 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8541 # Check whether --enable-threads was given.
8542 if test "${enable_threads+set}" = set; then
8543 enableval=$enable_threads;
8544 if test "$enableval" = yes; then
8545 wx_cv_use_threads='wxUSE_THREADS=yes'
8546 else
8547 wx_cv_use_threads='wxUSE_THREADS=no'
8548 fi
8549
8550 else
8551
8552 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8553
8554 fi
8555
8556
8557 eval "$wx_cv_use_threads"
8558
8559 if test x"$enablestring" = xdisable; then
8560 if test $wxUSE_THREADS = no; then
8561 result=yes
8562 else
8563 result=no
8564 fi
8565 else
8566 result=$wxUSE_THREADS
8567 fi
8568
8569 { echo "$as_me:$LINENO: result: $result" >&5
8570 echo "${ECHO_T}$result" >&6; }
8571
8572
8573
8574 enablestring=
8575 defaultval=
8576 if test -z "$defaultval"; then
8577 if test x"$enablestring" = xdisable; then
8578 defaultval=yes
8579 else
8580 defaultval=no
8581 fi
8582 fi
8583
8584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8585 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8586 # Check whether --enable-iniconf was given.
8587 if test "${enable_iniconf+set}" = set; then
8588 enableval=$enable_iniconf;
8589 if test "$enableval" = yes; then
8590 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8591 else
8592 wx_cv_use_iniconf='wxUSE_INICONF=no'
8593 fi
8594
8595 else
8596
8597 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8598
8599 fi
8600
8601
8602 eval "$wx_cv_use_iniconf"
8603
8604 if test x"$enablestring" = xdisable; then
8605 if test $wxUSE_INICONF = no; then
8606 result=yes
8607 else
8608 result=no
8609 fi
8610 else
8611 result=$wxUSE_INICONF
8612 fi
8613
8614 { echo "$as_me:$LINENO: result: $result" >&5
8615 echo "${ECHO_T}$result" >&6; }
8616
8617
8618 enablestring=
8619 defaultval=$wxUSE_ALL_FEATURES
8620 if test -z "$defaultval"; then
8621 if test x"$enablestring" = xdisable; then
8622 defaultval=yes
8623 else
8624 defaultval=no
8625 fi
8626 fi
8627
8628 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8629 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8630 # Check whether --enable-regkey was given.
8631 if test "${enable_regkey+set}" = set; then
8632 enableval=$enable_regkey;
8633 if test "$enableval" = yes; then
8634 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8635 else
8636 wx_cv_use_regkey='wxUSE_REGKEY=no'
8637 fi
8638
8639 else
8640
8641 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8642
8643 fi
8644
8645
8646 eval "$wx_cv_use_regkey"
8647
8648 if test x"$enablestring" = xdisable; then
8649 if test $wxUSE_REGKEY = no; then
8650 result=yes
8651 else
8652 result=no
8653 fi
8654 else
8655 result=$wxUSE_REGKEY
8656 fi
8657
8658 { echo "$as_me:$LINENO: result: $result" >&5
8659 echo "${ECHO_T}$result" >&6; }
8660
8661
8662 if test "$wxUSE_GUI" = "yes"; then
8663
8664
8665
8666 enablestring=
8667 defaultval=$wxUSE_ALL_FEATURES
8668 if test -z "$defaultval"; then
8669 if test x"$enablestring" = xdisable; then
8670 defaultval=yes
8671 else
8672 defaultval=no
8673 fi
8674 fi
8675
8676 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8678 # Check whether --enable-docview was given.
8679 if test "${enable_docview+set}" = set; then
8680 enableval=$enable_docview;
8681 if test "$enableval" = yes; then
8682 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8683 else
8684 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8685 fi
8686
8687 else
8688
8689 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8690
8691 fi
8692
8693
8694 eval "$wx_cv_use_docview"
8695
8696 if test x"$enablestring" = xdisable; then
8697 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8698 result=yes
8699 else
8700 result=no
8701 fi
8702 else
8703 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8704 fi
8705
8706 { echo "$as_me:$LINENO: result: $result" >&5
8707 echo "${ECHO_T}$result" >&6; }
8708
8709
8710 enablestring=
8711 defaultval=$wxUSE_ALL_FEATURES
8712 if test -z "$defaultval"; then
8713 if test x"$enablestring" = xdisable; then
8714 defaultval=yes
8715 else
8716 defaultval=no
8717 fi
8718 fi
8719
8720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8722 # Check whether --enable-help was given.
8723 if test "${enable_help+set}" = set; then
8724 enableval=$enable_help;
8725 if test "$enableval" = yes; then
8726 wx_cv_use_help='wxUSE_HELP=yes'
8727 else
8728 wx_cv_use_help='wxUSE_HELP=no'
8729 fi
8730
8731 else
8732
8733 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8734
8735 fi
8736
8737
8738 eval "$wx_cv_use_help"
8739
8740 if test x"$enablestring" = xdisable; then
8741 if test $wxUSE_HELP = no; then
8742 result=yes
8743 else
8744 result=no
8745 fi
8746 else
8747 result=$wxUSE_HELP
8748 fi
8749
8750 { echo "$as_me:$LINENO: result: $result" >&5
8751 echo "${ECHO_T}$result" >&6; }
8752
8753
8754 enablestring=
8755 defaultval=$wxUSE_ALL_FEATURES
8756 if test -z "$defaultval"; then
8757 if test x"$enablestring" = xdisable; then
8758 defaultval=yes
8759 else
8760 defaultval=no
8761 fi
8762 fi
8763
8764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8765 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8766 # Check whether --enable-mshtmlhelp was given.
8767 if test "${enable_mshtmlhelp+set}" = set; then
8768 enableval=$enable_mshtmlhelp;
8769 if test "$enableval" = yes; then
8770 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8771 else
8772 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8773 fi
8774
8775 else
8776
8777 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8778
8779 fi
8780
8781
8782 eval "$wx_cv_use_mshtmlhelp"
8783
8784 if test x"$enablestring" = xdisable; then
8785 if test $wxUSE_MS_HTML_HELP = no; then
8786 result=yes
8787 else
8788 result=no
8789 fi
8790 else
8791 result=$wxUSE_MS_HTML_HELP
8792 fi
8793
8794 { echo "$as_me:$LINENO: result: $result" >&5
8795 echo "${ECHO_T}$result" >&6; }
8796
8797
8798 enablestring=
8799 defaultval=$wxUSE_ALL_FEATURES
8800 if test -z "$defaultval"; then
8801 if test x"$enablestring" = xdisable; then
8802 defaultval=yes
8803 else
8804 defaultval=no
8805 fi
8806 fi
8807
8808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8809 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8810 # Check whether --enable-html was given.
8811 if test "${enable_html+set}" = set; then
8812 enableval=$enable_html;
8813 if test "$enableval" = yes; then
8814 wx_cv_use_html='wxUSE_HTML=yes'
8815 else
8816 wx_cv_use_html='wxUSE_HTML=no'
8817 fi
8818
8819 else
8820
8821 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8822
8823 fi
8824
8825
8826 eval "$wx_cv_use_html"
8827
8828 if test x"$enablestring" = xdisable; then
8829 if test $wxUSE_HTML = no; then
8830 result=yes
8831 else
8832 result=no
8833 fi
8834 else
8835 result=$wxUSE_HTML
8836 fi
8837
8838 { echo "$as_me:$LINENO: result: $result" >&5
8839 echo "${ECHO_T}$result" >&6; }
8840
8841
8842 enablestring=
8843 defaultval=$wxUSE_ALL_FEATURES
8844 if test -z "$defaultval"; then
8845 if test x"$enablestring" = xdisable; then
8846 defaultval=yes
8847 else
8848 defaultval=no
8849 fi
8850 fi
8851
8852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8853 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8854 # Check whether --enable-htmlhelp was given.
8855 if test "${enable_htmlhelp+set}" = set; then
8856 enableval=$enable_htmlhelp;
8857 if test "$enableval" = yes; then
8858 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8859 else
8860 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8861 fi
8862
8863 else
8864
8865 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8866
8867 fi
8868
8869
8870 eval "$wx_cv_use_htmlhelp"
8871
8872 if test x"$enablestring" = xdisable; then
8873 if test $wxUSE_WXHTML_HELP = no; then
8874 result=yes
8875 else
8876 result=no
8877 fi
8878 else
8879 result=$wxUSE_WXHTML_HELP
8880 fi
8881
8882 { echo "$as_me:$LINENO: result: $result" >&5
8883 echo "${ECHO_T}$result" >&6; }
8884
8885
8886 enablestring=
8887 defaultval=$wxUSE_ALL_FEATURES
8888 if test -z "$defaultval"; then
8889 if test x"$enablestring" = xdisable; then
8890 defaultval=yes
8891 else
8892 defaultval=no
8893 fi
8894 fi
8895
8896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8898 # Check whether --enable-xrc was given.
8899 if test "${enable_xrc+set}" = set; then
8900 enableval=$enable_xrc;
8901 if test "$enableval" = yes; then
8902 wx_cv_use_xrc='wxUSE_XRC=yes'
8903 else
8904 wx_cv_use_xrc='wxUSE_XRC=no'
8905 fi
8906
8907 else
8908
8909 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8910
8911 fi
8912
8913
8914 eval "$wx_cv_use_xrc"
8915
8916 if test x"$enablestring" = xdisable; then
8917 if test $wxUSE_XRC = no; then
8918 result=yes
8919 else
8920 result=no
8921 fi
8922 else
8923 result=$wxUSE_XRC
8924 fi
8925
8926 { echo "$as_me:$LINENO: result: $result" >&5
8927 echo "${ECHO_T}$result" >&6; }
8928
8929
8930 enablestring=
8931 defaultval=$wxUSE_ALL_FEATURES
8932 if test -z "$defaultval"; then
8933 if test x"$enablestring" = xdisable; then
8934 defaultval=yes
8935 else
8936 defaultval=no
8937 fi
8938 fi
8939
8940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8941 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8942 # Check whether --enable-aui was given.
8943 if test "${enable_aui+set}" = set; then
8944 enableval=$enable_aui;
8945 if test "$enableval" = yes; then
8946 wx_cv_use_aui='wxUSE_AUI=yes'
8947 else
8948 wx_cv_use_aui='wxUSE_AUI=no'
8949 fi
8950
8951 else
8952
8953 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8954
8955 fi
8956
8957
8958 eval "$wx_cv_use_aui"
8959
8960 if test x"$enablestring" = xdisable; then
8961 if test $wxUSE_AUI = no; then
8962 result=yes
8963 else
8964 result=no
8965 fi
8966 else
8967 result=$wxUSE_AUI
8968 fi
8969
8970 { echo "$as_me:$LINENO: result: $result" >&5
8971 echo "${ECHO_T}$result" >&6; }
8972
8973
8974 enablestring=
8975 defaultval=$wxUSE_ALL_FEATURES
8976 if test -z "$defaultval"; then
8977 if test x"$enablestring" = xdisable; then
8978 defaultval=yes
8979 else
8980 defaultval=no
8981 fi
8982 fi
8983
8984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8985 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8986 # Check whether --enable-propgrid was given.
8987 if test "${enable_propgrid+set}" = set; then
8988 enableval=$enable_propgrid;
8989 if test "$enableval" = yes; then
8990 wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
8991 else
8992 wx_cv_use_propgrid='wxUSE_PROPGRID=no'
8993 fi
8994
8995 else
8996
8997 wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8998
8999 fi
9000
9001
9002 eval "$wx_cv_use_propgrid"
9003
9004 if test x"$enablestring" = xdisable; then
9005 if test $wxUSE_PROPGRID = no; then
9006 result=yes
9007 else
9008 result=no
9009 fi
9010 else
9011 result=$wxUSE_PROPGRID
9012 fi
9013
9014 { echo "$as_me:$LINENO: result: $result" >&5
9015 echo "${ECHO_T}$result" >&6; }
9016
9017
9018 enablestring=
9019 defaultval=$wxUSE_ALL_FEATURES
9020 if test -z "$defaultval"; then
9021 if test x"$enablestring" = xdisable; then
9022 defaultval=yes
9023 else
9024 defaultval=no
9025 fi
9026 fi
9027
9028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ribbon" >&5
9029 echo $ECHO_N "checking for --${enablestring:-enable}-ribbon... $ECHO_C" >&6; }
9030 # Check whether --enable-ribbon was given.
9031 if test "${enable_ribbon+set}" = set; then
9032 enableval=$enable_ribbon;
9033 if test "$enableval" = yes; then
9034 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9035 else
9036 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9037 fi
9038
9039 else
9040
9041 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9042
9043 fi
9044
9045
9046 eval "$wx_cv_use_ribbon"
9047
9048 if test x"$enablestring" = xdisable; then
9049 if test $wxUSE_RIBBON = no; then
9050 result=yes
9051 else
9052 result=no
9053 fi
9054 else
9055 result=$wxUSE_RIBBON
9056 fi
9057
9058 { echo "$as_me:$LINENO: result: $result" >&5
9059 echo "${ECHO_T}$result" >&6; }
9060
9061
9062 enablestring=
9063 defaultval=$wxUSE_ALL_FEATURES
9064 if test -z "$defaultval"; then
9065 if test x"$enablestring" = xdisable; then
9066 defaultval=yes
9067 else
9068 defaultval=no
9069 fi
9070 fi
9071
9072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9073 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9074 # Check whether --enable-stc was given.
9075 if test "${enable_stc+set}" = set; then
9076 enableval=$enable_stc;
9077 if test "$enableval" = yes; then
9078 wx_cv_use_stc='wxUSE_STC=yes'
9079 else
9080 wx_cv_use_stc='wxUSE_STC=no'
9081 fi
9082
9083 else
9084
9085 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9086
9087 fi
9088
9089
9090 eval "$wx_cv_use_stc"
9091
9092 if test x"$enablestring" = xdisable; then
9093 if test $wxUSE_STC = no; then
9094 result=yes
9095 else
9096 result=no
9097 fi
9098 else
9099 result=$wxUSE_STC
9100 fi
9101
9102 { echo "$as_me:$LINENO: result: $result" >&5
9103 echo "${ECHO_T}$result" >&6; }
9104
9105
9106 enablestring=
9107 defaultval=$wxUSE_ALL_FEATURES
9108 if test -z "$defaultval"; then
9109 if test x"$enablestring" = xdisable; then
9110 defaultval=yes
9111 else
9112 defaultval=no
9113 fi
9114 fi
9115
9116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9117 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9118 # Check whether --enable-constraints was given.
9119 if test "${enable_constraints+set}" = set; then
9120 enableval=$enable_constraints;
9121 if test "$enableval" = yes; then
9122 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
9123 else
9124 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
9125 fi
9126
9127 else
9128
9129 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9130
9131 fi
9132
9133
9134 eval "$wx_cv_use_constraints"
9135
9136 if test x"$enablestring" = xdisable; then
9137 if test $wxUSE_CONSTRAINTS = no; then
9138 result=yes
9139 else
9140 result=no
9141 fi
9142 else
9143 result=$wxUSE_CONSTRAINTS
9144 fi
9145
9146 { echo "$as_me:$LINENO: result: $result" >&5
9147 echo "${ECHO_T}$result" >&6; }
9148
9149
9150 enablestring=
9151 defaultval=$wxUSE_ALL_FEATURES
9152 if test -z "$defaultval"; then
9153 if test x"$enablestring" = xdisable; then
9154 defaultval=yes
9155 else
9156 defaultval=no
9157 fi
9158 fi
9159
9160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
9161 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
9162 # Check whether --enable-loggui was given.
9163 if test "${enable_loggui+set}" = set; then
9164 enableval=$enable_loggui;
9165 if test "$enableval" = yes; then
9166 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9167 else
9168 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9169 fi
9170
9171 else
9172
9173 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9174
9175 fi
9176
9177
9178 eval "$wx_cv_use_loggui"
9179
9180 if test x"$enablestring" = xdisable; then
9181 if test $wxUSE_LOGGUI = no; then
9182 result=yes
9183 else
9184 result=no
9185 fi
9186 else
9187 result=$wxUSE_LOGGUI
9188 fi
9189
9190 { echo "$as_me:$LINENO: result: $result" >&5
9191 echo "${ECHO_T}$result" >&6; }
9192
9193
9194 enablestring=
9195 defaultval=$wxUSE_ALL_FEATURES
9196 if test -z "$defaultval"; then
9197 if test x"$enablestring" = xdisable; then
9198 defaultval=yes
9199 else
9200 defaultval=no
9201 fi
9202 fi
9203
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9206 # Check whether --enable-logwin was given.
9207 if test "${enable_logwin+set}" = set; then
9208 enableval=$enable_logwin;
9209 if test "$enableval" = yes; then
9210 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
9211 else
9212 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
9213 fi
9214
9215 else
9216
9217 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9218
9219 fi
9220
9221
9222 eval "$wx_cv_use_logwin"
9223
9224 if test x"$enablestring" = xdisable; then
9225 if test $wxUSE_LOGWINDOW = no; then
9226 result=yes
9227 else
9228 result=no
9229 fi
9230 else
9231 result=$wxUSE_LOGWINDOW
9232 fi
9233
9234 { echo "$as_me:$LINENO: result: $result" >&5
9235 echo "${ECHO_T}$result" >&6; }
9236
9237
9238 enablestring=
9239 defaultval=$wxUSE_ALL_FEATURES
9240 if test -z "$defaultval"; then
9241 if test x"$enablestring" = xdisable; then
9242 defaultval=yes
9243 else
9244 defaultval=no
9245 fi
9246 fi
9247
9248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9249 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9250 # Check whether --enable-logdialog was given.
9251 if test "${enable_logdialog+set}" = set; then
9252 enableval=$enable_logdialog;
9253 if test "$enableval" = yes; then
9254 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
9255 else
9256 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
9257 fi
9258
9259 else
9260
9261 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9262
9263 fi
9264
9265
9266 eval "$wx_cv_use_logdialog"
9267
9268 if test x"$enablestring" = xdisable; then
9269 if test $wxUSE_LOGDIALOG = no; then
9270 result=yes
9271 else
9272 result=no
9273 fi
9274 else
9275 result=$wxUSE_LOGDIALOG
9276 fi
9277
9278 { echo "$as_me:$LINENO: result: $result" >&5
9279 echo "${ECHO_T}$result" >&6; }
9280
9281
9282 enablestring=
9283 defaultval=$wxUSE_ALL_FEATURES
9284 if test -z "$defaultval"; then
9285 if test x"$enablestring" = xdisable; then
9286 defaultval=yes
9287 else
9288 defaultval=no
9289 fi
9290 fi
9291
9292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
9293 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
9294 # Check whether --enable-mdi was given.
9295 if test "${enable_mdi+set}" = set; then
9296 enableval=$enable_mdi;
9297 if test "$enableval" = yes; then
9298 wx_cv_use_mdi='wxUSE_MDI=yes'
9299 else
9300 wx_cv_use_mdi='wxUSE_MDI=no'
9301 fi
9302
9303 else
9304
9305 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9306
9307 fi
9308
9309
9310 eval "$wx_cv_use_mdi"
9311
9312 if test x"$enablestring" = xdisable; then
9313 if test $wxUSE_MDI = no; then
9314 result=yes
9315 else
9316 result=no
9317 fi
9318 else
9319 result=$wxUSE_MDI
9320 fi
9321
9322 { echo "$as_me:$LINENO: result: $result" >&5
9323 echo "${ECHO_T}$result" >&6; }
9324
9325
9326 enablestring=
9327 defaultval=$wxUSE_ALL_FEATURES
9328 if test -z "$defaultval"; then
9329 if test x"$enablestring" = xdisable; then
9330 defaultval=yes
9331 else
9332 defaultval=no
9333 fi
9334 fi
9335
9336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9337 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9338 # Check whether --enable-mdidoc was given.
9339 if test "${enable_mdidoc+set}" = set; then
9340 enableval=$enable_mdidoc;
9341 if test "$enableval" = yes; then
9342 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
9343 else
9344 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
9345 fi
9346
9347 else
9348
9349 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9350
9351 fi
9352
9353
9354 eval "$wx_cv_use_mdidoc"
9355
9356 if test x"$enablestring" = xdisable; then
9357 if test $wxUSE_MDI_ARCHITECTURE = no; then
9358 result=yes
9359 else
9360 result=no
9361 fi
9362 else
9363 result=$wxUSE_MDI_ARCHITECTURE
9364 fi
9365
9366 { echo "$as_me:$LINENO: result: $result" >&5
9367 echo "${ECHO_T}$result" >&6; }
9368
9369
9370 enablestring=
9371 defaultval=$wxUSE_ALL_FEATURES
9372 if test -z "$defaultval"; then
9373 if test x"$enablestring" = xdisable; then
9374 defaultval=yes
9375 else
9376 defaultval=no
9377 fi
9378 fi
9379
9380 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9381 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9382 # Check whether --enable-mediactrl was given.
9383 if test "${enable_mediactrl+set}" = set; then
9384 enableval=$enable_mediactrl;
9385 if test "$enableval" = yes; then
9386 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
9387 else
9388 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
9389 fi
9390
9391 else
9392
9393 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9394
9395 fi
9396
9397
9398 eval "$wx_cv_use_mediactrl"
9399
9400 if test x"$enablestring" = xdisable; then
9401 if test $wxUSE_MEDIACTRL = no; then
9402 result=yes
9403 else
9404 result=no
9405 fi
9406 else
9407 result=$wxUSE_MEDIACTRL
9408 fi
9409
9410 { echo "$as_me:$LINENO: result: $result" >&5
9411 echo "${ECHO_T}$result" >&6; }
9412
9413
9414 enablestring=
9415 defaultval=$wxUSE_ALL_FEATURES
9416 if test -z "$defaultval"; then
9417 if test x"$enablestring" = xdisable; then
9418 defaultval=yes
9419 else
9420 defaultval=no
9421 fi
9422 fi
9423
9424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
9426 # Check whether --enable-gstreamer8 was given.
9427 if test "${enable_gstreamer8+set}" = set; then
9428 enableval=$enable_gstreamer8;
9429 if test "$enableval" = yes; then
9430 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9431 else
9432 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9433 fi
9434
9435 else
9436
9437 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9438
9439 fi
9440
9441
9442 eval "$wx_cv_use_gstreamer8"
9443
9444 if test x"$enablestring" = xdisable; then
9445 if test $wxUSE_GSTREAMER8 = no; then
9446 result=yes
9447 else
9448 result=no
9449 fi
9450 else
9451 result=$wxUSE_GSTREAMER8
9452 fi
9453
9454 { echo "$as_me:$LINENO: result: $result" >&5
9455 echo "${ECHO_T}$result" >&6; }
9456
9457
9458 enablestring=
9459 defaultval=$wxUSE_ALL_FEATURES
9460 if test -z "$defaultval"; then
9461 if test x"$enablestring" = xdisable; then
9462 defaultval=yes
9463 else
9464 defaultval=no
9465 fi
9466 fi
9467
9468 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9469 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9470 # Check whether --enable-richtext was given.
9471 if test "${enable_richtext+set}" = set; then
9472 enableval=$enable_richtext;
9473 if test "$enableval" = yes; then
9474 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
9475 else
9476 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
9477 fi
9478
9479 else
9480
9481 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9482
9483 fi
9484
9485
9486 eval "$wx_cv_use_richtext"
9487
9488 if test x"$enablestring" = xdisable; then
9489 if test $wxUSE_RICHTEXT = no; then
9490 result=yes
9491 else
9492 result=no
9493 fi
9494 else
9495 result=$wxUSE_RICHTEXT
9496 fi
9497
9498 { echo "$as_me:$LINENO: result: $result" >&5
9499 echo "${ECHO_T}$result" >&6; }
9500
9501
9502 enablestring=
9503 defaultval=$wxUSE_ALL_FEATURES
9504 if test -z "$defaultval"; then
9505 if test x"$enablestring" = xdisable; then
9506 defaultval=yes
9507 else
9508 defaultval=no
9509 fi
9510 fi
9511
9512 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9513 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9514 # Check whether --enable-postscript was given.
9515 if test "${enable_postscript+set}" = set; then
9516 enableval=$enable_postscript;
9517 if test "$enableval" = yes; then
9518 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9519 else
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9521 fi
9522
9523 else
9524
9525 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9526
9527 fi
9528
9529
9530 eval "$wx_cv_use_postscript"
9531
9532 if test x"$enablestring" = xdisable; then
9533 if test $wxUSE_POSTSCRIPT = no; then
9534 result=yes
9535 else
9536 result=no
9537 fi
9538 else
9539 result=$wxUSE_POSTSCRIPT
9540 fi
9541
9542 { echo "$as_me:$LINENO: result: $result" >&5
9543 echo "${ECHO_T}$result" >&6; }
9544
9545
9546 enablestring=
9547 defaultval=$wxUSE_ALL_FEATURES
9548 if test -z "$defaultval"; then
9549 if test x"$enablestring" = xdisable; then
9550 defaultval=yes
9551 else
9552 defaultval=no
9553 fi
9554 fi
9555
9556 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9557 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9558 # Check whether --enable-printarch was given.
9559 if test "${enable_printarch+set}" = set; then
9560 enableval=$enable_printarch;
9561 if test "$enableval" = yes; then
9562 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9563 else
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9565 fi
9566
9567 else
9568
9569 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9570
9571 fi
9572
9573
9574 eval "$wx_cv_use_printarch"
9575
9576 if test x"$enablestring" = xdisable; then
9577 if test $wxUSE_PRINTING_ARCHITECTURE = no; then
9578 result=yes
9579 else
9580 result=no
9581 fi
9582 else
9583 result=$wxUSE_PRINTING_ARCHITECTURE
9584 fi
9585
9586 { echo "$as_me:$LINENO: result: $result" >&5
9587 echo "${ECHO_T}$result" >&6; }
9588
9589
9590 enablestring=
9591 defaultval=$wxUSE_ALL_FEATURES
9592 if test -z "$defaultval"; then
9593 if test x"$enablestring" = xdisable; then
9594 defaultval=yes
9595 else
9596 defaultval=no
9597 fi
9598 fi
9599
9600 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9601 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9602 # Check whether --enable-svg was given.
9603 if test "${enable_svg+set}" = set; then
9604 enableval=$enable_svg;
9605 if test "$enableval" = yes; then
9606 wx_cv_use_svg='wxUSE_SVG=yes'
9607 else
9608 wx_cv_use_svg='wxUSE_SVG=no'
9609 fi
9610
9611 else
9612
9613 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9614
9615 fi
9616
9617
9618 eval "$wx_cv_use_svg"
9619
9620 if test x"$enablestring" = xdisable; then
9621 if test $wxUSE_SVG = no; then
9622 result=yes
9623 else
9624 result=no
9625 fi
9626 else
9627 result=$wxUSE_SVG
9628 fi
9629
9630 { echo "$as_me:$LINENO: result: $result" >&5
9631 echo "${ECHO_T}$result" >&6; }
9632
9633
9634 enablestring=
9635 defaultval=$wxUSE_ALL_FEATURES
9636 if test -z "$defaultval"; then
9637 if test x"$enablestring" = xdisable; then
9638 defaultval=yes
9639 else
9640 defaultval=no
9641 fi
9642 fi
9643
9644 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9645 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9646 # Check whether --enable-webkit was given.
9647 if test "${enable_webkit+set}" = set; then
9648 enableval=$enable_webkit;
9649 if test "$enableval" = yes; then
9650 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
9651 else
9652 wx_cv_use_webkit='wxUSE_WEBKIT=no'
9653 fi
9654
9655 else
9656
9657 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9658
9659 fi
9660
9661
9662 eval "$wx_cv_use_webkit"
9663
9664 if test x"$enablestring" = xdisable; then
9665 if test $wxUSE_WEBKIT = no; then
9666 result=yes
9667 else
9668 result=no
9669 fi
9670 else
9671 result=$wxUSE_WEBKIT
9672 fi
9673
9674 { echo "$as_me:$LINENO: result: $result" >&5
9675 echo "${ECHO_T}$result" >&6; }
9676
9677
9678 enablestring=
9679 defaultval=$wxUSE_ALL_FEATURES
9680 if test -z "$defaultval"; then
9681 if test x"$enablestring" = xdisable; then
9682 defaultval=yes
9683 else
9684 defaultval=no
9685 fi
9686 fi
9687
9688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webview" >&5
9689 echo $ECHO_N "checking for --${enablestring:-enable}-webview... $ECHO_C" >&6; }
9690 # Check whether --enable-webview was given.
9691 if test "${enable_webview+set}" = set; then
9692 enableval=$enable_webview;
9693 if test "$enableval" = yes; then
9694 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9695 else
9696 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9697 fi
9698
9699 else
9700
9701 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9702
9703 fi
9704
9705
9706 eval "$wx_cv_use_webview"
9707
9708 if test x"$enablestring" = xdisable; then
9709 if test $wxUSE_WEBVIEW = no; then
9710 result=yes
9711 else
9712 result=no
9713 fi
9714 else
9715 result=$wxUSE_WEBVIEW
9716 fi
9717
9718 { echo "$as_me:$LINENO: result: $result" >&5
9719 echo "${ECHO_T}$result" >&6; }
9720
9721
9722 if test "$wxUSE_MAC" != 1; then
9723
9724 enablestring=
9725 defaultval=$wxUSE_ALL_FEATURES
9726 if test -z "$defaultval"; then
9727 if test x"$enablestring" = xdisable; then
9728 defaultval=yes
9729 else
9730 defaultval=no
9731 fi
9732 fi
9733
9734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9735 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9736 # Check whether --enable-graphics_ctx was given.
9737 if test "${enable_graphics_ctx+set}" = set; then
9738 enableval=$enable_graphics_ctx;
9739 if test "$enableval" = yes; then
9740 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9741 else
9742 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9743 fi
9744
9745 else
9746
9747 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9748
9749 fi
9750
9751
9752 eval "$wx_cv_use_graphics_ctx"
9753
9754 if test x"$enablestring" = xdisable; then
9755 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9756 result=yes
9757 else
9758 result=no
9759 fi
9760 else
9761 result=$wxUSE_GRAPHICS_CONTEXT
9762 fi
9763
9764 { echo "$as_me:$LINENO: result: $result" >&5
9765 echo "${ECHO_T}$result" >&6; }
9766
9767 fi
9768
9769
9770
9771 enablestring=
9772 defaultval=$wxUSE_ALL_FEATURES
9773 if test -z "$defaultval"; then
9774 if test x"$enablestring" = xdisable; then
9775 defaultval=yes
9776 else
9777 defaultval=no
9778 fi
9779 fi
9780
9781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9782 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9783 # Check whether --enable-clipboard was given.
9784 if test "${enable_clipboard+set}" = set; then
9785 enableval=$enable_clipboard;
9786 if test "$enableval" = yes; then
9787 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9788 else
9789 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9790 fi
9791
9792 else
9793
9794 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9795
9796 fi
9797
9798
9799 eval "$wx_cv_use_clipboard"
9800
9801 if test x"$enablestring" = xdisable; then
9802 if test $wxUSE_CLIPBOARD = no; then
9803 result=yes
9804 else
9805 result=no
9806 fi
9807 else
9808 result=$wxUSE_CLIPBOARD
9809 fi
9810
9811 { echo "$as_me:$LINENO: result: $result" >&5
9812 echo "${ECHO_T}$result" >&6; }
9813
9814
9815 enablestring=
9816 defaultval=$wxUSE_ALL_FEATURES
9817 if test -z "$defaultval"; then
9818 if test x"$enablestring" = xdisable; then
9819 defaultval=yes
9820 else
9821 defaultval=no
9822 fi
9823 fi
9824
9825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9826 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9827 # Check whether --enable-dnd was given.
9828 if test "${enable_dnd+set}" = set; then
9829 enableval=$enable_dnd;
9830 if test "$enableval" = yes; then
9831 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9832 else
9833 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9834 fi
9835
9836 else
9837
9838 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9839
9840 fi
9841
9842
9843 eval "$wx_cv_use_dnd"
9844
9845 if test x"$enablestring" = xdisable; then
9846 if test $wxUSE_DRAG_AND_DROP = no; then
9847 result=yes
9848 else
9849 result=no
9850 fi
9851 else
9852 result=$wxUSE_DRAG_AND_DROP
9853 fi
9854
9855 { echo "$as_me:$LINENO: result: $result" >&5
9856 echo "${ECHO_T}$result" >&6; }
9857
9858
9859
9860 DEFAULT_wxUSE_CONTROLS=none
9861
9862 enablestring=disable
9863 defaultval=
9864 if test -z "$defaultval"; then
9865 if test x"$enablestring" = xdisable; then
9866 defaultval=yes
9867 else
9868 defaultval=no
9869 fi
9870 fi
9871
9872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9873 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9874 # Check whether --enable-controls was given.
9875 if test "${enable_controls+set}" = set; then
9876 enableval=$enable_controls;
9877 if test "$enableval" = yes; then
9878 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9879 else
9880 wx_cv_use_controls='wxUSE_CONTROLS=no'
9881 fi
9882
9883 else
9884
9885 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9886
9887 fi
9888
9889
9890 eval "$wx_cv_use_controls"
9891
9892 if test x"$enablestring" = xdisable; then
9893 if test $wxUSE_CONTROLS = no; then
9894 result=yes
9895 else
9896 result=no
9897 fi
9898 else
9899 result=$wxUSE_CONTROLS
9900 fi
9901
9902 { echo "$as_me:$LINENO: result: $result" >&5
9903 echo "${ECHO_T}$result" >&6; }
9904
9905
9906 if test "$wxUSE_CONTROLS" = "no"; then
9907 DEFAULT_wxUSE_ACCEL=no
9908 DEFAULT_wxUSE_ANIMATIONCTRL=no
9909 DEFAULT_wxUSE_BANNERWINDOW=no
9910 DEFAULT_wxUSE_BMPBUTTON=no
9911 DEFAULT_wxUSE_BUTTON=no
9912 DEFAULT_wxUSE_CALCTRL=no
9913 DEFAULT_wxUSE_CARET=no
9914 DEFAULT_wxUSE_CHECKBOX=no
9915 DEFAULT_wxUSE_CHECKLISTBOX=no
9916 DEFAULT_wxUSE_CHOICE=no
9917 DEFAULT_wxUSE_CHOICEBOOK=no
9918 DEFAULT_wxUSE_COLLPANE=no
9919 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9920 DEFAULT_wxUSE_COMBOBOX=no
9921 DEFAULT_wxUSE_COMBOBOX=no
9922 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9923 DEFAULT_wxUSE_DATAVIEWCTRL=no
9924 DEFAULT_wxUSE_DATEPICKCTRL=no
9925 DEFAULT_wxUSE_DETECT_SM=no
9926 DEFAULT_wxUSE_DIRPICKERCTRL=no
9927 DEFAULT_wxUSE_DISPLAY=no
9928 DEFAULT_wxUSE_FILECTRL=no
9929 DEFAULT_wxUSE_FILEPICKERCTRL=no
9930 DEFAULT_wxUSE_FONTPICKERCTRL=no
9931 DEFAULT_wxUSE_GAUGE=no
9932 DEFAULT_wxUSE_GRID=no
9933 DEFAULT_wxUSE_HEADERCTRL=no
9934 DEFAULT_wxUSE_HYPERLINKCTRL=no
9935 DEFAULT_wxUSE_IMAGLIST=no
9936 DEFAULT_wxUSE_LISTBOOK=no
9937 DEFAULT_wxUSE_LISTBOX=no
9938 DEFAULT_wxUSE_LISTCTRL=no
9939 DEFAULT_wxUSE_MARKUP=no
9940 DEFAULT_wxUSE_NOTEBOOK=no
9941 DEFAULT_wxUSE_POPUPWIN=no
9942 DEFAULT_wxUSE_RADIOBOX=no
9943 DEFAULT_wxUSE_RADIOBTN=no
9944 DEFAULT_wxUSE_RICHMSGDLG=no
9945 DEFAULT_wxUSE_RICHTOOLTIP=no
9946 DEFAULT_wxUSE_REARRANGECTRL=no
9947 DEFAULT_wxUSE_SASH=no
9948 DEFAULT_wxUSE_SCROLLBAR=no
9949 DEFAULT_wxUSE_SEARCHCTRL=no
9950 DEFAULT_wxUSE_SLIDER=no
9951 DEFAULT_wxUSE_SPINBTN=no
9952 DEFAULT_wxUSE_SPINCTRL=no
9953 DEFAULT_wxUSE_SPLITTER=no
9954 DEFAULT_wxUSE_STATBMP=no
9955 DEFAULT_wxUSE_STATBOX=no
9956 DEFAULT_wxUSE_STATLINE=no
9957 DEFAULT_wxUSE_STATUSBAR=no
9958 DEFAULT_wxUSE_TIMEPICKCTRL=no
9959 DEFAULT_wxUSE_TIPWINDOW=no
9960 DEFAULT_wxUSE_TOGGLEBTN=no
9961 DEFAULT_wxUSE_TOOLBAR=no
9962 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9963 DEFAULT_wxUSE_TOOLBOOK=no
9964 DEFAULT_wxUSE_TOOLTIPS=no
9965 DEFAULT_wxUSE_TREEBOOK=no
9966 DEFAULT_wxUSE_TREECTRL=no
9967 DEFAULT_wxUSE_TREELISTCTRL=no
9968 fi
9969
9970
9971 enablestring=
9972 defaultval=$wxUSE_ALL_FEATURES
9973 if test -z "$defaultval"; then
9974 if test x"$enablestring" = xdisable; then
9975 defaultval=yes
9976 else
9977 defaultval=no
9978 fi
9979 fi
9980
9981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9982 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9983 # Check whether --enable-markup was given.
9984 if test "${enable_markup+set}" = set; then
9985 enableval=$enable_markup;
9986 if test "$enableval" = yes; then
9987 wx_cv_use_markup='wxUSE_MARKUP=yes'
9988 else
9989 wx_cv_use_markup='wxUSE_MARKUP=no'
9990 fi
9991
9992 else
9993
9994 wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9995
9996 fi
9997
9998
9999 eval "$wx_cv_use_markup"
10000
10001 if test x"$enablestring" = xdisable; then
10002 if test $wxUSE_MARKUP = no; then
10003 result=yes
10004 else
10005 result=no
10006 fi
10007 else
10008 result=$wxUSE_MARKUP
10009 fi
10010
10011 { echo "$as_me:$LINENO: result: $result" >&5
10012 echo "${ECHO_T}$result" >&6; }
10013
10014
10015
10016 enablestring=
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10020 defaultval=yes
10021 else
10022 defaultval=no
10023 fi
10024 fi
10025
10026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
10028 # Check whether --enable-accel was given.
10029 if test "${enable_accel+set}" = set; then
10030 enableval=$enable_accel;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_accel='wxUSE_ACCEL=yes'
10033 else
10034 wx_cv_use_accel='wxUSE_ACCEL=no'
10035 fi
10036
10037 else
10038
10039 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10040
10041 fi
10042
10043
10044 eval "$wx_cv_use_accel"
10045
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_ACCEL = no; then
10048 result=yes
10049 else
10050 result=no
10051 fi
10052 else
10053 result=$wxUSE_ACCEL
10054 fi
10055
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10058
10059
10060 enablestring=
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10064 defaultval=yes
10065 else
10066 defaultval=no
10067 fi
10068 fi
10069
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10072 # Check whether --enable-animatectrl was given.
10073 if test "${enable_animatectrl+set}" = set; then
10074 enableval=$enable_animatectrl;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
10077 else
10078 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
10079 fi
10080
10081 else
10082
10083 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10084
10085 fi
10086
10087
10088 eval "$wx_cv_use_animatectrl"
10089
10090 if test x"$enablestring" = xdisable; then
10091 if test $wxUSE_ANIMATIONCTRL = no; then
10092 result=yes
10093 else
10094 result=no
10095 fi
10096 else
10097 result=$wxUSE_ANIMATIONCTRL
10098 fi
10099
10100 { echo "$as_me:$LINENO: result: $result" >&5
10101 echo "${ECHO_T}$result" >&6; }
10102
10103
10104 enablestring=
10105 defaultval=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x"$enablestring" = xdisable; then
10108 defaultval=yes
10109 else
10110 defaultval=no
10111 fi
10112 fi
10113
10114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10116 # Check whether --enable-bannerwindow was given.
10117 if test "${enable_bannerwindow+set}" = set; then
10118 enableval=$enable_bannerwindow;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
10121 else
10122 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
10123 fi
10124
10125 else
10126
10127 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10128
10129 fi
10130
10131
10132 eval "$wx_cv_use_bannerwindow"
10133
10134 if test x"$enablestring" = xdisable; then
10135 if test $wxUSE_BANNERWINDOW = no; then
10136 result=yes
10137 else
10138 result=no
10139 fi
10140 else
10141 result=$wxUSE_BANNERWINDOW
10142 fi
10143
10144 { echo "$as_me:$LINENO: result: $result" >&5
10145 echo "${ECHO_T}$result" >&6; }
10146
10147
10148 enablestring=
10149 defaultval=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x"$enablestring" = xdisable; then
10152 defaultval=yes
10153 else
10154 defaultval=no
10155 fi
10156 fi
10157
10158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-artstd" >&5
10159 echo $ECHO_N "checking for --${enablestring:-enable}-artstd... $ECHO_C" >&6; }
10160 # Check whether --enable-artstd was given.
10161 if test "${enable_artstd+set}" = set; then
10162 enableval=$enable_artstd;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10165 else
10166 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10167 fi
10168
10169 else
10170
10171 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10172
10173 fi
10174
10175
10176 eval "$wx_cv_use_artstd"
10177
10178 if test x"$enablestring" = xdisable; then
10179 if test $wxUSE_ARTPROVIDER_STD = no; then
10180 result=yes
10181 else
10182 result=no
10183 fi
10184 else
10185 result=$wxUSE_ARTPROVIDER_STD
10186 fi
10187
10188 { echo "$as_me:$LINENO: result: $result" >&5
10189 echo "${ECHO_T}$result" >&6; }
10190
10191
10192 enablestring=
10193 defaultval=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x"$enablestring" = xdisable; then
10196 defaultval=yes
10197 else
10198 defaultval=no
10199 fi
10200 fi
10201
10202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10203 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10204 # Check whether --enable-arttango was given.
10205 if test "${enable_arttango+set}" = set; then
10206 enableval=$enable_arttango;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
10209 else
10210 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
10211 fi
10212
10213 else
10214
10215 wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10216
10217 fi
10218
10219
10220 eval "$wx_cv_use_arttango"
10221
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10224 result=yes
10225 else
10226 result=no
10227 fi
10228 else
10229 result=$wxUSE_ARTPROVIDER_TANGO
10230 fi
10231
10232 { echo "$as_me:$LINENO: result: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10234
10235
10236 enablestring=
10237 defaultval=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x"$enablestring" = xdisable; then
10240 defaultval=yes
10241 else
10242 defaultval=no
10243 fi
10244 fi
10245
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10248 # Check whether --enable-bmpbutton was given.
10249 if test "${enable_bmpbutton+set}" = set; then
10250 enableval=$enable_bmpbutton;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
10253 else
10254 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
10255 fi
10256
10257 else
10258
10259 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10260
10261 fi
10262
10263
10264 eval "$wx_cv_use_bmpbutton"
10265
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_BMPBUTTON = no; then
10268 result=yes
10269 else
10270 result=no
10271 fi
10272 else
10273 result=$wxUSE_BMPBUTTON
10274 fi
10275
10276 { echo "$as_me:$LINENO: result: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10278
10279
10280 enablestring=
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10284 defaultval=yes
10285 else
10286 defaultval=no
10287 fi
10288 fi
10289
10290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
10292 # Check whether --enable-bmpcombobox was given.
10293 if test "${enable_bmpcombobox+set}" = set; then
10294 enableval=$enable_bmpcombobox;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10297 else
10298 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10299 fi
10300
10301 else
10302
10303 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10304
10305 fi
10306
10307
10308 eval "$wx_cv_use_bmpcombobox"
10309
10310 if test x"$enablestring" = xdisable; then
10311 if test $wxUSE_BITMAPCOMBOBOX = no; then
10312 result=yes
10313 else
10314 result=no
10315 fi
10316 else
10317 result=$wxUSE_BITMAPCOMBOBOX
10318 fi
10319
10320 { echo "$as_me:$LINENO: result: $result" >&5
10321 echo "${ECHO_T}$result" >&6; }
10322
10323
10324 enablestring=
10325 defaultval=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x"$enablestring" = xdisable; then
10328 defaultval=yes
10329 else
10330 defaultval=no
10331 fi
10332 fi
10333
10334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10335 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10336 # Check whether --enable-button was given.
10337 if test "${enable_button+set}" = set; then
10338 enableval=$enable_button;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_button='wxUSE_BUTTON=yes'
10341 else
10342 wx_cv_use_button='wxUSE_BUTTON=no'
10343 fi
10344
10345 else
10346
10347 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10348
10349 fi
10350
10351
10352 eval "$wx_cv_use_button"
10353
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_BUTTON = no; then
10356 result=yes
10357 else
10358 result=no
10359 fi
10360 else
10361 result=$wxUSE_BUTTON
10362 fi
10363
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10366
10367
10368 enablestring=
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10372 defaultval=yes
10373 else
10374 defaultval=no
10375 fi
10376 fi
10377
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10380 # Check whether --enable-calendar was given.
10381 if test "${enable_calendar+set}" = set; then
10382 enableval=$enable_calendar;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
10385 else
10386 wx_cv_use_calendar='wxUSE_CALCTRL=no'
10387 fi
10388
10389 else
10390
10391 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10392
10393 fi
10394
10395
10396 eval "$wx_cv_use_calendar"
10397
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_CALCTRL = no; then
10400 result=yes
10401 else
10402 result=no
10403 fi
10404 else
10405 result=$wxUSE_CALCTRL
10406 fi
10407
10408 { echo "$as_me:$LINENO: result: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10410
10411
10412 enablestring=
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10416 defaultval=yes
10417 else
10418 defaultval=no
10419 fi
10420 fi
10421
10422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
10424 # Check whether --enable-caret was given.
10425 if test "${enable_caret+set}" = set; then
10426 enableval=$enable_caret;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_caret='wxUSE_CARET=yes'
10429 else
10430 wx_cv_use_caret='wxUSE_CARET=no'
10431 fi
10432
10433 else
10434
10435 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10436
10437 fi
10438
10439
10440 eval "$wx_cv_use_caret"
10441
10442 if test x"$enablestring" = xdisable; then
10443 if test $wxUSE_CARET = no; then
10444 result=yes
10445 else
10446 result=no
10447 fi
10448 else
10449 result=$wxUSE_CARET
10450 fi
10451
10452 { echo "$as_me:$LINENO: result: $result" >&5
10453 echo "${ECHO_T}$result" >&6; }
10454
10455
10456 enablestring=
10457 defaultval=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x"$enablestring" = xdisable; then
10460 defaultval=yes
10461 else
10462 defaultval=no
10463 fi
10464 fi
10465
10466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10468 # Check whether --enable-checkbox was given.
10469 if test "${enable_checkbox+set}" = set; then
10470 enableval=$enable_checkbox;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
10473 else
10474 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
10475 fi
10476
10477 else
10478
10479 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10480
10481 fi
10482
10483
10484 eval "$wx_cv_use_checkbox"
10485
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_CHECKBOX = no; then
10488 result=yes
10489 else
10490 result=no
10491 fi
10492 else
10493 result=$wxUSE_CHECKBOX
10494 fi
10495
10496 { echo "$as_me:$LINENO: result: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10498
10499
10500 enablestring=
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10504 defaultval=yes
10505 else
10506 defaultval=no
10507 fi
10508 fi
10509
10510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10512 # Check whether --enable-checklst was given.
10513 if test "${enable_checklst+set}" = set; then
10514 enableval=$enable_checklst;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
10517 else
10518 wx_cv_use_checklst='wxUSE_CHECKLST=no'
10519 fi
10520
10521 else
10522
10523 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10524
10525 fi
10526
10527
10528 eval "$wx_cv_use_checklst"
10529
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_CHECKLST = no; then
10532 result=yes
10533 else
10534 result=no
10535 fi
10536 else
10537 result=$wxUSE_CHECKLST
10538 fi
10539
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10542
10543
10544 enablestring=
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10548 defaultval=yes
10549 else
10550 defaultval=no
10551 fi
10552 fi
10553
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
10556 # Check whether --enable-choice was given.
10557 if test "${enable_choice+set}" = set; then
10558 enableval=$enable_choice;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_choice='wxUSE_CHOICE=yes'
10561 else
10562 wx_cv_use_choice='wxUSE_CHOICE=no'
10563 fi
10564
10565 else
10566
10567 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10568
10569 fi
10570
10571
10572 eval "$wx_cv_use_choice"
10573
10574 if test x"$enablestring" = xdisable; then
10575 if test $wxUSE_CHOICE = no; then
10576 result=yes
10577 else
10578 result=no
10579 fi
10580 else
10581 result=$wxUSE_CHOICE
10582 fi
10583
10584 { echo "$as_me:$LINENO: result: $result" >&5
10585 echo "${ECHO_T}$result" >&6; }
10586
10587
10588 enablestring=
10589 defaultval=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x"$enablestring" = xdisable; then
10592 defaultval=yes
10593 else
10594 defaultval=no
10595 fi
10596 fi
10597
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10600 # Check whether --enable-choicebook was given.
10601 if test "${enable_choicebook+set}" = set; then
10602 enableval=$enable_choicebook;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
10605 else
10606 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
10607 fi
10608
10609 else
10610
10611 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10612
10613 fi
10614
10615
10616 eval "$wx_cv_use_choicebook"
10617
10618 if test x"$enablestring" = xdisable; then
10619 if test $wxUSE_CHOICEBOOK = no; then
10620 result=yes
10621 else
10622 result=no
10623 fi
10624 else
10625 result=$wxUSE_CHOICEBOOK
10626 fi
10627
10628 { echo "$as_me:$LINENO: result: $result" >&5
10629 echo "${ECHO_T}$result" >&6; }
10630
10631
10632 enablestring=
10633 defaultval=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x"$enablestring" = xdisable; then
10636 defaultval=yes
10637 else
10638 defaultval=no
10639 fi
10640 fi
10641
10642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10643 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10644 # Check whether --enable-collpane was given.
10645 if test "${enable_collpane+set}" = set; then
10646 enableval=$enable_collpane;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
10649 else
10650 wx_cv_use_collpane='wxUSE_COLLPANE=no'
10651 fi
10652
10653 else
10654
10655 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10656
10657 fi
10658
10659
10660 eval "$wx_cv_use_collpane"
10661
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_COLLPANE = no; then
10664 result=yes
10665 else
10666 result=no
10667 fi
10668 else
10669 result=$wxUSE_COLLPANE
10670 fi
10671
10672 { echo "$as_me:$LINENO: result: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10674
10675
10676 enablestring=
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10680 defaultval=yes
10681 else
10682 defaultval=no
10683 fi
10684 fi
10685
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10688 # Check whether --enable-colourpicker was given.
10689 if test "${enable_colourpicker+set}" = set; then
10690 enableval=$enable_colourpicker;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10693 else
10694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10695 fi
10696
10697 else
10698
10699 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10700
10701 fi
10702
10703
10704 eval "$wx_cv_use_colourpicker"
10705
10706 if test x"$enablestring" = xdisable; then
10707 if test $wxUSE_COLOURPICKERCTRL = no; then
10708 result=yes
10709 else
10710 result=no
10711 fi
10712 else
10713 result=$wxUSE_COLOURPICKERCTRL
10714 fi
10715
10716 { echo "$as_me:$LINENO: result: $result" >&5
10717 echo "${ECHO_T}$result" >&6; }
10718
10719
10720 enablestring=
10721 defaultval=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x"$enablestring" = xdisable; then
10724 defaultval=yes
10725 else
10726 defaultval=no
10727 fi
10728 fi
10729
10730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10732 # Check whether --enable-combobox was given.
10733 if test "${enable_combobox+set}" = set; then
10734 enableval=$enable_combobox;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10737 else
10738 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10739 fi
10740
10741 else
10742
10743 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10744
10745 fi
10746
10747
10748 eval "$wx_cv_use_combobox"
10749
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_COMBOBOX = no; then
10752 result=yes
10753 else
10754 result=no
10755 fi
10756 else
10757 result=$wxUSE_COMBOBOX
10758 fi
10759
10760 { echo "$as_me:$LINENO: result: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10762
10763
10764 enablestring=
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10768 defaultval=yes
10769 else
10770 defaultval=no
10771 fi
10772 fi
10773
10774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10775 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10776 # Check whether --enable-comboctrl was given.
10777 if test "${enable_comboctrl+set}" = set; then
10778 enableval=$enable_comboctrl;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10781 else
10782 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10783 fi
10784
10785 else
10786
10787 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10788
10789 fi
10790
10791
10792 eval "$wx_cv_use_comboctrl"
10793
10794 if test x"$enablestring" = xdisable; then
10795 if test $wxUSE_COMBOCTRL = no; then
10796 result=yes
10797 else
10798 result=no
10799 fi
10800 else
10801 result=$wxUSE_COMBOCTRL
10802 fi
10803
10804 { echo "$as_me:$LINENO: result: $result" >&5
10805 echo "${ECHO_T}$result" >&6; }
10806
10807
10808 enablestring=
10809 defaultval=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x"$enablestring" = xdisable; then
10812 defaultval=yes
10813 else
10814 defaultval=no
10815 fi
10816 fi
10817
10818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commandlinkbutton" >&5
10819 echo $ECHO_N "checking for --${enablestring:-enable}-commandlinkbutton... $ECHO_C" >&6; }
10820 # Check whether --enable-commandlinkbutton was given.
10821 if test "${enable_commandlinkbutton+set}" = set; then
10822 enableval=$enable_commandlinkbutton;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10825 else
10826 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10827 fi
10828
10829 else
10830
10831 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10832
10833 fi
10834
10835
10836 eval "$wx_cv_use_commandlinkbutton"
10837
10838 if test x"$enablestring" = xdisable; then
10839 if test $wxUSE_COMMANDLINKBUTTON = no; then
10840 result=yes
10841 else
10842 result=no
10843 fi
10844 else
10845 result=$wxUSE_COMMANDLINKBUTTON
10846 fi
10847
10848 { echo "$as_me:$LINENO: result: $result" >&5
10849 echo "${ECHO_T}$result" >&6; }
10850
10851
10852 enablestring=
10853 defaultval=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x"$enablestring" = xdisable; then
10856 defaultval=yes
10857 else
10858 defaultval=no
10859 fi
10860 fi
10861
10862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10864 # Check whether --enable-dataviewctrl was given.
10865 if test "${enable_dataviewctrl+set}" = set; then
10866 enableval=$enable_dataviewctrl;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10869 else
10870 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10871 fi
10872
10873 else
10874
10875 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10876
10877 fi
10878
10879
10880 eval "$wx_cv_use_dataviewctrl"
10881
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_DATAVIEWCTRL = no; then
10884 result=yes
10885 else
10886 result=no
10887 fi
10888 else
10889 result=$wxUSE_DATAVIEWCTRL
10890 fi
10891
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10894
10895
10896 enablestring=
10897 defaultval=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x"$enablestring" = xdisable; then
10900 defaultval=yes
10901 else
10902 defaultval=no
10903 fi
10904 fi
10905
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10908 # Check whether --enable-datepick was given.
10909 if test "${enable_datepick+set}" = set; then
10910 enableval=$enable_datepick;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10913 else
10914 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10915 fi
10916
10917 else
10918
10919 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10920
10921 fi
10922
10923
10924 eval "$wx_cv_use_datepick"
10925
10926 if test x"$enablestring" = xdisable; then
10927 if test $wxUSE_DATEPICKCTRL = no; then
10928 result=yes
10929 else
10930 result=no
10931 fi
10932 else
10933 result=$wxUSE_DATEPICKCTRL
10934 fi
10935
10936 { echo "$as_me:$LINENO: result: $result" >&5
10937 echo "${ECHO_T}$result" >&6; }
10938
10939
10940 enablestring=
10941 defaultval=$wxUSE_ALL_FEATURES
10942 if test -z "$defaultval"; then
10943 if test x"$enablestring" = xdisable; then
10944 defaultval=yes
10945 else
10946 defaultval=no
10947 fi
10948 fi
10949
10950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10952 # Check whether --enable-detect_sm was given.
10953 if test "${enable_detect_sm+set}" = set; then
10954 enableval=$enable_detect_sm;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10957 else
10958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10959 fi
10960
10961 else
10962
10963 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10964
10965 fi
10966
10967
10968 eval "$wx_cv_use_detect_sm"
10969
10970 if test x"$enablestring" = xdisable; then
10971 if test $wxUSE_DETECT_SM = no; then
10972 result=yes
10973 else
10974 result=no
10975 fi
10976 else
10977 result=$wxUSE_DETECT_SM
10978 fi
10979
10980 { echo "$as_me:$LINENO: result: $result" >&5
10981 echo "${ECHO_T}$result" >&6; }
10982
10983
10984 enablestring=
10985 defaultval=$wxUSE_ALL_FEATURES
10986 if test -z "$defaultval"; then
10987 if test x"$enablestring" = xdisable; then
10988 defaultval=yes
10989 else
10990 defaultval=no
10991 fi
10992 fi
10993
10994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10996 # Check whether --enable-dirpicker was given.
10997 if test "${enable_dirpicker+set}" = set; then
10998 enableval=$enable_dirpicker;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
11001 else
11002 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
11003 fi
11004
11005 else
11006
11007 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11008
11009 fi
11010
11011
11012 eval "$wx_cv_use_dirpicker"
11013
11014 if test x"$enablestring" = xdisable; then
11015 if test $wxUSE_DIRPICKERCTRL = no; then
11016 result=yes
11017 else
11018 result=no
11019 fi
11020 else
11021 result=$wxUSE_DIRPICKERCTRL
11022 fi
11023
11024 { echo "$as_me:$LINENO: result: $result" >&5
11025 echo "${ECHO_T}$result" >&6; }
11026
11027
11028 enablestring=
11029 defaultval=$wxUSE_ALL_FEATURES
11030 if test -z "$defaultval"; then
11031 if test x"$enablestring" = xdisable; then
11032 defaultval=yes
11033 else
11034 defaultval=no
11035 fi
11036 fi
11037
11038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11039 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11040 # Check whether --enable-display was given.
11041 if test "${enable_display+set}" = set; then
11042 enableval=$enable_display;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_display='wxUSE_DISPLAY=yes'
11045 else
11046 wx_cv_use_display='wxUSE_DISPLAY=no'
11047 fi
11048
11049 else
11050
11051 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11052
11053 fi
11054
11055
11056 eval "$wx_cv_use_display"
11057
11058 if test x"$enablestring" = xdisable; then
11059 if test $wxUSE_DISPLAY = no; then
11060 result=yes
11061 else
11062 result=no
11063 fi
11064 else
11065 result=$wxUSE_DISPLAY
11066 fi
11067
11068 { echo "$as_me:$LINENO: result: $result" >&5
11069 echo "${ECHO_T}$result" >&6; }
11070
11071
11072 enablestring=
11073 defaultval=$wxUSE_ALL_FEATURES
11074 if test -z "$defaultval"; then
11075 if test x"$enablestring" = xdisable; then
11076 defaultval=yes
11077 else
11078 defaultval=no
11079 fi
11080 fi
11081
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
11084 # Check whether --enable-editablebox was given.
11085 if test "${enable_editablebox+set}" = set; then
11086 enableval=$enable_editablebox;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11089 else
11090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11091 fi
11092
11093 else
11094
11095 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11096
11097 fi
11098
11099
11100 eval "$wx_cv_use_editablebox"
11101
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_EDITABLELISTBOX = no; then
11104 result=yes
11105 else
11106 result=no
11107 fi
11108 else
11109 result=$wxUSE_EDITABLELISTBOX
11110 fi
11111
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11114
11115
11116 enablestring=
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11120 defaultval=yes
11121 else
11122 defaultval=no
11123 fi
11124 fi
11125
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11128 # Check whether --enable-filectrl was given.
11129 if test "${enable_filectrl+set}" = set; then
11130 enableval=$enable_filectrl;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
11133 else
11134 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
11135 fi
11136
11137 else
11138
11139 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11140
11141 fi
11142
11143
11144 eval "$wx_cv_use_filectrl"
11145
11146 if test x"$enablestring" = xdisable; then
11147 if test $wxUSE_FILECTRL = no; then
11148 result=yes
11149 else
11150 result=no
11151 fi
11152 else
11153 result=$wxUSE_FILECTRL
11154 fi
11155
11156 { echo "$as_me:$LINENO: result: $result" >&5
11157 echo "${ECHO_T}$result" >&6; }
11158
11159
11160 enablestring=
11161 defaultval=$wxUSE_ALL_FEATURES
11162 if test -z "$defaultval"; then
11163 if test x"$enablestring" = xdisable; then
11164 defaultval=yes
11165 else
11166 defaultval=no
11167 fi
11168 fi
11169
11170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11171 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11172 # Check whether --enable-filepicker was given.
11173 if test "${enable_filepicker+set}" = set; then
11174 enableval=$enable_filepicker;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
11177 else
11178 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
11179 fi
11180
11181 else
11182
11183 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11184
11185 fi
11186
11187
11188 eval "$wx_cv_use_filepicker"
11189
11190 if test x"$enablestring" = xdisable; then
11191 if test $wxUSE_FILEPICKERCTRL = no; then
11192 result=yes
11193 else
11194 result=no
11195 fi
11196 else
11197 result=$wxUSE_FILEPICKERCTRL
11198 fi
11199
11200 { echo "$as_me:$LINENO: result: $result" >&5
11201 echo "${ECHO_T}$result" >&6; }
11202
11203
11204 enablestring=
11205 defaultval=$wxUSE_ALL_FEATURES
11206 if test -z "$defaultval"; then
11207 if test x"$enablestring" = xdisable; then
11208 defaultval=yes
11209 else
11210 defaultval=no
11211 fi
11212 fi
11213
11214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
11216 # Check whether --enable-fontpicker was given.
11217 if test "${enable_fontpicker+set}" = set; then
11218 enableval=$enable_fontpicker;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11221 else
11222 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11223 fi
11224
11225 else
11226
11227 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11228
11229 fi
11230
11231
11232 eval "$wx_cv_use_fontpicker"
11233
11234 if test x"$enablestring" = xdisable; then
11235 if test $wxUSE_FONTPICKERCTRL = no; then
11236 result=yes
11237 else
11238 result=no
11239 fi
11240 else
11241 result=$wxUSE_FONTPICKERCTRL
11242 fi
11243
11244 { echo "$as_me:$LINENO: result: $result" >&5
11245 echo "${ECHO_T}$result" >&6; }
11246
11247
11248 enablestring=
11249 defaultval=$wxUSE_ALL_FEATURES
11250 if test -z "$defaultval"; then
11251 if test x"$enablestring" = xdisable; then
11252 defaultval=yes
11253 else
11254 defaultval=no
11255 fi
11256 fi
11257
11258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11260 # Check whether --enable-gauge was given.
11261 if test "${enable_gauge+set}" = set; then
11262 enableval=$enable_gauge;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_gauge='wxUSE_GAUGE=yes'
11265 else
11266 wx_cv_use_gauge='wxUSE_GAUGE=no'
11267 fi
11268
11269 else
11270
11271 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11272
11273 fi
11274
11275
11276 eval "$wx_cv_use_gauge"
11277
11278 if test x"$enablestring" = xdisable; then
11279 if test $wxUSE_GAUGE = no; then
11280 result=yes
11281 else
11282 result=no
11283 fi
11284 else
11285 result=$wxUSE_GAUGE
11286 fi
11287
11288 { echo "$as_me:$LINENO: result: $result" >&5
11289 echo "${ECHO_T}$result" >&6; }
11290
11291
11292 enablestring=
11293 defaultval=$wxUSE_ALL_FEATURES
11294 if test -z "$defaultval"; then
11295 if test x"$enablestring" = xdisable; then
11296 defaultval=yes
11297 else
11298 defaultval=no
11299 fi
11300 fi
11301
11302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11303 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11304 # Check whether --enable-grid was given.
11305 if test "${enable_grid+set}" = set; then
11306 enableval=$enable_grid;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_grid='wxUSE_GRID=yes'
11309 else
11310 wx_cv_use_grid='wxUSE_GRID=no'
11311 fi
11312
11313 else
11314
11315 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11316
11317 fi
11318
11319
11320 eval "$wx_cv_use_grid"
11321
11322 if test x"$enablestring" = xdisable; then
11323 if test $wxUSE_GRID = no; then
11324 result=yes
11325 else
11326 result=no
11327 fi
11328 else
11329 result=$wxUSE_GRID
11330 fi
11331
11332 { echo "$as_me:$LINENO: result: $result" >&5
11333 echo "${ECHO_T}$result" >&6; }
11334
11335
11336 enablestring=
11337 defaultval=$wxUSE_ALL_FEATURES
11338 if test -z "$defaultval"; then
11339 if test x"$enablestring" = xdisable; then
11340 defaultval=yes
11341 else
11342 defaultval=no
11343 fi
11344 fi
11345
11346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-headerctrl" >&5
11347 echo $ECHO_N "checking for --${enablestring:-enable}-headerctrl... $ECHO_C" >&6; }
11348 # Check whether --enable-headerctrl was given.
11349 if test "${enable_headerctrl+set}" = set; then
11350 enableval=$enable_headerctrl;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11353 else
11354 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11355 fi
11356
11357 else
11358
11359 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11360
11361 fi
11362
11363
11364 eval "$wx_cv_use_headerctrl"
11365
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_HEADERCTRL = no; then
11368 result=yes
11369 else
11370 result=no
11371 fi
11372 else
11373 result=$wxUSE_HEADERCTRL
11374 fi
11375
11376 { echo "$as_me:$LINENO: result: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11378
11379
11380 enablestring=
11381 defaultval=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x"$enablestring" = xdisable; then
11384 defaultval=yes
11385 else
11386 defaultval=no
11387 fi
11388 fi
11389
11390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11392 # Check whether --enable-hyperlink was given.
11393 if test "${enable_hyperlink+set}" = set; then
11394 enableval=$enable_hyperlink;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
11397 else
11398 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
11399 fi
11400
11401 else
11402
11403 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11404
11405 fi
11406
11407
11408 eval "$wx_cv_use_hyperlink"
11409
11410 if test x"$enablestring" = xdisable; then
11411 if test $wxUSE_HYPERLINKCTRL = no; then
11412 result=yes
11413 else
11414 result=no
11415 fi
11416 else
11417 result=$wxUSE_HYPERLINKCTRL
11418 fi
11419
11420 { echo "$as_me:$LINENO: result: $result" >&5
11421 echo "${ECHO_T}$result" >&6; }
11422
11423
11424 enablestring=
11425 defaultval=$wxUSE_ALL_FEATURES
11426 if test -z "$defaultval"; then
11427 if test x"$enablestring" = xdisable; then
11428 defaultval=yes
11429 else
11430 defaultval=no
11431 fi
11432 fi
11433
11434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11435 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11436 # Check whether --enable-imaglist was given.
11437 if test "${enable_imaglist+set}" = set; then
11438 enableval=$enable_imaglist;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
11441 else
11442 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
11443 fi
11444
11445 else
11446
11447 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11448
11449 fi
11450
11451
11452 eval "$wx_cv_use_imaglist"
11453
11454 if test x"$enablestring" = xdisable; then
11455 if test $wxUSE_IMAGLIST = no; then
11456 result=yes
11457 else
11458 result=no
11459 fi
11460 else
11461 result=$wxUSE_IMAGLIST
11462 fi
11463
11464 { echo "$as_me:$LINENO: result: $result" >&5
11465 echo "${ECHO_T}$result" >&6; }
11466
11467
11468 enablestring=
11469 defaultval=$wxUSE_ALL_FEATURES
11470 if test -z "$defaultval"; then
11471 if test x"$enablestring" = xdisable; then
11472 defaultval=yes
11473 else
11474 defaultval=no
11475 fi
11476 fi
11477
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-infobar" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-infobar... $ECHO_C" >&6; }
11480 # Check whether --enable-infobar was given.
11481 if test "${enable_infobar+set}" = set; then
11482 enableval=$enable_infobar;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11485 else
11486 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11487 fi
11488
11489 else
11490
11491 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11492
11493 fi
11494
11495
11496 eval "$wx_cv_use_infobar"
11497
11498 if test x"$enablestring" = xdisable; then
11499 if test $wxUSE_INFOBAR = no; then
11500 result=yes
11501 else
11502 result=no
11503 fi
11504 else
11505 result=$wxUSE_INFOBAR
11506 fi
11507
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11510
11511
11512 enablestring=
11513 defaultval=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x"$enablestring" = xdisable; then
11516 defaultval=yes
11517 else
11518 defaultval=no
11519 fi
11520 fi
11521
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11524 # Check whether --enable-listbook was given.
11525 if test "${enable_listbook+set}" = set; then
11526 enableval=$enable_listbook;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
11529 else
11530 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
11531 fi
11532
11533 else
11534
11535 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11536
11537 fi
11538
11539
11540 eval "$wx_cv_use_listbook"
11541
11542 if test x"$enablestring" = xdisable; then
11543 if test $wxUSE_LISTBOOK = no; then
11544 result=yes
11545 else
11546 result=no
11547 fi
11548 else
11549 result=$wxUSE_LISTBOOK
11550 fi
11551
11552 { echo "$as_me:$LINENO: result: $result" >&5
11553 echo "${ECHO_T}$result" >&6; }
11554
11555
11556 enablestring=
11557 defaultval=$wxUSE_ALL_FEATURES
11558 if test -z "$defaultval"; then
11559 if test x"$enablestring" = xdisable; then
11560 defaultval=yes
11561 else
11562 defaultval=no
11563 fi
11564 fi
11565
11566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11567 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11568 # Check whether --enable-listbox was given.
11569 if test "${enable_listbox+set}" = set; then
11570 enableval=$enable_listbox;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
11573 else
11574 wx_cv_use_listbox='wxUSE_LISTBOX=no'
11575 fi
11576
11577 else
11578
11579 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11580
11581 fi
11582
11583
11584 eval "$wx_cv_use_listbox"
11585
11586 if test x"$enablestring" = xdisable; then
11587 if test $wxUSE_LISTBOX = no; then
11588 result=yes
11589 else
11590 result=no
11591 fi
11592 else
11593 result=$wxUSE_LISTBOX
11594 fi
11595
11596 { echo "$as_me:$LINENO: result: $result" >&5
11597 echo "${ECHO_T}$result" >&6; }
11598
11599
11600 enablestring=
11601 defaultval=$wxUSE_ALL_FEATURES
11602 if test -z "$defaultval"; then
11603 if test x"$enablestring" = xdisable; then
11604 defaultval=yes
11605 else
11606 defaultval=no
11607 fi
11608 fi
11609
11610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
11611 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
11612 # Check whether --enable-listctrl was given.
11613 if test "${enable_listctrl+set}" = set; then
11614 enableval=$enable_listctrl;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11617 else
11618 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11619 fi
11620
11621 else
11622
11623 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11624
11625 fi
11626
11627
11628 eval "$wx_cv_use_listctrl"
11629
11630 if test x"$enablestring" = xdisable; then
11631 if test $wxUSE_LISTCTRL = no; then
11632 result=yes
11633 else
11634 result=no
11635 fi
11636 else
11637 result=$wxUSE_LISTCTRL
11638 fi
11639
11640 { echo "$as_me:$LINENO: result: $result" >&5
11641 echo "${ECHO_T}$result" >&6; }
11642
11643
11644 enablestring=
11645 defaultval=$wxUSE_ALL_FEATURES
11646 if test -z "$defaultval"; then
11647 if test x"$enablestring" = xdisable; then
11648 defaultval=yes
11649 else
11650 defaultval=no
11651 fi
11652 fi
11653
11654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11655 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11656 # Check whether --enable-notebook was given.
11657 if test "${enable_notebook+set}" = set; then
11658 enableval=$enable_notebook;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
11661 else
11662 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
11663 fi
11664
11665 else
11666
11667 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11668
11669 fi
11670
11671
11672 eval "$wx_cv_use_notebook"
11673
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_NOTEBOOK = no; then
11676 result=yes
11677 else
11678 result=no
11679 fi
11680 else
11681 result=$wxUSE_NOTEBOOK
11682 fi
11683
11684 { echo "$as_me:$LINENO: result: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11686
11687
11688 enablestring=
11689 defaultval=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x"$enablestring" = xdisable; then
11692 defaultval=yes
11693 else
11694 defaultval=no
11695 fi
11696 fi
11697
11698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11699 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11700 # Check whether --enable-notifmsg was given.
11701 if test "${enable_notifmsg+set}" = set; then
11702 enableval=$enable_notifmsg;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
11705 else
11706 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
11707 fi
11708
11709 else
11710
11711 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11712
11713 fi
11714
11715
11716 eval "$wx_cv_use_notifmsg"
11717
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11720 result=yes
11721 else
11722 result=no
11723 fi
11724 else
11725 result=$wxUSE_NOTIFICATION_MESSAGE
11726 fi
11727
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11730
11731
11732 enablestring=
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11736 defaultval=yes
11737 else
11738 defaultval=no
11739 fi
11740 fi
11741
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
11744 # Check whether --enable-odcombobox was given.
11745 if test "${enable_odcombobox+set}" = set; then
11746 enableval=$enable_odcombobox;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11749 else
11750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11751 fi
11752
11753 else
11754
11755 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11756
11757 fi
11758
11759
11760 eval "$wx_cv_use_odcombobox"
11761
11762 if test x"$enablestring" = xdisable; then
11763 if test $wxUSE_ODCOMBOBOX = no; then
11764 result=yes
11765 else
11766 result=no
11767 fi
11768 else
11769 result=$wxUSE_ODCOMBOBOX
11770 fi
11771
11772 { echo "$as_me:$LINENO: result: $result" >&5
11773 echo "${ECHO_T}$result" >&6; }
11774
11775
11776 enablestring=
11777 defaultval=$wxUSE_ALL_FEATURES
11778 if test -z "$defaultval"; then
11779 if test x"$enablestring" = xdisable; then
11780 defaultval=yes
11781 else
11782 defaultval=no
11783 fi
11784 fi
11785
11786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11787 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11788 # Check whether --enable-popupwin was given.
11789 if test "${enable_popupwin+set}" = set; then
11790 enableval=$enable_popupwin;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11793 else
11794 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
11795 fi
11796
11797 else
11798
11799 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11800
11801 fi
11802
11803
11804 eval "$wx_cv_use_popupwin"
11805
11806 if test x"$enablestring" = xdisable; then
11807 if test $wxUSE_POPUPWIN = no; then
11808 result=yes
11809 else
11810 result=no
11811 fi
11812 else
11813 result=$wxUSE_POPUPWIN
11814 fi
11815
11816 { echo "$as_me:$LINENO: result: $result" >&5
11817 echo "${ECHO_T}$result" >&6; }
11818
11819
11820 enablestring=
11821 defaultval=$wxUSE_ALL_FEATURES
11822 if test -z "$defaultval"; then
11823 if test x"$enablestring" = xdisable; then
11824 defaultval=yes
11825 else
11826 defaultval=no
11827 fi
11828 fi
11829
11830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11831 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11832 # Check whether --enable-radiobox was given.
11833 if test "${enable_radiobox+set}" = set; then
11834 enableval=$enable_radiobox;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11837 else
11838 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11839 fi
11840
11841 else
11842
11843 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11844
11845 fi
11846
11847
11848 eval "$wx_cv_use_radiobox"
11849
11850 if test x"$enablestring" = xdisable; then
11851 if test $wxUSE_RADIOBOX = no; then
11852 result=yes
11853 else
11854 result=no
11855 fi
11856 else
11857 result=$wxUSE_RADIOBOX
11858 fi
11859
11860 { echo "$as_me:$LINENO: result: $result" >&5
11861 echo "${ECHO_T}$result" >&6; }
11862
11863
11864 enablestring=
11865 defaultval=$wxUSE_ALL_FEATURES
11866 if test -z "$defaultval"; then
11867 if test x"$enablestring" = xdisable; then
11868 defaultval=yes
11869 else
11870 defaultval=no
11871 fi
11872 fi
11873
11874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11875 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11876 # Check whether --enable-radiobtn was given.
11877 if test "${enable_radiobtn+set}" = set; then
11878 enableval=$enable_radiobtn;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11881 else
11882 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11883 fi
11884
11885 else
11886
11887 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11888
11889 fi
11890
11891
11892 eval "$wx_cv_use_radiobtn"
11893
11894 if test x"$enablestring" = xdisable; then
11895 if test $wxUSE_RADIOBTN = no; then
11896 result=yes
11897 else
11898 result=no
11899 fi
11900 else
11901 result=$wxUSE_RADIOBTN
11902 fi
11903
11904 { echo "$as_me:$LINENO: result: $result" >&5
11905 echo "${ECHO_T}$result" >&6; }
11906
11907
11908 enablestring=
11909 defaultval=$wxUSE_ALL_FEATURES
11910 if test -z "$defaultval"; then
11911 if test x"$enablestring" = xdisable; then
11912 defaultval=yes
11913 else
11914 defaultval=no
11915 fi
11916 fi
11917
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11920 # Check whether --enable-richmsgdlg was given.
11921 if test "${enable_richmsgdlg+set}" = set; then
11922 enableval=$enable_richmsgdlg;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
11925 else
11926 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
11927 fi
11928
11929 else
11930
11931 wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11932
11933 fi
11934
11935
11936 eval "$wx_cv_use_richmsgdlg"
11937
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_RICHMSGDLG = no; then
11940 result=yes
11941 else
11942 result=no
11943 fi
11944 else
11945 result=$wxUSE_RICHMSGDLG
11946 fi
11947
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11950
11951
11952 enablestring=
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11956 defaultval=yes
11957 else
11958 defaultval=no
11959 fi
11960 fi
11961
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11964 # Check whether --enable-richtooltip was given.
11965 if test "${enable_richtooltip+set}" = set; then
11966 enableval=$enable_richtooltip;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
11969 else
11970 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
11971 fi
11972
11973 else
11974
11975 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11976
11977 fi
11978
11979
11980 eval "$wx_cv_use_richtooltip"
11981
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_RICHTOOLTIP = no; then
11984 result=yes
11985 else
11986 result=no
11987 fi
11988 else
11989 result=$wxUSE_RICHTOOLTIP
11990 fi
11991
11992 { echo "$as_me:$LINENO: result: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11994
11995
11996 enablestring=
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12000 defaultval=yes
12001 else
12002 defaultval=no
12003 fi
12004 fi
12005
12006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
12008 # Check whether --enable-rearrangectrl was given.
12009 if test "${enable_rearrangectrl+set}" = set; then
12010 enableval=$enable_rearrangectrl;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12013 else
12014 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12015 fi
12016
12017 else
12018
12019 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12020
12021 fi
12022
12023
12024 eval "$wx_cv_use_rearrangectrl"
12025
12026 if test x"$enablestring" = xdisable; then
12027 if test $wxUSE_REARRANGECTRL = no; then
12028 result=yes
12029 else
12030 result=no
12031 fi
12032 else
12033 result=$wxUSE_REARRANGECTRL
12034 fi
12035
12036 { echo "$as_me:$LINENO: result: $result" >&5
12037 echo "${ECHO_T}$result" >&6; }
12038
12039
12040 enablestring=
12041 defaultval=$wxUSE_ALL_FEATURES
12042 if test -z "$defaultval"; then
12043 if test x"$enablestring" = xdisable; then
12044 defaultval=yes
12045 else
12046 defaultval=no
12047 fi
12048 fi
12049
12050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12051 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12052 # Check whether --enable-sash was given.
12053 if test "${enable_sash+set}" = set; then
12054 enableval=$enable_sash;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_sash='wxUSE_SASH=yes'
12057 else
12058 wx_cv_use_sash='wxUSE_SASH=no'
12059 fi
12060
12061 else
12062
12063 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12064
12065 fi
12066
12067
12068 eval "$wx_cv_use_sash"
12069
12070 if test x"$enablestring" = xdisable; then
12071 if test $wxUSE_SASH = no; then
12072 result=yes
12073 else
12074 result=no
12075 fi
12076 else
12077 result=$wxUSE_SASH
12078 fi
12079
12080 { echo "$as_me:$LINENO: result: $result" >&5
12081 echo "${ECHO_T}$result" >&6; }
12082
12083
12084 enablestring=
12085 defaultval=$wxUSE_ALL_FEATURES
12086 if test -z "$defaultval"; then
12087 if test x"$enablestring" = xdisable; then
12088 defaultval=yes
12089 else
12090 defaultval=no
12091 fi
12092 fi
12093
12094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12095 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12096 # Check whether --enable-scrollbar was given.
12097 if test "${enable_scrollbar+set}" = set; then
12098 enableval=$enable_scrollbar;
12099 if test "$enableval" = yes; then
12100 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
12101 else
12102 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
12103 fi
12104
12105 else
12106
12107 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12108
12109 fi
12110
12111
12112 eval "$wx_cv_use_scrollbar"
12113
12114 if test x"$enablestring" = xdisable; then
12115 if test $wxUSE_SCROLLBAR = no; then
12116 result=yes
12117 else
12118 result=no
12119 fi
12120 else
12121 result=$wxUSE_SCROLLBAR
12122 fi
12123
12124 { echo "$as_me:$LINENO: result: $result" >&5
12125 echo "${ECHO_T}$result" >&6; }
12126
12127
12128 enablestring=
12129 defaultval=$wxUSE_ALL_FEATURES
12130 if test -z "$defaultval"; then
12131 if test x"$enablestring" = xdisable; then
12132 defaultval=yes
12133 else
12134 defaultval=no
12135 fi
12136 fi
12137
12138 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12139 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12140 # Check whether --enable-searchctrl was given.
12141 if test "${enable_searchctrl+set}" = set; then
12142 enableval=$enable_searchctrl;
12143 if test "$enableval" = yes; then
12144 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12145 else
12146 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12147 fi
12148
12149 else
12150
12151 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12152
12153 fi
12154
12155
12156 eval "$wx_cv_use_searchctrl"
12157
12158 if test x"$enablestring" = xdisable; then
12159 if test $wxUSE_SEARCHCTRL = no; then
12160 result=yes
12161 else
12162 result=no
12163 fi
12164 else
12165 result=$wxUSE_SEARCHCTRL
12166 fi
12167
12168 { echo "$as_me:$LINENO: result: $result" >&5
12169 echo "${ECHO_T}$result" >&6; }
12170
12171
12172 enablestring=
12173 defaultval=$wxUSE_ALL_FEATURES
12174 if test -z "$defaultval"; then
12175 if test x"$enablestring" = xdisable; then
12176 defaultval=yes
12177 else
12178 defaultval=no
12179 fi
12180 fi
12181
12182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12183 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12184 # Check whether --enable-slider was given.
12185 if test "${enable_slider+set}" = set; then
12186 enableval=$enable_slider;
12187 if test "$enableval" = yes; then
12188 wx_cv_use_slider='wxUSE_SLIDER=yes'
12189 else
12190 wx_cv_use_slider='wxUSE_SLIDER=no'
12191 fi
12192
12193 else
12194
12195 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12196
12197 fi
12198
12199
12200 eval "$wx_cv_use_slider"
12201
12202 if test x"$enablestring" = xdisable; then
12203 if test $wxUSE_SLIDER = no; then
12204 result=yes
12205 else
12206 result=no
12207 fi
12208 else
12209 result=$wxUSE_SLIDER
12210 fi
12211
12212 { echo "$as_me:$LINENO: result: $result" >&5
12213 echo "${ECHO_T}$result" >&6; }
12214
12215
12216 enablestring=
12217 defaultval=$wxUSE_ALL_FEATURES
12218 if test -z "$defaultval"; then
12219 if test x"$enablestring" = xdisable; then
12220 defaultval=yes
12221 else
12222 defaultval=no
12223 fi
12224 fi
12225
12226 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12227 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12228 # Check whether --enable-spinbtn was given.
12229 if test "${enable_spinbtn+set}" = set; then
12230 enableval=$enable_spinbtn;
12231 if test "$enableval" = yes; then
12232 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
12233 else
12234 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
12235 fi
12236
12237 else
12238
12239 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12240
12241 fi
12242
12243
12244 eval "$wx_cv_use_spinbtn"
12245
12246 if test x"$enablestring" = xdisable; then
12247 if test $wxUSE_SPINBTN = no; then
12248 result=yes
12249 else
12250 result=no
12251 fi
12252 else
12253 result=$wxUSE_SPINBTN
12254 fi
12255
12256 { echo "$as_me:$LINENO: result: $result" >&5
12257 echo "${ECHO_T}$result" >&6; }
12258
12259
12260 enablestring=
12261 defaultval=$wxUSE_ALL_FEATURES
12262 if test -z "$defaultval"; then
12263 if test x"$enablestring" = xdisable; then
12264 defaultval=yes
12265 else
12266 defaultval=no
12267 fi
12268 fi
12269
12270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12271 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12272 # Check whether --enable-spinctrl was given.
12273 if test "${enable_spinctrl+set}" = set; then
12274 enableval=$enable_spinctrl;
12275 if test "$enableval" = yes; then
12276 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12277 else
12278 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12279 fi
12280
12281 else
12282
12283 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12284
12285 fi
12286
12287
12288 eval "$wx_cv_use_spinctrl"
12289
12290 if test x"$enablestring" = xdisable; then
12291 if test $wxUSE_SPINCTRL = no; then
12292 result=yes
12293 else
12294 result=no
12295 fi
12296 else
12297 result=$wxUSE_SPINCTRL
12298 fi
12299
12300 { echo "$as_me:$LINENO: result: $result" >&5
12301 echo "${ECHO_T}$result" >&6; }
12302
12303
12304 enablestring=
12305 defaultval=$wxUSE_ALL_FEATURES
12306 if test -z "$defaultval"; then
12307 if test x"$enablestring" = xdisable; then
12308 defaultval=yes
12309 else
12310 defaultval=no
12311 fi
12312 fi
12313
12314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12315 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12316 # Check whether --enable-splitter was given.
12317 if test "${enable_splitter+set}" = set; then
12318 enableval=$enable_splitter;
12319 if test "$enableval" = yes; then
12320 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12321 else
12322 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12323 fi
12324
12325 else
12326
12327 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12328
12329 fi
12330
12331
12332 eval "$wx_cv_use_splitter"
12333
12334 if test x"$enablestring" = xdisable; then
12335 if test $wxUSE_SPLITTER = no; then
12336 result=yes
12337 else
12338 result=no
12339 fi
12340 else
12341 result=$wxUSE_SPLITTER
12342 fi
12343
12344 { echo "$as_me:$LINENO: result: $result" >&5
12345 echo "${ECHO_T}$result" >&6; }
12346
12347
12348 enablestring=
12349 defaultval=$wxUSE_ALL_FEATURES
12350 if test -z "$defaultval"; then
12351 if test x"$enablestring" = xdisable; then
12352 defaultval=yes
12353 else
12354 defaultval=no
12355 fi
12356 fi
12357
12358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12359 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12360 # Check whether --enable-statbmp was given.
12361 if test "${enable_statbmp+set}" = set; then
12362 enableval=$enable_statbmp;
12363 if test "$enableval" = yes; then
12364 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
12365 else
12366 wx_cv_use_statbmp='wxUSE_STATBMP=no'
12367 fi
12368
12369 else
12370
12371 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12372
12373 fi
12374
12375
12376 eval "$wx_cv_use_statbmp"
12377
12378 if test x"$enablestring" = xdisable; then
12379 if test $wxUSE_STATBMP = no; then
12380 result=yes
12381 else
12382 result=no
12383 fi
12384 else
12385 result=$wxUSE_STATBMP
12386 fi
12387
12388 { echo "$as_me:$LINENO: result: $result" >&5
12389 echo "${ECHO_T}$result" >&6; }
12390
12391
12392 enablestring=
12393 defaultval=$wxUSE_ALL_FEATURES
12394 if test -z "$defaultval"; then
12395 if test x"$enablestring" = xdisable; then
12396 defaultval=yes
12397 else
12398 defaultval=no
12399 fi
12400 fi
12401
12402 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12403 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12404 # Check whether --enable-statbox was given.
12405 if test "${enable_statbox+set}" = set; then
12406 enableval=$enable_statbox;
12407 if test "$enableval" = yes; then
12408 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12409 else
12410 wx_cv_use_statbox='wxUSE_STATBOX=no'
12411 fi
12412
12413 else
12414
12415 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12416
12417 fi
12418
12419
12420 eval "$wx_cv_use_statbox"
12421
12422 if test x"$enablestring" = xdisable; then
12423 if test $wxUSE_STATBOX = no; then
12424 result=yes
12425 else
12426 result=no
12427 fi
12428 else
12429 result=$wxUSE_STATBOX
12430 fi
12431
12432 { echo "$as_me:$LINENO: result: $result" >&5
12433 echo "${ECHO_T}$result" >&6; }
12434
12435
12436 enablestring=
12437 defaultval=$wxUSE_ALL_FEATURES
12438 if test -z "$defaultval"; then
12439 if test x"$enablestring" = xdisable; then
12440 defaultval=yes
12441 else
12442 defaultval=no
12443 fi
12444 fi
12445
12446 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12447 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12448 # Check whether --enable-statline was given.
12449 if test "${enable_statline+set}" = set; then
12450 enableval=$enable_statline;
12451 if test "$enableval" = yes; then
12452 wx_cv_use_statline='wxUSE_STATLINE=yes'
12453 else
12454 wx_cv_use_statline='wxUSE_STATLINE=no'
12455 fi
12456
12457 else
12458
12459 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12460
12461 fi
12462
12463
12464 eval "$wx_cv_use_statline"
12465
12466 if test x"$enablestring" = xdisable; then
12467 if test $wxUSE_STATLINE = no; then
12468 result=yes
12469 else
12470 result=no
12471 fi
12472 else
12473 result=$wxUSE_STATLINE
12474 fi
12475
12476 { echo "$as_me:$LINENO: result: $result" >&5
12477 echo "${ECHO_T}$result" >&6; }
12478
12479
12480 enablestring=
12481 defaultval=$wxUSE_ALL_FEATURES
12482 if test -z "$defaultval"; then
12483 if test x"$enablestring" = xdisable; then
12484 defaultval=yes
12485 else
12486 defaultval=no
12487 fi
12488 fi
12489
12490 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12491 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12492 # Check whether --enable-stattext was given.
12493 if test "${enable_stattext+set}" = set; then
12494 enableval=$enable_stattext;
12495 if test "$enableval" = yes; then
12496 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
12497 else
12498 wx_cv_use_stattext='wxUSE_STATTEXT=no'
12499 fi
12500
12501 else
12502
12503 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12504
12505 fi
12506
12507
12508 eval "$wx_cv_use_stattext"
12509
12510 if test x"$enablestring" = xdisable; then
12511 if test $wxUSE_STATTEXT = no; then
12512 result=yes
12513 else
12514 result=no
12515 fi
12516 else
12517 result=$wxUSE_STATTEXT
12518 fi
12519
12520 { echo "$as_me:$LINENO: result: $result" >&5
12521 echo "${ECHO_T}$result" >&6; }
12522
12523
12524 enablestring=
12525 defaultval=$wxUSE_ALL_FEATURES
12526 if test -z "$defaultval"; then
12527 if test x"$enablestring" = xdisable; then
12528 defaultval=yes
12529 else
12530 defaultval=no
12531 fi
12532 fi
12533
12534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12535 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12536 # Check whether --enable-statusbar was given.
12537 if test "${enable_statusbar+set}" = set; then
12538 enableval=$enable_statusbar;
12539 if test "$enableval" = yes; then
12540 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12541 else
12542 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12543 fi
12544
12545 else
12546
12547 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12548
12549 fi
12550
12551
12552 eval "$wx_cv_use_statusbar"
12553
12554 if test x"$enablestring" = xdisable; then
12555 if test $wxUSE_STATUSBAR = no; then
12556 result=yes
12557 else
12558 result=no
12559 fi
12560 else
12561 result=$wxUSE_STATUSBAR
12562 fi
12563
12564 { echo "$as_me:$LINENO: result: $result" >&5
12565 echo "${ECHO_T}$result" >&6; }
12566
12567
12568 enablestring=
12569 defaultval=$wxUSE_ALL_FEATURES
12570 if test -z "$defaultval"; then
12571 if test x"$enablestring" = xdisable; then
12572 defaultval=yes
12573 else
12574 defaultval=no
12575 fi
12576 fi
12577
12578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12579 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12580 # Check whether --enable-taskbaricon was given.
12581 if test "${enable_taskbaricon+set}" = set; then
12582 enableval=$enable_taskbaricon;
12583 if test "$enableval" = yes; then
12584 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12585 else
12586 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12587 fi
12588
12589 else
12590
12591 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12592
12593 fi
12594
12595
12596 eval "$wx_cv_use_taskbaricon"
12597
12598 if test x"$enablestring" = xdisable; then
12599 if test $wxUSE_TASKBARICON = no; then
12600 result=yes
12601 else
12602 result=no
12603 fi
12604 else
12605 result=$wxUSE_TASKBARICON
12606 fi
12607
12608 { echo "$as_me:$LINENO: result: $result" >&5
12609 echo "${ECHO_T}$result" >&6; }
12610
12611
12612 enablestring=
12613 defaultval=$wxUSE_ALL_FEATURES
12614 if test -z "$defaultval"; then
12615 if test x"$enablestring" = xdisable; then
12616 defaultval=yes
12617 else
12618 defaultval=no
12619 fi
12620 fi
12621
12622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12623 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12624 # Check whether --enable-tbarnative was given.
12625 if test "${enable_tbarnative+set}" = set; then
12626 enableval=$enable_tbarnative;
12627 if test "$enableval" = yes; then
12628 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
12629 else
12630 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
12631 fi
12632
12633 else
12634
12635 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12636
12637 fi
12638
12639
12640 eval "$wx_cv_use_tbarnative"
12641
12642 if test x"$enablestring" = xdisable; then
12643 if test $wxUSE_TOOLBAR_NATIVE = no; then
12644 result=yes
12645 else
12646 result=no
12647 fi
12648 else
12649 result=$wxUSE_TOOLBAR_NATIVE
12650 fi
12651
12652 { echo "$as_me:$LINENO: result: $result" >&5
12653 echo "${ECHO_T}$result" >&6; }
12654
12655
12656 enablestring=
12657 defaultval=$wxUSE_ALL_FEATURES
12658 if test -z "$defaultval"; then
12659 if test x"$enablestring" = xdisable; then
12660 defaultval=yes
12661 else
12662 defaultval=no
12663 fi
12664 fi
12665
12666 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12667 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12668 # Check whether --enable-textctrl was given.
12669 if test "${enable_textctrl+set}" = set; then
12670 enableval=$enable_textctrl;
12671 if test "$enableval" = yes; then
12672 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12673 else
12674 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12675 fi
12676
12677 else
12678
12679 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12680
12681 fi
12682
12683
12684 eval "$wx_cv_use_textctrl"
12685
12686 if test x"$enablestring" = xdisable; then
12687 if test $wxUSE_TEXTCTRL = no; then
12688 result=yes
12689 else
12690 result=no
12691 fi
12692 else
12693 result=$wxUSE_TEXTCTRL
12694 fi
12695
12696 { echo "$as_me:$LINENO: result: $result" >&5
12697 echo "${ECHO_T}$result" >&6; }
12698
12699
12700 enablestring=
12701 defaultval=$wxUSE_ALL_FEATURES
12702 if test -z "$defaultval"; then
12703 if test x"$enablestring" = xdisable; then
12704 defaultval=yes
12705 else
12706 defaultval=no
12707 fi
12708 fi
12709
12710 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12711 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12712 # Check whether --enable-datepick was given.
12713 if test "${enable_datepick+set}" = set; then
12714 enableval=$enable_datepick;
12715 if test "$enableval" = yes; then
12716 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
12717 else
12718 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
12719 fi
12720
12721 else
12722
12723 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12724
12725 fi
12726
12727
12728 eval "$wx_cv_use_datepick"
12729
12730 if test x"$enablestring" = xdisable; then
12731 if test $wxUSE_TIMEPICKCTRL = no; then
12732 result=yes
12733 else
12734 result=no
12735 fi
12736 else
12737 result=$wxUSE_TIMEPICKCTRL
12738 fi
12739
12740 { echo "$as_me:$LINENO: result: $result" >&5
12741 echo "${ECHO_T}$result" >&6; }
12742
12743
12744 enablestring=
12745 defaultval=$wxUSE_ALL_FEATURES
12746 if test -z "$defaultval"; then
12747 if test x"$enablestring" = xdisable; then
12748 defaultval=yes
12749 else
12750 defaultval=no
12751 fi
12752 fi
12753
12754 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12755 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12756 # Check whether --enable-tipwindow was given.
12757 if test "${enable_tipwindow+set}" = set; then
12758 enableval=$enable_tipwindow;
12759 if test "$enableval" = yes; then
12760 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12761 else
12762 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12763 fi
12764
12765 else
12766
12767 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12768
12769 fi
12770
12771
12772 eval "$wx_cv_use_tipwindow"
12773
12774 if test x"$enablestring" = xdisable; then
12775 if test $wxUSE_TIPWINDOW = no; then
12776 result=yes
12777 else
12778 result=no
12779 fi
12780 else
12781 result=$wxUSE_TIPWINDOW
12782 fi
12783
12784 { echo "$as_me:$LINENO: result: $result" >&5
12785 echo "${ECHO_T}$result" >&6; }
12786
12787
12788 enablestring=
12789 defaultval=$wxUSE_ALL_FEATURES
12790 if test -z "$defaultval"; then
12791 if test x"$enablestring" = xdisable; then
12792 defaultval=yes
12793 else
12794 defaultval=no
12795 fi
12796 fi
12797
12798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12799 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12800 # Check whether --enable-togglebtn was given.
12801 if test "${enable_togglebtn+set}" = set; then
12802 enableval=$enable_togglebtn;
12803 if test "$enableval" = yes; then
12804 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12805 else
12806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12807 fi
12808
12809 else
12810
12811 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12812
12813 fi
12814
12815
12816 eval "$wx_cv_use_togglebtn"
12817
12818 if test x"$enablestring" = xdisable; then
12819 if test $wxUSE_TOGGLEBTN = no; then
12820 result=yes
12821 else
12822 result=no
12823 fi
12824 else
12825 result=$wxUSE_TOGGLEBTN
12826 fi
12827
12828 { echo "$as_me:$LINENO: result: $result" >&5
12829 echo "${ECHO_T}$result" >&6; }
12830
12831
12832 enablestring=
12833 defaultval=$wxUSE_ALL_FEATURES
12834 if test -z "$defaultval"; then
12835 if test x"$enablestring" = xdisable; then
12836 defaultval=yes
12837 else
12838 defaultval=no
12839 fi
12840 fi
12841
12842 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12843 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12844 # Check whether --enable-toolbar was given.
12845 if test "${enable_toolbar+set}" = set; then
12846 enableval=$enable_toolbar;
12847 if test "$enableval" = yes; then
12848 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12849 else
12850 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12851 fi
12852
12853 else
12854
12855 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12856
12857 fi
12858
12859
12860 eval "$wx_cv_use_toolbar"
12861
12862 if test x"$enablestring" = xdisable; then
12863 if test $wxUSE_TOOLBAR = no; then
12864 result=yes
12865 else
12866 result=no
12867 fi
12868 else
12869 result=$wxUSE_TOOLBAR
12870 fi
12871
12872 { echo "$as_me:$LINENO: result: $result" >&5
12873 echo "${ECHO_T}$result" >&6; }
12874
12875
12876 enablestring=
12877 defaultval=$wxUSE_ALL_FEATURES
12878 if test -z "$defaultval"; then
12879 if test x"$enablestring" = xdisable; then
12880 defaultval=yes
12881 else
12882 defaultval=no
12883 fi
12884 fi
12885
12886 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12887 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12888 # Check whether --enable-toolbook was given.
12889 if test "${enable_toolbook+set}" = set; then
12890 enableval=$enable_toolbook;
12891 if test "$enableval" = yes; then
12892 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
12893 else
12894 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
12895 fi
12896
12897 else
12898
12899 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12900
12901 fi
12902
12903
12904 eval "$wx_cv_use_toolbook"
12905
12906 if test x"$enablestring" = xdisable; then
12907 if test $wxUSE_TOOLBOOK = no; then
12908 result=yes
12909 else
12910 result=no
12911 fi
12912 else
12913 result=$wxUSE_TOOLBOOK
12914 fi
12915
12916 { echo "$as_me:$LINENO: result: $result" >&5
12917 echo "${ECHO_T}$result" >&6; }
12918
12919
12920 enablestring=
12921 defaultval=$wxUSE_ALL_FEATURES
12922 if test -z "$defaultval"; then
12923 if test x"$enablestring" = xdisable; then
12924 defaultval=yes
12925 else
12926 defaultval=no
12927 fi
12928 fi
12929
12930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12931 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12932 # Check whether --enable-treebook was given.
12933 if test "${enable_treebook+set}" = set; then
12934 enableval=$enable_treebook;
12935 if test "$enableval" = yes; then
12936 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12937 else
12938 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12939 fi
12940
12941 else
12942
12943 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12944
12945 fi
12946
12947
12948 eval "$wx_cv_use_treebook"
12949
12950 if test x"$enablestring" = xdisable; then
12951 if test $wxUSE_TREEBOOK = no; then
12952 result=yes
12953 else
12954 result=no
12955 fi
12956 else
12957 result=$wxUSE_TREEBOOK
12958 fi
12959
12960 { echo "$as_me:$LINENO: result: $result" >&5
12961 echo "${ECHO_T}$result" >&6; }
12962
12963
12964 enablestring=
12965 defaultval=$wxUSE_ALL_FEATURES
12966 if test -z "$defaultval"; then
12967 if test x"$enablestring" = xdisable; then
12968 defaultval=yes
12969 else
12970 defaultval=no
12971 fi
12972 fi
12973
12974 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12975 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12976 # Check whether --enable-treectrl was given.
12977 if test "${enable_treectrl+set}" = set; then
12978 enableval=$enable_treectrl;
12979 if test "$enableval" = yes; then
12980 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12981 else
12982 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12983 fi
12984
12985 else
12986
12987 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12988
12989 fi
12990
12991
12992 eval "$wx_cv_use_treectrl"
12993
12994 if test x"$enablestring" = xdisable; then
12995 if test $wxUSE_TREECTRL = no; then
12996 result=yes
12997 else
12998 result=no
12999 fi
13000 else
13001 result=$wxUSE_TREECTRL
13002 fi
13003
13004 { echo "$as_me:$LINENO: result: $result" >&5
13005 echo "${ECHO_T}$result" >&6; }
13006
13007
13008 enablestring=
13009 defaultval=$wxUSE_ALL_FEATURES
13010 if test -z "$defaultval"; then
13011 if test x"$enablestring" = xdisable; then
13012 defaultval=yes
13013 else
13014 defaultval=no
13015 fi
13016 fi
13017
13018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13019 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13020 # Check whether --enable-treelist was given.
13021 if test "${enable_treelist+set}" = set; then
13022 enableval=$enable_treelist;
13023 if test "$enableval" = yes; then
13024 wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
13025 else
13026 wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
13027 fi
13028
13029 else
13030
13031 wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13032
13033 fi
13034
13035
13036 eval "$wx_cv_use_treelist"
13037
13038 if test x"$enablestring" = xdisable; then
13039 if test $wxUSE_TREELISTCTRL = no; then
13040 result=yes
13041 else
13042 result=no
13043 fi
13044 else
13045 result=$wxUSE_TREELISTCTRL
13046 fi
13047
13048 { echo "$as_me:$LINENO: result: $result" >&5
13049 echo "${ECHO_T}$result" >&6; }
13050
13051
13052
13053
13054 enablestring=
13055 defaultval=$wxUSE_ALL_FEATURES
13056 if test -z "$defaultval"; then
13057 if test x"$enablestring" = xdisable; then
13058 defaultval=yes
13059 else
13060 defaultval=no
13061 fi
13062 fi
13063
13064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
13065 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
13066 # Check whether --enable-commondlg was given.
13067 if test "${enable_commondlg+set}" = set; then
13068 enableval=$enable_commondlg;
13069 if test "$enableval" = yes; then
13070 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13071 else
13072 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13073 fi
13074
13075 else
13076
13077 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13078
13079 fi
13080
13081
13082 eval "$wx_cv_use_commondlg"
13083
13084 if test x"$enablestring" = xdisable; then
13085 if test $wxUSE_COMMONDLGS = no; then
13086 result=yes
13087 else
13088 result=no
13089 fi
13090 else
13091 result=$wxUSE_COMMONDLGS
13092 fi
13093
13094 { echo "$as_me:$LINENO: result: $result" >&5
13095 echo "${ECHO_T}$result" >&6; }
13096
13097
13098 enablestring=
13099 defaultval=$wxUSE_ALL_FEATURES
13100 if test -z "$defaultval"; then
13101 if test x"$enablestring" = xdisable; then
13102 defaultval=yes
13103 else
13104 defaultval=no
13105 fi
13106 fi
13107
13108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13109 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13110 # Check whether --enable-aboutdlg was given.
13111 if test "${enable_aboutdlg+set}" = set; then
13112 enableval=$enable_aboutdlg;
13113 if test "$enableval" = yes; then
13114 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13115 else
13116 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13117 fi
13118
13119 else
13120
13121 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13122
13123 fi
13124
13125
13126 eval "$wx_cv_use_aboutdlg"
13127
13128 if test x"$enablestring" = xdisable; then
13129 if test $wxUSE_ABOUTDLG = no; then
13130 result=yes
13131 else
13132 result=no
13133 fi
13134 else
13135 result=$wxUSE_ABOUTDLG
13136 fi
13137
13138 { echo "$as_me:$LINENO: result: $result" >&5
13139 echo "${ECHO_T}$result" >&6; }
13140
13141
13142 enablestring=
13143 defaultval=$wxUSE_ALL_FEATURES
13144 if test -z "$defaultval"; then
13145 if test x"$enablestring" = xdisable; then
13146 defaultval=yes
13147 else
13148 defaultval=no
13149 fi
13150 fi
13151
13152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13153 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13154 # Check whether --enable-choicedlg was given.
13155 if test "${enable_choicedlg+set}" = set; then
13156 enableval=$enable_choicedlg;
13157 if test "$enableval" = yes; then
13158 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
13159 else
13160 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
13161 fi
13162
13163 else
13164
13165 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13166
13167 fi
13168
13169
13170 eval "$wx_cv_use_choicedlg"
13171
13172 if test x"$enablestring" = xdisable; then
13173 if test $wxUSE_CHOICEDLG = no; then
13174 result=yes
13175 else
13176 result=no
13177 fi
13178 else
13179 result=$wxUSE_CHOICEDLG
13180 fi
13181
13182 { echo "$as_me:$LINENO: result: $result" >&5
13183 echo "${ECHO_T}$result" >&6; }
13184
13185
13186 enablestring=
13187 defaultval=$wxUSE_ALL_FEATURES
13188 if test -z "$defaultval"; then
13189 if test x"$enablestring" = xdisable; then
13190 defaultval=yes
13191 else
13192 defaultval=no
13193 fi
13194 fi
13195
13196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13197 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13198 # Check whether --enable-coldlg was given.
13199 if test "${enable_coldlg+set}" = set; then
13200 enableval=$enable_coldlg;
13201 if test "$enableval" = yes; then
13202 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13203 else
13204 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13205 fi
13206
13207 else
13208
13209 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13210
13211 fi
13212
13213
13214 eval "$wx_cv_use_coldlg"
13215
13216 if test x"$enablestring" = xdisable; then
13217 if test $wxUSE_COLOURDLG = no; then
13218 result=yes
13219 else
13220 result=no
13221 fi
13222 else
13223 result=$wxUSE_COLOURDLG
13224 fi
13225
13226 { echo "$as_me:$LINENO: result: $result" >&5
13227 echo "${ECHO_T}$result" >&6; }
13228
13229
13230 enablestring=
13231 defaultval=$wxUSE_ALL_FEATURES
13232 if test -z "$defaultval"; then
13233 if test x"$enablestring" = xdisable; then
13234 defaultval=yes
13235 else
13236 defaultval=no
13237 fi
13238 fi
13239
13240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13241 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13242 # Check whether --enable-filedlg was given.
13243 if test "${enable_filedlg+set}" = set; then
13244 enableval=$enable_filedlg;
13245 if test "$enableval" = yes; then
13246 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13247 else
13248 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13249 fi
13250
13251 else
13252
13253 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13254
13255 fi
13256
13257
13258 eval "$wx_cv_use_filedlg"
13259
13260 if test x"$enablestring" = xdisable; then
13261 if test $wxUSE_FILEDLG = no; then
13262 result=yes
13263 else
13264 result=no
13265 fi
13266 else
13267 result=$wxUSE_FILEDLG
13268 fi
13269
13270 { echo "$as_me:$LINENO: result: $result" >&5
13271 echo "${ECHO_T}$result" >&6; }
13272
13273
13274 enablestring=
13275 defaultval=$wxUSE_ALL_FEATURES
13276 if test -z "$defaultval"; then
13277 if test x"$enablestring" = xdisable; then
13278 defaultval=yes
13279 else
13280 defaultval=no
13281 fi
13282 fi
13283
13284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13285 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13286 # Check whether --enable-finddlg was given.
13287 if test "${enable_finddlg+set}" = set; then
13288 enableval=$enable_finddlg;
13289 if test "$enableval" = yes; then
13290 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
13291 else
13292 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
13293 fi
13294
13295 else
13296
13297 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13298
13299 fi
13300
13301
13302 eval "$wx_cv_use_finddlg"
13303
13304 if test x"$enablestring" = xdisable; then
13305 if test $wxUSE_FINDREPLDLG = no; then
13306 result=yes
13307 else
13308 result=no
13309 fi
13310 else
13311 result=$wxUSE_FINDREPLDLG
13312 fi
13313
13314 { echo "$as_me:$LINENO: result: $result" >&5
13315 echo "${ECHO_T}$result" >&6; }
13316
13317
13318 enablestring=
13319 defaultval=$wxUSE_ALL_FEATURES
13320 if test -z "$defaultval"; then
13321 if test x"$enablestring" = xdisable; then
13322 defaultval=yes
13323 else
13324 defaultval=no
13325 fi
13326 fi
13327
13328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13329 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13330 # Check whether --enable-fontdlg was given.
13331 if test "${enable_fontdlg+set}" = set; then
13332 enableval=$enable_fontdlg;
13333 if test "$enableval" = yes; then
13334 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13335 else
13336 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13337 fi
13338
13339 else
13340
13341 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13342
13343 fi
13344
13345
13346 eval "$wx_cv_use_fontdlg"
13347
13348 if test x"$enablestring" = xdisable; then
13349 if test $wxUSE_FONTDLG = no; then
13350 result=yes
13351 else
13352 result=no
13353 fi
13354 else
13355 result=$wxUSE_FONTDLG
13356 fi
13357
13358 { echo "$as_me:$LINENO: result: $result" >&5
13359 echo "${ECHO_T}$result" >&6; }
13360
13361
13362 enablestring=
13363 defaultval=$wxUSE_ALL_FEATURES
13364 if test -z "$defaultval"; then
13365 if test x"$enablestring" = xdisable; then
13366 defaultval=yes
13367 else
13368 defaultval=no
13369 fi
13370 fi
13371
13372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13373 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13374 # Check whether --enable-dirdlg was given.
13375 if test "${enable_dirdlg+set}" = set; then
13376 enableval=$enable_dirdlg;
13377 if test "$enableval" = yes; then
13378 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13379 else
13380 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13381 fi
13382
13383 else
13384
13385 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13386
13387 fi
13388
13389
13390 eval "$wx_cv_use_dirdlg"
13391
13392 if test x"$enablestring" = xdisable; then
13393 if test $wxUSE_DIRDLG = no; then
13394 result=yes
13395 else
13396 result=no
13397 fi
13398 else
13399 result=$wxUSE_DIRDLG
13400 fi
13401
13402 { echo "$as_me:$LINENO: result: $result" >&5
13403 echo "${ECHO_T}$result" >&6; }
13404
13405
13406 enablestring=
13407 defaultval=$wxUSE_ALL_FEATURES
13408 if test -z "$defaultval"; then
13409 if test x"$enablestring" = xdisable; then
13410 defaultval=yes
13411 else
13412 defaultval=no
13413 fi
13414 fi
13415
13416 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13417 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13418 # Check whether --enable-msgdlg was given.
13419 if test "${enable_msgdlg+set}" = set; then
13420 enableval=$enable_msgdlg;
13421 if test "$enableval" = yes; then
13422 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
13423 else
13424 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
13425 fi
13426
13427 else
13428
13429 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13430
13431 fi
13432
13433
13434 eval "$wx_cv_use_msgdlg"
13435
13436 if test x"$enablestring" = xdisable; then
13437 if test $wxUSE_MSGDLG = no; then
13438 result=yes
13439 else
13440 result=no
13441 fi
13442 else
13443 result=$wxUSE_MSGDLG
13444 fi
13445
13446 { echo "$as_me:$LINENO: result: $result" >&5
13447 echo "${ECHO_T}$result" >&6; }
13448
13449
13450 enablestring=
13451 defaultval=$wxUSE_ALL_FEATURES
13452 if test -z "$defaultval"; then
13453 if test x"$enablestring" = xdisable; then
13454 defaultval=yes
13455 else
13456 defaultval=no
13457 fi
13458 fi
13459
13460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13461 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13462 # Check whether --enable-numberdlg was given.
13463 if test "${enable_numberdlg+set}" = set; then
13464 enableval=$enable_numberdlg;
13465 if test "$enableval" = yes; then
13466 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13467 else
13468 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13469 fi
13470
13471 else
13472
13473 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13474
13475 fi
13476
13477
13478 eval "$wx_cv_use_numberdlg"
13479
13480 if test x"$enablestring" = xdisable; then
13481 if test $wxUSE_NUMBERDLG = no; then
13482 result=yes
13483 else
13484 result=no
13485 fi
13486 else
13487 result=$wxUSE_NUMBERDLG
13488 fi
13489
13490 { echo "$as_me:$LINENO: result: $result" >&5
13491 echo "${ECHO_T}$result" >&6; }
13492
13493
13494 enablestring=
13495 defaultval=$wxUSE_ALL_FEATURES
13496 if test -z "$defaultval"; then
13497 if test x"$enablestring" = xdisable; then
13498 defaultval=yes
13499 else
13500 defaultval=no
13501 fi
13502 fi
13503
13504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13505 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13506 # Check whether --enable-splash was given.
13507 if test "${enable_splash+set}" = set; then
13508 enableval=$enable_splash;
13509 if test "$enableval" = yes; then
13510 wx_cv_use_splash='wxUSE_SPLASH=yes'
13511 else
13512 wx_cv_use_splash='wxUSE_SPLASH=no'
13513 fi
13514
13515 else
13516
13517 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13518
13519 fi
13520
13521
13522 eval "$wx_cv_use_splash"
13523
13524 if test x"$enablestring" = xdisable; then
13525 if test $wxUSE_SPLASH = no; then
13526 result=yes
13527 else
13528 result=no
13529 fi
13530 else
13531 result=$wxUSE_SPLASH
13532 fi
13533
13534 { echo "$as_me:$LINENO: result: $result" >&5
13535 echo "${ECHO_T}$result" >&6; }
13536
13537
13538 enablestring=
13539 defaultval=$wxUSE_ALL_FEATURES
13540 if test -z "$defaultval"; then
13541 if test x"$enablestring" = xdisable; then
13542 defaultval=yes
13543 else
13544 defaultval=no
13545 fi
13546 fi
13547
13548 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13549 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13550 # Check whether --enable-textdlg was given.
13551 if test "${enable_textdlg+set}" = set; then
13552 enableval=$enable_textdlg;
13553 if test "$enableval" = yes; then
13554 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
13555 else
13556 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
13557 fi
13558
13559 else
13560
13561 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13562
13563 fi
13564
13565
13566 eval "$wx_cv_use_textdlg"
13567
13568 if test x"$enablestring" = xdisable; then
13569 if test $wxUSE_TEXTDLG = no; then
13570 result=yes
13571 else
13572 result=no
13573 fi
13574 else
13575 result=$wxUSE_TEXTDLG
13576 fi
13577
13578 { echo "$as_me:$LINENO: result: $result" >&5
13579 echo "${ECHO_T}$result" >&6; }
13580
13581
13582 enablestring=
13583 defaultval=$wxUSE_ALL_FEATURES
13584 if test -z "$defaultval"; then
13585 if test x"$enablestring" = xdisable; then
13586 defaultval=yes
13587 else
13588 defaultval=no
13589 fi
13590 fi
13591
13592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13593 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13594 # Check whether --enable-tipdlg was given.
13595 if test "${enable_tipdlg+set}" = set; then
13596 enableval=$enable_tipdlg;
13597 if test "$enableval" = yes; then
13598 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13599 else
13600 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13601 fi
13602
13603 else
13604
13605 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13606
13607 fi
13608
13609
13610 eval "$wx_cv_use_tipdlg"
13611
13612 if test x"$enablestring" = xdisable; then
13613 if test $wxUSE_STARTUP_TIPS = no; then
13614 result=yes
13615 else
13616 result=no
13617 fi
13618 else
13619 result=$wxUSE_STARTUP_TIPS
13620 fi
13621
13622 { echo "$as_me:$LINENO: result: $result" >&5
13623 echo "${ECHO_T}$result" >&6; }
13624
13625
13626 enablestring=
13627 defaultval=$wxUSE_ALL_FEATURES
13628 if test -z "$defaultval"; then
13629 if test x"$enablestring" = xdisable; then
13630 defaultval=yes
13631 else
13632 defaultval=no
13633 fi
13634 fi
13635
13636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13637 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13638 # Check whether --enable-progressdlg was given.
13639 if test "${enable_progressdlg+set}" = set; then
13640 enableval=$enable_progressdlg;
13641 if test "$enableval" = yes; then
13642 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13643 else
13644 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13645 fi
13646
13647 else
13648
13649 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13650
13651 fi
13652
13653
13654 eval "$wx_cv_use_progressdlg"
13655
13656 if test x"$enablestring" = xdisable; then
13657 if test $wxUSE_PROGRESSDLG = no; then
13658 result=yes
13659 else
13660 result=no
13661 fi
13662 else
13663 result=$wxUSE_PROGRESSDLG
13664 fi
13665
13666 { echo "$as_me:$LINENO: result: $result" >&5
13667 echo "${ECHO_T}$result" >&6; }
13668
13669
13670 enablestring=
13671 defaultval=$wxUSE_ALL_FEATURES
13672 if test -z "$defaultval"; then
13673 if test x"$enablestring" = xdisable; then
13674 defaultval=yes
13675 else
13676 defaultval=no
13677 fi
13678 fi
13679
13680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13681 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13682 # Check whether --enable-wizarddlg was given.
13683 if test "${enable_wizarddlg+set}" = set; then
13684 enableval=$enable_wizarddlg;
13685 if test "$enableval" = yes; then
13686 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
13687 else
13688 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
13689 fi
13690
13691 else
13692
13693 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13694
13695 fi
13696
13697
13698 eval "$wx_cv_use_wizarddlg"
13699
13700 if test x"$enablestring" = xdisable; then
13701 if test $wxUSE_WIZARDDLG = no; then
13702 result=yes
13703 else
13704 result=no
13705 fi
13706 else
13707 result=$wxUSE_WIZARDDLG
13708 fi
13709
13710 { echo "$as_me:$LINENO: result: $result" >&5
13711 echo "${ECHO_T}$result" >&6; }
13712
13713
13714
13715
13716 enablestring=
13717 defaultval=$wxUSE_ALL_FEATURES
13718 if test -z "$defaultval"; then
13719 if test x"$enablestring" = xdisable; then
13720 defaultval=yes
13721 else
13722 defaultval=no
13723 fi
13724 fi
13725
13726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13727 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13728 # Check whether --enable-menus was given.
13729 if test "${enable_menus+set}" = set; then
13730 enableval=$enable_menus;
13731 if test "$enableval" = yes; then
13732 wx_cv_use_menus='wxUSE_MENUS=yes'
13733 else
13734 wx_cv_use_menus='wxUSE_MENUS=no'
13735 fi
13736
13737 else
13738
13739 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13740
13741 fi
13742
13743
13744 eval "$wx_cv_use_menus"
13745
13746 if test x"$enablestring" = xdisable; then
13747 if test $wxUSE_MENUS = no; then
13748 result=yes
13749 else
13750 result=no
13751 fi
13752 else
13753 result=$wxUSE_MENUS
13754 fi
13755
13756 { echo "$as_me:$LINENO: result: $result" >&5
13757 echo "${ECHO_T}$result" >&6; }
13758
13759
13760 enablestring=
13761 defaultval=$wxUSE_ALL_FEATURES
13762 if test -z "$defaultval"; then
13763 if test x"$enablestring" = xdisable; then
13764 defaultval=yes
13765 else
13766 defaultval=no
13767 fi
13768 fi
13769
13770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13771 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13772 # Check whether --enable-miniframe was given.
13773 if test "${enable_miniframe+set}" = set; then
13774 enableval=$enable_miniframe;
13775 if test "$enableval" = yes; then
13776 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13777 else
13778 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13779 fi
13780
13781 else
13782
13783 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13784
13785 fi
13786
13787
13788 eval "$wx_cv_use_miniframe"
13789
13790 if test x"$enablestring" = xdisable; then
13791 if test $wxUSE_MINIFRAME = no; then
13792 result=yes
13793 else
13794 result=no
13795 fi
13796 else
13797 result=$wxUSE_MINIFRAME
13798 fi
13799
13800 { echo "$as_me:$LINENO: result: $result" >&5
13801 echo "${ECHO_T}$result" >&6; }
13802
13803
13804 enablestring=
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13808 defaultval=yes
13809 else
13810 defaultval=no
13811 fi
13812 fi
13813
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13816 # Check whether --enable-tooltips was given.
13817 if test "${enable_tooltips+set}" = set; then
13818 enableval=$enable_tooltips;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
13821 else
13822 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
13823 fi
13824
13825 else
13826
13827 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13828
13829 fi
13830
13831
13832 eval "$wx_cv_use_tooltips"
13833
13834 if test x"$enablestring" = xdisable; then
13835 if test $wxUSE_TOOLTIPS = no; then
13836 result=yes
13837 else
13838 result=no
13839 fi
13840 else
13841 result=$wxUSE_TOOLTIPS
13842 fi
13843
13844 { echo "$as_me:$LINENO: result: $result" >&5
13845 echo "${ECHO_T}$result" >&6; }
13846
13847
13848 enablestring=
13849 defaultval=$wxUSE_ALL_FEATURES
13850 if test -z "$defaultval"; then
13851 if test x"$enablestring" = xdisable; then
13852 defaultval=yes
13853 else
13854 defaultval=no
13855 fi
13856 fi
13857
13858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13859 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13860 # Check whether --enable-splines was given.
13861 if test "${enable_splines+set}" = set; then
13862 enableval=$enable_splines;
13863 if test "$enableval" = yes; then
13864 wx_cv_use_splines='wxUSE_SPLINES=yes'
13865 else
13866 wx_cv_use_splines='wxUSE_SPLINES=no'
13867 fi
13868
13869 else
13870
13871 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13872
13873 fi
13874
13875
13876 eval "$wx_cv_use_splines"
13877
13878 if test x"$enablestring" = xdisable; then
13879 if test $wxUSE_SPLINES = no; then
13880 result=yes
13881 else
13882 result=no
13883 fi
13884 else
13885 result=$wxUSE_SPLINES
13886 fi
13887
13888 { echo "$as_me:$LINENO: result: $result" >&5
13889 echo "${ECHO_T}$result" >&6; }
13890
13891
13892 enablestring=
13893 defaultval=$wxUSE_ALL_FEATURES
13894 if test -z "$defaultval"; then
13895 if test x"$enablestring" = xdisable; then
13896 defaultval=yes
13897 else
13898 defaultval=no
13899 fi
13900 fi
13901
13902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13903 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13904 # Check whether --enable-mousewheel was given.
13905 if test "${enable_mousewheel+set}" = set; then
13906 enableval=$enable_mousewheel;
13907 if test "$enableval" = yes; then
13908 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13909 else
13910 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13911 fi
13912
13913 else
13914
13915 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13916
13917 fi
13918
13919
13920 eval "$wx_cv_use_mousewheel"
13921
13922 if test x"$enablestring" = xdisable; then
13923 if test $wxUSE_MOUSEWHEEL = no; then
13924 result=yes
13925 else
13926 result=no
13927 fi
13928 else
13929 result=$wxUSE_MOUSEWHEEL
13930 fi
13931
13932 { echo "$as_me:$LINENO: result: $result" >&5
13933 echo "${ECHO_T}$result" >&6; }
13934
13935
13936 enablestring=
13937 defaultval=$wxUSE_ALL_FEATURES
13938 if test -z "$defaultval"; then
13939 if test x"$enablestring" = xdisable; then
13940 defaultval=yes
13941 else
13942 defaultval=no
13943 fi
13944 fi
13945
13946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13947 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13948 # Check whether --enable-validators was given.
13949 if test "${enable_validators+set}" = set; then
13950 enableval=$enable_validators;
13951 if test "$enableval" = yes; then
13952 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
13953 else
13954 wx_cv_use_validators='wxUSE_VALIDATORS=no'
13955 fi
13956
13957 else
13958
13959 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13960
13961 fi
13962
13963
13964 eval "$wx_cv_use_validators"
13965
13966 if test x"$enablestring" = xdisable; then
13967 if test $wxUSE_VALIDATORS = no; then
13968 result=yes
13969 else
13970 result=no
13971 fi
13972 else
13973 result=$wxUSE_VALIDATORS
13974 fi
13975
13976 { echo "$as_me:$LINENO: result: $result" >&5
13977 echo "${ECHO_T}$result" >&6; }
13978
13979
13980 enablestring=
13981 defaultval=$wxUSE_ALL_FEATURES
13982 if test -z "$defaultval"; then
13983 if test x"$enablestring" = xdisable; then
13984 defaultval=yes
13985 else
13986 defaultval=no
13987 fi
13988 fi
13989
13990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13991 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13992 # Check whether --enable-busyinfo was given.
13993 if test "${enable_busyinfo+set}" = set; then
13994 enableval=$enable_busyinfo;
13995 if test "$enableval" = yes; then
13996 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13997 else
13998 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13999 fi
14000
14001 else
14002
14003 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14004
14005 fi
14006
14007
14008 eval "$wx_cv_use_busyinfo"
14009
14010 if test x"$enablestring" = xdisable; then
14011 if test $wxUSE_BUSYINFO = no; then
14012 result=yes
14013 else
14014 result=no
14015 fi
14016 else
14017 result=$wxUSE_BUSYINFO
14018 fi
14019
14020 { echo "$as_me:$LINENO: result: $result" >&5
14021 echo "${ECHO_T}$result" >&6; }
14022
14023
14024 enablestring=
14025 defaultval=$wxUSE_ALL_FEATURES
14026 if test -z "$defaultval"; then
14027 if test x"$enablestring" = xdisable; then
14028 defaultval=yes
14029 else
14030 defaultval=no
14031 fi
14032 fi
14033
14034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14035 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14036 # Check whether --enable-hotkey was given.
14037 if test "${enable_hotkey+set}" = set; then
14038 enableval=$enable_hotkey;
14039 if test "$enableval" = yes; then
14040 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
14041 else
14042 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
14043 fi
14044
14045 else
14046
14047 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14048
14049 fi
14050
14051
14052 eval "$wx_cv_use_hotkey"
14053
14054 if test x"$enablestring" = xdisable; then
14055 if test $wxUSE_HOTKEY = no; then
14056 result=yes
14057 else
14058 result=no
14059 fi
14060 else
14061 result=$wxUSE_HOTKEY
14062 fi
14063
14064 { echo "$as_me:$LINENO: result: $result" >&5
14065 echo "${ECHO_T}$result" >&6; }
14066
14067
14068 enablestring=
14069 defaultval=$wxUSE_ALL_FEATURES
14070 if test -z "$defaultval"; then
14071 if test x"$enablestring" = xdisable; then
14072 defaultval=yes
14073 else
14074 defaultval=no
14075 fi
14076 fi
14077
14078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14079 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14080 # Check whether --enable-joystick was given.
14081 if test "${enable_joystick+set}" = set; then
14082 enableval=$enable_joystick;
14083 if test "$enableval" = yes; then
14084 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
14085 else
14086 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
14087 fi
14088
14089 else
14090
14091 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14092
14093 fi
14094
14095
14096 eval "$wx_cv_use_joystick"
14097
14098 if test x"$enablestring" = xdisable; then
14099 if test $wxUSE_JOYSTICK = no; then
14100 result=yes
14101 else
14102 result=no
14103 fi
14104 else
14105 result=$wxUSE_JOYSTICK
14106 fi
14107
14108 { echo "$as_me:$LINENO: result: $result" >&5
14109 echo "${ECHO_T}$result" >&6; }
14110
14111
14112 enablestring=
14113 defaultval=$wxUSE_ALL_FEATURES
14114 if test -z "$defaultval"; then
14115 if test x"$enablestring" = xdisable; then
14116 defaultval=yes
14117 else
14118 defaultval=no
14119 fi
14120 fi
14121
14122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14123 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14124 # Check whether --enable-metafile was given.
14125 if test "${enable_metafile+set}" = set; then
14126 enableval=$enable_metafile;
14127 if test "$enableval" = yes; then
14128 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14129 else
14130 wx_cv_use_metafile='wxUSE_METAFILE=no'
14131 fi
14132
14133 else
14134
14135 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14136
14137 fi
14138
14139
14140 eval "$wx_cv_use_metafile"
14141
14142 if test x"$enablestring" = xdisable; then
14143 if test $wxUSE_METAFILE = no; then
14144 result=yes
14145 else
14146 result=no
14147 fi
14148 else
14149 result=$wxUSE_METAFILE
14150 fi
14151
14152 { echo "$as_me:$LINENO: result: $result" >&5
14153 echo "${ECHO_T}$result" >&6; }
14154
14155
14156 enablestring=
14157 defaultval=$wxUSE_ALL_FEATURES
14158 if test -z "$defaultval"; then
14159 if test x"$enablestring" = xdisable; then
14160 defaultval=yes
14161 else
14162 defaultval=no
14163 fi
14164 fi
14165
14166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14167 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14168 # Check whether --enable-dragimage was given.
14169 if test "${enable_dragimage+set}" = set; then
14170 enableval=$enable_dragimage;
14171 if test "$enableval" = yes; then
14172 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14173 else
14174 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14175 fi
14176
14177 else
14178
14179 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14180
14181 fi
14182
14183
14184 eval "$wx_cv_use_dragimage"
14185
14186 if test x"$enablestring" = xdisable; then
14187 if test $wxUSE_DRAGIMAGE = no; then
14188 result=yes
14189 else
14190 result=no
14191 fi
14192 else
14193 result=$wxUSE_DRAGIMAGE
14194 fi
14195
14196 { echo "$as_me:$LINENO: result: $result" >&5
14197 echo "${ECHO_T}$result" >&6; }
14198
14199
14200 enablestring=
14201 defaultval=$wxUSE_ALL_FEATURES
14202 if test -z "$defaultval"; then
14203 if test x"$enablestring" = xdisable; then
14204 defaultval=yes
14205 else
14206 defaultval=no
14207 fi
14208 fi
14209
14210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14211 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14212 # Check whether --enable-accessibility was given.
14213 if test "${enable_accessibility+set}" = set; then
14214 enableval=$enable_accessibility;
14215 if test "$enableval" = yes; then
14216 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
14217 else
14218 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
14219 fi
14220
14221 else
14222
14223 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14224
14225 fi
14226
14227
14228 eval "$wx_cv_use_accessibility"
14229
14230 if test x"$enablestring" = xdisable; then
14231 if test $wxUSE_ACCESSIBILITY = no; then
14232 result=yes
14233 else
14234 result=no
14235 fi
14236 else
14237 result=$wxUSE_ACCESSIBILITY
14238 fi
14239
14240 { echo "$as_me:$LINENO: result: $result" >&5
14241 echo "${ECHO_T}$result" >&6; }
14242
14243
14244 enablestring=
14245 defaultval=$wxUSE_ALL_FEATURES
14246 if test -z "$defaultval"; then
14247 if test x"$enablestring" = xdisable; then
14248 defaultval=yes
14249 else
14250 defaultval=no
14251 fi
14252 fi
14253
14254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14255 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14256 # Check whether --enable-uiactionsim was given.
14257 if test "${enable_uiactionsim+set}" = set; then
14258 enableval=$enable_uiactionsim;
14259 if test "$enableval" = yes; then
14260 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14261 else
14262 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14263 fi
14264
14265 else
14266
14267 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14268
14269 fi
14270
14271
14272 eval "$wx_cv_use_uiactionsim"
14273
14274 if test x"$enablestring" = xdisable; then
14275 if test $wxUSE_UIACTIONSIMULATOR = no; then
14276 result=yes
14277 else
14278 result=no
14279 fi
14280 else
14281 result=$wxUSE_UIACTIONSIMULATOR
14282 fi
14283
14284 { echo "$as_me:$LINENO: result: $result" >&5
14285 echo "${ECHO_T}$result" >&6; }
14286
14287
14288 enablestring=
14289 defaultval=$wxUSE_ALL_FEATURES
14290 if test -z "$defaultval"; then
14291 if test x"$enablestring" = xdisable; then
14292 defaultval=yes
14293 else
14294 defaultval=no
14295 fi
14296 fi
14297
14298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14299 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14300 # Check whether --enable-dctransform was given.
14301 if test "${enable_dctransform+set}" = set; then
14302 enableval=$enable_dctransform;
14303 if test "$enableval" = yes; then
14304 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14305 else
14306 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14307 fi
14308
14309 else
14310
14311 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14312
14313 fi
14314
14315
14316 eval "$wx_cv_use_dctransform"
14317
14318 if test x"$enablestring" = xdisable; then
14319 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14320 result=yes
14321 else
14322 result=no
14323 fi
14324 else
14325 result=$wxUSE_DC_TRANSFORM_MATRIX
14326 fi
14327
14328 { echo "$as_me:$LINENO: result: $result" >&5
14329 echo "${ECHO_T}$result" >&6; }
14330
14331
14332 enablestring=
14333 defaultval=$wxUSE_ALL_FEATURES
14334 if test -z "$defaultval"; then
14335 if test x"$enablestring" = xdisable; then
14336 defaultval=yes
14337 else
14338 defaultval=no
14339 fi
14340 fi
14341
14342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14343 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14344 # Check whether --enable-webviewwebkit was given.
14345 if test "${enable_webviewwebkit+set}" = set; then
14346 enableval=$enable_webviewwebkit;
14347 if test "$enableval" = yes; then
14348 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
14349 else
14350 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
14351 fi
14352
14353 else
14354
14355 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14356
14357 fi
14358
14359
14360 eval "$wx_cv_use_webviewwebkit"
14361
14362 if test x"$enablestring" = xdisable; then
14363 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14364 result=yes
14365 else
14366 result=no
14367 fi
14368 else
14369 result=$wxUSE_WEBVIEW_WEBKIT
14370 fi
14371
14372 { echo "$as_me:$LINENO: result: $result" >&5
14373 echo "${ECHO_T}$result" >&6; }
14374
14375
14376
14377
14378 enablestring=
14379 defaultval=$wxUSE_ALL_FEATURES
14380 if test -z "$defaultval"; then
14381 if test x"$enablestring" = xdisable; then
14382 defaultval=yes
14383 else
14384 defaultval=no
14385 fi
14386 fi
14387
14388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14389 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14390 # Check whether --enable-palette was given.
14391 if test "${enable_palette+set}" = set; then
14392 enableval=$enable_palette;
14393 if test "$enableval" = yes; then
14394 wx_cv_use_palette='wxUSE_PALETTE=yes'
14395 else
14396 wx_cv_use_palette='wxUSE_PALETTE=no'
14397 fi
14398
14399 else
14400
14401 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14402
14403 fi
14404
14405
14406 eval "$wx_cv_use_palette"
14407
14408 if test x"$enablestring" = xdisable; then
14409 if test $wxUSE_PALETTE = no; then
14410 result=yes
14411 else
14412 result=no
14413 fi
14414 else
14415 result=$wxUSE_PALETTE
14416 fi
14417
14418 { echo "$as_me:$LINENO: result: $result" >&5
14419 echo "${ECHO_T}$result" >&6; }
14420
14421
14422 enablestring=
14423 defaultval=$wxUSE_ALL_FEATURES
14424 if test -z "$defaultval"; then
14425 if test x"$enablestring" = xdisable; then
14426 defaultval=yes
14427 else
14428 defaultval=no
14429 fi
14430 fi
14431
14432 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14433 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14434 # Check whether --enable-image was given.
14435 if test "${enable_image+set}" = set; then
14436 enableval=$enable_image;
14437 if test "$enableval" = yes; then
14438 wx_cv_use_image='wxUSE_IMAGE=yes'
14439 else
14440 wx_cv_use_image='wxUSE_IMAGE=no'
14441 fi
14442
14443 else
14444
14445 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14446
14447 fi
14448
14449
14450 eval "$wx_cv_use_image"
14451
14452 if test x"$enablestring" = xdisable; then
14453 if test $wxUSE_IMAGE = no; then
14454 result=yes
14455 else
14456 result=no
14457 fi
14458 else
14459 result=$wxUSE_IMAGE
14460 fi
14461
14462 { echo "$as_me:$LINENO: result: $result" >&5
14463 echo "${ECHO_T}$result" >&6; }
14464
14465
14466 enablestring=
14467 defaultval=$wxUSE_ALL_FEATURES
14468 if test -z "$defaultval"; then
14469 if test x"$enablestring" = xdisable; then
14470 defaultval=yes
14471 else
14472 defaultval=no
14473 fi
14474 fi
14475
14476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14477 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14478 # Check whether --enable-gif was given.
14479 if test "${enable_gif+set}" = set; then
14480 enableval=$enable_gif;
14481 if test "$enableval" = yes; then
14482 wx_cv_use_gif='wxUSE_GIF=yes'
14483 else
14484 wx_cv_use_gif='wxUSE_GIF=no'
14485 fi
14486
14487 else
14488
14489 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14490
14491 fi
14492
14493
14494 eval "$wx_cv_use_gif"
14495
14496 if test x"$enablestring" = xdisable; then
14497 if test $wxUSE_GIF = no; then
14498 result=yes
14499 else
14500 result=no
14501 fi
14502 else
14503 result=$wxUSE_GIF
14504 fi
14505
14506 { echo "$as_me:$LINENO: result: $result" >&5
14507 echo "${ECHO_T}$result" >&6; }
14508
14509
14510 enablestring=
14511 defaultval=$wxUSE_ALL_FEATURES
14512 if test -z "$defaultval"; then
14513 if test x"$enablestring" = xdisable; then
14514 defaultval=yes
14515 else
14516 defaultval=no
14517 fi
14518 fi
14519
14520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14521 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14522 # Check whether --enable-pcx was given.
14523 if test "${enable_pcx+set}" = set; then
14524 enableval=$enable_pcx;
14525 if test "$enableval" = yes; then
14526 wx_cv_use_pcx='wxUSE_PCX=yes'
14527 else
14528 wx_cv_use_pcx='wxUSE_PCX=no'
14529 fi
14530
14531 else
14532
14533 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14534
14535 fi
14536
14537
14538 eval "$wx_cv_use_pcx"
14539
14540 if test x"$enablestring" = xdisable; then
14541 if test $wxUSE_PCX = no; then
14542 result=yes
14543 else
14544 result=no
14545 fi
14546 else
14547 result=$wxUSE_PCX
14548 fi
14549
14550 { echo "$as_me:$LINENO: result: $result" >&5
14551 echo "${ECHO_T}$result" >&6; }
14552
14553
14554 enablestring=
14555 defaultval=$wxUSE_ALL_FEATURES
14556 if test -z "$defaultval"; then
14557 if test x"$enablestring" = xdisable; then
14558 defaultval=yes
14559 else
14560 defaultval=no
14561 fi
14562 fi
14563
14564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14565 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14566 # Check whether --enable-tga was given.
14567 if test "${enable_tga+set}" = set; then
14568 enableval=$enable_tga;
14569 if test "$enableval" = yes; then
14570 wx_cv_use_tga='wxUSE_TGA=yes'
14571 else
14572 wx_cv_use_tga='wxUSE_TGA=no'
14573 fi
14574
14575 else
14576
14577 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14578
14579 fi
14580
14581
14582 eval "$wx_cv_use_tga"
14583
14584 if test x"$enablestring" = xdisable; then
14585 if test $wxUSE_TGA = no; then
14586 result=yes
14587 else
14588 result=no
14589 fi
14590 else
14591 result=$wxUSE_TGA
14592 fi
14593
14594 { echo "$as_me:$LINENO: result: $result" >&5
14595 echo "${ECHO_T}$result" >&6; }
14596
14597
14598 enablestring=
14599 defaultval=$wxUSE_ALL_FEATURES
14600 if test -z "$defaultval"; then
14601 if test x"$enablestring" = xdisable; then
14602 defaultval=yes
14603 else
14604 defaultval=no
14605 fi
14606 fi
14607
14608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14609 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14610 # Check whether --enable-iff was given.
14611 if test "${enable_iff+set}" = set; then
14612 enableval=$enable_iff;
14613 if test "$enableval" = yes; then
14614 wx_cv_use_iff='wxUSE_IFF=yes'
14615 else
14616 wx_cv_use_iff='wxUSE_IFF=no'
14617 fi
14618
14619 else
14620
14621 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14622
14623 fi
14624
14625
14626 eval "$wx_cv_use_iff"
14627
14628 if test x"$enablestring" = xdisable; then
14629 if test $wxUSE_IFF = no; then
14630 result=yes
14631 else
14632 result=no
14633 fi
14634 else
14635 result=$wxUSE_IFF
14636 fi
14637
14638 { echo "$as_me:$LINENO: result: $result" >&5
14639 echo "${ECHO_T}$result" >&6; }
14640
14641
14642 enablestring=
14643 defaultval=$wxUSE_ALL_FEATURES
14644 if test -z "$defaultval"; then
14645 if test x"$enablestring" = xdisable; then
14646 defaultval=yes
14647 else
14648 defaultval=no
14649 fi
14650 fi
14651
14652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14653 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14654 # Check whether --enable-pnm was given.
14655 if test "${enable_pnm+set}" = set; then
14656 enableval=$enable_pnm;
14657 if test "$enableval" = yes; then
14658 wx_cv_use_pnm='wxUSE_PNM=yes'
14659 else
14660 wx_cv_use_pnm='wxUSE_PNM=no'
14661 fi
14662
14663 else
14664
14665 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14666
14667 fi
14668
14669
14670 eval "$wx_cv_use_pnm"
14671
14672 if test x"$enablestring" = xdisable; then
14673 if test $wxUSE_PNM = no; then
14674 result=yes
14675 else
14676 result=no
14677 fi
14678 else
14679 result=$wxUSE_PNM
14680 fi
14681
14682 { echo "$as_me:$LINENO: result: $result" >&5
14683 echo "${ECHO_T}$result" >&6; }
14684
14685
14686 enablestring=
14687 defaultval=$wxUSE_ALL_FEATURES
14688 if test -z "$defaultval"; then
14689 if test x"$enablestring" = xdisable; then
14690 defaultval=yes
14691 else
14692 defaultval=no
14693 fi
14694 fi
14695
14696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14697 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14698 # Check whether --enable-xpm was given.
14699 if test "${enable_xpm+set}" = set; then
14700 enableval=$enable_xpm;
14701 if test "$enableval" = yes; then
14702 wx_cv_use_xpm='wxUSE_XPM=yes'
14703 else
14704 wx_cv_use_xpm='wxUSE_XPM=no'
14705 fi
14706
14707 else
14708
14709 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14710
14711 fi
14712
14713
14714 eval "$wx_cv_use_xpm"
14715
14716 if test x"$enablestring" = xdisable; then
14717 if test $wxUSE_XPM = no; then
14718 result=yes
14719 else
14720 result=no
14721 fi
14722 else
14723 result=$wxUSE_XPM
14724 fi
14725
14726 { echo "$as_me:$LINENO: result: $result" >&5
14727 echo "${ECHO_T}$result" >&6; }
14728
14729
14730 enablestring=
14731 defaultval=$wxUSE_ALL_FEATURES
14732 if test -z "$defaultval"; then
14733 if test x"$enablestring" = xdisable; then
14734 defaultval=yes
14735 else
14736 defaultval=no
14737 fi
14738 fi
14739
14740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14741 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14742 # Check whether --enable-ico_cur was given.
14743 if test "${enable_ico_cur+set}" = set; then
14744 enableval=$enable_ico_cur;
14745 if test "$enableval" = yes; then
14746 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
14747 else
14748 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
14749 fi
14750
14751 else
14752
14753 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14754
14755 fi
14756
14757
14758 eval "$wx_cv_use_ico_cur"
14759
14760 if test x"$enablestring" = xdisable; then
14761 if test $wxUSE_ICO_CUR = no; then
14762 result=yes
14763 else
14764 result=no
14765 fi
14766 else
14767 result=$wxUSE_ICO_CUR
14768 fi
14769
14770 { echo "$as_me:$LINENO: result: $result" >&5
14771 echo "${ECHO_T}$result" >&6; }
14772
14773
14774
14775
14776 enablestring=
14777 defaultval=$wxUSE_ALL_FEATURES
14778 if test -z "$defaultval"; then
14779 if test x"$enablestring" = xdisable; then
14780 defaultval=yes
14781 else
14782 defaultval=no
14783 fi
14784 fi
14785
14786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14787 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14788 # Check whether --enable-dccache was given.
14789 if test "${enable_dccache+set}" = set; then
14790 enableval=$enable_dccache;
14791 if test "$enableval" = yes; then
14792 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14793 else
14794 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14795 fi
14796
14797 else
14798
14799 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14800
14801 fi
14802
14803
14804 eval "$wx_cv_use_dccache"
14805
14806 if test x"$enablestring" = xdisable; then
14807 if test $wxUSE_DC_CACHEING = no; then
14808 result=yes
14809 else
14810 result=no
14811 fi
14812 else
14813 result=$wxUSE_DC_CACHEING
14814 fi
14815
14816 { echo "$as_me:$LINENO: result: $result" >&5
14817 echo "${ECHO_T}$result" >&6; }
14818
14819
14820 enablestring=
14821 defaultval=$wxUSE_ALL_FEATURES
14822 if test -z "$defaultval"; then
14823 if test x"$enablestring" = xdisable; then
14824 defaultval=yes
14825 else
14826 defaultval=no
14827 fi
14828 fi
14829
14830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14831 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14832 # Check whether --enable-ps-in-msw was given.
14833 if test "${enable_ps_in_msw+set}" = set; then
14834 enableval=$enable_ps_in_msw;
14835 if test "$enableval" = yes; then
14836 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14837 else
14838 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14839 fi
14840
14841 else
14842
14843 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14844
14845 fi
14846
14847
14848 eval "$wx_cv_use_ps_in_msw"
14849
14850 if test x"$enablestring" = xdisable; then
14851 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14852 result=yes
14853 else
14854 result=no
14855 fi
14856 else
14857 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14858 fi
14859
14860 { echo "$as_me:$LINENO: result: $result" >&5
14861 echo "${ECHO_T}$result" >&6; }
14862
14863
14864 enablestring=
14865 defaultval=$wxUSE_ALL_FEATURES
14866 if test -z "$defaultval"; then
14867 if test x"$enablestring" = xdisable; then
14868 defaultval=yes
14869 else
14870 defaultval=no
14871 fi
14872 fi
14873
14874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14875 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14876 # Check whether --enable-ownerdrawn was given.
14877 if test "${enable_ownerdrawn+set}" = set; then
14878 enableval=$enable_ownerdrawn;
14879 if test "$enableval" = yes; then
14880 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
14881 else
14882 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
14883 fi
14884
14885 else
14886
14887 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14888
14889 fi
14890
14891
14892 eval "$wx_cv_use_ownerdrawn"
14893
14894 if test x"$enablestring" = xdisable; then
14895 if test $wxUSE_OWNER_DRAWN = no; then
14896 result=yes
14897 else
14898 result=no
14899 fi
14900 else
14901 result=$wxUSE_OWNER_DRAWN
14902 fi
14903
14904 { echo "$as_me:$LINENO: result: $result" >&5
14905 echo "${ECHO_T}$result" >&6; }
14906
14907
14908 enablestring=
14909 defaultval=$wxUSE_ALL_FEATURES
14910 if test -z "$defaultval"; then
14911 if test x"$enablestring" = xdisable; then
14912 defaultval=yes
14913 else
14914 defaultval=no
14915 fi
14916 fi
14917
14918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14919 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14920 # Check whether --enable-uxtheme was given.
14921 if test "${enable_uxtheme+set}" = set; then
14922 enableval=$enable_uxtheme;
14923 if test "$enableval" = yes; then
14924 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14925 else
14926 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14927 fi
14928
14929 else
14930
14931 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14932
14933 fi
14934
14935
14936 eval "$wx_cv_use_uxtheme"
14937
14938 if test x"$enablestring" = xdisable; then
14939 if test $wxUSE_UXTHEME = no; then
14940 result=yes
14941 else
14942 result=no
14943 fi
14944 else
14945 result=$wxUSE_UXTHEME
14946 fi
14947
14948 { echo "$as_me:$LINENO: result: $result" >&5
14949 echo "${ECHO_T}$result" >&6; }
14950
14951
14952 enablestring=
14953 defaultval=$wxUSE_ALL_FEATURES
14954 if test -z "$defaultval"; then
14955 if test x"$enablestring" = xdisable; then
14956 defaultval=yes
14957 else
14958 defaultval=no
14959 fi
14960 fi
14961
14962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14963 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14964 # Check whether --enable-wxdib was given.
14965 if test "${enable_wxdib+set}" = set; then
14966 enableval=$enable_wxdib;
14967 if test "$enableval" = yes; then
14968 wx_cv_use_wxdib='wxUSE_DIB=yes'
14969 else
14970 wx_cv_use_wxdib='wxUSE_DIB=no'
14971 fi
14972
14973 else
14974
14975 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14976
14977 fi
14978
14979
14980 eval "$wx_cv_use_wxdib"
14981
14982 if test x"$enablestring" = xdisable; then
14983 if test $wxUSE_DIB = no; then
14984 result=yes
14985 else
14986 result=no
14987 fi
14988 else
14989 result=$wxUSE_DIB
14990 fi
14991
14992 { echo "$as_me:$LINENO: result: $result" >&5
14993 echo "${ECHO_T}$result" >&6; }
14994
14995
14996 enablestring=
14997 defaultval=$wxUSE_ALL_FEATURES
14998 if test -z "$defaultval"; then
14999 if test x"$enablestring" = xdisable; then
15000 defaultval=yes
15001 else
15002 defaultval=no
15003 fi
15004 fi
15005
15006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15007 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15008 # Check whether --enable-webviewie was given.
15009 if test "${enable_webviewie+set}" = set; then
15010 enableval=$enable_webviewie;
15011 if test "$enableval" = yes; then
15012 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
15013 else
15014 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
15015 fi
15016
15017 else
15018
15019 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15020
15021 fi
15022
15023
15024 eval "$wx_cv_use_webviewie"
15025
15026 if test x"$enablestring" = xdisable; then
15027 if test $wxUSE_WEBVIEW_IE = no; then
15028 result=yes
15029 else
15030 result=no
15031 fi
15032 else
15033 result=$wxUSE_WEBVIEW_IE
15034 fi
15035
15036 { echo "$as_me:$LINENO: result: $result" >&5
15037 echo "${ECHO_T}$result" >&6; }
15038
15039
15040 if test "$wxUSE_MSW" != 1; then
15041 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15042 fi
15043
15044
15045 enablestring=
15046 defaultval=$wxUSE_ALL_FEATURES
15047 if test -z "$defaultval"; then
15048 if test x"$enablestring" = xdisable; then
15049 defaultval=yes
15050 else
15051 defaultval=no
15052 fi
15053 fi
15054
15055 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
15056 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
15057 # Check whether --enable-autoidman was given.
15058 if test "${enable_autoidman+set}" = set; then
15059 enableval=$enable_autoidman;
15060 if test "$enableval" = yes; then
15061 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15062 else
15063 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15064 fi
15065
15066 else
15067
15068 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15069
15070 fi
15071
15072
15073 eval "$wx_cv_use_autoidman"
15074
15075 if test x"$enablestring" = xdisable; then
15076 if test $wxUSE_AUTOID_MANAGEMENT = no; then
15077 result=yes
15078 else
15079 result=no
15080 fi
15081 else
15082 result=$wxUSE_AUTOID_MANAGEMENT
15083 fi
15084
15085 { echo "$as_me:$LINENO: result: $result" >&5
15086 echo "${ECHO_T}$result" >&6; }
15087
15088
15089 fi
15090
15091
15092 cat >confcache <<\_ACEOF
15093 # This file is a shell script that caches the results of configure
15094 # tests run on this system so they can be shared between configure
15095 # scripts and configure runs, see configure's option --config-cache.
15096 # It is not useful on other systems. If it contains results you don't
15097 # want to keep, you may remove or edit it.
15098 #
15099 # config.status only pays attention to the cache file if you give it
15100 # the --recheck option to rerun configure.
15101 #
15102 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15103 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15104 # following values.
15105
15106 _ACEOF
15107
15108 # The following way of writing the cache mishandles newlines in values,
15109 # but we know of no workaround that is simple, portable, and efficient.
15110 # So, we kill variables containing newlines.
15111 # Ultrix sh set writes to stderr and can't be redirected directly,
15112 # and sets the high bit in the cache file unless we assign to the vars.
15113 (
15114 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15115 eval ac_val=\$$ac_var
15116 case $ac_val in #(
15117 *${as_nl}*)
15118 case $ac_var in #(
15119 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15120 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15121 esac
15122 case $ac_var in #(
15123 _ | IFS | as_nl) ;; #(
15124 *) $as_unset $ac_var ;;
15125 esac ;;
15126 esac
15127 done
15128
15129 (set) 2>&1 |
15130 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15131 *${as_nl}ac_space=\ *)
15132 # `set' does not quote correctly, so add quotes (double-quote
15133 # substitution turns \\\\ into \\, and sed turns \\ into \).
15134 sed -n \
15135 "s/'/'\\\\''/g;
15136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15137 ;; #(
15138 *)
15139 # `set' quotes correctly as required by POSIX, so do not add quotes.
15140 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15141 ;;
15142 esac |
15143 sort
15144 ) |
15145 sed '
15146 /^ac_cv_env_/b end
15147 t clear
15148 :clear
15149 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15150 t end
15151 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15152 :end' >>confcache
15153 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15154 if test -w "$cache_file"; then
15155 test "x$cache_file" != "x/dev/null" &&
15156 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15157 echo "$as_me: updating cache $cache_file" >&6;}
15158 cat confcache >$cache_file
15159 else
15160 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15161 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15162 fi
15163 fi
15164 rm -f confcache
15165
15166 CFLAGS=${CFLAGS:=}
15167 ac_ext=c
15168 ac_cpp='$CPP $CPPFLAGS'
15169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15172 if test -n "$ac_tool_prefix"; then
15173 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15174 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15177 if test "${ac_cv_prog_CC+set}" = set; then
15178 echo $ECHO_N "(cached) $ECHO_C" >&6
15179 else
15180 if test -n "$CC"; then
15181 ac_cv_prog_CC="$CC" # Let the user override the test.
15182 else
15183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15184 for as_dir in $PATH
15185 do
15186 IFS=$as_save_IFS
15187 test -z "$as_dir" && as_dir=.
15188 for ac_exec_ext in '' $ac_executable_extensions; do
15189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15190 ac_cv_prog_CC="${ac_tool_prefix}gcc"
15191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15192 break 2
15193 fi
15194 done
15195 done
15196 IFS=$as_save_IFS
15197
15198 fi
15199 fi
15200 CC=$ac_cv_prog_CC
15201 if test -n "$CC"; then
15202 { echo "$as_me:$LINENO: result: $CC" >&5
15203 echo "${ECHO_T}$CC" >&6; }
15204 else
15205 { echo "$as_me:$LINENO: result: no" >&5
15206 echo "${ECHO_T}no" >&6; }
15207 fi
15208
15209
15210 fi
15211 if test -z "$ac_cv_prog_CC"; then
15212 ac_ct_CC=$CC
15213 # Extract the first word of "gcc", so it can be a program name with args.
15214 set dummy gcc; ac_word=$2
15215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15217 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15218 echo $ECHO_N "(cached) $ECHO_C" >&6
15219 else
15220 if test -n "$ac_ct_CC"; then
15221 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15222 else
15223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15224 for as_dir in $PATH
15225 do
15226 IFS=$as_save_IFS
15227 test -z "$as_dir" && as_dir=.
15228 for ac_exec_ext in '' $ac_executable_extensions; do
15229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15230 ac_cv_prog_ac_ct_CC="gcc"
15231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15232 break 2
15233 fi
15234 done
15235 done
15236 IFS=$as_save_IFS
15237
15238 fi
15239 fi
15240 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15241 if test -n "$ac_ct_CC"; then
15242 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15243 echo "${ECHO_T}$ac_ct_CC" >&6; }
15244 else
15245 { echo "$as_me:$LINENO: result: no" >&5
15246 echo "${ECHO_T}no" >&6; }
15247 fi
15248
15249 if test "x$ac_ct_CC" = x; then
15250 CC=""
15251 else
15252 case $cross_compiling:$ac_tool_warned in
15253 yes:)
15254 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15255 whose name does not start with the host triplet. If you think this
15256 configuration is useful to you, please write to autoconf@gnu.org." >&5
15257 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15258 whose name does not start with the host triplet. If you think this
15259 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15260 ac_tool_warned=yes ;;
15261 esac
15262 CC=$ac_ct_CC
15263 fi
15264 else
15265 CC="$ac_cv_prog_CC"
15266 fi
15267
15268 if test -z "$CC"; then
15269 if test -n "$ac_tool_prefix"; then
15270 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15271 set dummy ${ac_tool_prefix}cc; ac_word=$2
15272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15274 if test "${ac_cv_prog_CC+set}" = set; then
15275 echo $ECHO_N "(cached) $ECHO_C" >&6
15276 else
15277 if test -n "$CC"; then
15278 ac_cv_prog_CC="$CC" # Let the user override the test.
15279 else
15280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15281 for as_dir in $PATH
15282 do
15283 IFS=$as_save_IFS
15284 test -z "$as_dir" && as_dir=.
15285 for ac_exec_ext in '' $ac_executable_extensions; do
15286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15287 ac_cv_prog_CC="${ac_tool_prefix}cc"
15288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15289 break 2
15290 fi
15291 done
15292 done
15293 IFS=$as_save_IFS
15294
15295 fi
15296 fi
15297 CC=$ac_cv_prog_CC
15298 if test -n "$CC"; then
15299 { echo "$as_me:$LINENO: result: $CC" >&5
15300 echo "${ECHO_T}$CC" >&6; }
15301 else
15302 { echo "$as_me:$LINENO: result: no" >&5
15303 echo "${ECHO_T}no" >&6; }
15304 fi
15305
15306
15307 fi
15308 fi
15309 if test -z "$CC"; then
15310 # Extract the first word of "cc", so it can be a program name with args.
15311 set dummy cc; ac_word=$2
15312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15314 if test "${ac_cv_prog_CC+set}" = set; then
15315 echo $ECHO_N "(cached) $ECHO_C" >&6
15316 else
15317 if test -n "$CC"; then
15318 ac_cv_prog_CC="$CC" # Let the user override the test.
15319 else
15320 ac_prog_rejected=no
15321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15322 for as_dir in $PATH
15323 do
15324 IFS=$as_save_IFS
15325 test -z "$as_dir" && as_dir=.
15326 for ac_exec_ext in '' $ac_executable_extensions; do
15327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15328 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15329 ac_prog_rejected=yes
15330 continue
15331 fi
15332 ac_cv_prog_CC="cc"
15333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15334 break 2
15335 fi
15336 done
15337 done
15338 IFS=$as_save_IFS
15339
15340 if test $ac_prog_rejected = yes; then
15341 # We found a bogon in the path, so make sure we never use it.
15342 set dummy $ac_cv_prog_CC
15343 shift
15344 if test $# != 0; then
15345 # We chose a different compiler from the bogus one.
15346 # However, it has the same basename, so the bogon will be chosen
15347 # first if we set CC to just the basename; use the full file name.
15348 shift
15349 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
15350 fi
15351 fi
15352 fi
15353 fi
15354 CC=$ac_cv_prog_CC
15355 if test -n "$CC"; then
15356 { echo "$as_me:$LINENO: result: $CC" >&5
15357 echo "${ECHO_T}$CC" >&6; }
15358 else
15359 { echo "$as_me:$LINENO: result: no" >&5
15360 echo "${ECHO_T}no" >&6; }
15361 fi
15362
15363
15364 fi
15365 if test -z "$CC"; then
15366 if test -n "$ac_tool_prefix"; then
15367 for ac_prog in cl.exe
15368 do
15369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15373 if test "${ac_cv_prog_CC+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 else
15376 if test -n "$CC"; then
15377 ac_cv_prog_CC="$CC" # Let the user override the test.
15378 else
15379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15380 for as_dir in $PATH
15381 do
15382 IFS=$as_save_IFS
15383 test -z "$as_dir" && as_dir=.
15384 for ac_exec_ext in '' $ac_executable_extensions; do
15385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15386 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15388 break 2
15389 fi
15390 done
15391 done
15392 IFS=$as_save_IFS
15393
15394 fi
15395 fi
15396 CC=$ac_cv_prog_CC
15397 if test -n "$CC"; then
15398 { echo "$as_me:$LINENO: result: $CC" >&5
15399 echo "${ECHO_T}$CC" >&6; }
15400 else
15401 { echo "$as_me:$LINENO: result: no" >&5
15402 echo "${ECHO_T}no" >&6; }
15403 fi
15404
15405
15406 test -n "$CC" && break
15407 done
15408 fi
15409 if test -z "$CC"; then
15410 ac_ct_CC=$CC
15411 for ac_prog in cl.exe
15412 do
15413 # Extract the first word of "$ac_prog", so it can be a program name with args.
15414 set dummy $ac_prog; ac_word=$2
15415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15417 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15418 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 else
15420 if test -n "$ac_ct_CC"; then
15421 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15422 else
15423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15424 for as_dir in $PATH
15425 do
15426 IFS=$as_save_IFS
15427 test -z "$as_dir" && as_dir=.
15428 for ac_exec_ext in '' $ac_executable_extensions; do
15429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15430 ac_cv_prog_ac_ct_CC="$ac_prog"
15431 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15432 break 2
15433 fi
15434 done
15435 done
15436 IFS=$as_save_IFS
15437
15438 fi
15439 fi
15440 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15441 if test -n "$ac_ct_CC"; then
15442 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15443 echo "${ECHO_T}$ac_ct_CC" >&6; }
15444 else
15445 { echo "$as_me:$LINENO: result: no" >&5
15446 echo "${ECHO_T}no" >&6; }
15447 fi
15448
15449
15450 test -n "$ac_ct_CC" && break
15451 done
15452
15453 if test "x$ac_ct_CC" = x; then
15454 CC=""
15455 else
15456 case $cross_compiling:$ac_tool_warned in
15457 yes:)
15458 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15459 whose name does not start with the host triplet. If you think this
15460 configuration is useful to you, please write to autoconf@gnu.org." >&5
15461 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15462 whose name does not start with the host triplet. If you think this
15463 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15464 ac_tool_warned=yes ;;
15465 esac
15466 CC=$ac_ct_CC
15467 fi
15468 fi
15469
15470 fi
15471
15472
15473 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15474 See \`config.log' for more details." >&5
15475 echo "$as_me: error: no acceptable C compiler found in \$PATH
15476 See \`config.log' for more details." >&2;}
15477 { (exit 1); exit 1; }; }
15478
15479 # Provide some information about the compiler.
15480 echo "$as_me:$LINENO: checking for C compiler version" >&5
15481 ac_compiler=`set X $ac_compile; echo $2`
15482 { (ac_try="$ac_compiler --version >&5"
15483 case "(($ac_try" in
15484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15485 *) ac_try_echo=$ac_try;;
15486 esac
15487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15488 (eval "$ac_compiler --version >&5") 2>&5
15489 ac_status=$?
15490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15491 (exit $ac_status); }
15492 { (ac_try="$ac_compiler -v >&5"
15493 case "(($ac_try" in
15494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15495 *) ac_try_echo=$ac_try;;
15496 esac
15497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15498 (eval "$ac_compiler -v >&5") 2>&5
15499 ac_status=$?
15500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15501 (exit $ac_status); }
15502 { (ac_try="$ac_compiler -V >&5"
15503 case "(($ac_try" in
15504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15505 *) ac_try_echo=$ac_try;;
15506 esac
15507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15508 (eval "$ac_compiler -V >&5") 2>&5
15509 ac_status=$?
15510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15511 (exit $ac_status); }
15512
15513 cat >conftest.$ac_ext <<_ACEOF
15514 /* confdefs.h. */
15515 _ACEOF
15516 cat confdefs.h >>conftest.$ac_ext
15517 cat >>conftest.$ac_ext <<_ACEOF
15518 /* end confdefs.h. */
15519
15520 int
15521 main ()
15522 {
15523
15524 ;
15525 return 0;
15526 }
15527 _ACEOF
15528 ac_clean_files_save=$ac_clean_files
15529 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15530 # Try to create an executable without -o first, disregard a.out.
15531 # It will help us diagnose broken compilers, and finding out an intuition
15532 # of exeext.
15533 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15534 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15535 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15536 #
15537 # List of possible output files, starting from the most likely.
15538 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
15539 # only as a last resort. b.out is created by i960 compilers.
15540 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15541 #
15542 # The IRIX 6 linker writes into existing files which may not be
15543 # executable, retaining their permissions. Remove them first so a
15544 # subsequent execution test works.
15545 ac_rmfiles=
15546 for ac_file in $ac_files
15547 do
15548 case $ac_file in
15549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15550 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15551 esac
15552 done
15553 rm -f $ac_rmfiles
15554
15555 if { (ac_try="$ac_link_default"
15556 case "(($ac_try" in
15557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15558 *) ac_try_echo=$ac_try;;
15559 esac
15560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15561 (eval "$ac_link_default") 2>&5
15562 ac_status=$?
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); }; then
15565 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15566 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15567 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15568 # so that the user can short-circuit this test for compilers unknown to
15569 # Autoconf.
15570 for ac_file in $ac_files ''
15571 do
15572 test -f "$ac_file" || continue
15573 case $ac_file in
15574 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15575 ;;
15576 [ab].out )
15577 # We found the default executable, but exeext='' is most
15578 # certainly right.
15579 break;;
15580 *.* )
15581 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15582 then :; else
15583 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15584 fi
15585 # We set ac_cv_exeext here because the later test for it is not
15586 # safe: cross compilers may not add the suffix if given an `-o'
15587 # argument, so we may need to know it at that point already.
15588 # Even if this section looks crufty: it has the advantage of
15589 # actually working.
15590 break;;
15591 * )
15592 break;;
15593 esac
15594 done
15595 test "$ac_cv_exeext" = no && ac_cv_exeext=
15596
15597 else
15598 ac_file=''
15599 fi
15600
15601 { echo "$as_me:$LINENO: result: $ac_file" >&5
15602 echo "${ECHO_T}$ac_file" >&6; }
15603 if test -z "$ac_file"; then
15604 echo "$as_me: failed program was:" >&5
15605 sed 's/^/| /' conftest.$ac_ext >&5
15606
15607 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15608 See \`config.log' for more details." >&5
15609 echo "$as_me: error: C compiler cannot create executables
15610 See \`config.log' for more details." >&2;}
15611 { (exit 77); exit 77; }; }
15612 fi
15613
15614 ac_exeext=$ac_cv_exeext
15615
15616 # Check that the compiler produces executables we can run. If not, either
15617 # the compiler is broken, or we cross compile.
15618 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15619 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15620 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15621 # If not cross compiling, check that we can run a simple program.
15622 if test "$cross_compiling" != yes; then
15623 if { ac_try='./$ac_file'
15624 { (case "(($ac_try" in
15625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15626 *) ac_try_echo=$ac_try;;
15627 esac
15628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15629 (eval "$ac_try") 2>&5
15630 ac_status=$?
15631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15632 (exit $ac_status); }; }; then
15633 cross_compiling=no
15634 else
15635 if test "$cross_compiling" = maybe; then
15636 cross_compiling=yes
15637 else
15638 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15639 If you meant to cross compile, use \`--host'.
15640 See \`config.log' for more details." >&5
15641 echo "$as_me: error: cannot run C compiled programs.
15642 If you meant to cross compile, use \`--host'.
15643 See \`config.log' for more details." >&2;}
15644 { (exit 1); exit 1; }; }
15645 fi
15646 fi
15647 fi
15648 { echo "$as_me:$LINENO: result: yes" >&5
15649 echo "${ECHO_T}yes" >&6; }
15650
15651 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15652 ac_clean_files=$ac_clean_files_save
15653 # Check that the compiler produces executables we can run. If not, either
15654 # the compiler is broken, or we cross compile.
15655 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15656 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15657 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15658 echo "${ECHO_T}$cross_compiling" >&6; }
15659
15660 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15661 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15662 if { (ac_try="$ac_link"
15663 case "(($ac_try" in
15664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15665 *) ac_try_echo=$ac_try;;
15666 esac
15667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15668 (eval "$ac_link") 2>&5
15669 ac_status=$?
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); }; then
15672 # If both `conftest.exe' and `conftest' are `present' (well, observable)
15673 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
15674 # work properly (i.e., refer to `conftest.exe'), while it won't with
15675 # `rm'.
15676 for ac_file in conftest.exe conftest conftest.*; do
15677 test -f "$ac_file" || continue
15678 case $ac_file in
15679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15680 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15681 break;;
15682 * ) break;;
15683 esac
15684 done
15685 else
15686 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15687 See \`config.log' for more details." >&5
15688 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15689 See \`config.log' for more details." >&2;}
15690 { (exit 1); exit 1; }; }
15691 fi
15692
15693 rm -f conftest$ac_cv_exeext
15694 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15695 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15696
15697 rm -f conftest.$ac_ext
15698 EXEEXT=$ac_cv_exeext
15699 ac_exeext=$EXEEXT
15700 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15701 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15702 if test "${ac_cv_objext+set}" = set; then
15703 echo $ECHO_N "(cached) $ECHO_C" >&6
15704 else
15705 cat >conftest.$ac_ext <<_ACEOF
15706 /* confdefs.h. */
15707 _ACEOF
15708 cat confdefs.h >>conftest.$ac_ext
15709 cat >>conftest.$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15711
15712 int
15713 main ()
15714 {
15715
15716 ;
15717 return 0;
15718 }
15719 _ACEOF
15720 rm -f conftest.o conftest.obj
15721 if { (ac_try="$ac_compile"
15722 case "(($ac_try" in
15723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15724 *) ac_try_echo=$ac_try;;
15725 esac
15726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15727 (eval "$ac_compile") 2>&5
15728 ac_status=$?
15729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15730 (exit $ac_status); }; then
15731 for ac_file in conftest.o conftest.obj conftest.*; do
15732 test -f "$ac_file" || continue;
15733 case $ac_file in
15734 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15735 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15736 break;;
15737 esac
15738 done
15739 else
15740 echo "$as_me: failed program was:" >&5
15741 sed 's/^/| /' conftest.$ac_ext >&5
15742
15743 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15744 See \`config.log' for more details." >&5
15745 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15746 See \`config.log' for more details." >&2;}
15747 { (exit 1); exit 1; }; }
15748 fi
15749
15750 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15751 fi
15752 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
15753 echo "${ECHO_T}$ac_cv_objext" >&6; }
15754 OBJEXT=$ac_cv_objext
15755 ac_objext=$OBJEXT
15756 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
15757 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
15758 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15759 echo $ECHO_N "(cached) $ECHO_C" >&6
15760 else
15761 cat >conftest.$ac_ext <<_ACEOF
15762 /* confdefs.h. */
15763 _ACEOF
15764 cat confdefs.h >>conftest.$ac_ext
15765 cat >>conftest.$ac_ext <<_ACEOF
15766 /* end confdefs.h. */
15767
15768 int
15769 main ()
15770 {
15771 #ifndef __GNUC__
15772 choke me
15773 #endif
15774
15775 ;
15776 return 0;
15777 }
15778 _ACEOF
15779 rm -f conftest.$ac_objext
15780 if { (ac_try="$ac_compile"
15781 case "(($ac_try" in
15782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15783 *) ac_try_echo=$ac_try;;
15784 esac
15785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15786 (eval "$ac_compile") 2>conftest.er1
15787 ac_status=$?
15788 grep -v '^ *+' conftest.er1 >conftest.err
15789 rm -f conftest.er1
15790 cat conftest.err >&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); } && {
15793 test -z "$ac_c_werror_flag" ||
15794 test ! -s conftest.err
15795 } && test -s conftest.$ac_objext; then
15796 ac_compiler_gnu=yes
15797 else
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.$ac_ext >&5
15800
15801 ac_compiler_gnu=no
15802 fi
15803
15804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15805 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15806
15807 fi
15808 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
15809 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15810 GCC=`test $ac_compiler_gnu = yes && echo yes`
15811 ac_test_CFLAGS=${CFLAGS+set}
15812 ac_save_CFLAGS=$CFLAGS
15813 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15814 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15815 if test "${ac_cv_prog_cc_g+set}" = set; then
15816 echo $ECHO_N "(cached) $ECHO_C" >&6
15817 else
15818 ac_save_c_werror_flag=$ac_c_werror_flag
15819 ac_c_werror_flag=yes
15820 ac_cv_prog_cc_g=no
15821 CFLAGS="-g"
15822 cat >conftest.$ac_ext <<_ACEOF
15823 /* confdefs.h. */
15824 _ACEOF
15825 cat confdefs.h >>conftest.$ac_ext
15826 cat >>conftest.$ac_ext <<_ACEOF
15827 /* end confdefs.h. */
15828
15829 int
15830 main ()
15831 {
15832
15833 ;
15834 return 0;
15835 }
15836 _ACEOF
15837 rm -f conftest.$ac_objext
15838 if { (ac_try="$ac_compile"
15839 case "(($ac_try" in
15840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15841 *) ac_try_echo=$ac_try;;
15842 esac
15843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15844 (eval "$ac_compile") 2>conftest.er1
15845 ac_status=$?
15846 grep -v '^ *+' conftest.er1 >conftest.err
15847 rm -f conftest.er1
15848 cat conftest.err >&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } && {
15851 test -z "$ac_c_werror_flag" ||
15852 test ! -s conftest.err
15853 } && test -s conftest.$ac_objext; then
15854 ac_cv_prog_cc_g=yes
15855 else
15856 echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15858
15859 CFLAGS=""
15860 cat >conftest.$ac_ext <<_ACEOF
15861 /* confdefs.h. */
15862 _ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866
15867 int
15868 main ()
15869 {
15870
15871 ;
15872 return 0;
15873 }
15874 _ACEOF
15875 rm -f conftest.$ac_objext
15876 if { (ac_try="$ac_compile"
15877 case "(($ac_try" in
15878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15879 *) ac_try_echo=$ac_try;;
15880 esac
15881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15882 (eval "$ac_compile") 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } && {
15889 test -z "$ac_c_werror_flag" ||
15890 test ! -s conftest.err
15891 } && test -s conftest.$ac_objext; then
15892 :
15893 else
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15896
15897 ac_c_werror_flag=$ac_save_c_werror_flag
15898 CFLAGS="-g"
15899 cat >conftest.$ac_ext <<_ACEOF
15900 /* confdefs.h. */
15901 _ACEOF
15902 cat confdefs.h >>conftest.$ac_ext
15903 cat >>conftest.$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905
15906 int
15907 main ()
15908 {
15909
15910 ;
15911 return 0;
15912 }
15913 _ACEOF
15914 rm -f conftest.$ac_objext
15915 if { (ac_try="$ac_compile"
15916 case "(($ac_try" in
15917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15918 *) ac_try_echo=$ac_try;;
15919 esac
15920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15921 (eval "$ac_compile") 2>conftest.er1
15922 ac_status=$?
15923 grep -v '^ *+' conftest.er1 >conftest.err
15924 rm -f conftest.er1
15925 cat conftest.err >&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } && {
15928 test -z "$ac_c_werror_flag" ||
15929 test ! -s conftest.err
15930 } && test -s conftest.$ac_objext; then
15931 ac_cv_prog_cc_g=yes
15932 else
15933 echo "$as_me: failed program was:" >&5
15934 sed 's/^/| /' conftest.$ac_ext >&5
15935
15936
15937 fi
15938
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15940 fi
15941
15942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15943 fi
15944
15945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15946 ac_c_werror_flag=$ac_save_c_werror_flag
15947 fi
15948 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15949 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15950 if test "$ac_test_CFLAGS" = set; then
15951 CFLAGS=$ac_save_CFLAGS
15952 elif test $ac_cv_prog_cc_g = yes; then
15953 if test "$GCC" = yes; then
15954 CFLAGS="-g -O2"
15955 else
15956 CFLAGS="-g"
15957 fi
15958 else
15959 if test "$GCC" = yes; then
15960 CFLAGS="-O2"
15961 else
15962 CFLAGS=
15963 fi
15964 fi
15965 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
15966 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
15967 if test "${ac_cv_prog_cc_c89+set}" = set; then
15968 echo $ECHO_N "(cached) $ECHO_C" >&6
15969 else
15970 ac_cv_prog_cc_c89=no
15971 ac_save_CC=$CC
15972 cat >conftest.$ac_ext <<_ACEOF
15973 /* confdefs.h. */
15974 _ACEOF
15975 cat confdefs.h >>conftest.$ac_ext
15976 cat >>conftest.$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 #include <stdarg.h>
15979 #include <stdio.h>
15980 #include <sys/types.h>
15981 #include <sys/stat.h>
15982 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15983 struct buf { int x; };
15984 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15985 static char *e (p, i)
15986 char **p;
15987 int i;
15988 {
15989 return p[i];
15990 }
15991 static char *f (char * (*g) (char **, int), char **p, ...)
15992 {
15993 char *s;
15994 va_list v;
15995 va_start (v,p);
15996 s = g (p, va_arg (v,int));
15997 va_end (v);
15998 return s;
15999 }
16000
16001 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
16002 function prototypes and stuff, but not '\xHH' hex character constants.
16003 These don't provoke an error unfortunately, instead are silently treated
16004 as 'x'. The following induces an error, until -std is added to get
16005 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16006 array size at least. It's necessary to write '\x00'==0 to get something
16007 that's true only with -std. */
16008 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16009
16010 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16011 inside strings and character constants. */
16012 #define FOO(x) 'x'
16013 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16014
16015 int test (int i, double x);
16016 struct s1 {int (*f) (int a);};
16017 struct s2 {int (*f) (double a);};
16018 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16019 int argc;
16020 char **argv;
16021 int
16022 main ()
16023 {
16024 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16025 ;
16026 return 0;
16027 }
16028 _ACEOF
16029 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16030 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16031 do
16032 CC="$ac_save_CC $ac_arg"
16033 rm -f conftest.$ac_objext
16034 if { (ac_try="$ac_compile"
16035 case "(($ac_try" in
16036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16037 *) ac_try_echo=$ac_try;;
16038 esac
16039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16040 (eval "$ac_compile") 2>conftest.er1
16041 ac_status=$?
16042 grep -v '^ *+' conftest.er1 >conftest.err
16043 rm -f conftest.er1
16044 cat conftest.err >&5
16045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16046 (exit $ac_status); } && {
16047 test -z "$ac_c_werror_flag" ||
16048 test ! -s conftest.err
16049 } && test -s conftest.$ac_objext; then
16050 ac_cv_prog_cc_c89=$ac_arg
16051 else
16052 echo "$as_me: failed program was:" >&5
16053 sed 's/^/| /' conftest.$ac_ext >&5
16054
16055
16056 fi
16057
16058 rm -f core conftest.err conftest.$ac_objext
16059 test "x$ac_cv_prog_cc_c89" != "xno" && break
16060 done
16061 rm -f conftest.$ac_ext
16062 CC=$ac_save_CC
16063
16064 fi
16065 # AC_CACHE_VAL
16066 case "x$ac_cv_prog_cc_c89" in
16067 x)
16068 { echo "$as_me:$LINENO: result: none needed" >&5
16069 echo "${ECHO_T}none needed" >&6; } ;;
16070 xno)
16071 { echo "$as_me:$LINENO: result: unsupported" >&5
16072 echo "${ECHO_T}unsupported" >&6; } ;;
16073 *)
16074 CC="$CC $ac_cv_prog_cc_c89"
16075 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
16076 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16077 esac
16078
16079
16080 ac_ext=c
16081 ac_cpp='$CPP $CPPFLAGS'
16082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16085
16086
16087
16088
16089
16090
16091
16092
16093 ac_ext=c
16094 ac_cpp='$CPP $CPPFLAGS'
16095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16098
16099 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
16100 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
16101 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16102 echo $ECHO_N "(cached) $ECHO_C" >&6
16103 else
16104 cat >conftest.$ac_ext <<_ACEOF
16105 /* confdefs.h. */
16106 _ACEOF
16107 cat confdefs.h >>conftest.$ac_ext
16108 cat >>conftest.$ac_ext <<_ACEOF
16109 /* end confdefs.h. */
16110
16111 int
16112 main ()
16113 {
16114
16115 #ifndef __INTEL_COMPILER
16116 choke me
16117 #endif
16118
16119 ;
16120 return 0;
16121 }
16122 _ACEOF
16123 rm -f conftest.$ac_objext
16124 if { (ac_try="$ac_compile"
16125 case "(($ac_try" in
16126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16127 *) ac_try_echo=$ac_try;;
16128 esac
16129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16130 (eval "$ac_compile") 2>conftest.er1
16131 ac_status=$?
16132 grep -v '^ *+' conftest.er1 >conftest.err
16133 rm -f conftest.er1
16134 cat conftest.err >&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); } && {
16137 test -z "$ac_c_werror_flag" ||
16138 test ! -s conftest.err
16139 } && test -s conftest.$ac_objext; then
16140 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16141 else
16142 echo "$as_me: failed program was:" >&5
16143 sed 's/^/| /' conftest.$ac_ext >&5
16144
16145 bakefile_cv_c_compiler___INTEL_COMPILER=no
16146
16147 fi
16148
16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16150
16151
16152 fi
16153 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16154 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16155 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
16156 :; INTELCC=yes
16157 else
16158 :;
16159 fi
16160 ac_ext=c
16161 ac_cpp='$CPP $CPPFLAGS'
16162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16165
16166
16167
16168
16169 if test "$INTELCC" = "yes"; then
16170
16171
16172 ac_ext=c
16173 ac_cpp='$CPP $CPPFLAGS'
16174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16177
16178 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later" >&5
16179 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later... $ECHO_C" >&6; }
16180 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16181 echo $ECHO_N "(cached) $ECHO_C" >&6
16182 else
16183 cat >conftest.$ac_ext <<_ACEOF
16184 /* confdefs.h. */
16185 _ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16189
16190 int
16191 main ()
16192 {
16193
16194 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16195 choke me
16196 #endif
16197
16198 ;
16199 return 0;
16200 }
16201 _ACEOF
16202 rm -f conftest.$ac_objext
16203 if { (ac_try="$ac_compile"
16204 case "(($ac_try" in
16205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16206 *) ac_try_echo=$ac_try;;
16207 esac
16208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16209 (eval "$ac_compile") 2>conftest.er1
16210 ac_status=$?
16211 grep -v '^ *+' conftest.er1 >conftest.err
16212 rm -f conftest.er1
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } && {
16216 test -z "$ac_c_werror_flag" ||
16217 test ! -s conftest.err
16218 } && test -s conftest.$ac_objext; then
16219 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16220 else
16221 echo "$as_me: failed program was:" >&5
16222 sed 's/^/| /' conftest.$ac_ext >&5
16223
16224 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16225
16226 fi
16227
16228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16229
16230
16231 fi
16232 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16233 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16234 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
16235 :; INTELCC8=yes
16236 else
16237 :;
16238 fi
16239 ac_ext=c
16240 ac_cpp='$CPP $CPPFLAGS'
16241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16244
16245
16246
16247
16248
16249 ac_ext=c
16250 ac_cpp='$CPP $CPPFLAGS'
16251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16254
16255 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later" >&5
16256 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later... $ECHO_C" >&6; }
16257 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16258 echo $ECHO_N "(cached) $ECHO_C" >&6
16259 else
16260 cat >conftest.$ac_ext <<_ACEOF
16261 /* confdefs.h. */
16262 _ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266
16267 int
16268 main ()
16269 {
16270
16271 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16272 choke me
16273 #endif
16274
16275 ;
16276 return 0;
16277 }
16278 _ACEOF
16279 rm -f conftest.$ac_objext
16280 if { (ac_try="$ac_compile"
16281 case "(($ac_try" in
16282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16283 *) ac_try_echo=$ac_try;;
16284 esac
16285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16286 (eval "$ac_compile") 2>conftest.er1
16287 ac_status=$?
16288 grep -v '^ *+' conftest.er1 >conftest.err
16289 rm -f conftest.er1
16290 cat conftest.err >&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); } && {
16293 test -z "$ac_c_werror_flag" ||
16294 test ! -s conftest.err
16295 } && test -s conftest.$ac_objext; then
16296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16297 else
16298 echo "$as_me: failed program was:" >&5
16299 sed 's/^/| /' conftest.$ac_ext >&5
16300
16301 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16302
16303 fi
16304
16305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16306
16307
16308 fi
16309 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16310 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16311 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
16312 :; INTELCC10=yes
16313 else
16314 :;
16315 fi
16316 ac_ext=c
16317 ac_cpp='$CPP $CPPFLAGS'
16318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16321
16322
16323
16324 fi
16325
16326 if test "x$GCC" != "xyes"; then
16327 if test "xCC" = "xC"; then
16328 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16329 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16330 if test "${bakefile_cv_c_exto+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 cat >conftest.$ac_ext <<_ACEOF
16334 /* confdefs.h. */
16335 _ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339
16340 int
16341 main ()
16342 {
16343
16344 ;
16345 return 0;
16346 }
16347 _ACEOF
16348 rm -f conftest.$ac_objext conftest.$ac_ext.o
16349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16350 (eval $ac_compile) 2>&5
16351 ac_status=$?
16352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16353 (exit $ac_status); }; then
16354 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16355 case $ac_file in
16356 conftest.$ac_ext.o)
16357 bakefile_cv_c_exto="-ext o"
16358 ;;
16359 *)
16360 ;;
16361 esac
16362 done
16363 else
16364 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16365 See \`config.log' for more details." >&5
16366 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16367 See \`config.log' for more details." >&2;}
16368 { (exit 1); exit 1; }; }
16369
16370 fi
16371
16372 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16373
16374 fi
16375 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16376 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16377 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16378 if test "c" = "c"; then
16379 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16380 fi
16381 if test "c" = "cxx"; then
16382 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16383 fi
16384 fi
16385
16386 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16387 unset ac_cv_prog_cc_g
16388 ac_test_CFLAGS=${CFLAGS+set}
16389 ac_save_CFLAGS=$CFLAGS
16390 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16391 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16392 if test "${ac_cv_prog_cc_g+set}" = set; then
16393 echo $ECHO_N "(cached) $ECHO_C" >&6
16394 else
16395 ac_save_c_werror_flag=$ac_c_werror_flag
16396 ac_c_werror_flag=yes
16397 ac_cv_prog_cc_g=no
16398 CFLAGS="-g"
16399 cat >conftest.$ac_ext <<_ACEOF
16400 /* confdefs.h. */
16401 _ACEOF
16402 cat confdefs.h >>conftest.$ac_ext
16403 cat >>conftest.$ac_ext <<_ACEOF
16404 /* end confdefs.h. */
16405
16406 int
16407 main ()
16408 {
16409
16410 ;
16411 return 0;
16412 }
16413 _ACEOF
16414 rm -f conftest.$ac_objext
16415 if { (ac_try="$ac_compile"
16416 case "(($ac_try" in
16417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16418 *) ac_try_echo=$ac_try;;
16419 esac
16420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16421 (eval "$ac_compile") 2>conftest.er1
16422 ac_status=$?
16423 grep -v '^ *+' conftest.er1 >conftest.err
16424 rm -f conftest.er1
16425 cat conftest.err >&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); } && {
16428 test -z "$ac_c_werror_flag" ||
16429 test ! -s conftest.err
16430 } && test -s conftest.$ac_objext; then
16431 ac_cv_prog_cc_g=yes
16432 else
16433 echo "$as_me: failed program was:" >&5
16434 sed 's/^/| /' conftest.$ac_ext >&5
16435
16436 CFLAGS=""
16437 cat >conftest.$ac_ext <<_ACEOF
16438 /* confdefs.h. */
16439 _ACEOF
16440 cat confdefs.h >>conftest.$ac_ext
16441 cat >>conftest.$ac_ext <<_ACEOF
16442 /* end confdefs.h. */
16443
16444 int
16445 main ()
16446 {
16447
16448 ;
16449 return 0;
16450 }
16451 _ACEOF
16452 rm -f conftest.$ac_objext
16453 if { (ac_try="$ac_compile"
16454 case "(($ac_try" in
16455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16456 *) ac_try_echo=$ac_try;;
16457 esac
16458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16459 (eval "$ac_compile") 2>conftest.er1
16460 ac_status=$?
16461 grep -v '^ *+' conftest.er1 >conftest.err
16462 rm -f conftest.er1
16463 cat conftest.err >&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); } && {
16466 test -z "$ac_c_werror_flag" ||
16467 test ! -s conftest.err
16468 } && test -s conftest.$ac_objext; then
16469 :
16470 else
16471 echo "$as_me: failed program was:" >&5
16472 sed 's/^/| /' conftest.$ac_ext >&5
16473
16474 ac_c_werror_flag=$ac_save_c_werror_flag
16475 CFLAGS="-g"
16476 cat >conftest.$ac_ext <<_ACEOF
16477 /* confdefs.h. */
16478 _ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h. */
16482
16483 int
16484 main ()
16485 {
16486
16487 ;
16488 return 0;
16489 }
16490 _ACEOF
16491 rm -f conftest.$ac_objext
16492 if { (ac_try="$ac_compile"
16493 case "(($ac_try" in
16494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16495 *) ac_try_echo=$ac_try;;
16496 esac
16497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16498 (eval "$ac_compile") 2>conftest.er1
16499 ac_status=$?
16500 grep -v '^ *+' conftest.er1 >conftest.err
16501 rm -f conftest.er1
16502 cat conftest.err >&5
16503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504 (exit $ac_status); } && {
16505 test -z "$ac_c_werror_flag" ||
16506 test ! -s conftest.err
16507 } && test -s conftest.$ac_objext; then
16508 ac_cv_prog_cc_g=yes
16509 else
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.$ac_ext >&5
16512
16513
16514 fi
16515
16516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16517 fi
16518
16519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16520 fi
16521
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 ac_c_werror_flag=$ac_save_c_werror_flag
16524 fi
16525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16526 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16527 if test "$ac_test_CFLAGS" = set; then
16528 CFLAGS=$ac_save_CFLAGS
16529 elif test $ac_cv_prog_cc_g = yes; then
16530 if test "$GCC" = yes; then
16531 CFLAGS="-g -O2"
16532 else
16533 CFLAGS="-g"
16534 fi
16535 else
16536 if test "$GCC" = yes; then
16537 CFLAGS="-O2"
16538 else
16539 CFLAGS=
16540 fi
16541 fi
16542 fi
16543 fi
16544
16545 case `uname -s` in
16546 AIX*)
16547
16548
16549 ac_ext=c
16550 ac_cpp='$CPP $CPPFLAGS'
16551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16554
16555 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16556 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16557 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16558 echo $ECHO_N "(cached) $ECHO_C" >&6
16559 else
16560 cat >conftest.$ac_ext <<_ACEOF
16561 /* confdefs.h. */
16562 _ACEOF
16563 cat confdefs.h >>conftest.$ac_ext
16564 cat >>conftest.$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566
16567 int
16568 main ()
16569 {
16570
16571 #ifndef __xlC__
16572 choke me
16573 #endif
16574
16575 ;
16576 return 0;
16577 }
16578 _ACEOF
16579 rm -f conftest.$ac_objext
16580 if { (ac_try="$ac_compile"
16581 case "(($ac_try" in
16582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16583 *) ac_try_echo=$ac_try;;
16584 esac
16585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16586 (eval "$ac_compile") 2>conftest.er1
16587 ac_status=$?
16588 grep -v '^ *+' conftest.er1 >conftest.err
16589 rm -f conftest.er1
16590 cat conftest.err >&5
16591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16592 (exit $ac_status); } && {
16593 test -z "$ac_c_werror_flag" ||
16594 test ! -s conftest.err
16595 } && test -s conftest.$ac_objext; then
16596 bakefile_cv_c_compiler___xlC__=yes
16597 else
16598 echo "$as_me: failed program was:" >&5
16599 sed 's/^/| /' conftest.$ac_ext >&5
16600
16601 bakefile_cv_c_compiler___xlC__=no
16602
16603 fi
16604
16605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16606
16607
16608 fi
16609 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16610 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16611 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16612 :; XLCC=yes
16613 else
16614 :;
16615 fi
16616 ac_ext=c
16617 ac_cpp='$CPP $CPPFLAGS'
16618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16621
16622
16623
16624 ;;
16625
16626 Darwin)
16627
16628
16629 ac_ext=c
16630 ac_cpp='$CPP $CPPFLAGS'
16631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16634
16635 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16636 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16637 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16638 echo $ECHO_N "(cached) $ECHO_C" >&6
16639 else
16640 cat >conftest.$ac_ext <<_ACEOF
16641 /* confdefs.h. */
16642 _ACEOF
16643 cat confdefs.h >>conftest.$ac_ext
16644 cat >>conftest.$ac_ext <<_ACEOF
16645 /* end confdefs.h. */
16646
16647 int
16648 main ()
16649 {
16650
16651 #ifndef __MWERKS__
16652 choke me
16653 #endif
16654
16655 ;
16656 return 0;
16657 }
16658 _ACEOF
16659 rm -f conftest.$ac_objext
16660 if { (ac_try="$ac_compile"
16661 case "(($ac_try" in
16662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16663 *) ac_try_echo=$ac_try;;
16664 esac
16665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16666 (eval "$ac_compile") 2>conftest.er1
16667 ac_status=$?
16668 grep -v '^ *+' conftest.er1 >conftest.err
16669 rm -f conftest.er1
16670 cat conftest.err >&5
16671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16672 (exit $ac_status); } && {
16673 test -z "$ac_c_werror_flag" ||
16674 test ! -s conftest.err
16675 } && test -s conftest.$ac_objext; then
16676 bakefile_cv_c_compiler___MWERKS__=yes
16677 else
16678 echo "$as_me: failed program was:" >&5
16679 sed 's/^/| /' conftest.$ac_ext >&5
16680
16681 bakefile_cv_c_compiler___MWERKS__=no
16682
16683 fi
16684
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16686
16687
16688 fi
16689 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16690 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16691 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16692 :; MWCC=yes
16693 else
16694 :;
16695 fi
16696 ac_ext=c
16697 ac_cpp='$CPP $CPPFLAGS'
16698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16701
16702
16703
16704 if test "$MWCC" != "yes"; then
16705
16706
16707 ac_ext=c
16708 ac_cpp='$CPP $CPPFLAGS'
16709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16712
16713 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16714 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16715 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16716 echo $ECHO_N "(cached) $ECHO_C" >&6
16717 else
16718 cat >conftest.$ac_ext <<_ACEOF
16719 /* confdefs.h. */
16720 _ACEOF
16721 cat confdefs.h >>conftest.$ac_ext
16722 cat >>conftest.$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16724
16725 int
16726 main ()
16727 {
16728
16729 #ifndef __xlC__
16730 choke me
16731 #endif
16732
16733 ;
16734 return 0;
16735 }
16736 _ACEOF
16737 rm -f conftest.$ac_objext
16738 if { (ac_try="$ac_compile"
16739 case "(($ac_try" in
16740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16741 *) ac_try_echo=$ac_try;;
16742 esac
16743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16744 (eval "$ac_compile") 2>conftest.er1
16745 ac_status=$?
16746 grep -v '^ *+' conftest.er1 >conftest.err
16747 rm -f conftest.er1
16748 cat conftest.err >&5
16749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16750 (exit $ac_status); } && {
16751 test -z "$ac_c_werror_flag" ||
16752 test ! -s conftest.err
16753 } && test -s conftest.$ac_objext; then
16754 bakefile_cv_c_compiler___xlC__=yes
16755 else
16756 echo "$as_me: failed program was:" >&5
16757 sed 's/^/| /' conftest.$ac_ext >&5
16758
16759 bakefile_cv_c_compiler___xlC__=no
16760
16761 fi
16762
16763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16764
16765
16766 fi
16767 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16768 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16769 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16770 :; XLCC=yes
16771 else
16772 :;
16773 fi
16774 ac_ext=c
16775 ac_cpp='$CPP $CPPFLAGS'
16776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16779
16780
16781
16782 fi
16783 ;;
16784
16785 IRIX*)
16786
16787
16788 ac_ext=c
16789 ac_cpp='$CPP $CPPFLAGS'
16790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16793
16794 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16795 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16796 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16797 echo $ECHO_N "(cached) $ECHO_C" >&6
16798 else
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805
16806 int
16807 main ()
16808 {
16809
16810 #ifndef _SGI_COMPILER_VERSION
16811 choke me
16812 #endif
16813
16814 ;
16815 return 0;
16816 }
16817 _ACEOF
16818 rm -f conftest.$ac_objext
16819 if { (ac_try="$ac_compile"
16820 case "(($ac_try" in
16821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16822 *) ac_try_echo=$ac_try;;
16823 esac
16824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16825 (eval "$ac_compile") 2>conftest.er1
16826 ac_status=$?
16827 grep -v '^ *+' conftest.er1 >conftest.err
16828 rm -f conftest.er1
16829 cat conftest.err >&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); } && {
16832 test -z "$ac_c_werror_flag" ||
16833 test ! -s conftest.err
16834 } && test -s conftest.$ac_objext; then
16835 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16836 else
16837 echo "$as_me: failed program was:" >&5
16838 sed 's/^/| /' conftest.$ac_ext >&5
16839
16840 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16841
16842 fi
16843
16844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16845
16846
16847 fi
16848 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16849 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16850 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16851 :; SGICC=yes
16852 else
16853 :;
16854 fi
16855 ac_ext=c
16856 ac_cpp='$CPP $CPPFLAGS'
16857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16860
16861
16862
16863 ;;
16864
16865 Linux*)
16866 if test "$INTELCC" != "yes"; then
16867
16868
16869 ac_ext=c
16870 ac_cpp='$CPP $CPPFLAGS'
16871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16874
16875 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16876 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16877 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 else
16880 cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h. */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886
16887 int
16888 main ()
16889 {
16890
16891 #ifndef __SUNPRO_C
16892 choke me
16893 #endif
16894
16895 ;
16896 return 0;
16897 }
16898 _ACEOF
16899 rm -f conftest.$ac_objext
16900 if { (ac_try="$ac_compile"
16901 case "(($ac_try" in
16902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16903 *) ac_try_echo=$ac_try;;
16904 esac
16905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16906 (eval "$ac_compile") 2>conftest.er1
16907 ac_status=$?
16908 grep -v '^ *+' conftest.er1 >conftest.err
16909 rm -f conftest.er1
16910 cat conftest.err >&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } && {
16913 test -z "$ac_c_werror_flag" ||
16914 test ! -s conftest.err
16915 } && test -s conftest.$ac_objext; then
16916 bakefile_cv_c_compiler___SUNPRO_C=yes
16917 else
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.$ac_ext >&5
16920
16921 bakefile_cv_c_compiler___SUNPRO_C=no
16922
16923 fi
16924
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926
16927
16928 fi
16929 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16930 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16931 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16932 :; SUNCC=yes
16933 else
16934 :;
16935 fi
16936 ac_ext=c
16937 ac_cpp='$CPP $CPPFLAGS'
16938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16941
16942
16943
16944 fi
16945 ;;
16946
16947 HP-UX*)
16948
16949
16950 ac_ext=c
16951 ac_cpp='$CPP $CPPFLAGS'
16952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16955
16956 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16957 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16958 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16960 else
16961 cat >conftest.$ac_ext <<_ACEOF
16962 /* confdefs.h. */
16963 _ACEOF
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16967
16968 int
16969 main ()
16970 {
16971
16972 #ifndef __HP_cc
16973 choke me
16974 #endif
16975
16976 ;
16977 return 0;
16978 }
16979 _ACEOF
16980 rm -f conftest.$ac_objext
16981 if { (ac_try="$ac_compile"
16982 case "(($ac_try" in
16983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16984 *) ac_try_echo=$ac_try;;
16985 esac
16986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16987 (eval "$ac_compile") 2>conftest.er1
16988 ac_status=$?
16989 grep -v '^ *+' conftest.er1 >conftest.err
16990 rm -f conftest.er1
16991 cat conftest.err >&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } && {
16994 test -z "$ac_c_werror_flag" ||
16995 test ! -s conftest.err
16996 } && test -s conftest.$ac_objext; then
16997 bakefile_cv_c_compiler___HP_cc=yes
16998 else
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17001
17002 bakefile_cv_c_compiler___HP_cc=no
17003
17004 fi
17005
17006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17007
17008
17009 fi
17010 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17011 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17012 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17013 :; HPCC=yes
17014 else
17015 :;
17016 fi
17017 ac_ext=c
17018 ac_cpp='$CPP $CPPFLAGS'
17019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17022
17023
17024
17025 ;;
17026
17027 OSF1)
17028
17029
17030 ac_ext=c
17031 ac_cpp='$CPP $CPPFLAGS'
17032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17035
17036 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17037 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17038 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17040 else
17041 cat >conftest.$ac_ext <<_ACEOF
17042 /* confdefs.h. */
17043 _ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047
17048 int
17049 main ()
17050 {
17051
17052 #ifndef __DECC
17053 choke me
17054 #endif
17055
17056 ;
17057 return 0;
17058 }
17059 _ACEOF
17060 rm -f conftest.$ac_objext
17061 if { (ac_try="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17065 esac
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17068 ac_status=$?
17069 grep -v '^ *+' conftest.er1 >conftest.err
17070 rm -f conftest.er1
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_c_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.$ac_objext; then
17077 bakefile_cv_c_compiler___DECC=yes
17078 else
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17081
17082 bakefile_cv_c_compiler___DECC=no
17083
17084 fi
17085
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17087
17088
17089 fi
17090 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17091 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17092 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17093 :; COMPAQCC=yes
17094 else
17095 :;
17096 fi
17097 ac_ext=c
17098 ac_cpp='$CPP $CPPFLAGS'
17099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17102
17103
17104
17105 ;;
17106
17107 SunOS)
17108
17109
17110 ac_ext=c
17111 ac_cpp='$CPP $CPPFLAGS'
17112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17115
17116 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17117 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17118 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17119 echo $ECHO_N "(cached) $ECHO_C" >&6
17120 else
17121 cat >conftest.$ac_ext <<_ACEOF
17122 /* confdefs.h. */
17123 _ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127
17128 int
17129 main ()
17130 {
17131
17132 #ifndef __SUNPRO_C
17133 choke me
17134 #endif
17135
17136 ;
17137 return 0;
17138 }
17139 _ACEOF
17140 rm -f conftest.$ac_objext
17141 if { (ac_try="$ac_compile"
17142 case "(($ac_try" in
17143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17144 *) ac_try_echo=$ac_try;;
17145 esac
17146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17147 (eval "$ac_compile") 2>conftest.er1
17148 ac_status=$?
17149 grep -v '^ *+' conftest.er1 >conftest.err
17150 rm -f conftest.er1
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } && {
17154 test -z "$ac_c_werror_flag" ||
17155 test ! -s conftest.err
17156 } && test -s conftest.$ac_objext; then
17157 bakefile_cv_c_compiler___SUNPRO_C=yes
17158 else
17159 echo "$as_me: failed program was:" >&5
17160 sed 's/^/| /' conftest.$ac_ext >&5
17161
17162 bakefile_cv_c_compiler___SUNPRO_C=no
17163
17164 fi
17165
17166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17167
17168
17169 fi
17170 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17171 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17172 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17173 :; SUNCC=yes
17174 else
17175 :;
17176 fi
17177 ac_ext=c
17178 ac_cpp='$CPP $CPPFLAGS'
17179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17182
17183
17184
17185 ;;
17186 esac
17187 fi
17188
17189
17190
17191 ac_ext=c
17192 ac_cpp='$CPP $CPPFLAGS'
17193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17196 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17197 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17198 # On Suns, sometimes $CPP names a directory.
17199 if test -n "$CPP" && test -d "$CPP"; then
17200 CPP=
17201 fi
17202 if test -z "$CPP"; then
17203 if test "${ac_cv_prog_CPP+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 # Double quotes because CPP needs to be expanded
17207 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17208 do
17209 ac_preproc_ok=false
17210 for ac_c_preproc_warn_flag in '' yes
17211 do
17212 # Use a header file that comes with gcc, so configuring glibc
17213 # with a fresh cross-compiler works.
17214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17215 # <limits.h> exists even on freestanding compilers.
17216 # On the NeXT, cc -E runs the code through the compiler's parser,
17217 # not just through cpp. "Syntax error" is here to catch this case.
17218 cat >conftest.$ac_ext <<_ACEOF
17219 /* confdefs.h. */
17220 _ACEOF
17221 cat confdefs.h >>conftest.$ac_ext
17222 cat >>conftest.$ac_ext <<_ACEOF
17223 /* end confdefs.h. */
17224 #ifdef __STDC__
17225 # include <limits.h>
17226 #else
17227 # include <assert.h>
17228 #endif
17229 Syntax error
17230 _ACEOF
17231 if { (ac_try="$ac_cpp conftest.$ac_ext"
17232 case "(($ac_try" in
17233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17234 *) ac_try_echo=$ac_try;;
17235 esac
17236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17237 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17238 ac_status=$?
17239 grep -v '^ *+' conftest.er1 >conftest.err
17240 rm -f conftest.er1
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } >/dev/null && {
17244 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17245 test ! -s conftest.err
17246 }; then
17247 :
17248 else
17249 echo "$as_me: failed program was:" >&5
17250 sed 's/^/| /' conftest.$ac_ext >&5
17251
17252 # Broken: fails on valid input.
17253 continue
17254 fi
17255
17256 rm -f conftest.err conftest.$ac_ext
17257
17258 # OK, works on sane cases. Now check whether nonexistent headers
17259 # can be detected and how.
17260 cat >conftest.$ac_ext <<_ACEOF
17261 /* confdefs.h. */
17262 _ACEOF
17263 cat confdefs.h >>conftest.$ac_ext
17264 cat >>conftest.$ac_ext <<_ACEOF
17265 /* end confdefs.h. */
17266 #include <ac_nonexistent.h>
17267 _ACEOF
17268 if { (ac_try="$ac_cpp conftest.$ac_ext"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17272 esac
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17275 ac_status=$?
17276 grep -v '^ *+' conftest.er1 >conftest.err
17277 rm -f conftest.er1
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } >/dev/null && {
17281 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17282 test ! -s conftest.err
17283 }; then
17284 # Broken: success on invalid input.
17285 continue
17286 else
17287 echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17289
17290 # Passes both tests.
17291 ac_preproc_ok=:
17292 break
17293 fi
17294
17295 rm -f conftest.err conftest.$ac_ext
17296
17297 done
17298 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17299 rm -f conftest.err conftest.$ac_ext
17300 if $ac_preproc_ok; then
17301 break
17302 fi
17303
17304 done
17305 ac_cv_prog_CPP=$CPP
17306
17307 fi
17308 CPP=$ac_cv_prog_CPP
17309 else
17310 ac_cv_prog_CPP=$CPP
17311 fi
17312 { echo "$as_me:$LINENO: result: $CPP" >&5
17313 echo "${ECHO_T}$CPP" >&6; }
17314 ac_preproc_ok=false
17315 for ac_c_preproc_warn_flag in '' yes
17316 do
17317 # Use a header file that comes with gcc, so configuring glibc
17318 # with a fresh cross-compiler works.
17319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17320 # <limits.h> exists even on freestanding compilers.
17321 # On the NeXT, cc -E runs the code through the compiler's parser,
17322 # not just through cpp. "Syntax error" is here to catch this case.
17323 cat >conftest.$ac_ext <<_ACEOF
17324 /* confdefs.h. */
17325 _ACEOF
17326 cat confdefs.h >>conftest.$ac_ext
17327 cat >>conftest.$ac_ext <<_ACEOF
17328 /* end confdefs.h. */
17329 #ifdef __STDC__
17330 # include <limits.h>
17331 #else
17332 # include <assert.h>
17333 #endif
17334 Syntax error
17335 _ACEOF
17336 if { (ac_try="$ac_cpp conftest.$ac_ext"
17337 case "(($ac_try" in
17338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17339 *) ac_try_echo=$ac_try;;
17340 esac
17341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17342 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } >/dev/null && {
17349 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17351 }; then
17352 :
17353 else
17354 echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17356
17357 # Broken: fails on valid input.
17358 continue
17359 fi
17360
17361 rm -f conftest.err conftest.$ac_ext
17362
17363 # OK, works on sane cases. Now check whether nonexistent headers
17364 # can be detected and how.
17365 cat >conftest.$ac_ext <<_ACEOF
17366 /* confdefs.h. */
17367 _ACEOF
17368 cat confdefs.h >>conftest.$ac_ext
17369 cat >>conftest.$ac_ext <<_ACEOF
17370 /* end confdefs.h. */
17371 #include <ac_nonexistent.h>
17372 _ACEOF
17373 if { (ac_try="$ac_cpp conftest.$ac_ext"
17374 case "(($ac_try" in
17375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17376 *) ac_try_echo=$ac_try;;
17377 esac
17378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17379 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17380 ac_status=$?
17381 grep -v '^ *+' conftest.er1 >conftest.err
17382 rm -f conftest.er1
17383 cat conftest.err >&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } >/dev/null && {
17386 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17387 test ! -s conftest.err
17388 }; then
17389 # Broken: success on invalid input.
17390 continue
17391 else
17392 echo "$as_me: failed program was:" >&5
17393 sed 's/^/| /' conftest.$ac_ext >&5
17394
17395 # Passes both tests.
17396 ac_preproc_ok=:
17397 break
17398 fi
17399
17400 rm -f conftest.err conftest.$ac_ext
17401
17402 done
17403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17404 rm -f conftest.err conftest.$ac_ext
17405 if $ac_preproc_ok; then
17406 :
17407 else
17408 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17409 See \`config.log' for more details." >&5
17410 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17411 See \`config.log' for more details." >&2;}
17412 { (exit 1); exit 1; }; }
17413 fi
17414
17415 ac_ext=c
17416 ac_cpp='$CPP $CPPFLAGS'
17417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17420
17421
17422 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17423 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17424 if test "${ac_cv_path_GREP+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17426 else
17427 # Extract the first word of "grep ggrep" to use in msg output
17428 if test -z "$GREP"; then
17429 set dummy grep ggrep; ac_prog_name=$2
17430 if test "${ac_cv_path_GREP+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 else
17433 ac_path_GREP_found=false
17434 # Loop through the user's path and test for each of PROGNAME-LIST
17435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17437 do
17438 IFS=$as_save_IFS
17439 test -z "$as_dir" && as_dir=.
17440 for ac_prog in grep ggrep; do
17441 for ac_exec_ext in '' $ac_executable_extensions; do
17442 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
17443 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17444 # Check for GNU ac_path_GREP and select it if it is found.
17445 # Check for GNU $ac_path_GREP
17446 case `"$ac_path_GREP" --version 2>&1` in
17447 *GNU*)
17448 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
17449 *)
17450 ac_count=0
17451 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17452 while :
17453 do
17454 cat "conftest.in" "conftest.in" >"conftest.tmp"
17455 mv "conftest.tmp" "conftest.in"
17456 cp "conftest.in" "conftest.nl"
17457 echo 'GREP' >> "conftest.nl"
17458 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17459 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17460 ac_count=`expr $ac_count + 1`
17461 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17462 # Best one so far, save it but keep looking for a better one
17463 ac_cv_path_GREP="$ac_path_GREP"
17464 ac_path_GREP_max=$ac_count
17465 fi
17466 # 10*(2^10) chars as input seems more than enough
17467 test $ac_count -gt 10 && break
17468 done
17469 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17470 esac
17471
17472
17473 $ac_path_GREP_found && break 3
17474 done
17475 done
17476
17477 done
17478 IFS=$as_save_IFS
17479
17480
17481 fi
17482
17483 GREP="$ac_cv_path_GREP"
17484 if test -z "$GREP"; then
17485 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17486 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17487 { (exit 1); exit 1; }; }
17488 fi
17489
17490 else
17491 ac_cv_path_GREP=$GREP
17492 fi
17493
17494
17495 fi
17496 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17497 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17498 GREP="$ac_cv_path_GREP"
17499
17500
17501 { echo "$as_me:$LINENO: checking for egrep" >&5
17502 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17503 if test "${ac_cv_path_EGREP+set}" = set; then
17504 echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17506 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
17507 then ac_cv_path_EGREP="$GREP -E"
17508 else
17509 # Extract the first word of "egrep" to use in msg output
17510 if test -z "$EGREP"; then
17511 set dummy egrep; ac_prog_name=$2
17512 if test "${ac_cv_path_EGREP+set}" = set; then
17513 echo $ECHO_N "(cached) $ECHO_C" >&6
17514 else
17515 ac_path_EGREP_found=false
17516 # Loop through the user's path and test for each of PROGNAME-LIST
17517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17518 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
17519 do
17520 IFS=$as_save_IFS
17521 test -z "$as_dir" && as_dir=.
17522 for ac_prog in egrep; do
17523 for ac_exec_ext in '' $ac_executable_extensions; do
17524 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
17525 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17526 # Check for GNU ac_path_EGREP and select it if it is found.
17527 # Check for GNU $ac_path_EGREP
17528 case `"$ac_path_EGREP" --version 2>&1` in
17529 *GNU*)
17530 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
17531 *)
17532 ac_count=0
17533 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17534 while :
17535 do
17536 cat "conftest.in" "conftest.in" >"conftest.tmp"
17537 mv "conftest.tmp" "conftest.in"
17538 cp "conftest.in" "conftest.nl"
17539 echo 'EGREP' >> "conftest.nl"
17540 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
17541 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
17542 ac_count=`expr $ac_count + 1`
17543 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17544 # Best one so far, save it but keep looking for a better one
17545 ac_cv_path_EGREP="$ac_path_EGREP"
17546 ac_path_EGREP_max=$ac_count
17547 fi
17548 # 10*(2^10) chars as input seems more than enough
17549 test $ac_count -gt 10 && break
17550 done
17551 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
17552 esac
17553
17554
17555 $ac_path_EGREP_found && break 3
17556 done
17557 done
17558
17559 done
17560 IFS=$as_save_IFS
17561
17562
17563 fi
17564
17565 EGREP="$ac_cv_path_EGREP"
17566 if test -z "$EGREP"; then
17567 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17568 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17569 { (exit 1); exit 1; }; }
17570 fi
17571
17572 else
17573 ac_cv_path_EGREP=$EGREP
17574 fi
17575
17576
17577 fi
17578 fi
17579 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17580 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17581 EGREP="$ac_cv_path_EGREP"
17582
17583
17584 if test $ac_cv_c_compiler_gnu = yes; then
17585 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17586 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17587 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17588 echo $ECHO_N "(cached) $ECHO_C" >&6
17589 else
17590 ac_pattern="Autoconf.*'x'"
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 #include <sgtty.h>
17598 Autoconf TIOCGETP
17599 _ACEOF
17600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17601 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17602 ac_cv_prog_gcc_traditional=yes
17603 else
17604 ac_cv_prog_gcc_traditional=no
17605 fi
17606 rm -f conftest*
17607
17608
17609 if test $ac_cv_prog_gcc_traditional = no; then
17610 cat >conftest.$ac_ext <<_ACEOF
17611 /* confdefs.h. */
17612 _ACEOF
17613 cat confdefs.h >>conftest.$ac_ext
17614 cat >>conftest.$ac_ext <<_ACEOF
17615 /* end confdefs.h. */
17616 #include <termio.h>
17617 Autoconf TCGETA
17618 _ACEOF
17619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17620 $EGREP "$ac_pattern" >/dev/null 2>&1; then
17621 ac_cv_prog_gcc_traditional=yes
17622 fi
17623 rm -f conftest*
17624
17625 fi
17626 fi
17627 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17628 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17629 if test $ac_cv_prog_gcc_traditional = yes; then
17630 CC="$CC -traditional"
17631 fi
17632 fi
17633
17634
17635 CXXFLAGS=${CXXFLAGS:=}
17636 ac_ext=cpp
17637 ac_cpp='$CXXCPP $CPPFLAGS'
17638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17641 if test -z "$CXX"; then
17642 if test -n "$CCC"; then
17643 CXX=$CCC
17644 else
17645 if test -n "$ac_tool_prefix"; then
17646 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17647 do
17648 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
17650 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17652 if test "${ac_cv_prog_CXX+set}" = set; then
17653 echo $ECHO_N "(cached) $ECHO_C" >&6
17654 else
17655 if test -n "$CXX"; then
17656 ac_cv_prog_CXX="$CXX" # Let the user override the test.
17657 else
17658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17659 for as_dir in $PATH
17660 do
17661 IFS=$as_save_IFS
17662 test -z "$as_dir" && as_dir=.
17663 for ac_exec_ext in '' $ac_executable_extensions; do
17664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17665 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
17666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17667 break 2
17668 fi
17669 done
17670 done
17671 IFS=$as_save_IFS
17672
17673 fi
17674 fi
17675 CXX=$ac_cv_prog_CXX
17676 if test -n "$CXX"; then
17677 { echo "$as_me:$LINENO: result: $CXX" >&5
17678 echo "${ECHO_T}$CXX" >&6; }
17679 else
17680 { echo "$as_me:$LINENO: result: no" >&5
17681 echo "${ECHO_T}no" >&6; }
17682 fi
17683
17684
17685 test -n "$CXX" && break
17686 done
17687 fi
17688 if test -z "$CXX"; then
17689 ac_ct_CXX=$CXX
17690 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
17691 do
17692 # Extract the first word of "$ac_prog", so it can be a program name with args.
17693 set dummy $ac_prog; ac_word=$2
17694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17696 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17697 echo $ECHO_N "(cached) $ECHO_C" >&6
17698 else
17699 if test -n "$ac_ct_CXX"; then
17700 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
17701 else
17702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17703 for as_dir in $PATH
17704 do
17705 IFS=$as_save_IFS
17706 test -z "$as_dir" && as_dir=.
17707 for ac_exec_ext in '' $ac_executable_extensions; do
17708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17709 ac_cv_prog_ac_ct_CXX="$ac_prog"
17710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17711 break 2
17712 fi
17713 done
17714 done
17715 IFS=$as_save_IFS
17716
17717 fi
17718 fi
17719 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
17720 if test -n "$ac_ct_CXX"; then
17721 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17722 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17723 else
17724 { echo "$as_me:$LINENO: result: no" >&5
17725 echo "${ECHO_T}no" >&6; }
17726 fi
17727
17728
17729 test -n "$ac_ct_CXX" && break
17730 done
17731
17732 if test "x$ac_ct_CXX" = x; then
17733 CXX="g++"
17734 else
17735 case $cross_compiling:$ac_tool_warned in
17736 yes:)
17737 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17738 whose name does not start with the host triplet. If you think this
17739 configuration is useful to you, please write to autoconf@gnu.org." >&5
17740 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17741 whose name does not start with the host triplet. If you think this
17742 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17743 ac_tool_warned=yes ;;
17744 esac
17745 CXX=$ac_ct_CXX
17746 fi
17747 fi
17748
17749 fi
17750 fi
17751 # Provide some information about the compiler.
17752 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17753 ac_compiler=`set X $ac_compile; echo $2`
17754 { (ac_try="$ac_compiler --version >&5"
17755 case "(($ac_try" in
17756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17757 *) ac_try_echo=$ac_try;;
17758 esac
17759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17760 (eval "$ac_compiler --version >&5") 2>&5
17761 ac_status=$?
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }
17764 { (ac_try="$ac_compiler -v >&5"
17765 case "(($ac_try" in
17766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17767 *) ac_try_echo=$ac_try;;
17768 esac
17769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17770 (eval "$ac_compiler -v >&5") 2>&5
17771 ac_status=$?
17772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17773 (exit $ac_status); }
17774 { (ac_try="$ac_compiler -V >&5"
17775 case "(($ac_try" in
17776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17777 *) ac_try_echo=$ac_try;;
17778 esac
17779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17780 (eval "$ac_compiler -V >&5") 2>&5
17781 ac_status=$?
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }
17784
17785 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17786 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17787 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 else
17790 cat >conftest.$ac_ext <<_ACEOF
17791 /* confdefs.h. */
17792 _ACEOF
17793 cat confdefs.h >>conftest.$ac_ext
17794 cat >>conftest.$ac_ext <<_ACEOF
17795 /* end confdefs.h. */
17796
17797 int
17798 main ()
17799 {
17800 #ifndef __GNUC__
17801 choke me
17802 #endif
17803
17804 ;
17805 return 0;
17806 }
17807 _ACEOF
17808 rm -f conftest.$ac_objext
17809 if { (ac_try="$ac_compile"
17810 case "(($ac_try" in
17811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17812 *) ac_try_echo=$ac_try;;
17813 esac
17814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17815 (eval "$ac_compile") 2>conftest.er1
17816 ac_status=$?
17817 grep -v '^ *+' conftest.er1 >conftest.err
17818 rm -f conftest.er1
17819 cat conftest.err >&5
17820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17821 (exit $ac_status); } && {
17822 test -z "$ac_cxx_werror_flag" ||
17823 test ! -s conftest.err
17824 } && test -s conftest.$ac_objext; then
17825 ac_compiler_gnu=yes
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17829
17830 ac_compiler_gnu=no
17831 fi
17832
17833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
17835
17836 fi
17837 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17838 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17839 GXX=`test $ac_compiler_gnu = yes && echo yes`
17840 ac_test_CXXFLAGS=${CXXFLAGS+set}
17841 ac_save_CXXFLAGS=$CXXFLAGS
17842 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17843 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17844 if test "${ac_cv_prog_cxx_g+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17846 else
17847 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
17848 ac_cxx_werror_flag=yes
17849 ac_cv_prog_cxx_g=no
17850 CXXFLAGS="-g"
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857
17858 int
17859 main ()
17860 {
17861
17862 ;
17863 return 0;
17864 }
17865 _ACEOF
17866 rm -f conftest.$ac_objext
17867 if { (ac_try="$ac_compile"
17868 case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17871 esac
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_compile") 2>conftest.er1
17874 ac_status=$?
17875 grep -v '^ *+' conftest.er1 >conftest.err
17876 rm -f conftest.er1
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } && {
17880 test -z "$ac_cxx_werror_flag" ||
17881 test ! -s conftest.err
17882 } && test -s conftest.$ac_objext; then
17883 ac_cv_prog_cxx_g=yes
17884 else
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17887
17888 CXXFLAGS=""
17889 cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h. */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h. */
17895
17896 int
17897 main ()
17898 {
17899
17900 ;
17901 return 0;
17902 }
17903 _ACEOF
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17909 esac
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_cxx_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.$ac_objext; then
17921 :
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17925
17926 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17927 CXXFLAGS="-g"
17928 cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934
17935 int
17936 main ()
17937 {
17938
17939 ;
17940 return 0;
17941 }
17942 _ACEOF
17943 rm -f conftest.$ac_objext
17944 if { (ac_try="$ac_compile"
17945 case "(($ac_try" in
17946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17947 *) ac_try_echo=$ac_try;;
17948 esac
17949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17950 (eval "$ac_compile") 2>conftest.er1
17951 ac_status=$?
17952 grep -v '^ *+' conftest.er1 >conftest.err
17953 rm -f conftest.er1
17954 cat conftest.err >&5
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); } && {
17957 test -z "$ac_cxx_werror_flag" ||
17958 test ! -s conftest.err
17959 } && test -s conftest.$ac_objext; then
17960 ac_cv_prog_cxx_g=yes
17961 else
17962 echo "$as_me: failed program was:" >&5
17963 sed 's/^/| /' conftest.$ac_ext >&5
17964
17965
17966 fi
17967
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969 fi
17970
17971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972 fi
17973
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17976 fi
17977 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17978 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17979 if test "$ac_test_CXXFLAGS" = set; then
17980 CXXFLAGS=$ac_save_CXXFLAGS
17981 elif test $ac_cv_prog_cxx_g = yes; then
17982 if test "$GXX" = yes; then
17983 CXXFLAGS="-g -O2"
17984 else
17985 CXXFLAGS="-g"
17986 fi
17987 else
17988 if test "$GXX" = yes; then
17989 CXXFLAGS="-O2"
17990 else
17991 CXXFLAGS=
17992 fi
17993 fi
17994 ac_ext=c
17995 ac_cpp='$CPP $CPPFLAGS'
17996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17999
18000
18001
18002
18003
18004
18005
18006
18007 ac_ext=cpp
18008 ac_cpp='$CXXCPP $CPPFLAGS'
18009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18012
18013 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18014 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18015 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18016 echo $ECHO_N "(cached) $ECHO_C" >&6
18017 else
18018 cat >conftest.$ac_ext <<_ACEOF
18019 /* confdefs.h. */
18020 _ACEOF
18021 cat confdefs.h >>conftest.$ac_ext
18022 cat >>conftest.$ac_ext <<_ACEOF
18023 /* end confdefs.h. */
18024
18025 int
18026 main ()
18027 {
18028
18029 #ifndef __INTEL_COMPILER
18030 choke me
18031 #endif
18032
18033 ;
18034 return 0;
18035 }
18036 _ACEOF
18037 rm -f conftest.$ac_objext
18038 if { (ac_try="$ac_compile"
18039 case "(($ac_try" in
18040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18041 *) ac_try_echo=$ac_try;;
18042 esac
18043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18044 (eval "$ac_compile") 2>conftest.er1
18045 ac_status=$?
18046 grep -v '^ *+' conftest.er1 >conftest.err
18047 rm -f conftest.er1
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && {
18051 test -z "$ac_cxx_werror_flag" ||
18052 test ! -s conftest.err
18053 } && test -s conftest.$ac_objext; then
18054 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
18055 else
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18058
18059 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
18060
18061 fi
18062
18063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18064
18065
18066 fi
18067 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18068 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18069 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18070 :; INTELCXX=yes
18071 else
18072 :;
18073 fi
18074 ac_ext=c
18075 ac_cpp='$CPP $CPPFLAGS'
18076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18079
18080
18081
18082
18083 if test "$INTELCXX" = "yes"; then
18084
18085
18086 ac_ext=cpp
18087 ac_cpp='$CXXCPP $CPPFLAGS'
18088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18091
18092 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18093 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18094 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18095 echo $ECHO_N "(cached) $ECHO_C" >&6
18096 else
18097 cat >conftest.$ac_ext <<_ACEOF
18098 /* confdefs.h. */
18099 _ACEOF
18100 cat confdefs.h >>conftest.$ac_ext
18101 cat >>conftest.$ac_ext <<_ACEOF
18102 /* end confdefs.h. */
18103
18104 int
18105 main ()
18106 {
18107
18108 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18109 choke me
18110 #endif
18111
18112 ;
18113 return 0;
18114 }
18115 _ACEOF
18116 rm -f conftest.$ac_objext
18117 if { (ac_try="$ac_compile"
18118 case "(($ac_try" in
18119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18120 *) ac_try_echo=$ac_try;;
18121 esac
18122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18123 (eval "$ac_compile") 2>conftest.er1
18124 ac_status=$?
18125 grep -v '^ *+' conftest.er1 >conftest.err
18126 rm -f conftest.er1
18127 cat conftest.err >&5
18128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18129 (exit $ac_status); } && {
18130 test -z "$ac_cxx_werror_flag" ||
18131 test ! -s conftest.err
18132 } && test -s conftest.$ac_objext; then
18133 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18134 else
18135 echo "$as_me: failed program was:" >&5
18136 sed 's/^/| /' conftest.$ac_ext >&5
18137
18138 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18139
18140 fi
18141
18142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18143
18144
18145 fi
18146 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18147 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18148 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18149 :; INTELCXX8=yes
18150 else
18151 :;
18152 fi
18153 ac_ext=c
18154 ac_cpp='$CPP $CPPFLAGS'
18155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18158
18159
18160
18161
18162
18163 ac_ext=cpp
18164 ac_cpp='$CXXCPP $CPPFLAGS'
18165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18168
18169 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18170 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18171 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18172 echo $ECHO_N "(cached) $ECHO_C" >&6
18173 else
18174 cat >conftest.$ac_ext <<_ACEOF
18175 /* confdefs.h. */
18176 _ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18180
18181 int
18182 main ()
18183 {
18184
18185 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18186 choke me
18187 #endif
18188
18189 ;
18190 return 0;
18191 }
18192 _ACEOF
18193 rm -f conftest.$ac_objext
18194 if { (ac_try="$ac_compile"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18198 esac
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_compile") 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } && {
18207 test -z "$ac_cxx_werror_flag" ||
18208 test ! -s conftest.err
18209 } && test -s conftest.$ac_objext; then
18210 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
18211 else
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18214
18215 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
18216
18217 fi
18218
18219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18220
18221
18222 fi
18223 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18224 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18225 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18226 :; INTELCXX10=yes
18227 else
18228 :;
18229 fi
18230 ac_ext=c
18231 ac_cpp='$CPP $CPPFLAGS'
18232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18235
18236
18237
18238 fi
18239
18240 if test "x$GCXX" != "xyes"; then
18241 if test "xCXX" = "xC"; then
18242 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18243 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18244 if test "${bakefile_cv_c_exto+set}" = set; then
18245 echo $ECHO_N "(cached) $ECHO_C" >&6
18246 else
18247 cat >conftest.$ac_ext <<_ACEOF
18248 /* confdefs.h. */
18249 _ACEOF
18250 cat confdefs.h >>conftest.$ac_ext
18251 cat >>conftest.$ac_ext <<_ACEOF
18252 /* end confdefs.h. */
18253
18254 int
18255 main ()
18256 {
18257
18258 ;
18259 return 0;
18260 }
18261 _ACEOF
18262 rm -f conftest.$ac_objext conftest.$ac_ext.o
18263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18264 (eval $ac_compile) 2>&5
18265 ac_status=$?
18266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18267 (exit $ac_status); }; then
18268 for ac_file in `(ls conftest.* 2>/dev/null)`; do
18269 case $ac_file in
18270 conftest.$ac_ext.o)
18271 bakefile_cv_c_exto="-ext o"
18272 ;;
18273 *)
18274 ;;
18275 esac
18276 done
18277 else
18278 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18279 See \`config.log' for more details." >&5
18280 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18281 See \`config.log' for more details." >&2;}
18282 { (exit 1); exit 1; }; }
18283
18284 fi
18285
18286 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
18287
18288 fi
18289 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18290 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18291 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18292 if test "c" = "c"; then
18293 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
18294 fi
18295 if test "c" = "cxx"; then
18296 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
18297 fi
18298 fi
18299
18300 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18301 unset ac_cv_prog_cc_g
18302 ac_test_CFLAGS=${CFLAGS+set}
18303 ac_save_CFLAGS=$CFLAGS
18304 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18305 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18306 if test "${ac_cv_prog_cc_g+set}" = set; then
18307 echo $ECHO_N "(cached) $ECHO_C" >&6
18308 else
18309 ac_save_c_werror_flag=$ac_c_werror_flag
18310 ac_c_werror_flag=yes
18311 ac_cv_prog_cc_g=no
18312 CFLAGS="-g"
18313 cat >conftest.$ac_ext <<_ACEOF
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319
18320 int
18321 main ()
18322 {
18323
18324 ;
18325 return 0;
18326 }
18327 _ACEOF
18328 rm -f conftest.$ac_objext
18329 if { (ac_try="$ac_compile"
18330 case "(($ac_try" in
18331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18332 *) ac_try_echo=$ac_try;;
18333 esac
18334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18335 (eval "$ac_compile") 2>conftest.er1
18336 ac_status=$?
18337 grep -v '^ *+' conftest.er1 >conftest.err
18338 rm -f conftest.er1
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } && {
18342 test -z "$ac_c_werror_flag" ||
18343 test ! -s conftest.err
18344 } && test -s conftest.$ac_objext; then
18345 ac_cv_prog_cc_g=yes
18346 else
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18349
18350 CFLAGS=""
18351 cat >conftest.$ac_ext <<_ACEOF
18352 /* confdefs.h. */
18353 _ACEOF
18354 cat confdefs.h >>conftest.$ac_ext
18355 cat >>conftest.$ac_ext <<_ACEOF
18356 /* end confdefs.h. */
18357
18358 int
18359 main ()
18360 {
18361
18362 ;
18363 return 0;
18364 }
18365 _ACEOF
18366 rm -f conftest.$ac_objext
18367 if { (ac_try="$ac_compile"
18368 case "(($ac_try" in
18369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18370 *) ac_try_echo=$ac_try;;
18371 esac
18372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18373 (eval "$ac_compile") 2>conftest.er1
18374 ac_status=$?
18375 grep -v '^ *+' conftest.er1 >conftest.err
18376 rm -f conftest.er1
18377 cat conftest.err >&5
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); } && {
18380 test -z "$ac_c_werror_flag" ||
18381 test ! -s conftest.err
18382 } && test -s conftest.$ac_objext; then
18383 :
18384 else
18385 echo "$as_me: failed program was:" >&5
18386 sed 's/^/| /' conftest.$ac_ext >&5
18387
18388 ac_c_werror_flag=$ac_save_c_werror_flag
18389 CFLAGS="-g"
18390 cat >conftest.$ac_ext <<_ACEOF
18391 /* confdefs.h. */
18392 _ACEOF
18393 cat confdefs.h >>conftest.$ac_ext
18394 cat >>conftest.$ac_ext <<_ACEOF
18395 /* end confdefs.h. */
18396
18397 int
18398 main ()
18399 {
18400
18401 ;
18402 return 0;
18403 }
18404 _ACEOF
18405 rm -f conftest.$ac_objext
18406 if { (ac_try="$ac_compile"
18407 case "(($ac_try" in
18408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18409 *) ac_try_echo=$ac_try;;
18410 esac
18411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18412 (eval "$ac_compile") 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } && {
18419 test -z "$ac_c_werror_flag" ||
18420 test ! -s conftest.err
18421 } && test -s conftest.$ac_objext; then
18422 ac_cv_prog_cc_g=yes
18423 else
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.$ac_ext >&5
18426
18427
18428 fi
18429
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 fi
18432
18433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18434 fi
18435
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437 ac_c_werror_flag=$ac_save_c_werror_flag
18438 fi
18439 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18440 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18441 if test "$ac_test_CFLAGS" = set; then
18442 CFLAGS=$ac_save_CFLAGS
18443 elif test $ac_cv_prog_cc_g = yes; then
18444 if test "$GCC" = yes; then
18445 CFLAGS="-g -O2"
18446 else
18447 CFLAGS="-g"
18448 fi
18449 else
18450 if test "$GCC" = yes; then
18451 CFLAGS="-O2"
18452 else
18453 CFLAGS=
18454 fi
18455 fi
18456 fi
18457 fi
18458
18459 case `uname -s` in
18460 AIX*)
18461
18462
18463 ac_ext=cpp
18464 ac_cpp='$CXXCPP $CPPFLAGS'
18465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18468
18469 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18470 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18471 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18472 echo $ECHO_N "(cached) $ECHO_C" >&6
18473 else
18474 cat >conftest.$ac_ext <<_ACEOF
18475 /* confdefs.h. */
18476 _ACEOF
18477 cat confdefs.h >>conftest.$ac_ext
18478 cat >>conftest.$ac_ext <<_ACEOF
18479 /* end confdefs.h. */
18480
18481 int
18482 main ()
18483 {
18484
18485 #ifndef __xlC__
18486 choke me
18487 #endif
18488
18489 ;
18490 return 0;
18491 }
18492 _ACEOF
18493 rm -f conftest.$ac_objext
18494 if { (ac_try="$ac_compile"
18495 case "(($ac_try" in
18496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18497 *) ac_try_echo=$ac_try;;
18498 esac
18499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18500 (eval "$ac_compile") 2>conftest.er1
18501 ac_status=$?
18502 grep -v '^ *+' conftest.er1 >conftest.err
18503 rm -f conftest.er1
18504 cat conftest.err >&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); } && {
18507 test -z "$ac_cxx_werror_flag" ||
18508 test ! -s conftest.err
18509 } && test -s conftest.$ac_objext; then
18510 bakefile_cv_cxx_compiler___xlC__=yes
18511 else
18512 echo "$as_me: failed program was:" >&5
18513 sed 's/^/| /' conftest.$ac_ext >&5
18514
18515 bakefile_cv_cxx_compiler___xlC__=no
18516
18517 fi
18518
18519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18520
18521
18522 fi
18523 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18524 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18525 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18526 :; XLCXX=yes
18527 else
18528 :;
18529 fi
18530 ac_ext=c
18531 ac_cpp='$CPP $CPPFLAGS'
18532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18535
18536
18537
18538 ;;
18539
18540 Darwin)
18541
18542
18543 ac_ext=cpp
18544 ac_cpp='$CXXCPP $CPPFLAGS'
18545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18548
18549 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18550 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18551 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18552 echo $ECHO_N "(cached) $ECHO_C" >&6
18553 else
18554 cat >conftest.$ac_ext <<_ACEOF
18555 /* confdefs.h. */
18556 _ACEOF
18557 cat confdefs.h >>conftest.$ac_ext
18558 cat >>conftest.$ac_ext <<_ACEOF
18559 /* end confdefs.h. */
18560
18561 int
18562 main ()
18563 {
18564
18565 #ifndef __MWERKS__
18566 choke me
18567 #endif
18568
18569 ;
18570 return 0;
18571 }
18572 _ACEOF
18573 rm -f conftest.$ac_objext
18574 if { (ac_try="$ac_compile"
18575 case "(($ac_try" in
18576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18577 *) ac_try_echo=$ac_try;;
18578 esac
18579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18580 (eval "$ac_compile") 2>conftest.er1
18581 ac_status=$?
18582 grep -v '^ *+' conftest.er1 >conftest.err
18583 rm -f conftest.er1
18584 cat conftest.err >&5
18585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18586 (exit $ac_status); } && {
18587 test -z "$ac_cxx_werror_flag" ||
18588 test ! -s conftest.err
18589 } && test -s conftest.$ac_objext; then
18590 bakefile_cv_cxx_compiler___MWERKS__=yes
18591 else
18592 echo "$as_me: failed program was:" >&5
18593 sed 's/^/| /' conftest.$ac_ext >&5
18594
18595 bakefile_cv_cxx_compiler___MWERKS__=no
18596
18597 fi
18598
18599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18600
18601
18602 fi
18603 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18604 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18605 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18606 :; MWCXX=yes
18607 else
18608 :;
18609 fi
18610 ac_ext=c
18611 ac_cpp='$CPP $CPPFLAGS'
18612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18615
18616
18617
18618 if test "$MWCXX" != "yes"; then
18619
18620
18621 ac_ext=cpp
18622 ac_cpp='$CXXCPP $CPPFLAGS'
18623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18626
18627 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18628 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18629 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18630 echo $ECHO_N "(cached) $ECHO_C" >&6
18631 else
18632 cat >conftest.$ac_ext <<_ACEOF
18633 /* confdefs.h. */
18634 _ACEOF
18635 cat confdefs.h >>conftest.$ac_ext
18636 cat >>conftest.$ac_ext <<_ACEOF
18637 /* end confdefs.h. */
18638
18639 int
18640 main ()
18641 {
18642
18643 #ifndef __xlC__
18644 choke me
18645 #endif
18646
18647 ;
18648 return 0;
18649 }
18650 _ACEOF
18651 rm -f conftest.$ac_objext
18652 if { (ac_try="$ac_compile"
18653 case "(($ac_try" in
18654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18655 *) ac_try_echo=$ac_try;;
18656 esac
18657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18658 (eval "$ac_compile") 2>conftest.er1
18659 ac_status=$?
18660 grep -v '^ *+' conftest.er1 >conftest.err
18661 rm -f conftest.er1
18662 cat conftest.err >&5
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); } && {
18665 test -z "$ac_cxx_werror_flag" ||
18666 test ! -s conftest.err
18667 } && test -s conftest.$ac_objext; then
18668 bakefile_cv_cxx_compiler___xlC__=yes
18669 else
18670 echo "$as_me: failed program was:" >&5
18671 sed 's/^/| /' conftest.$ac_ext >&5
18672
18673 bakefile_cv_cxx_compiler___xlC__=no
18674
18675 fi
18676
18677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18678
18679
18680 fi
18681 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18682 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18683 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18684 :; XLCXX=yes
18685 else
18686 :;
18687 fi
18688 ac_ext=c
18689 ac_cpp='$CPP $CPPFLAGS'
18690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18693
18694
18695
18696 fi
18697 ;;
18698
18699 IRIX*)
18700
18701
18702 ac_ext=cpp
18703 ac_cpp='$CXXCPP $CPPFLAGS'
18704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18707
18708 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18709 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18710 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18711 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 else
18713 cat >conftest.$ac_ext <<_ACEOF
18714 /* confdefs.h. */
18715 _ACEOF
18716 cat confdefs.h >>conftest.$ac_ext
18717 cat >>conftest.$ac_ext <<_ACEOF
18718 /* end confdefs.h. */
18719
18720 int
18721 main ()
18722 {
18723
18724 #ifndef _SGI_COMPILER_VERSION
18725 choke me
18726 #endif
18727
18728 ;
18729 return 0;
18730 }
18731 _ACEOF
18732 rm -f conftest.$ac_objext
18733 if { (ac_try="$ac_compile"
18734 case "(($ac_try" in
18735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18736 *) ac_try_echo=$ac_try;;
18737 esac
18738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18739 (eval "$ac_compile") 2>conftest.er1
18740 ac_status=$?
18741 grep -v '^ *+' conftest.er1 >conftest.err
18742 rm -f conftest.er1
18743 cat conftest.err >&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); } && {
18746 test -z "$ac_cxx_werror_flag" ||
18747 test ! -s conftest.err
18748 } && test -s conftest.$ac_objext; then
18749 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18750 else
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18753
18754 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18755
18756 fi
18757
18758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18759
18760
18761 fi
18762 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18763 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18764 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18765 :; SGICXX=yes
18766 else
18767 :;
18768 fi
18769 ac_ext=c
18770 ac_cpp='$CPP $CPPFLAGS'
18771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18774
18775
18776
18777 ;;
18778
18779 Linux*)
18780 if test "$INTELCXX" != "yes"; then
18781
18782
18783 ac_ext=cpp
18784 ac_cpp='$CXXCPP $CPPFLAGS'
18785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18788
18789 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18790 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18791 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18792 echo $ECHO_N "(cached) $ECHO_C" >&6
18793 else
18794 cat >conftest.$ac_ext <<_ACEOF
18795 /* confdefs.h. */
18796 _ACEOF
18797 cat confdefs.h >>conftest.$ac_ext
18798 cat >>conftest.$ac_ext <<_ACEOF
18799 /* end confdefs.h. */
18800
18801 int
18802 main ()
18803 {
18804
18805 #ifndef __SUNPRO_CC
18806 choke me
18807 #endif
18808
18809 ;
18810 return 0;
18811 }
18812 _ACEOF
18813 rm -f conftest.$ac_objext
18814 if { (ac_try="$ac_compile"
18815 case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18818 esac
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_compile") 2>conftest.er1
18821 ac_status=$?
18822 grep -v '^ *+' conftest.er1 >conftest.err
18823 rm -f conftest.er1
18824 cat conftest.err >&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } && {
18827 test -z "$ac_cxx_werror_flag" ||
18828 test ! -s conftest.err
18829 } && test -s conftest.$ac_objext; then
18830 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18831 else
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.$ac_ext >&5
18834
18835 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18836
18837 fi
18838
18839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18840
18841
18842 fi
18843 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18844 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18845 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18846 :; SUNCXX=yes
18847 else
18848 :;
18849 fi
18850 ac_ext=c
18851 ac_cpp='$CPP $CPPFLAGS'
18852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18855
18856
18857
18858 fi
18859 ;;
18860
18861 HP-UX*)
18862
18863
18864 ac_ext=cpp
18865 ac_cpp='$CXXCPP $CPPFLAGS'
18866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18869
18870 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18871 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18872 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 else
18875 cat >conftest.$ac_ext <<_ACEOF
18876 /* confdefs.h. */
18877 _ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881
18882 int
18883 main ()
18884 {
18885
18886 #ifndef __HP_aCC
18887 choke me
18888 #endif
18889
18890 ;
18891 return 0;
18892 }
18893 _ACEOF
18894 rm -f conftest.$ac_objext
18895 if { (ac_try="$ac_compile"
18896 case "(($ac_try" in
18897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18898 *) ac_try_echo=$ac_try;;
18899 esac
18900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18901 (eval "$ac_compile") 2>conftest.er1
18902 ac_status=$?
18903 grep -v '^ *+' conftest.er1 >conftest.err
18904 rm -f conftest.er1
18905 cat conftest.err >&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); } && {
18908 test -z "$ac_cxx_werror_flag" ||
18909 test ! -s conftest.err
18910 } && test -s conftest.$ac_objext; then
18911 bakefile_cv_cxx_compiler___HP_aCC=yes
18912 else
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18915
18916 bakefile_cv_cxx_compiler___HP_aCC=no
18917
18918 fi
18919
18920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18921
18922
18923 fi
18924 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18925 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18926 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18927 :; HPCXX=yes
18928 else
18929 :;
18930 fi
18931 ac_ext=c
18932 ac_cpp='$CPP $CPPFLAGS'
18933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18936
18937
18938
18939 ;;
18940
18941 OSF1)
18942
18943
18944 ac_ext=cpp
18945 ac_cpp='$CXXCPP $CPPFLAGS'
18946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18949
18950 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18951 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18952 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18953 echo $ECHO_N "(cached) $ECHO_C" >&6
18954 else
18955 cat >conftest.$ac_ext <<_ACEOF
18956 /* confdefs.h. */
18957 _ACEOF
18958 cat confdefs.h >>conftest.$ac_ext
18959 cat >>conftest.$ac_ext <<_ACEOF
18960 /* end confdefs.h. */
18961
18962 int
18963 main ()
18964 {
18965
18966 #ifndef __DECCXX
18967 choke me
18968 #endif
18969
18970 ;
18971 return 0;
18972 }
18973 _ACEOF
18974 rm -f conftest.$ac_objext
18975 if { (ac_try="$ac_compile"
18976 case "(($ac_try" in
18977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18978 *) ac_try_echo=$ac_try;;
18979 esac
18980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18981 (eval "$ac_compile") 2>conftest.er1
18982 ac_status=$?
18983 grep -v '^ *+' conftest.er1 >conftest.err
18984 rm -f conftest.er1
18985 cat conftest.err >&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && {
18988 test -z "$ac_cxx_werror_flag" ||
18989 test ! -s conftest.err
18990 } && test -s conftest.$ac_objext; then
18991 bakefile_cv_cxx_compiler___DECCXX=yes
18992 else
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.$ac_ext >&5
18995
18996 bakefile_cv_cxx_compiler___DECCXX=no
18997
18998 fi
18999
19000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19001
19002
19003 fi
19004 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19005 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19006 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19007 :; COMPAQCXX=yes
19008 else
19009 :;
19010 fi
19011 ac_ext=c
19012 ac_cpp='$CPP $CPPFLAGS'
19013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19016
19017
19018
19019 ;;
19020
19021 SunOS)
19022
19023
19024 ac_ext=cpp
19025 ac_cpp='$CXXCPP $CPPFLAGS'
19026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19029
19030 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19031 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19032 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19033 echo $ECHO_N "(cached) $ECHO_C" >&6
19034 else
19035 cat >conftest.$ac_ext <<_ACEOF
19036 /* confdefs.h. */
19037 _ACEOF
19038 cat confdefs.h >>conftest.$ac_ext
19039 cat >>conftest.$ac_ext <<_ACEOF
19040 /* end confdefs.h. */
19041
19042 int
19043 main ()
19044 {
19045
19046 #ifndef __SUNPRO_CC
19047 choke me
19048 #endif
19049
19050 ;
19051 return 0;
19052 }
19053 _ACEOF
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19058 *) ac_try_echo=$ac_try;;
19059 esac
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19062 ac_status=$?
19063 grep -v '^ *+' conftest.er1 >conftest.err
19064 rm -f conftest.er1
19065 cat conftest.err >&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } && {
19068 test -z "$ac_cxx_werror_flag" ||
19069 test ! -s conftest.err
19070 } && test -s conftest.$ac_objext; then
19071 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19072 else
19073 echo "$as_me: failed program was:" >&5
19074 sed 's/^/| /' conftest.$ac_ext >&5
19075
19076 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19077
19078 fi
19079
19080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081
19082
19083 fi
19084 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19085 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19086 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19087 :; SUNCXX=yes
19088 else
19089 :;
19090 fi
19091 ac_ext=c
19092 ac_cpp='$CPP $CPPFLAGS'
19093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19096
19097
19098
19099 ;;
19100 esac
19101 fi
19102
19103
19104
19105 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19106 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19107 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19108 { (exit 1); exit 1; }; }
19109 fi
19110
19111 if test "x$SUNCXX" != xyes; then
19112 if test -n "$ac_tool_prefix"; then
19113 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19114 set dummy ${ac_tool_prefix}ar; ac_word=$2
19115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19117 if test "${ac_cv_prog_AR+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 else
19120 if test -n "$AR"; then
19121 ac_cv_prog_AR="$AR" # Let the user override the test.
19122 else
19123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19124 for as_dir in $PATH
19125 do
19126 IFS=$as_save_IFS
19127 test -z "$as_dir" && as_dir=.
19128 for ac_exec_ext in '' $ac_executable_extensions; do
19129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19130 ac_cv_prog_AR="${ac_tool_prefix}ar"
19131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19132 break 2
19133 fi
19134 done
19135 done
19136 IFS=$as_save_IFS
19137
19138 fi
19139 fi
19140 AR=$ac_cv_prog_AR
19141 if test -n "$AR"; then
19142 { echo "$as_me:$LINENO: result: $AR" >&5
19143 echo "${ECHO_T}$AR" >&6; }
19144 else
19145 { echo "$as_me:$LINENO: result: no" >&5
19146 echo "${ECHO_T}no" >&6; }
19147 fi
19148
19149
19150 fi
19151 if test -z "$ac_cv_prog_AR"; then
19152 ac_ct_AR=$AR
19153 # Extract the first word of "ar", so it can be a program name with args.
19154 set dummy ar; ac_word=$2
19155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19157 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19158 echo $ECHO_N "(cached) $ECHO_C" >&6
19159 else
19160 if test -n "$ac_ct_AR"; then
19161 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19162 else
19163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19164 for as_dir in $PATH
19165 do
19166 IFS=$as_save_IFS
19167 test -z "$as_dir" && as_dir=.
19168 for ac_exec_ext in '' $ac_executable_extensions; do
19169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19170 ac_cv_prog_ac_ct_AR="ar"
19171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19172 break 2
19173 fi
19174 done
19175 done
19176 IFS=$as_save_IFS
19177
19178 fi
19179 fi
19180 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19181 if test -n "$ac_ct_AR"; then
19182 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19183 echo "${ECHO_T}$ac_ct_AR" >&6; }
19184 else
19185 { echo "$as_me:$LINENO: result: no" >&5
19186 echo "${ECHO_T}no" >&6; }
19187 fi
19188
19189 if test "x$ac_ct_AR" = x; then
19190 AR=""
19191 else
19192 case $cross_compiling:$ac_tool_warned in
19193 yes:)
19194 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19195 whose name does not start with the host triplet. If you think this
19196 configuration is useful to you, please write to autoconf@gnu.org." >&5
19197 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19198 whose name does not start with the host triplet. If you think this
19199 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19200 ac_tool_warned=yes ;;
19201 esac
19202 AR=$ac_ct_AR
19203 fi
19204 else
19205 AR="$ac_cv_prog_AR"
19206 fi
19207
19208 if test "x$AR" = "x" ; then
19209 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19210 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19211 { (exit 1); exit 1; }; }
19212 fi
19213 fi
19214
19215
19216 if test "$wxUSE_MAC" = 1; then
19217
19218 retest_macosx_linking=no
19219
19220 OSX_ARCH_OPTS=""
19221 if test "x$wxUSE_MAC_ARCH" != xno; then
19222 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19223 fi
19224
19225 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19226 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19227 # Implicitly turn on the new --with-macosx-sdk using the default
19228 # SDK which provides the behaviour this option has always had.
19229 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19230 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19231 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19232 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19233 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19234 wxUSE_MACOSX_SDK=yes
19235 fi
19236 else
19237 # Complain to user if he specified an argument to --enable-universal_binary
19238 # and also 1) specified --with-macosx-sdk using the default (yes) or
19239 # 2) specified --with-macosx-sdk using a path or 3) specified
19240 # --without-macosx-sdk (no).
19241 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19242 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19243 See \`config.log' for more details." >&5
19244 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19245 See \`config.log' for more details." >&2;}
19246 { (exit 1); exit 1; }; }
19247 else
19248 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19249 # special-case the empty string because the below test simply
19250 # converts "no" to the empty string anyway.
19251 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19252 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
19253 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
19254 fi
19255 fi
19256 OSX_ARCH_OPTS="-arch ppc -arch i386"
19257 if test "$wxUSE_OSX_COCOA" = 1; then
19258 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64"
19259 fi
19260 { echo "$as_me:$LINENO: checking for universal binary architectures" >&5
19261 echo $ECHO_N "checking for universal binary architectures... $ECHO_C" >&6; }
19262 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19263 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19264
19265 retest_macosx_linking=yes
19266
19267 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19268 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19269 bk_use_pch=no
19270 fi
19271
19272 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19273 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19274 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19275 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19276 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19277
19278 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19279 wxUSE_MACOSX_SDK=
19280 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19281 # TODO: Search for most recent SDK and use it.
19282 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19283 fi
19284
19285
19286 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19287 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19288 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19289 if ! test -d "$wxUSE_MACOSX_SDK"; then
19290 { { echo "$as_me:$LINENO: error: not found
19291 See \`config.log' for more details." >&5
19292 echo "$as_me: error: not found
19293 See \`config.log' for more details." >&2;}
19294 { (exit 1); exit 1; }; }
19295 else
19296 { echo "$as_me:$LINENO: result: exists" >&5
19297 echo "${ECHO_T}exists" >&6; }
19298 fi
19299 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19300 retest_macosx_linking=yes
19301 fi
19302
19303 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19304 wxUSE_MACOSX_VERSION_MIN=
19305 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19306 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19307 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19308 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19309
19310 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19311
19312 # If that failed, try again with the new key
19313 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19314
19315 MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
19316
19317 fi
19318
19319 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19320 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19321 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19322 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19323 else
19324 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19325 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19326 wxUSE_MACOSX_VERSION_MIN=
19327 fi
19328 else
19329 wxUSE_MACOSX_VERSION_MIN=
19330 fi
19331 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19332 for ac_prog in sw_vers
19333 do
19334 # Extract the first word of "$ac_prog", so it can be a program name with args.
19335 set dummy $ac_prog; ac_word=$2
19336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19338 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19339 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 else
19341 if test -n "$OSX_SW_VERS"; then
19342 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19343 else
19344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19345 for as_dir in $PATH
19346 do
19347 IFS=$as_save_IFS
19348 test -z "$as_dir" && as_dir=.
19349 for ac_exec_ext in '' $ac_executable_extensions; do
19350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19351 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19353 break 2
19354 fi
19355 done
19356 done
19357 IFS=$as_save_IFS
19358
19359 fi
19360 fi
19361 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19362 if test -n "$OSX_SW_VERS"; then
19363 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19364 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19365 else
19366 { echo "$as_me:$LINENO: result: no" >&5
19367 echo "${ECHO_T}no" >&6; }
19368 fi
19369
19370
19371 test -n "$OSX_SW_VERS" && break
19372 done
19373
19374 if test "$OSX_SW_VERS" != ""; then
19375 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19376 else
19377 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19378 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19379 OSX_VERSION="10.4"
19380 fi
19381
19382 case "$OSX_VERSION" in
19383 10.4* )
19384 wxUSE_MACOSX_VERSION_MIN=10.4
19385 ;;
19386
19387 * )
19388 if test "$wxUSE_OSX_CARBON" = 1; then
19389 # otherwise configure stops on leopard for universal_binary
19390 wxUSE_MACOSX_VERSION_MIN=10.4
19391 else
19392 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19393 wxUSE_MACOSX_VERSION_MIN=10.5
19394 fi
19395 ;;
19396 esac
19397 fi
19398
19399 NEEDS_GCC40="no"
19400 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19401 NEEDS_GCC40="yes"
19402 fi
19403
19404 if test "$wxUSE_OSX_CARBON" = 1; then
19405 NEEDS_GCC40="yes"
19406 fi
19407
19408 if test "x$NEEDS_GCC40" == "xyes"; then
19409 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19410 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19411 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19412 if test "x$CC" = "xgcc"; then
19413 CCVERSION=`$CC --version | grep 4.[2-9].`
19414 if test "x$CCVERSION" != "x"; then
19415 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19416 CC="gcc-4.0"
19417 fi
19418 fi
19419
19420 if test "x$CXX" = "xg++"; then
19421 CCVERSION=`$CXX --version | grep 4.[2-9].`
19422 if test "x$CCVERSION" != "x"; then
19423 CXX="g++-4.0"
19424 fi
19425 fi
19426 fi
19427
19428 if test "x$MACOSX_SDK_OPTS" != "x"; then
19429 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19430 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19431 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19432 fi
19433
19434 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19435 if test "$wxUSE_OSX_IPHONE" = 1; then
19436 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19437 else
19438 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19439 fi
19440 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19441 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19442 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19443 retest_macosx_linking=yes
19444 fi
19445
19446 if test "x$retest_macosx_linking" = "xyes"; then
19447 ac_ext=c
19448 ac_cpp='$CPP $CPPFLAGS'
19449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19452
19453 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19454 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19455 cat >conftest.$ac_ext <<_ACEOF
19456 /* confdefs.h. */
19457 _ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461
19462 int
19463 main ()
19464 {
19465
19466 ;
19467 return 0;
19468 }
19469 _ACEOF
19470 rm -f conftest.$ac_objext conftest$ac_exeext
19471 if { (ac_try="$ac_link"
19472 case "(($ac_try" in
19473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19474 *) ac_try_echo=$ac_try;;
19475 esac
19476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19477 (eval "$ac_link") 2>conftest.er1
19478 ac_status=$?
19479 grep -v '^ *+' conftest.er1 >conftest.err
19480 rm -f conftest.er1
19481 cat conftest.err >&5
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); } && {
19484 test -z "$ac_c_werror_flag" ||
19485 test ! -s conftest.err
19486 } && test -s conftest$ac_exeext &&
19487 $as_test_x conftest$ac_exeext; then
19488 { echo "$as_me:$LINENO: result: yes" >&5
19489 echo "${ECHO_T}yes" >&6; }
19490 else
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19493
19494 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19495 See \`config.log' for more details." >&5
19496 echo "$as_me: error: no. Try a different SDK
19497 See \`config.log' for more details." >&2;}
19498 { (exit 1); exit 1; }; }; exit 1
19499 fi
19500
19501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19502 conftest$ac_exeext conftest.$ac_ext
19503 ac_ext=c
19504 ac_cpp='$CPP $CPPFLAGS'
19505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19508
19509
19510 ac_ext=cpp
19511 ac_cpp='$CXXCPP $CPPFLAGS'
19512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19515
19516 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19517 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19518 cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524
19525 int
19526 main ()
19527 {
19528
19529 ;
19530 return 0;
19531 }
19532 _ACEOF
19533 rm -f conftest.$ac_objext conftest$ac_exeext
19534 if { (ac_try="$ac_link"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19538 esac
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_link") 2>conftest.er1
19541 ac_status=$?
19542 grep -v '^ *+' conftest.er1 >conftest.err
19543 rm -f conftest.er1
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_cxx_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest$ac_exeext &&
19550 $as_test_x conftest$ac_exeext; then
19551 { echo "$as_me:$LINENO: result: yes" >&5
19552 echo "${ECHO_T}yes" >&6; }
19553 else
19554 echo "$as_me: failed program was:" >&5
19555 sed 's/^/| /' conftest.$ac_ext >&5
19556
19557 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19558 See \`config.log' for more details." >&5
19559 echo "$as_me: error: no. Try a different SDK
19560 See \`config.log' for more details." >&2;}
19561 { (exit 1); exit 1; }; }; exit 1
19562 fi
19563
19564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19565 conftest$ac_exeext conftest.$ac_ext
19566 ac_ext=c
19567 ac_cpp='$CPP $CPPFLAGS'
19568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19571
19572 fi
19573
19574 fi
19575 case "${host}" in
19576
19577 *-*-darwin* )
19578 INSTALL_PROGRAM="cp -fp"
19579 INSTALL_DATA="cp -fp"
19580 ;;
19581 *)
19582 ;;
19583 esac
19584
19585
19586 if test "x$USE_AIX" = "x1"; then
19587 if test "x$XLCXX" = "xyes"; then
19588 CXXFLAGS="-qunique $CXXFLAGS"
19589 fi
19590
19591 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19592 fi
19593
19594 case "${host}" in
19595 powerpc-*-darwin* )
19596 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19597 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19598 cat >conftest.$ac_ext <<_ACEOF
19599 /* confdefs.h. */
19600 _ACEOF
19601 cat confdefs.h >>conftest.$ac_ext
19602 cat >>conftest.$ac_ext <<_ACEOF
19603 /* end confdefs.h. */
19604
19605 int
19606 main ()
19607 {
19608 #ifndef __POWERPC__
19609 choke me for lack of PowerPC
19610 #endif
19611
19612 ;
19613 return 0;
19614 }
19615 _ACEOF
19616 rm -f conftest.$ac_objext
19617 if { (ac_try="$ac_compile"
19618 case "(($ac_try" in
19619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19620 *) ac_try_echo=$ac_try;;
19621 esac
19622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19623 (eval "$ac_compile") 2>conftest.er1
19624 ac_status=$?
19625 grep -v '^ *+' conftest.er1 >conftest.err
19626 rm -f conftest.er1
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } && {
19630 test -z "$ac_c_werror_flag" ||
19631 test ! -s conftest.err
19632 } && test -s conftest.$ac_objext; then
19633 { echo "$as_me:$LINENO: result: yes" >&5
19634 echo "${ECHO_T}yes" >&6; }
19635 else
19636 echo "$as_me: failed program was:" >&5
19637 sed 's/^/| /' conftest.$ac_ext >&5
19638
19639 { echo "$as_me:$LINENO: result: no" >&5
19640 echo "${ECHO_T}no" >&6; }
19641 cat >>confdefs.h <<\_ACEOF
19642 #define __POWERPC__ 1
19643 _ACEOF
19644
19645
19646 fi
19647
19648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19649 ;;
19650 esac
19651
19652 case "${host}" in
19653 *-*-darwin* )
19654 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19655 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19656 cat >conftest.$ac_ext <<_ACEOF
19657 /* confdefs.h. */
19658 _ACEOF
19659 cat confdefs.h >>conftest.$ac_ext
19660 cat >>conftest.$ac_ext <<_ACEOF
19661 /* end confdefs.h. */
19662 #include <CoreFoundation/CFBase.h>
19663
19664 int
19665 main ()
19666 {
19667
19668 ;
19669 return 0;
19670 }
19671 _ACEOF
19672 rm -f conftest.$ac_objext
19673 if { (ac_try="$ac_compile"
19674 case "(($ac_try" in
19675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19676 *) ac_try_echo=$ac_try;;
19677 esac
19678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19679 (eval "$ac_compile") 2>conftest.er1
19680 ac_status=$?
19681 grep -v '^ *+' conftest.er1 >conftest.err
19682 rm -f conftest.er1
19683 cat conftest.err >&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } && {
19686 test -z "$ac_c_werror_flag" ||
19687 test ! -s conftest.err
19688 } && test -s conftest.$ac_objext; then
19689 { echo "$as_me:$LINENO: result: yes" >&5
19690 echo "${ECHO_T}yes" >&6; }
19691 else
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19694
19695 { echo "$as_me:$LINENO: result: no" >&5
19696 echo "${ECHO_T}no" >&6; }
19697 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19698 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19699 cat >conftest.$ac_ext <<_ACEOF
19700 /* confdefs.h. */
19701 _ACEOF
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 #define __CF_USE_FRAMEWORK_INCLUDES__
19706 #include <CoreFoundation/CFBase.h>
19707
19708 int
19709 main ()
19710 {
19711
19712 ;
19713 return 0;
19714 }
19715 _ACEOF
19716 rm -f conftest.$ac_objext
19717 if { (ac_try="$ac_compile"
19718 case "(($ac_try" in
19719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19720 *) ac_try_echo=$ac_try;;
19721 esac
19722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19723 (eval "$ac_compile") 2>conftest.er1
19724 ac_status=$?
19725 grep -v '^ *+' conftest.er1 >conftest.err
19726 rm -f conftest.er1
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } && {
19730 test -z "$ac_c_werror_flag" ||
19731 test ! -s conftest.err
19732 } && test -s conftest.$ac_objext; then
19733 { echo "$as_me:$LINENO: result: yes" >&5
19734 echo "${ECHO_T}yes" >&6; }
19735 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19736 else
19737 echo "$as_me: failed program was:" >&5
19738 sed 's/^/| /' conftest.$ac_ext >&5
19739
19740 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19741 See \`config.log' for more details." >&5
19742 echo "$as_me: error: no. CoreFoundation not available.
19743 See \`config.log' for more details." >&2;}
19744 { (exit 1); exit 1; }; }
19745
19746 fi
19747
19748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19749
19750
19751 fi
19752
19753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19754 ;;
19755 esac
19756
19757 wants_win32=0
19758 doesnt_want_win32=0
19759 case "${host}" in
19760 *-*-cygwin*)
19761 if test "$wxUSE_MSW" = 1 ; then
19762 wants_win32=1
19763 else
19764 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19765 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19766 if test "${wx_cv_nocygwin+set}" = set; then
19767 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 else
19769
19770 cat >conftest.$ac_ext <<_ACEOF
19771 /* confdefs.h. */
19772 _ACEOF
19773 cat confdefs.h >>conftest.$ac_ext
19774 cat >>conftest.$ac_ext <<_ACEOF
19775 /* end confdefs.h. */
19776
19777 int
19778 main ()
19779 {
19780
19781 #ifdef __MINGW32__
19782 choke me
19783 #endif
19784
19785 ;
19786 return 0;
19787 }
19788 _ACEOF
19789 rm -f conftest.$ac_objext
19790 if { (ac_try="$ac_compile"
19791 case "(($ac_try" in
19792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19793 *) ac_try_echo=$ac_try;;
19794 esac
19795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19796 (eval "$ac_compile") 2>conftest.er1
19797 ac_status=$?
19798 grep -v '^ *+' conftest.er1 >conftest.err
19799 rm -f conftest.er1
19800 cat conftest.err >&5
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); } && {
19803 test -z "$ac_c_werror_flag" ||
19804 test ! -s conftest.err
19805 } && test -s conftest.$ac_objext; then
19806 wx_cv_nocygwin=no
19807 else
19808 echo "$as_me: failed program was:" >&5
19809 sed 's/^/| /' conftest.$ac_ext >&5
19810
19811 wx_cv_nocygwin=yes
19812
19813 fi
19814
19815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19816
19817
19818 fi
19819 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19820 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19821
19822 if test "$wx_cv_nocygwin" = "yes"; then
19823 wants_win32=1
19824 else
19825 doesnt_want_win32=1
19826 fi
19827 fi
19828 if test "$wants_win32" = 1 ; then
19829 BAKEFILE_FORCE_PLATFORM=win32
19830 fi
19831 ;;
19832 *-*-mingw*)
19833 wants_win32=1
19834 ;;
19835 esac
19836
19837 if test "$wxUSE_WINE" = "yes"; then
19838 wants_win32=1
19839 LDFLAGS_GUI="-mwindows"
19840 fi
19841
19842 if test "$wants_win32" = 1 ; then
19843 USE_UNIX=0
19844 USE_WIN32=1
19845 cat >>confdefs.h <<\_ACEOF
19846 #define __WIN32__ 1
19847 _ACEOF
19848
19849 cat >>confdefs.h <<\_ACEOF
19850 #define __WIN95__ 1
19851 _ACEOF
19852
19853 cat >>confdefs.h <<\_ACEOF
19854 #define __WINDOWS__ 1
19855 _ACEOF
19856
19857 cat >>confdefs.h <<\_ACEOF
19858 #define __GNUWIN32__ 1
19859 _ACEOF
19860
19861 cat >>confdefs.h <<\_ACEOF
19862 #define STRICT 1
19863 _ACEOF
19864
19865 fi
19866 if test "$doesnt_want_win32" = 1 ; then
19867 USE_UNIX=1
19868 USE_WIN32=0
19869 fi
19870
19871 if test "$USE_UNIX" = 1 ; then
19872 wxUSE_UNIX=yes
19873 cat >>confdefs.h <<\_ACEOF
19874 #define __UNIX__ 1
19875 _ACEOF
19876
19877 fi
19878
19879 case "${host}" in
19880 *-pc-os2_emx | *-pc-os2-emx )
19881 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19882 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19883 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19884 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19885 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 else
19887 ac_check_lib_save_LIBS=$LIBS
19888 LIBS="-lcExt $LIBS"
19889 cat >conftest.$ac_ext <<_ACEOF
19890 /* confdefs.h. */
19891 _ACEOF
19892 cat confdefs.h >>conftest.$ac_ext
19893 cat >>conftest.$ac_ext <<_ACEOF
19894 /* end confdefs.h. */
19895
19896 /* Override any GCC internal prototype to avoid an error.
19897 Use char because int might match the return type of a GCC
19898 builtin and then its argument prototype would still apply. */
19899 #ifdef __cplusplus
19900 extern "C"
19901 #endif
19902 char drand48 ();
19903 int
19904 main ()
19905 {
19906 return drand48 ();
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 rm -f conftest.$ac_objext conftest$ac_exeext
19912 if { (ac_try="$ac_link"
19913 case "(($ac_try" in
19914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19915 *) ac_try_echo=$ac_try;;
19916 esac
19917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19918 (eval "$ac_link") 2>conftest.er1
19919 ac_status=$?
19920 grep -v '^ *+' conftest.er1 >conftest.err
19921 rm -f conftest.er1
19922 cat conftest.err >&5
19923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19924 (exit $ac_status); } && {
19925 test -z "$ac_c_werror_flag" ||
19926 test ! -s conftest.err
19927 } && test -s conftest$ac_exeext &&
19928 $as_test_x conftest$ac_exeext; then
19929 ac_cv_lib_cExt_drand48=yes
19930 else
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19933
19934 ac_cv_lib_cExt_drand48=no
19935 fi
19936
19937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19938 conftest$ac_exeext conftest.$ac_ext
19939 LIBS=$ac_check_lib_save_LIBS
19940 fi
19941 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19942 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19943 if test $ac_cv_lib_cExt_drand48 = yes; then
19944 LIBS="$LIBS -lcExt"
19945 fi
19946
19947 else
19948 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
19949 fi
19950 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19951 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19952 if test "${wx_cv_gccversion+set}" = set; then
19953 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 else
19955
19956 if test "$cross_compiling" = yes; then
19957 wx_cv_gccversion="EMX2"
19958
19959 else
19960 cat >conftest.$ac_ext <<_ACEOF
19961 /* confdefs.h. */
19962 _ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19966
19967 #include <stdio.h>
19968
19969 int main()
19970 {
19971 FILE *f=fopen("conftestval", "w");
19972 if (!f) exit(1);
19973 fprintf(f,
19974 #if (__GNUC__ < 3)
19975 "EMX2"
19976 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19977 "EMX3"
19978 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19979 "Innotek5"
19980 #else
19981 "Innotek6"
19982 #endif
19983 );
19984 exit(0);
19985 }
19986
19987 _ACEOF
19988 rm -f conftest$ac_exeext
19989 if { (ac_try="$ac_link"
19990 case "(($ac_try" in
19991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19992 *) ac_try_echo=$ac_try;;
19993 esac
19994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19995 (eval "$ac_link") 2>&5
19996 ac_status=$?
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19999 { (case "(($ac_try" in
20000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20001 *) ac_try_echo=$ac_try;;
20002 esac
20003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20004 (eval "$ac_try") 2>&5
20005 ac_status=$?
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20008 wx_cv_gccversion=`cat conftestval`
20009 else
20010 echo "$as_me: program exited with status $ac_status" >&5
20011 echo "$as_me: failed program was:" >&5
20012 sed 's/^/| /' conftest.$ac_ext >&5
20013
20014 ( exit $ac_status )
20015 wx_cv_gccversion="EMX2"
20016 fi
20017 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20018 fi
20019
20020
20021
20022 fi
20023 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20024 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20025 if test "$wx_cv_gccversion" = "EMX2"; then
20026 LIBS="$LIBS -lstdcpp"
20027 LDFLAGS="$LDFLAGS -Zsysv-signals"
20028 else
20029 if test "$wx_cv_gccversion" = "EMX3"; then
20030 LIBS="$LIBS -lstdcxx -lgcc"
20031 LDFLAGS="$LDFLAGS -Zsysv-signals"
20032 else
20033 LIBS="$LIBS -lstdc++"
20034 fi
20035 fi
20036 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20037 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20038 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20039 wxUSE_OMF=yes
20040 enable_omf=yes
20041 fi
20042 ;;
20043 *)
20044
20045 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20046 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20047 if test "${ac_cv_string_strcasecmp+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20049 else
20050
20051 cat >conftest.$ac_ext <<_ACEOF
20052 /* confdefs.h. */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057
20058 #include <string.h>
20059
20060 int
20061 main ()
20062 {
20063
20064 strcasecmp("foo", "bar");
20065
20066 ;
20067 return 0;
20068 }
20069 _ACEOF
20070 rm -f conftest.$ac_objext conftest$ac_exeext
20071 if { (ac_try="$ac_link"
20072 case "(($ac_try" in
20073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20074 *) ac_try_echo=$ac_try;;
20075 esac
20076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20077 (eval "$ac_link") 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } && {
20084 test -z "$ac_c_werror_flag" ||
20085 test ! -s conftest.err
20086 } && test -s conftest$ac_exeext &&
20087 $as_test_x conftest$ac_exeext; then
20088 ac_cv_string_strcasecmp=yes
20089 else
20090 echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20092
20093 ac_cv_string_strcasecmp=no
20094
20095 fi
20096
20097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20098 conftest$ac_exeext conftest.$ac_ext
20099
20100 fi
20101 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20102 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20103
20104 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20105 cat >>confdefs.h <<\_ACEOF
20106 #define HAVE_STRCASECMP_IN_STRING_H 1
20107 _ACEOF
20108
20109 else
20110 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20111 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20112 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20113 echo $ECHO_N "(cached) $ECHO_C" >&6
20114 else
20115
20116 cat >conftest.$ac_ext <<_ACEOF
20117 /* confdefs.h. */
20118 _ACEOF
20119 cat confdefs.h >>conftest.$ac_ext
20120 cat >>conftest.$ac_ext <<_ACEOF
20121 /* end confdefs.h. */
20122
20123 #include <strings.h>
20124
20125 int
20126 main ()
20127 {
20128
20129 strcasecmp("foo", "bar");
20130
20131 ;
20132 return 0;
20133 }
20134 _ACEOF
20135 rm -f conftest.$ac_objext conftest$ac_exeext
20136 if { (ac_try="$ac_link"
20137 case "(($ac_try" in
20138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20139 *) ac_try_echo=$ac_try;;
20140 esac
20141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20142 (eval "$ac_link") 2>conftest.er1
20143 ac_status=$?
20144 grep -v '^ *+' conftest.er1 >conftest.err
20145 rm -f conftest.er1
20146 cat conftest.err >&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } && {
20149 test -z "$ac_c_werror_flag" ||
20150 test ! -s conftest.err
20151 } && test -s conftest$ac_exeext &&
20152 $as_test_x conftest$ac_exeext; then
20153 ac_cv_strings_strcasecmp=yes
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 ac_cv_strings_strcasecmp=no
20159
20160 fi
20161
20162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20163 conftest$ac_exeext conftest.$ac_ext
20164
20165 fi
20166 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20167 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20168
20169 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
20170 cat >>confdefs.h <<\_ACEOF
20171 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20172 _ACEOF
20173
20174 else
20175 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20176 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20177 { (exit 1); exit 1; }; }
20178 fi
20179 fi
20180
20181 ;;
20182 esac
20183
20184
20185 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20186 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20187 if test "${ac_cv_header_stdc+set}" = set; then
20188 echo $ECHO_N "(cached) $ECHO_C" >&6
20189 else
20190 cat >conftest.$ac_ext <<_ACEOF
20191 /* confdefs.h. */
20192 _ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20196 #include <stdlib.h>
20197 #include <stdarg.h>
20198 #include <string.h>
20199 #include <float.h>
20200
20201 int
20202 main ()
20203 {
20204
20205 ;
20206 return 0;
20207 }
20208 _ACEOF
20209 rm -f conftest.$ac_objext
20210 if { (ac_try="$ac_compile"
20211 case "(($ac_try" in
20212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20213 *) ac_try_echo=$ac_try;;
20214 esac
20215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20216 (eval "$ac_compile") 2>conftest.er1
20217 ac_status=$?
20218 grep -v '^ *+' conftest.er1 >conftest.err
20219 rm -f conftest.er1
20220 cat conftest.err >&5
20221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20222 (exit $ac_status); } && {
20223 test -z "$ac_c_werror_flag" ||
20224 test ! -s conftest.err
20225 } && test -s conftest.$ac_objext; then
20226 ac_cv_header_stdc=yes
20227 else
20228 echo "$as_me: failed program was:" >&5
20229 sed 's/^/| /' conftest.$ac_ext >&5
20230
20231 ac_cv_header_stdc=no
20232 fi
20233
20234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20235
20236 if test $ac_cv_header_stdc = yes; then
20237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20238 cat >conftest.$ac_ext <<_ACEOF
20239 /* confdefs.h. */
20240 _ACEOF
20241 cat confdefs.h >>conftest.$ac_ext
20242 cat >>conftest.$ac_ext <<_ACEOF
20243 /* end confdefs.h. */
20244 #include <string.h>
20245
20246 _ACEOF
20247 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20248 $EGREP "memchr" >/dev/null 2>&1; then
20249 :
20250 else
20251 ac_cv_header_stdc=no
20252 fi
20253 rm -f conftest*
20254
20255 fi
20256
20257 if test $ac_cv_header_stdc = yes; then
20258 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20259 cat >conftest.$ac_ext <<_ACEOF
20260 /* confdefs.h. */
20261 _ACEOF
20262 cat confdefs.h >>conftest.$ac_ext
20263 cat >>conftest.$ac_ext <<_ACEOF
20264 /* end confdefs.h. */
20265 #include <stdlib.h>
20266
20267 _ACEOF
20268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20269 $EGREP "free" >/dev/null 2>&1; then
20270 :
20271 else
20272 ac_cv_header_stdc=no
20273 fi
20274 rm -f conftest*
20275
20276 fi
20277
20278 if test $ac_cv_header_stdc = yes; then
20279 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20280 if test "$cross_compiling" = yes; then
20281 :
20282 else
20283 cat >conftest.$ac_ext <<_ACEOF
20284 /* confdefs.h. */
20285 _ACEOF
20286 cat confdefs.h >>conftest.$ac_ext
20287 cat >>conftest.$ac_ext <<_ACEOF
20288 /* end confdefs.h. */
20289 #include <ctype.h>
20290 #include <stdlib.h>
20291 #if ((' ' & 0x0FF) == 0x020)
20292 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20293 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20294 #else
20295 # define ISLOWER(c) \
20296 (('a' <= (c) && (c) <= 'i') \
20297 || ('j' <= (c) && (c) <= 'r') \
20298 || ('s' <= (c) && (c) <= 'z'))
20299 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20300 #endif
20301
20302 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20303 int
20304 main ()
20305 {
20306 int i;
20307 for (i = 0; i < 256; i++)
20308 if (XOR (islower (i), ISLOWER (i))
20309 || toupper (i) != TOUPPER (i))
20310 return 2;
20311 return 0;
20312 }
20313 _ACEOF
20314 rm -f conftest$ac_exeext
20315 if { (ac_try="$ac_link"
20316 case "(($ac_try" in
20317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20318 *) ac_try_echo=$ac_try;;
20319 esac
20320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20321 (eval "$ac_link") 2>&5
20322 ac_status=$?
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20325 { (case "(($ac_try" in
20326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20327 *) ac_try_echo=$ac_try;;
20328 esac
20329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20330 (eval "$ac_try") 2>&5
20331 ac_status=$?
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20334 :
20335 else
20336 echo "$as_me: program exited with status $ac_status" >&5
20337 echo "$as_me: failed program was:" >&5
20338 sed 's/^/| /' conftest.$ac_ext >&5
20339
20340 ( exit $ac_status )
20341 ac_cv_header_stdc=no
20342 fi
20343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20344 fi
20345
20346
20347 fi
20348 fi
20349 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20350 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20351 if test $ac_cv_header_stdc = yes; then
20352
20353 cat >>confdefs.h <<\_ACEOF
20354 #define STDC_HEADERS 1
20355 _ACEOF
20356
20357 fi
20358
20359 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20370 inttypes.h stdint.h unistd.h
20371 do
20372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20373 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 else
20378 cat >conftest.$ac_ext <<_ACEOF
20379 /* confdefs.h. */
20380 _ACEOF
20381 cat confdefs.h >>conftest.$ac_ext
20382 cat >>conftest.$ac_ext <<_ACEOF
20383 /* end confdefs.h. */
20384 $ac_includes_default
20385
20386 #include <$ac_header>
20387 _ACEOF
20388 rm -f conftest.$ac_objext
20389 if { (ac_try="$ac_compile"
20390 case "(($ac_try" in
20391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20392 *) ac_try_echo=$ac_try;;
20393 esac
20394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20395 (eval "$ac_compile") 2>conftest.er1
20396 ac_status=$?
20397 grep -v '^ *+' conftest.er1 >conftest.err
20398 rm -f conftest.er1
20399 cat conftest.err >&5
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); } && {
20402 test -z "$ac_c_werror_flag" ||
20403 test ! -s conftest.err
20404 } && test -s conftest.$ac_objext; then
20405 eval "$as_ac_Header=yes"
20406 else
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20409
20410 eval "$as_ac_Header=no"
20411 fi
20412
20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20414 fi
20415 ac_res=`eval echo '${'$as_ac_Header'}'`
20416 { echo "$as_me:$LINENO: result: $ac_res" >&5
20417 echo "${ECHO_T}$ac_res" >&6; }
20418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20419 cat >>confdefs.h <<_ACEOF
20420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20421 _ACEOF
20422
20423 fi
20424
20425 done
20426
20427
20428
20429
20430 for ac_header in langinfo.h wchar.h
20431 do
20432 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20433 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20436 echo $ECHO_N "(cached) $ECHO_C" >&6
20437 else
20438 cat >conftest.$ac_ext <<_ACEOF
20439 /* confdefs.h. */
20440 _ACEOF
20441 cat confdefs.h >>conftest.$ac_ext
20442 cat >>conftest.$ac_ext <<_ACEOF
20443 /* end confdefs.h. */
20444 $ac_includes_default
20445
20446 #include <$ac_header>
20447 _ACEOF
20448 rm -f conftest.$ac_objext
20449 if { (ac_try="$ac_compile"
20450 case "(($ac_try" in
20451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20452 *) ac_try_echo=$ac_try;;
20453 esac
20454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20455 (eval "$ac_compile") 2>conftest.er1
20456 ac_status=$?
20457 grep -v '^ *+' conftest.er1 >conftest.err
20458 rm -f conftest.er1
20459 cat conftest.err >&5
20460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20461 (exit $ac_status); } && {
20462 test -z "$ac_c_werror_flag" ||
20463 test ! -s conftest.err
20464 } && test -s conftest.$ac_objext; then
20465 eval "$as_ac_Header=yes"
20466 else
20467 echo "$as_me: failed program was:" >&5
20468 sed 's/^/| /' conftest.$ac_ext >&5
20469
20470 eval "$as_ac_Header=no"
20471 fi
20472
20473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20474 fi
20475 ac_res=`eval echo '${'$as_ac_Header'}'`
20476 { echo "$as_me:$LINENO: result: $ac_res" >&5
20477 echo "${ECHO_T}$ac_res" >&6; }
20478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20479 cat >>confdefs.h <<_ACEOF
20480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20481 _ACEOF
20482
20483 fi
20484
20485 done
20486
20487
20488 if test "$ac_cv_header_wchar_h" != "yes"; then
20489
20490 for ac_header in wcstr.h
20491 do
20492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 else
20498 cat >conftest.$ac_ext <<_ACEOF
20499 /* confdefs.h. */
20500 _ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 $ac_includes_default
20505
20506 #include <$ac_header>
20507 _ACEOF
20508 rm -f conftest.$ac_objext
20509 if { (ac_try="$ac_compile"
20510 case "(($ac_try" in
20511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20512 *) ac_try_echo=$ac_try;;
20513 esac
20514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20515 (eval "$ac_compile") 2>conftest.er1
20516 ac_status=$?
20517 grep -v '^ *+' conftest.er1 >conftest.err
20518 rm -f conftest.er1
20519 cat conftest.err >&5
20520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20521 (exit $ac_status); } && {
20522 test -z "$ac_c_werror_flag" ||
20523 test ! -s conftest.err
20524 } && test -s conftest.$ac_objext; then
20525 eval "$as_ac_Header=yes"
20526 else
20527 echo "$as_me: failed program was:" >&5
20528 sed 's/^/| /' conftest.$ac_ext >&5
20529
20530 eval "$as_ac_Header=no"
20531 fi
20532
20533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20534 fi
20535 ac_res=`eval echo '${'$as_ac_Header'}'`
20536 { echo "$as_me:$LINENO: result: $ac_res" >&5
20537 echo "${ECHO_T}$ac_res" >&6; }
20538 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20539 cat >>confdefs.h <<_ACEOF
20540 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20541 _ACEOF
20542
20543 fi
20544
20545 done
20546
20547 fi
20548
20549 case "${host}" in
20550 *-pc-os2_emx | *-pc-os2-emx )
20551 if test $ac_cv_header_langinfo_h = "yes" \
20552 -a \( "$wx_cv_gccversion" = "EMX2" \
20553 -o "$wx_cv_gccversion" = "EMX3" \
20554 -o "$wx_cv_gccversion" = "Innotek5" \); then
20555 LIBS="$LIBS -lintl"
20556 fi
20557 ;;
20558 esac
20559
20560 if test "$USE_UNIX" = 1 ; then
20561
20562 for ac_header in sys/select.h
20563 do
20564 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20565 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20568 echo $ECHO_N "(cached) $ECHO_C" >&6
20569 else
20570 cat >conftest.$ac_ext <<_ACEOF
20571 /* confdefs.h. */
20572 _ACEOF
20573 cat confdefs.h >>conftest.$ac_ext
20574 cat >>conftest.$ac_ext <<_ACEOF
20575 /* end confdefs.h. */
20576 $ac_includes_default
20577
20578 #include <$ac_header>
20579 _ACEOF
20580 rm -f conftest.$ac_objext
20581 if { (ac_try="$ac_compile"
20582 case "(($ac_try" in
20583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20584 *) ac_try_echo=$ac_try;;
20585 esac
20586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20587 (eval "$ac_compile") 2>conftest.er1
20588 ac_status=$?
20589 grep -v '^ *+' conftest.er1 >conftest.err
20590 rm -f conftest.er1
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } && {
20594 test -z "$ac_c_werror_flag" ||
20595 test ! -s conftest.err
20596 } && test -s conftest.$ac_objext; then
20597 eval "$as_ac_Header=yes"
20598 else
20599 echo "$as_me: failed program was:" >&5
20600 sed 's/^/| /' conftest.$ac_ext >&5
20601
20602 eval "$as_ac_Header=no"
20603 fi
20604
20605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20606 fi
20607 ac_res=`eval echo '${'$as_ac_Header'}'`
20608 { echo "$as_me:$LINENO: result: $ac_res" >&5
20609 echo "${ECHO_T}$ac_res" >&6; }
20610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20611 cat >>confdefs.h <<_ACEOF
20612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20613 _ACEOF
20614
20615 fi
20616
20617 done
20618
20619 fi
20620
20621
20622 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20623 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20624 if test "${ac_cv_c_const+set}" = set; then
20625 echo $ECHO_N "(cached) $ECHO_C" >&6
20626 else
20627 cat >conftest.$ac_ext <<_ACEOF
20628 /* confdefs.h. */
20629 _ACEOF
20630 cat confdefs.h >>conftest.$ac_ext
20631 cat >>conftest.$ac_ext <<_ACEOF
20632 /* end confdefs.h. */
20633
20634 int
20635 main ()
20636 {
20637 /* FIXME: Include the comments suggested by Paul. */
20638 #ifndef __cplusplus
20639 /* Ultrix mips cc rejects this. */
20640 typedef int charset[2];
20641 const charset cs;
20642 /* SunOS 4.1.1 cc rejects this. */
20643 char const *const *pcpcc;
20644 char **ppc;
20645 /* NEC SVR4.0.2 mips cc rejects this. */
20646 struct point {int x, y;};
20647 static struct point const zero = {0,0};
20648 /* AIX XL C 1.02.0.0 rejects this.
20649 It does not let you subtract one const X* pointer from another in
20650 an arm of an if-expression whose if-part is not a constant
20651 expression */
20652 const char *g = "string";
20653 pcpcc = &g + (g ? g-g : 0);
20654 /* HPUX 7.0 cc rejects these. */
20655 ++pcpcc;
20656 ppc = (char**) pcpcc;
20657 pcpcc = (char const *const *) ppc;
20658 { /* SCO 3.2v4 cc rejects this. */
20659 char *t;
20660 char const *s = 0 ? (char *) 0 : (char const *) 0;
20661
20662 *t++ = 0;
20663 if (s) return 0;
20664 }
20665 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20666 int x[] = {25, 17};
20667 const int *foo = &x[0];
20668 ++foo;
20669 }
20670 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20671 typedef const int *iptr;
20672 iptr p = 0;
20673 ++p;
20674 }
20675 { /* AIX XL C 1.02.0.0 rejects this saying
20676 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20677 struct s { int j; const int *ap[3]; };
20678 struct s *b; b->j = 5;
20679 }
20680 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20681 const int foo = 10;
20682 if (!foo) return 0;
20683 }
20684 return !cs[0] && !zero.x;
20685 #endif
20686
20687 ;
20688 return 0;
20689 }
20690 _ACEOF
20691 rm -f conftest.$ac_objext
20692 if { (ac_try="$ac_compile"
20693 case "(($ac_try" in
20694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20695 *) ac_try_echo=$ac_try;;
20696 esac
20697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20698 (eval "$ac_compile") 2>conftest.er1
20699 ac_status=$?
20700 grep -v '^ *+' conftest.er1 >conftest.err
20701 rm -f conftest.er1
20702 cat conftest.err >&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); } && {
20705 test -z "$ac_c_werror_flag" ||
20706 test ! -s conftest.err
20707 } && test -s conftest.$ac_objext; then
20708 ac_cv_c_const=yes
20709 else
20710 echo "$as_me: failed program was:" >&5
20711 sed 's/^/| /' conftest.$ac_ext >&5
20712
20713 ac_cv_c_const=no
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 fi
20718 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20719 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20720 if test $ac_cv_c_const = no; then
20721
20722 cat >>confdefs.h <<\_ACEOF
20723 #define const
20724 _ACEOF
20725
20726 fi
20727
20728 { echo "$as_me:$LINENO: checking for inline" >&5
20729 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20730 if test "${ac_cv_c_inline+set}" = set; then
20731 echo $ECHO_N "(cached) $ECHO_C" >&6
20732 else
20733 ac_cv_c_inline=no
20734 for ac_kw in inline __inline__ __inline; do
20735 cat >conftest.$ac_ext <<_ACEOF
20736 /* confdefs.h. */
20737 _ACEOF
20738 cat confdefs.h >>conftest.$ac_ext
20739 cat >>conftest.$ac_ext <<_ACEOF
20740 /* end confdefs.h. */
20741 #ifndef __cplusplus
20742 typedef int foo_t;
20743 static $ac_kw foo_t static_foo () {return 0; }
20744 $ac_kw foo_t foo () {return 0; }
20745 #endif
20746
20747 _ACEOF
20748 rm -f conftest.$ac_objext
20749 if { (ac_try="$ac_compile"
20750 case "(($ac_try" in
20751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20752 *) ac_try_echo=$ac_try;;
20753 esac
20754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20755 (eval "$ac_compile") 2>conftest.er1
20756 ac_status=$?
20757 grep -v '^ *+' conftest.er1 >conftest.err
20758 rm -f conftest.er1
20759 cat conftest.err >&5
20760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20761 (exit $ac_status); } && {
20762 test -z "$ac_c_werror_flag" ||
20763 test ! -s conftest.err
20764 } && test -s conftest.$ac_objext; then
20765 ac_cv_c_inline=$ac_kw
20766 else
20767 echo "$as_me: failed program was:" >&5
20768 sed 's/^/| /' conftest.$ac_ext >&5
20769
20770
20771 fi
20772
20773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20774 test "$ac_cv_c_inline" != no && break
20775 done
20776
20777 fi
20778 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20779 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20780
20781
20782 case $ac_cv_c_inline in
20783 inline | yes) ;;
20784 *)
20785 case $ac_cv_c_inline in
20786 no) ac_val=;;
20787 *) ac_val=$ac_cv_c_inline;;
20788 esac
20789 cat >>confdefs.h <<_ACEOF
20790 #ifndef __cplusplus
20791 #define inline $ac_val
20792 #endif
20793 _ACEOF
20794 ;;
20795 esac
20796
20797
20798 { echo "$as_me:$LINENO: checking for short" >&5
20799 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20800 if test "${ac_cv_type_short+set}" = set; then
20801 echo $ECHO_N "(cached) $ECHO_C" >&6
20802 else
20803 cat >conftest.$ac_ext <<_ACEOF
20804 /* confdefs.h. */
20805 _ACEOF
20806 cat confdefs.h >>conftest.$ac_ext
20807 cat >>conftest.$ac_ext <<_ACEOF
20808 /* end confdefs.h. */
20809 $ac_includes_default
20810 typedef short ac__type_new_;
20811 int
20812 main ()
20813 {
20814 if ((ac__type_new_ *) 0)
20815 return 0;
20816 if (sizeof (ac__type_new_))
20817 return 0;
20818 ;
20819 return 0;
20820 }
20821 _ACEOF
20822 rm -f conftest.$ac_objext
20823 if { (ac_try="$ac_compile"
20824 case "(($ac_try" in
20825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20826 *) ac_try_echo=$ac_try;;
20827 esac
20828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20829 (eval "$ac_compile") 2>conftest.er1
20830 ac_status=$?
20831 grep -v '^ *+' conftest.er1 >conftest.err
20832 rm -f conftest.er1
20833 cat conftest.err >&5
20834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835 (exit $ac_status); } && {
20836 test -z "$ac_c_werror_flag" ||
20837 test ! -s conftest.err
20838 } && test -s conftest.$ac_objext; then
20839 ac_cv_type_short=yes
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20843
20844 ac_cv_type_short=no
20845 fi
20846
20847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20848 fi
20849 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20850 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20851
20852 # The cast to long int works around a bug in the HP C Compiler
20853 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20854 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20855 # This bug is HP SR number 8606223364.
20856 { echo "$as_me:$LINENO: checking size of short" >&5
20857 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20858 if test "${ac_cv_sizeof_short+set}" = set; then
20859 echo $ECHO_N "(cached) $ECHO_C" >&6
20860 else
20861 if test "$cross_compiling" = yes; then
20862 # Depending upon the size, compute the lo and hi bounds.
20863 cat >conftest.$ac_ext <<_ACEOF
20864 /* confdefs.h. */
20865 _ACEOF
20866 cat confdefs.h >>conftest.$ac_ext
20867 cat >>conftest.$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 $ac_includes_default
20870 typedef short ac__type_sizeof_;
20871 int
20872 main ()
20873 {
20874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20875 test_array [0] = 0
20876
20877 ;
20878 return 0;
20879 }
20880 _ACEOF
20881 rm -f conftest.$ac_objext
20882 if { (ac_try="$ac_compile"
20883 case "(($ac_try" in
20884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20885 *) ac_try_echo=$ac_try;;
20886 esac
20887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20888 (eval "$ac_compile") 2>conftest.er1
20889 ac_status=$?
20890 grep -v '^ *+' conftest.er1 >conftest.err
20891 rm -f conftest.er1
20892 cat conftest.err >&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); } && {
20895 test -z "$ac_c_werror_flag" ||
20896 test ! -s conftest.err
20897 } && test -s conftest.$ac_objext; then
20898 ac_lo=0 ac_mid=0
20899 while :; do
20900 cat >conftest.$ac_ext <<_ACEOF
20901 /* confdefs.h. */
20902 _ACEOF
20903 cat confdefs.h >>conftest.$ac_ext
20904 cat >>conftest.$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20906 $ac_includes_default
20907 typedef short ac__type_sizeof_;
20908 int
20909 main ()
20910 {
20911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20912 test_array [0] = 0
20913
20914 ;
20915 return 0;
20916 }
20917 _ACEOF
20918 rm -f conftest.$ac_objext
20919 if { (ac_try="$ac_compile"
20920 case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20923 esac
20924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_compile") 2>conftest.er1
20926 ac_status=$?
20927 grep -v '^ *+' conftest.er1 >conftest.err
20928 rm -f conftest.er1
20929 cat conftest.err >&5
20930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20931 (exit $ac_status); } && {
20932 test -z "$ac_c_werror_flag" ||
20933 test ! -s conftest.err
20934 } && test -s conftest.$ac_objext; then
20935 ac_hi=$ac_mid; break
20936 else
20937 echo "$as_me: failed program was:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20939
20940 ac_lo=`expr $ac_mid + 1`
20941 if test $ac_lo -le $ac_mid; then
20942 ac_lo= ac_hi=
20943 break
20944 fi
20945 ac_mid=`expr 2 '*' $ac_mid + 1`
20946 fi
20947
20948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20949 done
20950 else
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20953
20954 cat >conftest.$ac_ext <<_ACEOF
20955 /* confdefs.h. */
20956 _ACEOF
20957 cat confdefs.h >>conftest.$ac_ext
20958 cat >>conftest.$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 $ac_includes_default
20961 typedef short ac__type_sizeof_;
20962 int
20963 main ()
20964 {
20965 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20966 test_array [0] = 0
20967
20968 ;
20969 return 0;
20970 }
20971 _ACEOF
20972 rm -f conftest.$ac_objext
20973 if { (ac_try="$ac_compile"
20974 case "(($ac_try" in
20975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20976 *) ac_try_echo=$ac_try;;
20977 esac
20978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20979 (eval "$ac_compile") 2>conftest.er1
20980 ac_status=$?
20981 grep -v '^ *+' conftest.er1 >conftest.err
20982 rm -f conftest.er1
20983 cat conftest.err >&5
20984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20985 (exit $ac_status); } && {
20986 test -z "$ac_c_werror_flag" ||
20987 test ! -s conftest.err
20988 } && test -s conftest.$ac_objext; then
20989 ac_hi=-1 ac_mid=-1
20990 while :; do
20991 cat >conftest.$ac_ext <<_ACEOF
20992 /* confdefs.h. */
20993 _ACEOF
20994 cat confdefs.h >>conftest.$ac_ext
20995 cat >>conftest.$ac_ext <<_ACEOF
20996 /* end confdefs.h. */
20997 $ac_includes_default
20998 typedef short ac__type_sizeof_;
20999 int
21000 main ()
21001 {
21002 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21003 test_array [0] = 0
21004
21005 ;
21006 return 0;
21007 }
21008 _ACEOF
21009 rm -f conftest.$ac_objext
21010 if { (ac_try="$ac_compile"
21011 case "(($ac_try" in
21012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21013 *) ac_try_echo=$ac_try;;
21014 esac
21015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21016 (eval "$ac_compile") 2>conftest.er1
21017 ac_status=$?
21018 grep -v '^ *+' conftest.er1 >conftest.err
21019 rm -f conftest.er1
21020 cat conftest.err >&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); } && {
21023 test -z "$ac_c_werror_flag" ||
21024 test ! -s conftest.err
21025 } && test -s conftest.$ac_objext; then
21026 ac_lo=$ac_mid; break
21027 else
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21030
21031 ac_hi=`expr '(' $ac_mid ')' - 1`
21032 if test $ac_mid -le $ac_hi; then
21033 ac_lo= ac_hi=
21034 break
21035 fi
21036 ac_mid=`expr 2 '*' $ac_mid`
21037 fi
21038
21039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 done
21041 else
21042 echo "$as_me: failed program was:" >&5
21043 sed 's/^/| /' conftest.$ac_ext >&5
21044
21045 ac_lo= ac_hi=
21046 fi
21047
21048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049 fi
21050
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 # Binary search between lo and hi bounds.
21053 while test "x$ac_lo" != "x$ac_hi"; do
21054 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21055 cat >conftest.$ac_ext <<_ACEOF
21056 /* confdefs.h. */
21057 _ACEOF
21058 cat confdefs.h >>conftest.$ac_ext
21059 cat >>conftest.$ac_ext <<_ACEOF
21060 /* end confdefs.h. */
21061 $ac_includes_default
21062 typedef short ac__type_sizeof_;
21063 int
21064 main ()
21065 {
21066 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21067 test_array [0] = 0
21068
21069 ;
21070 return 0;
21071 }
21072 _ACEOF
21073 rm -f conftest.$ac_objext
21074 if { (ac_try="$ac_compile"
21075 case "(($ac_try" in
21076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21077 *) ac_try_echo=$ac_try;;
21078 esac
21079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21080 (eval "$ac_compile") 2>conftest.er1
21081 ac_status=$?
21082 grep -v '^ *+' conftest.er1 >conftest.err
21083 rm -f conftest.er1
21084 cat conftest.err >&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); } && {
21087 test -z "$ac_c_werror_flag" ||
21088 test ! -s conftest.err
21089 } && test -s conftest.$ac_objext; then
21090 ac_hi=$ac_mid
21091 else
21092 echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.$ac_ext >&5
21094
21095 ac_lo=`expr '(' $ac_mid ')' + 1`
21096 fi
21097
21098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 done
21100 case $ac_lo in
21101 ?*) ac_cv_sizeof_short=$ac_lo;;
21102 '') if test "$ac_cv_type_short" = yes; then
21103 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21104 See \`config.log' for more details." >&5
21105 echo "$as_me: error: cannot compute sizeof (short)
21106 See \`config.log' for more details." >&2;}
21107 { (exit 77); exit 77; }; }
21108 else
21109 ac_cv_sizeof_short=0
21110 fi ;;
21111 esac
21112 else
21113 cat >conftest.$ac_ext <<_ACEOF
21114 /* confdefs.h. */
21115 _ACEOF
21116 cat confdefs.h >>conftest.$ac_ext
21117 cat >>conftest.$ac_ext <<_ACEOF
21118 /* end confdefs.h. */
21119 $ac_includes_default
21120 typedef short ac__type_sizeof_;
21121 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21122 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21123 #include <stdio.h>
21124 #include <stdlib.h>
21125 int
21126 main ()
21127 {
21128
21129 FILE *f = fopen ("conftest.val", "w");
21130 if (! f)
21131 return 1;
21132 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21133 {
21134 long int i = longval ();
21135 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21136 return 1;
21137 fprintf (f, "%ld\n", i);
21138 }
21139 else
21140 {
21141 unsigned long int i = ulongval ();
21142 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21143 return 1;
21144 fprintf (f, "%lu\n", i);
21145 }
21146 return ferror (f) || fclose (f) != 0;
21147
21148 ;
21149 return 0;
21150 }
21151 _ACEOF
21152 rm -f conftest$ac_exeext
21153 if { (ac_try="$ac_link"
21154 case "(($ac_try" in
21155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21156 *) ac_try_echo=$ac_try;;
21157 esac
21158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21159 (eval "$ac_link") 2>&5
21160 ac_status=$?
21161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21162 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21163 { (case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_try") 2>&5
21169 ac_status=$?
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; }; then
21172 ac_cv_sizeof_short=`cat conftest.val`
21173 else
21174 echo "$as_me: program exited with status $ac_status" >&5
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21177
21178 ( exit $ac_status )
21179 if test "$ac_cv_type_short" = yes; then
21180 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21181 See \`config.log' for more details." >&5
21182 echo "$as_me: error: cannot compute sizeof (short)
21183 See \`config.log' for more details." >&2;}
21184 { (exit 77); exit 77; }; }
21185 else
21186 ac_cv_sizeof_short=0
21187 fi
21188 fi
21189 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21190 fi
21191 rm -f conftest.val
21192 fi
21193 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21194 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21195
21196
21197
21198 cat >>confdefs.h <<_ACEOF
21199 #define SIZEOF_SHORT $ac_cv_sizeof_short
21200 _ACEOF
21201
21202
21203 { echo "$as_me:$LINENO: checking for void *" >&5
21204 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21205 if test "${ac_cv_type_void_p+set}" = set; then
21206 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 else
21208 cat >conftest.$ac_ext <<_ACEOF
21209 /* confdefs.h. */
21210 _ACEOF
21211 cat confdefs.h >>conftest.$ac_ext
21212 cat >>conftest.$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 $ac_includes_default
21215 typedef void * ac__type_new_;
21216 int
21217 main ()
21218 {
21219 if ((ac__type_new_ *) 0)
21220 return 0;
21221 if (sizeof (ac__type_new_))
21222 return 0;
21223 ;
21224 return 0;
21225 }
21226 _ACEOF
21227 rm -f conftest.$ac_objext
21228 if { (ac_try="$ac_compile"
21229 case "(($ac_try" in
21230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21231 *) ac_try_echo=$ac_try;;
21232 esac
21233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21234 (eval "$ac_compile") 2>conftest.er1
21235 ac_status=$?
21236 grep -v '^ *+' conftest.er1 >conftest.err
21237 rm -f conftest.er1
21238 cat conftest.err >&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } && {
21241 test -z "$ac_c_werror_flag" ||
21242 test ! -s conftest.err
21243 } && test -s conftest.$ac_objext; then
21244 ac_cv_type_void_p=yes
21245 else
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21248
21249 ac_cv_type_void_p=no
21250 fi
21251
21252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21253 fi
21254 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21255 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21256
21257 # The cast to long int works around a bug in the HP C Compiler
21258 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21259 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21260 # This bug is HP SR number 8606223364.
21261 { echo "$as_me:$LINENO: checking size of void *" >&5
21262 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21263 if test "${ac_cv_sizeof_void_p+set}" = set; then
21264 echo $ECHO_N "(cached) $ECHO_C" >&6
21265 else
21266 if test "$cross_compiling" = yes; then
21267 # Depending upon the size, compute the lo and hi bounds.
21268 cat >conftest.$ac_ext <<_ACEOF
21269 /* confdefs.h. */
21270 _ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21275 typedef void * ac__type_sizeof_;
21276 int
21277 main ()
21278 {
21279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21280 test_array [0] = 0
21281
21282 ;
21283 return 0;
21284 }
21285 _ACEOF
21286 rm -f conftest.$ac_objext
21287 if { (ac_try="$ac_compile"
21288 case "(($ac_try" in
21289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21290 *) ac_try_echo=$ac_try;;
21291 esac
21292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21293 (eval "$ac_compile") 2>conftest.er1
21294 ac_status=$?
21295 grep -v '^ *+' conftest.er1 >conftest.err
21296 rm -f conftest.er1
21297 cat conftest.err >&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } && {
21300 test -z "$ac_c_werror_flag" ||
21301 test ! -s conftest.err
21302 } && test -s conftest.$ac_objext; then
21303 ac_lo=0 ac_mid=0
21304 while :; do
21305 cat >conftest.$ac_ext <<_ACEOF
21306 /* confdefs.h. */
21307 _ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 $ac_includes_default
21312 typedef void * ac__type_sizeof_;
21313 int
21314 main ()
21315 {
21316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21317 test_array [0] = 0
21318
21319 ;
21320 return 0;
21321 }
21322 _ACEOF
21323 rm -f conftest.$ac_objext
21324 if { (ac_try="$ac_compile"
21325 case "(($ac_try" in
21326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21327 *) ac_try_echo=$ac_try;;
21328 esac
21329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21330 (eval "$ac_compile") 2>conftest.er1
21331 ac_status=$?
21332 grep -v '^ *+' conftest.er1 >conftest.err
21333 rm -f conftest.er1
21334 cat conftest.err >&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } && {
21337 test -z "$ac_c_werror_flag" ||
21338 test ! -s conftest.err
21339 } && test -s conftest.$ac_objext; then
21340 ac_hi=$ac_mid; break
21341 else
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.$ac_ext >&5
21344
21345 ac_lo=`expr $ac_mid + 1`
21346 if test $ac_lo -le $ac_mid; then
21347 ac_lo= ac_hi=
21348 break
21349 fi
21350 ac_mid=`expr 2 '*' $ac_mid + 1`
21351 fi
21352
21353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21354 done
21355 else
21356 echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.$ac_ext >&5
21358
21359 cat >conftest.$ac_ext <<_ACEOF
21360 /* confdefs.h. */
21361 _ACEOF
21362 cat confdefs.h >>conftest.$ac_ext
21363 cat >>conftest.$ac_ext <<_ACEOF
21364 /* end confdefs.h. */
21365 $ac_includes_default
21366 typedef void * ac__type_sizeof_;
21367 int
21368 main ()
21369 {
21370 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21371 test_array [0] = 0
21372
21373 ;
21374 return 0;
21375 }
21376 _ACEOF
21377 rm -f conftest.$ac_objext
21378 if { (ac_try="$ac_compile"
21379 case "(($ac_try" in
21380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21381 *) ac_try_echo=$ac_try;;
21382 esac
21383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21384 (eval "$ac_compile") 2>conftest.er1
21385 ac_status=$?
21386 grep -v '^ *+' conftest.er1 >conftest.err
21387 rm -f conftest.er1
21388 cat conftest.err >&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); } && {
21391 test -z "$ac_c_werror_flag" ||
21392 test ! -s conftest.err
21393 } && test -s conftest.$ac_objext; then
21394 ac_hi=-1 ac_mid=-1
21395 while :; do
21396 cat >conftest.$ac_ext <<_ACEOF
21397 /* confdefs.h. */
21398 _ACEOF
21399 cat confdefs.h >>conftest.$ac_ext
21400 cat >>conftest.$ac_ext <<_ACEOF
21401 /* end confdefs.h. */
21402 $ac_includes_default
21403 typedef void * ac__type_sizeof_;
21404 int
21405 main ()
21406 {
21407 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21408 test_array [0] = 0
21409
21410 ;
21411 return 0;
21412 }
21413 _ACEOF
21414 rm -f conftest.$ac_objext
21415 if { (ac_try="$ac_compile"
21416 case "(($ac_try" in
21417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21418 *) ac_try_echo=$ac_try;;
21419 esac
21420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21421 (eval "$ac_compile") 2>conftest.er1
21422 ac_status=$?
21423 grep -v '^ *+' conftest.er1 >conftest.err
21424 rm -f conftest.er1
21425 cat conftest.err >&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); } && {
21428 test -z "$ac_c_werror_flag" ||
21429 test ! -s conftest.err
21430 } && test -s conftest.$ac_objext; then
21431 ac_lo=$ac_mid; break
21432 else
21433 echo "$as_me: failed program was:" >&5
21434 sed 's/^/| /' conftest.$ac_ext >&5
21435
21436 ac_hi=`expr '(' $ac_mid ')' - 1`
21437 if test $ac_mid -le $ac_hi; then
21438 ac_lo= ac_hi=
21439 break
21440 fi
21441 ac_mid=`expr 2 '*' $ac_mid`
21442 fi
21443
21444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21445 done
21446 else
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21449
21450 ac_lo= ac_hi=
21451 fi
21452
21453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21454 fi
21455
21456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21457 # Binary search between lo and hi bounds.
21458 while test "x$ac_lo" != "x$ac_hi"; do
21459 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21460 cat >conftest.$ac_ext <<_ACEOF
21461 /* confdefs.h. */
21462 _ACEOF
21463 cat confdefs.h >>conftest.$ac_ext
21464 cat >>conftest.$ac_ext <<_ACEOF
21465 /* end confdefs.h. */
21466 $ac_includes_default
21467 typedef void * ac__type_sizeof_;
21468 int
21469 main ()
21470 {
21471 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21472 test_array [0] = 0
21473
21474 ;
21475 return 0;
21476 }
21477 _ACEOF
21478 rm -f conftest.$ac_objext
21479 if { (ac_try="$ac_compile"
21480 case "(($ac_try" in
21481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21482 *) ac_try_echo=$ac_try;;
21483 esac
21484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21485 (eval "$ac_compile") 2>conftest.er1
21486 ac_status=$?
21487 grep -v '^ *+' conftest.er1 >conftest.err
21488 rm -f conftest.er1
21489 cat conftest.err >&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } && {
21492 test -z "$ac_c_werror_flag" ||
21493 test ! -s conftest.err
21494 } && test -s conftest.$ac_objext; then
21495 ac_hi=$ac_mid
21496 else
21497 echo "$as_me: failed program was:" >&5
21498 sed 's/^/| /' conftest.$ac_ext >&5
21499
21500 ac_lo=`expr '(' $ac_mid ')' + 1`
21501 fi
21502
21503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21504 done
21505 case $ac_lo in
21506 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21507 '') if test "$ac_cv_type_void_p" = yes; then
21508 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21509 See \`config.log' for more details." >&5
21510 echo "$as_me: error: cannot compute sizeof (void *)
21511 See \`config.log' for more details." >&2;}
21512 { (exit 77); exit 77; }; }
21513 else
21514 ac_cv_sizeof_void_p=0
21515 fi ;;
21516 esac
21517 else
21518 cat >conftest.$ac_ext <<_ACEOF
21519 /* confdefs.h. */
21520 _ACEOF
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 $ac_includes_default
21525 typedef void * ac__type_sizeof_;
21526 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21527 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21528 #include <stdio.h>
21529 #include <stdlib.h>
21530 int
21531 main ()
21532 {
21533
21534 FILE *f = fopen ("conftest.val", "w");
21535 if (! f)
21536 return 1;
21537 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21538 {
21539 long int i = longval ();
21540 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21541 return 1;
21542 fprintf (f, "%ld\n", i);
21543 }
21544 else
21545 {
21546 unsigned long int i = ulongval ();
21547 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21548 return 1;
21549 fprintf (f, "%lu\n", i);
21550 }
21551 return ferror (f) || fclose (f) != 0;
21552
21553 ;
21554 return 0;
21555 }
21556 _ACEOF
21557 rm -f conftest$ac_exeext
21558 if { (ac_try="$ac_link"
21559 case "(($ac_try" in
21560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21561 *) ac_try_echo=$ac_try;;
21562 esac
21563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21564 (eval "$ac_link") 2>&5
21565 ac_status=$?
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21568 { (case "(($ac_try" in
21569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21570 *) ac_try_echo=$ac_try;;
21571 esac
21572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21573 (eval "$ac_try") 2>&5
21574 ac_status=$?
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 ac_cv_sizeof_void_p=`cat conftest.val`
21578 else
21579 echo "$as_me: program exited with status $ac_status" >&5
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21582
21583 ( exit $ac_status )
21584 if test "$ac_cv_type_void_p" = yes; then
21585 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21586 See \`config.log' for more details." >&5
21587 echo "$as_me: error: cannot compute sizeof (void *)
21588 See \`config.log' for more details." >&2;}
21589 { (exit 77); exit 77; }; }
21590 else
21591 ac_cv_sizeof_void_p=0
21592 fi
21593 fi
21594 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21595 fi
21596 rm -f conftest.val
21597 fi
21598 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21599 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21600
21601
21602
21603 cat >>confdefs.h <<_ACEOF
21604 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21605 _ACEOF
21606
21607
21608 { echo "$as_me:$LINENO: checking for int" >&5
21609 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21610 if test "${ac_cv_type_int+set}" = set; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21612 else
21613 cat >conftest.$ac_ext <<_ACEOF
21614 /* confdefs.h. */
21615 _ACEOF
21616 cat confdefs.h >>conftest.$ac_ext
21617 cat >>conftest.$ac_ext <<_ACEOF
21618 /* end confdefs.h. */
21619 $ac_includes_default
21620 typedef int ac__type_new_;
21621 int
21622 main ()
21623 {
21624 if ((ac__type_new_ *) 0)
21625 return 0;
21626 if (sizeof (ac__type_new_))
21627 return 0;
21628 ;
21629 return 0;
21630 }
21631 _ACEOF
21632 rm -f conftest.$ac_objext
21633 if { (ac_try="$ac_compile"
21634 case "(($ac_try" in
21635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21636 *) ac_try_echo=$ac_try;;
21637 esac
21638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21639 (eval "$ac_compile") 2>conftest.er1
21640 ac_status=$?
21641 grep -v '^ *+' conftest.er1 >conftest.err
21642 rm -f conftest.er1
21643 cat conftest.err >&5
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); } && {
21646 test -z "$ac_c_werror_flag" ||
21647 test ! -s conftest.err
21648 } && test -s conftest.$ac_objext; then
21649 ac_cv_type_int=yes
21650 else
21651 echo "$as_me: failed program was:" >&5
21652 sed 's/^/| /' conftest.$ac_ext >&5
21653
21654 ac_cv_type_int=no
21655 fi
21656
21657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21658 fi
21659 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21660 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21661
21662 # The cast to long int works around a bug in the HP C Compiler
21663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21665 # This bug is HP SR number 8606223364.
21666 { echo "$as_me:$LINENO: checking size of int" >&5
21667 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21668 if test "${ac_cv_sizeof_int+set}" = set; then
21669 echo $ECHO_N "(cached) $ECHO_C" >&6
21670 else
21671 if test "$cross_compiling" = yes; then
21672 # Depending upon the size, compute the lo and hi bounds.
21673 cat >conftest.$ac_ext <<_ACEOF
21674 /* confdefs.h. */
21675 _ACEOF
21676 cat confdefs.h >>conftest.$ac_ext
21677 cat >>conftest.$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21679 $ac_includes_default
21680 typedef int ac__type_sizeof_;
21681 int
21682 main ()
21683 {
21684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21685 test_array [0] = 0
21686
21687 ;
21688 return 0;
21689 }
21690 _ACEOF
21691 rm -f conftest.$ac_objext
21692 if { (ac_try="$ac_compile"
21693 case "(($ac_try" in
21694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21695 *) ac_try_echo=$ac_try;;
21696 esac
21697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21698 (eval "$ac_compile") 2>conftest.er1
21699 ac_status=$?
21700 grep -v '^ *+' conftest.er1 >conftest.err
21701 rm -f conftest.er1
21702 cat conftest.err >&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && {
21705 test -z "$ac_c_werror_flag" ||
21706 test ! -s conftest.err
21707 } && test -s conftest.$ac_objext; then
21708 ac_lo=0 ac_mid=0
21709 while :; do
21710 cat >conftest.$ac_ext <<_ACEOF
21711 /* confdefs.h. */
21712 _ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21717 typedef int ac__type_sizeof_;
21718 int
21719 main ()
21720 {
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21722 test_array [0] = 0
21723
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 rm -f conftest.$ac_objext
21729 if { (ac_try="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21732 *) ac_try_echo=$ac_try;;
21733 esac
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21736 ac_status=$?
21737 grep -v '^ *+' conftest.er1 >conftest.err
21738 rm -f conftest.er1
21739 cat conftest.err >&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.$ac_objext; then
21745 ac_hi=$ac_mid; break
21746 else
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.$ac_ext >&5
21749
21750 ac_lo=`expr $ac_mid + 1`
21751 if test $ac_lo -le $ac_mid; then
21752 ac_lo= ac_hi=
21753 break
21754 fi
21755 ac_mid=`expr 2 '*' $ac_mid + 1`
21756 fi
21757
21758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21759 done
21760 else
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21763
21764 cat >conftest.$ac_ext <<_ACEOF
21765 /* confdefs.h. */
21766 _ACEOF
21767 cat confdefs.h >>conftest.$ac_ext
21768 cat >>conftest.$ac_ext <<_ACEOF
21769 /* end confdefs.h. */
21770 $ac_includes_default
21771 typedef int ac__type_sizeof_;
21772 int
21773 main ()
21774 {
21775 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21776 test_array [0] = 0
21777
21778 ;
21779 return 0;
21780 }
21781 _ACEOF
21782 rm -f conftest.$ac_objext
21783 if { (ac_try="$ac_compile"
21784 case "(($ac_try" in
21785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21786 *) ac_try_echo=$ac_try;;
21787 esac
21788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21789 (eval "$ac_compile") 2>conftest.er1
21790 ac_status=$?
21791 grep -v '^ *+' conftest.er1 >conftest.err
21792 rm -f conftest.er1
21793 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } && {
21796 test -z "$ac_c_werror_flag" ||
21797 test ! -s conftest.err
21798 } && test -s conftest.$ac_objext; then
21799 ac_hi=-1 ac_mid=-1
21800 while :; do
21801 cat >conftest.$ac_ext <<_ACEOF
21802 /* confdefs.h. */
21803 _ACEOF
21804 cat confdefs.h >>conftest.$ac_ext
21805 cat >>conftest.$ac_ext <<_ACEOF
21806 /* end confdefs.h. */
21807 $ac_includes_default
21808 typedef int ac__type_sizeof_;
21809 int
21810 main ()
21811 {
21812 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21813 test_array [0] = 0
21814
21815 ;
21816 return 0;
21817 }
21818 _ACEOF
21819 rm -f conftest.$ac_objext
21820 if { (ac_try="$ac_compile"
21821 case "(($ac_try" in
21822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21823 *) ac_try_echo=$ac_try;;
21824 esac
21825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21826 (eval "$ac_compile") 2>conftest.er1
21827 ac_status=$?
21828 grep -v '^ *+' conftest.er1 >conftest.err
21829 rm -f conftest.er1
21830 cat conftest.err >&5
21831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21832 (exit $ac_status); } && {
21833 test -z "$ac_c_werror_flag" ||
21834 test ! -s conftest.err
21835 } && test -s conftest.$ac_objext; then
21836 ac_lo=$ac_mid; break
21837 else
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.$ac_ext >&5
21840
21841 ac_hi=`expr '(' $ac_mid ')' - 1`
21842 if test $ac_mid -le $ac_hi; then
21843 ac_lo= ac_hi=
21844 break
21845 fi
21846 ac_mid=`expr 2 '*' $ac_mid`
21847 fi
21848
21849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21850 done
21851 else
21852 echo "$as_me: failed program was:" >&5
21853 sed 's/^/| /' conftest.$ac_ext >&5
21854
21855 ac_lo= ac_hi=
21856 fi
21857
21858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21859 fi
21860
21861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21862 # Binary search between lo and hi bounds.
21863 while test "x$ac_lo" != "x$ac_hi"; do
21864 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21865 cat >conftest.$ac_ext <<_ACEOF
21866 /* confdefs.h. */
21867 _ACEOF
21868 cat confdefs.h >>conftest.$ac_ext
21869 cat >>conftest.$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21871 $ac_includes_default
21872 typedef int ac__type_sizeof_;
21873 int
21874 main ()
21875 {
21876 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21877 test_array [0] = 0
21878
21879 ;
21880 return 0;
21881 }
21882 _ACEOF
21883 rm -f conftest.$ac_objext
21884 if { (ac_try="$ac_compile"
21885 case "(($ac_try" in
21886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21887 *) ac_try_echo=$ac_try;;
21888 esac
21889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21890 (eval "$ac_compile") 2>conftest.er1
21891 ac_status=$?
21892 grep -v '^ *+' conftest.er1 >conftest.err
21893 rm -f conftest.er1
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } && {
21897 test -z "$ac_c_werror_flag" ||
21898 test ! -s conftest.err
21899 } && test -s conftest.$ac_objext; then
21900 ac_hi=$ac_mid
21901 else
21902 echo "$as_me: failed program was:" >&5
21903 sed 's/^/| /' conftest.$ac_ext >&5
21904
21905 ac_lo=`expr '(' $ac_mid ')' + 1`
21906 fi
21907
21908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21909 done
21910 case $ac_lo in
21911 ?*) ac_cv_sizeof_int=$ac_lo;;
21912 '') if test "$ac_cv_type_int" = yes; then
21913 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21914 See \`config.log' for more details." >&5
21915 echo "$as_me: error: cannot compute sizeof (int)
21916 See \`config.log' for more details." >&2;}
21917 { (exit 77); exit 77; }; }
21918 else
21919 ac_cv_sizeof_int=0
21920 fi ;;
21921 esac
21922 else
21923 cat >conftest.$ac_ext <<_ACEOF
21924 /* confdefs.h. */
21925 _ACEOF
21926 cat confdefs.h >>conftest.$ac_ext
21927 cat >>conftest.$ac_ext <<_ACEOF
21928 /* end confdefs.h. */
21929 $ac_includes_default
21930 typedef int ac__type_sizeof_;
21931 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21932 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21933 #include <stdio.h>
21934 #include <stdlib.h>
21935 int
21936 main ()
21937 {
21938
21939 FILE *f = fopen ("conftest.val", "w");
21940 if (! f)
21941 return 1;
21942 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21943 {
21944 long int i = longval ();
21945 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21946 return 1;
21947 fprintf (f, "%ld\n", i);
21948 }
21949 else
21950 {
21951 unsigned long int i = ulongval ();
21952 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21953 return 1;
21954 fprintf (f, "%lu\n", i);
21955 }
21956 return ferror (f) || fclose (f) != 0;
21957
21958 ;
21959 return 0;
21960 }
21961 _ACEOF
21962 rm -f conftest$ac_exeext
21963 if { (ac_try="$ac_link"
21964 case "(($ac_try" in
21965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21966 *) ac_try_echo=$ac_try;;
21967 esac
21968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21969 (eval "$ac_link") 2>&5
21970 ac_status=$?
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21973 { (case "(($ac_try" in
21974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21975 *) ac_try_echo=$ac_try;;
21976 esac
21977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21978 (eval "$ac_try") 2>&5
21979 ac_status=$?
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; }; then
21982 ac_cv_sizeof_int=`cat conftest.val`
21983 else
21984 echo "$as_me: program exited with status $ac_status" >&5
21985 echo "$as_me: failed program was:" >&5
21986 sed 's/^/| /' conftest.$ac_ext >&5
21987
21988 ( exit $ac_status )
21989 if test "$ac_cv_type_int" = yes; then
21990 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21991 See \`config.log' for more details." >&5
21992 echo "$as_me: error: cannot compute sizeof (int)
21993 See \`config.log' for more details." >&2;}
21994 { (exit 77); exit 77; }; }
21995 else
21996 ac_cv_sizeof_int=0
21997 fi
21998 fi
21999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22000 fi
22001 rm -f conftest.val
22002 fi
22003 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22004 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22005
22006
22007
22008 cat >>confdefs.h <<_ACEOF
22009 #define SIZEOF_INT $ac_cv_sizeof_int
22010 _ACEOF
22011
22012
22013 { echo "$as_me:$LINENO: checking for long" >&5
22014 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22015 if test "${ac_cv_type_long+set}" = set; then
22016 echo $ECHO_N "(cached) $ECHO_C" >&6
22017 else
22018 cat >conftest.$ac_ext <<_ACEOF
22019 /* confdefs.h. */
22020 _ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 $ac_includes_default
22025 typedef long ac__type_new_;
22026 int
22027 main ()
22028 {
22029 if ((ac__type_new_ *) 0)
22030 return 0;
22031 if (sizeof (ac__type_new_))
22032 return 0;
22033 ;
22034 return 0;
22035 }
22036 _ACEOF
22037 rm -f conftest.$ac_objext
22038 if { (ac_try="$ac_compile"
22039 case "(($ac_try" in
22040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22041 *) ac_try_echo=$ac_try;;
22042 esac
22043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22044 (eval "$ac_compile") 2>conftest.er1
22045 ac_status=$?
22046 grep -v '^ *+' conftest.er1 >conftest.err
22047 rm -f conftest.er1
22048 cat conftest.err >&5
22049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050 (exit $ac_status); } && {
22051 test -z "$ac_c_werror_flag" ||
22052 test ! -s conftest.err
22053 } && test -s conftest.$ac_objext; then
22054 ac_cv_type_long=yes
22055 else
22056 echo "$as_me: failed program was:" >&5
22057 sed 's/^/| /' conftest.$ac_ext >&5
22058
22059 ac_cv_type_long=no
22060 fi
22061
22062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22063 fi
22064 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22065 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22066
22067 # The cast to long int works around a bug in the HP C Compiler
22068 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22069 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22070 # This bug is HP SR number 8606223364.
22071 { echo "$as_me:$LINENO: checking size of long" >&5
22072 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22073 if test "${ac_cv_sizeof_long+set}" = set; then
22074 echo $ECHO_N "(cached) $ECHO_C" >&6
22075 else
22076 if test "$cross_compiling" = yes; then
22077 # Depending upon the size, compute the lo and hi bounds.
22078 cat >conftest.$ac_ext <<_ACEOF
22079 /* confdefs.h. */
22080 _ACEOF
22081 cat confdefs.h >>conftest.$ac_ext
22082 cat >>conftest.$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 $ac_includes_default
22085 typedef long ac__type_sizeof_;
22086 int
22087 main ()
22088 {
22089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22090 test_array [0] = 0
22091
22092 ;
22093 return 0;
22094 }
22095 _ACEOF
22096 rm -f conftest.$ac_objext
22097 if { (ac_try="$ac_compile"
22098 case "(($ac_try" in
22099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22101 esac
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_compile") 2>conftest.er1
22104 ac_status=$?
22105 grep -v '^ *+' conftest.er1 >conftest.err
22106 rm -f conftest.er1
22107 cat conftest.err >&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } && {
22110 test -z "$ac_c_werror_flag" ||
22111 test ! -s conftest.err
22112 } && test -s conftest.$ac_objext; then
22113 ac_lo=0 ac_mid=0
22114 while :; do
22115 cat >conftest.$ac_ext <<_ACEOF
22116 /* confdefs.h. */
22117 _ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef long ac__type_sizeof_;
22123 int
22124 main ()
22125 {
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22127 test_array [0] = 0
22128
22129 ;
22130 return 0;
22131 }
22132 _ACEOF
22133 rm -f conftest.$ac_objext
22134 if { (ac_try="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22137 *) ac_try_echo=$ac_try;;
22138 esac
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22141 ac_status=$?
22142 grep -v '^ *+' conftest.er1 >conftest.err
22143 rm -f conftest.er1
22144 cat conftest.err >&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.$ac_objext; then
22150 ac_hi=$ac_mid; break
22151 else
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.$ac_ext >&5
22154
22155 ac_lo=`expr $ac_mid + 1`
22156 if test $ac_lo -le $ac_mid; then
22157 ac_lo= ac_hi=
22158 break
22159 fi
22160 ac_mid=`expr 2 '*' $ac_mid + 1`
22161 fi
22162
22163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 done
22165 else
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22168
22169 cat >conftest.$ac_ext <<_ACEOF
22170 /* confdefs.h. */
22171 _ACEOF
22172 cat confdefs.h >>conftest.$ac_ext
22173 cat >>conftest.$ac_ext <<_ACEOF
22174 /* end confdefs.h. */
22175 $ac_includes_default
22176 typedef long ac__type_sizeof_;
22177 int
22178 main ()
22179 {
22180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22181 test_array [0] = 0
22182
22183 ;
22184 return 0;
22185 }
22186 _ACEOF
22187 rm -f conftest.$ac_objext
22188 if { (ac_try="$ac_compile"
22189 case "(($ac_try" in
22190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22191 *) ac_try_echo=$ac_try;;
22192 esac
22193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22194 (eval "$ac_compile") 2>conftest.er1
22195 ac_status=$?
22196 grep -v '^ *+' conftest.er1 >conftest.err
22197 rm -f conftest.er1
22198 cat conftest.err >&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); } && {
22201 test -z "$ac_c_werror_flag" ||
22202 test ! -s conftest.err
22203 } && test -s conftest.$ac_objext; then
22204 ac_hi=-1 ac_mid=-1
22205 while :; do
22206 cat >conftest.$ac_ext <<_ACEOF
22207 /* confdefs.h. */
22208 _ACEOF
22209 cat confdefs.h >>conftest.$ac_ext
22210 cat >>conftest.$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212 $ac_includes_default
22213 typedef long ac__type_sizeof_;
22214 int
22215 main ()
22216 {
22217 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22218 test_array [0] = 0
22219
22220 ;
22221 return 0;
22222 }
22223 _ACEOF
22224 rm -f conftest.$ac_objext
22225 if { (ac_try="$ac_compile"
22226 case "(($ac_try" in
22227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22228 *) ac_try_echo=$ac_try;;
22229 esac
22230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22231 (eval "$ac_compile") 2>conftest.er1
22232 ac_status=$?
22233 grep -v '^ *+' conftest.er1 >conftest.err
22234 rm -f conftest.er1
22235 cat conftest.err >&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } && {
22238 test -z "$ac_c_werror_flag" ||
22239 test ! -s conftest.err
22240 } && test -s conftest.$ac_objext; then
22241 ac_lo=$ac_mid; break
22242 else
22243 echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22245
22246 ac_hi=`expr '(' $ac_mid ')' - 1`
22247 if test $ac_mid -le $ac_hi; then
22248 ac_lo= ac_hi=
22249 break
22250 fi
22251 ac_mid=`expr 2 '*' $ac_mid`
22252 fi
22253
22254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22255 done
22256 else
22257 echo "$as_me: failed program was:" >&5
22258 sed 's/^/| /' conftest.$ac_ext >&5
22259
22260 ac_lo= ac_hi=
22261 fi
22262
22263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22264 fi
22265
22266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22267 # Binary search between lo and hi bounds.
22268 while test "x$ac_lo" != "x$ac_hi"; do
22269 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22270 cat >conftest.$ac_ext <<_ACEOF
22271 /* confdefs.h. */
22272 _ACEOF
22273 cat confdefs.h >>conftest.$ac_ext
22274 cat >>conftest.$ac_ext <<_ACEOF
22275 /* end confdefs.h. */
22276 $ac_includes_default
22277 typedef long ac__type_sizeof_;
22278 int
22279 main ()
22280 {
22281 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22282 test_array [0] = 0
22283
22284 ;
22285 return 0;
22286 }
22287 _ACEOF
22288 rm -f conftest.$ac_objext
22289 if { (ac_try="$ac_compile"
22290 case "(($ac_try" in
22291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22292 *) ac_try_echo=$ac_try;;
22293 esac
22294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22295 (eval "$ac_compile") 2>conftest.er1
22296 ac_status=$?
22297 grep -v '^ *+' conftest.er1 >conftest.err
22298 rm -f conftest.er1
22299 cat conftest.err >&5
22300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22301 (exit $ac_status); } && {
22302 test -z "$ac_c_werror_flag" ||
22303 test ! -s conftest.err
22304 } && test -s conftest.$ac_objext; then
22305 ac_hi=$ac_mid
22306 else
22307 echo "$as_me: failed program was:" >&5
22308 sed 's/^/| /' conftest.$ac_ext >&5
22309
22310 ac_lo=`expr '(' $ac_mid ')' + 1`
22311 fi
22312
22313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22314 done
22315 case $ac_lo in
22316 ?*) ac_cv_sizeof_long=$ac_lo;;
22317 '') if test "$ac_cv_type_long" = yes; then
22318 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22319 See \`config.log' for more details." >&5
22320 echo "$as_me: error: cannot compute sizeof (long)
22321 See \`config.log' for more details." >&2;}
22322 { (exit 77); exit 77; }; }
22323 else
22324 ac_cv_sizeof_long=0
22325 fi ;;
22326 esac
22327 else
22328 cat >conftest.$ac_ext <<_ACEOF
22329 /* confdefs.h. */
22330 _ACEOF
22331 cat confdefs.h >>conftest.$ac_ext
22332 cat >>conftest.$ac_ext <<_ACEOF
22333 /* end confdefs.h. */
22334 $ac_includes_default
22335 typedef long ac__type_sizeof_;
22336 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22337 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22338 #include <stdio.h>
22339 #include <stdlib.h>
22340 int
22341 main ()
22342 {
22343
22344 FILE *f = fopen ("conftest.val", "w");
22345 if (! f)
22346 return 1;
22347 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22348 {
22349 long int i = longval ();
22350 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22351 return 1;
22352 fprintf (f, "%ld\n", i);
22353 }
22354 else
22355 {
22356 unsigned long int i = ulongval ();
22357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22358 return 1;
22359 fprintf (f, "%lu\n", i);
22360 }
22361 return ferror (f) || fclose (f) != 0;
22362
22363 ;
22364 return 0;
22365 }
22366 _ACEOF
22367 rm -f conftest$ac_exeext
22368 if { (ac_try="$ac_link"
22369 case "(($ac_try" in
22370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22371 *) ac_try_echo=$ac_try;;
22372 esac
22373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22374 (eval "$ac_link") 2>&5
22375 ac_status=$?
22376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22377 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22378 { (case "(($ac_try" in
22379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22380 *) ac_try_echo=$ac_try;;
22381 esac
22382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22383 (eval "$ac_try") 2>&5
22384 ac_status=$?
22385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22386 (exit $ac_status); }; }; then
22387 ac_cv_sizeof_long=`cat conftest.val`
22388 else
22389 echo "$as_me: program exited with status $ac_status" >&5
22390 echo "$as_me: failed program was:" >&5
22391 sed 's/^/| /' conftest.$ac_ext >&5
22392
22393 ( exit $ac_status )
22394 if test "$ac_cv_type_long" = yes; then
22395 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22396 See \`config.log' for more details." >&5
22397 echo "$as_me: error: cannot compute sizeof (long)
22398 See \`config.log' for more details." >&2;}
22399 { (exit 77); exit 77; }; }
22400 else
22401 ac_cv_sizeof_long=0
22402 fi
22403 fi
22404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22405 fi
22406 rm -f conftest.val
22407 fi
22408 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22409 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22410
22411
22412
22413 cat >>confdefs.h <<_ACEOF
22414 #define SIZEOF_LONG $ac_cv_sizeof_long
22415 _ACEOF
22416
22417
22418 { echo "$as_me:$LINENO: checking for size_t" >&5
22419 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22420 if test "${ac_cv_type_size_t+set}" = set; then
22421 echo $ECHO_N "(cached) $ECHO_C" >&6
22422 else
22423 cat >conftest.$ac_ext <<_ACEOF
22424 /* confdefs.h. */
22425 _ACEOF
22426 cat confdefs.h >>conftest.$ac_ext
22427 cat >>conftest.$ac_ext <<_ACEOF
22428 /* end confdefs.h. */
22429 $ac_includes_default
22430 typedef size_t ac__type_new_;
22431 int
22432 main ()
22433 {
22434 if ((ac__type_new_ *) 0)
22435 return 0;
22436 if (sizeof (ac__type_new_))
22437 return 0;
22438 ;
22439 return 0;
22440 }
22441 _ACEOF
22442 rm -f conftest.$ac_objext
22443 if { (ac_try="$ac_compile"
22444 case "(($ac_try" in
22445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22446 *) ac_try_echo=$ac_try;;
22447 esac
22448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22449 (eval "$ac_compile") 2>conftest.er1
22450 ac_status=$?
22451 grep -v '^ *+' conftest.er1 >conftest.err
22452 rm -f conftest.er1
22453 cat conftest.err >&5
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); } && {
22456 test -z "$ac_c_werror_flag" ||
22457 test ! -s conftest.err
22458 } && test -s conftest.$ac_objext; then
22459 ac_cv_type_size_t=yes
22460 else
22461 echo "$as_me: failed program was:" >&5
22462 sed 's/^/| /' conftest.$ac_ext >&5
22463
22464 ac_cv_type_size_t=no
22465 fi
22466
22467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22468 fi
22469 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22470 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22471
22472 # The cast to long int works around a bug in the HP C Compiler
22473 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22474 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22475 # This bug is HP SR number 8606223364.
22476 { echo "$as_me:$LINENO: checking size of size_t" >&5
22477 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22478 if test "${ac_cv_sizeof_size_t+set}" = set; then
22479 echo $ECHO_N "(cached) $ECHO_C" >&6
22480 else
22481 if test "$cross_compiling" = yes; then
22482 # Depending upon the size, compute the lo and hi bounds.
22483 cat >conftest.$ac_ext <<_ACEOF
22484 /* confdefs.h. */
22485 _ACEOF
22486 cat confdefs.h >>conftest.$ac_ext
22487 cat >>conftest.$ac_ext <<_ACEOF
22488 /* end confdefs.h. */
22489 $ac_includes_default
22490 typedef size_t ac__type_sizeof_;
22491 int
22492 main ()
22493 {
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22495 test_array [0] = 0
22496
22497 ;
22498 return 0;
22499 }
22500 _ACEOF
22501 rm -f conftest.$ac_objext
22502 if { (ac_try="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22506 esac
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22509 ac_status=$?
22510 grep -v '^ *+' conftest.er1 >conftest.err
22511 rm -f conftest.er1
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22518 ac_lo=0 ac_mid=0
22519 while :; do
22520 cat >conftest.$ac_ext <<_ACEOF
22521 /* confdefs.h. */
22522 _ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 $ac_includes_default
22527 typedef size_t ac__type_sizeof_;
22528 int
22529 main ()
22530 {
22531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22532 test_array [0] = 0
22533
22534 ;
22535 return 0;
22536 }
22537 _ACEOF
22538 rm -f conftest.$ac_objext
22539 if { (ac_try="$ac_compile"
22540 case "(($ac_try" in
22541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22542 *) ac_try_echo=$ac_try;;
22543 esac
22544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22545 (eval "$ac_compile") 2>conftest.er1
22546 ac_status=$?
22547 grep -v '^ *+' conftest.er1 >conftest.err
22548 rm -f conftest.er1
22549 cat conftest.err >&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } && {
22552 test -z "$ac_c_werror_flag" ||
22553 test ! -s conftest.err
22554 } && test -s conftest.$ac_objext; then
22555 ac_hi=$ac_mid; break
22556 else
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.$ac_ext >&5
22559
22560 ac_lo=`expr $ac_mid + 1`
22561 if test $ac_lo -le $ac_mid; then
22562 ac_lo= ac_hi=
22563 break
22564 fi
22565 ac_mid=`expr 2 '*' $ac_mid + 1`
22566 fi
22567
22568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 done
22570 else
22571 echo "$as_me: failed program was:" >&5
22572 sed 's/^/| /' conftest.$ac_ext >&5
22573
22574 cat >conftest.$ac_ext <<_ACEOF
22575 /* confdefs.h. */
22576 _ACEOF
22577 cat confdefs.h >>conftest.$ac_ext
22578 cat >>conftest.$ac_ext <<_ACEOF
22579 /* end confdefs.h. */
22580 $ac_includes_default
22581 typedef size_t ac__type_sizeof_;
22582 int
22583 main ()
22584 {
22585 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22586 test_array [0] = 0
22587
22588 ;
22589 return 0;
22590 }
22591 _ACEOF
22592 rm -f conftest.$ac_objext
22593 if { (ac_try="$ac_compile"
22594 case "(($ac_try" in
22595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22596 *) ac_try_echo=$ac_try;;
22597 esac
22598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22599 (eval "$ac_compile") 2>conftest.er1
22600 ac_status=$?
22601 grep -v '^ *+' conftest.er1 >conftest.err
22602 rm -f conftest.er1
22603 cat conftest.err >&5
22604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22605 (exit $ac_status); } && {
22606 test -z "$ac_c_werror_flag" ||
22607 test ! -s conftest.err
22608 } && test -s conftest.$ac_objext; then
22609 ac_hi=-1 ac_mid=-1
22610 while :; do
22611 cat >conftest.$ac_ext <<_ACEOF
22612 /* confdefs.h. */
22613 _ACEOF
22614 cat confdefs.h >>conftest.$ac_ext
22615 cat >>conftest.$ac_ext <<_ACEOF
22616 /* end confdefs.h. */
22617 $ac_includes_default
22618 typedef size_t ac__type_sizeof_;
22619 int
22620 main ()
22621 {
22622 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22623 test_array [0] = 0
22624
22625 ;
22626 return 0;
22627 }
22628 _ACEOF
22629 rm -f conftest.$ac_objext
22630 if { (ac_try="$ac_compile"
22631 case "(($ac_try" in
22632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22633 *) ac_try_echo=$ac_try;;
22634 esac
22635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22636 (eval "$ac_compile") 2>conftest.er1
22637 ac_status=$?
22638 grep -v '^ *+' conftest.er1 >conftest.err
22639 rm -f conftest.er1
22640 cat conftest.err >&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } && {
22643 test -z "$ac_c_werror_flag" ||
22644 test ! -s conftest.err
22645 } && test -s conftest.$ac_objext; then
22646 ac_lo=$ac_mid; break
22647 else
22648 echo "$as_me: failed program was:" >&5
22649 sed 's/^/| /' conftest.$ac_ext >&5
22650
22651 ac_hi=`expr '(' $ac_mid ')' - 1`
22652 if test $ac_mid -le $ac_hi; then
22653 ac_lo= ac_hi=
22654 break
22655 fi
22656 ac_mid=`expr 2 '*' $ac_mid`
22657 fi
22658
22659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22660 done
22661 else
22662 echo "$as_me: failed program was:" >&5
22663 sed 's/^/| /' conftest.$ac_ext >&5
22664
22665 ac_lo= ac_hi=
22666 fi
22667
22668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22669 fi
22670
22671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22672 # Binary search between lo and hi bounds.
22673 while test "x$ac_lo" != "x$ac_hi"; do
22674 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22675 cat >conftest.$ac_ext <<_ACEOF
22676 /* confdefs.h. */
22677 _ACEOF
22678 cat confdefs.h >>conftest.$ac_ext
22679 cat >>conftest.$ac_ext <<_ACEOF
22680 /* end confdefs.h. */
22681 $ac_includes_default
22682 typedef size_t ac__type_sizeof_;
22683 int
22684 main ()
22685 {
22686 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22687 test_array [0] = 0
22688
22689 ;
22690 return 0;
22691 }
22692 _ACEOF
22693 rm -f conftest.$ac_objext
22694 if { (ac_try="$ac_compile"
22695 case "(($ac_try" in
22696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22697 *) ac_try_echo=$ac_try;;
22698 esac
22699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22700 (eval "$ac_compile") 2>conftest.er1
22701 ac_status=$?
22702 grep -v '^ *+' conftest.er1 >conftest.err
22703 rm -f conftest.er1
22704 cat conftest.err >&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } && {
22707 test -z "$ac_c_werror_flag" ||
22708 test ! -s conftest.err
22709 } && test -s conftest.$ac_objext; then
22710 ac_hi=$ac_mid
22711 else
22712 echo "$as_me: failed program was:" >&5
22713 sed 's/^/| /' conftest.$ac_ext >&5
22714
22715 ac_lo=`expr '(' $ac_mid ')' + 1`
22716 fi
22717
22718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22719 done
22720 case $ac_lo in
22721 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22722 '') if test "$ac_cv_type_size_t" = yes; then
22723 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22724 See \`config.log' for more details." >&5
22725 echo "$as_me: error: cannot compute sizeof (size_t)
22726 See \`config.log' for more details." >&2;}
22727 { (exit 77); exit 77; }; }
22728 else
22729 ac_cv_sizeof_size_t=0
22730 fi ;;
22731 esac
22732 else
22733 cat >conftest.$ac_ext <<_ACEOF
22734 /* confdefs.h. */
22735 _ACEOF
22736 cat confdefs.h >>conftest.$ac_ext
22737 cat >>conftest.$ac_ext <<_ACEOF
22738 /* end confdefs.h. */
22739 $ac_includes_default
22740 typedef size_t ac__type_sizeof_;
22741 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22742 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22743 #include <stdio.h>
22744 #include <stdlib.h>
22745 int
22746 main ()
22747 {
22748
22749 FILE *f = fopen ("conftest.val", "w");
22750 if (! f)
22751 return 1;
22752 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22753 {
22754 long int i = longval ();
22755 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22756 return 1;
22757 fprintf (f, "%ld\n", i);
22758 }
22759 else
22760 {
22761 unsigned long int i = ulongval ();
22762 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22763 return 1;
22764 fprintf (f, "%lu\n", i);
22765 }
22766 return ferror (f) || fclose (f) != 0;
22767
22768 ;
22769 return 0;
22770 }
22771 _ACEOF
22772 rm -f conftest$ac_exeext
22773 if { (ac_try="$ac_link"
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_link") 2>&5
22780 ac_status=$?
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22783 { (case "(($ac_try" in
22784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22785 *) ac_try_echo=$ac_try;;
22786 esac
22787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22788 (eval "$ac_try") 2>&5
22789 ac_status=$?
22790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22791 (exit $ac_status); }; }; then
22792 ac_cv_sizeof_size_t=`cat conftest.val`
22793 else
22794 echo "$as_me: program exited with status $ac_status" >&5
22795 echo "$as_me: failed program was:" >&5
22796 sed 's/^/| /' conftest.$ac_ext >&5
22797
22798 ( exit $ac_status )
22799 if test "$ac_cv_type_size_t" = yes; then
22800 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22801 See \`config.log' for more details." >&5
22802 echo "$as_me: error: cannot compute sizeof (size_t)
22803 See \`config.log' for more details." >&2;}
22804 { (exit 77); exit 77; }; }
22805 else
22806 ac_cv_sizeof_size_t=0
22807 fi
22808 fi
22809 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22810 fi
22811 rm -f conftest.val
22812 fi
22813 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22814 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22815
22816
22817
22818 cat >>confdefs.h <<_ACEOF
22819 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22820 _ACEOF
22821
22822
22823
22824 case "${host}" in
22825 arm-*-linux* )
22826 { echo "$as_me:$LINENO: checking for long long" >&5
22827 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22828 if test "${ac_cv_type_long_long+set}" = set; then
22829 echo $ECHO_N "(cached) $ECHO_C" >&6
22830 else
22831 cat >conftest.$ac_ext <<_ACEOF
22832 /* confdefs.h. */
22833 _ACEOF
22834 cat confdefs.h >>conftest.$ac_ext
22835 cat >>conftest.$ac_ext <<_ACEOF
22836 /* end confdefs.h. */
22837 $ac_includes_default
22838 typedef long long ac__type_new_;
22839 int
22840 main ()
22841 {
22842 if ((ac__type_new_ *) 0)
22843 return 0;
22844 if (sizeof (ac__type_new_))
22845 return 0;
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 rm -f conftest.$ac_objext
22851 if { (ac_try="$ac_compile"
22852 case "(($ac_try" in
22853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22854 *) ac_try_echo=$ac_try;;
22855 esac
22856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22857 (eval "$ac_compile") 2>conftest.er1
22858 ac_status=$?
22859 grep -v '^ *+' conftest.er1 >conftest.err
22860 rm -f conftest.er1
22861 cat conftest.err >&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); } && {
22864 test -z "$ac_c_werror_flag" ||
22865 test ! -s conftest.err
22866 } && test -s conftest.$ac_objext; then
22867 ac_cv_type_long_long=yes
22868 else
22869 echo "$as_me: failed program was:" >&5
22870 sed 's/^/| /' conftest.$ac_ext >&5
22871
22872 ac_cv_type_long_long=no
22873 fi
22874
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22876 fi
22877 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22878 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22879
22880 # The cast to long int works around a bug in the HP C Compiler
22881 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22882 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22883 # This bug is HP SR number 8606223364.
22884 { echo "$as_me:$LINENO: checking size of long long" >&5
22885 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22886 if test "${ac_cv_sizeof_long_long+set}" = set; then
22887 echo $ECHO_N "(cached) $ECHO_C" >&6
22888 else
22889 if test "$cross_compiling" = yes; then
22890 # Depending upon the size, compute the lo and hi bounds.
22891 cat >conftest.$ac_ext <<_ACEOF
22892 /* confdefs.h. */
22893 _ACEOF
22894 cat confdefs.h >>conftest.$ac_ext
22895 cat >>conftest.$ac_ext <<_ACEOF
22896 /* end confdefs.h. */
22897 $ac_includes_default
22898 typedef long long ac__type_sizeof_;
22899 int
22900 main ()
22901 {
22902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22903 test_array [0] = 0
22904
22905 ;
22906 return 0;
22907 }
22908 _ACEOF
22909 rm -f conftest.$ac_objext
22910 if { (ac_try="$ac_compile"
22911 case "(($ac_try" in
22912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22913 *) ac_try_echo=$ac_try;;
22914 esac
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_compile") 2>conftest.er1
22917 ac_status=$?
22918 grep -v '^ *+' conftest.er1 >conftest.err
22919 rm -f conftest.er1
22920 cat conftest.err >&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } && {
22923 test -z "$ac_c_werror_flag" ||
22924 test ! -s conftest.err
22925 } && test -s conftest.$ac_objext; then
22926 ac_lo=0 ac_mid=0
22927 while :; do
22928 cat >conftest.$ac_ext <<_ACEOF
22929 /* confdefs.h. */
22930 _ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 $ac_includes_default
22935 typedef long long ac__type_sizeof_;
22936 int
22937 main ()
22938 {
22939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22940 test_array [0] = 0
22941
22942 ;
22943 return 0;
22944 }
22945 _ACEOF
22946 rm -f conftest.$ac_objext
22947 if { (ac_try="$ac_compile"
22948 case "(($ac_try" in
22949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22950 *) ac_try_echo=$ac_try;;
22951 esac
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_compile") 2>conftest.er1
22954 ac_status=$?
22955 grep -v '^ *+' conftest.er1 >conftest.err
22956 rm -f conftest.er1
22957 cat conftest.err >&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && {
22960 test -z "$ac_c_werror_flag" ||
22961 test ! -s conftest.err
22962 } && test -s conftest.$ac_objext; then
22963 ac_hi=$ac_mid; break
22964 else
22965 echo "$as_me: failed program was:" >&5
22966 sed 's/^/| /' conftest.$ac_ext >&5
22967
22968 ac_lo=`expr $ac_mid + 1`
22969 if test $ac_lo -le $ac_mid; then
22970 ac_lo= ac_hi=
22971 break
22972 fi
22973 ac_mid=`expr 2 '*' $ac_mid + 1`
22974 fi
22975
22976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22977 done
22978 else
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.$ac_ext >&5
22981
22982 cat >conftest.$ac_ext <<_ACEOF
22983 /* confdefs.h. */
22984 _ACEOF
22985 cat confdefs.h >>conftest.$ac_ext
22986 cat >>conftest.$ac_ext <<_ACEOF
22987 /* end confdefs.h. */
22988 $ac_includes_default
22989 typedef long long ac__type_sizeof_;
22990 int
22991 main ()
22992 {
22993 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22994 test_array [0] = 0
22995
22996 ;
22997 return 0;
22998 }
22999 _ACEOF
23000 rm -f conftest.$ac_objext
23001 if { (ac_try="$ac_compile"
23002 case "(($ac_try" in
23003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23004 *) ac_try_echo=$ac_try;;
23005 esac
23006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23007 (eval "$ac_compile") 2>conftest.er1
23008 ac_status=$?
23009 grep -v '^ *+' conftest.er1 >conftest.err
23010 rm -f conftest.er1
23011 cat conftest.err >&5
23012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23013 (exit $ac_status); } && {
23014 test -z "$ac_c_werror_flag" ||
23015 test ! -s conftest.err
23016 } && test -s conftest.$ac_objext; then
23017 ac_hi=-1 ac_mid=-1
23018 while :; do
23019 cat >conftest.$ac_ext <<_ACEOF
23020 /* confdefs.h. */
23021 _ACEOF
23022 cat confdefs.h >>conftest.$ac_ext
23023 cat >>conftest.$ac_ext <<_ACEOF
23024 /* end confdefs.h. */
23025 $ac_includes_default
23026 typedef long long ac__type_sizeof_;
23027 int
23028 main ()
23029 {
23030 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23031 test_array [0] = 0
23032
23033 ;
23034 return 0;
23035 }
23036 _ACEOF
23037 rm -f conftest.$ac_objext
23038 if { (ac_try="$ac_compile"
23039 case "(($ac_try" in
23040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23041 *) ac_try_echo=$ac_try;;
23042 esac
23043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23044 (eval "$ac_compile") 2>conftest.er1
23045 ac_status=$?
23046 grep -v '^ *+' conftest.er1 >conftest.err
23047 rm -f conftest.er1
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } && {
23051 test -z "$ac_c_werror_flag" ||
23052 test ! -s conftest.err
23053 } && test -s conftest.$ac_objext; then
23054 ac_lo=$ac_mid; break
23055 else
23056 echo "$as_me: failed program was:" >&5
23057 sed 's/^/| /' conftest.$ac_ext >&5
23058
23059 ac_hi=`expr '(' $ac_mid ')' - 1`
23060 if test $ac_mid -le $ac_hi; then
23061 ac_lo= ac_hi=
23062 break
23063 fi
23064 ac_mid=`expr 2 '*' $ac_mid`
23065 fi
23066
23067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23068 done
23069 else
23070 echo "$as_me: failed program was:" >&5
23071 sed 's/^/| /' conftest.$ac_ext >&5
23072
23073 ac_lo= ac_hi=
23074 fi
23075
23076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23077 fi
23078
23079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23080 # Binary search between lo and hi bounds.
23081 while test "x$ac_lo" != "x$ac_hi"; do
23082 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23083 cat >conftest.$ac_ext <<_ACEOF
23084 /* confdefs.h. */
23085 _ACEOF
23086 cat confdefs.h >>conftest.$ac_ext
23087 cat >>conftest.$ac_ext <<_ACEOF
23088 /* end confdefs.h. */
23089 $ac_includes_default
23090 typedef long long ac__type_sizeof_;
23091 int
23092 main ()
23093 {
23094 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23095 test_array [0] = 0
23096
23097 ;
23098 return 0;
23099 }
23100 _ACEOF
23101 rm -f conftest.$ac_objext
23102 if { (ac_try="$ac_compile"
23103 case "(($ac_try" in
23104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23105 *) ac_try_echo=$ac_try;;
23106 esac
23107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23108 (eval "$ac_compile") 2>conftest.er1
23109 ac_status=$?
23110 grep -v '^ *+' conftest.er1 >conftest.err
23111 rm -f conftest.er1
23112 cat conftest.err >&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); } && {
23115 test -z "$ac_c_werror_flag" ||
23116 test ! -s conftest.err
23117 } && test -s conftest.$ac_objext; then
23118 ac_hi=$ac_mid
23119 else
23120 echo "$as_me: failed program was:" >&5
23121 sed 's/^/| /' conftest.$ac_ext >&5
23122
23123 ac_lo=`expr '(' $ac_mid ')' + 1`
23124 fi
23125
23126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23127 done
23128 case $ac_lo in
23129 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23130 '') if test "$ac_cv_type_long_long" = yes; then
23131 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23132 See \`config.log' for more details." >&5
23133 echo "$as_me: error: cannot compute sizeof (long long)
23134 See \`config.log' for more details." >&2;}
23135 { (exit 77); exit 77; }; }
23136 else
23137 ac_cv_sizeof_long_long=0
23138 fi ;;
23139 esac
23140 else
23141 cat >conftest.$ac_ext <<_ACEOF
23142 /* confdefs.h. */
23143 _ACEOF
23144 cat confdefs.h >>conftest.$ac_ext
23145 cat >>conftest.$ac_ext <<_ACEOF
23146 /* end confdefs.h. */
23147 $ac_includes_default
23148 typedef long long ac__type_sizeof_;
23149 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23150 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23151 #include <stdio.h>
23152 #include <stdlib.h>
23153 int
23154 main ()
23155 {
23156
23157 FILE *f = fopen ("conftest.val", "w");
23158 if (! f)
23159 return 1;
23160 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23161 {
23162 long int i = longval ();
23163 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23164 return 1;
23165 fprintf (f, "%ld\n", i);
23166 }
23167 else
23168 {
23169 unsigned long int i = ulongval ();
23170 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23171 return 1;
23172 fprintf (f, "%lu\n", i);
23173 }
23174 return ferror (f) || fclose (f) != 0;
23175
23176 ;
23177 return 0;
23178 }
23179 _ACEOF
23180 rm -f conftest$ac_exeext
23181 if { (ac_try="$ac_link"
23182 case "(($ac_try" in
23183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23184 *) ac_try_echo=$ac_try;;
23185 esac
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_link") 2>&5
23188 ac_status=$?
23189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23191 { (case "(($ac_try" in
23192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23193 *) ac_try_echo=$ac_try;;
23194 esac
23195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23196 (eval "$ac_try") 2>&5
23197 ac_status=$?
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; }; then
23200 ac_cv_sizeof_long_long=`cat conftest.val`
23201 else
23202 echo "$as_me: program exited with status $ac_status" >&5
23203 echo "$as_me: failed program was:" >&5
23204 sed 's/^/| /' conftest.$ac_ext >&5
23205
23206 ( exit $ac_status )
23207 if test "$ac_cv_type_long_long" = yes; then
23208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23209 See \`config.log' for more details." >&5
23210 echo "$as_me: error: cannot compute sizeof (long long)
23211 See \`config.log' for more details." >&2;}
23212 { (exit 77); exit 77; }; }
23213 else
23214 ac_cv_sizeof_long_long=0
23215 fi
23216 fi
23217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23218 fi
23219 rm -f conftest.val
23220 fi
23221 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23222 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23223
23224
23225
23226 cat >>confdefs.h <<_ACEOF
23227 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23228 _ACEOF
23229
23230
23231 ;;
23232 *-hp-hpux* )
23233 { echo "$as_me:$LINENO: checking for long long" >&5
23234 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23235 if test "${ac_cv_type_long_long+set}" = set; then
23236 echo $ECHO_N "(cached) $ECHO_C" >&6
23237 else
23238 cat >conftest.$ac_ext <<_ACEOF
23239 /* confdefs.h. */
23240 _ACEOF
23241 cat confdefs.h >>conftest.$ac_ext
23242 cat >>conftest.$ac_ext <<_ACEOF
23243 /* end confdefs.h. */
23244 $ac_includes_default
23245 typedef long long ac__type_new_;
23246 int
23247 main ()
23248 {
23249 if ((ac__type_new_ *) 0)
23250 return 0;
23251 if (sizeof (ac__type_new_))
23252 return 0;
23253 ;
23254 return 0;
23255 }
23256 _ACEOF
23257 rm -f conftest.$ac_objext
23258 if { (ac_try="$ac_compile"
23259 case "(($ac_try" in
23260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23261 *) ac_try_echo=$ac_try;;
23262 esac
23263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23264 (eval "$ac_compile") 2>conftest.er1
23265 ac_status=$?
23266 grep -v '^ *+' conftest.er1 >conftest.err
23267 rm -f conftest.er1
23268 cat conftest.err >&5
23269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23270 (exit $ac_status); } && {
23271 test -z "$ac_c_werror_flag" ||
23272 test ! -s conftest.err
23273 } && test -s conftest.$ac_objext; then
23274 ac_cv_type_long_long=yes
23275 else
23276 echo "$as_me: failed program was:" >&5
23277 sed 's/^/| /' conftest.$ac_ext >&5
23278
23279 ac_cv_type_long_long=no
23280 fi
23281
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23283 fi
23284 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23285 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23286
23287 # The cast to long int works around a bug in the HP C Compiler
23288 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23289 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23290 # This bug is HP SR number 8606223364.
23291 { echo "$as_me:$LINENO: checking size of long long" >&5
23292 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23293 if test "${ac_cv_sizeof_long_long+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 else
23296 if test "$cross_compiling" = yes; then
23297 # Depending upon the size, compute the lo and hi bounds.
23298 cat >conftest.$ac_ext <<_ACEOF
23299 /* confdefs.h. */
23300 _ACEOF
23301 cat confdefs.h >>conftest.$ac_ext
23302 cat >>conftest.$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304 $ac_includes_default
23305 typedef long long ac__type_sizeof_;
23306 int
23307 main ()
23308 {
23309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23310 test_array [0] = 0
23311
23312 ;
23313 return 0;
23314 }
23315 _ACEOF
23316 rm -f conftest.$ac_objext
23317 if { (ac_try="$ac_compile"
23318 case "(($ac_try" in
23319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23321 esac
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_compile") 2>conftest.er1
23324 ac_status=$?
23325 grep -v '^ *+' conftest.er1 >conftest.err
23326 rm -f conftest.er1
23327 cat conftest.err >&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } && {
23330 test -z "$ac_c_werror_flag" ||
23331 test ! -s conftest.err
23332 } && test -s conftest.$ac_objext; then
23333 ac_lo=0 ac_mid=0
23334 while :; do
23335 cat >conftest.$ac_ext <<_ACEOF
23336 /* confdefs.h. */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 $ac_includes_default
23342 typedef long long ac__type_sizeof_;
23343 int
23344 main ()
23345 {
23346 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23347 test_array [0] = 0
23348
23349 ;
23350 return 0;
23351 }
23352 _ACEOF
23353 rm -f conftest.$ac_objext
23354 if { (ac_try="$ac_compile"
23355 case "(($ac_try" in
23356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23357 *) ac_try_echo=$ac_try;;
23358 esac
23359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23360 (eval "$ac_compile") 2>conftest.er1
23361 ac_status=$?
23362 grep -v '^ *+' conftest.er1 >conftest.err
23363 rm -f conftest.er1
23364 cat conftest.err >&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } && {
23367 test -z "$ac_c_werror_flag" ||
23368 test ! -s conftest.err
23369 } && test -s conftest.$ac_objext; then
23370 ac_hi=$ac_mid; break
23371 else
23372 echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23374
23375 ac_lo=`expr $ac_mid + 1`
23376 if test $ac_lo -le $ac_mid; then
23377 ac_lo= ac_hi=
23378 break
23379 fi
23380 ac_mid=`expr 2 '*' $ac_mid + 1`
23381 fi
23382
23383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23384 done
23385 else
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.$ac_ext >&5
23388
23389 cat >conftest.$ac_ext <<_ACEOF
23390 /* confdefs.h. */
23391 _ACEOF
23392 cat confdefs.h >>conftest.$ac_ext
23393 cat >>conftest.$ac_ext <<_ACEOF
23394 /* end confdefs.h. */
23395 $ac_includes_default
23396 typedef long long ac__type_sizeof_;
23397 int
23398 main ()
23399 {
23400 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23401 test_array [0] = 0
23402
23403 ;
23404 return 0;
23405 }
23406 _ACEOF
23407 rm -f conftest.$ac_objext
23408 if { (ac_try="$ac_compile"
23409 case "(($ac_try" in
23410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23411 *) ac_try_echo=$ac_try;;
23412 esac
23413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23414 (eval "$ac_compile") 2>conftest.er1
23415 ac_status=$?
23416 grep -v '^ *+' conftest.er1 >conftest.err
23417 rm -f conftest.er1
23418 cat conftest.err >&5
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); } && {
23421 test -z "$ac_c_werror_flag" ||
23422 test ! -s conftest.err
23423 } && test -s conftest.$ac_objext; then
23424 ac_hi=-1 ac_mid=-1
23425 while :; do
23426 cat >conftest.$ac_ext <<_ACEOF
23427 /* confdefs.h. */
23428 _ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432 $ac_includes_default
23433 typedef long long ac__type_sizeof_;
23434 int
23435 main ()
23436 {
23437 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23438 test_array [0] = 0
23439
23440 ;
23441 return 0;
23442 }
23443 _ACEOF
23444 rm -f conftest.$ac_objext
23445 if { (ac_try="$ac_compile"
23446 case "(($ac_try" in
23447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23448 *) ac_try_echo=$ac_try;;
23449 esac
23450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23451 (eval "$ac_compile") 2>conftest.er1
23452 ac_status=$?
23453 grep -v '^ *+' conftest.er1 >conftest.err
23454 rm -f conftest.er1
23455 cat conftest.err >&5
23456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23457 (exit $ac_status); } && {
23458 test -z "$ac_c_werror_flag" ||
23459 test ! -s conftest.err
23460 } && test -s conftest.$ac_objext; then
23461 ac_lo=$ac_mid; break
23462 else
23463 echo "$as_me: failed program was:" >&5
23464 sed 's/^/| /' conftest.$ac_ext >&5
23465
23466 ac_hi=`expr '(' $ac_mid ')' - 1`
23467 if test $ac_mid -le $ac_hi; then
23468 ac_lo= ac_hi=
23469 break
23470 fi
23471 ac_mid=`expr 2 '*' $ac_mid`
23472 fi
23473
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23475 done
23476 else
23477 echo "$as_me: failed program was:" >&5
23478 sed 's/^/| /' conftest.$ac_ext >&5
23479
23480 ac_lo= ac_hi=
23481 fi
23482
23483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23484 fi
23485
23486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23487 # Binary search between lo and hi bounds.
23488 while test "x$ac_lo" != "x$ac_hi"; do
23489 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23490 cat >conftest.$ac_ext <<_ACEOF
23491 /* confdefs.h. */
23492 _ACEOF
23493 cat confdefs.h >>conftest.$ac_ext
23494 cat >>conftest.$ac_ext <<_ACEOF
23495 /* end confdefs.h. */
23496 $ac_includes_default
23497 typedef long long ac__type_sizeof_;
23498 int
23499 main ()
23500 {
23501 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23502 test_array [0] = 0
23503
23504 ;
23505 return 0;
23506 }
23507 _ACEOF
23508 rm -f conftest.$ac_objext
23509 if { (ac_try="$ac_compile"
23510 case "(($ac_try" in
23511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23512 *) ac_try_echo=$ac_try;;
23513 esac
23514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23515 (eval "$ac_compile") 2>conftest.er1
23516 ac_status=$?
23517 grep -v '^ *+' conftest.er1 >conftest.err
23518 rm -f conftest.er1
23519 cat conftest.err >&5
23520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23521 (exit $ac_status); } && {
23522 test -z "$ac_c_werror_flag" ||
23523 test ! -s conftest.err
23524 } && test -s conftest.$ac_objext; then
23525 ac_hi=$ac_mid
23526 else
23527 echo "$as_me: failed program was:" >&5
23528 sed 's/^/| /' conftest.$ac_ext >&5
23529
23530 ac_lo=`expr '(' $ac_mid ')' + 1`
23531 fi
23532
23533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23534 done
23535 case $ac_lo in
23536 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23537 '') if test "$ac_cv_type_long_long" = yes; then
23538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23539 See \`config.log' for more details." >&5
23540 echo "$as_me: error: cannot compute sizeof (long long)
23541 See \`config.log' for more details." >&2;}
23542 { (exit 77); exit 77; }; }
23543 else
23544 ac_cv_sizeof_long_long=0
23545 fi ;;
23546 esac
23547 else
23548 cat >conftest.$ac_ext <<_ACEOF
23549 /* confdefs.h. */
23550 _ACEOF
23551 cat confdefs.h >>conftest.$ac_ext
23552 cat >>conftest.$ac_ext <<_ACEOF
23553 /* end confdefs.h. */
23554 $ac_includes_default
23555 typedef long long ac__type_sizeof_;
23556 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23557 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23558 #include <stdio.h>
23559 #include <stdlib.h>
23560 int
23561 main ()
23562 {
23563
23564 FILE *f = fopen ("conftest.val", "w");
23565 if (! f)
23566 return 1;
23567 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23568 {
23569 long int i = longval ();
23570 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23571 return 1;
23572 fprintf (f, "%ld\n", i);
23573 }
23574 else
23575 {
23576 unsigned long int i = ulongval ();
23577 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23578 return 1;
23579 fprintf (f, "%lu\n", i);
23580 }
23581 return ferror (f) || fclose (f) != 0;
23582
23583 ;
23584 return 0;
23585 }
23586 _ACEOF
23587 rm -f conftest$ac_exeext
23588 if { (ac_try="$ac_link"
23589 case "(($ac_try" in
23590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23591 *) ac_try_echo=$ac_try;;
23592 esac
23593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23594 (eval "$ac_link") 2>&5
23595 ac_status=$?
23596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23597 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23598 { (case "(($ac_try" in
23599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23600 *) ac_try_echo=$ac_try;;
23601 esac
23602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23603 (eval "$ac_try") 2>&5
23604 ac_status=$?
23605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23606 (exit $ac_status); }; }; then
23607 ac_cv_sizeof_long_long=`cat conftest.val`
23608 else
23609 echo "$as_me: program exited with status $ac_status" >&5
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.$ac_ext >&5
23612
23613 ( exit $ac_status )
23614 if test "$ac_cv_type_long_long" = yes; then
23615 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23616 See \`config.log' for more details." >&5
23617 echo "$as_me: error: cannot compute sizeof (long long)
23618 See \`config.log' for more details." >&2;}
23619 { (exit 77); exit 77; }; }
23620 else
23621 ac_cv_sizeof_long_long=0
23622 fi
23623 fi
23624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23625 fi
23626 rm -f conftest.val
23627 fi
23628 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23629 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23630
23631
23632
23633 cat >>confdefs.h <<_ACEOF
23634 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23635 _ACEOF
23636
23637
23638 if test "$ac_cv_sizeof_long_long" != 0; then
23639 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23640 fi
23641 ;;
23642 * )
23643 { echo "$as_me:$LINENO: checking for long long" >&5
23644 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23645 if test "${ac_cv_type_long_long+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 else
23648 cat >conftest.$ac_ext <<_ACEOF
23649 /* confdefs.h. */
23650 _ACEOF
23651 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23654 $ac_includes_default
23655 typedef long long ac__type_new_;
23656 int
23657 main ()
23658 {
23659 if ((ac__type_new_ *) 0)
23660 return 0;
23661 if (sizeof (ac__type_new_))
23662 return 0;
23663 ;
23664 return 0;
23665 }
23666 _ACEOF
23667 rm -f conftest.$ac_objext
23668 if { (ac_try="$ac_compile"
23669 case "(($ac_try" in
23670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23671 *) ac_try_echo=$ac_try;;
23672 esac
23673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23674 (eval "$ac_compile") 2>conftest.er1
23675 ac_status=$?
23676 grep -v '^ *+' conftest.er1 >conftest.err
23677 rm -f conftest.er1
23678 cat conftest.err >&5
23679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23680 (exit $ac_status); } && {
23681 test -z "$ac_c_werror_flag" ||
23682 test ! -s conftest.err
23683 } && test -s conftest.$ac_objext; then
23684 ac_cv_type_long_long=yes
23685 else
23686 echo "$as_me: failed program was:" >&5
23687 sed 's/^/| /' conftest.$ac_ext >&5
23688
23689 ac_cv_type_long_long=no
23690 fi
23691
23692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23693 fi
23694 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23695 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23696
23697 # The cast to long int works around a bug in the HP C Compiler
23698 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23699 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23700 # This bug is HP SR number 8606223364.
23701 { echo "$as_me:$LINENO: checking size of long long" >&5
23702 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23703 if test "${ac_cv_sizeof_long_long+set}" = set; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23705 else
23706 if test "$cross_compiling" = yes; then
23707 # Depending upon the size, compute the lo and hi bounds.
23708 cat >conftest.$ac_ext <<_ACEOF
23709 /* confdefs.h. */
23710 _ACEOF
23711 cat confdefs.h >>conftest.$ac_ext
23712 cat >>conftest.$ac_ext <<_ACEOF
23713 /* end confdefs.h. */
23714 $ac_includes_default
23715 typedef long long ac__type_sizeof_;
23716 int
23717 main ()
23718 {
23719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23720 test_array [0] = 0
23721
23722 ;
23723 return 0;
23724 }
23725 _ACEOF
23726 rm -f conftest.$ac_objext
23727 if { (ac_try="$ac_compile"
23728 case "(($ac_try" in
23729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23730 *) ac_try_echo=$ac_try;;
23731 esac
23732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23733 (eval "$ac_compile") 2>conftest.er1
23734 ac_status=$?
23735 grep -v '^ *+' conftest.er1 >conftest.err
23736 rm -f conftest.er1
23737 cat conftest.err >&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } && {
23740 test -z "$ac_c_werror_flag" ||
23741 test ! -s conftest.err
23742 } && test -s conftest.$ac_objext; then
23743 ac_lo=0 ac_mid=0
23744 while :; do
23745 cat >conftest.$ac_ext <<_ACEOF
23746 /* confdefs.h. */
23747 _ACEOF
23748 cat confdefs.h >>conftest.$ac_ext
23749 cat >>conftest.$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 $ac_includes_default
23752 typedef long long ac__type_sizeof_;
23753 int
23754 main ()
23755 {
23756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23757 test_array [0] = 0
23758
23759 ;
23760 return 0;
23761 }
23762 _ACEOF
23763 rm -f conftest.$ac_objext
23764 if { (ac_try="$ac_compile"
23765 case "(($ac_try" in
23766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23767 *) ac_try_echo=$ac_try;;
23768 esac
23769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23770 (eval "$ac_compile") 2>conftest.er1
23771 ac_status=$?
23772 grep -v '^ *+' conftest.er1 >conftest.err
23773 rm -f conftest.er1
23774 cat conftest.err >&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } && {
23777 test -z "$ac_c_werror_flag" ||
23778 test ! -s conftest.err
23779 } && test -s conftest.$ac_objext; then
23780 ac_hi=$ac_mid; break
23781 else
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.$ac_ext >&5
23784
23785 ac_lo=`expr $ac_mid + 1`
23786 if test $ac_lo -le $ac_mid; then
23787 ac_lo= ac_hi=
23788 break
23789 fi
23790 ac_mid=`expr 2 '*' $ac_mid + 1`
23791 fi
23792
23793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23794 done
23795 else
23796 echo "$as_me: failed program was:" >&5
23797 sed 's/^/| /' conftest.$ac_ext >&5
23798
23799 cat >conftest.$ac_ext <<_ACEOF
23800 /* confdefs.h. */
23801 _ACEOF
23802 cat confdefs.h >>conftest.$ac_ext
23803 cat >>conftest.$ac_ext <<_ACEOF
23804 /* end confdefs.h. */
23805 $ac_includes_default
23806 typedef long long ac__type_sizeof_;
23807 int
23808 main ()
23809 {
23810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23811 test_array [0] = 0
23812
23813 ;
23814 return 0;
23815 }
23816 _ACEOF
23817 rm -f conftest.$ac_objext
23818 if { (ac_try="$ac_compile"
23819 case "(($ac_try" in
23820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23821 *) ac_try_echo=$ac_try;;
23822 esac
23823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23824 (eval "$ac_compile") 2>conftest.er1
23825 ac_status=$?
23826 grep -v '^ *+' conftest.er1 >conftest.err
23827 rm -f conftest.er1
23828 cat conftest.err >&5
23829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830 (exit $ac_status); } && {
23831 test -z "$ac_c_werror_flag" ||
23832 test ! -s conftest.err
23833 } && test -s conftest.$ac_objext; then
23834 ac_hi=-1 ac_mid=-1
23835 while :; do
23836 cat >conftest.$ac_ext <<_ACEOF
23837 /* confdefs.h. */
23838 _ACEOF
23839 cat confdefs.h >>conftest.$ac_ext
23840 cat >>conftest.$ac_ext <<_ACEOF
23841 /* end confdefs.h. */
23842 $ac_includes_default
23843 typedef long long ac__type_sizeof_;
23844 int
23845 main ()
23846 {
23847 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23848 test_array [0] = 0
23849
23850 ;
23851 return 0;
23852 }
23853 _ACEOF
23854 rm -f conftest.$ac_objext
23855 if { (ac_try="$ac_compile"
23856 case "(($ac_try" in
23857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23858 *) ac_try_echo=$ac_try;;
23859 esac
23860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23861 (eval "$ac_compile") 2>conftest.er1
23862 ac_status=$?
23863 grep -v '^ *+' conftest.er1 >conftest.err
23864 rm -f conftest.er1
23865 cat conftest.err >&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); } && {
23868 test -z "$ac_c_werror_flag" ||
23869 test ! -s conftest.err
23870 } && test -s conftest.$ac_objext; then
23871 ac_lo=$ac_mid; break
23872 else
23873 echo "$as_me: failed program was:" >&5
23874 sed 's/^/| /' conftest.$ac_ext >&5
23875
23876 ac_hi=`expr '(' $ac_mid ')' - 1`
23877 if test $ac_mid -le $ac_hi; then
23878 ac_lo= ac_hi=
23879 break
23880 fi
23881 ac_mid=`expr 2 '*' $ac_mid`
23882 fi
23883
23884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23885 done
23886 else
23887 echo "$as_me: failed program was:" >&5
23888 sed 's/^/| /' conftest.$ac_ext >&5
23889
23890 ac_lo= ac_hi=
23891 fi
23892
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894 fi
23895
23896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23897 # Binary search between lo and hi bounds.
23898 while test "x$ac_lo" != "x$ac_hi"; do
23899 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23900 cat >conftest.$ac_ext <<_ACEOF
23901 /* confdefs.h. */
23902 _ACEOF
23903 cat confdefs.h >>conftest.$ac_ext
23904 cat >>conftest.$ac_ext <<_ACEOF
23905 /* end confdefs.h. */
23906 $ac_includes_default
23907 typedef long long ac__type_sizeof_;
23908 int
23909 main ()
23910 {
23911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23912 test_array [0] = 0
23913
23914 ;
23915 return 0;
23916 }
23917 _ACEOF
23918 rm -f conftest.$ac_objext
23919 if { (ac_try="$ac_compile"
23920 case "(($ac_try" in
23921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23922 *) ac_try_echo=$ac_try;;
23923 esac
23924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23925 (eval "$ac_compile") 2>conftest.er1
23926 ac_status=$?
23927 grep -v '^ *+' conftest.er1 >conftest.err
23928 rm -f conftest.er1
23929 cat conftest.err >&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } && {
23932 test -z "$ac_c_werror_flag" ||
23933 test ! -s conftest.err
23934 } && test -s conftest.$ac_objext; then
23935 ac_hi=$ac_mid
23936 else
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.$ac_ext >&5
23939
23940 ac_lo=`expr '(' $ac_mid ')' + 1`
23941 fi
23942
23943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23944 done
23945 case $ac_lo in
23946 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23947 '') if test "$ac_cv_type_long_long" = yes; then
23948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23949 See \`config.log' for more details." >&5
23950 echo "$as_me: error: cannot compute sizeof (long long)
23951 See \`config.log' for more details." >&2;}
23952 { (exit 77); exit 77; }; }
23953 else
23954 ac_cv_sizeof_long_long=0
23955 fi ;;
23956 esac
23957 else
23958 cat >conftest.$ac_ext <<_ACEOF
23959 /* confdefs.h. */
23960 _ACEOF
23961 cat confdefs.h >>conftest.$ac_ext
23962 cat >>conftest.$ac_ext <<_ACEOF
23963 /* end confdefs.h. */
23964 $ac_includes_default
23965 typedef long long ac__type_sizeof_;
23966 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23967 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23968 #include <stdio.h>
23969 #include <stdlib.h>
23970 int
23971 main ()
23972 {
23973
23974 FILE *f = fopen ("conftest.val", "w");
23975 if (! f)
23976 return 1;
23977 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23978 {
23979 long int i = longval ();
23980 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23981 return 1;
23982 fprintf (f, "%ld\n", i);
23983 }
23984 else
23985 {
23986 unsigned long int i = ulongval ();
23987 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23988 return 1;
23989 fprintf (f, "%lu\n", i);
23990 }
23991 return ferror (f) || fclose (f) != 0;
23992
23993 ;
23994 return 0;
23995 }
23996 _ACEOF
23997 rm -f conftest$ac_exeext
23998 if { (ac_try="$ac_link"
23999 case "(($ac_try" in
24000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24001 *) ac_try_echo=$ac_try;;
24002 esac
24003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24004 (eval "$ac_link") 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24008 { (case "(($ac_try" in
24009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24010 *) ac_try_echo=$ac_try;;
24011 esac
24012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24013 (eval "$ac_try") 2>&5
24014 ac_status=$?
24015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016 (exit $ac_status); }; }; then
24017 ac_cv_sizeof_long_long=`cat conftest.val`
24018 else
24019 echo "$as_me: program exited with status $ac_status" >&5
24020 echo "$as_me: failed program was:" >&5
24021 sed 's/^/| /' conftest.$ac_ext >&5
24022
24023 ( exit $ac_status )
24024 if test "$ac_cv_type_long_long" = yes; then
24025 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
24026 See \`config.log' for more details." >&5
24027 echo "$as_me: error: cannot compute sizeof (long long)
24028 See \`config.log' for more details." >&2;}
24029 { (exit 77); exit 77; }; }
24030 else
24031 ac_cv_sizeof_long_long=0
24032 fi
24033 fi
24034 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24035 fi
24036 rm -f conftest.val
24037 fi
24038 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24039 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24040
24041
24042
24043 cat >>confdefs.h <<_ACEOF
24044 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24045 _ACEOF
24046
24047
24048 esac
24049
24050 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24051 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24052 if test "${ac_cv_type_wchar_t+set}" = set; then
24053 echo $ECHO_N "(cached) $ECHO_C" >&6
24054 else
24055 cat >conftest.$ac_ext <<_ACEOF
24056 /* confdefs.h. */
24057 _ACEOF
24058 cat confdefs.h >>conftest.$ac_ext
24059 cat >>conftest.$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24061
24062 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24063 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24064 # error "fake wchar_t"
24065 #endif
24066 #ifdef HAVE_WCHAR_H
24067 # ifdef __CYGWIN__
24068 # include <stddef.h>
24069 # endif
24070 # include <wchar.h>
24071 #endif
24072 #ifdef HAVE_STDLIB_H
24073 # include <stdlib.h>
24074 #endif
24075 #include <stdio.h>
24076
24077
24078
24079 typedef wchar_t ac__type_new_;
24080 int
24081 main ()
24082 {
24083 if ((ac__type_new_ *) 0)
24084 return 0;
24085 if (sizeof (ac__type_new_))
24086 return 0;
24087 ;
24088 return 0;
24089 }
24090 _ACEOF
24091 rm -f conftest.$ac_objext
24092 if { (ac_try="$ac_compile"
24093 case "(($ac_try" in
24094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24095 *) ac_try_echo=$ac_try;;
24096 esac
24097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24098 (eval "$ac_compile") 2>conftest.er1
24099 ac_status=$?
24100 grep -v '^ *+' conftest.er1 >conftest.err
24101 rm -f conftest.er1
24102 cat conftest.err >&5
24103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24104 (exit $ac_status); } && {
24105 test -z "$ac_c_werror_flag" ||
24106 test ! -s conftest.err
24107 } && test -s conftest.$ac_objext; then
24108 ac_cv_type_wchar_t=yes
24109 else
24110 echo "$as_me: failed program was:" >&5
24111 sed 's/^/| /' conftest.$ac_ext >&5
24112
24113 ac_cv_type_wchar_t=no
24114 fi
24115
24116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24117 fi
24118 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24119 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24120
24121 # The cast to long int works around a bug in the HP C Compiler
24122 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24123 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
24124 # This bug is HP SR number 8606223364.
24125 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24126 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24127 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24128 echo $ECHO_N "(cached) $ECHO_C" >&6
24129 else
24130 if test "$cross_compiling" = yes; then
24131 # Depending upon the size, compute the lo and hi bounds.
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
24139 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24140 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24141 # error "fake wchar_t"
24142 #endif
24143 #ifdef HAVE_WCHAR_H
24144 # ifdef __CYGWIN__
24145 # include <stddef.h>
24146 # endif
24147 # include <wchar.h>
24148 #endif
24149 #ifdef HAVE_STDLIB_H
24150 # include <stdlib.h>
24151 #endif
24152 #include <stdio.h>
24153
24154
24155
24156 typedef wchar_t ac__type_sizeof_;
24157 int
24158 main ()
24159 {
24160 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
24161 test_array [0] = 0
24162
24163 ;
24164 return 0;
24165 }
24166 _ACEOF
24167 rm -f conftest.$ac_objext
24168 if { (ac_try="$ac_compile"
24169 case "(($ac_try" in
24170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24171 *) ac_try_echo=$ac_try;;
24172 esac
24173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24174 (eval "$ac_compile") 2>conftest.er1
24175 ac_status=$?
24176 grep -v '^ *+' conftest.er1 >conftest.err
24177 rm -f conftest.er1
24178 cat conftest.err >&5
24179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24180 (exit $ac_status); } && {
24181 test -z "$ac_c_werror_flag" ||
24182 test ! -s conftest.err
24183 } && test -s conftest.$ac_objext; then
24184 ac_lo=0 ac_mid=0
24185 while :; do
24186 cat >conftest.$ac_ext <<_ACEOF
24187 /* confdefs.h. */
24188 _ACEOF
24189 cat confdefs.h >>conftest.$ac_ext
24190 cat >>conftest.$ac_ext <<_ACEOF
24191 /* end confdefs.h. */
24192
24193 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24194 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24195 # error "fake wchar_t"
24196 #endif
24197 #ifdef HAVE_WCHAR_H
24198 # ifdef __CYGWIN__
24199 # include <stddef.h>
24200 # endif
24201 # include <wchar.h>
24202 #endif
24203 #ifdef HAVE_STDLIB_H
24204 # include <stdlib.h>
24205 #endif
24206 #include <stdio.h>
24207
24208
24209
24210 typedef wchar_t ac__type_sizeof_;
24211 int
24212 main ()
24213 {
24214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24215 test_array [0] = 0
24216
24217 ;
24218 return 0;
24219 }
24220 _ACEOF
24221 rm -f conftest.$ac_objext
24222 if { (ac_try="$ac_compile"
24223 case "(($ac_try" in
24224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24225 *) ac_try_echo=$ac_try;;
24226 esac
24227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24228 (eval "$ac_compile") 2>conftest.er1
24229 ac_status=$?
24230 grep -v '^ *+' conftest.er1 >conftest.err
24231 rm -f conftest.er1
24232 cat conftest.err >&5
24233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24234 (exit $ac_status); } && {
24235 test -z "$ac_c_werror_flag" ||
24236 test ! -s conftest.err
24237 } && test -s conftest.$ac_objext; then
24238 ac_hi=$ac_mid; break
24239 else
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24242
24243 ac_lo=`expr $ac_mid + 1`
24244 if test $ac_lo -le $ac_mid; then
24245 ac_lo= ac_hi=
24246 break
24247 fi
24248 ac_mid=`expr 2 '*' $ac_mid + 1`
24249 fi
24250
24251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24252 done
24253 else
24254 echo "$as_me: failed program was:" >&5
24255 sed 's/^/| /' conftest.$ac_ext >&5
24256
24257 cat >conftest.$ac_ext <<_ACEOF
24258 /* confdefs.h. */
24259 _ACEOF
24260 cat confdefs.h >>conftest.$ac_ext
24261 cat >>conftest.$ac_ext <<_ACEOF
24262 /* end confdefs.h. */
24263
24264 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24265 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24266 # error "fake wchar_t"
24267 #endif
24268 #ifdef HAVE_WCHAR_H
24269 # ifdef __CYGWIN__
24270 # include <stddef.h>
24271 # endif
24272 # include <wchar.h>
24273 #endif
24274 #ifdef HAVE_STDLIB_H
24275 # include <stdlib.h>
24276 #endif
24277 #include <stdio.h>
24278
24279
24280
24281 typedef wchar_t ac__type_sizeof_;
24282 int
24283 main ()
24284 {
24285 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24286 test_array [0] = 0
24287
24288 ;
24289 return 0;
24290 }
24291 _ACEOF
24292 rm -f conftest.$ac_objext
24293 if { (ac_try="$ac_compile"
24294 case "(($ac_try" in
24295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24296 *) ac_try_echo=$ac_try;;
24297 esac
24298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24299 (eval "$ac_compile") 2>conftest.er1
24300 ac_status=$?
24301 grep -v '^ *+' conftest.er1 >conftest.err
24302 rm -f conftest.er1
24303 cat conftest.err >&5
24304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305 (exit $ac_status); } && {
24306 test -z "$ac_c_werror_flag" ||
24307 test ! -s conftest.err
24308 } && test -s conftest.$ac_objext; then
24309 ac_hi=-1 ac_mid=-1
24310 while :; do
24311 cat >conftest.$ac_ext <<_ACEOF
24312 /* confdefs.h. */
24313 _ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24317
24318 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24319 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24320 # error "fake wchar_t"
24321 #endif
24322 #ifdef HAVE_WCHAR_H
24323 # ifdef __CYGWIN__
24324 # include <stddef.h>
24325 # endif
24326 # include <wchar.h>
24327 #endif
24328 #ifdef HAVE_STDLIB_H
24329 # include <stdlib.h>
24330 #endif
24331 #include <stdio.h>
24332
24333
24334
24335 typedef wchar_t ac__type_sizeof_;
24336 int
24337 main ()
24338 {
24339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24340 test_array [0] = 0
24341
24342 ;
24343 return 0;
24344 }
24345 _ACEOF
24346 rm -f conftest.$ac_objext
24347 if { (ac_try="$ac_compile"
24348 case "(($ac_try" in
24349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24350 *) ac_try_echo=$ac_try;;
24351 esac
24352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24353 (eval "$ac_compile") 2>conftest.er1
24354 ac_status=$?
24355 grep -v '^ *+' conftest.er1 >conftest.err
24356 rm -f conftest.er1
24357 cat conftest.err >&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); } && {
24360 test -z "$ac_c_werror_flag" ||
24361 test ! -s conftest.err
24362 } && test -s conftest.$ac_objext; then
24363 ac_lo=$ac_mid; break
24364 else
24365 echo "$as_me: failed program was:" >&5
24366 sed 's/^/| /' conftest.$ac_ext >&5
24367
24368 ac_hi=`expr '(' $ac_mid ')' - 1`
24369 if test $ac_mid -le $ac_hi; then
24370 ac_lo= ac_hi=
24371 break
24372 fi
24373 ac_mid=`expr 2 '*' $ac_mid`
24374 fi
24375
24376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24377 done
24378 else
24379 echo "$as_me: failed program was:" >&5
24380 sed 's/^/| /' conftest.$ac_ext >&5
24381
24382 ac_lo= ac_hi=
24383 fi
24384
24385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24386 fi
24387
24388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24389 # Binary search between lo and hi bounds.
24390 while test "x$ac_lo" != "x$ac_hi"; do
24391 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24392 cat >conftest.$ac_ext <<_ACEOF
24393 /* confdefs.h. */
24394 _ACEOF
24395 cat confdefs.h >>conftest.$ac_ext
24396 cat >>conftest.$ac_ext <<_ACEOF
24397 /* end confdefs.h. */
24398
24399 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24400 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24401 # error "fake wchar_t"
24402 #endif
24403 #ifdef HAVE_WCHAR_H
24404 # ifdef __CYGWIN__
24405 # include <stddef.h>
24406 # endif
24407 # include <wchar.h>
24408 #endif
24409 #ifdef HAVE_STDLIB_H
24410 # include <stdlib.h>
24411 #endif
24412 #include <stdio.h>
24413
24414
24415
24416 typedef wchar_t ac__type_sizeof_;
24417 int
24418 main ()
24419 {
24420 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24421 test_array [0] = 0
24422
24423 ;
24424 return 0;
24425 }
24426 _ACEOF
24427 rm -f conftest.$ac_objext
24428 if { (ac_try="$ac_compile"
24429 case "(($ac_try" in
24430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24431 *) ac_try_echo=$ac_try;;
24432 esac
24433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24434 (eval "$ac_compile") 2>conftest.er1
24435 ac_status=$?
24436 grep -v '^ *+' conftest.er1 >conftest.err
24437 rm -f conftest.er1
24438 cat conftest.err >&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } && {
24441 test -z "$ac_c_werror_flag" ||
24442 test ! -s conftest.err
24443 } && test -s conftest.$ac_objext; then
24444 ac_hi=$ac_mid
24445 else
24446 echo "$as_me: failed program was:" >&5
24447 sed 's/^/| /' conftest.$ac_ext >&5
24448
24449 ac_lo=`expr '(' $ac_mid ')' + 1`
24450 fi
24451
24452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24453 done
24454 case $ac_lo in
24455 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24456 '') if test "$ac_cv_type_wchar_t" = yes; then
24457 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24458 See \`config.log' for more details." >&5
24459 echo "$as_me: error: cannot compute sizeof (wchar_t)
24460 See \`config.log' for more details." >&2;}
24461 { (exit 77); exit 77; }; }
24462 else
24463 ac_cv_sizeof_wchar_t=0
24464 fi ;;
24465 esac
24466 else
24467 cat >conftest.$ac_ext <<_ACEOF
24468 /* confdefs.h. */
24469 _ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473
24474 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24475 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24476 # error "fake wchar_t"
24477 #endif
24478 #ifdef HAVE_WCHAR_H
24479 # ifdef __CYGWIN__
24480 # include <stddef.h>
24481 # endif
24482 # include <wchar.h>
24483 #endif
24484 #ifdef HAVE_STDLIB_H
24485 # include <stdlib.h>
24486 #endif
24487 #include <stdio.h>
24488
24489
24490
24491 typedef wchar_t ac__type_sizeof_;
24492 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24493 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24494 #include <stdio.h>
24495 #include <stdlib.h>
24496 int
24497 main ()
24498 {
24499
24500 FILE *f = fopen ("conftest.val", "w");
24501 if (! f)
24502 return 1;
24503 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24504 {
24505 long int i = longval ();
24506 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24507 return 1;
24508 fprintf (f, "%ld\n", i);
24509 }
24510 else
24511 {
24512 unsigned long int i = ulongval ();
24513 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24514 return 1;
24515 fprintf (f, "%lu\n", i);
24516 }
24517 return ferror (f) || fclose (f) != 0;
24518
24519 ;
24520 return 0;
24521 }
24522 _ACEOF
24523 rm -f conftest$ac_exeext
24524 if { (ac_try="$ac_link"
24525 case "(($ac_try" in
24526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24527 *) ac_try_echo=$ac_try;;
24528 esac
24529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24530 (eval "$ac_link") 2>&5
24531 ac_status=$?
24532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24533 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24534 { (case "(($ac_try" in
24535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24536 *) ac_try_echo=$ac_try;;
24537 esac
24538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24539 (eval "$ac_try") 2>&5
24540 ac_status=$?
24541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24542 (exit $ac_status); }; }; then
24543 ac_cv_sizeof_wchar_t=`cat conftest.val`
24544 else
24545 echo "$as_me: program exited with status $ac_status" >&5
24546 echo "$as_me: failed program was:" >&5
24547 sed 's/^/| /' conftest.$ac_ext >&5
24548
24549 ( exit $ac_status )
24550 if test "$ac_cv_type_wchar_t" = yes; then
24551 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24552 See \`config.log' for more details." >&5
24553 echo "$as_me: error: cannot compute sizeof (wchar_t)
24554 See \`config.log' for more details." >&2;}
24555 { (exit 77); exit 77; }; }
24556 else
24557 ac_cv_sizeof_wchar_t=0
24558 fi
24559 fi
24560 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24561 fi
24562 rm -f conftest.val
24563 fi
24564 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24565 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24566
24567
24568
24569 cat >>confdefs.h <<_ACEOF
24570 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24571 _ACEOF
24572
24573
24574 if test "$ac_cv_sizeof_wchar_t" = 0; then
24575 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24576 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24577 { (exit 1); exit 1; }; }
24578 fi
24579 cat >>confdefs.h <<\_ACEOF
24580 #define wxUSE_WCHAR_T 1
24581 _ACEOF
24582
24583
24584 { echo "$as_me:$LINENO: checking for va_copy" >&5
24585 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24586 if test "${wx_cv_func_va_copy+set}" = set; then
24587 echo $ECHO_N "(cached) $ECHO_C" >&6
24588 else
24589
24590 ac_ext=cpp
24591 ac_cpp='$CXXCPP $CPPFLAGS'
24592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24595
24596 cat >conftest.$ac_ext <<_ACEOF
24597
24598 /* confdefs.h. */
24599 _ACEOF
24600 cat confdefs.h >>conftest.$ac_ext
24601 cat >>conftest.$ac_ext <<_ACEOF
24602 /* end confdefs.h. */
24603
24604 #include <stdarg.h>
24605 void foo(char *f, ...)
24606 {
24607 va_list ap1, ap2;
24608 va_start(ap1, f);
24609 va_copy(ap2, ap1);
24610 va_end(ap2);
24611 va_end(ap1);
24612 }
24613 int main()
24614 {
24615 foo("hi", 17);
24616 return 0;
24617 }
24618
24619 _ACEOF
24620 rm -f conftest.$ac_objext conftest$ac_exeext
24621 if { (ac_try="$ac_link"
24622 case "(($ac_try" in
24623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24624 *) ac_try_echo=$ac_try;;
24625 esac
24626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24627 (eval "$ac_link") 2>conftest.er1
24628 ac_status=$?
24629 grep -v '^ *+' conftest.er1 >conftest.err
24630 rm -f conftest.er1
24631 cat conftest.err >&5
24632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24633 (exit $ac_status); } && {
24634 test -z "$ac_cxx_werror_flag" ||
24635 test ! -s conftest.err
24636 } && test -s conftest$ac_exeext &&
24637 $as_test_x conftest$ac_exeext; then
24638 wx_cv_func_va_copy=yes
24639 else
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.$ac_ext >&5
24642
24643 wx_cv_func_va_copy=no
24644
24645 fi
24646
24647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24648 conftest$ac_exeext conftest.$ac_ext
24649 ac_ext=c
24650 ac_cpp='$CPP $CPPFLAGS'
24651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24654
24655
24656
24657 fi
24658 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24659 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24660
24661 if test $wx_cv_func_va_copy = "yes"; then
24662 cat >>confdefs.h <<\_ACEOF
24663 #define HAVE_VA_COPY 1
24664 _ACEOF
24665
24666 else
24667 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24668 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24669 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24670 echo $ECHO_N "(cached) $ECHO_C" >&6
24671 else
24672
24673 if test "$cross_compiling" = yes; then
24674 wx_cv_type_va_list_lvalue=yes
24675
24676 else
24677 cat >conftest.$ac_ext <<_ACEOF
24678
24679 /* confdefs.h. */
24680 _ACEOF
24681 cat confdefs.h >>conftest.$ac_ext
24682 cat >>conftest.$ac_ext <<_ACEOF
24683 /* end confdefs.h. */
24684
24685 #include <stdarg.h>
24686 int foo(char *f, ...)
24687 {
24688 va_list ap1, ap2;
24689 va_start(ap1, f);
24690 ap2 = ap1;
24691 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24692 return 1;
24693 va_end(ap2);
24694 va_end(ap1);
24695 return 0;
24696 }
24697 int main()
24698 {
24699 return foo("hi", 17);
24700 }
24701
24702 _ACEOF
24703 rm -f conftest$ac_exeext
24704 if { (ac_try="$ac_link"
24705 case "(($ac_try" in
24706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24707 *) ac_try_echo=$ac_try;;
24708 esac
24709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24710 (eval "$ac_link") 2>&5
24711 ac_status=$?
24712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24713 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24714 { (case "(($ac_try" in
24715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24716 *) ac_try_echo=$ac_try;;
24717 esac
24718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24719 (eval "$ac_try") 2>&5
24720 ac_status=$?
24721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24722 (exit $ac_status); }; }; then
24723 wx_cv_type_va_list_lvalue=yes
24724 else
24725 echo "$as_me: program exited with status $ac_status" >&5
24726 echo "$as_me: failed program was:" >&5
24727 sed 's/^/| /' conftest.$ac_ext >&5
24728
24729 ( exit $ac_status )
24730 wx_cv_type_va_list_lvalue=no
24731 fi
24732 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24733 fi
24734
24735
24736
24737
24738 fi
24739 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24740 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24741
24742 if test $wx_cv_type_va_list_lvalue != "yes"; then
24743 cat >>confdefs.h <<\_ACEOF
24744 #define VA_LIST_IS_ARRAY 1
24745 _ACEOF
24746
24747 fi
24748 fi
24749
24750 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24751
24752 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24753 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24754 if test "${wx_cv_have_variadic_macros+set}" = set; then
24755 echo $ECHO_N "(cached) $ECHO_C" >&6
24756 else
24757
24758 ac_ext=cpp
24759 ac_cpp='$CXXCPP $CPPFLAGS'
24760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24763
24764 cat >conftest.$ac_ext <<_ACEOF
24765
24766 /* confdefs.h. */
24767 _ACEOF
24768 cat confdefs.h >>conftest.$ac_ext
24769 cat >>conftest.$ac_ext <<_ACEOF
24770 /* end confdefs.h. */
24771
24772 #include <stdio.h>
24773 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24774
24775 int
24776 main ()
24777 {
24778
24779 test("%s %d %p", "test", 1, 0);
24780
24781
24782 ;
24783 return 0;
24784 }
24785 _ACEOF
24786 rm -f conftest.$ac_objext
24787 if { (ac_try="$ac_compile"
24788 case "(($ac_try" in
24789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24790 *) ac_try_echo=$ac_try;;
24791 esac
24792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24793 (eval "$ac_compile") 2>conftest.er1
24794 ac_status=$?
24795 grep -v '^ *+' conftest.er1 >conftest.err
24796 rm -f conftest.er1
24797 cat conftest.err >&5
24798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24799 (exit $ac_status); } && {
24800 test -z "$ac_cxx_werror_flag" ||
24801 test ! -s conftest.err
24802 } && test -s conftest.$ac_objext; then
24803 wx_cv_have_variadic_macros=yes
24804 else
24805 echo "$as_me: failed program was:" >&5
24806 sed 's/^/| /' conftest.$ac_ext >&5
24807
24808 wx_cv_have_variadic_macros=no
24809
24810 fi
24811
24812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24813 ac_ext=c
24814 ac_cpp='$CPP $CPPFLAGS'
24815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24818
24819
24820
24821 fi
24822 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24823 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24824
24825 if test $wx_cv_have_variadic_macros = "yes"; then
24826 cat >>confdefs.h <<\_ACEOF
24827 #define HAVE_VARIADIC_MACROS 1
24828 _ACEOF
24829
24830 fi
24831
24832 fi
24833
24834 LARGEFILE_CPPFLAGS=
24835 # Check whether --enable-largefile was given.
24836 if test "${enable_largefile+set}" = set; then
24837 enableval=$enable_largefile;
24838 fi
24839
24840 if test "$enable_largefile" != no; then
24841 wx_largefile=no
24842
24843 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24844 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24845 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24846 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 else
24848
24849 cat >conftest.$ac_ext <<_ACEOF
24850 /* confdefs.h. */
24851 _ACEOF
24852 cat confdefs.h >>conftest.$ac_ext
24853 cat >>conftest.$ac_ext <<_ACEOF
24854 /* end confdefs.h. */
24855 #define _FILE_OFFSET_BITS 64
24856 #include <sys/types.h>
24857 int
24858 main ()
24859 {
24860 typedef struct {
24861 unsigned int field: sizeof(off_t) == 8;
24862 } wxlf;
24863
24864 ;
24865 return 0;
24866 }
24867 _ACEOF
24868 rm -f conftest.$ac_objext
24869 if { (ac_try="$ac_compile"
24870 case "(($ac_try" in
24871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24872 *) ac_try_echo=$ac_try;;
24873 esac
24874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24875 (eval "$ac_compile") 2>conftest.er1
24876 ac_status=$?
24877 grep -v '^ *+' conftest.er1 >conftest.err
24878 rm -f conftest.er1
24879 cat conftest.err >&5
24880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24881 (exit $ac_status); } && {
24882 test -z "$ac_c_werror_flag" ||
24883 test ! -s conftest.err
24884 } && test -s conftest.$ac_objext; then
24885 ac_cv_sys_file_offset_bits=64
24886 else
24887 echo "$as_me: failed program was:" >&5
24888 sed 's/^/| /' conftest.$ac_ext >&5
24889
24890 ac_cv_sys_file_offset_bits=no
24891 fi
24892
24893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24894
24895
24896 fi
24897 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24898 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24899
24900 if test "$ac_cv_sys_file_offset_bits" != no; then
24901 wx_largefile=yes
24902 cat >>confdefs.h <<_ACEOF
24903 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24904 _ACEOF
24905
24906 fi
24907
24908 if test "x$wx_largefile" != "xyes"; then
24909
24910 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24911 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24912 if test "${ac_cv_sys_large_files+set}" = set; then
24913 echo $ECHO_N "(cached) $ECHO_C" >&6
24914 else
24915
24916 cat >conftest.$ac_ext <<_ACEOF
24917 /* confdefs.h. */
24918 _ACEOF
24919 cat confdefs.h >>conftest.$ac_ext
24920 cat >>conftest.$ac_ext <<_ACEOF
24921 /* end confdefs.h. */
24922 #define _LARGE_FILES 1
24923 #include <sys/types.h>
24924 int
24925 main ()
24926 {
24927 typedef struct {
24928 unsigned int field: sizeof(off_t) == 8;
24929 } wxlf;
24930
24931 ;
24932 return 0;
24933 }
24934 _ACEOF
24935 rm -f conftest.$ac_objext
24936 if { (ac_try="$ac_compile"
24937 case "(($ac_try" in
24938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24939 *) ac_try_echo=$ac_try;;
24940 esac
24941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24942 (eval "$ac_compile") 2>conftest.er1
24943 ac_status=$?
24944 grep -v '^ *+' conftest.er1 >conftest.err
24945 rm -f conftest.er1
24946 cat conftest.err >&5
24947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24948 (exit $ac_status); } && {
24949 test -z "$ac_c_werror_flag" ||
24950 test ! -s conftest.err
24951 } && test -s conftest.$ac_objext; then
24952 ac_cv_sys_large_files=1
24953 else
24954 echo "$as_me: failed program was:" >&5
24955 sed 's/^/| /' conftest.$ac_ext >&5
24956
24957 ac_cv_sys_large_files=no
24958 fi
24959
24960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24961
24962
24963 fi
24964 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24965 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24966
24967 if test "$ac_cv_sys_large_files" != no; then
24968 wx_largefile=yes
24969 cat >>confdefs.h <<_ACEOF
24970 #define _LARGE_FILES $ac_cv_sys_large_files
24971 _ACEOF
24972
24973 fi
24974
24975 fi
24976
24977 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24978 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24979 if test "x$wx_largefile" = "xyes"; then
24980 cat >>confdefs.h <<\_ACEOF
24981 #define HAVE_LARGEFILE_SUPPORT 1
24982 _ACEOF
24983
24984 fi
24985 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24986 echo "${ECHO_T}$wx_largefile" >&6; }
24987 fi
24988
24989 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24990 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24991 elif test "$ac_cv_sys_large_files" = 1; then
24992 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24993 fi
24994
24995 if test -n "$LARGEFILE_CPPFLAGS"; then
24996 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24997
24998 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24999 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
25000 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
25001 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25002 echo $ECHO_N "(cached) $ECHO_C" >&6
25003 else
25004
25005 ac_ext=cpp
25006 ac_cpp='$CXXCPP $CPPFLAGS'
25007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25010
25011 cat >conftest.$ac_ext <<_ACEOF
25012 /* confdefs.h. */
25013 _ACEOF
25014 cat confdefs.h >>conftest.$ac_ext
25015 cat >>conftest.$ac_ext <<_ACEOF
25016 /* end confdefs.h. */
25017
25018 int
25019 main ()
25020 {
25021
25022 #ifndef __STDC_EXT__
25023 choke me
25024 #endif
25025
25026 ;
25027 return 0;
25028 }
25029 _ACEOF
25030 rm -f conftest.$ac_objext
25031 if { (ac_try="$ac_compile"
25032 case "(($ac_try" in
25033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25034 *) ac_try_echo=$ac_try;;
25035 esac
25036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25037 (eval "$ac_compile") 2>conftest.er1
25038 ac_status=$?
25039 grep -v '^ *+' conftest.er1 >conftest.err
25040 rm -f conftest.er1
25041 cat conftest.err >&5
25042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25043 (exit $ac_status); } && {
25044 test -z "$ac_cxx_werror_flag" ||
25045 test ! -s conftest.err
25046 } && test -s conftest.$ac_objext; then
25047 wx_cv_STDC_EXT_required=no
25048 else
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.$ac_ext >&5
25051
25052 wx_cv_STDC_EXT_required=yes
25053
25054 fi
25055
25056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25057 ac_ext=c
25058 ac_cpp='$CPP $CPPFLAGS'
25059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25062
25063
25064
25065 fi
25066 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25067 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25068 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25069 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25070 fi
25071 fi
25072 fi
25073
25074 ac_ext=cpp
25075 ac_cpp='$CXXCPP $CPPFLAGS'
25076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25079
25080 old_CPPFLAGS="$CPPFLAGS"
25081 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25082 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25083 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25084 if test "${ac_cv_sys_largefile_source+set}" = set; then
25085 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 else
25087 while :; do
25088 cat >conftest.$ac_ext <<_ACEOF
25089 /* confdefs.h. */
25090 _ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25094 #include <sys/types.h> /* for off_t */
25095 #include <stdio.h>
25096 int
25097 main ()
25098 {
25099 int (*fp) (FILE *, off_t, int) = fseeko;
25100 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25101 ;
25102 return 0;
25103 }
25104 _ACEOF
25105 rm -f conftest.$ac_objext conftest$ac_exeext
25106 if { (ac_try="$ac_link"
25107 case "(($ac_try" in
25108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25109 *) ac_try_echo=$ac_try;;
25110 esac
25111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25112 (eval "$ac_link") 2>conftest.er1
25113 ac_status=$?
25114 grep -v '^ *+' conftest.er1 >conftest.err
25115 rm -f conftest.er1
25116 cat conftest.err >&5
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); } && {
25119 test -z "$ac_cxx_werror_flag" ||
25120 test ! -s conftest.err
25121 } && test -s conftest$ac_exeext &&
25122 $as_test_x conftest$ac_exeext; then
25123 ac_cv_sys_largefile_source=no; break
25124 else
25125 echo "$as_me: failed program was:" >&5
25126 sed 's/^/| /' conftest.$ac_ext >&5
25127
25128
25129 fi
25130
25131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25132 conftest$ac_exeext conftest.$ac_ext
25133 cat >conftest.$ac_ext <<_ACEOF
25134 /* confdefs.h. */
25135 _ACEOF
25136 cat confdefs.h >>conftest.$ac_ext
25137 cat >>conftest.$ac_ext <<_ACEOF
25138 /* end confdefs.h. */
25139 #define _LARGEFILE_SOURCE 1
25140 #include <sys/types.h> /* for off_t */
25141 #include <stdio.h>
25142 int
25143 main ()
25144 {
25145 int (*fp) (FILE *, off_t, int) = fseeko;
25146 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25147 ;
25148 return 0;
25149 }
25150 _ACEOF
25151 rm -f conftest.$ac_objext conftest$ac_exeext
25152 if { (ac_try="$ac_link"
25153 case "(($ac_try" in
25154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25155 *) ac_try_echo=$ac_try;;
25156 esac
25157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25158 (eval "$ac_link") 2>conftest.er1
25159 ac_status=$?
25160 grep -v '^ *+' conftest.er1 >conftest.err
25161 rm -f conftest.er1
25162 cat conftest.err >&5
25163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164 (exit $ac_status); } && {
25165 test -z "$ac_cxx_werror_flag" ||
25166 test ! -s conftest.err
25167 } && test -s conftest$ac_exeext &&
25168 $as_test_x conftest$ac_exeext; then
25169 ac_cv_sys_largefile_source=1; break
25170 else
25171 echo "$as_me: failed program was:" >&5
25172 sed 's/^/| /' conftest.$ac_ext >&5
25173
25174
25175 fi
25176
25177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25178 conftest$ac_exeext conftest.$ac_ext
25179 ac_cv_sys_largefile_source=unknown
25180 break
25181 done
25182 fi
25183 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25184 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25185 case $ac_cv_sys_largefile_source in #(
25186 no | unknown) ;;
25187 *)
25188 cat >>confdefs.h <<_ACEOF
25189 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25190 _ACEOF
25191 ;;
25192 esac
25193 rm -f conftest*
25194
25195 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25196 # in glibc 2.1.3, but that breaks too many other things.
25197 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25198 if test $ac_cv_sys_largefile_source != unknown; then
25199
25200 cat >>confdefs.h <<\_ACEOF
25201 #define HAVE_FSEEKO 1
25202 _ACEOF
25203
25204 fi
25205
25206 CPPFLAGS="$old_CPPFLAGS"
25207 ac_ext=c
25208 ac_cpp='$CPP $CPPFLAGS'
25209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25212
25213 if test "$ac_cv_sys_largefile_source" != no; then
25214 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25215 fi
25216
25217 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25218 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25219 if test "${ac_cv_c_bigendian+set}" = set; then
25220 echo $ECHO_N "(cached) $ECHO_C" >&6
25221 else
25222 ac_cv_c_bigendian=unknown
25223 # See if sys/param.h defines the BYTE_ORDER macro.
25224 cat >conftest.$ac_ext <<_ACEOF
25225 /* confdefs.h. */
25226 _ACEOF
25227 cat confdefs.h >>conftest.$ac_ext
25228 cat >>conftest.$ac_ext <<_ACEOF
25229 /* end confdefs.h. */
25230 #include <sys/types.h>
25231 #include <sys/param.h>
25232 int
25233 main ()
25234 {
25235
25236 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25237 bogus endian macros
25238 #endif
25239 ;
25240 return 0;
25241 }
25242 _ACEOF
25243 rm -f conftest.$ac_objext
25244 if { (ac_try="$ac_compile"
25245 case "(($ac_try" in
25246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25247 *) ac_try_echo=$ac_try;;
25248 esac
25249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25250 (eval "$ac_compile") 2>conftest.er1
25251 ac_status=$?
25252 grep -v '^ *+' conftest.er1 >conftest.err
25253 rm -f conftest.er1
25254 cat conftest.err >&5
25255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25256 (exit $ac_status); } && {
25257 test -z "$ac_c_werror_flag" ||
25258 test ! -s conftest.err
25259 } && test -s conftest.$ac_objext; then
25260 # It does; now see whether it defined to BIG_ENDIAN or not.
25261 cat >conftest.$ac_ext <<_ACEOF
25262 /* confdefs.h. */
25263 _ACEOF
25264 cat confdefs.h >>conftest.$ac_ext
25265 cat >>conftest.$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25267 #include <sys/types.h>
25268 #include <sys/param.h>
25269 int
25270 main ()
25271 {
25272
25273 #if BYTE_ORDER != BIG_ENDIAN
25274 not big endian
25275 #endif
25276 ;
25277 return 0;
25278 }
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_c_bigendian=yes
25298 else
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25301
25302 ac_cv_c_bigendian=no
25303 fi
25304
25305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25306 else
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.$ac_ext >&5
25309
25310
25311 fi
25312
25313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25314 if test $ac_cv_c_bigendian = unknown; then
25315 if test "$cross_compiling" = yes; then
25316 ac_cv_c_bigendian=unknown
25317 else
25318 cat >conftest.$ac_ext <<_ACEOF
25319 /* confdefs.h. */
25320 _ACEOF
25321 cat confdefs.h >>conftest.$ac_ext
25322 cat >>conftest.$ac_ext <<_ACEOF
25323 /* end confdefs.h. */
25324 main () {
25325 /* Are we little or big endian? From Harbison&Steele. */
25326 union
25327 {
25328 long l;
25329 char c[sizeof (long)];
25330 } u;
25331 u.l = 1;
25332 exit (u.c[sizeof (long) - 1] == 1);
25333 }
25334 _ACEOF
25335 rm -f conftest$ac_exeext
25336 if { (ac_try="$ac_link"
25337 case "(($ac_try" in
25338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25339 *) ac_try_echo=$ac_try;;
25340 esac
25341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25342 (eval "$ac_link") 2>&5
25343 ac_status=$?
25344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25345 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25346 { (case "(($ac_try" in
25347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25348 *) ac_try_echo=$ac_try;;
25349 esac
25350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25351 (eval "$ac_try") 2>&5
25352 ac_status=$?
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; }; then
25355 ac_cv_c_bigendian=no
25356 else
25357 echo "$as_me: program exited with status $ac_status" >&5
25358 echo "$as_me: failed program was:" >&5
25359 sed 's/^/| /' conftest.$ac_ext >&5
25360
25361 ( exit $ac_status )
25362 ac_cv_c_bigendian=yes
25363 fi
25364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25365 fi
25366
25367
25368 fi
25369 fi
25370 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25371 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25372 if test $ac_cv_c_bigendian = unknown; then
25373 { echo "$as_me:$LINENO: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
25374 echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
25375 fi
25376 if test $ac_cv_c_bigendian = yes; then
25377 cat >>confdefs.h <<\_ACEOF
25378 #define WORDS_BIGENDIAN 1
25379 _ACEOF
25380
25381 fi
25382
25383
25384
25385
25386 ac_ext=cpp
25387 ac_cpp='$CXXCPP $CPPFLAGS'
25388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25391
25392
25393
25394 for ac_header in iostream
25395 do
25396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25397 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25399 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25400 echo $ECHO_N "(cached) $ECHO_C" >&6
25401 else
25402 cat >conftest.$ac_ext <<_ACEOF
25403 /* confdefs.h. */
25404 _ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25408
25409
25410 #include <$ac_header>
25411 _ACEOF
25412 rm -f conftest.$ac_objext
25413 if { (ac_try="$ac_compile"
25414 case "(($ac_try" in
25415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25416 *) ac_try_echo=$ac_try;;
25417 esac
25418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25419 (eval "$ac_compile") 2>conftest.er1
25420 ac_status=$?
25421 grep -v '^ *+' conftest.er1 >conftest.err
25422 rm -f conftest.er1
25423 cat conftest.err >&5
25424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25425 (exit $ac_status); } && {
25426 test -z "$ac_cxx_werror_flag" ||
25427 test ! -s conftest.err
25428 } && test -s conftest.$ac_objext; then
25429 eval "$as_ac_Header=yes"
25430 else
25431 echo "$as_me: failed program was:" >&5
25432 sed 's/^/| /' conftest.$ac_ext >&5
25433
25434 eval "$as_ac_Header=no"
25435 fi
25436
25437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25438 fi
25439 ac_res=`eval echo '${'$as_ac_Header'}'`
25440 { echo "$as_me:$LINENO: result: $ac_res" >&5
25441 echo "${ECHO_T}$ac_res" >&6; }
25442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25443 cat >>confdefs.h <<_ACEOF
25444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25445 _ACEOF
25446
25447 fi
25448
25449 done
25450
25451
25452 if test "$ac_cv_header_iostream" = "yes" ; then
25453 :
25454 else
25455 cat >>confdefs.h <<\_ACEOF
25456 #define wxUSE_IOSTREAMH 1
25457 _ACEOF
25458
25459 fi
25460
25461 ac_ext=c
25462 ac_cpp='$CPP $CPPFLAGS'
25463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25466
25467
25468
25469
25470 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25471 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25472 if test "${wx_cv_explicit+set}" = set; then
25473 echo $ECHO_N "(cached) $ECHO_C" >&6
25474 else
25475
25476
25477 ac_ext=cpp
25478 ac_cpp='$CXXCPP $CPPFLAGS'
25479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25482
25483
25484 cat >conftest.$ac_ext <<_ACEOF
25485 /* confdefs.h. */
25486 _ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25490
25491 class Foo { public: explicit Foo(int) {} };
25492
25493 int
25494 main ()
25495 {
25496
25497 return 0;
25498
25499 ;
25500 return 0;
25501 }
25502 _ACEOF
25503 rm -f conftest.$ac_objext
25504 if { (ac_try="$ac_compile"
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_compile") 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_cxx_werror_flag" ||
25518 test ! -s conftest.err
25519 } && test -s conftest.$ac_objext; then
25520
25521 cat >conftest.$ac_ext <<_ACEOF
25522 /* confdefs.h. */
25523 _ACEOF
25524 cat confdefs.h >>conftest.$ac_ext
25525 cat >>conftest.$ac_ext <<_ACEOF
25526 /* end confdefs.h. */
25527
25528 class Foo { public: explicit Foo(int) {} };
25529 static void TakeFoo(const Foo& foo) { }
25530
25531 int
25532 main ()
25533 {
25534
25535 TakeFoo(17);
25536 return 0;
25537
25538 ;
25539 return 0;
25540 }
25541 _ACEOF
25542 rm -f conftest.$ac_objext
25543 if { (ac_try="$ac_compile"
25544 case "(($ac_try" in
25545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25546 *) ac_try_echo=$ac_try;;
25547 esac
25548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25549 (eval "$ac_compile") 2>conftest.er1
25550 ac_status=$?
25551 grep -v '^ *+' conftest.er1 >conftest.err
25552 rm -f conftest.er1
25553 cat conftest.err >&5
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); } && {
25556 test -z "$ac_cxx_werror_flag" ||
25557 test ! -s conftest.err
25558 } && test -s conftest.$ac_objext; then
25559 wx_cv_explicit=no
25560 else
25561 echo "$as_me: failed program was:" >&5
25562 sed 's/^/| /' conftest.$ac_ext >&5
25563
25564 wx_cv_explicit=yes
25565
25566 fi
25567
25568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569
25570 else
25571 echo "$as_me: failed program was:" >&5
25572 sed 's/^/| /' conftest.$ac_ext >&5
25573
25574 wx_cv_explicit=no
25575
25576 fi
25577
25578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25579
25580 ac_ext=c
25581 ac_cpp='$CPP $CPPFLAGS'
25582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25585
25586
25587 fi
25588 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25589 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25590
25591 if test "$wx_cv_explicit" = "yes"; then
25592 cat >>confdefs.h <<\_ACEOF
25593 #define HAVE_EXPLICIT 1
25594 _ACEOF
25595
25596 fi
25597
25598
25599 if test "x$SUNCXX" = xyes; then
25600 CXXFLAGS="-features=tmplife $CXXFLAGS"
25601 fi
25602
25603 if test "x$SUNCC" = xyes; then
25604 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25605 fi
25606
25607 if test "x$SGICC" = "xyes"; then
25608 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25609 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25610 if test "${wx_cv_prog_sgicc744+set}" = set; then
25611 echo $ECHO_N "(cached) $ECHO_C" >&6
25612 else
25613
25614 cat >conftest.$ac_ext <<_ACEOF
25615 /* confdefs.h. */
25616 _ACEOF
25617 cat confdefs.h >>conftest.$ac_ext
25618 cat >>conftest.$ac_ext <<_ACEOF
25619 /* end confdefs.h. */
25620
25621 int
25622 main ()
25623 {
25624
25625 #if _SGI_COMPILER_VERSION >= 744
25626 chock me: mipsPro is 7.4.4 or later
25627 #endif
25628
25629 ;
25630 return 0;
25631 }
25632 _ACEOF
25633 rm -f conftest.$ac_objext
25634 if { (ac_try="$ac_compile"
25635 case "(($ac_try" in
25636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25637 *) ac_try_echo=$ac_try;;
25638 esac
25639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25640 (eval "$ac_compile") 2>conftest.er1
25641 ac_status=$?
25642 grep -v '^ *+' conftest.er1 >conftest.err
25643 rm -f conftest.er1
25644 cat conftest.err >&5
25645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25646 (exit $ac_status); } && {
25647 test -z "$ac_c_werror_flag" ||
25648 test ! -s conftest.err
25649 } && test -s conftest.$ac_objext; then
25650 wx_cv_prog_sgicc744=no
25651 else
25652 echo "$as_me: failed program was:" >&5
25653 sed 's/^/| /' conftest.$ac_ext >&5
25654
25655 wx_cv_prog_sgicc744=yes
25656
25657 fi
25658
25659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25660
25661
25662 fi
25663 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25664 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25665
25666 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25667 CFLAGS="-woff 3970 $CFLAGS"
25668 fi
25669 fi
25670 if test "x$SGICXX" = "xyes"; then
25671 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25672 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25673 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 else
25676
25677 ac_ext=cpp
25678 ac_cpp='$CXXCPP $CPPFLAGS'
25679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25682
25683 cat >conftest.$ac_ext <<_ACEOF
25684 /* confdefs.h. */
25685 _ACEOF
25686 cat confdefs.h >>conftest.$ac_ext
25687 cat >>conftest.$ac_ext <<_ACEOF
25688 /* end confdefs.h. */
25689
25690 int
25691 main ()
25692 {
25693
25694 #if _SGI_COMPILER_VERSION >= 744
25695 chock me: mipsPro is 7.4.4 or later
25696 #endif
25697
25698 ;
25699 return 0;
25700 }
25701 _ACEOF
25702 rm -f conftest.$ac_objext
25703 if { (ac_try="$ac_compile"
25704 case "(($ac_try" in
25705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25706 *) ac_try_echo=$ac_try;;
25707 esac
25708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25709 (eval "$ac_compile") 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } && {
25716 test -z "$ac_cxx_werror_flag" ||
25717 test ! -s conftest.err
25718 } && test -s conftest.$ac_objext; then
25719 wx_cv_prog_sgicxx744=no
25720 else
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.$ac_ext >&5
25723
25724 wx_cv_prog_sgicxx744=yes
25725
25726 fi
25727
25728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25729 ac_ext=c
25730 ac_cpp='$CPP $CPPFLAGS'
25731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25734
25735
25736
25737 fi
25738 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25739 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25740
25741 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25742 CXXFLAGS="-woff 3970 $CXXFLAGS"
25743 fi
25744 fi
25745
25746 if test "x$HPCC" = "xyes"; then
25747 CFLAGS="+W 2011,2450 $CFLAGS"
25748 fi
25749 if test "x$HPCXX" = "xyes"; then
25750 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25751 fi
25752
25753 if test "x$COMPAQCXX" = "xyes"; then
25754 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25755 fi
25756
25757 ac_ext=cpp
25758 ac_cpp='$CXXCPP $CPPFLAGS'
25759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25762
25763
25764 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25765 if test "$wxUSE_UNICODE" = "yes"; then
25766 std_string="std::wstring"
25767 char_type="wchar_t"
25768 else
25769 std_string="std::string"
25770 char_type="char"
25771 fi
25772
25773 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25774 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25775 if test "${wx_cv_class_stdstring+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 else
25778
25779 cat >conftest.$ac_ext <<_ACEOF
25780 /* confdefs.h. */
25781 _ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25785 #include <string>
25786 int
25787 main ()
25788 {
25789 $std_string foo;
25790 ;
25791 return 0;
25792 }
25793 _ACEOF
25794 rm -f conftest.$ac_objext
25795 if { (ac_try="$ac_compile"
25796 case "(($ac_try" in
25797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25798 *) ac_try_echo=$ac_try;;
25799 esac
25800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25801 (eval "$ac_compile") 2>conftest.er1
25802 ac_status=$?
25803 grep -v '^ *+' conftest.er1 >conftest.err
25804 rm -f conftest.er1
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } && {
25808 test -z "$ac_cxx_werror_flag" ||
25809 test ! -s conftest.err
25810 } && test -s conftest.$ac_objext; then
25811 wx_cv_class_stdstring=yes
25812 else
25813 echo "$as_me: failed program was:" >&5
25814 sed 's/^/| /' conftest.$ac_ext >&5
25815
25816 wx_cv_class_stdstring=no
25817
25818 fi
25819
25820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25821
25822
25823 fi
25824 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25825 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25826
25827 if test "$wx_cv_class_stdstring" = yes; then
25828 if test "$wxUSE_UNICODE" = "yes"; then
25829 cat >>confdefs.h <<\_ACEOF
25830 #define HAVE_STD_WSTRING 1
25831 _ACEOF
25832
25833 fi
25834 else
25835 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25836 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25837 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25838 echo $ECHO_N "(cached) $ECHO_C" >&6
25839 else
25840
25841 cat >conftest.$ac_ext <<_ACEOF
25842 /* confdefs.h. */
25843 _ACEOF
25844 cat confdefs.h >>conftest.$ac_ext
25845 cat >>conftest.$ac_ext <<_ACEOF
25846 /* end confdefs.h. */
25847
25848 #ifdef HAVE_WCHAR_H
25849 # ifdef __CYGWIN__
25850 # include <stddef.h>
25851 # endif
25852 # include <wchar.h>
25853 #endif
25854 #ifdef HAVE_STDLIB_H
25855 # include <stdlib.h>
25856 #endif
25857 #include <stdio.h>
25858 #include <string>
25859
25860 int
25861 main ()
25862 {
25863 std::basic_string<$char_type> foo;
25864 const $char_type* dummy = foo.c_str();
25865 ;
25866 return 0;
25867 }
25868 _ACEOF
25869 rm -f conftest.$ac_objext
25870 if { (ac_try="$ac_compile"
25871 case "(($ac_try" in
25872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25873 *) ac_try_echo=$ac_try;;
25874 esac
25875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25876 (eval "$ac_compile") 2>conftest.er1
25877 ac_status=$?
25878 grep -v '^ *+' conftest.er1 >conftest.err
25879 rm -f conftest.er1
25880 cat conftest.err >&5
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); } && {
25883 test -z "$ac_cxx_werror_flag" ||
25884 test ! -s conftest.err
25885 } && test -s conftest.$ac_objext; then
25886 wx_cv_class_stdbasicstring=yes
25887 else
25888 echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.$ac_ext >&5
25890
25891 wx_cv_class_stdbasicstring=no
25892
25893 fi
25894
25895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25896
25897
25898 fi
25899 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25900 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25901
25902 if test "$wx_cv_class_stdbasicstring" != yes; then
25903 if test "$wxUSE_STL" = "yes"; then
25904 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
25905 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25906 { (exit 1); exit 1; }; }
25907 elif test "$wxUSE_STD_STRING" = "yes"; then
25908 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
25909 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25910 { (exit 1); exit 1; }; }
25911 else
25912 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25913 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25914 wxUSE_STD_STRING=no
25915 fi
25916 fi
25917 fi
25918 fi
25919
25920 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25921 { echo "$as_me:$LINENO: checking for std::istream" >&5
25922 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25923 if test "${ac_cv_type_std__istream+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25925 else
25926 cat >conftest.$ac_ext <<_ACEOF
25927 /* confdefs.h. */
25928 _ACEOF
25929 cat confdefs.h >>conftest.$ac_ext
25930 cat >>conftest.$ac_ext <<_ACEOF
25931 /* end confdefs.h. */
25932 #include <iostream>
25933
25934 typedef std::istream ac__type_new_;
25935 int
25936 main ()
25937 {
25938 if ((ac__type_new_ *) 0)
25939 return 0;
25940 if (sizeof (ac__type_new_))
25941 return 0;
25942 ;
25943 return 0;
25944 }
25945 _ACEOF
25946 rm -f conftest.$ac_objext
25947 if { (ac_try="$ac_compile"
25948 case "(($ac_try" in
25949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25950 *) ac_try_echo=$ac_try;;
25951 esac
25952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25953 (eval "$ac_compile") 2>conftest.er1
25954 ac_status=$?
25955 grep -v '^ *+' conftest.er1 >conftest.err
25956 rm -f conftest.er1
25957 cat conftest.err >&5
25958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25959 (exit $ac_status); } && {
25960 test -z "$ac_cxx_werror_flag" ||
25961 test ! -s conftest.err
25962 } && test -s conftest.$ac_objext; then
25963 ac_cv_type_std__istream=yes
25964 else
25965 echo "$as_me: failed program was:" >&5
25966 sed 's/^/| /' conftest.$ac_ext >&5
25967
25968 ac_cv_type_std__istream=no
25969 fi
25970
25971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25972 fi
25973 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25974 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25975 if test $ac_cv_type_std__istream = yes; then
25976
25977 cat >>confdefs.h <<_ACEOF
25978 #define HAVE_STD__ISTREAM 1
25979 _ACEOF
25980
25981
25982 else
25983 wxUSE_STD_IOSTREAM=no
25984 fi
25985 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25986 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25987 if test "${ac_cv_type_std__ostream+set}" = set; then
25988 echo $ECHO_N "(cached) $ECHO_C" >&6
25989 else
25990 cat >conftest.$ac_ext <<_ACEOF
25991 /* confdefs.h. */
25992 _ACEOF
25993 cat confdefs.h >>conftest.$ac_ext
25994 cat >>conftest.$ac_ext <<_ACEOF
25995 /* end confdefs.h. */
25996 #include <iostream>
25997
25998 typedef std::ostream ac__type_new_;
25999 int
26000 main ()
26001 {
26002 if ((ac__type_new_ *) 0)
26003 return 0;
26004 if (sizeof (ac__type_new_))
26005 return 0;
26006 ;
26007 return 0;
26008 }
26009 _ACEOF
26010 rm -f conftest.$ac_objext
26011 if { (ac_try="$ac_compile"
26012 case "(($ac_try" in
26013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26014 *) ac_try_echo=$ac_try;;
26015 esac
26016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26017 (eval "$ac_compile") 2>conftest.er1
26018 ac_status=$?
26019 grep -v '^ *+' conftest.er1 >conftest.err
26020 rm -f conftest.er1
26021 cat conftest.err >&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } && {
26024 test -z "$ac_cxx_werror_flag" ||
26025 test ! -s conftest.err
26026 } && test -s conftest.$ac_objext; then
26027 ac_cv_type_std__ostream=yes
26028 else
26029 echo "$as_me: failed program was:" >&5
26030 sed 's/^/| /' conftest.$ac_ext >&5
26031
26032 ac_cv_type_std__ostream=no
26033 fi
26034
26035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26036 fi
26037 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26038 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26039 if test $ac_cv_type_std__ostream = yes; then
26040
26041 cat >>confdefs.h <<_ACEOF
26042 #define HAVE_STD__OSTREAM 1
26043 _ACEOF
26044
26045
26046 else
26047 wxUSE_STD_IOSTREAM=no
26048 fi
26049
26050
26051 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26052 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26053 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
26054 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26055 { (exit 1); exit 1; }; }
26056 else
26057 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26058 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26059 fi
26060 fi
26061 fi
26062
26063 if test "$wxUSE_STL" = "yes"; then
26064 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26065 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26066 if test "${wx_cv_lib_stl+set}" = set; then
26067 echo $ECHO_N "(cached) $ECHO_C" >&6
26068 else
26069 cat >conftest.$ac_ext <<_ACEOF
26070 /* confdefs.h. */
26071 _ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26075 #include <string>
26076 #include <functional>
26077 #include <algorithm>
26078 #include <vector>
26079 #include <list>
26080 int
26081 main ()
26082 {
26083 std::vector<int> moo;
26084 std::list<int> foo;
26085 std::vector<int>::iterator it =
26086 std::find_if(moo.begin(), moo.end(),
26087 std::bind2nd(std::less<int>(), 3));
26088 ;
26089 return 0;
26090 }
26091 _ACEOF
26092 rm -f conftest.$ac_objext
26093 if { (ac_try="$ac_compile"
26094 case "(($ac_try" in
26095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26096 *) ac_try_echo=$ac_try;;
26097 esac
26098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26099 (eval "$ac_compile") 2>conftest.er1
26100 ac_status=$?
26101 grep -v '^ *+' conftest.er1 >conftest.err
26102 rm -f conftest.er1
26103 cat conftest.err >&5
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); } && {
26106 test -z "$ac_cxx_werror_flag" ||
26107 test ! -s conftest.err
26108 } && test -s conftest.$ac_objext; then
26109 wx_cv_lib_stl=yes
26110 else
26111 echo "$as_me: failed program was:" >&5
26112 sed 's/^/| /' conftest.$ac_ext >&5
26113
26114 wx_cv_lib_stl=no
26115
26116 fi
26117
26118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26119
26120 fi
26121 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26122 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26123
26124 if test "$wx_cv_lib_stl" != yes; then
26125 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
26126 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
26127 { (exit 1); exit 1; }; }
26128 fi
26129
26130 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26131 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26132 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26133 echo $ECHO_N "(cached) $ECHO_C" >&6
26134 else
26135 cat >conftest.$ac_ext <<_ACEOF
26136 /* confdefs.h. */
26137 _ACEOF
26138 cat confdefs.h >>conftest.$ac_ext
26139 cat >>conftest.$ac_ext <<_ACEOF
26140 /* end confdefs.h. */
26141 #include <string>
26142 int
26143 main ()
26144 {
26145 std::string foo, bar;
26146 foo.compare(bar);
26147 foo.compare(1, 1, bar);
26148 foo.compare(1, 1, bar, 1, 1);
26149 foo.compare("");
26150 foo.compare(1, 1, "");
26151 foo.compare(1, 1, "", 2);
26152 ;
26153 return 0;
26154 }
26155 _ACEOF
26156 rm -f conftest.$ac_objext
26157 if { (ac_try="$ac_compile"
26158 case "(($ac_try" in
26159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26160 *) ac_try_echo=$ac_try;;
26161 esac
26162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26163 (eval "$ac_compile") 2>conftest.er1
26164 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } && {
26170 test -z "$ac_cxx_werror_flag" ||
26171 test ! -s conftest.err
26172 } && test -s conftest.$ac_objext; then
26173 wx_cv_func_stdstring_compare=yes
26174 else
26175 echo "$as_me: failed program was:" >&5
26176 sed 's/^/| /' conftest.$ac_ext >&5
26177
26178 wx_cv_func_stdstring_compare=no
26179
26180 fi
26181
26182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26183
26184 fi
26185 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26186 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26187
26188 if test "$wx_cv_func_stdstring_compare" = yes; then
26189 cat >>confdefs.h <<\_ACEOF
26190 #define HAVE_STD_STRING_COMPARE 1
26191 _ACEOF
26192
26193 fi
26194
26195 if test "$wx_cv_class_gnuhashmapset" = yes; then
26196 cat >>confdefs.h <<\_ACEOF
26197 #define HAVE_EXT_HASH_MAP 1
26198 _ACEOF
26199
26200 cat >>confdefs.h <<\_ACEOF
26201 #define HAVE_GNU_CXX_HASH_MAP 1
26202 _ACEOF
26203
26204 fi
26205
26206 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26207 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26208 if test "${ac_cv_header_unordered_map+set}" = set; then
26209 echo $ECHO_N "(cached) $ECHO_C" >&6
26210 else
26211 cat >conftest.$ac_ext <<_ACEOF
26212 /* confdefs.h. */
26213 _ACEOF
26214 cat confdefs.h >>conftest.$ac_ext
26215 cat >>conftest.$ac_ext <<_ACEOF
26216 /* end confdefs.h. */
26217
26218
26219
26220 #include <unordered_map>
26221 _ACEOF
26222 rm -f conftest.$ac_objext
26223 if { (ac_try="$ac_compile"
26224 case "(($ac_try" in
26225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26226 *) ac_try_echo=$ac_try;;
26227 esac
26228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26229 (eval "$ac_compile") 2>conftest.er1
26230 ac_status=$?
26231 grep -v '^ *+' conftest.er1 >conftest.err
26232 rm -f conftest.er1
26233 cat conftest.err >&5
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); } && {
26236 test -z "$ac_cxx_werror_flag" ||
26237 test ! -s conftest.err
26238 } && test -s conftest.$ac_objext; then
26239 ac_cv_header_unordered_map=yes
26240 else
26241 echo "$as_me: failed program was:" >&5
26242 sed 's/^/| /' conftest.$ac_ext >&5
26243
26244 ac_cv_header_unordered_map=no
26245 fi
26246
26247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26248 fi
26249 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26250 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26251 if test $ac_cv_header_unordered_map = yes; then
26252 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26253 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26254 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26255 echo $ECHO_N "(cached) $ECHO_C" >&6
26256 else
26257 cat >conftest.$ac_ext <<_ACEOF
26258 /* confdefs.h. */
26259 _ACEOF
26260 cat confdefs.h >>conftest.$ac_ext
26261 cat >>conftest.$ac_ext <<_ACEOF
26262 /* end confdefs.h. */
26263 #include <unordered_map>
26264 #include <unordered_set>
26265 int
26266 main ()
26267 {
26268 std::unordered_map<double*, char*> test1;
26269 std::unordered_set<char*> test2;
26270 ;
26271 return 0;
26272 }
26273 _ACEOF
26274 rm -f conftest.$ac_objext
26275 if { (ac_try="$ac_compile"
26276 case "(($ac_try" in
26277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26278 *) ac_try_echo=$ac_try;;
26279 esac
26280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26281 (eval "$ac_compile") 2>conftest.er1
26282 ac_status=$?
26283 grep -v '^ *+' conftest.er1 >conftest.err
26284 rm -f conftest.er1
26285 cat conftest.err >&5
26286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26287 (exit $ac_status); } && {
26288 test -z "$ac_cxx_werror_flag" ||
26289 test ! -s conftest.err
26290 } && test -s conftest.$ac_objext; then
26291 wx_cv_class_stdunorderedmapset=yes
26292 else
26293 echo "$as_me: failed program was:" >&5
26294 sed 's/^/| /' conftest.$ac_ext >&5
26295
26296 wx_cv_class_stdunorderedmapset=no
26297 fi
26298
26299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26300
26301
26302 fi
26303 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26304 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26305 fi
26306
26307
26308
26309 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26310 cat >>confdefs.h <<\_ACEOF
26311 #define HAVE_STD_UNORDERED_MAP 1
26312 _ACEOF
26313
26314 cat >>confdefs.h <<\_ACEOF
26315 #define HAVE_STD_UNORDERED_SET 1
26316 _ACEOF
26317
26318 else
26319 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26320 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26321 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26322 echo $ECHO_N "(cached) $ECHO_C" >&6
26323 else
26324 cat >conftest.$ac_ext <<_ACEOF
26325 /* confdefs.h. */
26326 _ACEOF
26327 cat confdefs.h >>conftest.$ac_ext
26328 cat >>conftest.$ac_ext <<_ACEOF
26329 /* end confdefs.h. */
26330
26331
26332
26333 #include <tr1/unordered_map>
26334 _ACEOF
26335 rm -f conftest.$ac_objext
26336 if { (ac_try="$ac_compile"
26337 case "(($ac_try" in
26338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26339 *) ac_try_echo=$ac_try;;
26340 esac
26341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26342 (eval "$ac_compile") 2>conftest.er1
26343 ac_status=$?
26344 grep -v '^ *+' conftest.er1 >conftest.err
26345 rm -f conftest.er1
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } && {
26349 test -z "$ac_cxx_werror_flag" ||
26350 test ! -s conftest.err
26351 } && test -s conftest.$ac_objext; then
26352 ac_cv_header_tr1_unordered_map=yes
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26356
26357 ac_cv_header_tr1_unordered_map=no
26358 fi
26359
26360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26361 fi
26362 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26363 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26364 if test $ac_cv_header_tr1_unordered_map = yes; then
26365 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26366 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26367 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26368 echo $ECHO_N "(cached) $ECHO_C" >&6
26369 else
26370 cat >conftest.$ac_ext <<_ACEOF
26371 /* confdefs.h. */
26372 _ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376 #include <tr1/unordered_map>
26377 #include <tr1/unordered_set>
26378 int
26379 main ()
26380 {
26381 std::tr1::unordered_map<double*, char*> test1;
26382 std::tr1::unordered_set<char*> test2;
26383 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26384 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
26385 #endif
26386 ;
26387 return 0;
26388 }
26389 _ACEOF
26390 rm -f conftest.$ac_objext
26391 if { (ac_try="$ac_compile"
26392 case "(($ac_try" in
26393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26394 *) ac_try_echo=$ac_try;;
26395 esac
26396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26397 (eval "$ac_compile") 2>conftest.er1
26398 ac_status=$?
26399 grep -v '^ *+' conftest.er1 >conftest.err
26400 rm -f conftest.er1
26401 cat conftest.err >&5
26402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26403 (exit $ac_status); } && {
26404 test -z "$ac_cxx_werror_flag" ||
26405 test ! -s conftest.err
26406 } && test -s conftest.$ac_objext; then
26407 wx_cv_class_tr1unorderedmapset=yes
26408 else
26409 echo "$as_me: failed program was:" >&5
26410 sed 's/^/| /' conftest.$ac_ext >&5
26411
26412 wx_cv_class_tr1unorderedmapset=no
26413 fi
26414
26415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26416
26417
26418 fi
26419 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26420 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26421 fi
26422
26423
26424
26425 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26426 cat >>confdefs.h <<\_ACEOF
26427 #define HAVE_TR1_UNORDERED_MAP 1
26428 _ACEOF
26429
26430 cat >>confdefs.h <<\_ACEOF
26431 #define HAVE_TR1_UNORDERED_SET 1
26432 _ACEOF
26433
26434 else
26435 { echo "$as_me:$LINENO: checking for hash_map" >&5
26436 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26437 if test "${ac_cv_header_hash_map+set}" = set; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26440 cat >conftest.$ac_ext <<_ACEOF
26441 /* confdefs.h. */
26442 _ACEOF
26443 cat confdefs.h >>conftest.$ac_ext
26444 cat >>conftest.$ac_ext <<_ACEOF
26445 /* end confdefs.h. */
26446
26447
26448
26449 #include <hash_map>
26450 _ACEOF
26451 rm -f conftest.$ac_objext
26452 if { (ac_try="$ac_compile"
26453 case "(($ac_try" in
26454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26455 *) ac_try_echo=$ac_try;;
26456 esac
26457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26458 (eval "$ac_compile") 2>conftest.er1
26459 ac_status=$?
26460 grep -v '^ *+' conftest.er1 >conftest.err
26461 rm -f conftest.er1
26462 cat conftest.err >&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); } && {
26465 test -z "$ac_cxx_werror_flag" ||
26466 test ! -s conftest.err
26467 } && test -s conftest.$ac_objext; then
26468 ac_cv_header_hash_map=yes
26469 else
26470 echo "$as_me: failed program was:" >&5
26471 sed 's/^/| /' conftest.$ac_ext >&5
26472
26473 ac_cv_header_hash_map=no
26474 fi
26475
26476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26477 fi
26478 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26479 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26480 if test $ac_cv_header_hash_map = yes; then
26481 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26482 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26483 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26484 echo $ECHO_N "(cached) $ECHO_C" >&6
26485 else
26486 cat >conftest.$ac_ext <<_ACEOF
26487 /* confdefs.h. */
26488 _ACEOF
26489 cat confdefs.h >>conftest.$ac_ext
26490 cat >>conftest.$ac_ext <<_ACEOF
26491 /* end confdefs.h. */
26492 #include <hash_map>
26493 #include <hash_set>
26494 int
26495 main ()
26496 {
26497 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26498 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26499 ;
26500 return 0;
26501 }
26502 _ACEOF
26503 rm -f conftest.$ac_objext
26504 if { (ac_try="$ac_compile"
26505 case "(($ac_try" in
26506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26507 *) ac_try_echo=$ac_try;;
26508 esac
26509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26510 (eval "$ac_compile") 2>conftest.er1
26511 ac_status=$?
26512 grep -v '^ *+' conftest.er1 >conftest.err
26513 rm -f conftest.er1
26514 cat conftest.err >&5
26515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26516 (exit $ac_status); } && {
26517 test -z "$ac_cxx_werror_flag" ||
26518 test ! -s conftest.err
26519 } && test -s conftest.$ac_objext; then
26520 wx_cv_class_stdhashmapset=yes
26521 else
26522 echo "$as_me: failed program was:" >&5
26523 sed 's/^/| /' conftest.$ac_ext >&5
26524
26525 wx_cv_class_stdhashmapset=no
26526 fi
26527
26528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26529
26530
26531 fi
26532 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26533 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26534 fi
26535
26536
26537
26538 if test "$wx_cv_class_stdhashmapset" = yes; then
26539 cat >>confdefs.h <<\_ACEOF
26540 #define HAVE_HASH_MAP 1
26541 _ACEOF
26542
26543 cat >>confdefs.h <<\_ACEOF
26544 #define HAVE_STD_HASH_MAP 1
26545 _ACEOF
26546
26547 fi
26548
26549 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26550 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26551 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26552 echo $ECHO_N "(cached) $ECHO_C" >&6
26553 else
26554 cat >conftest.$ac_ext <<_ACEOF
26555 /* confdefs.h. */
26556 _ACEOF
26557 cat confdefs.h >>conftest.$ac_ext
26558 cat >>conftest.$ac_ext <<_ACEOF
26559 /* end confdefs.h. */
26560
26561
26562
26563 #include <ext/hash_map>
26564 _ACEOF
26565 rm -f conftest.$ac_objext
26566 if { (ac_try="$ac_compile"
26567 case "(($ac_try" in
26568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26569 *) ac_try_echo=$ac_try;;
26570 esac
26571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26572 (eval "$ac_compile") 2>conftest.er1
26573 ac_status=$?
26574 grep -v '^ *+' conftest.er1 >conftest.err
26575 rm -f conftest.er1
26576 cat conftest.err >&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); } && {
26579 test -z "$ac_cxx_werror_flag" ||
26580 test ! -s conftest.err
26581 } && test -s conftest.$ac_objext; then
26582 ac_cv_header_ext_hash_map=yes
26583 else
26584 echo "$as_me: failed program was:" >&5
26585 sed 's/^/| /' conftest.$ac_ext >&5
26586
26587 ac_cv_header_ext_hash_map=no
26588 fi
26589
26590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26591 fi
26592 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26593 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26594 if test $ac_cv_header_ext_hash_map = yes; then
26595 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26596 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26597 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26598 echo $ECHO_N "(cached) $ECHO_C" >&6
26599 else
26600 cat >conftest.$ac_ext <<_ACEOF
26601 /* confdefs.h. */
26602 _ACEOF
26603 cat confdefs.h >>conftest.$ac_ext
26604 cat >>conftest.$ac_ext <<_ACEOF
26605 /* end confdefs.h. */
26606 #include <ext/hash_map>
26607 #include <ext/hash_set>
26608 int
26609 main ()
26610 {
26611 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26612 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26613 ;
26614 return 0;
26615 }
26616 _ACEOF
26617 rm -f conftest.$ac_objext
26618 if { (ac_try="$ac_compile"
26619 case "(($ac_try" in
26620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26621 *) ac_try_echo=$ac_try;;
26622 esac
26623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26624 (eval "$ac_compile") 2>conftest.er1
26625 ac_status=$?
26626 grep -v '^ *+' conftest.er1 >conftest.err
26627 rm -f conftest.er1
26628 cat conftest.err >&5
26629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26630 (exit $ac_status); } && {
26631 test -z "$ac_cxx_werror_flag" ||
26632 test ! -s conftest.err
26633 } && test -s conftest.$ac_objext; then
26634 wx_cv_class_gnuhashmapset=yes
26635 else
26636 echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26638
26639 wx_cv_class_gnuhashmapset=no
26640 fi
26641
26642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26643
26644
26645 fi
26646 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26647 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26648 fi
26649
26650
26651
26652 fi
26653 fi
26654 fi
26655
26656 ac_ext=cpp
26657 ac_cpp='$CXXCPP $CPPFLAGS'
26658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26661 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26662 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26663 if test -z "$CXXCPP"; then
26664 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26665 echo $ECHO_N "(cached) $ECHO_C" >&6
26666 else
26667 # Double quotes because CXXCPP needs to be expanded
26668 for CXXCPP in "$CXX -E" "/lib/cpp"
26669 do
26670 ac_preproc_ok=false
26671 for ac_cxx_preproc_warn_flag in '' yes
26672 do
26673 # Use a header file that comes with gcc, so configuring glibc
26674 # with a fresh cross-compiler works.
26675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26676 # <limits.h> exists even on freestanding compilers.
26677 # On the NeXT, cc -E runs the code through the compiler's parser,
26678 # not just through cpp. "Syntax error" is here to catch this case.
26679 cat >conftest.$ac_ext <<_ACEOF
26680 /* confdefs.h. */
26681 _ACEOF
26682 cat confdefs.h >>conftest.$ac_ext
26683 cat >>conftest.$ac_ext <<_ACEOF
26684 /* end confdefs.h. */
26685 #ifdef __STDC__
26686 # include <limits.h>
26687 #else
26688 # include <assert.h>
26689 #endif
26690 Syntax error
26691 _ACEOF
26692 if { (ac_try="$ac_cpp conftest.$ac_ext"
26693 case "(($ac_try" in
26694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26695 *) ac_try_echo=$ac_try;;
26696 esac
26697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26699 ac_status=$?
26700 grep -v '^ *+' conftest.er1 >conftest.err
26701 rm -f conftest.er1
26702 cat conftest.err >&5
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); } >/dev/null && {
26705 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26706 test ! -s conftest.err
26707 }; then
26708 :
26709 else
26710 echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.$ac_ext >&5
26712
26713 # Broken: fails on valid input.
26714 continue
26715 fi
26716
26717 rm -f conftest.err conftest.$ac_ext
26718
26719 # OK, works on sane cases. Now check whether nonexistent headers
26720 # can be detected and how.
26721 cat >conftest.$ac_ext <<_ACEOF
26722 /* confdefs.h. */
26723 _ACEOF
26724 cat confdefs.h >>conftest.$ac_ext
26725 cat >>conftest.$ac_ext <<_ACEOF
26726 /* end confdefs.h. */
26727 #include <ac_nonexistent.h>
26728 _ACEOF
26729 if { (ac_try="$ac_cpp conftest.$ac_ext"
26730 case "(($ac_try" in
26731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26732 *) ac_try_echo=$ac_try;;
26733 esac
26734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26736 ac_status=$?
26737 grep -v '^ *+' conftest.er1 >conftest.err
26738 rm -f conftest.er1
26739 cat conftest.err >&5
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); } >/dev/null && {
26742 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26743 test ! -s conftest.err
26744 }; then
26745 # Broken: success on invalid input.
26746 continue
26747 else
26748 echo "$as_me: failed program was:" >&5
26749 sed 's/^/| /' conftest.$ac_ext >&5
26750
26751 # Passes both tests.
26752 ac_preproc_ok=:
26753 break
26754 fi
26755
26756 rm -f conftest.err conftest.$ac_ext
26757
26758 done
26759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26760 rm -f conftest.err conftest.$ac_ext
26761 if $ac_preproc_ok; then
26762 break
26763 fi
26764
26765 done
26766 ac_cv_prog_CXXCPP=$CXXCPP
26767
26768 fi
26769 CXXCPP=$ac_cv_prog_CXXCPP
26770 else
26771 ac_cv_prog_CXXCPP=$CXXCPP
26772 fi
26773 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26774 echo "${ECHO_T}$CXXCPP" >&6; }
26775 ac_preproc_ok=false
26776 for ac_cxx_preproc_warn_flag in '' yes
26777 do
26778 # Use a header file that comes with gcc, so configuring glibc
26779 # with a fresh cross-compiler works.
26780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26781 # <limits.h> exists even on freestanding compilers.
26782 # On the NeXT, cc -E runs the code through the compiler's parser,
26783 # not just through cpp. "Syntax error" is here to catch this case.
26784 cat >conftest.$ac_ext <<_ACEOF
26785 /* confdefs.h. */
26786 _ACEOF
26787 cat confdefs.h >>conftest.$ac_ext
26788 cat >>conftest.$ac_ext <<_ACEOF
26789 /* end confdefs.h. */
26790 #ifdef __STDC__
26791 # include <limits.h>
26792 #else
26793 # include <assert.h>
26794 #endif
26795 Syntax error
26796 _ACEOF
26797 if { (ac_try="$ac_cpp conftest.$ac_ext"
26798 case "(($ac_try" in
26799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26800 *) ac_try_echo=$ac_try;;
26801 esac
26802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26804 ac_status=$?
26805 grep -v '^ *+' conftest.er1 >conftest.err
26806 rm -f conftest.er1
26807 cat conftest.err >&5
26808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26809 (exit $ac_status); } >/dev/null && {
26810 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26811 test ! -s conftest.err
26812 }; then
26813 :
26814 else
26815 echo "$as_me: failed program was:" >&5
26816 sed 's/^/| /' conftest.$ac_ext >&5
26817
26818 # Broken: fails on valid input.
26819 continue
26820 fi
26821
26822 rm -f conftest.err conftest.$ac_ext
26823
26824 # OK, works on sane cases. Now check whether nonexistent headers
26825 # can be detected and how.
26826 cat >conftest.$ac_ext <<_ACEOF
26827 /* confdefs.h. */
26828 _ACEOF
26829 cat confdefs.h >>conftest.$ac_ext
26830 cat >>conftest.$ac_ext <<_ACEOF
26831 /* end confdefs.h. */
26832 #include <ac_nonexistent.h>
26833 _ACEOF
26834 if { (ac_try="$ac_cpp conftest.$ac_ext"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26838 esac
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26841 ac_status=$?
26842 grep -v '^ *+' conftest.er1 >conftest.err
26843 rm -f conftest.er1
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } >/dev/null && {
26847 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26848 test ! -s conftest.err
26849 }; then
26850 # Broken: success on invalid input.
26851 continue
26852 else
26853 echo "$as_me: failed program was:" >&5
26854 sed 's/^/| /' conftest.$ac_ext >&5
26855
26856 # Passes both tests.
26857 ac_preproc_ok=:
26858 break
26859 fi
26860
26861 rm -f conftest.err conftest.$ac_ext
26862
26863 done
26864 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26865 rm -f conftest.err conftest.$ac_ext
26866 if $ac_preproc_ok; then
26867 :
26868 else
26869 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26870 See \`config.log' for more details." >&5
26871 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26872 See \`config.log' for more details." >&2;}
26873 { (exit 1); exit 1; }; }
26874 fi
26875
26876 ac_ext=cpp
26877 ac_cpp='$CXXCPP $CPPFLAGS'
26878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26881
26882
26883
26884
26885 for ac_header in type_traits tr1/type_traits
26886 do
26887 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26889 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26890 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26891 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26892 echo $ECHO_N "(cached) $ECHO_C" >&6
26893 fi
26894 ac_res=`eval echo '${'$as_ac_Header'}'`
26895 { echo "$as_me:$LINENO: result: $ac_res" >&5
26896 echo "${ECHO_T}$ac_res" >&6; }
26897 else
26898 # Is the header compilable?
26899 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26901 cat >conftest.$ac_ext <<_ACEOF
26902 /* confdefs.h. */
26903 _ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26907 $ac_includes_default
26908 #include <$ac_header>
26909 _ACEOF
26910 rm -f conftest.$ac_objext
26911 if { (ac_try="$ac_compile"
26912 case "(($ac_try" in
26913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26914 *) ac_try_echo=$ac_try;;
26915 esac
26916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26917 (eval "$ac_compile") 2>conftest.er1
26918 ac_status=$?
26919 grep -v '^ *+' conftest.er1 >conftest.err
26920 rm -f conftest.er1
26921 cat conftest.err >&5
26922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26923 (exit $ac_status); } && {
26924 test -z "$ac_cxx_werror_flag" ||
26925 test ! -s conftest.err
26926 } && test -s conftest.$ac_objext; then
26927 ac_header_compiler=yes
26928 else
26929 echo "$as_me: failed program was:" >&5
26930 sed 's/^/| /' conftest.$ac_ext >&5
26931
26932 ac_header_compiler=no
26933 fi
26934
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26936 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26937 echo "${ECHO_T}$ac_header_compiler" >&6; }
26938
26939 # Is the header present?
26940 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26942 cat >conftest.$ac_ext <<_ACEOF
26943 /* confdefs.h. */
26944 _ACEOF
26945 cat confdefs.h >>conftest.$ac_ext
26946 cat >>conftest.$ac_ext <<_ACEOF
26947 /* end confdefs.h. */
26948 #include <$ac_header>
26949 _ACEOF
26950 if { (ac_try="$ac_cpp conftest.$ac_ext"
26951 case "(($ac_try" in
26952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26953 *) ac_try_echo=$ac_try;;
26954 esac
26955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26956 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26957 ac_status=$?
26958 grep -v '^ *+' conftest.er1 >conftest.err
26959 rm -f conftest.er1
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } >/dev/null && {
26963 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26964 test ! -s conftest.err
26965 }; then
26966 ac_header_preproc=yes
26967 else
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26970
26971 ac_header_preproc=no
26972 fi
26973
26974 rm -f conftest.err conftest.$ac_ext
26975 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26976 echo "${ECHO_T}$ac_header_preproc" >&6; }
26977
26978 # So? What about this header?
26979 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26980 yes:no: )
26981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26985 ac_header_preproc=yes
26986 ;;
26987 no:yes:* )
26988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27000 ( cat <<\_ASBOX
27001 ## ----------------------------------------- ##
27002 ## Report this to wx-dev@lists.wxwidgets.org ##
27003 ## ----------------------------------------- ##
27004 _ASBOX
27005 ) | sed "s/^/$as_me: WARNING: /" >&2
27006 ;;
27007 esac
27008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27011 echo $ECHO_N "(cached) $ECHO_C" >&6
27012 else
27013 eval "$as_ac_Header=\$ac_header_preproc"
27014 fi
27015 ac_res=`eval echo '${'$as_ac_Header'}'`
27016 { echo "$as_me:$LINENO: result: $ac_res" >&5
27017 echo "${ECHO_T}$ac_res" >&6; }
27018
27019 fi
27020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27021 cat >>confdefs.h <<_ACEOF
27022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27023 _ACEOF
27024
27025 fi
27026
27027 done
27028
27029
27030
27031
27032 if test -n "$GCC"; then
27033 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27034 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27035 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27036 echo $ECHO_N "(cached) $ECHO_C" >&6
27037 else
27038
27039 cat >conftest.$ac_ext <<_ACEOF
27040 /* confdefs.h. */
27041 _ACEOF
27042 cat confdefs.h >>conftest.$ac_ext
27043 cat >>conftest.$ac_ext <<_ACEOF
27044 /* end confdefs.h. */
27045
27046 int
27047 main ()
27048 {
27049
27050 unsigned int value=0;
27051 /* wxAtomicInc doesn't use return value here */
27052 __sync_fetch_and_add(&value, 2);
27053 __sync_sub_and_fetch(&value, 1);
27054 /* but wxAtomicDec does, so mimic that: */
27055 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27056
27057 ;
27058 return 0;
27059 }
27060 _ACEOF
27061 rm -f conftest.$ac_objext conftest$ac_exeext
27062 if { (ac_try="$ac_link"
27063 case "(($ac_try" in
27064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27065 *) ac_try_echo=$ac_try;;
27066 esac
27067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27068 (eval "$ac_link") 2>conftest.er1
27069 ac_status=$?
27070 grep -v '^ *+' conftest.er1 >conftest.err
27071 rm -f conftest.er1
27072 cat conftest.err >&5
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); } && {
27075 test -z "$ac_cxx_werror_flag" ||
27076 test ! -s conftest.err
27077 } && test -s conftest$ac_exeext &&
27078 $as_test_x conftest$ac_exeext; then
27079 wx_cv_cc_gcc_atomic_builtins=yes
27080 else
27081 echo "$as_me: failed program was:" >&5
27082 sed 's/^/| /' conftest.$ac_ext >&5
27083
27084 wx_cv_cc_gcc_atomic_builtins=no
27085 fi
27086
27087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27088 conftest$ac_exeext conftest.$ac_ext
27089
27090 fi
27091
27092 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27093 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27094 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27095 cat >>confdefs.h <<\_ACEOF
27096 #define HAVE_GCC_ATOMIC_BUILTINS 1
27097 _ACEOF
27098
27099 fi
27100 fi
27101
27102
27103 ac_ext=c
27104 ac_cpp='$CPP $CPPFLAGS'
27105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27108
27109
27110
27111 SEARCH_INCLUDE="\
27112 /usr/local/include \
27113 /usr/local/X11/include \
27114 /usr/local/include/X11 \
27115 /usr/local/X11R7/include \
27116 /usr/local/X11R6/include \
27117 /usr/local/include/X11R7 \
27118 /usr/local/include/X11R6 \
27119 \
27120 /usr/Motif-2.1/include \
27121 /usr/Motif-1.2/include \
27122 /usr/include/Motif1.2 \
27123 \
27124 /usr/dt/include \
27125 /usr/openwin/include \
27126 \
27127 /usr/include/Xm \
27128 \
27129 /usr/X11R7/include \
27130 /usr/X11R6/include \
27131 /usr/X11R6.4/include \
27132 \
27133 /usr/include/X11R7 \
27134 /usr/include/X11R6 \
27135 \
27136 /usr/X11/include \
27137 /usr/include/X11 \
27138 \
27139 /usr/XFree86/include/X11 \
27140 /usr/pkg/include \
27141 \
27142 /usr/local/X1R5/include \
27143 /usr/local/include/X11R5 \
27144 /usr/X11R5/include \
27145 /usr/include/X11R5 \
27146 \
27147 /usr/local/X11R4/include \
27148 /usr/local/include/X11R4 \
27149 /usr/X11R4/include \
27150 /usr/include/X11R4 \
27151 \
27152 /usr/openwin/share/include"
27153
27154 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27155 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27156
27157 case "${host}" in
27158 *-*-irix6* )
27159 if test "${wx_cv_std_libpath+set}" = set; then
27160 echo $ECHO_N "(cached) $ECHO_C" >&6
27161 else
27162
27163 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27164 for e in a so sl dylib dll.a; do
27165 libc="$d/libc.$e"
27166 if test -f $libc; then
27167 save_LIBS="$LIBS"
27168 LIBS="$libc"
27169 cat >conftest.$ac_ext <<_ACEOF
27170
27171 /* confdefs.h. */
27172 _ACEOF
27173 cat confdefs.h >>conftest.$ac_ext
27174 cat >>conftest.$ac_ext <<_ACEOF
27175 /* end confdefs.h. */
27176 int main() { return 0; }
27177
27178 _ACEOF
27179 rm -f conftest.$ac_objext conftest$ac_exeext
27180 if { (ac_try="$ac_link"
27181 case "(($ac_try" in
27182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27183 *) ac_try_echo=$ac_try;;
27184 esac
27185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27186 (eval "$ac_link") 2>conftest.er1
27187 ac_status=$?
27188 grep -v '^ *+' conftest.er1 >conftest.err
27189 rm -f conftest.er1
27190 cat conftest.err >&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } && {
27193 test -z "$ac_c_werror_flag" ||
27194 test ! -s conftest.err
27195 } && test -s conftest$ac_exeext &&
27196 $as_test_x conftest$ac_exeext; then
27197 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
27198 else
27199 echo "$as_me: failed program was:" >&5
27200 sed 's/^/| /' conftest.$ac_ext >&5
27201
27202
27203 fi
27204
27205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27206 conftest$ac_exeext conftest.$ac_ext
27207 LIBS="$save_LIBS"
27208 if test "x$wx_cv_std_libpath" != "x"; then
27209 break 2
27210 fi
27211 fi
27212 done
27213 done
27214
27215
27216 fi
27217
27218 ;;
27219
27220 *-*-solaris2* )
27221 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27222 wx_cv_std_libpath="lib/64"
27223 fi
27224 ;;
27225
27226 *-*-linux* )
27227 if test "$ac_cv_sizeof_void_p" = 8; then
27228 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27229 wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
27230 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27231 wx_cv_std_libpath="lib64"
27232 fi
27233 else
27234 case "${host}" in
27235 i*86-*-linux* )
27236 if test -d '/usr/lib/i386-linux-gnu'; then
27237 wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
27238 fi
27239 esac
27240 fi
27241
27242 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27243 wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
27244 fi
27245 ;;
27246 esac
27247
27248 if test -z "$wx_cv_std_libpath"; then
27249 wx_cv_std_libpath="lib"
27250 fi
27251
27252 if test -z "$wx_cv_std_libfullpath"; then
27253 wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
27254 fi
27255
27256
27257 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27258 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27259
27260 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27261
27262 if test "$build" != "$host" -a "$GCC" = yes; then
27263 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
27264 cross_root=`dirname $cross_root`
27265 cross_root=`dirname $cross_root`
27266
27267 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27268 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27269 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
27270
27271 if test -z "$PKG_CONFIG_PATH"; then
27272 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27273 export PKG_CONFIG_PATH
27274 fi
27275
27276 if test -z "$x_includes" -o "$x_includes" = NONE; then
27277
27278 ac_find_includes=
27279 for ac_dir in $SEARCH_INCLUDE /usr/include
27280 do
27281 if test -f "$ac_dir/X11/Intrinsic.h"; then
27282 ac_find_includes=$ac_dir
27283 break
27284 fi
27285 done
27286
27287 x_includes=$ac_find_includes
27288 fi
27289 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
27290
27291 ac_find_libraries=
27292 for ac_dir in $SEARCH_LIB
27293 do
27294 for ac_extension in a so sl dylib dll.a; do
27295 if test -f "$ac_dir/libXt.$ac_extension"; then
27296 ac_find_libraries=$ac_dir
27297 break 2
27298 fi
27299 done
27300 done
27301
27302 x_libraries=$ac_find_libraries
27303 fi
27304 fi
27305 fi
27306
27307
27308 cat >confcache <<\_ACEOF
27309 # This file is a shell script that caches the results of configure
27310 # tests run on this system so they can be shared between configure
27311 # scripts and configure runs, see configure's option --config-cache.
27312 # It is not useful on other systems. If it contains results you don't
27313 # want to keep, you may remove or edit it.
27314 #
27315 # config.status only pays attention to the cache file if you give it
27316 # the --recheck option to rerun configure.
27317 #
27318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27320 # following values.
27321
27322 _ACEOF
27323
27324 # The following way of writing the cache mishandles newlines in values,
27325 # but we know of no workaround that is simple, portable, and efficient.
27326 # So, we kill variables containing newlines.
27327 # Ultrix sh set writes to stderr and can't be redirected directly,
27328 # and sets the high bit in the cache file unless we assign to the vars.
27329 (
27330 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27331 eval ac_val=\$$ac_var
27332 case $ac_val in #(
27333 *${as_nl}*)
27334 case $ac_var in #(
27335 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27336 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27337 esac
27338 case $ac_var in #(
27339 _ | IFS | as_nl) ;; #(
27340 *) $as_unset $ac_var ;;
27341 esac ;;
27342 esac
27343 done
27344
27345 (set) 2>&1 |
27346 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27347 *${as_nl}ac_space=\ *)
27348 # `set' does not quote correctly, so add quotes (double-quote
27349 # substitution turns \\\\ into \\, and sed turns \\ into \).
27350 sed -n \
27351 "s/'/'\\\\''/g;
27352 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27353 ;; #(
27354 *)
27355 # `set' quotes correctly as required by POSIX, so do not add quotes.
27356 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27357 ;;
27358 esac |
27359 sort
27360 ) |
27361 sed '
27362 /^ac_cv_env_/b end
27363 t clear
27364 :clear
27365 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27366 t end
27367 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27368 :end' >>confcache
27369 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
27370 if test -w "$cache_file"; then
27371 test "x$cache_file" != "x/dev/null" &&
27372 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27373 echo "$as_me: updating cache $cache_file" >&6;}
27374 cat confcache >$cache_file
27375 else
27376 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27377 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27378 fi
27379 fi
27380 rm -f confcache
27381
27382 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27383 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27384 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27385 if test "${wx_cv_lib_glibc21+set}" = set; then
27386 echo $ECHO_N "(cached) $ECHO_C" >&6
27387 else
27388
27389 cat >conftest.$ac_ext <<_ACEOF
27390 /* confdefs.h. */
27391 _ACEOF
27392 cat confdefs.h >>conftest.$ac_ext
27393 cat >>conftest.$ac_ext <<_ACEOF
27394 /* end confdefs.h. */
27395 #include <features.h>
27396 int
27397 main ()
27398 {
27399
27400 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27401 not glibc 2.1
27402 #endif
27403
27404 ;
27405 return 0;
27406 }
27407 _ACEOF
27408 rm -f conftest.$ac_objext
27409 if { (ac_try="$ac_compile"
27410 case "(($ac_try" in
27411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27412 *) ac_try_echo=$ac_try;;
27413 esac
27414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27415 (eval "$ac_compile") 2>conftest.er1
27416 ac_status=$?
27417 grep -v '^ *+' conftest.er1 >conftest.err
27418 rm -f conftest.er1
27419 cat conftest.err >&5
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); } && {
27422 test -z "$ac_c_werror_flag" ||
27423 test ! -s conftest.err
27424 } && test -s conftest.$ac_objext; then
27425
27426 wx_cv_lib_glibc21=yes
27427
27428 else
27429 echo "$as_me: failed program was:" >&5
27430 sed 's/^/| /' conftest.$ac_ext >&5
27431
27432
27433 wx_cv_lib_glibc21=no
27434
27435
27436 fi
27437
27438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27439
27440 fi
27441 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27442 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27443 if test "$wx_cv_lib_glibc21" = "yes"; then
27444 cat >>confdefs.h <<\_ACEOF
27445 #define wxHAVE_GLIBC2 1
27446 _ACEOF
27447
27448 fi
27449 fi
27450
27451 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27452 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27453 cat >>confdefs.h <<\_ACEOF
27454 #define _GNU_SOURCE 1
27455 _ACEOF
27456
27457 fi
27458 fi
27459
27460 have_cos=0
27461 have_floor=0
27462
27463 for ac_func in cos
27464 do
27465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27466 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27468 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27469 echo $ECHO_N "(cached) $ECHO_C" >&6
27470 else
27471 cat >conftest.$ac_ext <<_ACEOF
27472 /* confdefs.h. */
27473 _ACEOF
27474 cat confdefs.h >>conftest.$ac_ext
27475 cat >>conftest.$ac_ext <<_ACEOF
27476 /* end confdefs.h. */
27477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27479 #define $ac_func innocuous_$ac_func
27480
27481 /* System header to define __stub macros and hopefully few prototypes,
27482 which can conflict with char $ac_func (); below.
27483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27484 <limits.h> exists even on freestanding compilers. */
27485
27486 #ifdef __STDC__
27487 # include <limits.h>
27488 #else
27489 # include <assert.h>
27490 #endif
27491
27492 #undef $ac_func
27493
27494 /* Override any GCC internal prototype to avoid an error.
27495 Use char because int might match the return type of a GCC
27496 builtin and then its argument prototype would still apply. */
27497 #ifdef __cplusplus
27498 extern "C"
27499 #endif
27500 char $ac_func ();
27501 /* The GNU C library defines this for functions which it implements
27502 to always fail with ENOSYS. Some functions are actually named
27503 something starting with __ and the normal name is an alias. */
27504 #if defined __stub_$ac_func || defined __stub___$ac_func
27505 choke me
27506 #endif
27507
27508 int
27509 main ()
27510 {
27511 return $ac_func ();
27512 ;
27513 return 0;
27514 }
27515 _ACEOF
27516 rm -f conftest.$ac_objext conftest$ac_exeext
27517 if { (ac_try="$ac_link"
27518 case "(($ac_try" in
27519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27520 *) ac_try_echo=$ac_try;;
27521 esac
27522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27523 (eval "$ac_link") 2>conftest.er1
27524 ac_status=$?
27525 grep -v '^ *+' conftest.er1 >conftest.err
27526 rm -f conftest.er1
27527 cat conftest.err >&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); } && {
27530 test -z "$ac_c_werror_flag" ||
27531 test ! -s conftest.err
27532 } && test -s conftest$ac_exeext &&
27533 $as_test_x conftest$ac_exeext; then
27534 eval "$as_ac_var=yes"
27535 else
27536 echo "$as_me: failed program was:" >&5
27537 sed 's/^/| /' conftest.$ac_ext >&5
27538
27539 eval "$as_ac_var=no"
27540 fi
27541
27542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27543 conftest$ac_exeext conftest.$ac_ext
27544 fi
27545 ac_res=`eval echo '${'$as_ac_var'}'`
27546 { echo "$as_me:$LINENO: result: $ac_res" >&5
27547 echo "${ECHO_T}$ac_res" >&6; }
27548 if test `eval echo '${'$as_ac_var'}'` = yes; then
27549 cat >>confdefs.h <<_ACEOF
27550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27551 _ACEOF
27552 have_cos=1
27553 fi
27554 done
27555
27556
27557 for ac_func in floor
27558 do
27559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27560 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27562 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27563 echo $ECHO_N "(cached) $ECHO_C" >&6
27564 else
27565 cat >conftest.$ac_ext <<_ACEOF
27566 /* confdefs.h. */
27567 _ACEOF
27568 cat confdefs.h >>conftest.$ac_ext
27569 cat >>conftest.$ac_ext <<_ACEOF
27570 /* end confdefs.h. */
27571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27573 #define $ac_func innocuous_$ac_func
27574
27575 /* System header to define __stub macros and hopefully few prototypes,
27576 which can conflict with char $ac_func (); below.
27577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27578 <limits.h> exists even on freestanding compilers. */
27579
27580 #ifdef __STDC__
27581 # include <limits.h>
27582 #else
27583 # include <assert.h>
27584 #endif
27585
27586 #undef $ac_func
27587
27588 /* Override any GCC internal prototype to avoid an error.
27589 Use char because int might match the return type of a GCC
27590 builtin and then its argument prototype would still apply. */
27591 #ifdef __cplusplus
27592 extern "C"
27593 #endif
27594 char $ac_func ();
27595 /* The GNU C library defines this for functions which it implements
27596 to always fail with ENOSYS. Some functions are actually named
27597 something starting with __ and the normal name is an alias. */
27598 #if defined __stub_$ac_func || defined __stub___$ac_func
27599 choke me
27600 #endif
27601
27602 int
27603 main ()
27604 {
27605 return $ac_func ();
27606 ;
27607 return 0;
27608 }
27609 _ACEOF
27610 rm -f conftest.$ac_objext conftest$ac_exeext
27611 if { (ac_try="$ac_link"
27612 case "(($ac_try" in
27613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27614 *) ac_try_echo=$ac_try;;
27615 esac
27616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27617 (eval "$ac_link") 2>conftest.er1
27618 ac_status=$?
27619 grep -v '^ *+' conftest.er1 >conftest.err
27620 rm -f conftest.er1
27621 cat conftest.err >&5
27622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27623 (exit $ac_status); } && {
27624 test -z "$ac_c_werror_flag" ||
27625 test ! -s conftest.err
27626 } && test -s conftest$ac_exeext &&
27627 $as_test_x conftest$ac_exeext; then
27628 eval "$as_ac_var=yes"
27629 else
27630 echo "$as_me: failed program was:" >&5
27631 sed 's/^/| /' conftest.$ac_ext >&5
27632
27633 eval "$as_ac_var=no"
27634 fi
27635
27636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27637 conftest$ac_exeext conftest.$ac_ext
27638 fi
27639 ac_res=`eval echo '${'$as_ac_var'}'`
27640 { echo "$as_me:$LINENO: result: $ac_res" >&5
27641 echo "${ECHO_T}$ac_res" >&6; }
27642 if test `eval echo '${'$as_ac_var'}'` = yes; then
27643 cat >>confdefs.h <<_ACEOF
27644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27645 _ACEOF
27646 have_floor=1
27647 fi
27648 done
27649
27650 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27651 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27652 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27653 { echo "$as_me:$LINENO: result: yes" >&5
27654 echo "${ECHO_T}yes" >&6; }
27655 else
27656 { echo "$as_me:$LINENO: result: no" >&5
27657 echo "${ECHO_T}no" >&6; }
27658 LIBS="$LIBS -lm"
27659 # use different functions to avoid configure caching
27660 have_sin=0
27661 have_ceil=0
27662
27663 for ac_func in sin
27664 do
27665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27666 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27668 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27669 echo $ECHO_N "(cached) $ECHO_C" >&6
27670 else
27671 cat >conftest.$ac_ext <<_ACEOF
27672 /* confdefs.h. */
27673 _ACEOF
27674 cat confdefs.h >>conftest.$ac_ext
27675 cat >>conftest.$ac_ext <<_ACEOF
27676 /* end confdefs.h. */
27677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27679 #define $ac_func innocuous_$ac_func
27680
27681 /* System header to define __stub macros and hopefully few prototypes,
27682 which can conflict with char $ac_func (); below.
27683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27684 <limits.h> exists even on freestanding compilers. */
27685
27686 #ifdef __STDC__
27687 # include <limits.h>
27688 #else
27689 # include <assert.h>
27690 #endif
27691
27692 #undef $ac_func
27693
27694 /* Override any GCC internal prototype to avoid an error.
27695 Use char because int might match the return type of a GCC
27696 builtin and then its argument prototype would still apply. */
27697 #ifdef __cplusplus
27698 extern "C"
27699 #endif
27700 char $ac_func ();
27701 /* The GNU C library defines this for functions which it implements
27702 to always fail with ENOSYS. Some functions are actually named
27703 something starting with __ and the normal name is an alias. */
27704 #if defined __stub_$ac_func || defined __stub___$ac_func
27705 choke me
27706 #endif
27707
27708 int
27709 main ()
27710 {
27711 return $ac_func ();
27712 ;
27713 return 0;
27714 }
27715 _ACEOF
27716 rm -f conftest.$ac_objext conftest$ac_exeext
27717 if { (ac_try="$ac_link"
27718 case "(($ac_try" in
27719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27720 *) ac_try_echo=$ac_try;;
27721 esac
27722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27723 (eval "$ac_link") 2>conftest.er1
27724 ac_status=$?
27725 grep -v '^ *+' conftest.er1 >conftest.err
27726 rm -f conftest.er1
27727 cat conftest.err >&5
27728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27729 (exit $ac_status); } && {
27730 test -z "$ac_c_werror_flag" ||
27731 test ! -s conftest.err
27732 } && test -s conftest$ac_exeext &&
27733 $as_test_x conftest$ac_exeext; then
27734 eval "$as_ac_var=yes"
27735 else
27736 echo "$as_me: failed program was:" >&5
27737 sed 's/^/| /' conftest.$ac_ext >&5
27738
27739 eval "$as_ac_var=no"
27740 fi
27741
27742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27743 conftest$ac_exeext conftest.$ac_ext
27744 fi
27745 ac_res=`eval echo '${'$as_ac_var'}'`
27746 { echo "$as_me:$LINENO: result: $ac_res" >&5
27747 echo "${ECHO_T}$ac_res" >&6; }
27748 if test `eval echo '${'$as_ac_var'}'` = yes; then
27749 cat >>confdefs.h <<_ACEOF
27750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27751 _ACEOF
27752 have_sin=1
27753 fi
27754 done
27755
27756
27757 for ac_func in ceil
27758 do
27759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27760 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27762 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27763 echo $ECHO_N "(cached) $ECHO_C" >&6
27764 else
27765 cat >conftest.$ac_ext <<_ACEOF
27766 /* confdefs.h. */
27767 _ACEOF
27768 cat confdefs.h >>conftest.$ac_ext
27769 cat >>conftest.$ac_ext <<_ACEOF
27770 /* end confdefs.h. */
27771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27773 #define $ac_func innocuous_$ac_func
27774
27775 /* System header to define __stub macros and hopefully few prototypes,
27776 which can conflict with char $ac_func (); below.
27777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27778 <limits.h> exists even on freestanding compilers. */
27779
27780 #ifdef __STDC__
27781 # include <limits.h>
27782 #else
27783 # include <assert.h>
27784 #endif
27785
27786 #undef $ac_func
27787
27788 /* Override any GCC internal prototype to avoid an error.
27789 Use char because int might match the return type of a GCC
27790 builtin and then its argument prototype would still apply. */
27791 #ifdef __cplusplus
27792 extern "C"
27793 #endif
27794 char $ac_func ();
27795 /* The GNU C library defines this for functions which it implements
27796 to always fail with ENOSYS. Some functions are actually named
27797 something starting with __ and the normal name is an alias. */
27798 #if defined __stub_$ac_func || defined __stub___$ac_func
27799 choke me
27800 #endif
27801
27802 int
27803 main ()
27804 {
27805 return $ac_func ();
27806 ;
27807 return 0;
27808 }
27809 _ACEOF
27810 rm -f conftest.$ac_objext conftest$ac_exeext
27811 if { (ac_try="$ac_link"
27812 case "(($ac_try" in
27813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27814 *) ac_try_echo=$ac_try;;
27815 esac
27816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27817 (eval "$ac_link") 2>conftest.er1
27818 ac_status=$?
27819 grep -v '^ *+' conftest.er1 >conftest.err
27820 rm -f conftest.er1
27821 cat conftest.err >&5
27822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27823 (exit $ac_status); } && {
27824 test -z "$ac_c_werror_flag" ||
27825 test ! -s conftest.err
27826 } && test -s conftest$ac_exeext &&
27827 $as_test_x conftest$ac_exeext; then
27828 eval "$as_ac_var=yes"
27829 else
27830 echo "$as_me: failed program was:" >&5
27831 sed 's/^/| /' conftest.$ac_ext >&5
27832
27833 eval "$as_ac_var=no"
27834 fi
27835
27836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27837 conftest$ac_exeext conftest.$ac_ext
27838 fi
27839 ac_res=`eval echo '${'$as_ac_var'}'`
27840 { echo "$as_me:$LINENO: result: $ac_res" >&5
27841 echo "${ECHO_T}$ac_res" >&6; }
27842 if test `eval echo '${'$as_ac_var'}'` = yes; then
27843 cat >>confdefs.h <<_ACEOF
27844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27845 _ACEOF
27846 have_ceil=1
27847 fi
27848 done
27849
27850 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27851 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27852 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27853 { echo "$as_me:$LINENO: result: yes" >&5
27854 echo "${ECHO_T}yes" >&6; }
27855 else
27856 { echo "$as_me:$LINENO: result: no" >&5
27857 echo "${ECHO_T}no" >&6; }
27858 # not sure we should warn the user, crash, etc.
27859 fi
27860 fi
27861
27862 ac_ext=cpp
27863 ac_cpp='$CXXCPP $CPPFLAGS'
27864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27867
27868 if test "wxUSE_UNICODE" = "yes"; then
27869
27870 for wx_func in wcstoull
27871 do
27872 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27873 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27874 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27875 echo $ECHO_N "(cached) $ECHO_C" >&6
27876 else
27877
27878 cat >conftest.$ac_ext <<_ACEOF
27879
27880 /* confdefs.h. */
27881 _ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27885
27886
27887 $ac_includes_default
27888
27889 int
27890 main ()
27891 {
27892
27893 #ifndef $wx_func
27894 &$wx_func;
27895 #endif
27896
27897
27898 ;
27899 return 0;
27900 }
27901
27902 _ACEOF
27903 rm -f conftest.$ac_objext conftest$ac_exeext
27904 if { (ac_try="$ac_link"
27905 case "(($ac_try" in
27906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27907 *) ac_try_echo=$ac_try;;
27908 esac
27909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27910 (eval "$ac_link") 2>conftest.er1
27911 ac_status=$?
27912 grep -v '^ *+' conftest.er1 >conftest.err
27913 rm -f conftest.er1
27914 cat conftest.err >&5
27915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27916 (exit $ac_status); } && {
27917 test -z "$ac_cxx_werror_flag" ||
27918 test ! -s conftest.err
27919 } && test -s conftest$ac_exeext &&
27920 $as_test_x conftest$ac_exeext; then
27921 eval wx_cv_func_$wx_func=yes
27922 else
27923 echo "$as_me: failed program was:" >&5
27924 sed 's/^/| /' conftest.$ac_ext >&5
27925
27926 eval wx_cv_func_$wx_func=no
27927 fi
27928
27929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27930 conftest$ac_exeext conftest.$ac_ext
27931
27932 fi
27933 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27934 { echo "$as_me:$LINENO: result: $ac_res" >&5
27935 echo "${ECHO_T}$ac_res" >&6; }
27936
27937 if eval test \$wx_cv_func_$wx_func = yes
27938 then
27939 cat >>confdefs.h <<_ACEOF
27940 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27941 _ACEOF
27942
27943
27944 else
27945 :
27946
27947 fi
27948 done
27949
27950 else
27951
27952 for wx_func in strtoull
27953 do
27954 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27955 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27956 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27957 echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959
27960 cat >conftest.$ac_ext <<_ACEOF
27961
27962 /* confdefs.h. */
27963 _ACEOF
27964 cat confdefs.h >>conftest.$ac_ext
27965 cat >>conftest.$ac_ext <<_ACEOF
27966 /* end confdefs.h. */
27967
27968
27969 $ac_includes_default
27970
27971 int
27972 main ()
27973 {
27974
27975 #ifndef $wx_func
27976 &$wx_func;
27977 #endif
27978
27979
27980 ;
27981 return 0;
27982 }
27983
27984 _ACEOF
27985 rm -f conftest.$ac_objext conftest$ac_exeext
27986 if { (ac_try="$ac_link"
27987 case "(($ac_try" in
27988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27989 *) ac_try_echo=$ac_try;;
27990 esac
27991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27992 (eval "$ac_link") 2>conftest.er1
27993 ac_status=$?
27994 grep -v '^ *+' conftest.er1 >conftest.err
27995 rm -f conftest.er1
27996 cat conftest.err >&5
27997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27998 (exit $ac_status); } && {
27999 test -z "$ac_cxx_werror_flag" ||
28000 test ! -s conftest.err
28001 } && test -s conftest$ac_exeext &&
28002 $as_test_x conftest$ac_exeext; then
28003 eval wx_cv_func_$wx_func=yes
28004 else
28005 echo "$as_me: failed program was:" >&5
28006 sed 's/^/| /' conftest.$ac_ext >&5
28007
28008 eval wx_cv_func_$wx_func=no
28009 fi
28010
28011 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28012 conftest$ac_exeext conftest.$ac_ext
28013
28014 fi
28015 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
28016 { echo "$as_me:$LINENO: result: $ac_res" >&5
28017 echo "${ECHO_T}$ac_res" >&6; }
28018
28019 if eval test \$wx_cv_func_$wx_func = yes
28020 then
28021 cat >>confdefs.h <<_ACEOF
28022 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
28023 _ACEOF
28024
28025
28026 else
28027 :
28028
28029 fi
28030 done
28031
28032 fi
28033 ac_ext=c
28034 ac_cpp='$CPP $CPPFLAGS'
28035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28038
28039
28040
28041
28042 if test "$wxUSE_REGEX" != "no"; then
28043 cat >>confdefs.h <<\_ACEOF
28044 #define wxUSE_REGEX 1
28045 _ACEOF
28046
28047
28048 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
28049 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
28050 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
28051 wxUSE_REGEX=builtin
28052 fi
28053
28054 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
28055 { echo "$as_me:$LINENO: checking for regex.h" >&5
28056 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
28057 if test "${ac_cv_header_regex_h+set}" = set; then
28058 echo $ECHO_N "(cached) $ECHO_C" >&6
28059 else
28060 cat >conftest.$ac_ext <<_ACEOF
28061 /* confdefs.h. */
28062 _ACEOF
28063 cat confdefs.h >>conftest.$ac_ext
28064 cat >>conftest.$ac_ext <<_ACEOF
28065 /* end confdefs.h. */
28066
28067
28068 #include <regex.h>
28069 _ACEOF
28070 rm -f conftest.$ac_objext
28071 if { (ac_try="$ac_compile"
28072 case "(($ac_try" in
28073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28074 *) ac_try_echo=$ac_try;;
28075 esac
28076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28077 (eval "$ac_compile") 2>conftest.er1
28078 ac_status=$?
28079 grep -v '^ *+' conftest.er1 >conftest.err
28080 rm -f conftest.er1
28081 cat conftest.err >&5
28082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28083 (exit $ac_status); } && {
28084 test -z "$ac_c_werror_flag" ||
28085 test ! -s conftest.err
28086 } && test -s conftest.$ac_objext; then
28087 ac_cv_header_regex_h=yes
28088 else
28089 echo "$as_me: failed program was:" >&5
28090 sed 's/^/| /' conftest.$ac_ext >&5
28091
28092 ac_cv_header_regex_h=no
28093 fi
28094
28095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28096 fi
28097 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28098 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28099 if test $ac_cv_header_regex_h = yes; then
28100
28101
28102 for ac_func in regcomp re_search
28103 do
28104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28105 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28107 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28108 echo $ECHO_N "(cached) $ECHO_C" >&6
28109 else
28110 cat >conftest.$ac_ext <<_ACEOF
28111 /* confdefs.h. */
28112 _ACEOF
28113 cat confdefs.h >>conftest.$ac_ext
28114 cat >>conftest.$ac_ext <<_ACEOF
28115 /* end confdefs.h. */
28116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28118 #define $ac_func innocuous_$ac_func
28119
28120 /* System header to define __stub macros and hopefully few prototypes,
28121 which can conflict with char $ac_func (); below.
28122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28123 <limits.h> exists even on freestanding compilers. */
28124
28125 #ifdef __STDC__
28126 # include <limits.h>
28127 #else
28128 # include <assert.h>
28129 #endif
28130
28131 #undef $ac_func
28132
28133 /* Override any GCC internal prototype to avoid an error.
28134 Use char because int might match the return type of a GCC
28135 builtin and then its argument prototype would still apply. */
28136 #ifdef __cplusplus
28137 extern "C"
28138 #endif
28139 char $ac_func ();
28140 /* The GNU C library defines this for functions which it implements
28141 to always fail with ENOSYS. Some functions are actually named
28142 something starting with __ and the normal name is an alias. */
28143 #if defined __stub_$ac_func || defined __stub___$ac_func
28144 choke me
28145 #endif
28146
28147 int
28148 main ()
28149 {
28150 return $ac_func ();
28151 ;
28152 return 0;
28153 }
28154 _ACEOF
28155 rm -f conftest.$ac_objext conftest$ac_exeext
28156 if { (ac_try="$ac_link"
28157 case "(($ac_try" in
28158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28159 *) ac_try_echo=$ac_try;;
28160 esac
28161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28162 (eval "$ac_link") 2>conftest.er1
28163 ac_status=$?
28164 grep -v '^ *+' conftest.er1 >conftest.err
28165 rm -f conftest.er1
28166 cat conftest.err >&5
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); } && {
28169 test -z "$ac_c_werror_flag" ||
28170 test ! -s conftest.err
28171 } && test -s conftest$ac_exeext &&
28172 $as_test_x conftest$ac_exeext; then
28173 eval "$as_ac_var=yes"
28174 else
28175 echo "$as_me: failed program was:" >&5
28176 sed 's/^/| /' conftest.$ac_ext >&5
28177
28178 eval "$as_ac_var=no"
28179 fi
28180
28181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28182 conftest$ac_exeext conftest.$ac_ext
28183 fi
28184 ac_res=`eval echo '${'$as_ac_var'}'`
28185 { echo "$as_me:$LINENO: result: $ac_res" >&5
28186 echo "${ECHO_T}$ac_res" >&6; }
28187 if test `eval echo '${'$as_ac_var'}'` = yes; then
28188 cat >>confdefs.h <<_ACEOF
28189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28190 _ACEOF
28191
28192 fi
28193 done
28194
28195 fi
28196
28197
28198
28199 if test "x$ac_cv_func_regcomp" != "xyes"; then
28200 if test "$wxUSE_REGEX" = "sys" ; then
28201 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28202 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28203 { (exit 1); exit 1; }; }
28204 else
28205 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28206 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28207 wxUSE_REGEX=builtin
28208 fi
28209 else
28210 wxUSE_REGEX=sys
28211 cat >>confdefs.h <<\_ACEOF
28212 #define WX_NO_REGEX_ADVANCED 1
28213 _ACEOF
28214
28215 fi
28216 fi
28217 fi
28218
28219
28220 ZLIB_LINK=
28221 if test "$wxUSE_ZLIB" != "no" ; then
28222 cat >>confdefs.h <<\_ACEOF
28223 #define wxUSE_ZLIB 1
28224 _ACEOF
28225
28226
28227 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28228 if test "$USE_DARWIN" = 1; then
28229 system_zlib_h_ok="yes"
28230 else
28231 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28232 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28233 if test "${ac_cv_header_zlib_h+set}" = set; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28235 else
28236 if test "$cross_compiling" = yes; then
28237 unset ac_cv_header_zlib_h
28238
28239 else
28240 cat >conftest.$ac_ext <<_ACEOF
28241 /* confdefs.h. */
28242 _ACEOF
28243 cat confdefs.h >>conftest.$ac_ext
28244 cat >>conftest.$ac_ext <<_ACEOF
28245 /* end confdefs.h. */
28246
28247 #include <zlib.h>
28248 #include <stdio.h>
28249
28250 int main()
28251 {
28252 FILE *f=fopen("conftestval", "w");
28253 if (!f) exit(1);
28254 fprintf(f, "%s",
28255 ZLIB_VERSION[0] == '1' &&
28256 (ZLIB_VERSION[2] > '1' ||
28257 (ZLIB_VERSION[2] == '1' &&
28258 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28259 exit(0);
28260 }
28261
28262 _ACEOF
28263 rm -f conftest$ac_exeext
28264 if { (ac_try="$ac_link"
28265 case "(($ac_try" in
28266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28267 *) ac_try_echo=$ac_try;;
28268 esac
28269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28270 (eval "$ac_link") 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28274 { (case "(($ac_try" in
28275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28276 *) ac_try_echo=$ac_try;;
28277 esac
28278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28279 (eval "$ac_try") 2>&5
28280 ac_status=$?
28281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28282 (exit $ac_status); }; }; then
28283 ac_cv_header_zlib_h=`cat conftestval`
28284 else
28285 echo "$as_me: program exited with status $ac_status" >&5
28286 echo "$as_me: failed program was:" >&5
28287 sed 's/^/| /' conftest.$ac_ext >&5
28288
28289 ( exit $ac_status )
28290 ac_cv_header_zlib_h=no
28291 fi
28292 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28293 fi
28294
28295
28296
28297 fi
28298 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28299 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28300 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28301 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28302 if test "${ac_cv_header_zlib_h+set}" = set; then
28303 echo $ECHO_N "(cached) $ECHO_C" >&6
28304 else
28305 cat >conftest.$ac_ext <<_ACEOF
28306 /* confdefs.h. */
28307 _ACEOF
28308 cat confdefs.h >>conftest.$ac_ext
28309 cat >>conftest.$ac_ext <<_ACEOF
28310 /* end confdefs.h. */
28311
28312
28313 #include <zlib.h>
28314 _ACEOF
28315 rm -f conftest.$ac_objext
28316 if { (ac_try="$ac_compile"
28317 case "(($ac_try" in
28318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28319 *) ac_try_echo=$ac_try;;
28320 esac
28321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28322 (eval "$ac_compile") 2>conftest.er1
28323 ac_status=$?
28324 grep -v '^ *+' conftest.er1 >conftest.err
28325 rm -f conftest.er1
28326 cat conftest.err >&5
28327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28328 (exit $ac_status); } && {
28329 test -z "$ac_c_werror_flag" ||
28330 test ! -s conftest.err
28331 } && test -s conftest.$ac_objext; then
28332 ac_cv_header_zlib_h=yes
28333 else
28334 echo "$as_me: failed program was:" >&5
28335 sed 's/^/| /' conftest.$ac_ext >&5
28336
28337 ac_cv_header_zlib_h=no
28338 fi
28339
28340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28341 fi
28342 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28343 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28344
28345
28346
28347 system_zlib_h_ok=$ac_cv_header_zlib_h
28348 fi
28349
28350 if test "$system_zlib_h_ok" = "yes"; then
28351 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28352 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28353 if test "${ac_cv_lib_z_deflate+set}" = set; then
28354 echo $ECHO_N "(cached) $ECHO_C" >&6
28355 else
28356 ac_check_lib_save_LIBS=$LIBS
28357 LIBS="-lz $LIBS"
28358 cat >conftest.$ac_ext <<_ACEOF
28359 /* confdefs.h. */
28360 _ACEOF
28361 cat confdefs.h >>conftest.$ac_ext
28362 cat >>conftest.$ac_ext <<_ACEOF
28363 /* end confdefs.h. */
28364
28365 /* Override any GCC internal prototype to avoid an error.
28366 Use char because int might match the return type of a GCC
28367 builtin and then its argument prototype would still apply. */
28368 #ifdef __cplusplus
28369 extern "C"
28370 #endif
28371 char deflate ();
28372 int
28373 main ()
28374 {
28375 return deflate ();
28376 ;
28377 return 0;
28378 }
28379 _ACEOF
28380 rm -f conftest.$ac_objext conftest$ac_exeext
28381 if { (ac_try="$ac_link"
28382 case "(($ac_try" in
28383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28384 *) ac_try_echo=$ac_try;;
28385 esac
28386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28387 (eval "$ac_link") 2>conftest.er1
28388 ac_status=$?
28389 grep -v '^ *+' conftest.er1 >conftest.err
28390 rm -f conftest.er1
28391 cat conftest.err >&5
28392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28393 (exit $ac_status); } && {
28394 test -z "$ac_c_werror_flag" ||
28395 test ! -s conftest.err
28396 } && test -s conftest$ac_exeext &&
28397 $as_test_x conftest$ac_exeext; then
28398 ac_cv_lib_z_deflate=yes
28399 else
28400 echo "$as_me: failed program was:" >&5
28401 sed 's/^/| /' conftest.$ac_ext >&5
28402
28403 ac_cv_lib_z_deflate=no
28404 fi
28405
28406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28407 conftest$ac_exeext conftest.$ac_ext
28408 LIBS=$ac_check_lib_save_LIBS
28409 fi
28410 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28411 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28412 if test $ac_cv_lib_z_deflate = yes; then
28413 ZLIB_LINK=" -lz"
28414 fi
28415
28416 fi
28417
28418 if test "x$ZLIB_LINK" = "x" ; then
28419 if test "$wxUSE_ZLIB" = "sys" ; then
28420 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28421 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28422 { (exit 1); exit 1; }; }
28423 else
28424 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28425 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28426 wxUSE_ZLIB=builtin
28427 fi
28428 else
28429 wxUSE_ZLIB=sys
28430 fi
28431 fi
28432 fi
28433
28434
28435 PNG_LINK=
28436 if test "$wxUSE_LIBPNG" != "no" ; then
28437 cat >>confdefs.h <<\_ACEOF
28438 #define wxUSE_LIBPNG 1
28439 _ACEOF
28440
28441
28442 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28443 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28444 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28445 wxUSE_LIBPNG=sys
28446 fi
28447
28448 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28449 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28450 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28451 wxUSE_LIBPNG=builtin
28452 fi
28453
28454 if test "$wxUSE_MGL" != 1 ; then
28455 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28456 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28457 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28458 if test "${ac_cv_header_png_h+set}" = set; then
28459 echo $ECHO_N "(cached) $ECHO_C" >&6
28460 else
28461 if test "$cross_compiling" = yes; then
28462 unset ac_cv_header_png_h
28463
28464 else
28465 cat >conftest.$ac_ext <<_ACEOF
28466 /* confdefs.h. */
28467 _ACEOF
28468 cat confdefs.h >>conftest.$ac_ext
28469 cat >>conftest.$ac_ext <<_ACEOF
28470 /* end confdefs.h. */
28471
28472 #include <png.h>
28473 #include <stdio.h>
28474
28475 int main()
28476 {
28477 FILE *f=fopen("conftestval", "w");
28478 if (!f) exit(1);
28479 fprintf(f, "%s",
28480 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28481 exit(0);
28482 }
28483
28484 _ACEOF
28485 rm -f conftest$ac_exeext
28486 if { (ac_try="$ac_link"
28487 case "(($ac_try" in
28488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28489 *) ac_try_echo=$ac_try;;
28490 esac
28491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28492 (eval "$ac_link") 2>&5
28493 ac_status=$?
28494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28496 { (case "(($ac_try" in
28497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28498 *) ac_try_echo=$ac_try;;
28499 esac
28500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28501 (eval "$ac_try") 2>&5
28502 ac_status=$?
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); }; }; then
28505 ac_cv_header_png_h=`cat conftestval`
28506 else
28507 echo "$as_me: program exited with status $ac_status" >&5
28508 echo "$as_me: failed program was:" >&5
28509 sed 's/^/| /' conftest.$ac_ext >&5
28510
28511 ( exit $ac_status )
28512 ac_cv_header_png_h=no
28513 fi
28514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28515 fi
28516
28517
28518
28519 fi
28520 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28521 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28522 { echo "$as_me:$LINENO: checking for png.h" >&5
28523 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28524 if test "${ac_cv_header_png_h+set}" = set; then
28525 echo $ECHO_N "(cached) $ECHO_C" >&6
28526 else
28527 cat >conftest.$ac_ext <<_ACEOF
28528 /* confdefs.h. */
28529 _ACEOF
28530 cat confdefs.h >>conftest.$ac_ext
28531 cat >>conftest.$ac_ext <<_ACEOF
28532 /* end confdefs.h. */
28533
28534
28535 #include <png.h>
28536 _ACEOF
28537 rm -f conftest.$ac_objext
28538 if { (ac_try="$ac_compile"
28539 case "(($ac_try" in
28540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28541 *) ac_try_echo=$ac_try;;
28542 esac
28543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28544 (eval "$ac_compile") 2>conftest.er1
28545 ac_status=$?
28546 grep -v '^ *+' conftest.er1 >conftest.err
28547 rm -f conftest.er1
28548 cat conftest.err >&5
28549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28550 (exit $ac_status); } && {
28551 test -z "$ac_c_werror_flag" ||
28552 test ! -s conftest.err
28553 } && test -s conftest.$ac_objext; then
28554 ac_cv_header_png_h=yes
28555 else
28556 echo "$as_me: failed program was:" >&5
28557 sed 's/^/| /' conftest.$ac_ext >&5
28558
28559 ac_cv_header_png_h=no
28560 fi
28561
28562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28563 fi
28564 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28565 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28566
28567
28568
28569 if test "$ac_cv_header_png_h" = "yes"; then
28570 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28571 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28572 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28573 echo $ECHO_N "(cached) $ECHO_C" >&6
28574 else
28575 ac_check_lib_save_LIBS=$LIBS
28576 LIBS="-lpng -lz -lm $LIBS"
28577 cat >conftest.$ac_ext <<_ACEOF
28578 /* confdefs.h. */
28579 _ACEOF
28580 cat confdefs.h >>conftest.$ac_ext
28581 cat >>conftest.$ac_ext <<_ACEOF
28582 /* end confdefs.h. */
28583
28584 /* Override any GCC internal prototype to avoid an error.
28585 Use char because int might match the return type of a GCC
28586 builtin and then its argument prototype would still apply. */
28587 #ifdef __cplusplus
28588 extern "C"
28589 #endif
28590 char png_sig_cmp ();
28591 int
28592 main ()
28593 {
28594 return png_sig_cmp ();
28595 ;
28596 return 0;
28597 }
28598 _ACEOF
28599 rm -f conftest.$ac_objext conftest$ac_exeext
28600 if { (ac_try="$ac_link"
28601 case "(($ac_try" in
28602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28603 *) ac_try_echo=$ac_try;;
28604 esac
28605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28606 (eval "$ac_link") 2>conftest.er1
28607 ac_status=$?
28608 grep -v '^ *+' conftest.er1 >conftest.err
28609 rm -f conftest.er1
28610 cat conftest.err >&5
28611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28612 (exit $ac_status); } && {
28613 test -z "$ac_c_werror_flag" ||
28614 test ! -s conftest.err
28615 } && test -s conftest$ac_exeext &&
28616 $as_test_x conftest$ac_exeext; then
28617 ac_cv_lib_png_png_sig_cmp=yes
28618 else
28619 echo "$as_me: failed program was:" >&5
28620 sed 's/^/| /' conftest.$ac_ext >&5
28621
28622 ac_cv_lib_png_png_sig_cmp=no
28623 fi
28624
28625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28626 conftest$ac_exeext conftest.$ac_ext
28627 LIBS=$ac_check_lib_save_LIBS
28628 fi
28629 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28630 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28631 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28632 PNG_LINK=" -lpng -lz"
28633 fi
28634
28635 fi
28636
28637 if test "x$PNG_LINK" = "x" ; then
28638 if test "$wxUSE_LIBPNG" = "sys" ; then
28639 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28640 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28641 { (exit 1); exit 1; }; }
28642 else
28643 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28644 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28645 wxUSE_LIBPNG=builtin
28646 fi
28647 else
28648 wxUSE_LIBPNG=sys
28649 fi
28650 fi
28651 fi
28652 fi
28653
28654
28655 JPEG_LINK=
28656 if test "$wxUSE_LIBJPEG" != "no" ; then
28657 cat >>confdefs.h <<\_ACEOF
28658 #define wxUSE_LIBJPEG 1
28659 _ACEOF
28660
28661
28662 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28663 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28664 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28665 wxUSE_LIBJPEG=sys
28666 fi
28667
28668 if test "$wxUSE_MGL" != 1 ; then
28669 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28670 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28671 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28672 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28673 echo $ECHO_N "(cached) $ECHO_C" >&6
28674 else
28675 cat >conftest.$ac_ext <<_ACEOF
28676 /* confdefs.h. */
28677 _ACEOF
28678 cat confdefs.h >>conftest.$ac_ext
28679 cat >>conftest.$ac_ext <<_ACEOF
28680 /* end confdefs.h. */
28681
28682 #undef HAVE_STDLIB_H
28683 #include <stdio.h>
28684 #include <jpeglib.h>
28685
28686 int
28687 main ()
28688 {
28689
28690
28691 ;
28692 return 0;
28693 }
28694 _ACEOF
28695 rm -f conftest.$ac_objext
28696 if { (ac_try="$ac_compile"
28697 case "(($ac_try" in
28698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28699 *) ac_try_echo=$ac_try;;
28700 esac
28701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28702 (eval "$ac_compile") 2>conftest.er1
28703 ac_status=$?
28704 grep -v '^ *+' conftest.er1 >conftest.err
28705 rm -f conftest.er1
28706 cat conftest.err >&5
28707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28708 (exit $ac_status); } && {
28709 test -z "$ac_c_werror_flag" ||
28710 test ! -s conftest.err
28711 } && test -s conftest.$ac_objext; then
28712 ac_cv_header_jpeglib_h=yes
28713 else
28714 echo "$as_me: failed program was:" >&5
28715 sed 's/^/| /' conftest.$ac_ext >&5
28716
28717 ac_cv_header_jpeglib_h=no
28718
28719 fi
28720
28721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28722
28723 fi
28724
28725 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28726 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28727
28728 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28729 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28730 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28731 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28732 echo $ECHO_N "(cached) $ECHO_C" >&6
28733 else
28734 ac_check_lib_save_LIBS=$LIBS
28735 LIBS="-ljpeg $LIBS"
28736 cat >conftest.$ac_ext <<_ACEOF
28737 /* confdefs.h. */
28738 _ACEOF
28739 cat confdefs.h >>conftest.$ac_ext
28740 cat >>conftest.$ac_ext <<_ACEOF
28741 /* end confdefs.h. */
28742
28743 /* Override any GCC internal prototype to avoid an error.
28744 Use char because int might match the return type of a GCC
28745 builtin and then its argument prototype would still apply. */
28746 #ifdef __cplusplus
28747 extern "C"
28748 #endif
28749 char jpeg_read_header ();
28750 int
28751 main ()
28752 {
28753 return jpeg_read_header ();
28754 ;
28755 return 0;
28756 }
28757 _ACEOF
28758 rm -f conftest.$ac_objext conftest$ac_exeext
28759 if { (ac_try="$ac_link"
28760 case "(($ac_try" in
28761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28762 *) ac_try_echo=$ac_try;;
28763 esac
28764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28765 (eval "$ac_link") 2>conftest.er1
28766 ac_status=$?
28767 grep -v '^ *+' conftest.er1 >conftest.err
28768 rm -f conftest.er1
28769 cat conftest.err >&5
28770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28771 (exit $ac_status); } && {
28772 test -z "$ac_c_werror_flag" ||
28773 test ! -s conftest.err
28774 } && test -s conftest$ac_exeext &&
28775 $as_test_x conftest$ac_exeext; then
28776 ac_cv_lib_jpeg_jpeg_read_header=yes
28777 else
28778 echo "$as_me: failed program was:" >&5
28779 sed 's/^/| /' conftest.$ac_ext >&5
28780
28781 ac_cv_lib_jpeg_jpeg_read_header=no
28782 fi
28783
28784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28785 conftest$ac_exeext conftest.$ac_ext
28786 LIBS=$ac_check_lib_save_LIBS
28787 fi
28788 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28789 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28790 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28791 JPEG_LINK=" -ljpeg"
28792 fi
28793
28794 fi
28795
28796 if test "x$JPEG_LINK" = "x" ; then
28797 if test "$wxUSE_LIBJPEG" = "sys" ; then
28798 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28799 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28800 { (exit 1); exit 1; }; }
28801 else
28802 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28803 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28804 wxUSE_LIBJPEG=builtin
28805 fi
28806 else
28807 wxUSE_LIBJPEG=sys
28808
28809 if test "$wxUSE_MSW" = 1; then
28810 { echo "$as_me:$LINENO: checking for boolean" >&5
28811 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28812 if test "${ac_cv_type_boolean+set}" = set; then
28813 echo $ECHO_N "(cached) $ECHO_C" >&6
28814 else
28815 cat >conftest.$ac_ext <<_ACEOF
28816 /* confdefs.h. */
28817 _ACEOF
28818 cat confdefs.h >>conftest.$ac_ext
28819 cat >>conftest.$ac_ext <<_ACEOF
28820 /* end confdefs.h. */
28821 #include <windows.h>
28822
28823 typedef boolean ac__type_new_;
28824 int
28825 main ()
28826 {
28827 if ((ac__type_new_ *) 0)
28828 return 0;
28829 if (sizeof (ac__type_new_))
28830 return 0;
28831 ;
28832 return 0;
28833 }
28834 _ACEOF
28835 rm -f conftest.$ac_objext
28836 if { (ac_try="$ac_compile"
28837 case "(($ac_try" in
28838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28839 *) ac_try_echo=$ac_try;;
28840 esac
28841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28842 (eval "$ac_compile") 2>conftest.er1
28843 ac_status=$?
28844 grep -v '^ *+' conftest.er1 >conftest.err
28845 rm -f conftest.er1
28846 cat conftest.err >&5
28847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28848 (exit $ac_status); } && {
28849 test -z "$ac_c_werror_flag" ||
28850 test ! -s conftest.err
28851 } && test -s conftest.$ac_objext; then
28852 ac_cv_type_boolean=yes
28853 else
28854 echo "$as_me: failed program was:" >&5
28855 sed 's/^/| /' conftest.$ac_ext >&5
28856
28857 ac_cv_type_boolean=no
28858 fi
28859
28860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28861 fi
28862 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28863 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28864 if test $ac_cv_type_boolean = yes; then
28865
28866 cat >>confdefs.h <<_ACEOF
28867 #define HAVE_BOOLEAN 1
28868 _ACEOF
28869
28870
28871 { echo "$as_me:$LINENO: checking for boolean" >&5
28872 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28873 if test "${ac_cv_type_boolean+set}" = set; then
28874 echo $ECHO_N "(cached) $ECHO_C" >&6
28875 else
28876 cat >conftest.$ac_ext <<_ACEOF
28877 /* confdefs.h. */
28878 _ACEOF
28879 cat confdefs.h >>conftest.$ac_ext
28880 cat >>conftest.$ac_ext <<_ACEOF
28881 /* end confdefs.h. */
28882
28883 #undef HAVE_BOOLEAN
28884 #include <stdio.h>
28885 #include <jpeglib.h>
28886
28887
28888 typedef boolean ac__type_new_;
28889 int
28890 main ()
28891 {
28892 if ((ac__type_new_ *) 0)
28893 return 0;
28894 if (sizeof (ac__type_new_))
28895 return 0;
28896 ;
28897 return 0;
28898 }
28899 _ACEOF
28900 rm -f conftest.$ac_objext
28901 if { (ac_try="$ac_compile"
28902 case "(($ac_try" in
28903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28904 *) ac_try_echo=$ac_try;;
28905 esac
28906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28907 (eval "$ac_compile") 2>conftest.er1
28908 ac_status=$?
28909 grep -v '^ *+' conftest.er1 >conftest.err
28910 rm -f conftest.er1
28911 cat conftest.err >&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); } && {
28914 test -z "$ac_c_werror_flag" ||
28915 test ! -s conftest.err
28916 } && test -s conftest.$ac_objext; then
28917 ac_cv_type_boolean=yes
28918 else
28919 echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28921
28922 ac_cv_type_boolean=no
28923 fi
28924
28925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 fi
28927 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28928 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28929
28930 # The cast to long int works around a bug in the HP C Compiler
28931 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28932 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28933 # This bug is HP SR number 8606223364.
28934 { echo "$as_me:$LINENO: checking size of boolean" >&5
28935 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28936 if test "${ac_cv_sizeof_boolean+set}" = set; then
28937 echo $ECHO_N "(cached) $ECHO_C" >&6
28938 else
28939 if test "$cross_compiling" = yes; then
28940 # Depending upon the size, compute the lo and hi bounds.
28941 cat >conftest.$ac_ext <<_ACEOF
28942 /* confdefs.h. */
28943 _ACEOF
28944 cat confdefs.h >>conftest.$ac_ext
28945 cat >>conftest.$ac_ext <<_ACEOF
28946 /* end confdefs.h. */
28947
28948 #undef HAVE_BOOLEAN
28949 #include <stdio.h>
28950 #include <jpeglib.h>
28951
28952
28953 typedef boolean ac__type_sizeof_;
28954 int
28955 main ()
28956 {
28957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28958 test_array [0] = 0
28959
28960 ;
28961 return 0;
28962 }
28963 _ACEOF
28964 rm -f conftest.$ac_objext
28965 if { (ac_try="$ac_compile"
28966 case "(($ac_try" in
28967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28968 *) ac_try_echo=$ac_try;;
28969 esac
28970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28971 (eval "$ac_compile") 2>conftest.er1
28972 ac_status=$?
28973 grep -v '^ *+' conftest.er1 >conftest.err
28974 rm -f conftest.er1
28975 cat conftest.err >&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } && {
28978 test -z "$ac_c_werror_flag" ||
28979 test ! -s conftest.err
28980 } && test -s conftest.$ac_objext; then
28981 ac_lo=0 ac_mid=0
28982 while :; do
28983 cat >conftest.$ac_ext <<_ACEOF
28984 /* confdefs.h. */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28989
28990 #undef HAVE_BOOLEAN
28991 #include <stdio.h>
28992 #include <jpeglib.h>
28993
28994
28995 typedef boolean ac__type_sizeof_;
28996 int
28997 main ()
28998 {
28999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29000 test_array [0] = 0
29001
29002 ;
29003 return 0;
29004 }
29005 _ACEOF
29006 rm -f conftest.$ac_objext
29007 if { (ac_try="$ac_compile"
29008 case "(($ac_try" in
29009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29010 *) ac_try_echo=$ac_try;;
29011 esac
29012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29013 (eval "$ac_compile") 2>conftest.er1
29014 ac_status=$?
29015 grep -v '^ *+' conftest.er1 >conftest.err
29016 rm -f conftest.er1
29017 cat conftest.err >&5
29018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29019 (exit $ac_status); } && {
29020 test -z "$ac_c_werror_flag" ||
29021 test ! -s conftest.err
29022 } && test -s conftest.$ac_objext; then
29023 ac_hi=$ac_mid; break
29024 else
29025 echo "$as_me: failed program was:" >&5
29026 sed 's/^/| /' conftest.$ac_ext >&5
29027
29028 ac_lo=`expr $ac_mid + 1`
29029 if test $ac_lo -le $ac_mid; then
29030 ac_lo= ac_hi=
29031 break
29032 fi
29033 ac_mid=`expr 2 '*' $ac_mid + 1`
29034 fi
29035
29036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29037 done
29038 else
29039 echo "$as_me: failed program was:" >&5
29040 sed 's/^/| /' conftest.$ac_ext >&5
29041
29042 cat >conftest.$ac_ext <<_ACEOF
29043 /* confdefs.h. */
29044 _ACEOF
29045 cat confdefs.h >>conftest.$ac_ext
29046 cat >>conftest.$ac_ext <<_ACEOF
29047 /* end confdefs.h. */
29048
29049 #undef HAVE_BOOLEAN
29050 #include <stdio.h>
29051 #include <jpeglib.h>
29052
29053
29054 typedef boolean ac__type_sizeof_;
29055 int
29056 main ()
29057 {
29058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
29059 test_array [0] = 0
29060
29061 ;
29062 return 0;
29063 }
29064 _ACEOF
29065 rm -f conftest.$ac_objext
29066 if { (ac_try="$ac_compile"
29067 case "(($ac_try" in
29068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29069 *) ac_try_echo=$ac_try;;
29070 esac
29071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29072 (eval "$ac_compile") 2>conftest.er1
29073 ac_status=$?
29074 grep -v '^ *+' conftest.er1 >conftest.err
29075 rm -f conftest.er1
29076 cat conftest.err >&5
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); } && {
29079 test -z "$ac_c_werror_flag" ||
29080 test ! -s conftest.err
29081 } && test -s conftest.$ac_objext; then
29082 ac_hi=-1 ac_mid=-1
29083 while :; do
29084 cat >conftest.$ac_ext <<_ACEOF
29085 /* confdefs.h. */
29086 _ACEOF
29087 cat confdefs.h >>conftest.$ac_ext
29088 cat >>conftest.$ac_ext <<_ACEOF
29089 /* end confdefs.h. */
29090
29091 #undef HAVE_BOOLEAN
29092 #include <stdio.h>
29093 #include <jpeglib.h>
29094
29095
29096 typedef boolean ac__type_sizeof_;
29097 int
29098 main ()
29099 {
29100 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29101 test_array [0] = 0
29102
29103 ;
29104 return 0;
29105 }
29106 _ACEOF
29107 rm -f conftest.$ac_objext
29108 if { (ac_try="$ac_compile"
29109 case "(($ac_try" in
29110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29111 *) ac_try_echo=$ac_try;;
29112 esac
29113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29114 (eval "$ac_compile") 2>conftest.er1
29115 ac_status=$?
29116 grep -v '^ *+' conftest.er1 >conftest.err
29117 rm -f conftest.er1
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } && {
29121 test -z "$ac_c_werror_flag" ||
29122 test ! -s conftest.err
29123 } && test -s conftest.$ac_objext; then
29124 ac_lo=$ac_mid; break
29125 else
29126 echo "$as_me: failed program was:" >&5
29127 sed 's/^/| /' conftest.$ac_ext >&5
29128
29129 ac_hi=`expr '(' $ac_mid ')' - 1`
29130 if test $ac_mid -le $ac_hi; then
29131 ac_lo= ac_hi=
29132 break
29133 fi
29134 ac_mid=`expr 2 '*' $ac_mid`
29135 fi
29136
29137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29138 done
29139 else
29140 echo "$as_me: failed program was:" >&5
29141 sed 's/^/| /' conftest.$ac_ext >&5
29142
29143 ac_lo= ac_hi=
29144 fi
29145
29146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29147 fi
29148
29149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29150 # Binary search between lo and hi bounds.
29151 while test "x$ac_lo" != "x$ac_hi"; do
29152 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29153 cat >conftest.$ac_ext <<_ACEOF
29154 /* confdefs.h. */
29155 _ACEOF
29156 cat confdefs.h >>conftest.$ac_ext
29157 cat >>conftest.$ac_ext <<_ACEOF
29158 /* end confdefs.h. */
29159
29160 #undef HAVE_BOOLEAN
29161 #include <stdio.h>
29162 #include <jpeglib.h>
29163
29164
29165 typedef boolean ac__type_sizeof_;
29166 int
29167 main ()
29168 {
29169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29170 test_array [0] = 0
29171
29172 ;
29173 return 0;
29174 }
29175 _ACEOF
29176 rm -f conftest.$ac_objext
29177 if { (ac_try="$ac_compile"
29178 case "(($ac_try" in
29179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29180 *) ac_try_echo=$ac_try;;
29181 esac
29182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29183 (eval "$ac_compile") 2>conftest.er1
29184 ac_status=$?
29185 grep -v '^ *+' conftest.er1 >conftest.err
29186 rm -f conftest.er1
29187 cat conftest.err >&5
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); } && {
29190 test -z "$ac_c_werror_flag" ||
29191 test ! -s conftest.err
29192 } && test -s conftest.$ac_objext; then
29193 ac_hi=$ac_mid
29194 else
29195 echo "$as_me: failed program was:" >&5
29196 sed 's/^/| /' conftest.$ac_ext >&5
29197
29198 ac_lo=`expr '(' $ac_mid ')' + 1`
29199 fi
29200
29201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29202 done
29203 case $ac_lo in
29204 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29205 '') if test "$ac_cv_type_boolean" = yes; then
29206 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29207 See \`config.log' for more details." >&5
29208 echo "$as_me: error: cannot compute sizeof (boolean)
29209 See \`config.log' for more details." >&2;}
29210 { (exit 77); exit 77; }; }
29211 else
29212 ac_cv_sizeof_boolean=0
29213 fi ;;
29214 esac
29215 else
29216 cat >conftest.$ac_ext <<_ACEOF
29217 /* confdefs.h. */
29218 _ACEOF
29219 cat confdefs.h >>conftest.$ac_ext
29220 cat >>conftest.$ac_ext <<_ACEOF
29221 /* end confdefs.h. */
29222
29223 #undef HAVE_BOOLEAN
29224 #include <stdio.h>
29225 #include <jpeglib.h>
29226
29227
29228 typedef boolean ac__type_sizeof_;
29229 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29230 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29231 #include <stdio.h>
29232 #include <stdlib.h>
29233 int
29234 main ()
29235 {
29236
29237 FILE *f = fopen ("conftest.val", "w");
29238 if (! f)
29239 return 1;
29240 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29241 {
29242 long int i = longval ();
29243 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29244 return 1;
29245 fprintf (f, "%ld\n", i);
29246 }
29247 else
29248 {
29249 unsigned long int i = ulongval ();
29250 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29251 return 1;
29252 fprintf (f, "%lu\n", i);
29253 }
29254 return ferror (f) || fclose (f) != 0;
29255
29256 ;
29257 return 0;
29258 }
29259 _ACEOF
29260 rm -f conftest$ac_exeext
29261 if { (ac_try="$ac_link"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29265 esac
29266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_link") 2>&5
29268 ac_status=$?
29269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29270 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29271 { (case "(($ac_try" in
29272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29273 *) ac_try_echo=$ac_try;;
29274 esac
29275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29276 (eval "$ac_try") 2>&5
29277 ac_status=$?
29278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29279 (exit $ac_status); }; }; then
29280 ac_cv_sizeof_boolean=`cat conftest.val`
29281 else
29282 echo "$as_me: program exited with status $ac_status" >&5
29283 echo "$as_me: failed program was:" >&5
29284 sed 's/^/| /' conftest.$ac_ext >&5
29285
29286 ( exit $ac_status )
29287 if test "$ac_cv_type_boolean" = yes; then
29288 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29289 See \`config.log' for more details." >&5
29290 echo "$as_me: error: cannot compute sizeof (boolean)
29291 See \`config.log' for more details." >&2;}
29292 { (exit 77); exit 77; }; }
29293 else
29294 ac_cv_sizeof_boolean=0
29295 fi
29296 fi
29297 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29298 fi
29299 rm -f conftest.val
29300 fi
29301 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29302 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29303
29304
29305
29306 cat >>confdefs.h <<_ACEOF
29307 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29308 _ACEOF
29309
29310
29311 cat >>confdefs.h <<_ACEOF
29312 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29313 _ACEOF
29314
29315
29316 fi
29317
29318 fi
29319 fi
29320 fi
29321 fi
29322 fi
29323
29324
29325 TIFF_LINK=
29326 TIFF_PREREQ_LINKS=-lm
29327 if test "$wxUSE_LIBTIFF" != "no" ; then
29328 cat >>confdefs.h <<\_ACEOF
29329 #define wxUSE_LIBTIFF 1
29330 _ACEOF
29331
29332
29333 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29334 if test "$wxUSE_LIBJPEG" = "sys"; then
29335 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29336 fi
29337 if test "$wxUSE_ZLIB" = "sys"; then
29338 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29339 fi
29340 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29341 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29342 if test "${ac_cv_header_tiffio_h+set}" = set; then
29343 echo $ECHO_N "(cached) $ECHO_C" >&6
29344 else
29345 cat >conftest.$ac_ext <<_ACEOF
29346 /* confdefs.h. */
29347 _ACEOF
29348 cat confdefs.h >>conftest.$ac_ext
29349 cat >>conftest.$ac_ext <<_ACEOF
29350 /* end confdefs.h. */
29351
29352
29353
29354 #include <tiffio.h>
29355 _ACEOF
29356 rm -f conftest.$ac_objext
29357 if { (ac_try="$ac_compile"
29358 case "(($ac_try" in
29359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29360 *) ac_try_echo=$ac_try;;
29361 esac
29362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29363 (eval "$ac_compile") 2>conftest.er1
29364 ac_status=$?
29365 grep -v '^ *+' conftest.er1 >conftest.err
29366 rm -f conftest.er1
29367 cat conftest.err >&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); } && {
29370 test -z "$ac_c_werror_flag" ||
29371 test ! -s conftest.err
29372 } && test -s conftest.$ac_objext; then
29373 ac_cv_header_tiffio_h=yes
29374 else
29375 echo "$as_me: failed program was:" >&5
29376 sed 's/^/| /' conftest.$ac_ext >&5
29377
29378 ac_cv_header_tiffio_h=no
29379 fi
29380
29381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29382 fi
29383 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29384 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29385 if test $ac_cv_header_tiffio_h = yes; then
29386
29387 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29388 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29389 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 else
29392 ac_check_lib_save_LIBS=$LIBS
29393 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29394 cat >conftest.$ac_ext <<_ACEOF
29395 /* confdefs.h. */
29396 _ACEOF
29397 cat confdefs.h >>conftest.$ac_ext
29398 cat >>conftest.$ac_ext <<_ACEOF
29399 /* end confdefs.h. */
29400
29401 /* Override any GCC internal prototype to avoid an error.
29402 Use char because int might match the return type of a GCC
29403 builtin and then its argument prototype would still apply. */
29404 #ifdef __cplusplus
29405 extern "C"
29406 #endif
29407 char TIFFError ();
29408 int
29409 main ()
29410 {
29411 return TIFFError ();
29412 ;
29413 return 0;
29414 }
29415 _ACEOF
29416 rm -f conftest.$ac_objext conftest$ac_exeext
29417 if { (ac_try="$ac_link"
29418 case "(($ac_try" in
29419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29420 *) ac_try_echo=$ac_try;;
29421 esac
29422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29423 (eval "$ac_link") 2>conftest.er1
29424 ac_status=$?
29425 grep -v '^ *+' conftest.er1 >conftest.err
29426 rm -f conftest.er1
29427 cat conftest.err >&5
29428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29429 (exit $ac_status); } && {
29430 test -z "$ac_c_werror_flag" ||
29431 test ! -s conftest.err
29432 } && test -s conftest$ac_exeext &&
29433 $as_test_x conftest$ac_exeext; then
29434 ac_cv_lib_tiff_TIFFError=yes
29435 else
29436 echo "$as_me: failed program was:" >&5
29437 sed 's/^/| /' conftest.$ac_ext >&5
29438
29439 ac_cv_lib_tiff_TIFFError=no
29440 fi
29441
29442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29443 conftest$ac_exeext conftest.$ac_ext
29444 LIBS=$ac_check_lib_save_LIBS
29445 fi
29446 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29447 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29448 if test $ac_cv_lib_tiff_TIFFError = yes; then
29449 TIFF_LINK=" -ltiff"
29450 fi
29451
29452
29453 fi
29454
29455
29456
29457 if test "x$TIFF_LINK" = "x" ; then
29458 if test "$wxUSE_LIBTIFF" = "sys" ; then
29459 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29460 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29461 { (exit 1); exit 1; }; }
29462 else
29463 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29464 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29465 wxUSE_LIBTIFF=builtin
29466 fi
29467 else
29468 wxUSE_LIBTIFF=sys
29469 fi
29470 fi
29471 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29472 if test "$wxUSE_LIBJPEG" = "no"; then
29473 ac_configure_args="$ac_configure_args --disable-jpeg"
29474 fi
29475 subdirs="$subdirs src/tiff"
29476
29477 fi
29478 fi
29479
29480
29481 if test "$wxUSE_EXPAT" != "no"; then
29482 wxUSE_XML=yes
29483 cat >>confdefs.h <<\_ACEOF
29484 #define wxUSE_EXPAT 1
29485 _ACEOF
29486
29487 cat >>confdefs.h <<\_ACEOF
29488 #define wxUSE_XML 1
29489 _ACEOF
29490
29491
29492 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29493 { echo "$as_me:$LINENO: checking for expat.h" >&5
29494 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29495 if test "${ac_cv_header_expat_h+set}" = set; then
29496 echo $ECHO_N "(cached) $ECHO_C" >&6
29497 else
29498 cat >conftest.$ac_ext <<_ACEOF
29499 /* confdefs.h. */
29500 _ACEOF
29501 cat confdefs.h >>conftest.$ac_ext
29502 cat >>conftest.$ac_ext <<_ACEOF
29503 /* end confdefs.h. */
29504
29505
29506 #include <expat.h>
29507 _ACEOF
29508 rm -f conftest.$ac_objext
29509 if { (ac_try="$ac_compile"
29510 case "(($ac_try" in
29511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29512 *) ac_try_echo=$ac_try;;
29513 esac
29514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29515 (eval "$ac_compile") 2>conftest.er1
29516 ac_status=$?
29517 grep -v '^ *+' conftest.er1 >conftest.err
29518 rm -f conftest.er1
29519 cat conftest.err >&5
29520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29521 (exit $ac_status); } && {
29522 test -z "$ac_c_werror_flag" ||
29523 test ! -s conftest.err
29524 } && test -s conftest.$ac_objext; then
29525 ac_cv_header_expat_h=yes
29526 else
29527 echo "$as_me: failed program was:" >&5
29528 sed 's/^/| /' conftest.$ac_ext >&5
29529
29530 ac_cv_header_expat_h=no
29531 fi
29532
29533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29534 fi
29535 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29536 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29537 if test $ac_cv_header_expat_h = yes; then
29538 found_expat_h=1
29539 fi
29540
29541
29542 if test "x$found_expat_h" = "x1"; then
29543 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29544 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29545 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29546 echo $ECHO_N "(cached) $ECHO_C" >&6
29547 else
29548
29549 ac_ext=cpp
29550 ac_cpp='$CXXCPP $CPPFLAGS'
29551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29554
29555 cat >conftest.$ac_ext <<_ACEOF
29556 /* confdefs.h. */
29557 _ACEOF
29558 cat confdefs.h >>conftest.$ac_ext
29559 cat >>conftest.$ac_ext <<_ACEOF
29560 /* end confdefs.h. */
29561 #include <expat.h>
29562 int
29563 main ()
29564 {
29565
29566 ;
29567 return 0;
29568 }
29569 _ACEOF
29570 rm -f conftest.$ac_objext
29571 if { (ac_try="$ac_compile"
29572 case "(($ac_try" in
29573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29574 *) ac_try_echo=$ac_try;;
29575 esac
29576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29577 (eval "$ac_compile") 2>conftest.er1
29578 ac_status=$?
29579 grep -v '^ *+' conftest.er1 >conftest.err
29580 rm -f conftest.er1
29581 cat conftest.err >&5
29582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29583 (exit $ac_status); } && {
29584 test -z "$ac_cxx_werror_flag" ||
29585 test ! -s conftest.err
29586 } && test -s conftest.$ac_objext; then
29587 wx_cv_expat_is_not_broken=yes
29588 else
29589 echo "$as_me: failed program was:" >&5
29590 sed 's/^/| /' conftest.$ac_ext >&5
29591
29592 wx_cv_expat_is_not_broken=no
29593
29594 fi
29595
29596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29597 ac_ext=c
29598 ac_cpp='$CPP $CPPFLAGS'
29599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29602
29603
29604
29605 fi
29606 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29607 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29608 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29609 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29610 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29611 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29612 echo $ECHO_N "(cached) $ECHO_C" >&6
29613 else
29614 ac_check_lib_save_LIBS=$LIBS
29615 LIBS="-lexpat $LIBS"
29616 cat >conftest.$ac_ext <<_ACEOF
29617 /* confdefs.h. */
29618 _ACEOF
29619 cat confdefs.h >>conftest.$ac_ext
29620 cat >>conftest.$ac_ext <<_ACEOF
29621 /* end confdefs.h. */
29622
29623 /* Override any GCC internal prototype to avoid an error.
29624 Use char because int might match the return type of a GCC
29625 builtin and then its argument prototype would still apply. */
29626 #ifdef __cplusplus
29627 extern "C"
29628 #endif
29629 char XML_ParserCreate ();
29630 int
29631 main ()
29632 {
29633 return XML_ParserCreate ();
29634 ;
29635 return 0;
29636 }
29637 _ACEOF
29638 rm -f conftest.$ac_objext conftest$ac_exeext
29639 if { (ac_try="$ac_link"
29640 case "(($ac_try" in
29641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29642 *) ac_try_echo=$ac_try;;
29643 esac
29644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29645 (eval "$ac_link") 2>conftest.er1
29646 ac_status=$?
29647 grep -v '^ *+' conftest.er1 >conftest.err
29648 rm -f conftest.er1
29649 cat conftest.err >&5
29650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29651 (exit $ac_status); } && {
29652 test -z "$ac_c_werror_flag" ||
29653 test ! -s conftest.err
29654 } && test -s conftest$ac_exeext &&
29655 $as_test_x conftest$ac_exeext; then
29656 ac_cv_lib_expat_XML_ParserCreate=yes
29657 else
29658 echo "$as_me: failed program was:" >&5
29659 sed 's/^/| /' conftest.$ac_ext >&5
29660
29661 ac_cv_lib_expat_XML_ParserCreate=no
29662 fi
29663
29664 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29665 conftest$ac_exeext conftest.$ac_ext
29666 LIBS=$ac_check_lib_save_LIBS
29667 fi
29668 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29669 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29670 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29671 EXPAT_LINK=" -lexpat"
29672 fi
29673
29674 fi
29675 fi
29676 if test "x$EXPAT_LINK" = "x" ; then
29677 if test "$wxUSE_EXPAT" = "sys" ; then
29678 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29679 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29680 { (exit 1); exit 1; }; }
29681 else
29682 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29683 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29684 wxUSE_EXPAT=builtin
29685 fi
29686 else
29687 wxUSE_EXPAT=sys
29688 fi
29689 fi
29690 if test "$wxUSE_EXPAT" = "builtin" ; then
29691 subdirs="$subdirs src/expat"
29692
29693 fi
29694 fi
29695
29696
29697
29698 if test "$wxUSE_LIBMSPACK" != "no"; then
29699 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29700 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29701 if test "${ac_cv_header_mspack_h+set}" = set; then
29702 echo $ECHO_N "(cached) $ECHO_C" >&6
29703 else
29704 cat >conftest.$ac_ext <<_ACEOF
29705 /* confdefs.h. */
29706 _ACEOF
29707 cat confdefs.h >>conftest.$ac_ext
29708 cat >>conftest.$ac_ext <<_ACEOF
29709 /* end confdefs.h. */
29710
29711
29712 #include <mspack.h>
29713 _ACEOF
29714 rm -f conftest.$ac_objext
29715 if { (ac_try="$ac_compile"
29716 case "(($ac_try" in
29717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29718 *) ac_try_echo=$ac_try;;
29719 esac
29720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29721 (eval "$ac_compile") 2>conftest.er1
29722 ac_status=$?
29723 grep -v '^ *+' conftest.er1 >conftest.err
29724 rm -f conftest.er1
29725 cat conftest.err >&5
29726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29727 (exit $ac_status); } && {
29728 test -z "$ac_c_werror_flag" ||
29729 test ! -s conftest.err
29730 } && test -s conftest.$ac_objext; then
29731 ac_cv_header_mspack_h=yes
29732 else
29733 echo "$as_me: failed program was:" >&5
29734 sed 's/^/| /' conftest.$ac_ext >&5
29735
29736 ac_cv_header_mspack_h=no
29737 fi
29738
29739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29740 fi
29741 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29742 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29743 if test $ac_cv_header_mspack_h = yes; then
29744 found_mspack_h=1
29745 fi
29746
29747
29748 if test "x$found_mspack_h" = "x1"; then
29749 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29750 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29751 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29752 echo $ECHO_N "(cached) $ECHO_C" >&6
29753 else
29754 ac_check_lib_save_LIBS=$LIBS
29755 LIBS="-lmspack $LIBS"
29756 cat >conftest.$ac_ext <<_ACEOF
29757 /* confdefs.h. */
29758 _ACEOF
29759 cat confdefs.h >>conftest.$ac_ext
29760 cat >>conftest.$ac_ext <<_ACEOF
29761 /* end confdefs.h. */
29762
29763 /* Override any GCC internal prototype to avoid an error.
29764 Use char because int might match the return type of a GCC
29765 builtin and then its argument prototype would still apply. */
29766 #ifdef __cplusplus
29767 extern "C"
29768 #endif
29769 char mspack_create_chm_decompressor ();
29770 int
29771 main ()
29772 {
29773 return mspack_create_chm_decompressor ();
29774 ;
29775 return 0;
29776 }
29777 _ACEOF
29778 rm -f conftest.$ac_objext conftest$ac_exeext
29779 if { (ac_try="$ac_link"
29780 case "(($ac_try" in
29781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29782 *) ac_try_echo=$ac_try;;
29783 esac
29784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29785 (eval "$ac_link") 2>conftest.er1
29786 ac_status=$?
29787 grep -v '^ *+' conftest.er1 >conftest.err
29788 rm -f conftest.er1
29789 cat conftest.err >&5
29790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29791 (exit $ac_status); } && {
29792 test -z "$ac_c_werror_flag" ||
29793 test ! -s conftest.err
29794 } && test -s conftest$ac_exeext &&
29795 $as_test_x conftest$ac_exeext; then
29796 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29797 else
29798 echo "$as_me: failed program was:" >&5
29799 sed 's/^/| /' conftest.$ac_ext >&5
29800
29801 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29802 fi
29803
29804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29805 conftest$ac_exeext conftest.$ac_ext
29806 LIBS=$ac_check_lib_save_LIBS
29807 fi
29808 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29809 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29810 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29811 MSPACK_LINK=" -lmspack"
29812 fi
29813
29814 fi
29815 if test "x$MSPACK_LINK" = "x" ; then
29816 wxUSE_LIBMSPACK=no
29817 fi
29818 fi
29819
29820 if test "$wxUSE_LIBMSPACK" != "no"; then
29821 cat >>confdefs.h <<\_ACEOF
29822 #define wxUSE_LIBMSPACK 1
29823 _ACEOF
29824
29825 fi
29826
29827
29828
29829 AFMINSTALL=
29830 WIN32INSTALL=
29831
29832 TOOLKIT=
29833 TOOLKIT_INCLUDE=
29834 WIDGET_SET=
29835
29836 if test "$USE_WIN32" = 1 ; then
29837
29838 for ac_header in w32api.h
29839 do
29840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29841 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29843 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29844 echo $ECHO_N "(cached) $ECHO_C" >&6
29845 else
29846 cat >conftest.$ac_ext <<_ACEOF
29847 /* confdefs.h. */
29848 _ACEOF
29849 cat confdefs.h >>conftest.$ac_ext
29850 cat >>conftest.$ac_ext <<_ACEOF
29851 /* end confdefs.h. */
29852
29853
29854 #include <$ac_header>
29855 _ACEOF
29856 rm -f conftest.$ac_objext
29857 if { (ac_try="$ac_compile"
29858 case "(($ac_try" in
29859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29860 *) ac_try_echo=$ac_try;;
29861 esac
29862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29863 (eval "$ac_compile") 2>conftest.er1
29864 ac_status=$?
29865 grep -v '^ *+' conftest.er1 >conftest.err
29866 rm -f conftest.er1
29867 cat conftest.err >&5
29868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29869 (exit $ac_status); } && {
29870 test -z "$ac_c_werror_flag" ||
29871 test ! -s conftest.err
29872 } && test -s conftest.$ac_objext; then
29873 eval "$as_ac_Header=yes"
29874 else
29875 echo "$as_me: failed program was:" >&5
29876 sed 's/^/| /' conftest.$ac_ext >&5
29877
29878 eval "$as_ac_Header=no"
29879 fi
29880
29881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29882 fi
29883 ac_res=`eval echo '${'$as_ac_Header'}'`
29884 { echo "$as_me:$LINENO: result: $ac_res" >&5
29885 echo "${ECHO_T}$ac_res" >&6; }
29886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29887 cat >>confdefs.h <<_ACEOF
29888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29889 _ACEOF
29890
29891 fi
29892
29893 done
29894
29895 { echo "$as_me:$LINENO: checking for windows.h" >&5
29896 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29897 if test "${ac_cv_header_windows_h+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29899 else
29900 cat >conftest.$ac_ext <<_ACEOF
29901 /* confdefs.h. */
29902 _ACEOF
29903 cat confdefs.h >>conftest.$ac_ext
29904 cat >>conftest.$ac_ext <<_ACEOF
29905 /* end confdefs.h. */
29906
29907
29908 #include <windows.h>
29909 _ACEOF
29910 rm -f conftest.$ac_objext
29911 if { (ac_try="$ac_compile"
29912 case "(($ac_try" in
29913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29914 *) ac_try_echo=$ac_try;;
29915 esac
29916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29917 (eval "$ac_compile") 2>conftest.er1
29918 ac_status=$?
29919 grep -v '^ *+' conftest.er1 >conftest.err
29920 rm -f conftest.er1
29921 cat conftest.err >&5
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); } && {
29924 test -z "$ac_c_werror_flag" ||
29925 test ! -s conftest.err
29926 } && test -s conftest.$ac_objext; then
29927 ac_cv_header_windows_h=yes
29928 else
29929 echo "$as_me: failed program was:" >&5
29930 sed 's/^/| /' conftest.$ac_ext >&5
29931
29932 ac_cv_header_windows_h=no
29933 fi
29934
29935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29936 fi
29937 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29938 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29939 if test $ac_cv_header_windows_h = yes; then
29940 :
29941 else
29942
29943 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29944 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29945 { (exit 1); exit 1; }; }
29946
29947 fi
29948
29949
29950
29951 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29952 case "${host}" in
29953 x86_64-*-mingw32* )
29954 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29955 ;;
29956 esac
29957 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29958 LIBS="$LIBS -loleacc"
29959 fi
29960
29961 case "${host}" in
29962 *-*-cygwin* )
29963 LIBS="$LIBS -lkernel32 -luser32"
29964 esac
29965
29966 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29967 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29968
29969 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29970
29971 WIN32INSTALL=win32install
29972
29973 { echo "$as_me:$LINENO: checking for pbt.h" >&5
29974 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
29975 if test "${ac_cv_header_pbt_h+set}" = set; then
29976 echo $ECHO_N "(cached) $ECHO_C" >&6
29977 else
29978 cat >conftest.$ac_ext <<_ACEOF
29979 /* confdefs.h. */
29980 _ACEOF
29981 cat confdefs.h >>conftest.$ac_ext
29982 cat >>conftest.$ac_ext <<_ACEOF
29983 /* end confdefs.h. */
29984
29985
29986 #include <pbt.h>
29987 _ACEOF
29988 rm -f conftest.$ac_objext
29989 if { (ac_try="$ac_compile"
29990 case "(($ac_try" in
29991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29992 *) ac_try_echo=$ac_try;;
29993 esac
29994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29995 (eval "$ac_compile") 2>conftest.er1
29996 ac_status=$?
29997 grep -v '^ *+' conftest.er1 >conftest.err
29998 rm -f conftest.er1
29999 cat conftest.err >&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } && {
30002 test -z "$ac_c_werror_flag" ||
30003 test ! -s conftest.err
30004 } && test -s conftest.$ac_objext; then
30005 ac_cv_header_pbt_h=yes
30006 else
30007 echo "$as_me: failed program was:" >&5
30008 sed 's/^/| /' conftest.$ac_ext >&5
30009
30010 ac_cv_header_pbt_h=no
30011 fi
30012
30013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30014 fi
30015 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
30016 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
30017 if test $ac_cv_header_pbt_h = yes; then
30018 :
30019 else
30020 cat >>confdefs.h <<\_ACEOF
30021 #define NEED_PBT_H 1
30022 _ACEOF
30023
30024 fi
30025
30026
30027 fi
30028
30029 if test "$wxUSE_GUI" = "yes"; then
30030 USE_GUI=1
30031
30032 GUI_TK_LIBRARY=
30033
30034 WXGTK127=
30035 WXGTK2=
30036 WXGPE=
30037
30038 if test "$wxUSE_OLD_COCOA" = 1 ; then
30039 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
30040 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
30041 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
30042 wxUSE_PRINTING_ARCHITECTURE=no
30043 fi
30044 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
30045 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
30046 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
30047 wxUSE_DRAG_AND_DROP=no
30048 fi
30049 if test "$wxUSE_DRAGIMAGE" = "yes"; then
30050 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
30051 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
30052 wxUSE_DRAGIMAGE=no
30053 fi
30054 fi
30055
30056 if test "$wxUSE_MSW" = 1 ; then
30057 TOOLKIT=MSW
30058 GUIDIST=MSW_DIST
30059
30060 case "${host}" in
30061 *-*-mingw32* )
30062 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
30063 esac
30064 fi
30065
30066 if test "$wxUSE_GTK" = 1; then
30067 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
30068 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
30069
30070 gtk_version_cached=1
30071 if test "${wx_cv_lib_gtk+set}" = set; then
30072 echo $ECHO_N "(cached) $ECHO_C" >&6
30073 else
30074
30075 gtk_version_cached=0
30076 { echo "$as_me:$LINENO: result: " >&5
30077 echo "${ECHO_T}" >&6; }
30078
30079 GTK_MODULES=
30080 if test "$wxUSE_THREADS" = "yes"; then
30081 GTK_MODULES=gthread
30082 fi
30083
30084 wx_cv_lib_gtk=
30085 if test "x$wxGTK_VERSION" != "x1"
30086 then
30087 case "${host}" in
30088 *-*-solaris2* )
30089 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
30090 enable_gtktest=no
30091 fi
30092 esac
30093
30094 # Check whether --enable-gtktest was given.
30095 if test "${enable_gtktest+set}" = set; then
30096 enableval=$enable_gtktest;
30097 else
30098 enable_gtktest=yes
30099 fi
30100
30101
30102 pkg_config_args=gtk+-2.0
30103 for module in . $GTK_MODULES
30104 do
30105 case "$module" in
30106 gthread)
30107 pkg_config_args="$pkg_config_args gthread-2.0"
30108 ;;
30109 esac
30110 done
30111
30112 no_gtk=""
30113
30114 # Extract the first word of "pkg-config", so it can be a program name with args.
30115 set dummy pkg-config; ac_word=$2
30116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30118 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30119 echo $ECHO_N "(cached) $ECHO_C" >&6
30120 else
30121 case $PKG_CONFIG in
30122 [\\/]* | ?:[\\/]*)
30123 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30124 ;;
30125 *)
30126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30127 for as_dir in $PATH
30128 do
30129 IFS=$as_save_IFS
30130 test -z "$as_dir" && as_dir=.
30131 for ac_exec_ext in '' $ac_executable_extensions; do
30132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30133 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30135 break 2
30136 fi
30137 done
30138 done
30139 IFS=$as_save_IFS
30140
30141 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
30142 ;;
30143 esac
30144 fi
30145 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30146 if test -n "$PKG_CONFIG"; then
30147 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30148 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30149 else
30150 { echo "$as_me:$LINENO: result: no" >&5
30151 echo "${ECHO_T}no" >&6; }
30152 fi
30153
30154
30155
30156 if test x$PKG_CONFIG != xno ; then
30157 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30158 :
30159 else
30160 echo "*** pkg-config too old; version 0.7 or better required."
30161 no_gtk=yes
30162 PKG_CONFIG=no
30163 fi
30164 else
30165 no_gtk=yes
30166 fi
30167
30168 min_gtk_version=2.4.0
30169 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30170 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30171
30172 if test x$PKG_CONFIG != xno ; then
30173 ## don't try to run the test against uninstalled libtool libs
30174 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30175 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30176 enable_gtktest=no
30177 fi
30178
30179 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30180 :
30181 else
30182 no_gtk=yes
30183 fi
30184 fi
30185
30186 if test x"$no_gtk" = x ; then
30187 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30188 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30189 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30191 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30193 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30194 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30195 if test "x$enable_gtktest" = "xyes" ; then
30196 ac_save_CFLAGS="$CFLAGS"
30197 ac_save_LIBS="$LIBS"
30198 CFLAGS="$CFLAGS $GTK_CFLAGS"
30199 LIBS="$GTK_LIBS $LIBS"
30200 rm -f conf.gtktest
30201 if test "$cross_compiling" = yes; then
30202 echo $ac_n "cross compiling; assumed OK... $ac_c"
30203 else
30204 cat >conftest.$ac_ext <<_ACEOF
30205 /* confdefs.h. */
30206 _ACEOF
30207 cat confdefs.h >>conftest.$ac_ext
30208 cat >>conftest.$ac_ext <<_ACEOF
30209 /* end confdefs.h. */
30210
30211 #include <gtk/gtk.h>
30212 #include <stdio.h>
30213 #include <stdlib.h>
30214
30215 int
30216 main ()
30217 {
30218 int major, minor, micro;
30219 char *tmp_version;
30220
30221 system ("touch conf.gtktest");
30222
30223 /* HP/UX 9 (%@#!) writes to sscanf strings */
30224 tmp_version = g_strdup("$min_gtk_version");
30225 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30226 printf("%s, bad version string\n", "$min_gtk_version");
30227 exit(1);
30228 }
30229
30230 if ((gtk_major_version != $gtk_config_major_version) ||
30231 (gtk_minor_version != $gtk_config_minor_version) ||
30232 (gtk_micro_version != $gtk_config_micro_version))
30233 {
30234 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30235 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30236 gtk_major_version, gtk_minor_version, gtk_micro_version);
30237 printf ("*** was found! If pkg-config was correct, then it is best\n");
30238 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30239 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30240 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30241 printf("*** required on your system.\n");
30242 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30243 printf("*** to point to the correct configuration files\n");
30244 }
30245 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30246 (gtk_minor_version != GTK_MINOR_VERSION) ||
30247 (gtk_micro_version != GTK_MICRO_VERSION))
30248 {
30249 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30250 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30251 printf("*** library (version %d.%d.%d)\n",
30252 gtk_major_version, gtk_minor_version, gtk_micro_version);
30253 }
30254 else
30255 {
30256 if ((gtk_major_version > major) ||
30257 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30258 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30259 {
30260 return 0;
30261 }
30262 else
30263 {
30264 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30265 gtk_major_version, gtk_minor_version, gtk_micro_version);
30266 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30267 major, minor, micro);
30268 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30269 printf("***\n");
30270 printf("*** If you have already installed a sufficiently new version, this error\n");
30271 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30272 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30273 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30274 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30275 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30276 printf("*** so that the correct libraries are found at run-time))\n");
30277 }
30278 }
30279 return 1;
30280 }
30281
30282 _ACEOF
30283 rm -f conftest$ac_exeext
30284 if { (ac_try="$ac_link"
30285 case "(($ac_try" in
30286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30287 *) ac_try_echo=$ac_try;;
30288 esac
30289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30290 (eval "$ac_link") 2>&5
30291 ac_status=$?
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30294 { (case "(($ac_try" in
30295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30296 *) ac_try_echo=$ac_try;;
30297 esac
30298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30299 (eval "$ac_try") 2>&5
30300 ac_status=$?
30301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30302 (exit $ac_status); }; }; then
30303 :
30304 else
30305 echo "$as_me: program exited with status $ac_status" >&5
30306 echo "$as_me: failed program was:" >&5
30307 sed 's/^/| /' conftest.$ac_ext >&5
30308
30309 ( exit $ac_status )
30310 no_gtk=yes
30311 fi
30312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30313 fi
30314
30315
30316 CFLAGS="$ac_save_CFLAGS"
30317 LIBS="$ac_save_LIBS"
30318 fi
30319 fi
30320 if test "x$no_gtk" = x ; then
30321 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30322 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30323 wx_cv_lib_gtk=2.0
30324 else
30325 { echo "$as_me:$LINENO: result: no" >&5
30326 echo "${ECHO_T}no" >&6; }
30327 if test "$PKG_CONFIG" = "no" ; then
30328 echo "*** A new enough version of pkg-config was not found."
30329 echo "*** See http://pkgconfig.sourceforge.net"
30330 else
30331 if test -f conf.gtktest ; then
30332 :
30333 else
30334 echo "*** Could not run GTK+ test program, checking why..."
30335 ac_save_CFLAGS="$CFLAGS"
30336 ac_save_LIBS="$LIBS"
30337 CFLAGS="$CFLAGS $GTK_CFLAGS"
30338 LIBS="$LIBS $GTK_LIBS"
30339 cat >conftest.$ac_ext <<_ACEOF
30340 /* confdefs.h. */
30341 _ACEOF
30342 cat confdefs.h >>conftest.$ac_ext
30343 cat >>conftest.$ac_ext <<_ACEOF
30344 /* end confdefs.h. */
30345
30346 #include <gtk/gtk.h>
30347 #include <stdio.h>
30348
30349 int
30350 main ()
30351 {
30352 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30353 ;
30354 return 0;
30355 }
30356 _ACEOF
30357 rm -f conftest.$ac_objext conftest$ac_exeext
30358 if { (ac_try="$ac_link"
30359 case "(($ac_try" in
30360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30361 *) ac_try_echo=$ac_try;;
30362 esac
30363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30364 (eval "$ac_link") 2>conftest.er1
30365 ac_status=$?
30366 grep -v '^ *+' conftest.er1 >conftest.err
30367 rm -f conftest.er1
30368 cat conftest.err >&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); } && {
30371 test -z "$ac_c_werror_flag" ||
30372 test ! -s conftest.err
30373 } && test -s conftest$ac_exeext &&
30374 $as_test_x conftest$ac_exeext; then
30375 echo "*** The test program compiled, but did not run. This usually means"
30376 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30377 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30378 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30379 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30380 echo "*** is required on your system"
30381 echo "***"
30382 echo "*** If you have an old version installed, it is best to remove it, although"
30383 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30384 else
30385 echo "$as_me: failed program was:" >&5
30386 sed 's/^/| /' conftest.$ac_ext >&5
30387
30388 echo "*** The test program failed to compile or link. See the file config.log for the"
30389 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30390 fi
30391
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30394 CFLAGS="$ac_save_CFLAGS"
30395 LIBS="$ac_save_LIBS"
30396 fi
30397 fi
30398 GTK_CFLAGS=""
30399 GTK_LIBS=""
30400 :
30401 fi
30402
30403
30404 rm -f conf.gtktest
30405
30406 fi
30407
30408 if test -z "$wx_cv_lib_gtk"; then
30409 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30410
30411 # Check whether --with-gtk-prefix was given.
30412 if test "${with_gtk_prefix+set}" = set; then
30413 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30414 else
30415 gtk_config_prefix=""
30416 fi
30417
30418
30419 # Check whether --with-gtk-exec-prefix was given.
30420 if test "${with_gtk_exec_prefix+set}" = set; then
30421 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30422 else
30423 gtk_config_exec_prefix=""
30424 fi
30425
30426 # Check whether --enable-gtktest was given.
30427 if test "${enable_gtktest+set}" = set; then
30428 enableval=$enable_gtktest;
30429 else
30430 enable_gtktest=yes
30431 fi
30432
30433
30434 for module in . $GTK_MODULES
30435 do
30436 case "$module" in
30437 gthread)
30438 gtk_config_args="$gtk_config_args gthread"
30439 ;;
30440 esac
30441 done
30442
30443 if test x$gtk_config_exec_prefix != x ; then
30444 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30445 if test x${GTK_CONFIG+set} != xset ; then
30446 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30447 fi
30448 fi
30449 if test x$gtk_config_prefix != x ; then
30450 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30451 if test x${GTK_CONFIG+set} != xset ; then
30452 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30453 fi
30454 fi
30455
30456 # Extract the first word of "gtk-config", so it can be a program name with args.
30457 set dummy gtk-config; ac_word=$2
30458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30460 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30461 echo $ECHO_N "(cached) $ECHO_C" >&6
30462 else
30463 case $GTK_CONFIG in
30464 [\\/]* | ?:[\\/]*)
30465 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30466 ;;
30467 *)
30468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30469 for as_dir in $PATH
30470 do
30471 IFS=$as_save_IFS
30472 test -z "$as_dir" && as_dir=.
30473 for ac_exec_ext in '' $ac_executable_extensions; do
30474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30475 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30477 break 2
30478 fi
30479 done
30480 done
30481 IFS=$as_save_IFS
30482
30483 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30484 ;;
30485 esac
30486 fi
30487 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30488 if test -n "$GTK_CONFIG"; then
30489 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30490 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30491 else
30492 { echo "$as_me:$LINENO: result: no" >&5
30493 echo "${ECHO_T}no" >&6; }
30494 fi
30495
30496
30497 min_gtk_version=1.2.7
30498 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30499 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30500 no_gtk=""
30501 if test "$GTK_CONFIG" = "no" ; then
30502 no_gtk=yes
30503 else
30504 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30505 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30506 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30507 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30508 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30509 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30510 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30512 if test "x$enable_gtktest" = "xyes" ; then
30513 ac_save_CFLAGS="$CFLAGS"
30514 ac_save_LIBS="$LIBS"
30515 CFLAGS="$CFLAGS $GTK_CFLAGS"
30516 LIBS="$GTK_LIBS $LIBS"
30517 rm -f conf.gtktest
30518 if test "$cross_compiling" = yes; then
30519 echo $ac_n "cross compiling; assumed OK... $ac_c"
30520 else
30521 cat >conftest.$ac_ext <<_ACEOF
30522 /* confdefs.h. */
30523 _ACEOF
30524 cat confdefs.h >>conftest.$ac_ext
30525 cat >>conftest.$ac_ext <<_ACEOF
30526 /* end confdefs.h. */
30527
30528 #include <gtk/gtk.h>
30529 #include <stdio.h>
30530 #include <stdlib.h>
30531
30532 int
30533 main ()
30534 {
30535 int major, minor, micro;
30536 char *tmp_version;
30537
30538 system ("touch conf.gtktest");
30539
30540 /* HP/UX 9 (%@#!) writes to sscanf strings */
30541 tmp_version = g_strdup("$min_gtk_version");
30542 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30543 printf("%s, bad version string\n", "$min_gtk_version");
30544 exit(1);
30545 }
30546
30547 if ((gtk_major_version != $gtk_config_major_version) ||
30548 (gtk_minor_version != $gtk_config_minor_version) ||
30549 (gtk_micro_version != $gtk_config_micro_version))
30550 {
30551 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30552 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30553 gtk_major_version, gtk_minor_version, gtk_micro_version);
30554 printf ("*** was found! If gtk-config was correct, then it is best\n");
30555 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30556 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30557 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30558 printf("*** required on your system.\n");
30559 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30560 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30561 printf("*** before re-running configure\n");
30562 }
30563 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30564 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30565 (gtk_minor_version != GTK_MINOR_VERSION) ||
30566 (gtk_micro_version != GTK_MICRO_VERSION))
30567 {
30568 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30569 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30570 printf("*** library (version %d.%d.%d)\n",
30571 gtk_major_version, gtk_minor_version, gtk_micro_version);
30572 }
30573 #endif /* defined (GTK_MAJOR_VERSION) ... */
30574 else
30575 {
30576 if ((gtk_major_version > major) ||
30577 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30578 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30579 {
30580 return 0;
30581 }
30582 else
30583 {
30584 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30585 gtk_major_version, gtk_minor_version, gtk_micro_version);
30586 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30587 major, minor, micro);
30588 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30589 printf("***\n");
30590 printf("*** If you have already installed a sufficiently new version, this error\n");
30591 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30592 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30593 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30594 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30595 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30596 printf("*** so that the correct libraries are found at run-time))\n");
30597 }
30598 }
30599 return 1;
30600 }
30601
30602 _ACEOF
30603 rm -f conftest$ac_exeext
30604 if { (ac_try="$ac_link"
30605 case "(($ac_try" in
30606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30607 *) ac_try_echo=$ac_try;;
30608 esac
30609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30610 (eval "$ac_link") 2>&5
30611 ac_status=$?
30612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30614 { (case "(($ac_try" in
30615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30616 *) ac_try_echo=$ac_try;;
30617 esac
30618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30619 (eval "$ac_try") 2>&5
30620 ac_status=$?
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; }; then
30623 :
30624 else
30625 echo "$as_me: program exited with status $ac_status" >&5
30626 echo "$as_me: failed program was:" >&5
30627 sed 's/^/| /' conftest.$ac_ext >&5
30628
30629 ( exit $ac_status )
30630 no_gtk=yes
30631 fi
30632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30633 fi
30634
30635
30636 CFLAGS="$ac_save_CFLAGS"
30637 LIBS="$ac_save_LIBS"
30638 fi
30639 fi
30640 if test "x$no_gtk" = x ; then
30641 { echo "$as_me:$LINENO: result: yes" >&5
30642 echo "${ECHO_T}yes" >&6; }
30643 wx_cv_lib_gtk=1.2.7
30644 else
30645 { echo "$as_me:$LINENO: result: no" >&5
30646 echo "${ECHO_T}no" >&6; }
30647 if test "$GTK_CONFIG" = "no" ; then
30648 echo "*** The gtk-config script installed by GTK could not be found"
30649 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30650 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30651 echo "*** full path to gtk-config."
30652 else
30653 if test -f conf.gtktest ; then
30654 :
30655 else
30656 echo "*** Could not run GTK test program, checking why..."
30657 CFLAGS="$CFLAGS $GTK_CFLAGS"
30658 LIBS="$LIBS $GTK_LIBS"
30659 cat >conftest.$ac_ext <<_ACEOF
30660 /* confdefs.h. */
30661 _ACEOF
30662 cat confdefs.h >>conftest.$ac_ext
30663 cat >>conftest.$ac_ext <<_ACEOF
30664 /* end confdefs.h. */
30665
30666 #include <gtk/gtk.h>
30667 #include <stdio.h>
30668
30669 int
30670 main ()
30671 {
30672 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30673 ;
30674 return 0;
30675 }
30676 _ACEOF
30677 rm -f conftest.$ac_objext conftest$ac_exeext
30678 if { (ac_try="$ac_link"
30679 case "(($ac_try" in
30680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30681 *) ac_try_echo=$ac_try;;
30682 esac
30683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30684 (eval "$ac_link") 2>conftest.er1
30685 ac_status=$?
30686 grep -v '^ *+' conftest.er1 >conftest.err
30687 rm -f conftest.er1
30688 cat conftest.err >&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); } && {
30691 test -z "$ac_c_werror_flag" ||
30692 test ! -s conftest.err
30693 } && test -s conftest$ac_exeext &&
30694 $as_test_x conftest$ac_exeext; then
30695 echo "*** The test program compiled, but did not run. This usually means"
30696 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30697 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30698 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30699 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30700 echo "*** is required on your system"
30701 echo "***"
30702 echo "*** If you have an old version installed, it is best to remove it, although"
30703 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30704 echo "***"
30705 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30706 echo "*** came with the system with the command"
30707 echo "***"
30708 echo "*** rpm --erase --nodeps gtk gtk-devel"
30709 else
30710 echo "$as_me: failed program was:" >&5
30711 sed 's/^/| /' conftest.$ac_ext >&5
30712
30713 echo "*** The test program failed to compile or link. See the file config.log for the"
30714 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30715 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30716 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30717 fi
30718
30719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30720 conftest$ac_exeext conftest.$ac_ext
30721 CFLAGS="$ac_save_CFLAGS"
30722 LIBS="$ac_save_LIBS"
30723 fi
30724 fi
30725 GTK_CFLAGS=""
30726 GTK_LIBS=""
30727 :
30728 fi
30729
30730
30731 rm -f conf.gtktest
30732
30733
30734 if test -z "$wx_cv_lib_gtk"; then
30735
30736 # Check whether --with-gtk-prefix was given.
30737 if test "${with_gtk_prefix+set}" = set; then
30738 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30739 else
30740 gtk_config_prefix=""
30741 fi
30742
30743
30744 # Check whether --with-gtk-exec-prefix was given.
30745 if test "${with_gtk_exec_prefix+set}" = set; then
30746 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30747 else
30748 gtk_config_exec_prefix=""
30749 fi
30750
30751 # Check whether --enable-gtktest was given.
30752 if test "${enable_gtktest+set}" = set; then
30753 enableval=$enable_gtktest;
30754 else
30755 enable_gtktest=yes
30756 fi
30757
30758
30759 for module in . $GTK_MODULES
30760 do
30761 case "$module" in
30762 gthread)
30763 gtk_config_args="$gtk_config_args gthread"
30764 ;;
30765 esac
30766 done
30767
30768 if test x$gtk_config_exec_prefix != x ; then
30769 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30770 if test x${GTK_CONFIG+set} != xset ; then
30771 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30772 fi
30773 fi
30774 if test x$gtk_config_prefix != x ; then
30775 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30776 if test x${GTK_CONFIG+set} != xset ; then
30777 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30778 fi
30779 fi
30780
30781 # Extract the first word of "gtk-config", so it can be a program name with args.
30782 set dummy gtk-config; ac_word=$2
30783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30785 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30786 echo $ECHO_N "(cached) $ECHO_C" >&6
30787 else
30788 case $GTK_CONFIG in
30789 [\\/]* | ?:[\\/]*)
30790 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30791 ;;
30792 *)
30793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30794 for as_dir in $PATH
30795 do
30796 IFS=$as_save_IFS
30797 test -z "$as_dir" && as_dir=.
30798 for ac_exec_ext in '' $ac_executable_extensions; do
30799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30800 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30802 break 2
30803 fi
30804 done
30805 done
30806 IFS=$as_save_IFS
30807
30808 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30809 ;;
30810 esac
30811 fi
30812 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30813 if test -n "$GTK_CONFIG"; then
30814 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30815 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30816 else
30817 { echo "$as_me:$LINENO: result: no" >&5
30818 echo "${ECHO_T}no" >&6; }
30819 fi
30820
30821
30822 min_gtk_version=1.2.3
30823 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30824 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30825 no_gtk=""
30826 if test "$GTK_CONFIG" = "no" ; then
30827 no_gtk=yes
30828 else
30829 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30830 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30831 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30832 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30833 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30835 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30837 if test "x$enable_gtktest" = "xyes" ; then
30838 ac_save_CFLAGS="$CFLAGS"
30839 ac_save_LIBS="$LIBS"
30840 CFLAGS="$CFLAGS $GTK_CFLAGS"
30841 LIBS="$GTK_LIBS $LIBS"
30842 rm -f conf.gtktest
30843 if test "$cross_compiling" = yes; then
30844 echo $ac_n "cross compiling; assumed OK... $ac_c"
30845 else
30846 cat >conftest.$ac_ext <<_ACEOF
30847 /* confdefs.h. */
30848 _ACEOF
30849 cat confdefs.h >>conftest.$ac_ext
30850 cat >>conftest.$ac_ext <<_ACEOF
30851 /* end confdefs.h. */
30852
30853 #include <gtk/gtk.h>
30854 #include <stdio.h>
30855 #include <stdlib.h>
30856
30857 int
30858 main ()
30859 {
30860 int major, minor, micro;
30861 char *tmp_version;
30862
30863 system ("touch conf.gtktest");
30864
30865 /* HP/UX 9 (%@#!) writes to sscanf strings */
30866 tmp_version = g_strdup("$min_gtk_version");
30867 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
30868 printf("%s, bad version string\n", "$min_gtk_version");
30869 exit(1);
30870 }
30871
30872 if ((gtk_major_version != $gtk_config_major_version) ||
30873 (gtk_minor_version != $gtk_config_minor_version) ||
30874 (gtk_micro_version != $gtk_config_micro_version))
30875 {
30876 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30877 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30878 gtk_major_version, gtk_minor_version, gtk_micro_version);
30879 printf ("*** was found! If gtk-config was correct, then it is best\n");
30880 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30881 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30882 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30883 printf("*** required on your system.\n");
30884 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30885 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30886 printf("*** before re-running configure\n");
30887 }
30888 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30889 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30890 (gtk_minor_version != GTK_MINOR_VERSION) ||
30891 (gtk_micro_version != GTK_MICRO_VERSION))
30892 {
30893 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30894 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30895 printf("*** library (version %d.%d.%d)\n",
30896 gtk_major_version, gtk_minor_version, gtk_micro_version);
30897 }
30898 #endif /* defined (GTK_MAJOR_VERSION) ... */
30899 else
30900 {
30901 if ((gtk_major_version > major) ||
30902 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30903 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30904 {
30905 return 0;
30906 }
30907 else
30908 {
30909 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30910 gtk_major_version, gtk_minor_version, gtk_micro_version);
30911 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30912 major, minor, micro);
30913 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30914 printf("***\n");
30915 printf("*** If you have already installed a sufficiently new version, this error\n");
30916 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30917 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30918 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30919 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30920 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30921 printf("*** so that the correct libraries are found at run-time))\n");
30922 }
30923 }
30924 return 1;
30925 }
30926
30927 _ACEOF
30928 rm -f conftest$ac_exeext
30929 if { (ac_try="$ac_link"
30930 case "(($ac_try" in
30931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30932 *) ac_try_echo=$ac_try;;
30933 esac
30934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30935 (eval "$ac_link") 2>&5
30936 ac_status=$?
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30939 { (case "(($ac_try" in
30940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30941 *) ac_try_echo=$ac_try;;
30942 esac
30943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30944 (eval "$ac_try") 2>&5
30945 ac_status=$?
30946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30947 (exit $ac_status); }; }; then
30948 :
30949 else
30950 echo "$as_me: program exited with status $ac_status" >&5
30951 echo "$as_me: failed program was:" >&5
30952 sed 's/^/| /' conftest.$ac_ext >&5
30953
30954 ( exit $ac_status )
30955 no_gtk=yes
30956 fi
30957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30958 fi
30959
30960
30961 CFLAGS="$ac_save_CFLAGS"
30962 LIBS="$ac_save_LIBS"
30963 fi
30964 fi
30965 if test "x$no_gtk" = x ; then
30966 { echo "$as_me:$LINENO: result: yes" >&5
30967 echo "${ECHO_T}yes" >&6; }
30968 wx_cv_lib_gtk=1.2.3
30969 else
30970 { echo "$as_me:$LINENO: result: no" >&5
30971 echo "${ECHO_T}no" >&6; }
30972 if test "$GTK_CONFIG" = "no" ; then
30973 echo "*** The gtk-config script installed by GTK could not be found"
30974 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30975 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30976 echo "*** full path to gtk-config."
30977 else
30978 if test -f conf.gtktest ; then
30979 :
30980 else
30981 echo "*** Could not run GTK test program, checking why..."
30982 CFLAGS="$CFLAGS $GTK_CFLAGS"
30983 LIBS="$LIBS $GTK_LIBS"
30984 cat >conftest.$ac_ext <<_ACEOF
30985 /* confdefs.h. */
30986 _ACEOF
30987 cat confdefs.h >>conftest.$ac_ext
30988 cat >>conftest.$ac_ext <<_ACEOF
30989 /* end confdefs.h. */
30990
30991 #include <gtk/gtk.h>
30992 #include <stdio.h>
30993
30994 int
30995 main ()
30996 {
30997 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30998 ;
30999 return 0;
31000 }
31001 _ACEOF
31002 rm -f conftest.$ac_objext conftest$ac_exeext
31003 if { (ac_try="$ac_link"
31004 case "(($ac_try" in
31005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31006 *) ac_try_echo=$ac_try;;
31007 esac
31008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31009 (eval "$ac_link") 2>conftest.er1
31010 ac_status=$?
31011 grep -v '^ *+' conftest.er1 >conftest.err
31012 rm -f conftest.er1
31013 cat conftest.err >&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } && {
31016 test -z "$ac_c_werror_flag" ||
31017 test ! -s conftest.err
31018 } && test -s conftest$ac_exeext &&
31019 $as_test_x conftest$ac_exeext; then
31020 echo "*** The test program compiled, but did not run. This usually means"
31021 echo "*** that the run-time linker is not finding GTK or finding the wrong"
31022 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
31023 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
31024 echo "*** to the installed location Also, make sure you have run ldconfig if that"
31025 echo "*** is required on your system"
31026 echo "***"
31027 echo "*** If you have an old version installed, it is best to remove it, although"
31028 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
31029 echo "***"
31030 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
31031 echo "*** came with the system with the command"
31032 echo "***"
31033 echo "*** rpm --erase --nodeps gtk gtk-devel"
31034 else
31035 echo "$as_me: failed program was:" >&5
31036 sed 's/^/| /' conftest.$ac_ext >&5
31037
31038 echo "*** The test program failed to compile or link. See the file config.log for the"
31039 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
31040 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
31041 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
31042 fi
31043
31044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31045 conftest$ac_exeext conftest.$ac_ext
31046 CFLAGS="$ac_save_CFLAGS"
31047 LIBS="$ac_save_LIBS"
31048 fi
31049 fi
31050 GTK_CFLAGS=""
31051 GTK_LIBS=""
31052 :
31053 fi
31054
31055
31056 rm -f conf.gtktest
31057
31058 fi
31059 fi
31060 fi
31061
31062 if test -z "$wx_cv_lib_gtk"; then
31063 wx_cv_lib_gtk=none
31064 else
31065 GTK_LIBS="$GTK_LIBS -lX11"
31066
31067 wx_cv_cflags_gtk=$GTK_CFLAGS
31068 wx_cv_libs_gtk=$GTK_LIBS
31069 fi
31070
31071
31072 fi
31073
31074
31075 if test "$gtk_version_cached" = 1; then
31076 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
31077 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
31078 fi
31079
31080 case "$wx_cv_lib_gtk" in
31081 2.0) WXGTK2=1
31082 TOOLKIT_VERSION=2
31083 ;;
31084 1.2.7) WXGTK127=1
31085 ;;
31086 1.2*) ;;
31087 *) { { echo "$as_me:$LINENO: error:
31088 The development files for GTK+ were not found. For GTK+ 2, please
31089 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31090 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31091 and that the version is 1.2.3 or above. Also check that the
31092 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31093 --libs' are in the LD_LIBRARY_PATH or equivalent.
31094 " >&5
31095 echo "$as_me: error:
31096 The development files for GTK+ were not found. For GTK+ 2, please
31097 ensure that pkg-config is in the path and that gtk+-2.0.pc is
31098 installed. For GTK+ 1.2 please check that gtk-config is in the path,
31099 and that the version is 1.2.3 or above. Also check that the
31100 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
31101 --libs' are in the LD_LIBRARY_PATH or equivalent.
31102 " >&2;}
31103 { (exit 1); exit 1; }; }
31104 ;;
31105 esac
31106
31107 if test "$WXGTK2" = 1; then
31108 save_CFLAGS="$CFLAGS"
31109 save_LIBS="$LIBS"
31110 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
31111 LIBS="$LIBS $wx_cv_libs_gtk"
31112
31113 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
31114 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
31115 cat >conftest.$ac_ext <<_ACEOF
31116 /* confdefs.h. */
31117 _ACEOF
31118 cat confdefs.h >>conftest.$ac_ext
31119 cat >>conftest.$ac_ext <<_ACEOF
31120 /* end confdefs.h. */
31121
31122 #include <gtk/gtk.h>
31123
31124 int
31125 main ()
31126 {
31127
31128 #if !GTK_CHECK_VERSION(2,18,0)
31129 Not GTK+ 2.18
31130 #endif
31131
31132 ;
31133 return 0;
31134 }
31135 _ACEOF
31136 rm -f conftest.$ac_objext
31137 if { (ac_try="$ac_compile"
31138 case "(($ac_try" in
31139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31140 *) ac_try_echo=$ac_try;;
31141 esac
31142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31143 (eval "$ac_compile") 2>conftest.er1
31144 ac_status=$?
31145 grep -v '^ *+' conftest.er1 >conftest.err
31146 rm -f conftest.er1
31147 cat conftest.err >&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); } && {
31150 test -z "$ac_c_werror_flag" ||
31151 test ! -s conftest.err
31152 } && test -s conftest.$ac_objext; then
31153
31154 cat >>confdefs.h <<\_ACEOF
31155 #define __WXGTK218__ 1
31156 _ACEOF
31157
31158 cat >>confdefs.h <<\_ACEOF
31159 #define __WXGTK210__ 1
31160 _ACEOF
31161
31162 cat >>confdefs.h <<\_ACEOF
31163 #define __WXGTK26__ 1
31164 _ACEOF
31165
31166 { echo "$as_me:$LINENO: result: yes" >&5
31167 echo "${ECHO_T}yes" >&6; }
31168 ac_wxgtk218=1
31169
31170 else
31171 echo "$as_me: failed program was:" >&5
31172 sed 's/^/| /' conftest.$ac_ext >&5
31173
31174
31175 { echo "$as_me:$LINENO: result: no" >&5
31176 echo "${ECHO_T}no" >&6; }
31177 ac_wxgtk218=0
31178
31179 fi
31180
31181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31182
31183 if test "$ac_wxgtk218" = 0; then
31184 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31185 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31186 cat >conftest.$ac_ext <<_ACEOF
31187 /* confdefs.h. */
31188 _ACEOF
31189 cat confdefs.h >>conftest.$ac_ext
31190 cat >>conftest.$ac_ext <<_ACEOF
31191 /* end confdefs.h. */
31192
31193 #include <gtk/gtk.h>
31194
31195 int
31196 main ()
31197 {
31198
31199 #if !GTK_CHECK_VERSION(2,10,0)
31200 Not GTK+ 2.10
31201 #endif
31202
31203 ;
31204 return 0;
31205 }
31206 _ACEOF
31207 rm -f conftest.$ac_objext
31208 if { (ac_try="$ac_compile"
31209 case "(($ac_try" in
31210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31211 *) ac_try_echo=$ac_try;;
31212 esac
31213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31214 (eval "$ac_compile") 2>conftest.er1
31215 ac_status=$?
31216 grep -v '^ *+' conftest.er1 >conftest.err
31217 rm -f conftest.er1
31218 cat conftest.err >&5
31219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31220 (exit $ac_status); } && {
31221 test -z "$ac_c_werror_flag" ||
31222 test ! -s conftest.err
31223 } && test -s conftest.$ac_objext; then
31224
31225 cat >>confdefs.h <<\_ACEOF
31226 #define __WXGTK210__ 1
31227 _ACEOF
31228
31229 cat >>confdefs.h <<\_ACEOF
31230 #define __WXGTK26__ 1
31231 _ACEOF
31232
31233 { echo "$as_me:$LINENO: result: yes" >&5
31234 echo "${ECHO_T}yes" >&6; }
31235 ac_wxgtk210=1
31236
31237 else
31238 echo "$as_me: failed program was:" >&5
31239 sed 's/^/| /' conftest.$ac_ext >&5
31240
31241
31242 { echo "$as_me:$LINENO: result: no" >&5
31243 echo "${ECHO_T}no" >&6; }
31244 ac_wxgtk210=0
31245
31246 fi
31247
31248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31249
31250 if test "$ac_wxgtk210" = 0; then
31251 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31252 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31253 cat >conftest.$ac_ext <<_ACEOF
31254 /* confdefs.h. */
31255 _ACEOF
31256 cat confdefs.h >>conftest.$ac_ext
31257 cat >>conftest.$ac_ext <<_ACEOF
31258 /* end confdefs.h. */
31259
31260 #include <gtk/gtk.h>
31261
31262 int
31263 main ()
31264 {
31265
31266 #if !GTK_CHECK_VERSION(2,6,0)
31267 Not GTK+ 2.6
31268 #endif
31269
31270 ;
31271 return 0;
31272 }
31273 _ACEOF
31274 rm -f conftest.$ac_objext
31275 if { (ac_try="$ac_compile"
31276 case "(($ac_try" in
31277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31278 *) ac_try_echo=$ac_try;;
31279 esac
31280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31281 (eval "$ac_compile") 2>conftest.er1
31282 ac_status=$?
31283 grep -v '^ *+' conftest.er1 >conftest.err
31284 rm -f conftest.er1
31285 cat conftest.err >&5
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); } && {
31288 test -z "$ac_c_werror_flag" ||
31289 test ! -s conftest.err
31290 } && test -s conftest.$ac_objext; then
31291
31292 cat >>confdefs.h <<\_ACEOF
31293 #define __WXGTK26__ 1
31294 _ACEOF
31295
31296 { echo "$as_me:$LINENO: result: yes" >&5
31297 echo "${ECHO_T}yes" >&6; }
31298 ac_wxgtk26=1
31299
31300 else
31301 echo "$as_me: failed program was:" >&5
31302 sed 's/^/| /' conftest.$ac_ext >&5
31303
31304
31305 { echo "$as_me:$LINENO: result: no" >&5
31306 echo "${ECHO_T}no" >&6; }
31307 ac_wxgtk26=0
31308
31309 fi
31310
31311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31312 fi
31313 fi
31314
31315 CFLAGS="$save_CFLAGS"
31316 LIBS="$save_LIBS"
31317 else
31318 if test "$wxUSE_UNICODE" = "yes"; then
31319 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31320 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31321 wxUSE_UNICODE=no
31322 fi
31323
31324 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31325 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31326 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31327 echo $ECHO_N "(cached) $ECHO_C" >&6
31328 else
31329 ac_check_lib_save_LIBS=$LIBS
31330 LIBS="-lgdk $LIBS"
31331 cat >conftest.$ac_ext <<_ACEOF
31332 /* confdefs.h. */
31333 _ACEOF
31334 cat confdefs.h >>conftest.$ac_ext
31335 cat >>conftest.$ac_ext <<_ACEOF
31336 /* end confdefs.h. */
31337
31338 /* Override any GCC internal prototype to avoid an error.
31339 Use char because int might match the return type of a GCC
31340 builtin and then its argument prototype would still apply. */
31341 #ifdef __cplusplus
31342 extern "C"
31343 #endif
31344 char gdk_im_open ();
31345 int
31346 main ()
31347 {
31348 return gdk_im_open ();
31349 ;
31350 return 0;
31351 }
31352 _ACEOF
31353 rm -f conftest.$ac_objext conftest$ac_exeext
31354 if { (ac_try="$ac_link"
31355 case "(($ac_try" in
31356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31357 *) ac_try_echo=$ac_try;;
31358 esac
31359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31360 (eval "$ac_link") 2>conftest.er1
31361 ac_status=$?
31362 grep -v '^ *+' conftest.er1 >conftest.err
31363 rm -f conftest.er1
31364 cat conftest.err >&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } && {
31367 test -z "$ac_c_werror_flag" ||
31368 test ! -s conftest.err
31369 } && test -s conftest$ac_exeext &&
31370 $as_test_x conftest$ac_exeext; then
31371 ac_cv_lib_gdk_gdk_im_open=yes
31372 else
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31375
31376 ac_cv_lib_gdk_gdk_im_open=no
31377 fi
31378
31379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31380 conftest$ac_exeext conftest.$ac_ext
31381 LIBS=$ac_check_lib_save_LIBS
31382 fi
31383 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31384 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31385 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31386 cat >>confdefs.h <<\_ACEOF
31387 #define HAVE_XIM 1
31388 _ACEOF
31389
31390 fi
31391
31392
31393 if test "$USE_DARWIN" != 1; then
31394
31395 for ac_func in poll
31396 do
31397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31398 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31400 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31401 echo $ECHO_N "(cached) $ECHO_C" >&6
31402 else
31403 cat >conftest.$ac_ext <<_ACEOF
31404 /* confdefs.h. */
31405 _ACEOF
31406 cat confdefs.h >>conftest.$ac_ext
31407 cat >>conftest.$ac_ext <<_ACEOF
31408 /* end confdefs.h. */
31409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31411 #define $ac_func innocuous_$ac_func
31412
31413 /* System header to define __stub macros and hopefully few prototypes,
31414 which can conflict with char $ac_func (); below.
31415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31416 <limits.h> exists even on freestanding compilers. */
31417
31418 #ifdef __STDC__
31419 # include <limits.h>
31420 #else
31421 # include <assert.h>
31422 #endif
31423
31424 #undef $ac_func
31425
31426 /* Override any GCC internal prototype to avoid an error.
31427 Use char because int might match the return type of a GCC
31428 builtin and then its argument prototype would still apply. */
31429 #ifdef __cplusplus
31430 extern "C"
31431 #endif
31432 char $ac_func ();
31433 /* The GNU C library defines this for functions which it implements
31434 to always fail with ENOSYS. Some functions are actually named
31435 something starting with __ and the normal name is an alias. */
31436 #if defined __stub_$ac_func || defined __stub___$ac_func
31437 choke me
31438 #endif
31439
31440 int
31441 main ()
31442 {
31443 return $ac_func ();
31444 ;
31445 return 0;
31446 }
31447 _ACEOF
31448 rm -f conftest.$ac_objext conftest$ac_exeext
31449 if { (ac_try="$ac_link"
31450 case "(($ac_try" in
31451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31452 *) ac_try_echo=$ac_try;;
31453 esac
31454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31455 (eval "$ac_link") 2>conftest.er1
31456 ac_status=$?
31457 grep -v '^ *+' conftest.er1 >conftest.err
31458 rm -f conftest.er1
31459 cat conftest.err >&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); } && {
31462 test -z "$ac_c_werror_flag" ||
31463 test ! -s conftest.err
31464 } && test -s conftest$ac_exeext &&
31465 $as_test_x conftest$ac_exeext; then
31466 eval "$as_ac_var=yes"
31467 else
31468 echo "$as_me: failed program was:" >&5
31469 sed 's/^/| /' conftest.$ac_ext >&5
31470
31471 eval "$as_ac_var=no"
31472 fi
31473
31474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31475 conftest$ac_exeext conftest.$ac_ext
31476 fi
31477 ac_res=`eval echo '${'$as_ac_var'}'`
31478 { echo "$as_me:$LINENO: result: $ac_res" >&5
31479 echo "${ECHO_T}$ac_res" >&6; }
31480 if test `eval echo '${'$as_ac_var'}'` = yes; then
31481 cat >>confdefs.h <<_ACEOF
31482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31483 _ACEOF
31484
31485 fi
31486 done
31487
31488 fi
31489 fi
31490
31491 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31492 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31493 AFMINSTALL=afminstall
31494 TOOLKIT=GTK
31495 GUIDIST=GTK_DIST
31496
31497 if test "$wxUSE_GPE" = "yes"; then
31498 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31499 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31500
31501 ac_find_libraries=
31502 for ac_dir in $SEARCH_LIB
31503 do
31504 for ac_extension in a so sl dylib dll.a; do
31505 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31506 ac_find_libraries=$ac_dir
31507 break 2
31508 fi
31509 done
31510 done
31511
31512 if test "$ac_find_libraries" != "" ; then
31513
31514 if test "$ac_find_libraries" = "default location"; then
31515 ac_path_to_link=""
31516 else
31517 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31518 result=$?
31519 if test $result = 0; then
31520 ac_path_to_link=""
31521 else
31522 ac_path_to_link=" -L$ac_find_libraries"
31523 fi
31524 fi
31525
31526 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31527 WXGPE=1
31528 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31529 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31530 else
31531 { echo "$as_me:$LINENO: result: not found" >&5
31532 echo "${ECHO_T}not found" >&6; }
31533 fi
31534
31535 fi
31536 fi
31537
31538 if test "$wxUSE_MGL" = 1; then
31539 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31540 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31541 if test "x$MGL_ROOT" = x ; then
31542 { echo "$as_me:$LINENO: result: not found" >&5
31543 echo "${ECHO_T}not found" >&6; }
31544 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31545 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31546 { (exit 1); exit 1; }; }
31547 else
31548 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31549 echo "${ECHO_T}$MGL_ROOT" >&6; }
31550 fi
31551
31552 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31553 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31554 case "${host}" in
31555 *-*-linux* )
31556 if test "x$wxUSE_SHARED" = xyes ; then
31557 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31558 else
31559 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31560 fi
31561 ;;
31562 *-pc-msdosdjgpp )
31563 mgl_os_candidates="dos32/dj2"
31564 ;;
31565 *)
31566 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31567 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31568 { (exit 1); exit 1; }; }
31569 esac
31570
31571 mgl_lib_type=""
31572 mgl_os=""
31573
31574 for mgl_os_i in $mgl_os_candidates ; do
31575 if test "x$mgl_os" = x ; then
31576 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31577 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31578 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31579 mgl_lib_type=debug
31580 mgl_os=$mgl_os_i
31581 fi
31582 fi
31583 if test "x$mgl_lib_type" = x ; then
31584 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31585 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31586 mgl_lib_type=release
31587 mgl_os=$mgl_os_i
31588 fi
31589 fi
31590 fi
31591 done
31592
31593 if test "x$mgl_os" = x ; then
31594 { echo "$as_me:$LINENO: result: not found" >&5
31595 echo "${ECHO_T}not found" >&6; }
31596 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31597 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31598 { (exit 1); exit 1; }; }
31599 fi
31600 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31601 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31602
31603 wxUSE_UNIVERSAL="yes"
31604
31605 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31606 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31607
31608 AFMINSTALL=afminstall
31609 TOOLKIT=MGL
31610 GUIDIST=MGL_DIST
31611 fi
31612
31613 if test "$wxUSE_DFB" = 1; then
31614
31615
31616 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31617 if test -n "$ac_tool_prefix"; then
31618 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31619 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31622 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31623 echo $ECHO_N "(cached) $ECHO_C" >&6
31624 else
31625 case $PKG_CONFIG in
31626 [\\/]* | ?:[\\/]*)
31627 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31628 ;;
31629 *)
31630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31631 for as_dir in $PATH
31632 do
31633 IFS=$as_save_IFS
31634 test -z "$as_dir" && as_dir=.
31635 for ac_exec_ext in '' $ac_executable_extensions; do
31636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31637 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31639 break 2
31640 fi
31641 done
31642 done
31643 IFS=$as_save_IFS
31644
31645 ;;
31646 esac
31647 fi
31648 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31649 if test -n "$PKG_CONFIG"; then
31650 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31651 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31652 else
31653 { echo "$as_me:$LINENO: result: no" >&5
31654 echo "${ECHO_T}no" >&6; }
31655 fi
31656
31657
31658 fi
31659 if test -z "$ac_cv_path_PKG_CONFIG"; then
31660 ac_pt_PKG_CONFIG=$PKG_CONFIG
31661 # Extract the first word of "pkg-config", so it can be a program name with args.
31662 set dummy pkg-config; ac_word=$2
31663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31665 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31666 echo $ECHO_N "(cached) $ECHO_C" >&6
31667 else
31668 case $ac_pt_PKG_CONFIG in
31669 [\\/]* | ?:[\\/]*)
31670 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31671 ;;
31672 *)
31673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31674 for as_dir in $PATH
31675 do
31676 IFS=$as_save_IFS
31677 test -z "$as_dir" && as_dir=.
31678 for ac_exec_ext in '' $ac_executable_extensions; do
31679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31680 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31682 break 2
31683 fi
31684 done
31685 done
31686 IFS=$as_save_IFS
31687
31688 ;;
31689 esac
31690 fi
31691 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31692 if test -n "$ac_pt_PKG_CONFIG"; then
31693 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31694 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31695 else
31696 { echo "$as_me:$LINENO: result: no" >&5
31697 echo "${ECHO_T}no" >&6; }
31698 fi
31699
31700 if test "x$ac_pt_PKG_CONFIG" = x; then
31701 PKG_CONFIG=""
31702 else
31703 case $cross_compiling:$ac_tool_warned in
31704 yes:)
31705 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31706 whose name does not start with the host triplet. If you think this
31707 configuration is useful to you, please write to autoconf@gnu.org." >&5
31708 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31709 whose name does not start with the host triplet. If you think this
31710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31711 ac_tool_warned=yes ;;
31712 esac
31713 PKG_CONFIG=$ac_pt_PKG_CONFIG
31714 fi
31715 else
31716 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31717 fi
31718
31719 fi
31720 if test -n "$PKG_CONFIG"; then
31721 _pkg_min_version=0.9.0
31722 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31723 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31724 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31725 { echo "$as_me:$LINENO: result: yes" >&5
31726 echo "${ECHO_T}yes" >&6; }
31727 else
31728 { echo "$as_me:$LINENO: result: no" >&5
31729 echo "${ECHO_T}no" >&6; }
31730 PKG_CONFIG=""
31731 fi
31732
31733 fi
31734
31735
31736 pkg_failed=no
31737 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31738 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31739
31740 if test -n "$PKG_CONFIG"; then
31741 if test -n "$DIRECTFB_CFLAGS"; then
31742 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31743 else
31744 if test -n "$PKG_CONFIG" && \
31745 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31746 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31747 ac_status=$?
31748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31749 (exit $ac_status); }; then
31750 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31751 else
31752 pkg_failed=yes
31753 fi
31754 fi
31755 else
31756 pkg_failed=untried
31757 fi
31758 if test -n "$PKG_CONFIG"; then
31759 if test -n "$DIRECTFB_LIBS"; then
31760 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31761 else
31762 if test -n "$PKG_CONFIG" && \
31763 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31764 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31765 ac_status=$?
31766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31767 (exit $ac_status); }; then
31768 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31769 else
31770 pkg_failed=yes
31771 fi
31772 fi
31773 else
31774 pkg_failed=untried
31775 fi
31776
31777
31778
31779 if test $pkg_failed = yes; then
31780
31781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31782 _pkg_short_errors_supported=yes
31783 else
31784 _pkg_short_errors_supported=no
31785 fi
31786 if test $_pkg_short_errors_supported = yes; then
31787 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31788 else
31789 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31790 fi
31791 # Put the nasty error message in config.log where it belongs
31792 echo "$DIRECTFB_PKG_ERRORS" >&5
31793
31794
31795 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31796 echo "$as_me: error: DirectFB not found." >&2;}
31797 { (exit 1); exit 1; }; }
31798
31799
31800 elif test $pkg_failed = untried; then
31801
31802 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31803 echo "$as_me: error: DirectFB not found." >&2;}
31804 { (exit 1); exit 1; }; }
31805
31806
31807 else
31808 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31809 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31810 { echo "$as_me:$LINENO: result: yes" >&5
31811 echo "${ECHO_T}yes" >&6; }
31812
31813 wxUSE_UNIVERSAL="yes"
31814 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31815 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31816 TOOLKIT=DFB
31817 GUIDIST=DFB_DIST
31818
31819 fi
31820 fi
31821
31822 if test "$wxUSE_MICROWIN" = 1; then
31823 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31824 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31825 if test "x$MICROWINDOWS" = x ; then
31826 { echo "$as_me:$LINENO: result: not found" >&5
31827 echo "${ECHO_T}not found" >&6; }
31828 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31829 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31830 { (exit 1); exit 1; }; }
31831 else
31832 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31833 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31834 fi
31835
31836 if test -f $MICROWINDOWS/lib/libmwin.a; then
31837 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31838 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31839 else
31840 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31841 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31842 { (exit 1); exit 1; }; }
31843 fi
31844
31845 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31846 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31847
31848 wxUSE_UNIVERSAL="yes"
31849
31850 AFMINSTALL=afminstall
31851 TOOLKIT=MICROWIN
31852 GUIDIST=MICROWIN_DIST
31853
31854 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31855 fi
31856
31857 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31858 { echo "$as_me:$LINENO: checking for X" >&5
31859 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31860
31861
31862 # Check whether --with-x was given.
31863 if test "${with_x+set}" = set; then
31864 withval=$with_x;
31865 fi
31866
31867 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31868 if test "x$with_x" = xno; then
31869 # The user explicitly disabled X.
31870 have_x=disabled
31871 else
31872 case $x_includes,$x_libraries in #(
31873 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31874 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31875 { (exit 1); exit 1; }; };; #(
31876 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31877 echo $ECHO_N "(cached) $ECHO_C" >&6
31878 else
31879 # One or both of the vars are not set, and there is no cached value.
31880 ac_x_includes=no ac_x_libraries=no
31881 rm -f -r conftest.dir
31882 if mkdir conftest.dir; then
31883 cd conftest.dir
31884 cat >Imakefile <<'_ACEOF'
31885 incroot:
31886 @echo incroot='${INCROOT}'
31887 usrlibdir:
31888 @echo usrlibdir='${USRLIBDIR}'
31889 libdir:
31890 @echo libdir='${LIBDIR}'
31891 _ACEOF
31892 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31893 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31894 for ac_var in incroot usrlibdir libdir; do
31895 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31896 done
31897 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31898 for ac_extension in a so sl; do
31899 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31900 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31901 ac_im_usrlibdir=$ac_im_libdir; break
31902 fi
31903 done
31904 # Screen out bogus values from the imake configuration. They are
31905 # bogus both because they are the default anyway, and because
31906 # using them would break gcc on systems where it needs fixed includes.
31907 case $ac_im_incroot in
31908 /usr/include) ac_x_includes= ;;
31909 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31910 esac
31911 case $ac_im_usrlibdir in
31912 /usr/lib | /lib) ;;
31913 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31914 esac
31915 fi
31916 cd ..
31917 rm -f -r conftest.dir
31918 fi
31919
31920 # Standard set of common directories for X headers.
31921 # Check X11 before X11Rn because it is often a symlink to the current release.
31922 ac_x_header_dirs='
31923 /usr/X11/include
31924 /usr/X11R6/include
31925 /usr/X11R5/include
31926 /usr/X11R4/include
31927
31928 /usr/include/X11
31929 /usr/include/X11R6
31930 /usr/include/X11R5
31931 /usr/include/X11R4
31932
31933 /usr/local/X11/include
31934 /usr/local/X11R6/include
31935 /usr/local/X11R5/include
31936 /usr/local/X11R4/include
31937
31938 /usr/local/include/X11
31939 /usr/local/include/X11R6
31940 /usr/local/include/X11R5
31941 /usr/local/include/X11R4
31942
31943 /usr/X386/include
31944 /usr/x386/include
31945 /usr/XFree86/include/X11
31946
31947 /usr/include
31948 /usr/local/include
31949 /usr/unsupported/include
31950 /usr/athena/include
31951 /usr/local/x11r5/include
31952 /usr/lpp/Xamples/include
31953
31954 /usr/openwin/include
31955 /usr/openwin/share/include'
31956
31957 if test "$ac_x_includes" = no; then
31958 # Guess where to find include files, by looking for Xlib.h.
31959 # First, try using that file with no special directory specified.
31960 cat >conftest.$ac_ext <<_ACEOF
31961 /* confdefs.h. */
31962 _ACEOF
31963 cat confdefs.h >>conftest.$ac_ext
31964 cat >>conftest.$ac_ext <<_ACEOF
31965 /* end confdefs.h. */
31966 #include <X11/Xlib.h>
31967 _ACEOF
31968 if { (ac_try="$ac_cpp conftest.$ac_ext"
31969 case "(($ac_try" in
31970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31971 *) ac_try_echo=$ac_try;;
31972 esac
31973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31974 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31975 ac_status=$?
31976 grep -v '^ *+' conftest.er1 >conftest.err
31977 rm -f conftest.er1
31978 cat conftest.err >&5
31979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31980 (exit $ac_status); } >/dev/null && {
31981 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31982 test ! -s conftest.err
31983 }; then
31984 # We can compile using X headers with no special include directory.
31985 ac_x_includes=
31986 else
31987 echo "$as_me: failed program was:" >&5
31988 sed 's/^/| /' conftest.$ac_ext >&5
31989
31990 for ac_dir in $ac_x_header_dirs; do
31991 if test -r "$ac_dir/X11/Xlib.h"; then
31992 ac_x_includes=$ac_dir
31993 break
31994 fi
31995 done
31996 fi
31997
31998 rm -f conftest.err conftest.$ac_ext
31999 fi # $ac_x_includes = no
32000
32001 if test "$ac_x_libraries" = no; then
32002 # Check for the libraries.
32003 # See if we find them without any special options.
32004 # Don't add to $LIBS permanently.
32005 ac_save_LIBS=$LIBS
32006 LIBS="-lX11 $LIBS"
32007 cat >conftest.$ac_ext <<_ACEOF
32008 /* confdefs.h. */
32009 _ACEOF
32010 cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32013 #include <X11/Xlib.h>
32014 int
32015 main ()
32016 {
32017 XrmInitialize ()
32018 ;
32019 return 0;
32020 }
32021 _ACEOF
32022 rm -f conftest.$ac_objext conftest$ac_exeext
32023 if { (ac_try="$ac_link"
32024 case "(($ac_try" in
32025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32026 *) ac_try_echo=$ac_try;;
32027 esac
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_link") 2>conftest.er1
32030 ac_status=$?
32031 grep -v '^ *+' conftest.er1 >conftest.err
32032 rm -f conftest.er1
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } && {
32036 test -z "$ac_c_werror_flag" ||
32037 test ! -s conftest.err
32038 } && test -s conftest$ac_exeext &&
32039 $as_test_x conftest$ac_exeext; then
32040 LIBS=$ac_save_LIBS
32041 # We can link X programs with no special library path.
32042 ac_x_libraries=
32043 else
32044 echo "$as_me: failed program was:" >&5
32045 sed 's/^/| /' conftest.$ac_ext >&5
32046
32047 LIBS=$ac_save_LIBS
32048 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
32049 do
32050 # Don't even attempt the hair of trying to link an X program!
32051 for ac_extension in a so sl; do
32052 if test -r "$ac_dir/libX11.$ac_extension"; then
32053 ac_x_libraries=$ac_dir
32054 break 2
32055 fi
32056 done
32057 done
32058 fi
32059
32060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32061 conftest$ac_exeext conftest.$ac_ext
32062 fi # $ac_x_libraries = no
32063
32064 case $ac_x_includes,$ac_x_libraries in #(
32065 no,* | *,no | *\'*)
32066 # Didn't find X, or a directory has "'" in its name.
32067 ac_cv_have_x="have_x=no";; #(
32068 *)
32069 # Record where we found X for the cache.
32070 ac_cv_have_x="have_x=yes\
32071 ac_x_includes='$ac_x_includes'\
32072 ac_x_libraries='$ac_x_libraries'"
32073 esac
32074 fi
32075 ;; #(
32076 *) have_x=yes;;
32077 esac
32078 eval "$ac_cv_have_x"
32079 fi # $with_x != no
32080
32081 if test "$have_x" != yes; then
32082 { echo "$as_me:$LINENO: result: $have_x" >&5
32083 echo "${ECHO_T}$have_x" >&6; }
32084 no_x=yes
32085 else
32086 # If each of the values was on the command line, it overrides each guess.
32087 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
32088 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
32089 # Update the cache value to reflect the command line values.
32090 ac_cv_have_x="have_x=yes\
32091 ac_x_includes='$x_includes'\
32092 ac_x_libraries='$x_libraries'"
32093 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
32094 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
32095 fi
32096
32097 if test "$no_x" = yes; then
32098 # Not all programs may use this symbol, but it does not hurt to define it.
32099
32100 cat >>confdefs.h <<\_ACEOF
32101 #define X_DISPLAY_MISSING 1
32102 _ACEOF
32103
32104 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
32105 else
32106 if test -n "$x_includes"; then
32107 X_CFLAGS="$X_CFLAGS -I$x_includes"
32108 fi
32109
32110 # It would also be nice to do this for all -L options, not just this one.
32111 if test -n "$x_libraries"; then
32112 X_LIBS="$X_LIBS -L$x_libraries"
32113 # For Solaris; some versions of Sun CC require a space after -R and
32114 # others require no space. Words are not sufficient . . . .
32115 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32116 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32117 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32118 ac_xsave_c_werror_flag=$ac_c_werror_flag
32119 ac_c_werror_flag=yes
32120 cat >conftest.$ac_ext <<_ACEOF
32121 /* confdefs.h. */
32122 _ACEOF
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32126
32127 int
32128 main ()
32129 {
32130
32131 ;
32132 return 0;
32133 }
32134 _ACEOF
32135 rm -f conftest.$ac_objext conftest$ac_exeext
32136 if { (ac_try="$ac_link"
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_link") 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_exeext &&
32152 $as_test_x conftest$ac_exeext; then
32153 { echo "$as_me:$LINENO: result: no" >&5
32154 echo "${ECHO_T}no" >&6; }
32155 X_LIBS="$X_LIBS -R$x_libraries"
32156 else
32157 echo "$as_me: failed program was:" >&5
32158 sed 's/^/| /' conftest.$ac_ext >&5
32159
32160 LIBS="$ac_xsave_LIBS -R $x_libraries"
32161 cat >conftest.$ac_ext <<_ACEOF
32162 /* confdefs.h. */
32163 _ACEOF
32164 cat confdefs.h >>conftest.$ac_ext
32165 cat >>conftest.$ac_ext <<_ACEOF
32166 /* end confdefs.h. */
32167
32168 int
32169 main ()
32170 {
32171
32172 ;
32173 return 0;
32174 }
32175 _ACEOF
32176 rm -f conftest.$ac_objext conftest$ac_exeext
32177 if { (ac_try="$ac_link"
32178 case "(($ac_try" in
32179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32180 *) ac_try_echo=$ac_try;;
32181 esac
32182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32183 (eval "$ac_link") 2>conftest.er1
32184 ac_status=$?
32185 grep -v '^ *+' conftest.er1 >conftest.err
32186 rm -f conftest.er1
32187 cat conftest.err >&5
32188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32189 (exit $ac_status); } && {
32190 test -z "$ac_c_werror_flag" ||
32191 test ! -s conftest.err
32192 } && test -s conftest$ac_exeext &&
32193 $as_test_x conftest$ac_exeext; then
32194 { echo "$as_me:$LINENO: result: yes" >&5
32195 echo "${ECHO_T}yes" >&6; }
32196 X_LIBS="$X_LIBS -R $x_libraries"
32197 else
32198 echo "$as_me: failed program was:" >&5
32199 sed 's/^/| /' conftest.$ac_ext >&5
32200
32201 { echo "$as_me:$LINENO: result: neither works" >&5
32202 echo "${ECHO_T}neither works" >&6; }
32203 fi
32204
32205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32206 conftest$ac_exeext conftest.$ac_ext
32207 fi
32208
32209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32210 conftest$ac_exeext conftest.$ac_ext
32211 ac_c_werror_flag=$ac_xsave_c_werror_flag
32212 LIBS=$ac_xsave_LIBS
32213 fi
32214
32215 # Check for system-dependent libraries X programs must link with.
32216 # Do this before checking for the system-independent R6 libraries
32217 # (-lICE), since we may need -lsocket or whatever for X linking.
32218
32219 if test "$ISC" = yes; then
32220 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32221 else
32222 # Martyn Johnson says this is needed for Ultrix, if the X
32223 # libraries were built with DECnet support. And Karl Berry says
32224 # the Alpha needs dnet_stub (dnet does not exist).
32225 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32226 cat >conftest.$ac_ext <<_ACEOF
32227 /* confdefs.h. */
32228 _ACEOF
32229 cat confdefs.h >>conftest.$ac_ext
32230 cat >>conftest.$ac_ext <<_ACEOF
32231 /* end confdefs.h. */
32232
32233 /* Override any GCC internal prototype to avoid an error.
32234 Use char because int might match the return type of a GCC
32235 builtin and then its argument prototype would still apply. */
32236 #ifdef __cplusplus
32237 extern "C"
32238 #endif
32239 char XOpenDisplay ();
32240 int
32241 main ()
32242 {
32243 return XOpenDisplay ();
32244 ;
32245 return 0;
32246 }
32247 _ACEOF
32248 rm -f conftest.$ac_objext conftest$ac_exeext
32249 if { (ac_try="$ac_link"
32250 case "(($ac_try" in
32251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32252 *) ac_try_echo=$ac_try;;
32253 esac
32254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32255 (eval "$ac_link") 2>conftest.er1
32256 ac_status=$?
32257 grep -v '^ *+' conftest.er1 >conftest.err
32258 rm -f conftest.er1
32259 cat conftest.err >&5
32260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32261 (exit $ac_status); } && {
32262 test -z "$ac_c_werror_flag" ||
32263 test ! -s conftest.err
32264 } && test -s conftest$ac_exeext &&
32265 $as_test_x conftest$ac_exeext; then
32266 :
32267 else
32268 echo "$as_me: failed program was:" >&5
32269 sed 's/^/| /' conftest.$ac_ext >&5
32270
32271 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32272 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32273 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32274 echo $ECHO_N "(cached) $ECHO_C" >&6
32275 else
32276 ac_check_lib_save_LIBS=$LIBS
32277 LIBS="-ldnet $LIBS"
32278 cat >conftest.$ac_ext <<_ACEOF
32279 /* confdefs.h. */
32280 _ACEOF
32281 cat confdefs.h >>conftest.$ac_ext
32282 cat >>conftest.$ac_ext <<_ACEOF
32283 /* end confdefs.h. */
32284
32285 /* Override any GCC internal prototype to avoid an error.
32286 Use char because int might match the return type of a GCC
32287 builtin and then its argument prototype would still apply. */
32288 #ifdef __cplusplus
32289 extern "C"
32290 #endif
32291 char dnet_ntoa ();
32292 int
32293 main ()
32294 {
32295 return dnet_ntoa ();
32296 ;
32297 return 0;
32298 }
32299 _ACEOF
32300 rm -f conftest.$ac_objext conftest$ac_exeext
32301 if { (ac_try="$ac_link"
32302 case "(($ac_try" in
32303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32304 *) ac_try_echo=$ac_try;;
32305 esac
32306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32307 (eval "$ac_link") 2>conftest.er1
32308 ac_status=$?
32309 grep -v '^ *+' conftest.er1 >conftest.err
32310 rm -f conftest.er1
32311 cat conftest.err >&5
32312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32313 (exit $ac_status); } && {
32314 test -z "$ac_c_werror_flag" ||
32315 test ! -s conftest.err
32316 } && test -s conftest$ac_exeext &&
32317 $as_test_x conftest$ac_exeext; then
32318 ac_cv_lib_dnet_dnet_ntoa=yes
32319 else
32320 echo "$as_me: failed program was:" >&5
32321 sed 's/^/| /' conftest.$ac_ext >&5
32322
32323 ac_cv_lib_dnet_dnet_ntoa=no
32324 fi
32325
32326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32327 conftest$ac_exeext conftest.$ac_ext
32328 LIBS=$ac_check_lib_save_LIBS
32329 fi
32330 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32331 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32332 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32333 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32334 fi
32335
32336 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32337 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32338 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32339 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32340 echo $ECHO_N "(cached) $ECHO_C" >&6
32341 else
32342 ac_check_lib_save_LIBS=$LIBS
32343 LIBS="-ldnet_stub $LIBS"
32344 cat >conftest.$ac_ext <<_ACEOF
32345 /* confdefs.h. */
32346 _ACEOF
32347 cat confdefs.h >>conftest.$ac_ext
32348 cat >>conftest.$ac_ext <<_ACEOF
32349 /* end confdefs.h. */
32350
32351 /* Override any GCC internal prototype to avoid an error.
32352 Use char because int might match the return type of a GCC
32353 builtin and then its argument prototype would still apply. */
32354 #ifdef __cplusplus
32355 extern "C"
32356 #endif
32357 char dnet_ntoa ();
32358 int
32359 main ()
32360 {
32361 return dnet_ntoa ();
32362 ;
32363 return 0;
32364 }
32365 _ACEOF
32366 rm -f conftest.$ac_objext conftest$ac_exeext
32367 if { (ac_try="$ac_link"
32368 case "(($ac_try" in
32369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32370 *) ac_try_echo=$ac_try;;
32371 esac
32372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32373 (eval "$ac_link") 2>conftest.er1
32374 ac_status=$?
32375 grep -v '^ *+' conftest.er1 >conftest.err
32376 rm -f conftest.er1
32377 cat conftest.err >&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); } && {
32380 test -z "$ac_c_werror_flag" ||
32381 test ! -s conftest.err
32382 } && test -s conftest$ac_exeext &&
32383 $as_test_x conftest$ac_exeext; then
32384 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32385 else
32386 echo "$as_me: failed program was:" >&5
32387 sed 's/^/| /' conftest.$ac_ext >&5
32388
32389 ac_cv_lib_dnet_stub_dnet_ntoa=no
32390 fi
32391
32392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32393 conftest$ac_exeext conftest.$ac_ext
32394 LIBS=$ac_check_lib_save_LIBS
32395 fi
32396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32397 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32398 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32400 fi
32401
32402 fi
32403 fi
32404
32405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32406 conftest$ac_exeext conftest.$ac_ext
32407 LIBS="$ac_xsave_LIBS"
32408
32409 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32410 # to get the SysV transport functions.
32411 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32412 # needs -lnsl.
32413 # The nsl library prevents programs from opening the X display
32414 # on Irix 5.2, according to T.E. Dickey.
32415 # The functions gethostbyname, getservbyname, and inet_addr are
32416 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32417 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32418 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32419 if test "${ac_cv_func_gethostbyname+set}" = set; then
32420 echo $ECHO_N "(cached) $ECHO_C" >&6
32421 else
32422 cat >conftest.$ac_ext <<_ACEOF
32423 /* confdefs.h. */
32424 _ACEOF
32425 cat confdefs.h >>conftest.$ac_ext
32426 cat >>conftest.$ac_ext <<_ACEOF
32427 /* end confdefs.h. */
32428 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32430 #define gethostbyname innocuous_gethostbyname
32431
32432 /* System header to define __stub macros and hopefully few prototypes,
32433 which can conflict with char gethostbyname (); below.
32434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32435 <limits.h> exists even on freestanding compilers. */
32436
32437 #ifdef __STDC__
32438 # include <limits.h>
32439 #else
32440 # include <assert.h>
32441 #endif
32442
32443 #undef gethostbyname
32444
32445 /* Override any GCC internal prototype to avoid an error.
32446 Use char because int might match the return type of a GCC
32447 builtin and then its argument prototype would still apply. */
32448 #ifdef __cplusplus
32449 extern "C"
32450 #endif
32451 char gethostbyname ();
32452 /* The GNU C library defines this for functions which it implements
32453 to always fail with ENOSYS. Some functions are actually named
32454 something starting with __ and the normal name is an alias. */
32455 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32456 choke me
32457 #endif
32458
32459 int
32460 main ()
32461 {
32462 return gethostbyname ();
32463 ;
32464 return 0;
32465 }
32466 _ACEOF
32467 rm -f conftest.$ac_objext conftest$ac_exeext
32468 if { (ac_try="$ac_link"
32469 case "(($ac_try" in
32470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32471 *) ac_try_echo=$ac_try;;
32472 esac
32473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32474 (eval "$ac_link") 2>conftest.er1
32475 ac_status=$?
32476 grep -v '^ *+' conftest.er1 >conftest.err
32477 rm -f conftest.er1
32478 cat conftest.err >&5
32479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32480 (exit $ac_status); } && {
32481 test -z "$ac_c_werror_flag" ||
32482 test ! -s conftest.err
32483 } && test -s conftest$ac_exeext &&
32484 $as_test_x conftest$ac_exeext; then
32485 ac_cv_func_gethostbyname=yes
32486 else
32487 echo "$as_me: failed program was:" >&5
32488 sed 's/^/| /' conftest.$ac_ext >&5
32489
32490 ac_cv_func_gethostbyname=no
32491 fi
32492
32493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32494 conftest$ac_exeext conftest.$ac_ext
32495 fi
32496 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32497 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32498
32499 if test $ac_cv_func_gethostbyname = no; then
32500 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32501 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32502 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32503 echo $ECHO_N "(cached) $ECHO_C" >&6
32504 else
32505 ac_check_lib_save_LIBS=$LIBS
32506 LIBS="-lnsl $LIBS"
32507 cat >conftest.$ac_ext <<_ACEOF
32508 /* confdefs.h. */
32509 _ACEOF
32510 cat confdefs.h >>conftest.$ac_ext
32511 cat >>conftest.$ac_ext <<_ACEOF
32512 /* end confdefs.h. */
32513
32514 /* Override any GCC internal prototype to avoid an error.
32515 Use char because int might match the return type of a GCC
32516 builtin and then its argument prototype would still apply. */
32517 #ifdef __cplusplus
32518 extern "C"
32519 #endif
32520 char gethostbyname ();
32521 int
32522 main ()
32523 {
32524 return gethostbyname ();
32525 ;
32526 return 0;
32527 }
32528 _ACEOF
32529 rm -f conftest.$ac_objext conftest$ac_exeext
32530 if { (ac_try="$ac_link"
32531 case "(($ac_try" in
32532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32533 *) ac_try_echo=$ac_try;;
32534 esac
32535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32536 (eval "$ac_link") 2>conftest.er1
32537 ac_status=$?
32538 grep -v '^ *+' conftest.er1 >conftest.err
32539 rm -f conftest.er1
32540 cat conftest.err >&5
32541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32542 (exit $ac_status); } && {
32543 test -z "$ac_c_werror_flag" ||
32544 test ! -s conftest.err
32545 } && test -s conftest$ac_exeext &&
32546 $as_test_x conftest$ac_exeext; then
32547 ac_cv_lib_nsl_gethostbyname=yes
32548 else
32549 echo "$as_me: failed program was:" >&5
32550 sed 's/^/| /' conftest.$ac_ext >&5
32551
32552 ac_cv_lib_nsl_gethostbyname=no
32553 fi
32554
32555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32556 conftest$ac_exeext conftest.$ac_ext
32557 LIBS=$ac_check_lib_save_LIBS
32558 fi
32559 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32560 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32561 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32562 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32563 fi
32564
32565 if test $ac_cv_lib_nsl_gethostbyname = no; then
32566 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32567 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32568 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 else
32571 ac_check_lib_save_LIBS=$LIBS
32572 LIBS="-lbsd $LIBS"
32573 cat >conftest.$ac_ext <<_ACEOF
32574 /* confdefs.h. */
32575 _ACEOF
32576 cat confdefs.h >>conftest.$ac_ext
32577 cat >>conftest.$ac_ext <<_ACEOF
32578 /* end confdefs.h. */
32579
32580 /* Override any GCC internal prototype to avoid an error.
32581 Use char because int might match the return type of a GCC
32582 builtin and then its argument prototype would still apply. */
32583 #ifdef __cplusplus
32584 extern "C"
32585 #endif
32586 char gethostbyname ();
32587 int
32588 main ()
32589 {
32590 return gethostbyname ();
32591 ;
32592 return 0;
32593 }
32594 _ACEOF
32595 rm -f conftest.$ac_objext conftest$ac_exeext
32596 if { (ac_try="$ac_link"
32597 case "(($ac_try" in
32598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32599 *) ac_try_echo=$ac_try;;
32600 esac
32601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32602 (eval "$ac_link") 2>conftest.er1
32603 ac_status=$?
32604 grep -v '^ *+' conftest.er1 >conftest.err
32605 rm -f conftest.er1
32606 cat conftest.err >&5
32607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32608 (exit $ac_status); } && {
32609 test -z "$ac_c_werror_flag" ||
32610 test ! -s conftest.err
32611 } && test -s conftest$ac_exeext &&
32612 $as_test_x conftest$ac_exeext; then
32613 ac_cv_lib_bsd_gethostbyname=yes
32614 else
32615 echo "$as_me: failed program was:" >&5
32616 sed 's/^/| /' conftest.$ac_ext >&5
32617
32618 ac_cv_lib_bsd_gethostbyname=no
32619 fi
32620
32621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32622 conftest$ac_exeext conftest.$ac_ext
32623 LIBS=$ac_check_lib_save_LIBS
32624 fi
32625 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32626 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32627 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32629 fi
32630
32631 fi
32632 fi
32633
32634 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32635 # socket/setsockopt and other routines are undefined under SCO ODT
32636 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32637 # on later versions), says Simon Leinen: it contains gethostby*
32638 # variants that don't use the name server (or something). -lsocket
32639 # must be given before -lnsl if both are needed. We assume that
32640 # if connect needs -lnsl, so does gethostbyname.
32641 { echo "$as_me:$LINENO: checking for connect" >&5
32642 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32643 if test "${ac_cv_func_connect+set}" = set; then
32644 echo $ECHO_N "(cached) $ECHO_C" >&6
32645 else
32646 cat >conftest.$ac_ext <<_ACEOF
32647 /* confdefs.h. */
32648 _ACEOF
32649 cat confdefs.h >>conftest.$ac_ext
32650 cat >>conftest.$ac_ext <<_ACEOF
32651 /* end confdefs.h. */
32652 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32654 #define connect innocuous_connect
32655
32656 /* System header to define __stub macros and hopefully few prototypes,
32657 which can conflict with char connect (); below.
32658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32659 <limits.h> exists even on freestanding compilers. */
32660
32661 #ifdef __STDC__
32662 # include <limits.h>
32663 #else
32664 # include <assert.h>
32665 #endif
32666
32667 #undef connect
32668
32669 /* Override any GCC internal prototype to avoid an error.
32670 Use char because int might match the return type of a GCC
32671 builtin and then its argument prototype would still apply. */
32672 #ifdef __cplusplus
32673 extern "C"
32674 #endif
32675 char connect ();
32676 /* The GNU C library defines this for functions which it implements
32677 to always fail with ENOSYS. Some functions are actually named
32678 something starting with __ and the normal name is an alias. */
32679 #if defined __stub_connect || defined __stub___connect
32680 choke me
32681 #endif
32682
32683 int
32684 main ()
32685 {
32686 return connect ();
32687 ;
32688 return 0;
32689 }
32690 _ACEOF
32691 rm -f conftest.$ac_objext conftest$ac_exeext
32692 if { (ac_try="$ac_link"
32693 case "(($ac_try" in
32694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32695 *) ac_try_echo=$ac_try;;
32696 esac
32697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32698 (eval "$ac_link") 2>conftest.er1
32699 ac_status=$?
32700 grep -v '^ *+' conftest.er1 >conftest.err
32701 rm -f conftest.er1
32702 cat conftest.err >&5
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); } && {
32705 test -z "$ac_c_werror_flag" ||
32706 test ! -s conftest.err
32707 } && test -s conftest$ac_exeext &&
32708 $as_test_x conftest$ac_exeext; then
32709 ac_cv_func_connect=yes
32710 else
32711 echo "$as_me: failed program was:" >&5
32712 sed 's/^/| /' conftest.$ac_ext >&5
32713
32714 ac_cv_func_connect=no
32715 fi
32716
32717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32718 conftest$ac_exeext conftest.$ac_ext
32719 fi
32720 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32721 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32722
32723 if test $ac_cv_func_connect = no; then
32724 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32725 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32726 if test "${ac_cv_lib_socket_connect+set}" = set; then
32727 echo $ECHO_N "(cached) $ECHO_C" >&6
32728 else
32729 ac_check_lib_save_LIBS=$LIBS
32730 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
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
32738 /* Override any GCC internal prototype to avoid an error.
32739 Use char because int might match the return type of a GCC
32740 builtin and then its argument prototype would still apply. */
32741 #ifdef __cplusplus
32742 extern "C"
32743 #endif
32744 char connect ();
32745 int
32746 main ()
32747 {
32748 return connect ();
32749 ;
32750 return 0;
32751 }
32752 _ACEOF
32753 rm -f conftest.$ac_objext conftest$ac_exeext
32754 if { (ac_try="$ac_link"
32755 case "(($ac_try" in
32756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32757 *) ac_try_echo=$ac_try;;
32758 esac
32759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32760 (eval "$ac_link") 2>conftest.er1
32761 ac_status=$?
32762 grep -v '^ *+' conftest.er1 >conftest.err
32763 rm -f conftest.er1
32764 cat conftest.err >&5
32765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32766 (exit $ac_status); } && {
32767 test -z "$ac_c_werror_flag" ||
32768 test ! -s conftest.err
32769 } && test -s conftest$ac_exeext &&
32770 $as_test_x conftest$ac_exeext; then
32771 ac_cv_lib_socket_connect=yes
32772 else
32773 echo "$as_me: failed program was:" >&5
32774 sed 's/^/| /' conftest.$ac_ext >&5
32775
32776 ac_cv_lib_socket_connect=no
32777 fi
32778
32779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32780 conftest$ac_exeext conftest.$ac_ext
32781 LIBS=$ac_check_lib_save_LIBS
32782 fi
32783 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32784 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32785 if test $ac_cv_lib_socket_connect = yes; then
32786 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32787 fi
32788
32789 fi
32790
32791 # Guillermo Gomez says -lposix is necessary on A/UX.
32792 { echo "$as_me:$LINENO: checking for remove" >&5
32793 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32794 if test "${ac_cv_func_remove+set}" = set; then
32795 echo $ECHO_N "(cached) $ECHO_C" >&6
32796 else
32797 cat >conftest.$ac_ext <<_ACEOF
32798 /* confdefs.h. */
32799 _ACEOF
32800 cat confdefs.h >>conftest.$ac_ext
32801 cat >>conftest.$ac_ext <<_ACEOF
32802 /* end confdefs.h. */
32803 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32805 #define remove innocuous_remove
32806
32807 /* System header to define __stub macros and hopefully few prototypes,
32808 which can conflict with char remove (); below.
32809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32810 <limits.h> exists even on freestanding compilers. */
32811
32812 #ifdef __STDC__
32813 # include <limits.h>
32814 #else
32815 # include <assert.h>
32816 #endif
32817
32818 #undef remove
32819
32820 /* Override any GCC internal prototype to avoid an error.
32821 Use char because int might match the return type of a GCC
32822 builtin and then its argument prototype would still apply. */
32823 #ifdef __cplusplus
32824 extern "C"
32825 #endif
32826 char remove ();
32827 /* The GNU C library defines this for functions which it implements
32828 to always fail with ENOSYS. Some functions are actually named
32829 something starting with __ and the normal name is an alias. */
32830 #if defined __stub_remove || defined __stub___remove
32831 choke me
32832 #endif
32833
32834 int
32835 main ()
32836 {
32837 return remove ();
32838 ;
32839 return 0;
32840 }
32841 _ACEOF
32842 rm -f conftest.$ac_objext conftest$ac_exeext
32843 if { (ac_try="$ac_link"
32844 case "(($ac_try" in
32845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32846 *) ac_try_echo=$ac_try;;
32847 esac
32848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32849 (eval "$ac_link") 2>conftest.er1
32850 ac_status=$?
32851 grep -v '^ *+' conftest.er1 >conftest.err
32852 rm -f conftest.er1
32853 cat conftest.err >&5
32854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32855 (exit $ac_status); } && {
32856 test -z "$ac_c_werror_flag" ||
32857 test ! -s conftest.err
32858 } && test -s conftest$ac_exeext &&
32859 $as_test_x conftest$ac_exeext; then
32860 ac_cv_func_remove=yes
32861 else
32862 echo "$as_me: failed program was:" >&5
32863 sed 's/^/| /' conftest.$ac_ext >&5
32864
32865 ac_cv_func_remove=no
32866 fi
32867
32868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32869 conftest$ac_exeext conftest.$ac_ext
32870 fi
32871 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32872 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32873
32874 if test $ac_cv_func_remove = no; then
32875 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32876 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32877 if test "${ac_cv_lib_posix_remove+set}" = set; then
32878 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 else
32880 ac_check_lib_save_LIBS=$LIBS
32881 LIBS="-lposix $LIBS"
32882 cat >conftest.$ac_ext <<_ACEOF
32883 /* confdefs.h. */
32884 _ACEOF
32885 cat confdefs.h >>conftest.$ac_ext
32886 cat >>conftest.$ac_ext <<_ACEOF
32887 /* end confdefs.h. */
32888
32889 /* Override any GCC internal prototype to avoid an error.
32890 Use char because int might match the return type of a GCC
32891 builtin and then its argument prototype would still apply. */
32892 #ifdef __cplusplus
32893 extern "C"
32894 #endif
32895 char remove ();
32896 int
32897 main ()
32898 {
32899 return remove ();
32900 ;
32901 return 0;
32902 }
32903 _ACEOF
32904 rm -f conftest.$ac_objext conftest$ac_exeext
32905 if { (ac_try="$ac_link"
32906 case "(($ac_try" in
32907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32908 *) ac_try_echo=$ac_try;;
32909 esac
32910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32911 (eval "$ac_link") 2>conftest.er1
32912 ac_status=$?
32913 grep -v '^ *+' conftest.er1 >conftest.err
32914 rm -f conftest.er1
32915 cat conftest.err >&5
32916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32917 (exit $ac_status); } && {
32918 test -z "$ac_c_werror_flag" ||
32919 test ! -s conftest.err
32920 } && test -s conftest$ac_exeext &&
32921 $as_test_x conftest$ac_exeext; then
32922 ac_cv_lib_posix_remove=yes
32923 else
32924 echo "$as_me: failed program was:" >&5
32925 sed 's/^/| /' conftest.$ac_ext >&5
32926
32927 ac_cv_lib_posix_remove=no
32928 fi
32929
32930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32931 conftest$ac_exeext conftest.$ac_ext
32932 LIBS=$ac_check_lib_save_LIBS
32933 fi
32934 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32935 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32936 if test $ac_cv_lib_posix_remove = yes; then
32937 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32938 fi
32939
32940 fi
32941
32942 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32943 { echo "$as_me:$LINENO: checking for shmat" >&5
32944 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32945 if test "${ac_cv_func_shmat+set}" = set; then
32946 echo $ECHO_N "(cached) $ECHO_C" >&6
32947 else
32948 cat >conftest.$ac_ext <<_ACEOF
32949 /* confdefs.h. */
32950 _ACEOF
32951 cat confdefs.h >>conftest.$ac_ext
32952 cat >>conftest.$ac_ext <<_ACEOF
32953 /* end confdefs.h. */
32954 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32956 #define shmat innocuous_shmat
32957
32958 /* System header to define __stub macros and hopefully few prototypes,
32959 which can conflict with char shmat (); below.
32960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32961 <limits.h> exists even on freestanding compilers. */
32962
32963 #ifdef __STDC__
32964 # include <limits.h>
32965 #else
32966 # include <assert.h>
32967 #endif
32968
32969 #undef shmat
32970
32971 /* Override any GCC internal prototype to avoid an error.
32972 Use char because int might match the return type of a GCC
32973 builtin and then its argument prototype would still apply. */
32974 #ifdef __cplusplus
32975 extern "C"
32976 #endif
32977 char shmat ();
32978 /* The GNU C library defines this for functions which it implements
32979 to always fail with ENOSYS. Some functions are actually named
32980 something starting with __ and the normal name is an alias. */
32981 #if defined __stub_shmat || defined __stub___shmat
32982 choke me
32983 #endif
32984
32985 int
32986 main ()
32987 {
32988 return shmat ();
32989 ;
32990 return 0;
32991 }
32992 _ACEOF
32993 rm -f conftest.$ac_objext conftest$ac_exeext
32994 if { (ac_try="$ac_link"
32995 case "(($ac_try" in
32996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32997 *) ac_try_echo=$ac_try;;
32998 esac
32999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33000 (eval "$ac_link") 2>conftest.er1
33001 ac_status=$?
33002 grep -v '^ *+' conftest.er1 >conftest.err
33003 rm -f conftest.er1
33004 cat conftest.err >&5
33005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33006 (exit $ac_status); } && {
33007 test -z "$ac_c_werror_flag" ||
33008 test ! -s conftest.err
33009 } && test -s conftest$ac_exeext &&
33010 $as_test_x conftest$ac_exeext; then
33011 ac_cv_func_shmat=yes
33012 else
33013 echo "$as_me: failed program was:" >&5
33014 sed 's/^/| /' conftest.$ac_ext >&5
33015
33016 ac_cv_func_shmat=no
33017 fi
33018
33019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33020 conftest$ac_exeext conftest.$ac_ext
33021 fi
33022 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
33023 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
33024
33025 if test $ac_cv_func_shmat = no; then
33026 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
33027 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
33028 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
33029 echo $ECHO_N "(cached) $ECHO_C" >&6
33030 else
33031 ac_check_lib_save_LIBS=$LIBS
33032 LIBS="-lipc $LIBS"
33033 cat >conftest.$ac_ext <<_ACEOF
33034 /* confdefs.h. */
33035 _ACEOF
33036 cat confdefs.h >>conftest.$ac_ext
33037 cat >>conftest.$ac_ext <<_ACEOF
33038 /* end confdefs.h. */
33039
33040 /* Override any GCC internal prototype to avoid an error.
33041 Use char because int might match the return type of a GCC
33042 builtin and then its argument prototype would still apply. */
33043 #ifdef __cplusplus
33044 extern "C"
33045 #endif
33046 char shmat ();
33047 int
33048 main ()
33049 {
33050 return shmat ();
33051 ;
33052 return 0;
33053 }
33054 _ACEOF
33055 rm -f conftest.$ac_objext conftest$ac_exeext
33056 if { (ac_try="$ac_link"
33057 case "(($ac_try" in
33058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33059 *) ac_try_echo=$ac_try;;
33060 esac
33061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33062 (eval "$ac_link") 2>conftest.er1
33063 ac_status=$?
33064 grep -v '^ *+' conftest.er1 >conftest.err
33065 rm -f conftest.er1
33066 cat conftest.err >&5
33067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33068 (exit $ac_status); } && {
33069 test -z "$ac_c_werror_flag" ||
33070 test ! -s conftest.err
33071 } && test -s conftest$ac_exeext &&
33072 $as_test_x conftest$ac_exeext; then
33073 ac_cv_lib_ipc_shmat=yes
33074 else
33075 echo "$as_me: failed program was:" >&5
33076 sed 's/^/| /' conftest.$ac_ext >&5
33077
33078 ac_cv_lib_ipc_shmat=no
33079 fi
33080
33081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33082 conftest$ac_exeext conftest.$ac_ext
33083 LIBS=$ac_check_lib_save_LIBS
33084 fi
33085 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
33086 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
33087 if test $ac_cv_lib_ipc_shmat = yes; then
33088 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
33089 fi
33090
33091 fi
33092 fi
33093
33094 # Check for libraries that X11R6 Xt/Xaw programs need.
33095 ac_save_LDFLAGS=$LDFLAGS
33096 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
33097 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
33098 # check for ICE first), but we must link in the order -lSM -lICE or
33099 # we get undefined symbols. So assume we have SM if we have ICE.
33100 # These have to be linked with before -lX11, unlike the other
33101 # libraries we check for below, so use a different variable.
33102 # John Interrante, Karl Berry
33103 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
33104 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
33105 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
33106 echo $ECHO_N "(cached) $ECHO_C" >&6
33107 else
33108 ac_check_lib_save_LIBS=$LIBS
33109 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
33110 cat >conftest.$ac_ext <<_ACEOF
33111 /* confdefs.h. */
33112 _ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116
33117 /* Override any GCC internal prototype to avoid an error.
33118 Use char because int might match the return type of a GCC
33119 builtin and then its argument prototype would still apply. */
33120 #ifdef __cplusplus
33121 extern "C"
33122 #endif
33123 char IceConnectionNumber ();
33124 int
33125 main ()
33126 {
33127 return IceConnectionNumber ();
33128 ;
33129 return 0;
33130 }
33131 _ACEOF
33132 rm -f conftest.$ac_objext conftest$ac_exeext
33133 if { (ac_try="$ac_link"
33134 case "(($ac_try" in
33135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33136 *) ac_try_echo=$ac_try;;
33137 esac
33138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33139 (eval "$ac_link") 2>conftest.er1
33140 ac_status=$?
33141 grep -v '^ *+' conftest.er1 >conftest.err
33142 rm -f conftest.er1
33143 cat conftest.err >&5
33144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33145 (exit $ac_status); } && {
33146 test -z "$ac_c_werror_flag" ||
33147 test ! -s conftest.err
33148 } && test -s conftest$ac_exeext &&
33149 $as_test_x conftest$ac_exeext; then
33150 ac_cv_lib_ICE_IceConnectionNumber=yes
33151 else
33152 echo "$as_me: failed program was:" >&5
33153 sed 's/^/| /' conftest.$ac_ext >&5
33154
33155 ac_cv_lib_ICE_IceConnectionNumber=no
33156 fi
33157
33158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33159 conftest$ac_exeext conftest.$ac_ext
33160 LIBS=$ac_check_lib_save_LIBS
33161 fi
33162 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33163 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33164 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33165 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
33166 fi
33167
33168 LDFLAGS=$ac_save_LDFLAGS
33169
33170 fi
33171
33172
33173 if test "$no_x" = "yes"; then
33174 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33175 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33176 { (exit 1); exit 1; }; }
33177 fi
33178
33179 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33180 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
33181 AFMINSTALL=afminstall
33182 COMPILED_X_PROGRAM=0
33183
33184 fi
33185
33186 if test "$wxUSE_X11" = 1; then
33187 if test "$wxUSE_NANOX" = "yes"; then
33188 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33189 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33190 if test "x$MICROWIN" = x ; then
33191 { echo "$as_me:$LINENO: result: not found" >&5
33192 echo "${ECHO_T}not found" >&6; }
33193 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33194 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33195 { (exit 1); exit 1; }; }
33196 else
33197 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33198 echo "${ECHO_T}$MICROWIN" >&6; }
33199 cat >>confdefs.h <<\_ACEOF
33200 #define wxUSE_NANOX 1
33201 _ACEOF
33202
33203 fi
33204 fi
33205
33206 if test "$wxUSE_UNICODE" = "yes"; then
33207
33208
33209 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33210 if test -n "$ac_tool_prefix"; then
33211 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33212 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
33213 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33215 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33216 echo $ECHO_N "(cached) $ECHO_C" >&6
33217 else
33218 case $PKG_CONFIG in
33219 [\\/]* | ?:[\\/]*)
33220 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
33221 ;;
33222 *)
33223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33224 for as_dir in $PATH
33225 do
33226 IFS=$as_save_IFS
33227 test -z "$as_dir" && as_dir=.
33228 for ac_exec_ext in '' $ac_executable_extensions; do
33229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33230 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33232 break 2
33233 fi
33234 done
33235 done
33236 IFS=$as_save_IFS
33237
33238 ;;
33239 esac
33240 fi
33241 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33242 if test -n "$PKG_CONFIG"; then
33243 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33244 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33245 else
33246 { echo "$as_me:$LINENO: result: no" >&5
33247 echo "${ECHO_T}no" >&6; }
33248 fi
33249
33250
33251 fi
33252 if test -z "$ac_cv_path_PKG_CONFIG"; then
33253 ac_pt_PKG_CONFIG=$PKG_CONFIG
33254 # Extract the first word of "pkg-config", so it can be a program name with args.
33255 set dummy pkg-config; ac_word=$2
33256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33258 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33259 echo $ECHO_N "(cached) $ECHO_C" >&6
33260 else
33261 case $ac_pt_PKG_CONFIG in
33262 [\\/]* | ?:[\\/]*)
33263 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33264 ;;
33265 *)
33266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33267 for as_dir in $PATH
33268 do
33269 IFS=$as_save_IFS
33270 test -z "$as_dir" && as_dir=.
33271 for ac_exec_ext in '' $ac_executable_extensions; do
33272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33273 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33275 break 2
33276 fi
33277 done
33278 done
33279 IFS=$as_save_IFS
33280
33281 ;;
33282 esac
33283 fi
33284 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33285 if test -n "$ac_pt_PKG_CONFIG"; then
33286 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33287 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33288 else
33289 { echo "$as_me:$LINENO: result: no" >&5
33290 echo "${ECHO_T}no" >&6; }
33291 fi
33292
33293 if test "x$ac_pt_PKG_CONFIG" = x; then
33294 PKG_CONFIG=""
33295 else
33296 case $cross_compiling:$ac_tool_warned in
33297 yes:)
33298 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33299 whose name does not start with the host triplet. If you think this
33300 configuration is useful to you, please write to autoconf@gnu.org." >&5
33301 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33302 whose name does not start with the host triplet. If you think this
33303 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33304 ac_tool_warned=yes ;;
33305 esac
33306 PKG_CONFIG=$ac_pt_PKG_CONFIG
33307 fi
33308 else
33309 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33310 fi
33311
33312 fi
33313 if test -n "$PKG_CONFIG"; then
33314 _pkg_min_version=0.9.0
33315 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33316 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33317 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33318 { echo "$as_me:$LINENO: result: yes" >&5
33319 echo "${ECHO_T}yes" >&6; }
33320 else
33321 { echo "$as_me:$LINENO: result: no" >&5
33322 echo "${ECHO_T}no" >&6; }
33323 PKG_CONFIG=""
33324 fi
33325
33326 fi
33327
33328
33329 pkg_failed=no
33330 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33331 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33332
33333 if test -n "$PKG_CONFIG"; then
33334 if test -n "$PANGOX_CFLAGS"; then
33335 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33336 else
33337 if test -n "$PKG_CONFIG" && \
33338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33339 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33340 ac_status=$?
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); }; then
33343 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33344 else
33345 pkg_failed=yes
33346 fi
33347 fi
33348 else
33349 pkg_failed=untried
33350 fi
33351 if test -n "$PKG_CONFIG"; then
33352 if test -n "$PANGOX_LIBS"; then
33353 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33354 else
33355 if test -n "$PKG_CONFIG" && \
33356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33357 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33358 ac_status=$?
33359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33360 (exit $ac_status); }; then
33361 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33362 else
33363 pkg_failed=yes
33364 fi
33365 fi
33366 else
33367 pkg_failed=untried
33368 fi
33369
33370
33371
33372 if test $pkg_failed = yes; then
33373
33374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33375 _pkg_short_errors_supported=yes
33376 else
33377 _pkg_short_errors_supported=no
33378 fi
33379 if test $_pkg_short_errors_supported = yes; then
33380 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33381 else
33382 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33383 fi
33384 # Put the nasty error message in config.log where it belongs
33385 echo "$PANGOX_PKG_ERRORS" >&5
33386
33387
33388 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33389 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33390 { (exit 1); exit 1; }; }
33391
33392
33393 elif test $pkg_failed = untried; then
33394
33395 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33396 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33397 { (exit 1); exit 1; }; }
33398
33399
33400 else
33401 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33402 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33403 { echo "$as_me:$LINENO: result: yes" >&5
33404 echo "${ECHO_T}yes" >&6; }
33405
33406 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33407 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33408 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33409
33410 fi
33411
33412 pkg_failed=no
33413 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33414 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33415
33416 if test -n "$PKG_CONFIG"; then
33417 if test -n "$PANGOFT2_CFLAGS"; then
33418 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33419 else
33420 if test -n "$PKG_CONFIG" && \
33421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33422 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33423 ac_status=$?
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; then
33426 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33427 else
33428 pkg_failed=yes
33429 fi
33430 fi
33431 else
33432 pkg_failed=untried
33433 fi
33434 if test -n "$PKG_CONFIG"; then
33435 if test -n "$PANGOFT2_LIBS"; then
33436 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33437 else
33438 if test -n "$PKG_CONFIG" && \
33439 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33440 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33441 ac_status=$?
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); }; then
33444 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33445 else
33446 pkg_failed=yes
33447 fi
33448 fi
33449 else
33450 pkg_failed=untried
33451 fi
33452
33453
33454
33455 if test $pkg_failed = yes; then
33456
33457 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33458 _pkg_short_errors_supported=yes
33459 else
33460 _pkg_short_errors_supported=no
33461 fi
33462 if test $_pkg_short_errors_supported = yes; then
33463 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33464 else
33465 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33466 fi
33467 # Put the nasty error message in config.log where it belongs
33468 echo "$PANGOFT2_PKG_ERRORS" >&5
33469
33470
33471 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33472 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33473 wxUSE_PRINTING_ARCHITECTURE="no"
33474
33475
33476 elif test $pkg_failed = untried; then
33477
33478 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33479 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33480 wxUSE_PRINTING_ARCHITECTURE="no"
33481
33482
33483 else
33484 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33485 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33486 { echo "$as_me:$LINENO: result: yes" >&5
33487 echo "${ECHO_T}yes" >&6; }
33488
33489 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33490 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33491 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33492
33493 fi
33494
33495 pkg_failed=no
33496 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33497 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33498
33499 if test -n "$PKG_CONFIG"; then
33500 if test -n "$PANGOXFT_CFLAGS"; then
33501 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33502 else
33503 if test -n "$PKG_CONFIG" && \
33504 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33505 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33506 ac_status=$?
33507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33508 (exit $ac_status); }; then
33509 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33510 else
33511 pkg_failed=yes
33512 fi
33513 fi
33514 else
33515 pkg_failed=untried
33516 fi
33517 if test -n "$PKG_CONFIG"; then
33518 if test -n "$PANGOXFT_LIBS"; then
33519 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33520 else
33521 if test -n "$PKG_CONFIG" && \
33522 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33523 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33524 ac_status=$?
33525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33526 (exit $ac_status); }; then
33527 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33528 else
33529 pkg_failed=yes
33530 fi
33531 fi
33532 else
33533 pkg_failed=untried
33534 fi
33535
33536
33537
33538 if test $pkg_failed = yes; then
33539
33540 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33541 _pkg_short_errors_supported=yes
33542 else
33543 _pkg_short_errors_supported=no
33544 fi
33545 if test $_pkg_short_errors_supported = yes; then
33546 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33547 else
33548 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33549 fi
33550 # Put the nasty error message in config.log where it belongs
33551 echo "$PANGOXFT_PKG_ERRORS" >&5
33552
33553
33554 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33555 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33556
33557
33558 elif test $pkg_failed = untried; then
33559
33560 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33561 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33562
33563
33564 else
33565 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33566 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33567 { echo "$as_me:$LINENO: result: yes" >&5
33568 echo "${ECHO_T}yes" >&6; }
33569
33570 cat >>confdefs.h <<\_ACEOF
33571 #define HAVE_PANGO_XFT 1
33572 _ACEOF
33573
33574 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33575 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33576 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33577
33578 fi
33579 save_LIBS="$LIBS"
33580 LIBS="$LIBS $PANGOX_LIBS"
33581
33582 for ac_func in pango_font_family_is_monospace
33583 do
33584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33585 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33587 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33588 echo $ECHO_N "(cached) $ECHO_C" >&6
33589 else
33590 cat >conftest.$ac_ext <<_ACEOF
33591 /* confdefs.h. */
33592 _ACEOF
33593 cat confdefs.h >>conftest.$ac_ext
33594 cat >>conftest.$ac_ext <<_ACEOF
33595 /* end confdefs.h. */
33596 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33597 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33598 #define $ac_func innocuous_$ac_func
33599
33600 /* System header to define __stub macros and hopefully few prototypes,
33601 which can conflict with char $ac_func (); below.
33602 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33603 <limits.h> exists even on freestanding compilers. */
33604
33605 #ifdef __STDC__
33606 # include <limits.h>
33607 #else
33608 # include <assert.h>
33609 #endif
33610
33611 #undef $ac_func
33612
33613 /* Override any GCC internal prototype to avoid an error.
33614 Use char because int might match the return type of a GCC
33615 builtin and then its argument prototype would still apply. */
33616 #ifdef __cplusplus
33617 extern "C"
33618 #endif
33619 char $ac_func ();
33620 /* The GNU C library defines this for functions which it implements
33621 to always fail with ENOSYS. Some functions are actually named
33622 something starting with __ and the normal name is an alias. */
33623 #if defined __stub_$ac_func || defined __stub___$ac_func
33624 choke me
33625 #endif
33626
33627 int
33628 main ()
33629 {
33630 return $ac_func ();
33631 ;
33632 return 0;
33633 }
33634 _ACEOF
33635 rm -f conftest.$ac_objext conftest$ac_exeext
33636 if { (ac_try="$ac_link"
33637 case "(($ac_try" in
33638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33639 *) ac_try_echo=$ac_try;;
33640 esac
33641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33642 (eval "$ac_link") 2>conftest.er1
33643 ac_status=$?
33644 grep -v '^ *+' conftest.er1 >conftest.err
33645 rm -f conftest.er1
33646 cat conftest.err >&5
33647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33648 (exit $ac_status); } && {
33649 test -z "$ac_c_werror_flag" ||
33650 test ! -s conftest.err
33651 } && test -s conftest$ac_exeext &&
33652 $as_test_x conftest$ac_exeext; then
33653 eval "$as_ac_var=yes"
33654 else
33655 echo "$as_me: failed program was:" >&5
33656 sed 's/^/| /' conftest.$ac_ext >&5
33657
33658 eval "$as_ac_var=no"
33659 fi
33660
33661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33662 conftest$ac_exeext conftest.$ac_ext
33663 fi
33664 ac_res=`eval echo '${'$as_ac_var'}'`
33665 { echo "$as_me:$LINENO: result: $ac_res" >&5
33666 echo "${ECHO_T}$ac_res" >&6; }
33667 if test `eval echo '${'$as_ac_var'}'` = yes; then
33668 cat >>confdefs.h <<_ACEOF
33669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33670 _ACEOF
33671
33672 fi
33673 done
33674
33675 LIBS="$save_LIBS"
33676 fi
33677
33678 wxUSE_UNIVERSAL="yes"
33679
33680 if test "$wxUSE_NANOX" = "yes"; then
33681 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33682 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"
33683 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33684 else
33685 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33686 fi
33687
33688 TOOLKIT=X11
33689 GUIDIST=X11_DIST
33690 fi
33691
33692 if test "$wxUSE_MOTIF" = 1; then
33693 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33694 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33695
33696 ac_find_includes=
33697 for ac_dir in $SEARCH_INCLUDE /usr/include
33698 do
33699 if test -f "$ac_dir/Xm/Xm.h"; then
33700 ac_find_includes=$ac_dir
33701 break
33702 fi
33703 done
33704
33705 if test "$ac_find_includes" != "" ; then
33706 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33707 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33708
33709 if test "x$ac_find_includes" = "x/usr/include"; then
33710 ac_path_to_include=""
33711 else
33712 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33713 result=$?
33714 if test $result = 0; then
33715 ac_path_to_include=""
33716 else
33717 ac_path_to_include=" -I$ac_find_includes"
33718 fi
33719 fi
33720
33721 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33722 else
33723 save_CFLAGS=$CFLAGS
33724 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33725
33726 cat >conftest.$ac_ext <<_ACEOF
33727 /* confdefs.h. */
33728 _ACEOF
33729 cat confdefs.h >>conftest.$ac_ext
33730 cat >>conftest.$ac_ext <<_ACEOF
33731 /* end confdefs.h. */
33732
33733 #include <Xm/Xm.h>
33734
33735 int
33736 main ()
33737 {
33738
33739 int version;
33740 version = xmUseVersion;
33741
33742 ;
33743 return 0;
33744 }
33745 _ACEOF
33746 rm -f conftest.$ac_objext
33747 if { (ac_try="$ac_compile"
33748 case "(($ac_try" in
33749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33750 *) ac_try_echo=$ac_try;;
33751 esac
33752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33753 (eval "$ac_compile") 2>conftest.er1
33754 ac_status=$?
33755 grep -v '^ *+' conftest.er1 >conftest.err
33756 rm -f conftest.er1
33757 cat conftest.err >&5
33758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33759 (exit $ac_status); } && {
33760 test -z "$ac_c_werror_flag" ||
33761 test ! -s conftest.err
33762 } && test -s conftest.$ac_objext; then
33763
33764 { echo "$as_me:$LINENO: result: found in default search path" >&5
33765 echo "${ECHO_T}found in default search path" >&6; }
33766 COMPILED_X_PROGRAM=1
33767
33768 else
33769 echo "$as_me: failed program was:" >&5
33770 sed 's/^/| /' conftest.$ac_ext >&5
33771
33772
33773 { echo "$as_me:$LINENO: result: no" >&5
33774 echo "${ECHO_T}no" >&6; }
33775 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33776 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33777 { (exit 1); exit 1; }; }
33778
33779
33780 fi
33781
33782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33783
33784 CFLAGS=$save_CFLAGS
33785 fi
33786
33787
33788 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33789 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33790
33791 ac_find_libraries=
33792 for ac_dir in $SEARCH_LIB
33793 do
33794 for ac_extension in a so sl dylib dll.a; do
33795 if test -f "$ac_dir/libXm.$ac_extension"; then
33796 ac_find_libraries=$ac_dir
33797 break 2
33798 fi
33799 done
33800 done
33801
33802
33803 if test "x$ac_find_libraries" != "x" ; then
33804 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33805 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33806
33807
33808 if test "$ac_find_libraries" = "default location"; then
33809 ac_path_to_link=""
33810 else
33811 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33812 result=$?
33813 if test $result = 0; then
33814 ac_path_to_link=""
33815 else
33816 ac_path_to_link=" -L$ac_find_libraries"
33817 fi
33818 fi
33819
33820 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33821 else
33822 save_CFLAGS=$CFLAGS
33823 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33824 save_LIBS="$LIBS"
33825 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33826
33827 cat >conftest.$ac_ext <<_ACEOF
33828 /* confdefs.h. */
33829 _ACEOF
33830 cat confdefs.h >>conftest.$ac_ext
33831 cat >>conftest.$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33833
33834 #include <Xm/Xm.h>
33835
33836 int
33837 main ()
33838 {
33839
33840 int version;
33841 version = xmUseVersion;
33842
33843 ;
33844 return 0;
33845 }
33846 _ACEOF
33847 rm -f conftest.$ac_objext conftest$ac_exeext
33848 if { (ac_try="$ac_link"
33849 case "(($ac_try" in
33850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33851 *) ac_try_echo=$ac_try;;
33852 esac
33853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33854 (eval "$ac_link") 2>conftest.er1
33855 ac_status=$?
33856 grep -v '^ *+' conftest.er1 >conftest.err
33857 rm -f conftest.er1
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } && {
33861 test -z "$ac_c_werror_flag" ||
33862 test ! -s conftest.err
33863 } && test -s conftest$ac_exeext &&
33864 $as_test_x conftest$ac_exeext; then
33865
33866 { echo "$as_me:$LINENO: result: found in default search path" >&5
33867 echo "${ECHO_T}found in default search path" >&6; }
33868 COMPILED_X_PROGRAM=1
33869
33870 else
33871 echo "$as_me: failed program was:" >&5
33872 sed 's/^/| /' conftest.$ac_ext >&5
33873
33874
33875 { echo "$as_me:$LINENO: result: no" >&5
33876 echo "${ECHO_T}no" >&6; }
33877 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33878 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33879 { (exit 1); exit 1; }; }
33880
33881
33882 fi
33883
33884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33885 conftest$ac_exeext conftest.$ac_ext
33886
33887 CFLAGS=$save_CFLAGS
33888 LIBS="$save_LIBS"
33889 fi
33890
33891 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33892 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33893 libp_link=""
33894 libsm_ice_link=""
33895 libs_found=0
33896 for libp in "" " -lXp"; do
33897 if test "$libs_found" = 0; then
33898 for libsm_ice in "" " -lSM -lICE"; do
33899 if test "$libs_found" = 0; then
33900 save_LIBS="$LIBS"
33901 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33902 save_CFLAGS=$CFLAGS
33903 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33904
33905 cat >conftest.$ac_ext <<_ACEOF
33906 /* confdefs.h. */
33907 _ACEOF
33908 cat confdefs.h >>conftest.$ac_ext
33909 cat >>conftest.$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33911
33912 #include <Xm/Xm.h>
33913 #include <Xm/List.h>
33914
33915 int
33916 main ()
33917 {
33918
33919 XmString string = NULL;
33920 Widget w = NULL;
33921 int position = 0;
33922 XmListAddItem(w, string, position);
33923
33924 ;
33925 return 0;
33926 }
33927 _ACEOF
33928 rm -f conftest.$ac_objext conftest$ac_exeext
33929 if { (ac_try="$ac_link"
33930 case "(($ac_try" in
33931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33932 *) ac_try_echo=$ac_try;;
33933 esac
33934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33935 (eval "$ac_link") 2>conftest.er1
33936 ac_status=$?
33937 grep -v '^ *+' conftest.er1 >conftest.err
33938 rm -f conftest.er1
33939 cat conftest.err >&5
33940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33941 (exit $ac_status); } && {
33942 test -z "$ac_c_werror_flag" ||
33943 test ! -s conftest.err
33944 } && test -s conftest$ac_exeext &&
33945 $as_test_x conftest$ac_exeext; then
33946
33947 libp_link="$libp"
33948 libsm_ice_link="$libsm_ice"
33949 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33950 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33951 libs_found=1
33952
33953 else
33954 echo "$as_me: failed program was:" >&5
33955 sed 's/^/| /' conftest.$ac_ext >&5
33956
33957
33958
33959 fi
33960
33961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33962 conftest$ac_exeext conftest.$ac_ext
33963
33964 LIBS="$save_LIBS"
33965 CFLAGS=$save_CFLAGS
33966 fi
33967 done
33968 fi
33969 done
33970
33971 if test "$libs_found" = 0; then
33972 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33973 echo "${ECHO_T}can't find the right libraries" >&6; }
33974 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33975 echo "$as_me: error: can't link a simple motif program" >&2;}
33976 { (exit 1); exit 1; }; }
33977 fi
33978
33979 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33980 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33981 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33982 echo $ECHO_N "(cached) $ECHO_C" >&6
33983 else
33984 ac_check_lib_save_LIBS=$LIBS
33985 LIBS="-lSgm $LIBS"
33986 cat >conftest.$ac_ext <<_ACEOF
33987 /* confdefs.h. */
33988 _ACEOF
33989 cat confdefs.h >>conftest.$ac_ext
33990 cat >>conftest.$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33992
33993 /* Override any GCC internal prototype to avoid an error.
33994 Use char because int might match the return type of a GCC
33995 builtin and then its argument prototype would still apply. */
33996 #ifdef __cplusplus
33997 extern "C"
33998 #endif
33999 char SgCreateList ();
34000 int
34001 main ()
34002 {
34003 return SgCreateList ();
34004 ;
34005 return 0;
34006 }
34007 _ACEOF
34008 rm -f conftest.$ac_objext conftest$ac_exeext
34009 if { (ac_try="$ac_link"
34010 case "(($ac_try" in
34011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34012 *) ac_try_echo=$ac_try;;
34013 esac
34014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34015 (eval "$ac_link") 2>conftest.er1
34016 ac_status=$?
34017 grep -v '^ *+' conftest.er1 >conftest.err
34018 rm -f conftest.er1
34019 cat conftest.err >&5
34020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34021 (exit $ac_status); } && {
34022 test -z "$ac_c_werror_flag" ||
34023 test ! -s conftest.err
34024 } && test -s conftest$ac_exeext &&
34025 $as_test_x conftest$ac_exeext; then
34026 ac_cv_lib_Sgm_SgCreateList=yes
34027 else
34028 echo "$as_me: failed program was:" >&5
34029 sed 's/^/| /' conftest.$ac_ext >&5
34030
34031 ac_cv_lib_Sgm_SgCreateList=no
34032 fi
34033
34034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34035 conftest$ac_exeext conftest.$ac_ext
34036 LIBS=$ac_check_lib_save_LIBS
34037 fi
34038 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
34039 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
34040 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
34041 libsgm_link=" -lSgm"
34042 fi
34043
34044
34045 save_CFLAGS=$CFLAGS
34046 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34047
34048 { echo "$as_me:$LINENO: checking for Motif 2" >&5
34049 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
34050 if test "${wx_cv_lib_motif2+set}" = set; then
34051 echo $ECHO_N "(cached) $ECHO_C" >&6
34052 else
34053 cat >conftest.$ac_ext <<_ACEOF
34054 /* confdefs.h. */
34055 _ACEOF
34056 cat confdefs.h >>conftest.$ac_ext
34057 cat >>conftest.$ac_ext <<_ACEOF
34058 /* end confdefs.h. */
34059
34060 #include <Xm/Xm.h>
34061
34062 int
34063 main ()
34064 {
34065
34066 #if XmVersion < 2000
34067 Not Motif 2
34068 #endif
34069
34070 ;
34071 return 0;
34072 }
34073 _ACEOF
34074 rm -f conftest.$ac_objext
34075 if { (ac_try="$ac_compile"
34076 case "(($ac_try" in
34077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34078 *) ac_try_echo=$ac_try;;
34079 esac
34080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34081 (eval "$ac_compile") 2>conftest.er1
34082 ac_status=$?
34083 grep -v '^ *+' conftest.er1 >conftest.err
34084 rm -f conftest.er1
34085 cat conftest.err >&5
34086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34087 (exit $ac_status); } && {
34088 test -z "$ac_c_werror_flag" ||
34089 test ! -s conftest.err
34090 } && test -s conftest.$ac_objext; then
34091 wx_cv_lib_motif2="yes"
34092 else
34093 echo "$as_me: failed program was:" >&5
34094 sed 's/^/| /' conftest.$ac_ext >&5
34095
34096 wx_cv_lib_motif2="no"
34097 fi
34098
34099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34100 fi
34101 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
34102 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
34103 if test "$wx_cv_lib_motif2" = "yes"; then
34104 cat >>confdefs.h <<\_ACEOF
34105 #define __WXMOTIF20__ 1
34106 _ACEOF
34107
34108 else
34109 cat >>confdefs.h <<\_ACEOF
34110 #define __WXMOTIF20__ 0
34111 _ACEOF
34112
34113 fi
34114
34115 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34116 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34117 if test "${wx_cv_lib_lesstif+set}" = set; then
34118 echo $ECHO_N "(cached) $ECHO_C" >&6
34119 else
34120 cat >conftest.$ac_ext <<_ACEOF
34121 /* confdefs.h. */
34122 _ACEOF
34123 cat confdefs.h >>conftest.$ac_ext
34124 cat >>conftest.$ac_ext <<_ACEOF
34125 /* end confdefs.h. */
34126
34127 #include <Xm/Xm.h>
34128
34129 int
34130 main ()
34131 {
34132
34133 #if !defined(LesstifVersion) || LesstifVersion <= 0
34134 Not Lesstif
34135 #endif
34136
34137 ;
34138 return 0;
34139 }
34140 _ACEOF
34141 rm -f conftest.$ac_objext
34142 if { (ac_try="$ac_compile"
34143 case "(($ac_try" in
34144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34145 *) ac_try_echo=$ac_try;;
34146 esac
34147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34148 (eval "$ac_compile") 2>conftest.er1
34149 ac_status=$?
34150 grep -v '^ *+' conftest.er1 >conftest.err
34151 rm -f conftest.er1
34152 cat conftest.err >&5
34153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34154 (exit $ac_status); } && {
34155 test -z "$ac_c_werror_flag" ||
34156 test ! -s conftest.err
34157 } && test -s conftest.$ac_objext; then
34158 wx_cv_lib_lesstif="yes"
34159 else
34160 echo "$as_me: failed program was:" >&5
34161 sed 's/^/| /' conftest.$ac_ext >&5
34162
34163 wx_cv_lib_lesstif="no"
34164 fi
34165
34166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34167
34168 fi
34169 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34170 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34171 if test "$wx_cv_lib_lesstif" = "yes"; then
34172 cat >>confdefs.h <<\_ACEOF
34173 #define __WXLESSTIF__ 1
34174 _ACEOF
34175
34176 else
34177 cat >>confdefs.h <<\_ACEOF
34178 #define __WXLESSTIF__ 0
34179 _ACEOF
34180
34181 fi
34182
34183 CFLAGS=$save_CFLAGS
34184
34185 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34186 TOOLKIT=MOTIF
34187 GUIDIST=MOTIF_DIST
34188 fi
34189
34190 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34191 if test "$wxUSE_LIBXPM" = "sys"; then
34192 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34193 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34194
34195 ac_find_libraries=
34196 for ac_dir in $SEARCH_LIB
34197 do
34198 for ac_extension in a so sl dylib dll.a; do
34199 if test -f "$ac_dir/libXpm.$ac_extension"; then
34200 ac_find_libraries=$ac_dir
34201 break 2
34202 fi
34203 done
34204 done
34205
34206 if test "$ac_find_libraries" != "" ; then
34207
34208 if test "$ac_find_libraries" = "default location"; then
34209 ac_path_to_link=""
34210 else
34211 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34212 result=$?
34213 if test $result = 0; then
34214 ac_path_to_link=""
34215 else
34216 ac_path_to_link=" -L$ac_find_libraries"
34217 fi
34218 fi
34219
34220 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34221 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34222 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34223
34224 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34225 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34226 if test "${wx_cv_x11_xpm_h+set}" = set; then
34227 echo $ECHO_N "(cached) $ECHO_C" >&6
34228 else
34229
34230 save_CFLAGS=$CFLAGS
34231 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34232
34233 cat >conftest.$ac_ext <<_ACEOF
34234 /* confdefs.h. */
34235 _ACEOF
34236 cat confdefs.h >>conftest.$ac_ext
34237 cat >>conftest.$ac_ext <<_ACEOF
34238 /* end confdefs.h. */
34239
34240 #include <X11/xpm.h>
34241
34242 int
34243 main ()
34244 {
34245
34246 int version;
34247 version = XpmLibraryVersion();
34248
34249 ;
34250 return 0;
34251 }
34252 _ACEOF
34253 rm -f conftest.$ac_objext
34254 if { (ac_try="$ac_compile"
34255 case "(($ac_try" in
34256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34257 *) ac_try_echo=$ac_try;;
34258 esac
34259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34260 (eval "$ac_compile") 2>conftest.er1
34261 ac_status=$?
34262 grep -v '^ *+' conftest.er1 >conftest.err
34263 rm -f conftest.er1
34264 cat conftest.err >&5
34265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34266 (exit $ac_status); } && {
34267 test -z "$ac_c_werror_flag" ||
34268 test ! -s conftest.err
34269 } && test -s conftest.$ac_objext; then
34270 wx_cv_x11_xpm_h=yes
34271 else
34272 echo "$as_me: failed program was:" >&5
34273 sed 's/^/| /' conftest.$ac_ext >&5
34274
34275 wx_cv_x11_xpm_h=no
34276
34277 fi
34278
34279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34280
34281 CFLAGS=$save_CFLAGS
34282
34283
34284 fi
34285 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34286 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34287
34288 if test $wx_cv_x11_xpm_h = "yes"; then
34289 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34290 cat >>confdefs.h <<\_ACEOF
34291 #define wxHAVE_LIB_XPM 1
34292 _ACEOF
34293
34294 else
34295 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34296 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34297 fi
34298 fi
34299
34300 fi
34301
34302 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34303 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34304 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34305 echo $ECHO_N "(cached) $ECHO_C" >&6
34306 else
34307 ac_check_lib_save_LIBS=$LIBS
34308 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34309 cat >conftest.$ac_ext <<_ACEOF
34310 /* confdefs.h. */
34311 _ACEOF
34312 cat confdefs.h >>conftest.$ac_ext
34313 cat >>conftest.$ac_ext <<_ACEOF
34314 /* end confdefs.h. */
34315
34316 /* Override any GCC internal prototype to avoid an error.
34317 Use char because int might match the return type of a GCC
34318 builtin and then its argument prototype would still apply. */
34319 #ifdef __cplusplus
34320 extern "C"
34321 #endif
34322 char XShapeQueryExtension ();
34323 int
34324 main ()
34325 {
34326 return XShapeQueryExtension ();
34327 ;
34328 return 0;
34329 }
34330 _ACEOF
34331 rm -f conftest.$ac_objext conftest$ac_exeext
34332 if { (ac_try="$ac_link"
34333 case "(($ac_try" in
34334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34335 *) ac_try_echo=$ac_try;;
34336 esac
34337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34338 (eval "$ac_link") 2>conftest.er1
34339 ac_status=$?
34340 grep -v '^ *+' conftest.er1 >conftest.err
34341 rm -f conftest.er1
34342 cat conftest.err >&5
34343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34344 (exit $ac_status); } && {
34345 test -z "$ac_c_werror_flag" ||
34346 test ! -s conftest.err
34347 } && test -s conftest$ac_exeext &&
34348 $as_test_x conftest$ac_exeext; then
34349 ac_cv_lib_Xext_XShapeQueryExtension=yes
34350 else
34351 echo "$as_me: failed program was:" >&5
34352 sed 's/^/| /' conftest.$ac_ext >&5
34353
34354 ac_cv_lib_Xext_XShapeQueryExtension=no
34355 fi
34356
34357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34358 conftest$ac_exeext conftest.$ac_ext
34359 LIBS=$ac_check_lib_save_LIBS
34360 fi
34361 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34362 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34363 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34364
34365 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34366 wxHAVE_XEXT_LIB=1
34367
34368 fi
34369
34370
34371 if test "$wxHAVE_XEXT_LIB" = 1; then
34372 save_CFLAGS="$CFLAGS"
34373 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34374
34375 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34376 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34377 cat >conftest.$ac_ext <<_ACEOF
34378 /* confdefs.h. */
34379 _ACEOF
34380 cat confdefs.h >>conftest.$ac_ext
34381 cat >>conftest.$ac_ext <<_ACEOF
34382 /* end confdefs.h. */
34383
34384 #include <X11/Xlib.h>
34385 #include <X11/extensions/shape.h>
34386
34387 int
34388 main ()
34389 {
34390
34391 int dummy1, dummy2;
34392 XShapeQueryExtension((Display*)NULL,
34393 (int*)NULL, (int*)NULL);
34394
34395 ;
34396 return 0;
34397 }
34398 _ACEOF
34399 rm -f conftest.$ac_objext
34400 if { (ac_try="$ac_compile"
34401 case "(($ac_try" in
34402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34403 *) ac_try_echo=$ac_try;;
34404 esac
34405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34406 (eval "$ac_compile") 2>conftest.er1
34407 ac_status=$?
34408 grep -v '^ *+' conftest.er1 >conftest.err
34409 rm -f conftest.er1
34410 cat conftest.err >&5
34411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34412 (exit $ac_status); } && {
34413 test -z "$ac_c_werror_flag" ||
34414 test ! -s conftest.err
34415 } && test -s conftest.$ac_objext; then
34416
34417 cat >>confdefs.h <<\_ACEOF
34418 #define HAVE_XSHAPE 1
34419 _ACEOF
34420
34421 { echo "$as_me:$LINENO: result: found" >&5
34422 echo "${ECHO_T}found" >&6; }
34423
34424 else
34425 echo "$as_me: failed program was:" >&5
34426 sed 's/^/| /' conftest.$ac_ext >&5
34427
34428
34429 { echo "$as_me:$LINENO: result: not found" >&5
34430 echo "${ECHO_T}not found" >&6; }
34431
34432 fi
34433
34434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34435 CFLAGS="$save_CFLAGS"
34436
34437 fi
34438 fi
34439
34440 if test "$wxUSE_OSX_CARBON" = 1; then
34441 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34442 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34443 if test "$GCC" = yes; then
34444 { echo "$as_me:$LINENO: result: gcc" >&5
34445 echo "${ECHO_T}gcc" >&6; }
34446 CPPFLAGS_PASCAL="-fpascal-strings"
34447 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34448 { echo "$as_me:$LINENO: result: xlc" >&5
34449 echo "${ECHO_T}xlc" >&6; }
34450 CPPFLAGS_PASCAL="-qmacpstr"
34451 else
34452 { echo "$as_me:$LINENO: result: none" >&5
34453 echo "${ECHO_T}none" >&6; }
34454 fi
34455
34456 if test "x$wxUSE_UNIX" = "xyes"; then
34457 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34458 else
34459 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34460 fi
34461
34462 TOOLKIT=OSX_CARBON
34463 GUIDIST=OSX_CARBON_DIST
34464 WXBASEPORT="_carbon"
34465
34466 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34467 fi
34468
34469 if test "$wxUSE_OSX_COCOA" = 1; then
34470 TOOLKIT=OSX_COCOA
34471 GUIDIST=OSX_COCOA_DIST
34472
34473 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34474 fi
34475
34476 if test "$wxUSE_OSX_IPHONE" = 1; then
34477 TOOLKIT=OSX_IPHONE
34478 fi
34479
34480 if test "$wxUSE_OLD_COCOA" = 1; then
34481 TOOLKIT=COCOA
34482 GUIDIST=COCOA_DIST
34483 fi
34484
34485 if test "$wxUSE_PM" = 1; then
34486 TOOLKIT=PM
34487 GUIDIST=PM_DIST
34488 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34489 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34490 if test "${wx_cv_spbcdata+set}" = set; then
34491 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 else
34493
34494 cat >conftest.$ac_ext <<_ACEOF
34495 /* confdefs.h. */
34496 _ACEOF
34497 cat confdefs.h >>conftest.$ac_ext
34498 cat >>conftest.$ac_ext <<_ACEOF
34499 /* end confdefs.h. */
34500
34501 #define INCL_PM
34502 #include <os2.h>
34503
34504 int
34505 main ()
34506 {
34507
34508 SPBCDATA test;
34509
34510 ;
34511 return 0;
34512 }
34513 _ACEOF
34514 rm -f conftest.$ac_objext
34515 if { (ac_try="$ac_compile"
34516 case "(($ac_try" in
34517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34518 *) ac_try_echo=$ac_try;;
34519 esac
34520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34521 (eval "$ac_compile") 2>conftest.er1
34522 ac_status=$?
34523 grep -v '^ *+' conftest.er1 >conftest.err
34524 rm -f conftest.er1
34525 cat conftest.err >&5
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); } && {
34528 test -z "$ac_c_werror_flag" ||
34529 test ! -s conftest.err
34530 } && test -s conftest.$ac_objext; then
34531 wx_cv_spbcdata=yes
34532 else
34533 echo "$as_me: failed program was:" >&5
34534 sed 's/^/| /' conftest.$ac_ext >&5
34535
34536 wx_cv_spbcdata=no
34537
34538 fi
34539
34540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34541
34542
34543 fi
34544 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34545 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34546
34547 if test $wx_cv_spbcdata = "yes"; then
34548 cat >>confdefs.h <<\_ACEOF
34549 #define HAVE_SPBCDATA 1
34550 _ACEOF
34551
34552 fi
34553 fi
34554
34555 if test "$TOOLKIT" = "PM" ; then
34556 TOOLKIT_DIR="os2"
34557 else
34558 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34559 fi
34560
34561 if test "$wxUSE_UNIVERSAL" = "yes"; then
34562 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34563 WIDGET_SET=univ
34564 fi
34565
34566 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34567 DISTDIR="wx\$(TOOLKIT)"
34568 else
34569 USE_GUI=0
34570
34571 TOOLKIT_DIR="base"
34572
34573 if test "$USE_WIN32" = 1 ; then
34574 TOOLKIT="MSW"
34575 fi
34576
34577 GUIDIST="BASE_DIST"
34578 DISTDIR="wxBase"
34579 fi
34580
34581
34582
34583 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34584 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34585 wxUSE_UNICODE_UTF8=yes
34586 elif test "$USE_OS2" = 1 ; then
34587 wxUSE_UNICODE_UTF8=yes
34588 else
34589 wxUSE_UNICODE_UTF8=no
34590 fi
34591 fi
34592
34593
34594 if test "$wxUSE_GUI" = "yes"; then
34595 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34596
34597 for ac_header in X11/Xlib.h
34598 do
34599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34600 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34603 echo $ECHO_N "(cached) $ECHO_C" >&6
34604 else
34605 cat >conftest.$ac_ext <<_ACEOF
34606 /* confdefs.h. */
34607 _ACEOF
34608 cat confdefs.h >>conftest.$ac_ext
34609 cat >>conftest.$ac_ext <<_ACEOF
34610 /* end confdefs.h. */
34611
34612
34613 #include <$ac_header>
34614 _ACEOF
34615 rm -f conftest.$ac_objext
34616 if { (ac_try="$ac_compile"
34617 case "(($ac_try" in
34618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34619 *) ac_try_echo=$ac_try;;
34620 esac
34621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34622 (eval "$ac_compile") 2>conftest.er1
34623 ac_status=$?
34624 grep -v '^ *+' conftest.er1 >conftest.err
34625 rm -f conftest.er1
34626 cat conftest.err >&5
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); } && {
34629 test -z "$ac_c_werror_flag" ||
34630 test ! -s conftest.err
34631 } && test -s conftest.$ac_objext; then
34632 eval "$as_ac_Header=yes"
34633 else
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.$ac_ext >&5
34636
34637 eval "$as_ac_Header=no"
34638 fi
34639
34640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34641 fi
34642 ac_res=`eval echo '${'$as_ac_Header'}'`
34643 { echo "$as_me:$LINENO: result: $ac_res" >&5
34644 echo "${ECHO_T}$ac_res" >&6; }
34645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34646 cat >>confdefs.h <<_ACEOF
34647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34648 _ACEOF
34649
34650 fi
34651
34652 done
34653
34654
34655 for ac_header in X11/XKBlib.h
34656 do
34657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34661 echo $ECHO_N "(cached) $ECHO_C" >&6
34662 else
34663 cat >conftest.$ac_ext <<_ACEOF
34664 /* confdefs.h. */
34665 _ACEOF
34666 cat confdefs.h >>conftest.$ac_ext
34667 cat >>conftest.$ac_ext <<_ACEOF
34668 /* end confdefs.h. */
34669
34670 #if HAVE_X11_XLIB_H
34671 #include <X11/Xlib.h>
34672 #endif
34673
34674
34675 #include <$ac_header>
34676 _ACEOF
34677 rm -f conftest.$ac_objext
34678 if { (ac_try="$ac_compile"
34679 case "(($ac_try" in
34680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34681 *) ac_try_echo=$ac_try;;
34682 esac
34683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34684 (eval "$ac_compile") 2>conftest.er1
34685 ac_status=$?
34686 grep -v '^ *+' conftest.er1 >conftest.err
34687 rm -f conftest.er1
34688 cat conftest.err >&5
34689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34690 (exit $ac_status); } && {
34691 test -z "$ac_c_werror_flag" ||
34692 test ! -s conftest.err
34693 } && test -s conftest.$ac_objext; then
34694 eval "$as_ac_Header=yes"
34695 else
34696 echo "$as_me: failed program was:" >&5
34697 sed 's/^/| /' conftest.$ac_ext >&5
34698
34699 eval "$as_ac_Header=no"
34700 fi
34701
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34703 fi
34704 ac_res=`eval echo '${'$as_ac_Header'}'`
34705 { echo "$as_me:$LINENO: result: $ac_res" >&5
34706 echo "${ECHO_T}$ac_res" >&6; }
34707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34708 cat >>confdefs.h <<_ACEOF
34709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34710 _ACEOF
34711
34712 fi
34713
34714 done
34715
34716 fi
34717 fi
34718
34719
34720
34721 USE_XINERAMA=0
34722 if test "$wxUSE_DISPLAY" = "yes"; then
34723 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34724
34725 ac_find_libraries=
34726
34727 fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
34728
34729
34730 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34731 if test -n "$ac_tool_prefix"; then
34732 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34733 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34736 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34737 echo $ECHO_N "(cached) $ECHO_C" >&6
34738 else
34739 case $PKG_CONFIG in
34740 [\\/]* | ?:[\\/]*)
34741 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34742 ;;
34743 *)
34744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34745 for as_dir in $PATH
34746 do
34747 IFS=$as_save_IFS
34748 test -z "$as_dir" && as_dir=.
34749 for ac_exec_ext in '' $ac_executable_extensions; do
34750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34751 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34753 break 2
34754 fi
34755 done
34756 done
34757 IFS=$as_save_IFS
34758
34759 ;;
34760 esac
34761 fi
34762 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34763 if test -n "$PKG_CONFIG"; then
34764 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34765 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34766 else
34767 { echo "$as_me:$LINENO: result: no" >&5
34768 echo "${ECHO_T}no" >&6; }
34769 fi
34770
34771
34772 fi
34773 if test -z "$ac_cv_path_PKG_CONFIG"; then
34774 ac_pt_PKG_CONFIG=$PKG_CONFIG
34775 # Extract the first word of "pkg-config", so it can be a program name with args.
34776 set dummy pkg-config; ac_word=$2
34777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34779 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34780 echo $ECHO_N "(cached) $ECHO_C" >&6
34781 else
34782 case $ac_pt_PKG_CONFIG in
34783 [\\/]* | ?:[\\/]*)
34784 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34785 ;;
34786 *)
34787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34788 for as_dir in $PATH
34789 do
34790 IFS=$as_save_IFS
34791 test -z "$as_dir" && as_dir=.
34792 for ac_exec_ext in '' $ac_executable_extensions; do
34793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34794 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34796 break 2
34797 fi
34798 done
34799 done
34800 IFS=$as_save_IFS
34801
34802 ;;
34803 esac
34804 fi
34805 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
34806 if test -n "$ac_pt_PKG_CONFIG"; then
34807 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34808 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34809 else
34810 { echo "$as_me:$LINENO: result: no" >&5
34811 echo "${ECHO_T}no" >&6; }
34812 fi
34813
34814 if test "x$ac_pt_PKG_CONFIG" = x; then
34815 PKG_CONFIG=""
34816 else
34817 case $cross_compiling:$ac_tool_warned in
34818 yes:)
34819 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34820 whose name does not start with the host triplet. If you think this
34821 configuration is useful to you, please write to autoconf@gnu.org." >&5
34822 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34823 whose name does not start with the host triplet. If you think this
34824 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34825 ac_tool_warned=yes ;;
34826 esac
34827 PKG_CONFIG=$ac_pt_PKG_CONFIG
34828 fi
34829 else
34830 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
34831 fi
34832
34833 fi
34834 if test -n "$PKG_CONFIG"; then
34835 _pkg_min_version=0.9.0
34836 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34837 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34838 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34839 { echo "$as_me:$LINENO: result: yes" >&5
34840 echo "${ECHO_T}yes" >&6; }
34841 else
34842 { echo "$as_me:$LINENO: result: no" >&5
34843 echo "${ECHO_T}no" >&6; }
34844 PKG_CONFIG=""
34845 fi
34846
34847 fi 6> /dev/null
34848
34849 pkg_failed=no
34850 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34851 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34852
34853 if test -n "$PKG_CONFIG"; then
34854 if test -n "$Xinerama_CFLAGS"; then
34855 pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
34856 else
34857 if test -n "$PKG_CONFIG" && \
34858 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34859 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34860 ac_status=$?
34861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34862 (exit $ac_status); }; then
34863 pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34864 else
34865 pkg_failed=yes
34866 fi
34867 fi
34868 else
34869 pkg_failed=untried
34870 fi
34871 if test -n "$PKG_CONFIG"; then
34872 if test -n "$Xinerama_LIBS"; then
34873 pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
34874 else
34875 if test -n "$PKG_CONFIG" && \
34876 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34877 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34878 ac_status=$?
34879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34880 (exit $ac_status); }; then
34881 pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34882 else
34883 pkg_failed=yes
34884 fi
34885 fi
34886 else
34887 pkg_failed=untried
34888 fi
34889
34890
34891
34892 if test $pkg_failed = yes; then
34893
34894 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34895 _pkg_short_errors_supported=yes
34896 else
34897 _pkg_short_errors_supported=no
34898 fi
34899 if test $_pkg_short_errors_supported = yes; then
34900 Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34901 else
34902 Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34903 fi
34904 # Put the nasty error message in config.log where it belongs
34905 echo "$Xinerama_PKG_ERRORS" >&5
34906
34907
34908 if test "x$ac_find_libraries" = "x"; then
34909 if test "xXineramaQueryScreens" != "x"; then
34910 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34911 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34912 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34913 echo $ECHO_N "(cached) $ECHO_C" >&6
34914 else
34915 ac_check_lib_save_LIBS=$LIBS
34916 LIBS="-lXinerama $LIBS"
34917 cat >conftest.$ac_ext <<_ACEOF
34918 /* confdefs.h. */
34919 _ACEOF
34920 cat confdefs.h >>conftest.$ac_ext
34921 cat >>conftest.$ac_ext <<_ACEOF
34922 /* end confdefs.h. */
34923
34924 /* Override any GCC internal prototype to avoid an error.
34925 Use char because int might match the return type of a GCC
34926 builtin and then its argument prototype would still apply. */
34927 #ifdef __cplusplus
34928 extern "C"
34929 #endif
34930 char XineramaQueryScreens ();
34931 int
34932 main ()
34933 {
34934 return XineramaQueryScreens ();
34935 ;
34936 return 0;
34937 }
34938 _ACEOF
34939 rm -f conftest.$ac_objext conftest$ac_exeext
34940 if { (ac_try="$ac_link"
34941 case "(($ac_try" in
34942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34943 *) ac_try_echo=$ac_try;;
34944 esac
34945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34946 (eval "$ac_link") 2>conftest.er1
34947 ac_status=$?
34948 grep -v '^ *+' conftest.er1 >conftest.err
34949 rm -f conftest.er1
34950 cat conftest.err >&5
34951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34952 (exit $ac_status); } && {
34953 test -z "$ac_c_werror_flag" ||
34954 test ! -s conftest.err
34955 } && test -s conftest$ac_exeext &&
34956 $as_test_x conftest$ac_exeext; then
34957 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34958 else
34959 echo "$as_me: failed program was:" >&5
34960 sed 's/^/| /' conftest.$ac_ext >&5
34961
34962 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34963 fi
34964
34965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34966 conftest$ac_exeext conftest.$ac_ext
34967 LIBS=$ac_check_lib_save_LIBS
34968 fi
34969 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34970 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34971 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34972 ac_find_libraries="std"
34973 fi
34974
34975 fi
34976 fi
34977
34978 if test "x$ac_find_libraries" = "x"; then
34979 { echo "$as_me:$LINENO: checking elsewhere" >&5
34980 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34981
34982 ac_find_libraries=
34983 for ac_dir in $SEARCH_LIB
34984 do
34985 for ac_extension in a so sl dylib dll.a; do
34986 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34987 ac_find_libraries=$ac_dir
34988 break 2
34989 fi
34990 done
34991 done
34992
34993 if test "x$ac_find_libraries" != "x"; then
34994 { echo "$as_me:$LINENO: result: yes" >&5
34995 echo "${ECHO_T}yes" >&6; }
34996 else
34997 { echo "$as_me:$LINENO: result: no" >&5
34998 echo "${ECHO_T}no" >&6; }
34999 fi
35000 fi
35001
35002 elif test $pkg_failed = untried; then
35003
35004 if test "x$ac_find_libraries" = "x"; then
35005 if test "xXineramaQueryScreens" != "x"; then
35006 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
35007 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
35008 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
35009 echo $ECHO_N "(cached) $ECHO_C" >&6
35010 else
35011 ac_check_lib_save_LIBS=$LIBS
35012 LIBS="-lXinerama $LIBS"
35013 cat >conftest.$ac_ext <<_ACEOF
35014 /* confdefs.h. */
35015 _ACEOF
35016 cat confdefs.h >>conftest.$ac_ext
35017 cat >>conftest.$ac_ext <<_ACEOF
35018 /* end confdefs.h. */
35019
35020 /* Override any GCC internal prototype to avoid an error.
35021 Use char because int might match the return type of a GCC
35022 builtin and then its argument prototype would still apply. */
35023 #ifdef __cplusplus
35024 extern "C"
35025 #endif
35026 char XineramaQueryScreens ();
35027 int
35028 main ()
35029 {
35030 return XineramaQueryScreens ();
35031 ;
35032 return 0;
35033 }
35034 _ACEOF
35035 rm -f conftest.$ac_objext conftest$ac_exeext
35036 if { (ac_try="$ac_link"
35037 case "(($ac_try" in
35038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35039 *) ac_try_echo=$ac_try;;
35040 esac
35041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35042 (eval "$ac_link") 2>conftest.er1
35043 ac_status=$?
35044 grep -v '^ *+' conftest.er1 >conftest.err
35045 rm -f conftest.er1
35046 cat conftest.err >&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); } && {
35049 test -z "$ac_c_werror_flag" ||
35050 test ! -s conftest.err
35051 } && test -s conftest$ac_exeext &&
35052 $as_test_x conftest$ac_exeext; then
35053 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
35054 else
35055 echo "$as_me: failed program was:" >&5
35056 sed 's/^/| /' conftest.$ac_ext >&5
35057
35058 ac_cv_lib_Xinerama_XineramaQueryScreens=no
35059 fi
35060
35061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35062 conftest$ac_exeext conftest.$ac_ext
35063 LIBS=$ac_check_lib_save_LIBS
35064 fi
35065 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
35066 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
35067 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
35068 ac_find_libraries="std"
35069 fi
35070
35071 fi
35072 fi
35073
35074 if test "x$ac_find_libraries" = "x"; then
35075 { echo "$as_me:$LINENO: checking elsewhere" >&5
35076 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35077
35078 ac_find_libraries=
35079 for ac_dir in $SEARCH_LIB
35080 do
35081 for ac_extension in a so sl dylib dll.a; do
35082 if test -f "$ac_dir/libXinerama.$ac_extension"; then
35083 ac_find_libraries=$ac_dir
35084 break 2
35085 fi
35086 done
35087 done
35088
35089 if test "x$ac_find_libraries" != "x"; then
35090 { echo "$as_me:$LINENO: result: yes" >&5
35091 echo "${ECHO_T}yes" >&6; }
35092 else
35093 { echo "$as_me:$LINENO: result: no" >&5
35094 echo "${ECHO_T}no" >&6; }
35095 fi
35096 fi
35097
35098 else
35099 Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
35100 Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
35101 { echo "$as_me:$LINENO: result: yes" >&5
35102 echo "${ECHO_T}yes" >&6; }
35103
35104 ac_find_libraries="std"
35105
35106 eval ac_find_cflags=\$Xinerama_CFLAGS
35107 eval fl_libs=\$Xinerama_LIBS
35108
35109 for fl_path in $fl_libs
35110 do
35111 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35112 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35113 fi
35114 done
35115
35116 fi
35117
35118 if test "$ac_find_libraries" != "" ; then
35119 if test "$ac_find_libraries" != "std" ; then
35120
35121 if test "$ac_find_libraries" = "default location"; then
35122 ac_path_to_link=""
35123 else
35124 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35125 result=$?
35126 if test $result = 0; then
35127 ac_path_to_link=""
35128 else
35129 ac_path_to_link=" -L$ac_find_libraries"
35130 fi
35131 fi
35132
35133 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35134 LDFLAGS="$LDFLAGS $ac_path_to_link"
35135 fi
35136 fi
35137 USE_XINERAMA=1
35138 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
35139 else
35140 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
35141 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
35142 wxUSE_DISPLAY="no"
35143 fi
35144 elif test "$wxUSE_MSW" = 1; then
35145 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
35146 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
35147 if test "${ac_cv_header_ddraw_h+set}" = set; then
35148 echo $ECHO_N "(cached) $ECHO_C" >&6
35149 else
35150 cat >conftest.$ac_ext <<_ACEOF
35151 /* confdefs.h. */
35152 _ACEOF
35153 cat confdefs.h >>conftest.$ac_ext
35154 cat >>conftest.$ac_ext <<_ACEOF
35155 /* end confdefs.h. */
35156 #include <windows.h>
35157
35158 #include <ddraw.h>
35159 _ACEOF
35160 rm -f conftest.$ac_objext
35161 if { (ac_try="$ac_compile"
35162 case "(($ac_try" in
35163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35164 *) ac_try_echo=$ac_try;;
35165 esac
35166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35167 (eval "$ac_compile") 2>conftest.er1
35168 ac_status=$?
35169 grep -v '^ *+' conftest.er1 >conftest.err
35170 rm -f conftest.er1
35171 cat conftest.err >&5
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); } && {
35174 test -z "$ac_c_werror_flag" ||
35175 test ! -s conftest.err
35176 } && test -s conftest.$ac_objext; then
35177 ac_cv_header_ddraw_h=yes
35178 else
35179 echo "$as_me: failed program was:" >&5
35180 sed 's/^/| /' conftest.$ac_ext >&5
35181
35182 ac_cv_header_ddraw_h=no
35183 fi
35184
35185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35186 fi
35187 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
35188 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
35189
35190
35191 fi
35192 fi
35193
35194 if test "$wxUSE_DISPLAY" = "yes"; then
35195 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
35196
35197 ac_find_libraries=
35198
35199 fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
35200
35201
35202 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35203 if test -n "$ac_tool_prefix"; then
35204 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35205 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35208 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35209 echo $ECHO_N "(cached) $ECHO_C" >&6
35210 else
35211 case $PKG_CONFIG in
35212 [\\/]* | ?:[\\/]*)
35213 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35214 ;;
35215 *)
35216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35217 for as_dir in $PATH
35218 do
35219 IFS=$as_save_IFS
35220 test -z "$as_dir" && as_dir=.
35221 for ac_exec_ext in '' $ac_executable_extensions; do
35222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35223 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35225 break 2
35226 fi
35227 done
35228 done
35229 IFS=$as_save_IFS
35230
35231 ;;
35232 esac
35233 fi
35234 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35235 if test -n "$PKG_CONFIG"; then
35236 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35237 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35238 else
35239 { echo "$as_me:$LINENO: result: no" >&5
35240 echo "${ECHO_T}no" >&6; }
35241 fi
35242
35243
35244 fi
35245 if test -z "$ac_cv_path_PKG_CONFIG"; then
35246 ac_pt_PKG_CONFIG=$PKG_CONFIG
35247 # Extract the first word of "pkg-config", so it can be a program name with args.
35248 set dummy pkg-config; ac_word=$2
35249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35251 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35252 echo $ECHO_N "(cached) $ECHO_C" >&6
35253 else
35254 case $ac_pt_PKG_CONFIG in
35255 [\\/]* | ?:[\\/]*)
35256 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35257 ;;
35258 *)
35259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35260 for as_dir in $PATH
35261 do
35262 IFS=$as_save_IFS
35263 test -z "$as_dir" && as_dir=.
35264 for ac_exec_ext in '' $ac_executable_extensions; do
35265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35266 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35268 break 2
35269 fi
35270 done
35271 done
35272 IFS=$as_save_IFS
35273
35274 ;;
35275 esac
35276 fi
35277 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35278 if test -n "$ac_pt_PKG_CONFIG"; then
35279 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35280 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35281 else
35282 { echo "$as_me:$LINENO: result: no" >&5
35283 echo "${ECHO_T}no" >&6; }
35284 fi
35285
35286 if test "x$ac_pt_PKG_CONFIG" = x; then
35287 PKG_CONFIG=""
35288 else
35289 case $cross_compiling:$ac_tool_warned in
35290 yes:)
35291 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35292 whose name does not start with the host triplet. If you think this
35293 configuration is useful to you, please write to autoconf@gnu.org." >&5
35294 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35295 whose name does not start with the host triplet. If you think this
35296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35297 ac_tool_warned=yes ;;
35298 esac
35299 PKG_CONFIG=$ac_pt_PKG_CONFIG
35300 fi
35301 else
35302 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35303 fi
35304
35305 fi
35306 if test -n "$PKG_CONFIG"; then
35307 _pkg_min_version=0.9.0
35308 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35309 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35310 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35311 { echo "$as_me:$LINENO: result: yes" >&5
35312 echo "${ECHO_T}yes" >&6; }
35313 else
35314 { echo "$as_me:$LINENO: result: no" >&5
35315 echo "${ECHO_T}no" >&6; }
35316 PKG_CONFIG=""
35317 fi
35318
35319 fi 6> /dev/null
35320
35321 pkg_failed=no
35322 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35323 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35324
35325 if test -n "$PKG_CONFIG"; then
35326 if test -n "$Xxf86vm_CFLAGS"; then
35327 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35328 else
35329 if test -n "$PKG_CONFIG" && \
35330 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35331 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35332 ac_status=$?
35333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35334 (exit $ac_status); }; then
35335 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35336 else
35337 pkg_failed=yes
35338 fi
35339 fi
35340 else
35341 pkg_failed=untried
35342 fi
35343 if test -n "$PKG_CONFIG"; then
35344 if test -n "$Xxf86vm_LIBS"; then
35345 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35346 else
35347 if test -n "$PKG_CONFIG" && \
35348 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35349 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35350 ac_status=$?
35351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35352 (exit $ac_status); }; then
35353 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35354 else
35355 pkg_failed=yes
35356 fi
35357 fi
35358 else
35359 pkg_failed=untried
35360 fi
35361
35362
35363
35364 if test $pkg_failed = yes; then
35365
35366 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35367 _pkg_short_errors_supported=yes
35368 else
35369 _pkg_short_errors_supported=no
35370 fi
35371 if test $_pkg_short_errors_supported = yes; then
35372 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35373 else
35374 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35375 fi
35376 # Put the nasty error message in config.log where it belongs
35377 echo "$Xxf86vm_PKG_ERRORS" >&5
35378
35379
35380 if test "x$ac_find_libraries" = "x"; then
35381 if test "xXF86VidModeQueryExtension" != "x"; then
35382 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35383 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35384 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35385 echo $ECHO_N "(cached) $ECHO_C" >&6
35386 else
35387 ac_check_lib_save_LIBS=$LIBS
35388 LIBS="-lXxf86vm $LIBS"
35389 cat >conftest.$ac_ext <<_ACEOF
35390 /* confdefs.h. */
35391 _ACEOF
35392 cat confdefs.h >>conftest.$ac_ext
35393 cat >>conftest.$ac_ext <<_ACEOF
35394 /* end confdefs.h. */
35395
35396 /* Override any GCC internal prototype to avoid an error.
35397 Use char because int might match the return type of a GCC
35398 builtin and then its argument prototype would still apply. */
35399 #ifdef __cplusplus
35400 extern "C"
35401 #endif
35402 char XF86VidModeQueryExtension ();
35403 int
35404 main ()
35405 {
35406 return XF86VidModeQueryExtension ();
35407 ;
35408 return 0;
35409 }
35410 _ACEOF
35411 rm -f conftest.$ac_objext conftest$ac_exeext
35412 if { (ac_try="$ac_link"
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_link") 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_c_werror_flag" ||
35426 test ! -s conftest.err
35427 } && test -s conftest$ac_exeext &&
35428 $as_test_x conftest$ac_exeext; then
35429 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35430 else
35431 echo "$as_me: failed program was:" >&5
35432 sed 's/^/| /' conftest.$ac_ext >&5
35433
35434 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35435 fi
35436
35437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35438 conftest$ac_exeext conftest.$ac_ext
35439 LIBS=$ac_check_lib_save_LIBS
35440 fi
35441 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35442 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35443 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35444 ac_find_libraries="std"
35445 fi
35446
35447 fi
35448 fi
35449
35450 if test "x$ac_find_libraries" = "x"; then
35451 { echo "$as_me:$LINENO: checking elsewhere" >&5
35452 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35453
35454 ac_find_libraries=
35455 for ac_dir in $SEARCH_LIB
35456 do
35457 for ac_extension in a so sl dylib dll.a; do
35458 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35459 ac_find_libraries=$ac_dir
35460 break 2
35461 fi
35462 done
35463 done
35464
35465 if test "x$ac_find_libraries" != "x"; then
35466 { echo "$as_me:$LINENO: result: yes" >&5
35467 echo "${ECHO_T}yes" >&6; }
35468 else
35469 { echo "$as_me:$LINENO: result: no" >&5
35470 echo "${ECHO_T}no" >&6; }
35471 fi
35472 fi
35473
35474 elif test $pkg_failed = untried; then
35475
35476 if test "x$ac_find_libraries" = "x"; then
35477 if test "xXF86VidModeQueryExtension" != "x"; then
35478 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35479 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35480 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35481 echo $ECHO_N "(cached) $ECHO_C" >&6
35482 else
35483 ac_check_lib_save_LIBS=$LIBS
35484 LIBS="-lXxf86vm $LIBS"
35485 cat >conftest.$ac_ext <<_ACEOF
35486 /* confdefs.h. */
35487 _ACEOF
35488 cat confdefs.h >>conftest.$ac_ext
35489 cat >>conftest.$ac_ext <<_ACEOF
35490 /* end confdefs.h. */
35491
35492 /* Override any GCC internal prototype to avoid an error.
35493 Use char because int might match the return type of a GCC
35494 builtin and then its argument prototype would still apply. */
35495 #ifdef __cplusplus
35496 extern "C"
35497 #endif
35498 char XF86VidModeQueryExtension ();
35499 int
35500 main ()
35501 {
35502 return XF86VidModeQueryExtension ();
35503 ;
35504 return 0;
35505 }
35506 _ACEOF
35507 rm -f conftest.$ac_objext conftest$ac_exeext
35508 if { (ac_try="$ac_link"
35509 case "(($ac_try" in
35510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35511 *) ac_try_echo=$ac_try;;
35512 esac
35513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35514 (eval "$ac_link") 2>conftest.er1
35515 ac_status=$?
35516 grep -v '^ *+' conftest.er1 >conftest.err
35517 rm -f conftest.er1
35518 cat conftest.err >&5
35519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35520 (exit $ac_status); } && {
35521 test -z "$ac_c_werror_flag" ||
35522 test ! -s conftest.err
35523 } && test -s conftest$ac_exeext &&
35524 $as_test_x conftest$ac_exeext; then
35525 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35526 else
35527 echo "$as_me: failed program was:" >&5
35528 sed 's/^/| /' conftest.$ac_ext >&5
35529
35530 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35531 fi
35532
35533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35534 conftest$ac_exeext conftest.$ac_ext
35535 LIBS=$ac_check_lib_save_LIBS
35536 fi
35537 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35538 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35539 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35540 ac_find_libraries="std"
35541 fi
35542
35543 fi
35544 fi
35545
35546 if test "x$ac_find_libraries" = "x"; then
35547 { echo "$as_me:$LINENO: checking elsewhere" >&5
35548 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35549
35550 ac_find_libraries=
35551 for ac_dir in $SEARCH_LIB
35552 do
35553 for ac_extension in a so sl dylib dll.a; do
35554 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35555 ac_find_libraries=$ac_dir
35556 break 2
35557 fi
35558 done
35559 done
35560
35561 if test "x$ac_find_libraries" != "x"; then
35562 { echo "$as_me:$LINENO: result: yes" >&5
35563 echo "${ECHO_T}yes" >&6; }
35564 else
35565 { echo "$as_me:$LINENO: result: no" >&5
35566 echo "${ECHO_T}no" >&6; }
35567 fi
35568 fi
35569
35570 else
35571 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35572 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35573 { echo "$as_me:$LINENO: result: yes" >&5
35574 echo "${ECHO_T}yes" >&6; }
35575
35576 ac_find_libraries="std"
35577
35578 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35579 eval fl_libs=\$Xxf86vm_LIBS
35580
35581 for fl_path in $fl_libs
35582 do
35583 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35584 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
35585 fi
35586 done
35587
35588 fi
35589
35590 if test "$ac_find_libraries" != "" ; then
35591
35592 for ac_header in X11/extensions/xf86vmode.h
35593 do
35594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35595 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35597 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35598 echo $ECHO_N "(cached) $ECHO_C" >&6
35599 else
35600 cat >conftest.$ac_ext <<_ACEOF
35601 /* confdefs.h. */
35602 _ACEOF
35603 cat confdefs.h >>conftest.$ac_ext
35604 cat >>conftest.$ac_ext <<_ACEOF
35605 /* end confdefs.h. */
35606
35607 #if HAVE_X11_XLIB_H
35608 #include <X11/Xlib.h>
35609 #endif
35610
35611
35612 #include <$ac_header>
35613 _ACEOF
35614 rm -f conftest.$ac_objext
35615 if { (ac_try="$ac_compile"
35616 case "(($ac_try" in
35617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35618 *) ac_try_echo=$ac_try;;
35619 esac
35620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35621 (eval "$ac_compile") 2>conftest.er1
35622 ac_status=$?
35623 grep -v '^ *+' conftest.er1 >conftest.err
35624 rm -f conftest.er1
35625 cat conftest.err >&5
35626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35627 (exit $ac_status); } && {
35628 test -z "$ac_c_werror_flag" ||
35629 test ! -s conftest.err
35630 } && test -s conftest.$ac_objext; then
35631 eval "$as_ac_Header=yes"
35632 else
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.$ac_ext >&5
35635
35636 eval "$as_ac_Header=no"
35637 fi
35638
35639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35640 fi
35641 ac_res=`eval echo '${'$as_ac_Header'}'`
35642 { echo "$as_me:$LINENO: result: $ac_res" >&5
35643 echo "${ECHO_T}$ac_res" >&6; }
35644 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35645 cat >>confdefs.h <<_ACEOF
35646 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35647 _ACEOF
35648
35649 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
35650
35651 fi
35652
35653 done
35654
35655 fi
35656 fi
35657 fi
35658
35659 if test "$wxUSE_DETECT_SM" = "yes"; then
35660 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35661
35662 ac_find_libraries=
35663
35664 fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
35665
35666
35667 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35668 if test -n "$ac_tool_prefix"; then
35669 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35670 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
35671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35673 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35674 echo $ECHO_N "(cached) $ECHO_C" >&6
35675 else
35676 case $PKG_CONFIG in
35677 [\\/]* | ?:[\\/]*)
35678 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
35679 ;;
35680 *)
35681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35682 for as_dir in $PATH
35683 do
35684 IFS=$as_save_IFS
35685 test -z "$as_dir" && as_dir=.
35686 for ac_exec_ext in '' $ac_executable_extensions; do
35687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35688 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35690 break 2
35691 fi
35692 done
35693 done
35694 IFS=$as_save_IFS
35695
35696 ;;
35697 esac
35698 fi
35699 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35700 if test -n "$PKG_CONFIG"; then
35701 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35702 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35703 else
35704 { echo "$as_me:$LINENO: result: no" >&5
35705 echo "${ECHO_T}no" >&6; }
35706 fi
35707
35708
35709 fi
35710 if test -z "$ac_cv_path_PKG_CONFIG"; then
35711 ac_pt_PKG_CONFIG=$PKG_CONFIG
35712 # Extract the first word of "pkg-config", so it can be a program name with args.
35713 set dummy pkg-config; ac_word=$2
35714 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35715 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35716 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35717 echo $ECHO_N "(cached) $ECHO_C" >&6
35718 else
35719 case $ac_pt_PKG_CONFIG in
35720 [\\/]* | ?:[\\/]*)
35721 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35722 ;;
35723 *)
35724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35725 for as_dir in $PATH
35726 do
35727 IFS=$as_save_IFS
35728 test -z "$as_dir" && as_dir=.
35729 for ac_exec_ext in '' $ac_executable_extensions; do
35730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35731 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35733 break 2
35734 fi
35735 done
35736 done
35737 IFS=$as_save_IFS
35738
35739 ;;
35740 esac
35741 fi
35742 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35743 if test -n "$ac_pt_PKG_CONFIG"; then
35744 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35745 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35746 else
35747 { echo "$as_me:$LINENO: result: no" >&5
35748 echo "${ECHO_T}no" >&6; }
35749 fi
35750
35751 if test "x$ac_pt_PKG_CONFIG" = x; then
35752 PKG_CONFIG=""
35753 else
35754 case $cross_compiling:$ac_tool_warned in
35755 yes:)
35756 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35757 whose name does not start with the host triplet. If you think this
35758 configuration is useful to you, please write to autoconf@gnu.org." >&5
35759 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35760 whose name does not start with the host triplet. If you think this
35761 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35762 ac_tool_warned=yes ;;
35763 esac
35764 PKG_CONFIG=$ac_pt_PKG_CONFIG
35765 fi
35766 else
35767 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35768 fi
35769
35770 fi
35771 if test -n "$PKG_CONFIG"; then
35772 _pkg_min_version=0.9.0
35773 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35774 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35775 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35776 { echo "$as_me:$LINENO: result: yes" >&5
35777 echo "${ECHO_T}yes" >&6; }
35778 else
35779 { echo "$as_me:$LINENO: result: no" >&5
35780 echo "${ECHO_T}no" >&6; }
35781 PKG_CONFIG=""
35782 fi
35783
35784 fi 6> /dev/null
35785
35786 pkg_failed=no
35787 { echo "$as_me:$LINENO: checking for SM" >&5
35788 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35789
35790 if test -n "$PKG_CONFIG"; then
35791 if test -n "$SM_CFLAGS"; then
35792 pkg_cv_SM_CFLAGS="$SM_CFLAGS"
35793 else
35794 if test -n "$PKG_CONFIG" && \
35795 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35796 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); }; then
35800 pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35801 else
35802 pkg_failed=yes
35803 fi
35804 fi
35805 else
35806 pkg_failed=untried
35807 fi
35808 if test -n "$PKG_CONFIG"; then
35809 if test -n "$SM_LIBS"; then
35810 pkg_cv_SM_LIBS="$SM_LIBS"
35811 else
35812 if test -n "$PKG_CONFIG" && \
35813 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35814 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35815 ac_status=$?
35816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35817 (exit $ac_status); }; then
35818 pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35819 else
35820 pkg_failed=yes
35821 fi
35822 fi
35823 else
35824 pkg_failed=untried
35825 fi
35826
35827
35828
35829 if test $pkg_failed = yes; then
35830
35831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35832 _pkg_short_errors_supported=yes
35833 else
35834 _pkg_short_errors_supported=no
35835 fi
35836 if test $_pkg_short_errors_supported = yes; then
35837 SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35838 else
35839 SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35840 fi
35841 # Put the nasty error message in config.log where it belongs
35842 echo "$SM_PKG_ERRORS" >&5
35843
35844
35845 if test "x$ac_find_libraries" = "x"; then
35846 if test "xSmcOpenConnection" != "x"; then
35847 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35848 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35849 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35850 echo $ECHO_N "(cached) $ECHO_C" >&6
35851 else
35852 ac_check_lib_save_LIBS=$LIBS
35853 LIBS="-lSM $LIBS"
35854 cat >conftest.$ac_ext <<_ACEOF
35855 /* confdefs.h. */
35856 _ACEOF
35857 cat confdefs.h >>conftest.$ac_ext
35858 cat >>conftest.$ac_ext <<_ACEOF
35859 /* end confdefs.h. */
35860
35861 /* Override any GCC internal prototype to avoid an error.
35862 Use char because int might match the return type of a GCC
35863 builtin and then its argument prototype would still apply. */
35864 #ifdef __cplusplus
35865 extern "C"
35866 #endif
35867 char SmcOpenConnection ();
35868 int
35869 main ()
35870 {
35871 return SmcOpenConnection ();
35872 ;
35873 return 0;
35874 }
35875 _ACEOF
35876 rm -f conftest.$ac_objext conftest$ac_exeext
35877 if { (ac_try="$ac_link"
35878 case "(($ac_try" in
35879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35880 *) ac_try_echo=$ac_try;;
35881 esac
35882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35883 (eval "$ac_link") 2>conftest.er1
35884 ac_status=$?
35885 grep -v '^ *+' conftest.er1 >conftest.err
35886 rm -f conftest.er1
35887 cat conftest.err >&5
35888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35889 (exit $ac_status); } && {
35890 test -z "$ac_c_werror_flag" ||
35891 test ! -s conftest.err
35892 } && test -s conftest$ac_exeext &&
35893 $as_test_x conftest$ac_exeext; then
35894 ac_cv_lib_SM_SmcOpenConnection=yes
35895 else
35896 echo "$as_me: failed program was:" >&5
35897 sed 's/^/| /' conftest.$ac_ext >&5
35898
35899 ac_cv_lib_SM_SmcOpenConnection=no
35900 fi
35901
35902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35903 conftest$ac_exeext conftest.$ac_ext
35904 LIBS=$ac_check_lib_save_LIBS
35905 fi
35906 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35907 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35908 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35909 ac_find_libraries="std"
35910 fi
35911
35912 fi
35913 fi
35914
35915 if test "x$ac_find_libraries" = "x"; then
35916 { echo "$as_me:$LINENO: checking elsewhere" >&5
35917 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35918
35919 ac_find_libraries=
35920 for ac_dir in $SEARCH_LIB
35921 do
35922 for ac_extension in a so sl dylib dll.a; do
35923 if test -f "$ac_dir/libSM.$ac_extension"; then
35924 ac_find_libraries=$ac_dir
35925 break 2
35926 fi
35927 done
35928 done
35929
35930 if test "x$ac_find_libraries" != "x"; then
35931 { echo "$as_me:$LINENO: result: yes" >&5
35932 echo "${ECHO_T}yes" >&6; }
35933 else
35934 { echo "$as_me:$LINENO: result: no" >&5
35935 echo "${ECHO_T}no" >&6; }
35936 fi
35937 fi
35938
35939 elif test $pkg_failed = untried; then
35940
35941 if test "x$ac_find_libraries" = "x"; then
35942 if test "xSmcOpenConnection" != "x"; then
35943 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35944 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35945 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35946 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 else
35948 ac_check_lib_save_LIBS=$LIBS
35949 LIBS="-lSM $LIBS"
35950 cat >conftest.$ac_ext <<_ACEOF
35951 /* confdefs.h. */
35952 _ACEOF
35953 cat confdefs.h >>conftest.$ac_ext
35954 cat >>conftest.$ac_ext <<_ACEOF
35955 /* end confdefs.h. */
35956
35957 /* Override any GCC internal prototype to avoid an error.
35958 Use char because int might match the return type of a GCC
35959 builtin and then its argument prototype would still apply. */
35960 #ifdef __cplusplus
35961 extern "C"
35962 #endif
35963 char SmcOpenConnection ();
35964 int
35965 main ()
35966 {
35967 return SmcOpenConnection ();
35968 ;
35969 return 0;
35970 }
35971 _ACEOF
35972 rm -f conftest.$ac_objext conftest$ac_exeext
35973 if { (ac_try="$ac_link"
35974 case "(($ac_try" in
35975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35976 *) ac_try_echo=$ac_try;;
35977 esac
35978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35979 (eval "$ac_link") 2>conftest.er1
35980 ac_status=$?
35981 grep -v '^ *+' conftest.er1 >conftest.err
35982 rm -f conftest.er1
35983 cat conftest.err >&5
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); } && {
35986 test -z "$ac_c_werror_flag" ||
35987 test ! -s conftest.err
35988 } && test -s conftest$ac_exeext &&
35989 $as_test_x conftest$ac_exeext; then
35990 ac_cv_lib_SM_SmcOpenConnection=yes
35991 else
35992 echo "$as_me: failed program was:" >&5
35993 sed 's/^/| /' conftest.$ac_ext >&5
35994
35995 ac_cv_lib_SM_SmcOpenConnection=no
35996 fi
35997
35998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35999 conftest$ac_exeext conftest.$ac_ext
36000 LIBS=$ac_check_lib_save_LIBS
36001 fi
36002 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
36003 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
36004 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
36005 ac_find_libraries="std"
36006 fi
36007
36008 fi
36009 fi
36010
36011 if test "x$ac_find_libraries" = "x"; then
36012 { echo "$as_me:$LINENO: checking elsewhere" >&5
36013 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36014
36015 ac_find_libraries=
36016 for ac_dir in $SEARCH_LIB
36017 do
36018 for ac_extension in a so sl dylib dll.a; do
36019 if test -f "$ac_dir/libSM.$ac_extension"; then
36020 ac_find_libraries=$ac_dir
36021 break 2
36022 fi
36023 done
36024 done
36025
36026 if test "x$ac_find_libraries" != "x"; then
36027 { echo "$as_me:$LINENO: result: yes" >&5
36028 echo "${ECHO_T}yes" >&6; }
36029 else
36030 { echo "$as_me:$LINENO: result: no" >&5
36031 echo "${ECHO_T}no" >&6; }
36032 fi
36033 fi
36034
36035 else
36036 SM_CFLAGS=$pkg_cv_SM_CFLAGS
36037 SM_LIBS=$pkg_cv_SM_LIBS
36038 { echo "$as_me:$LINENO: result: yes" >&5
36039 echo "${ECHO_T}yes" >&6; }
36040
36041 ac_find_libraries="std"
36042
36043 eval ac_find_cflags=\$SM_CFLAGS
36044 eval fl_libs=\$SM_LIBS
36045
36046 for fl_path in $fl_libs
36047 do
36048 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36049 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36050 fi
36051 done
36052
36053 fi
36054
36055 if test "$ac_find_libraries" != "" ; then
36056 if test "$ac_find_libraries" != "std" ; then
36057
36058 if test "$ac_find_libraries" = "default location"; then
36059 ac_path_to_link=""
36060 else
36061 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36062 result=$?
36063 if test $result = 0; then
36064 ac_path_to_link=""
36065 else
36066 ac_path_to_link=" -L$ac_find_libraries"
36067 fi
36068 fi
36069
36070 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36071 LDFLAGS="$LDFLAGS $ac_path_to_link"
36072 fi
36073 fi
36074 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
36075 else
36076 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
36077 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
36078 wxUSE_DETECT_SM="no"
36079 fi
36080 else
36081 wxUSE_DETECT_SM="no"
36082 fi
36083 fi
36084
36085
36086
36087 USE_OPENGL=0
36088 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
36089
36090
36091 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
36092 OPENGL_LIBS="-framework OpenGL -framework AGL"
36093 elif test "$wxUSE_MSW" = 1; then
36094 OPENGL_LIBS="-lopengl32 -lglu32"
36095 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
36096
36097 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
36098 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
36099
36100 ac_find_includes=
36101 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
36102 do
36103 if test -f "$ac_dir/GL/gl.h"; then
36104 ac_find_includes=$ac_dir
36105 break
36106 fi
36107 done
36108
36109 if test "$ac_find_includes" != "" ; then
36110 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
36111 echo "${ECHO_T}found in $ac_find_includes" >&6; }
36112
36113 if test "x$ac_find_includes" = "x/usr/include"; then
36114 ac_path_to_include=""
36115 else
36116 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
36117 result=$?
36118 if test $result = 0; then
36119 ac_path_to_include=""
36120 else
36121 ac_path_to_include=" -I$ac_find_includes"
36122 fi
36123 fi
36124
36125 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
36126 else
36127 { echo "$as_me:$LINENO: result: not found" >&5
36128 echo "${ECHO_T}not found" >&6; }
36129 fi
36130
36131 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
36132 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
36133 if test "${ac_cv_header_GL_gl_h+set}" = set; then
36134 echo $ECHO_N "(cached) $ECHO_C" >&6
36135 else
36136 cat >conftest.$ac_ext <<_ACEOF
36137 /* confdefs.h. */
36138 _ACEOF
36139 cat confdefs.h >>conftest.$ac_ext
36140 cat >>conftest.$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36142
36143
36144 #include <GL/gl.h>
36145 _ACEOF
36146 rm -f conftest.$ac_objext
36147 if { (ac_try="$ac_compile"
36148 case "(($ac_try" in
36149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36150 *) ac_try_echo=$ac_try;;
36151 esac
36152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36153 (eval "$ac_compile") 2>conftest.er1
36154 ac_status=$?
36155 grep -v '^ *+' conftest.er1 >conftest.err
36156 rm -f conftest.er1
36157 cat conftest.err >&5
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); } && {
36160 test -z "$ac_c_werror_flag" ||
36161 test ! -s conftest.err
36162 } && test -s conftest.$ac_objext; then
36163 ac_cv_header_GL_gl_h=yes
36164 else
36165 echo "$as_me: failed program was:" >&5
36166 sed 's/^/| /' conftest.$ac_ext >&5
36167
36168 ac_cv_header_GL_gl_h=no
36169 fi
36170
36171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36172 fi
36173 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
36174 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
36175 if test $ac_cv_header_GL_gl_h = yes; then
36176
36177 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
36178 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
36179 if test "${ac_cv_header_GL_glu_h+set}" = set; then
36180 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 else
36182 cat >conftest.$ac_ext <<_ACEOF
36183 /* confdefs.h. */
36184 _ACEOF
36185 cat confdefs.h >>conftest.$ac_ext
36186 cat >>conftest.$ac_ext <<_ACEOF
36187 /* end confdefs.h. */
36188
36189
36190 #include <GL/glu.h>
36191 _ACEOF
36192 rm -f conftest.$ac_objext
36193 if { (ac_try="$ac_compile"
36194 case "(($ac_try" in
36195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36196 *) ac_try_echo=$ac_try;;
36197 esac
36198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36199 (eval "$ac_compile") 2>conftest.er1
36200 ac_status=$?
36201 grep -v '^ *+' conftest.er1 >conftest.err
36202 rm -f conftest.er1
36203 cat conftest.err >&5
36204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36205 (exit $ac_status); } && {
36206 test -z "$ac_c_werror_flag" ||
36207 test ! -s conftest.err
36208 } && test -s conftest.$ac_objext; then
36209 ac_cv_header_GL_glu_h=yes
36210 else
36211 echo "$as_me: failed program was:" >&5
36212 sed 's/^/| /' conftest.$ac_ext >&5
36213
36214 ac_cv_header_GL_glu_h=no
36215 fi
36216
36217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36218 fi
36219 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
36220 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
36221 if test $ac_cv_header_GL_glu_h = yes; then
36222
36223 found_gl=0
36224
36225
36226 ac_find_libraries=
36227
36228 fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
36229
36230
36231 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36232 if test -n "$ac_tool_prefix"; then
36233 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36234 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36237 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36238 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 else
36240 case $PKG_CONFIG in
36241 [\\/]* | ?:[\\/]*)
36242 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36243 ;;
36244 *)
36245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36246 for as_dir in $PATH
36247 do
36248 IFS=$as_save_IFS
36249 test -z "$as_dir" && as_dir=.
36250 for ac_exec_ext in '' $ac_executable_extensions; do
36251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36252 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36254 break 2
36255 fi
36256 done
36257 done
36258 IFS=$as_save_IFS
36259
36260 ;;
36261 esac
36262 fi
36263 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36264 if test -n "$PKG_CONFIG"; then
36265 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36266 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36267 else
36268 { echo "$as_me:$LINENO: result: no" >&5
36269 echo "${ECHO_T}no" >&6; }
36270 fi
36271
36272
36273 fi
36274 if test -z "$ac_cv_path_PKG_CONFIG"; then
36275 ac_pt_PKG_CONFIG=$PKG_CONFIG
36276 # Extract the first word of "pkg-config", so it can be a program name with args.
36277 set dummy pkg-config; ac_word=$2
36278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36280 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36281 echo $ECHO_N "(cached) $ECHO_C" >&6
36282 else
36283 case $ac_pt_PKG_CONFIG in
36284 [\\/]* | ?:[\\/]*)
36285 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36286 ;;
36287 *)
36288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36289 for as_dir in $PATH
36290 do
36291 IFS=$as_save_IFS
36292 test -z "$as_dir" && as_dir=.
36293 for ac_exec_ext in '' $ac_executable_extensions; do
36294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36295 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36297 break 2
36298 fi
36299 done
36300 done
36301 IFS=$as_save_IFS
36302
36303 ;;
36304 esac
36305 fi
36306 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36307 if test -n "$ac_pt_PKG_CONFIG"; then
36308 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36309 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36310 else
36311 { echo "$as_me:$LINENO: result: no" >&5
36312 echo "${ECHO_T}no" >&6; }
36313 fi
36314
36315 if test "x$ac_pt_PKG_CONFIG" = x; then
36316 PKG_CONFIG=""
36317 else
36318 case $cross_compiling:$ac_tool_warned in
36319 yes:)
36320 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36321 whose name does not start with the host triplet. If you think this
36322 configuration is useful to you, please write to autoconf@gnu.org." >&5
36323 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36324 whose name does not start with the host triplet. If you think this
36325 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36326 ac_tool_warned=yes ;;
36327 esac
36328 PKG_CONFIG=$ac_pt_PKG_CONFIG
36329 fi
36330 else
36331 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36332 fi
36333
36334 fi
36335 if test -n "$PKG_CONFIG"; then
36336 _pkg_min_version=0.9.0
36337 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36338 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36339 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36340 { echo "$as_me:$LINENO: result: yes" >&5
36341 echo "${ECHO_T}yes" >&6; }
36342 else
36343 { echo "$as_me:$LINENO: result: no" >&5
36344 echo "${ECHO_T}no" >&6; }
36345 PKG_CONFIG=""
36346 fi
36347
36348 fi 6> /dev/null
36349
36350 pkg_failed=no
36351 { echo "$as_me:$LINENO: checking for GL" >&5
36352 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36353
36354 if test -n "$PKG_CONFIG"; then
36355 if test -n "$GL_CFLAGS"; then
36356 pkg_cv_GL_CFLAGS="$GL_CFLAGS"
36357 else
36358 if test -n "$PKG_CONFIG" && \
36359 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36360 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36361 ac_status=$?
36362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36363 (exit $ac_status); }; then
36364 pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36365 else
36366 pkg_failed=yes
36367 fi
36368 fi
36369 else
36370 pkg_failed=untried
36371 fi
36372 if test -n "$PKG_CONFIG"; then
36373 if test -n "$GL_LIBS"; then
36374 pkg_cv_GL_LIBS="$GL_LIBS"
36375 else
36376 if test -n "$PKG_CONFIG" && \
36377 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36378 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36379 ac_status=$?
36380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36381 (exit $ac_status); }; then
36382 pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36383 else
36384 pkg_failed=yes
36385 fi
36386 fi
36387 else
36388 pkg_failed=untried
36389 fi
36390
36391
36392
36393 if test $pkg_failed = yes; then
36394
36395 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36396 _pkg_short_errors_supported=yes
36397 else
36398 _pkg_short_errors_supported=no
36399 fi
36400 if test $_pkg_short_errors_supported = yes; then
36401 GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36402 else
36403 GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36404 fi
36405 # Put the nasty error message in config.log where it belongs
36406 echo "$GL_PKG_ERRORS" >&5
36407
36408
36409 if test "x$ac_find_libraries" = "x"; then
36410 if test "xglBegin" != "x"; then
36411 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36412 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36413 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36414 echo $ECHO_N "(cached) $ECHO_C" >&6
36415 else
36416 ac_check_lib_save_LIBS=$LIBS
36417 LIBS="-lGL $LIBS"
36418 cat >conftest.$ac_ext <<_ACEOF
36419 /* confdefs.h. */
36420 _ACEOF
36421 cat confdefs.h >>conftest.$ac_ext
36422 cat >>conftest.$ac_ext <<_ACEOF
36423 /* end confdefs.h. */
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 glBegin ();
36432 int
36433 main ()
36434 {
36435 return glBegin ();
36436 ;
36437 return 0;
36438 }
36439 _ACEOF
36440 rm -f conftest.$ac_objext conftest$ac_exeext
36441 if { (ac_try="$ac_link"
36442 case "(($ac_try" in
36443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36444 *) ac_try_echo=$ac_try;;
36445 esac
36446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36447 (eval "$ac_link") 2>conftest.er1
36448 ac_status=$?
36449 grep -v '^ *+' conftest.er1 >conftest.err
36450 rm -f conftest.er1
36451 cat conftest.err >&5
36452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36453 (exit $ac_status); } && {
36454 test -z "$ac_c_werror_flag" ||
36455 test ! -s conftest.err
36456 } && test -s conftest$ac_exeext &&
36457 $as_test_x conftest$ac_exeext; then
36458 ac_cv_lib_GL_glBegin=yes
36459 else
36460 echo "$as_me: failed program was:" >&5
36461 sed 's/^/| /' conftest.$ac_ext >&5
36462
36463 ac_cv_lib_GL_glBegin=no
36464 fi
36465
36466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36467 conftest$ac_exeext conftest.$ac_ext
36468 LIBS=$ac_check_lib_save_LIBS
36469 fi
36470 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36471 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36472 if test $ac_cv_lib_GL_glBegin = yes; then
36473 ac_find_libraries="std"
36474 fi
36475
36476 fi
36477 fi
36478
36479 if test "x$ac_find_libraries" = "x"; then
36480 { echo "$as_me:$LINENO: checking elsewhere" >&5
36481 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36482
36483 ac_find_libraries=
36484 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36485 do
36486 for ac_extension in a so sl dylib dll.a; do
36487 if test -f "$ac_dir/libGL.$ac_extension"; then
36488 ac_find_libraries=$ac_dir
36489 break 2
36490 fi
36491 done
36492 done
36493
36494 if test "x$ac_find_libraries" != "x"; then
36495 { echo "$as_me:$LINENO: result: yes" >&5
36496 echo "${ECHO_T}yes" >&6; }
36497 else
36498 { echo "$as_me:$LINENO: result: no" >&5
36499 echo "${ECHO_T}no" >&6; }
36500 fi
36501 fi
36502
36503 elif test $pkg_failed = untried; then
36504
36505 if test "x$ac_find_libraries" = "x"; then
36506 if test "xglBegin" != "x"; then
36507 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36508 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36509 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36510 echo $ECHO_N "(cached) $ECHO_C" >&6
36511 else
36512 ac_check_lib_save_LIBS=$LIBS
36513 LIBS="-lGL $LIBS"
36514 cat >conftest.$ac_ext <<_ACEOF
36515 /* confdefs.h. */
36516 _ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520
36521 /* Override any GCC internal prototype to avoid an error.
36522 Use char because int might match the return type of a GCC
36523 builtin and then its argument prototype would still apply. */
36524 #ifdef __cplusplus
36525 extern "C"
36526 #endif
36527 char glBegin ();
36528 int
36529 main ()
36530 {
36531 return glBegin ();
36532 ;
36533 return 0;
36534 }
36535 _ACEOF
36536 rm -f conftest.$ac_objext conftest$ac_exeext
36537 if { (ac_try="$ac_link"
36538 case "(($ac_try" in
36539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36540 *) ac_try_echo=$ac_try;;
36541 esac
36542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36543 (eval "$ac_link") 2>conftest.er1
36544 ac_status=$?
36545 grep -v '^ *+' conftest.er1 >conftest.err
36546 rm -f conftest.er1
36547 cat conftest.err >&5
36548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36549 (exit $ac_status); } && {
36550 test -z "$ac_c_werror_flag" ||
36551 test ! -s conftest.err
36552 } && test -s conftest$ac_exeext &&
36553 $as_test_x conftest$ac_exeext; then
36554 ac_cv_lib_GL_glBegin=yes
36555 else
36556 echo "$as_me: failed program was:" >&5
36557 sed 's/^/| /' conftest.$ac_ext >&5
36558
36559 ac_cv_lib_GL_glBegin=no
36560 fi
36561
36562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36563 conftest$ac_exeext conftest.$ac_ext
36564 LIBS=$ac_check_lib_save_LIBS
36565 fi
36566 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36567 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36568 if test $ac_cv_lib_GL_glBegin = yes; then
36569 ac_find_libraries="std"
36570 fi
36571
36572 fi
36573 fi
36574
36575 if test "x$ac_find_libraries" = "x"; then
36576 { echo "$as_me:$LINENO: checking elsewhere" >&5
36577 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36578
36579 ac_find_libraries=
36580 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36581 do
36582 for ac_extension in a so sl dylib dll.a; do
36583 if test -f "$ac_dir/libGL.$ac_extension"; then
36584 ac_find_libraries=$ac_dir
36585 break 2
36586 fi
36587 done
36588 done
36589
36590 if test "x$ac_find_libraries" != "x"; then
36591 { echo "$as_me:$LINENO: result: yes" >&5
36592 echo "${ECHO_T}yes" >&6; }
36593 else
36594 { echo "$as_me:$LINENO: result: no" >&5
36595 echo "${ECHO_T}no" >&6; }
36596 fi
36597 fi
36598
36599 else
36600 GL_CFLAGS=$pkg_cv_GL_CFLAGS
36601 GL_LIBS=$pkg_cv_GL_LIBS
36602 { echo "$as_me:$LINENO: result: yes" >&5
36603 echo "${ECHO_T}yes" >&6; }
36604
36605 ac_find_libraries="std"
36606
36607 eval ac_find_cflags=\$GL_CFLAGS
36608 eval fl_libs=\$GL_LIBS
36609
36610 for fl_path in $fl_libs
36611 do
36612 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36613 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
36614 fi
36615 done
36616
36617 fi
36618
36619 if test "$ac_find_libraries" != "" ; then
36620 if test "$ac_find_libraries" != "std" ; then
36621
36622 if test "$ac_find_libraries" = "default location"; then
36623 ac_path_to_link=""
36624 else
36625 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
36626 result=$?
36627 if test $result = 0; then
36628 ac_path_to_link=""
36629 else
36630 ac_path_to_link=" -L$ac_find_libraries"
36631 fi
36632 fi
36633
36634 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36635 LDFLAGS_GL="$ac_path_to_link"
36636 fi
36637 fi
36638
36639
36640 ac_find_libraries=
36641
36642 fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
36643
36644
36645 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36646 if test -n "$ac_tool_prefix"; then
36647 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36648 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
36649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36651 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36652 echo $ECHO_N "(cached) $ECHO_C" >&6
36653 else
36654 case $PKG_CONFIG in
36655 [\\/]* | ?:[\\/]*)
36656 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
36657 ;;
36658 *)
36659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36660 for as_dir in $PATH
36661 do
36662 IFS=$as_save_IFS
36663 test -z "$as_dir" && as_dir=.
36664 for ac_exec_ext in '' $ac_executable_extensions; do
36665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36666 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36668 break 2
36669 fi
36670 done
36671 done
36672 IFS=$as_save_IFS
36673
36674 ;;
36675 esac
36676 fi
36677 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
36678 if test -n "$PKG_CONFIG"; then
36679 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36680 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36681 else
36682 { echo "$as_me:$LINENO: result: no" >&5
36683 echo "${ECHO_T}no" >&6; }
36684 fi
36685
36686
36687 fi
36688 if test -z "$ac_cv_path_PKG_CONFIG"; then
36689 ac_pt_PKG_CONFIG=$PKG_CONFIG
36690 # Extract the first word of "pkg-config", so it can be a program name with args.
36691 set dummy pkg-config; ac_word=$2
36692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36694 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36695 echo $ECHO_N "(cached) $ECHO_C" >&6
36696 else
36697 case $ac_pt_PKG_CONFIG in
36698 [\\/]* | ?:[\\/]*)
36699 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36700 ;;
36701 *)
36702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
36703 for as_dir in $PATH
36704 do
36705 IFS=$as_save_IFS
36706 test -z "$as_dir" && as_dir=.
36707 for ac_exec_ext in '' $ac_executable_extensions; do
36708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36709 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
36710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36711 break 2
36712 fi
36713 done
36714 done
36715 IFS=$as_save_IFS
36716
36717 ;;
36718 esac
36719 fi
36720 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
36721 if test -n "$ac_pt_PKG_CONFIG"; then
36722 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36723 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36724 else
36725 { echo "$as_me:$LINENO: result: no" >&5
36726 echo "${ECHO_T}no" >&6; }
36727 fi
36728
36729 if test "x$ac_pt_PKG_CONFIG" = x; then
36730 PKG_CONFIG=""
36731 else
36732 case $cross_compiling:$ac_tool_warned in
36733 yes:)
36734 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36735 whose name does not start with the host triplet. If you think this
36736 configuration is useful to you, please write to autoconf@gnu.org." >&5
36737 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36738 whose name does not start with the host triplet. If you think this
36739 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36740 ac_tool_warned=yes ;;
36741 esac
36742 PKG_CONFIG=$ac_pt_PKG_CONFIG
36743 fi
36744 else
36745 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
36746 fi
36747
36748 fi
36749 if test -n "$PKG_CONFIG"; then
36750 _pkg_min_version=0.9.0
36751 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36752 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36753 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36754 { echo "$as_me:$LINENO: result: yes" >&5
36755 echo "${ECHO_T}yes" >&6; }
36756 else
36757 { echo "$as_me:$LINENO: result: no" >&5
36758 echo "${ECHO_T}no" >&6; }
36759 PKG_CONFIG=""
36760 fi
36761
36762 fi 6> /dev/null
36763
36764 pkg_failed=no
36765 { echo "$as_me:$LINENO: checking for GLU" >&5
36766 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36767
36768 if test -n "$PKG_CONFIG"; then
36769 if test -n "$GLU_CFLAGS"; then
36770 pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
36771 else
36772 if test -n "$PKG_CONFIG" && \
36773 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36774 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36775 ac_status=$?
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); }; then
36778 pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36779 else
36780 pkg_failed=yes
36781 fi
36782 fi
36783 else
36784 pkg_failed=untried
36785 fi
36786 if test -n "$PKG_CONFIG"; then
36787 if test -n "$GLU_LIBS"; then
36788 pkg_cv_GLU_LIBS="$GLU_LIBS"
36789 else
36790 if test -n "$PKG_CONFIG" && \
36791 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36792 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36793 ac_status=$?
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); }; then
36796 pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36797 else
36798 pkg_failed=yes
36799 fi
36800 fi
36801 else
36802 pkg_failed=untried
36803 fi
36804
36805
36806
36807 if test $pkg_failed = yes; then
36808
36809 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36810 _pkg_short_errors_supported=yes
36811 else
36812 _pkg_short_errors_supported=no
36813 fi
36814 if test $_pkg_short_errors_supported = yes; then
36815 GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36816 else
36817 GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36818 fi
36819 # Put the nasty error message in config.log where it belongs
36820 echo "$GLU_PKG_ERRORS" >&5
36821
36822
36823 if test "x$ac_find_libraries" = "x"; then
36824 if test "xgluBeginCurve" != "x"; then
36825 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36826 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36827 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 else
36830 ac_check_lib_save_LIBS=$LIBS
36831 LIBS="-lGLU $LIBS"
36832 cat >conftest.$ac_ext <<_ACEOF
36833 /* confdefs.h. */
36834 _ACEOF
36835 cat confdefs.h >>conftest.$ac_ext
36836 cat >>conftest.$ac_ext <<_ACEOF
36837 /* end confdefs.h. */
36838
36839 /* Override any GCC internal prototype to avoid an error.
36840 Use char because int might match the return type of a GCC
36841 builtin and then its argument prototype would still apply. */
36842 #ifdef __cplusplus
36843 extern "C"
36844 #endif
36845 char gluBeginCurve ();
36846 int
36847 main ()
36848 {
36849 return gluBeginCurve ();
36850 ;
36851 return 0;
36852 }
36853 _ACEOF
36854 rm -f conftest.$ac_objext conftest$ac_exeext
36855 if { (ac_try="$ac_link"
36856 case "(($ac_try" in
36857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36858 *) ac_try_echo=$ac_try;;
36859 esac
36860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36861 (eval "$ac_link") 2>conftest.er1
36862 ac_status=$?
36863 grep -v '^ *+' conftest.er1 >conftest.err
36864 rm -f conftest.er1
36865 cat conftest.err >&5
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); } && {
36868 test -z "$ac_c_werror_flag" ||
36869 test ! -s conftest.err
36870 } && test -s conftest$ac_exeext &&
36871 $as_test_x conftest$ac_exeext; then
36872 ac_cv_lib_GLU_gluBeginCurve=yes
36873 else
36874 echo "$as_me: failed program was:" >&5
36875 sed 's/^/| /' conftest.$ac_ext >&5
36876
36877 ac_cv_lib_GLU_gluBeginCurve=no
36878 fi
36879
36880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36881 conftest$ac_exeext conftest.$ac_ext
36882 LIBS=$ac_check_lib_save_LIBS
36883 fi
36884 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36885 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36886 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36887 ac_find_libraries="std"
36888 fi
36889
36890 fi
36891 fi
36892
36893 if test "x$ac_find_libraries" = "x"; then
36894 { echo "$as_me:$LINENO: checking elsewhere" >&5
36895 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36896
36897 ac_find_libraries=
36898 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36899 do
36900 for ac_extension in a so sl dylib dll.a; do
36901 if test -f "$ac_dir/libGLU.$ac_extension"; then
36902 ac_find_libraries=$ac_dir
36903 break 2
36904 fi
36905 done
36906 done
36907
36908 if test "x$ac_find_libraries" != "x"; then
36909 { echo "$as_me:$LINENO: result: yes" >&5
36910 echo "${ECHO_T}yes" >&6; }
36911 else
36912 { echo "$as_me:$LINENO: result: no" >&5
36913 echo "${ECHO_T}no" >&6; }
36914 fi
36915 fi
36916
36917 elif test $pkg_failed = untried; then
36918
36919 if test "x$ac_find_libraries" = "x"; then
36920 if test "xgluBeginCurve" != "x"; then
36921 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36922 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36923 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36924 echo $ECHO_N "(cached) $ECHO_C" >&6
36925 else
36926 ac_check_lib_save_LIBS=$LIBS
36927 LIBS="-lGLU $LIBS"
36928 cat >conftest.$ac_ext <<_ACEOF
36929 /* confdefs.h. */
36930 _ACEOF
36931 cat confdefs.h >>conftest.$ac_ext
36932 cat >>conftest.$ac_ext <<_ACEOF
36933 /* end confdefs.h. */
36934
36935 /* Override any GCC internal prototype to avoid an error.
36936 Use char because int might match the return type of a GCC
36937 builtin and then its argument prototype would still apply. */
36938 #ifdef __cplusplus
36939 extern "C"
36940 #endif
36941 char gluBeginCurve ();
36942 int
36943 main ()
36944 {
36945 return gluBeginCurve ();
36946 ;
36947 return 0;
36948 }
36949 _ACEOF
36950 rm -f conftest.$ac_objext conftest$ac_exeext
36951 if { (ac_try="$ac_link"
36952 case "(($ac_try" in
36953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36954 *) ac_try_echo=$ac_try;;
36955 esac
36956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36957 (eval "$ac_link") 2>conftest.er1
36958 ac_status=$?
36959 grep -v '^ *+' conftest.er1 >conftest.err
36960 rm -f conftest.er1
36961 cat conftest.err >&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); } && {
36964 test -z "$ac_c_werror_flag" ||
36965 test ! -s conftest.err
36966 } && test -s conftest$ac_exeext &&
36967 $as_test_x conftest$ac_exeext; then
36968 ac_cv_lib_GLU_gluBeginCurve=yes
36969 else
36970 echo "$as_me: failed program was:" >&5
36971 sed 's/^/| /' conftest.$ac_ext >&5
36972
36973 ac_cv_lib_GLU_gluBeginCurve=no
36974 fi
36975
36976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36977 conftest$ac_exeext conftest.$ac_ext
36978 LIBS=$ac_check_lib_save_LIBS
36979 fi
36980 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36981 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36982 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36983 ac_find_libraries="std"
36984 fi
36985
36986 fi
36987 fi
36988
36989 if test "x$ac_find_libraries" = "x"; then
36990 { echo "$as_me:$LINENO: checking elsewhere" >&5
36991 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36992
36993 ac_find_libraries=
36994 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36995 do
36996 for ac_extension in a so sl dylib dll.a; do
36997 if test -f "$ac_dir/libGLU.$ac_extension"; then
36998 ac_find_libraries=$ac_dir
36999 break 2
37000 fi
37001 done
37002 done
37003
37004 if test "x$ac_find_libraries" != "x"; then
37005 { echo "$as_me:$LINENO: result: yes" >&5
37006 echo "${ECHO_T}yes" >&6; }
37007 else
37008 { echo "$as_me:$LINENO: result: no" >&5
37009 echo "${ECHO_T}no" >&6; }
37010 fi
37011 fi
37012
37013 else
37014 GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
37015 GLU_LIBS=$pkg_cv_GLU_LIBS
37016 { echo "$as_me:$LINENO: result: yes" >&5
37017 echo "${ECHO_T}yes" >&6; }
37018
37019 ac_find_libraries="std"
37020
37021 eval ac_find_cflags=\$GLU_CFLAGS
37022 eval fl_libs=\$GLU_LIBS
37023
37024 for fl_path in $fl_libs
37025 do
37026 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37027 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
37028 fi
37029 done
37030
37031 fi
37032
37033 if test "$ac_find_libraries" != "" ; then
37034 if test "$ac_find_libraries" != "std" ; then
37035
37036 if test "$ac_find_libraries" = "default location"; then
37037 ac_path_to_link=""
37038 else
37039 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37040 result=$?
37041 if test $result = 0; then
37042 ac_path_to_link=""
37043 else
37044 ac_path_to_link=" -L$ac_find_libraries"
37045 fi
37046 fi
37047
37048 if test "$ac_path_to_link" != " -L/usr/lib" -a \
37049 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
37050 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37051 fi
37052 fi
37053
37054 found_gl=1
37055 OPENGL_LIBS="-lGL -lGLU"
37056 fi
37057 fi
37058
37059 if test "$found_gl" != 1; then
37060
37061 ac_find_libraries=
37062
37063 fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
37064
37065
37066 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
37067 if test -n "$ac_tool_prefix"; then
37068 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
37069 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
37070 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37072 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
37073 echo $ECHO_N "(cached) $ECHO_C" >&6
37074 else
37075 case $PKG_CONFIG in
37076 [\\/]* | ?:[\\/]*)
37077 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
37078 ;;
37079 *)
37080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37081 for as_dir in $PATH
37082 do
37083 IFS=$as_save_IFS
37084 test -z "$as_dir" && as_dir=.
37085 for ac_exec_ext in '' $ac_executable_extensions; do
37086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37087 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37089 break 2
37090 fi
37091 done
37092 done
37093 IFS=$as_save_IFS
37094
37095 ;;
37096 esac
37097 fi
37098 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
37099 if test -n "$PKG_CONFIG"; then
37100 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
37101 echo "${ECHO_T}$PKG_CONFIG" >&6; }
37102 else
37103 { echo "$as_me:$LINENO: result: no" >&5
37104 echo "${ECHO_T}no" >&6; }
37105 fi
37106
37107
37108 fi
37109 if test -z "$ac_cv_path_PKG_CONFIG"; then
37110 ac_pt_PKG_CONFIG=$PKG_CONFIG
37111 # Extract the first word of "pkg-config", so it can be a program name with args.
37112 set dummy pkg-config; ac_word=$2
37113 { echo "$as_me:$LINENO: checking for $ac_word" >&5
37114 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
37115 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
37116 echo $ECHO_N "(cached) $ECHO_C" >&6
37117 else
37118 case $ac_pt_PKG_CONFIG in
37119 [\\/]* | ?:[\\/]*)
37120 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
37121 ;;
37122 *)
37123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
37124 for as_dir in $PATH
37125 do
37126 IFS=$as_save_IFS
37127 test -z "$as_dir" && as_dir=.
37128 for ac_exec_ext in '' $ac_executable_extensions; do
37129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
37130 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
37131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
37132 break 2
37133 fi
37134 done
37135 done
37136 IFS=$as_save_IFS
37137
37138 ;;
37139 esac
37140 fi
37141 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
37142 if test -n "$ac_pt_PKG_CONFIG"; then
37143 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
37144 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
37145 else
37146 { echo "$as_me:$LINENO: result: no" >&5
37147 echo "${ECHO_T}no" >&6; }
37148 fi
37149
37150 if test "x$ac_pt_PKG_CONFIG" = x; then
37151 PKG_CONFIG=""
37152 else
37153 case $cross_compiling:$ac_tool_warned in
37154 yes:)
37155 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
37156 whose name does not start with the host triplet. If you think this
37157 configuration is useful to you, please write to autoconf@gnu.org." >&5
37158 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
37159 whose name does not start with the host triplet. If you think this
37160 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
37161 ac_tool_warned=yes ;;
37162 esac
37163 PKG_CONFIG=$ac_pt_PKG_CONFIG
37164 fi
37165 else
37166 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
37167 fi
37168
37169 fi
37170 if test -n "$PKG_CONFIG"; then
37171 _pkg_min_version=0.9.0
37172 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
37173 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
37174 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
37175 { echo "$as_me:$LINENO: result: yes" >&5
37176 echo "${ECHO_T}yes" >&6; }
37177 else
37178 { echo "$as_me:$LINENO: result: no" >&5
37179 echo "${ECHO_T}no" >&6; }
37180 PKG_CONFIG=""
37181 fi
37182
37183 fi 6> /dev/null
37184
37185 pkg_failed=no
37186 { echo "$as_me:$LINENO: checking for MesaGL" >&5
37187 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
37188
37189 if test -n "$PKG_CONFIG"; then
37190 if test -n "$MesaGL_CFLAGS"; then
37191 pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
37192 else
37193 if test -n "$PKG_CONFIG" && \
37194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37195 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37196 ac_status=$?
37197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37198 (exit $ac_status); }; then
37199 pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
37200 else
37201 pkg_failed=yes
37202 fi
37203 fi
37204 else
37205 pkg_failed=untried
37206 fi
37207 if test -n "$PKG_CONFIG"; then
37208 if test -n "$MesaGL_LIBS"; then
37209 pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
37210 else
37211 if test -n "$PKG_CONFIG" && \
37212 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
37213 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
37214 ac_status=$?
37215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37216 (exit $ac_status); }; then
37217 pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
37218 else
37219 pkg_failed=yes
37220 fi
37221 fi
37222 else
37223 pkg_failed=untried
37224 fi
37225
37226
37227
37228 if test $pkg_failed = yes; then
37229
37230 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37231 _pkg_short_errors_supported=yes
37232 else
37233 _pkg_short_errors_supported=no
37234 fi
37235 if test $_pkg_short_errors_supported = yes; then
37236 MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37237 else
37238 MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37239 fi
37240 # Put the nasty error message in config.log where it belongs
37241 echo "$MesaGL_PKG_ERRORS" >&5
37242
37243
37244 if test "x$ac_find_libraries" = "x"; then
37245 if test "xglEnable" != "x"; then
37246 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37247 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37248 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37249 echo $ECHO_N "(cached) $ECHO_C" >&6
37250 else
37251 ac_check_lib_save_LIBS=$LIBS
37252 LIBS="-lMesaGL $LIBS"
37253 cat >conftest.$ac_ext <<_ACEOF
37254 /* confdefs.h. */
37255 _ACEOF
37256 cat confdefs.h >>conftest.$ac_ext
37257 cat >>conftest.$ac_ext <<_ACEOF
37258 /* end confdefs.h. */
37259
37260 /* Override any GCC internal prototype to avoid an error.
37261 Use char because int might match the return type of a GCC
37262 builtin and then its argument prototype would still apply. */
37263 #ifdef __cplusplus
37264 extern "C"
37265 #endif
37266 char glEnable ();
37267 int
37268 main ()
37269 {
37270 return glEnable ();
37271 ;
37272 return 0;
37273 }
37274 _ACEOF
37275 rm -f conftest.$ac_objext conftest$ac_exeext
37276 if { (ac_try="$ac_link"
37277 case "(($ac_try" in
37278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37279 *) ac_try_echo=$ac_try;;
37280 esac
37281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37282 (eval "$ac_link") 2>conftest.er1
37283 ac_status=$?
37284 grep -v '^ *+' conftest.er1 >conftest.err
37285 rm -f conftest.er1
37286 cat conftest.err >&5
37287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37288 (exit $ac_status); } && {
37289 test -z "$ac_c_werror_flag" ||
37290 test ! -s conftest.err
37291 } && test -s conftest$ac_exeext &&
37292 $as_test_x conftest$ac_exeext; then
37293 ac_cv_lib_MesaGL_glEnable=yes
37294 else
37295 echo "$as_me: failed program was:" >&5
37296 sed 's/^/| /' conftest.$ac_ext >&5
37297
37298 ac_cv_lib_MesaGL_glEnable=no
37299 fi
37300
37301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37302 conftest$ac_exeext conftest.$ac_ext
37303 LIBS=$ac_check_lib_save_LIBS
37304 fi
37305 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37306 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37307 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37308 ac_find_libraries="std"
37309 fi
37310
37311 fi
37312 fi
37313
37314 if test "x$ac_find_libraries" = "x"; then
37315 { echo "$as_me:$LINENO: checking elsewhere" >&5
37316 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37317
37318 ac_find_libraries=
37319 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37320 do
37321 for ac_extension in a so sl dylib dll.a; do
37322 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37323 ac_find_libraries=$ac_dir
37324 break 2
37325 fi
37326 done
37327 done
37328
37329 if test "x$ac_find_libraries" != "x"; then
37330 { echo "$as_me:$LINENO: result: yes" >&5
37331 echo "${ECHO_T}yes" >&6; }
37332 else
37333 { echo "$as_me:$LINENO: result: no" >&5
37334 echo "${ECHO_T}no" >&6; }
37335 fi
37336 fi
37337
37338 elif test $pkg_failed = untried; then
37339
37340 if test "x$ac_find_libraries" = "x"; then
37341 if test "xglEnable" != "x"; then
37342 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37343 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37344 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37345 echo $ECHO_N "(cached) $ECHO_C" >&6
37346 else
37347 ac_check_lib_save_LIBS=$LIBS
37348 LIBS="-lMesaGL $LIBS"
37349 cat >conftest.$ac_ext <<_ACEOF
37350 /* confdefs.h. */
37351 _ACEOF
37352 cat confdefs.h >>conftest.$ac_ext
37353 cat >>conftest.$ac_ext <<_ACEOF
37354 /* end confdefs.h. */
37355
37356 /* Override any GCC internal prototype to avoid an error.
37357 Use char because int might match the return type of a GCC
37358 builtin and then its argument prototype would still apply. */
37359 #ifdef __cplusplus
37360 extern "C"
37361 #endif
37362 char glEnable ();
37363 int
37364 main ()
37365 {
37366 return glEnable ();
37367 ;
37368 return 0;
37369 }
37370 _ACEOF
37371 rm -f conftest.$ac_objext conftest$ac_exeext
37372 if { (ac_try="$ac_link"
37373 case "(($ac_try" in
37374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37375 *) ac_try_echo=$ac_try;;
37376 esac
37377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37378 (eval "$ac_link") 2>conftest.er1
37379 ac_status=$?
37380 grep -v '^ *+' conftest.er1 >conftest.err
37381 rm -f conftest.er1
37382 cat conftest.err >&5
37383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37384 (exit $ac_status); } && {
37385 test -z "$ac_c_werror_flag" ||
37386 test ! -s conftest.err
37387 } && test -s conftest$ac_exeext &&
37388 $as_test_x conftest$ac_exeext; then
37389 ac_cv_lib_MesaGL_glEnable=yes
37390 else
37391 echo "$as_me: failed program was:" >&5
37392 sed 's/^/| /' conftest.$ac_ext >&5
37393
37394 ac_cv_lib_MesaGL_glEnable=no
37395 fi
37396
37397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37398 conftest$ac_exeext conftest.$ac_ext
37399 LIBS=$ac_check_lib_save_LIBS
37400 fi
37401 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37402 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37403 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37404 ac_find_libraries="std"
37405 fi
37406
37407 fi
37408 fi
37409
37410 if test "x$ac_find_libraries" = "x"; then
37411 { echo "$as_me:$LINENO: checking elsewhere" >&5
37412 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37413
37414 ac_find_libraries=
37415 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37416 do
37417 for ac_extension in a so sl dylib dll.a; do
37418 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37419 ac_find_libraries=$ac_dir
37420 break 2
37421 fi
37422 done
37423 done
37424
37425 if test "x$ac_find_libraries" != "x"; then
37426 { echo "$as_me:$LINENO: result: yes" >&5
37427 echo "${ECHO_T}yes" >&6; }
37428 else
37429 { echo "$as_me:$LINENO: result: no" >&5
37430 echo "${ECHO_T}no" >&6; }
37431 fi
37432 fi
37433
37434 else
37435 MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
37436 MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
37437 { echo "$as_me:$LINENO: result: yes" >&5
37438 echo "${ECHO_T}yes" >&6; }
37439
37440 ac_find_libraries="std"
37441
37442 eval ac_find_cflags=\$MesaGL_CFLAGS
37443 eval fl_libs=\$MesaGL_LIBS
37444
37445 for fl_path in $fl_libs
37446 do
37447 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37448 ac_find_libraries=`echo "$fl_path" | cut -c 3-`
37449 fi
37450 done
37451
37452 fi
37453
37454 if test "$ac_find_libraries" != "" ; then
37455 if test "$ac_find_libraries" != "std" ; then
37456
37457 if test "$ac_find_libraries" = "default location"; then
37458 ac_path_to_link=""
37459 else
37460 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
37461 result=$?
37462 if test $result = 0; then
37463 ac_path_to_link=""
37464 else
37465 ac_path_to_link=" -L$ac_find_libraries"
37466 fi
37467 fi
37468
37469 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37470 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
37471 fi
37472 fi
37473 OPENGL_LIBS="-lMesaGL -lMesaGLU"
37474 fi
37475 fi
37476
37477 fi
37478
37479
37480
37481 fi
37482
37483
37484
37485 if test "x$OPENGL_LIBS" = "x"; then
37486 if test "$wxUSE_OPENGL" = "yes"; then
37487 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37488 echo "$as_me: error: OpenGL libraries not available" >&2;}
37489 { (exit 1); exit 1; }; }
37490 else
37491 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37492 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37493 wxUSE_OPENGL=no
37494 USE_OPENGL=0
37495 fi
37496 fi
37497 else
37498 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37499 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37500 wxUSE_OPENGL="no"
37501 fi
37502
37503 if test "$wxUSE_OPENGL" = "auto"; then
37504 wxUSE_OPENGL=yes
37505 fi
37506
37507 if test "$wxUSE_OPENGL" = "yes"; then
37508 USE_OPENGL=1
37509 cat >>confdefs.h <<\_ACEOF
37510 #define wxUSE_OPENGL 1
37511 _ACEOF
37512
37513 cat >>confdefs.h <<\_ACEOF
37514 #define wxUSE_GLCANVAS 1
37515 _ACEOF
37516
37517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37518 fi
37519 fi
37520
37521
37522 if test -n "$TOOLKIT" ; then
37523 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37524 fi
37525
37526
37527
37528 if test "$wxUSE_SHARED" = "yes"; then
37529 case "${host}" in
37530 *-pc-msdosdjgpp )
37531 wxUSE_SHARED=no
37532 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37533 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37534 ;;
37535 esac
37536 fi
37537
37538 if test "$wxUSE_SHARED" = "yes"; then
37539
37540
37541 case "${host}" in
37542 *-*-cygwin* | *-*-mingw* )
37543 wx_cv_version_script=no
37544 ;;
37545
37546 *)
37547 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37548 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37549 if test "${wx_cv_version_script+set}" = set; then
37550 echo $ECHO_N "(cached) $ECHO_C" >&6
37551 else
37552
37553 echo "VER_1 { *; };" >conftest.sym
37554 echo "int main() { return 0; }" >conftest.cpp
37555
37556 if { ac_try='
37557 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37558 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37560 (eval $ac_try) 2>&5
37561 ac_status=$?
37562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37563 (exit $ac_status); }; } ; then
37564 if test -s conftest.stderr ; then
37565 wx_cv_version_script=no
37566 else
37567 wx_cv_version_script=yes
37568 fi
37569 else
37570 wx_cv_version_script=no
37571 fi
37572
37573 if test $wx_cv_version_script = yes
37574 then
37575 echo "struct B { virtual ~B() { } }; \
37576 struct D : public B { }; \
37577 void F() { D d; }" > conftest.cpp
37578
37579 if { ac_try='
37580 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37581 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37583 (eval $ac_try) 2>&5
37584 ac_status=$?
37585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37586 (exit $ac_status); }; } &&
37587 { ac_try='
37588 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37589 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37591 (eval $ac_try) 2>&5
37592 ac_status=$?
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); }; }
37595 then
37596 if { ac_try='
37597 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37598 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37600 (eval $ac_try) 2>&5
37601 ac_status=$?
37602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37603 (exit $ac_status); }; }
37604 then
37605 wx_cv_version_script=yes
37606 else
37607 wx_cv_version_script=no
37608 fi
37609 fi
37610 fi
37611
37612 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37613 rm -f conftest1.output conftest2.output conftest3.output
37614
37615 fi
37616 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37617 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37618
37619 if test $wx_cv_version_script = yes ; then
37620 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37621 fi
37622 ;;
37623 esac
37624
37625
37626 if test "$wxUSE_VISIBILITY" != "no"; then
37627
37628
37629 if test -n "$GCC"; then
37630 CFLAGS_VISIBILITY="-fvisibility=hidden"
37631 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
37632 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37633 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37634 if test "${wx_cv_cc_visibility+set}" = set; then
37635 echo $ECHO_N "(cached) $ECHO_C" >&6
37636 else
37637
37638 wx_save_CXXFLAGS="$CXXFLAGS"
37639 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37640 ac_ext=cpp
37641 ac_cpp='$CXXCPP $CPPFLAGS'
37642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37645
37646 cat >conftest.$ac_ext <<_ACEOF
37647 /* confdefs.h. */
37648 _ACEOF
37649 cat confdefs.h >>conftest.$ac_ext
37650 cat >>conftest.$ac_ext <<_ACEOF
37651 /* end confdefs.h. */
37652
37653 /* we need gcc >= 4.0, older versions with visibility support
37654 didn't have class visibility: */
37655 #if defined(__GNUC__) && __GNUC__ < 4
37656 error this gcc is too old;
37657 #endif
37658
37659 /* visibility only makes sense for ELF shared libs: */
37660 #if !defined(__ELF__) && !defined(__APPLE__)
37661 error this platform has no visibility;
37662 #endif
37663
37664 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37665 #if defined(__clang__)
37666 clang compiler is still broken w.r.t. visibility;
37667 #endif
37668
37669 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37670 extern __attribute__((__visibility__("default"))) int exportedvar;
37671 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37672 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37673 class __attribute__((__visibility__("default"))) Foo {
37674 Foo() {}
37675 };
37676
37677 int
37678 main ()
37679 {
37680
37681 ;
37682 return 0;
37683 }
37684 _ACEOF
37685 rm -f conftest.$ac_objext
37686 if { (ac_try="$ac_compile"
37687 case "(($ac_try" in
37688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37689 *) ac_try_echo=$ac_try;;
37690 esac
37691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37692 (eval "$ac_compile") 2>conftest.er1
37693 ac_status=$?
37694 grep -v '^ *+' conftest.er1 >conftest.err
37695 rm -f conftest.er1
37696 cat conftest.err >&5
37697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698 (exit $ac_status); } && {
37699 test -z "$ac_cxx_werror_flag" ||
37700 test ! -s conftest.err
37701 } && test -s conftest.$ac_objext; then
37702 wx_cv_cc_visibility=yes
37703 else
37704 echo "$as_me: failed program was:" >&5
37705 sed 's/^/| /' conftest.$ac_ext >&5
37706
37707 wx_cv_cc_visibility=no
37708 fi
37709
37710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37711 ac_ext=c
37712 ac_cpp='$CPP $CPPFLAGS'
37713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37716
37717 CXXFLAGS="$wx_save_CXXFLAGS"
37718 fi
37719
37720 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37721 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37722 if test $wx_cv_cc_visibility = yes; then
37723 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37724 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37725 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37726 echo $ECHO_N "(cached) $ECHO_C" >&6
37727 else
37728
37729 wx_save_CXXFLAGS="$CXXFLAGS"
37730 wx_save_LDFLAGS="$LDFLAGS"
37731 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37732 LDFLAGS="$LDFLAGS -shared -fPIC"
37733 ac_ext=cpp
37734 ac_cpp='$CXXCPP $CPPFLAGS'
37735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37738
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
37746 #include <string>
37747
37748 int
37749 main ()
37750 {
37751
37752 std::string s("hello");
37753 return s.length();
37754
37755 ;
37756 return 0;
37757 }
37758 _ACEOF
37759 rm -f conftest.$ac_objext conftest$ac_exeext
37760 if { (ac_try="$ac_link"
37761 case "(($ac_try" in
37762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37763 *) ac_try_echo=$ac_try;;
37764 esac
37765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37766 (eval "$ac_link") 2>conftest.er1
37767 ac_status=$?
37768 grep -v '^ *+' conftest.er1 >conftest.err
37769 rm -f conftest.er1
37770 cat conftest.err >&5
37771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37772 (exit $ac_status); } && {
37773 test -z "$ac_cxx_werror_flag" ||
37774 test ! -s conftest.err
37775 } && test -s conftest$ac_exeext &&
37776 $as_test_x conftest$ac_exeext; then
37777 wx_cv_cc_broken_libstdcxx_visibility=no
37778 else
37779 echo "$as_me: failed program was:" >&5
37780 sed 's/^/| /' conftest.$ac_ext >&5
37781
37782 wx_cv_cc_broken_libstdcxx_visibility=yes
37783 fi
37784
37785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37786 conftest$ac_exeext conftest.$ac_ext
37787 ac_ext=c
37788 ac_cpp='$CPP $CPPFLAGS'
37789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37792
37793 CXXFLAGS="$wx_save_CXXFLAGS"
37794 LDFLAGS="$wx_save_LDFLAGS"
37795 fi
37796
37797 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37798 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37799
37800 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37801 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37802 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37803 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37804 echo $ECHO_N "(cached) $ECHO_C" >&6
37805 else
37806
37807 ac_ext=cpp
37808 ac_cpp='$CXXCPP $CPPFLAGS'
37809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37812
37813 cat >conftest.$ac_ext <<_ACEOF
37814 /* confdefs.h. */
37815 _ACEOF
37816 cat confdefs.h >>conftest.$ac_ext
37817 cat >>conftest.$ac_ext <<_ACEOF
37818 /* end confdefs.h. */
37819
37820 #pragma GCC visibility push(default)
37821 #include <string>
37822 #pragma GCC visibility pop
37823
37824 int
37825 main ()
37826 {
37827
37828 std::string s("hello");
37829 return s.length();
37830
37831 ;
37832 return 0;
37833 }
37834 _ACEOF
37835 rm -f conftest.$ac_objext conftest$ac_exeext
37836 if { (ac_try="$ac_link"
37837 case "(($ac_try" in
37838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37839 *) ac_try_echo=$ac_try;;
37840 esac
37841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37842 (eval "$ac_link") 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } && {
37849 test -z "$ac_cxx_werror_flag" ||
37850 test ! -s conftest.err
37851 } && test -s conftest$ac_exeext &&
37852 $as_test_x conftest$ac_exeext; then
37853 wx_cv_cc_visibility_workaround=no
37854 else
37855 echo "$as_me: failed program was:" >&5
37856 sed 's/^/| /' conftest.$ac_ext >&5
37857
37858 wx_cv_cc_visibility_workaround=yes
37859 fi
37860
37861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37862 conftest$ac_exeext conftest.$ac_ext
37863 ac_ext=c
37864 ac_cpp='$CPP $CPPFLAGS'
37865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37868
37869
37870 fi
37871
37872 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37873 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37874
37875 if test $wx_cv_cc_visibility_workaround = no; then
37876 wx_cv_cc_visibility=no
37877 fi
37878 fi
37879 fi
37880
37881 if test $wx_cv_cc_visibility = yes; then
37882 cat >>confdefs.h <<\_ACEOF
37883 #define HAVE_VISIBILITY 1
37884 _ACEOF
37885
37886 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37887 cat >>confdefs.h <<\_ACEOF
37888 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37889 _ACEOF
37890
37891 fi
37892 else
37893 CFLAGS_VISIBILITY=""
37894 CXXFLAGS_VISIBILITY=""
37895 fi
37896
37897
37898 fi
37899
37900 fi
37901
37902 if test "x$SUNCXX" = xyes; then
37903 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37904 WXCONFIG_RPATH="-R\$libdir"
37905 else
37906 case "${host}" in
37907 *-*-linux* | *-*-gnu* )
37908 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37909 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37910 ;;
37911
37912 *-*-solaris2* )
37913
37914 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37915
37916 saveLdflags="$LDFLAGS"
37917 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37918 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37919 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37920 cat >conftest.$ac_ext <<_ACEOF
37921 /* confdefs.h. */
37922 _ACEOF
37923 cat confdefs.h >>conftest.$ac_ext
37924 cat >>conftest.$ac_ext <<_ACEOF
37925 /* end confdefs.h. */
37926
37927 int
37928 main ()
37929 {
37930
37931 ;
37932 return 0;
37933 }
37934 _ACEOF
37935 rm -f conftest.$ac_objext conftest$ac_exeext
37936 if { (ac_try="$ac_link"
37937 case "(($ac_try" in
37938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37939 *) ac_try_echo=$ac_try;;
37940 esac
37941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37942 (eval "$ac_link") 2>conftest.er1
37943 ac_status=$?
37944 grep -v '^ *+' conftest.er1 >conftest.err
37945 rm -f conftest.er1
37946 cat conftest.err >&5
37947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37948 (exit $ac_status); } && {
37949 test -z "$ac_c_werror_flag" ||
37950 test ! -s conftest.err
37951 } && test -s conftest$ac_exeext &&
37952 $as_test_x conftest$ac_exeext; then
37953
37954 { echo "$as_me:$LINENO: result: yes" >&5
37955 echo "${ECHO_T}yes" >&6; }
37956 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37957 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37958
37959 else
37960 echo "$as_me: failed program was:" >&5
37961 sed 's/^/| /' conftest.$ac_ext >&5
37962
37963
37964 { echo "$as_me:$LINENO: result: no" >&5
37965 echo "${ECHO_T}no" >&6; }
37966 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37967 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37968 LDFLAGS="$saveLdflags -Wl,-R,/"
37969 cat >conftest.$ac_ext <<_ACEOF
37970 /* confdefs.h. */
37971 _ACEOF
37972 cat confdefs.h >>conftest.$ac_ext
37973 cat >>conftest.$ac_ext <<_ACEOF
37974 /* end confdefs.h. */
37975
37976 int
37977 main ()
37978 {
37979
37980 ;
37981 return 0;
37982 }
37983 _ACEOF
37984 rm -f conftest.$ac_objext conftest$ac_exeext
37985 if { (ac_try="$ac_link"
37986 case "(($ac_try" in
37987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37988 *) ac_try_echo=$ac_try;;
37989 esac
37990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37991 (eval "$ac_link") 2>conftest.er1
37992 ac_status=$?
37993 grep -v '^ *+' conftest.er1 >conftest.err
37994 rm -f conftest.er1
37995 cat conftest.err >&5
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); } && {
37998 test -z "$ac_c_werror_flag" ||
37999 test ! -s conftest.err
38000 } && test -s conftest$ac_exeext &&
38001 $as_test_x conftest$ac_exeext; then
38002
38003 { echo "$as_me:$LINENO: result: yes" >&5
38004 echo "${ECHO_T}yes" >&6; }
38005 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
38006 WXCONFIG_RPATH="-Wl,-R,\$libdir"
38007
38008 else
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38011
38012
38013 { echo "$as_me:$LINENO: result: no" >&5
38014 echo "${ECHO_T}no" >&6; }
38015
38016 fi
38017
38018 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38019 conftest$ac_exeext conftest.$ac_ext
38020
38021 fi
38022
38023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38024 conftest$ac_exeext conftest.$ac_ext
38025 LDFLAGS="$saveLdflags"
38026 ;;
38027
38028 *-*-darwin* )
38029 install_name_tool=`which ${HOST_PREFIX}install_name_tool`
38030 if test "$install_name_tool" -a -x "$install_name_tool"; then
38031 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
38032 cat <<EOF >change-install-names
38033 #!/bin/sh
38034 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
38035 for i in \${libnames} ; do
38036 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
38037 for dep in \${libnames} ; do
38038 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
38039 done
38040 done
38041 EOF
38042 chmod +x change-install-names
38043 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
38044 fi
38045
38046 HEADER_PAD_OPTION="-headerpad_max_install_names"
38047 ;;
38048
38049 *-*-cygwin* | *-*-mingw32* )
38050 ;;
38051
38052 *-*-hpux* )
38053 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
38054 WXCONFIG_RPATH="-Wl,+b,\$libdir"
38055 ;;
38056
38057 esac
38058 fi
38059
38060 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
38061
38062 if test $wxUSE_RPATH = "no"; then
38063 SAMPLES_RPATH_FLAG=''
38064 DYLIB_PATH_POSTLINK=''
38065 WXCONFIG_RPATH=''
38066 fi
38067
38068 SHARED=1
38069
38070 else
38071
38072 config_linkage_component="-static"
38073 SHARED=0
38074
38075 fi
38076
38077
38078 UNICODE=0
38079 lib_unicode_suffix=
38080 WX_CHARTYPE="ansi"
38081 if test "$wxUSE_UNICODE" = "yes"; then
38082 lib_unicode_suffix=u
38083 WX_CHARTYPE="unicode"
38084 UNICODE=1
38085 fi
38086
38087 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
38088 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
38089
38090 DEBUG_INFO=0
38091 if test "$wxUSE_DEBUG_INFO" = "yes"; then
38092 DEBUG_INFO=1
38093 fi
38094
38095 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
38096
38097 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
38098
38099 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
38100
38101
38102 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
38103 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38104 else
38105 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38106 fi
38107 if test "${TOOLKIT_DIR}" = "os2"; then
38108 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38109 else
38110 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
38111 fi
38112
38113
38114
38115 if test "$wxUSE_OLD_COCOA" = 1; then
38116
38117 ac_ext=c
38118 ac_cpp='$CPP $CPPFLAGS'
38119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38122
38123 ac_ext=m
38124
38125 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
38126 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
38127 cat >conftest.$ac_ext <<_ACEOF
38128 /* confdefs.h. */
38129 _ACEOF
38130 cat confdefs.h >>conftest.$ac_ext
38131 cat >>conftest.$ac_ext <<_ACEOF
38132 /* end confdefs.h. */
38133 #include <AppKit/NSEvent.h>
38134 #include <CoreFoundation/CoreFoundation.h>
38135
38136 int
38137 main ()
38138 {
38139
38140 ;
38141 return 0;
38142 }
38143 _ACEOF
38144 rm -f conftest.$ac_objext
38145 if { (ac_try="$ac_compile"
38146 case "(($ac_try" in
38147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38148 *) ac_try_echo=$ac_try;;
38149 esac
38150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38151 (eval "$ac_compile") 2>conftest.er1
38152 ac_status=$?
38153 grep -v '^ *+' conftest.er1 >conftest.err
38154 rm -f conftest.er1
38155 cat conftest.err >&5
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); } && {
38158 test -z "$ac_c_werror_flag" ||
38159 test ! -s conftest.err
38160 } && test -s conftest.$ac_objext; then
38161 { echo "$as_me:$LINENO: result: no" >&5
38162 echo "${ECHO_T}no" >&6; }
38163 else
38164 echo "$as_me: failed program was:" >&5
38165 sed 's/^/| /' conftest.$ac_ext >&5
38166
38167 { echo "$as_me:$LINENO: result: yes" >&5
38168 echo "${ECHO_T}yes" >&6; }
38169 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
38170 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
38171 cat >conftest.$ac_ext <<_ACEOF
38172 /* confdefs.h. */
38173 _ACEOF
38174 cat confdefs.h >>conftest.$ac_ext
38175 cat >>conftest.$ac_ext <<_ACEOF
38176 /* end confdefs.h. */
38177 #define __Point__ 1
38178 #include <AppKit/NSEvent.h>
38179 #include <CoreFoundation/CoreFoundation.h>
38180
38181 int
38182 main ()
38183 {
38184
38185 ;
38186 return 0;
38187 }
38188 _ACEOF
38189 rm -f conftest.$ac_objext
38190 if { (ac_try="$ac_compile"
38191 case "(($ac_try" in
38192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38193 *) ac_try_echo=$ac_try;;
38194 esac
38195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38196 (eval "$ac_compile") 2>conftest.er1
38197 ac_status=$?
38198 grep -v '^ *+' conftest.er1 >conftest.err
38199 rm -f conftest.er1
38200 cat conftest.err >&5
38201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38202 (exit $ac_status); } && {
38203 test -z "$ac_c_werror_flag" ||
38204 test ! -s conftest.err
38205 } && test -s conftest.$ac_objext; then
38206 { echo "$as_me:$LINENO: result: yes" >&5
38207 echo "${ECHO_T}yes" >&6; }
38208 cat >>confdefs.h <<\_ACEOF
38209 #define __Point__ 1
38210 _ACEOF
38211
38212
38213 else
38214 echo "$as_me: failed program was:" >&5
38215 sed 's/^/| /' conftest.$ac_ext >&5
38216
38217 { { echo "$as_me:$LINENO: error: no
38218 See \`config.log' for more details." >&5
38219 echo "$as_me: error: no
38220 See \`config.log' for more details." >&2;}
38221 { (exit 1); exit 1; }; }
38222
38223 fi
38224
38225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38226
38227 fi
38228
38229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38230 ac_ext=c
38231 ac_cpp='$CPP $CPPFLAGS'
38232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38235
38236 fi
38237
38238
38239 { echo "$as_me:$LINENO: checking for mode_t" >&5
38240 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
38241 if test "${ac_cv_type_mode_t+set}" = set; then
38242 echo $ECHO_N "(cached) $ECHO_C" >&6
38243 else
38244 cat >conftest.$ac_ext <<_ACEOF
38245 /* confdefs.h. */
38246 _ACEOF
38247 cat confdefs.h >>conftest.$ac_ext
38248 cat >>conftest.$ac_ext <<_ACEOF
38249 /* end confdefs.h. */
38250 $ac_includes_default
38251 typedef mode_t ac__type_new_;
38252 int
38253 main ()
38254 {
38255 if ((ac__type_new_ *) 0)
38256 return 0;
38257 if (sizeof (ac__type_new_))
38258 return 0;
38259 ;
38260 return 0;
38261 }
38262 _ACEOF
38263 rm -f conftest.$ac_objext
38264 if { (ac_try="$ac_compile"
38265 case "(($ac_try" in
38266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38267 *) ac_try_echo=$ac_try;;
38268 esac
38269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38270 (eval "$ac_compile") 2>conftest.er1
38271 ac_status=$?
38272 grep -v '^ *+' conftest.er1 >conftest.err
38273 rm -f conftest.er1
38274 cat conftest.err >&5
38275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38276 (exit $ac_status); } && {
38277 test -z "$ac_c_werror_flag" ||
38278 test ! -s conftest.err
38279 } && test -s conftest.$ac_objext; then
38280 ac_cv_type_mode_t=yes
38281 else
38282 echo "$as_me: failed program was:" >&5
38283 sed 's/^/| /' conftest.$ac_ext >&5
38284
38285 ac_cv_type_mode_t=no
38286 fi
38287
38288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38289 fi
38290 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
38291 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38292 if test $ac_cv_type_mode_t = yes; then
38293 :
38294 else
38295
38296 cat >>confdefs.h <<_ACEOF
38297 #define mode_t int
38298 _ACEOF
38299
38300 fi
38301
38302 { echo "$as_me:$LINENO: checking for off_t" >&5
38303 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
38304 if test "${ac_cv_type_off_t+set}" = set; then
38305 echo $ECHO_N "(cached) $ECHO_C" >&6
38306 else
38307 cat >conftest.$ac_ext <<_ACEOF
38308 /* confdefs.h. */
38309 _ACEOF
38310 cat confdefs.h >>conftest.$ac_ext
38311 cat >>conftest.$ac_ext <<_ACEOF
38312 /* end confdefs.h. */
38313 $ac_includes_default
38314 typedef off_t ac__type_new_;
38315 int
38316 main ()
38317 {
38318 if ((ac__type_new_ *) 0)
38319 return 0;
38320 if (sizeof (ac__type_new_))
38321 return 0;
38322 ;
38323 return 0;
38324 }
38325 _ACEOF
38326 rm -f conftest.$ac_objext
38327 if { (ac_try="$ac_compile"
38328 case "(($ac_try" in
38329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38330 *) ac_try_echo=$ac_try;;
38331 esac
38332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38333 (eval "$ac_compile") 2>conftest.er1
38334 ac_status=$?
38335 grep -v '^ *+' conftest.er1 >conftest.err
38336 rm -f conftest.er1
38337 cat conftest.err >&5
38338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38339 (exit $ac_status); } && {
38340 test -z "$ac_c_werror_flag" ||
38341 test ! -s conftest.err
38342 } && test -s conftest.$ac_objext; then
38343 ac_cv_type_off_t=yes
38344 else
38345 echo "$as_me: failed program was:" >&5
38346 sed 's/^/| /' conftest.$ac_ext >&5
38347
38348 ac_cv_type_off_t=no
38349 fi
38350
38351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38352 fi
38353 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
38354 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38355 if test $ac_cv_type_off_t = yes; then
38356 :
38357 else
38358
38359 cat >>confdefs.h <<_ACEOF
38360 #define off_t long int
38361 _ACEOF
38362
38363 fi
38364
38365 { echo "$as_me:$LINENO: checking for pid_t" >&5
38366 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
38367 if test "${ac_cv_type_pid_t+set}" = set; then
38368 echo $ECHO_N "(cached) $ECHO_C" >&6
38369 else
38370 cat >conftest.$ac_ext <<_ACEOF
38371 /* confdefs.h. */
38372 _ACEOF
38373 cat confdefs.h >>conftest.$ac_ext
38374 cat >>conftest.$ac_ext <<_ACEOF
38375 /* end confdefs.h. */
38376 $ac_includes_default
38377 typedef pid_t ac__type_new_;
38378 int
38379 main ()
38380 {
38381 if ((ac__type_new_ *) 0)
38382 return 0;
38383 if (sizeof (ac__type_new_))
38384 return 0;
38385 ;
38386 return 0;
38387 }
38388 _ACEOF
38389 rm -f conftest.$ac_objext
38390 if { (ac_try="$ac_compile"
38391 case "(($ac_try" in
38392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38393 *) ac_try_echo=$ac_try;;
38394 esac
38395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38396 (eval "$ac_compile") 2>conftest.er1
38397 ac_status=$?
38398 grep -v '^ *+' conftest.er1 >conftest.err
38399 rm -f conftest.er1
38400 cat conftest.err >&5
38401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38402 (exit $ac_status); } && {
38403 test -z "$ac_c_werror_flag" ||
38404 test ! -s conftest.err
38405 } && test -s conftest.$ac_objext; then
38406 ac_cv_type_pid_t=yes
38407 else
38408 echo "$as_me: failed program was:" >&5
38409 sed 's/^/| /' conftest.$ac_ext >&5
38410
38411 ac_cv_type_pid_t=no
38412 fi
38413
38414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38415 fi
38416 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
38417 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38418 if test $ac_cv_type_pid_t = yes; then
38419 :
38420 else
38421
38422 cat >>confdefs.h <<_ACEOF
38423 #define pid_t int
38424 _ACEOF
38425
38426 fi
38427
38428 { echo "$as_me:$LINENO: checking for size_t" >&5
38429 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
38430 if test "${ac_cv_type_size_t+set}" = set; then
38431 echo $ECHO_N "(cached) $ECHO_C" >&6
38432 else
38433 cat >conftest.$ac_ext <<_ACEOF
38434 /* confdefs.h. */
38435 _ACEOF
38436 cat confdefs.h >>conftest.$ac_ext
38437 cat >>conftest.$ac_ext <<_ACEOF
38438 /* end confdefs.h. */
38439 $ac_includes_default
38440 typedef size_t ac__type_new_;
38441 int
38442 main ()
38443 {
38444 if ((ac__type_new_ *) 0)
38445 return 0;
38446 if (sizeof (ac__type_new_))
38447 return 0;
38448 ;
38449 return 0;
38450 }
38451 _ACEOF
38452 rm -f conftest.$ac_objext
38453 if { (ac_try="$ac_compile"
38454 case "(($ac_try" in
38455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38456 *) ac_try_echo=$ac_try;;
38457 esac
38458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38459 (eval "$ac_compile") 2>conftest.er1
38460 ac_status=$?
38461 grep -v '^ *+' conftest.er1 >conftest.err
38462 rm -f conftest.er1
38463 cat conftest.err >&5
38464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38465 (exit $ac_status); } && {
38466 test -z "$ac_c_werror_flag" ||
38467 test ! -s conftest.err
38468 } && test -s conftest.$ac_objext; then
38469 ac_cv_type_size_t=yes
38470 else
38471 echo "$as_me: failed program was:" >&5
38472 sed 's/^/| /' conftest.$ac_ext >&5
38473
38474 ac_cv_type_size_t=no
38475 fi
38476
38477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38478 fi
38479 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
38480 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38481 if test $ac_cv_type_size_t = yes; then
38482 :
38483 else
38484
38485 cat >>confdefs.h <<_ACEOF
38486 #define size_t unsigned int
38487 _ACEOF
38488
38489 fi
38490
38491
38492 { echo "$as_me:$LINENO: checking for ssize_t" >&5
38493 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
38494 if test "${ac_cv_type_ssize_t+set}" = set; then
38495 echo $ECHO_N "(cached) $ECHO_C" >&6
38496 else
38497 cat >conftest.$ac_ext <<_ACEOF
38498 /* confdefs.h. */
38499 _ACEOF
38500 cat confdefs.h >>conftest.$ac_ext
38501 cat >>conftest.$ac_ext <<_ACEOF
38502 /* end confdefs.h. */
38503 $ac_includes_default
38504 typedef ssize_t ac__type_new_;
38505 int
38506 main ()
38507 {
38508 if ((ac__type_new_ *) 0)
38509 return 0;
38510 if (sizeof (ac__type_new_))
38511 return 0;
38512 ;
38513 return 0;
38514 }
38515 _ACEOF
38516 rm -f conftest.$ac_objext
38517 if { (ac_try="$ac_compile"
38518 case "(($ac_try" in
38519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38520 *) ac_try_echo=$ac_try;;
38521 esac
38522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38523 (eval "$ac_compile") 2>conftest.er1
38524 ac_status=$?
38525 grep -v '^ *+' conftest.er1 >conftest.err
38526 rm -f conftest.er1
38527 cat conftest.err >&5
38528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38529 (exit $ac_status); } && {
38530 test -z "$ac_c_werror_flag" ||
38531 test ! -s conftest.err
38532 } && test -s conftest.$ac_objext; then
38533 ac_cv_type_ssize_t=yes
38534 else
38535 echo "$as_me: failed program was:" >&5
38536 sed 's/^/| /' conftest.$ac_ext >&5
38537
38538 ac_cv_type_ssize_t=no
38539 fi
38540
38541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38542 fi
38543 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
38544 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38545 if test $ac_cv_type_ssize_t = yes; then
38546
38547 cat >>confdefs.h <<_ACEOF
38548 #define HAVE_SSIZE_T 1
38549 _ACEOF
38550
38551
38552 fi
38553
38554
38555 ac_ext=cpp
38556 ac_cpp='$CXXCPP $CPPFLAGS'
38557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38560 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
38561 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
38562 if test "${wx_cv_size_t_is_uint+set}" = set; then
38563 echo $ECHO_N "(cached) $ECHO_C" >&6
38564 else
38565
38566 cat >conftest.$ac_ext <<_ACEOF
38567 /* confdefs.h. */
38568 _ACEOF
38569 cat confdefs.h >>conftest.$ac_ext
38570 cat >>conftest.$ac_ext <<_ACEOF
38571 /* end confdefs.h. */
38572 #include <stddef.h>
38573 int
38574 main ()
38575 {
38576
38577 return 0; }
38578
38579 struct Foo { void foo(size_t); void foo(unsigned int); };
38580
38581 int bar() {
38582
38583 ;
38584 return 0;
38585 }
38586 _ACEOF
38587 rm -f conftest.$ac_objext
38588 if { (ac_try="$ac_compile"
38589 case "(($ac_try" in
38590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38591 *) ac_try_echo=$ac_try;;
38592 esac
38593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38594 (eval "$ac_compile") 2>conftest.er1
38595 ac_status=$?
38596 grep -v '^ *+' conftest.er1 >conftest.err
38597 rm -f conftest.er1
38598 cat conftest.err >&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); } && {
38601 test -z "$ac_cxx_werror_flag" ||
38602 test ! -s conftest.err
38603 } && test -s conftest.$ac_objext; then
38604 wx_cv_size_t_is_uint=no
38605 else
38606 echo "$as_me: failed program was:" >&5
38607 sed 's/^/| /' conftest.$ac_ext >&5
38608
38609 wx_cv_size_t_is_uint=yes
38610
38611 fi
38612
38613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38614
38615
38616 fi
38617 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
38618 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38619
38620 if test "$wx_cv_size_t_is_uint" = "yes"; then
38621 cat >>confdefs.h <<\_ACEOF
38622 #define wxSIZE_T_IS_UINT 1
38623 _ACEOF
38624
38625 else
38626 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
38627 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
38628 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38629 echo $ECHO_N "(cached) $ECHO_C" >&6
38630 else
38631 cat >conftest.$ac_ext <<_ACEOF
38632 /* confdefs.h. */
38633 _ACEOF
38634 cat confdefs.h >>conftest.$ac_ext
38635 cat >>conftest.$ac_ext <<_ACEOF
38636 /* end confdefs.h. */
38637 #include <stddef.h>
38638 int
38639 main ()
38640 {
38641
38642 return 0; }
38643
38644 struct Foo { void foo(size_t); void foo(unsigned long); };
38645
38646 int bar() {
38647
38648 ;
38649 return 0;
38650 }
38651 _ACEOF
38652 rm -f conftest.$ac_objext
38653 if { (ac_try="$ac_compile"
38654 case "(($ac_try" in
38655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38656 *) ac_try_echo=$ac_try;;
38657 esac
38658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38659 (eval "$ac_compile") 2>conftest.er1
38660 ac_status=$?
38661 grep -v '^ *+' conftest.er1 >conftest.err
38662 rm -f conftest.er1
38663 cat conftest.err >&5
38664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665 (exit $ac_status); } && {
38666 test -z "$ac_cxx_werror_flag" ||
38667 test ! -s conftest.err
38668 } && test -s conftest.$ac_objext; then
38669 wx_cv_size_t_is_ulong=no
38670 else
38671 echo "$as_me: failed program was:" >&5
38672 sed 's/^/| /' conftest.$ac_ext >&5
38673
38674 wx_cv_size_t_is_ulong=yes
38675
38676 fi
38677
38678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38679
38680 fi
38681 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
38682 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38683
38684 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38685 cat >>confdefs.h <<\_ACEOF
38686 #define wxSIZE_T_IS_ULONG 1
38687 _ACEOF
38688
38689 fi
38690 fi
38691
38692 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
38693 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
38694 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38695 echo $ECHO_N "(cached) $ECHO_C" >&6
38696 else
38697 cat >conftest.$ac_ext <<_ACEOF
38698 /* confdefs.h. */
38699 _ACEOF
38700 cat confdefs.h >>conftest.$ac_ext
38701 cat >>conftest.$ac_ext <<_ACEOF
38702 /* end confdefs.h. */
38703 #include <wchar.h>
38704 int
38705 main ()
38706 {
38707
38708 return 0; }
38709
38710 struct Foo { void foo(wchar_t);
38711 void foo(unsigned short);
38712 void foo(unsigned int);
38713 void foo(unsigned long); };
38714
38715 int bar() {
38716
38717 ;
38718 return 0;
38719 }
38720 _ACEOF
38721 rm -f conftest.$ac_objext
38722 if { (ac_try="$ac_compile"
38723 case "(($ac_try" in
38724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38725 *) ac_try_echo=$ac_try;;
38726 esac
38727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38728 (eval "$ac_compile") 2>conftest.er1
38729 ac_status=$?
38730 grep -v '^ *+' conftest.er1 >conftest.err
38731 rm -f conftest.er1
38732 cat conftest.err >&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } && {
38735 test -z "$ac_cxx_werror_flag" ||
38736 test ! -s conftest.err
38737 } && test -s conftest.$ac_objext; then
38738 wx_cv_wchar_t_is_separate_type=yes
38739 else
38740 echo "$as_me: failed program was:" >&5
38741 sed 's/^/| /' conftest.$ac_ext >&5
38742
38743 wx_cv_wchar_t_is_separate_type=no
38744
38745 fi
38746
38747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38748
38749 fi
38750 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
38751 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38752
38753 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38754 cat >>confdefs.h <<\_ACEOF
38755 #define wxWCHAR_T_IS_REAL_TYPE 1
38756 _ACEOF
38757
38758 else
38759 cat >>confdefs.h <<\_ACEOF
38760 #define wxWCHAR_T_IS_REAL_TYPE 0
38761 _ACEOF
38762
38763 fi
38764
38765 ac_ext=c
38766 ac_cpp='$CPP $CPPFLAGS'
38767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38770
38771
38772 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
38773 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
38774 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38775 echo $ECHO_N "(cached) $ECHO_C" >&6
38776 else
38777
38778 cat >conftest.$ac_ext <<_ACEOF
38779 /* confdefs.h. */
38780 _ACEOF
38781 cat confdefs.h >>conftest.$ac_ext
38782 cat >>conftest.$ac_ext <<_ACEOF
38783 /* end confdefs.h. */
38784 #include <pwd.h>
38785 int
38786 main ()
38787 {
38788
38789 char *p;
38790 struct passwd *pw;
38791 p = pw->pw_gecos;
38792
38793 ;
38794 return 0;
38795 }
38796 _ACEOF
38797 rm -f conftest.$ac_objext
38798 if { (ac_try="$ac_compile"
38799 case "(($ac_try" in
38800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38801 *) ac_try_echo=$ac_try;;
38802 esac
38803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38804 (eval "$ac_compile") 2>conftest.er1
38805 ac_status=$?
38806 grep -v '^ *+' conftest.er1 >conftest.err
38807 rm -f conftest.er1
38808 cat conftest.err >&5
38809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38810 (exit $ac_status); } && {
38811 test -z "$ac_c_werror_flag" ||
38812 test ! -s conftest.err
38813 } && test -s conftest.$ac_objext; then
38814
38815 wx_cv_struct_pw_gecos=yes
38816
38817 else
38818 echo "$as_me: failed program was:" >&5
38819 sed 's/^/| /' conftest.$ac_ext >&5
38820
38821
38822 wx_cv_struct_pw_gecos=no
38823
38824
38825 fi
38826
38827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38828
38829
38830 fi
38831 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
38832 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38833
38834 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38835 cat >>confdefs.h <<\_ACEOF
38836 #define HAVE_PW_GECOS 1
38837 _ACEOF
38838
38839 fi
38840
38841
38842 WCSLEN_FOUND=0
38843 WCHAR_LINK=
38844
38845 for ac_func in wcslen
38846 do
38847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38851 echo $ECHO_N "(cached) $ECHO_C" >&6
38852 else
38853 cat >conftest.$ac_ext <<_ACEOF
38854 /* confdefs.h. */
38855 _ACEOF
38856 cat confdefs.h >>conftest.$ac_ext
38857 cat >>conftest.$ac_ext <<_ACEOF
38858 /* end confdefs.h. */
38859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38861 #define $ac_func innocuous_$ac_func
38862
38863 /* System header to define __stub macros and hopefully few prototypes,
38864 which can conflict with char $ac_func (); below.
38865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38866 <limits.h> exists even on freestanding compilers. */
38867
38868 #ifdef __STDC__
38869 # include <limits.h>
38870 #else
38871 # include <assert.h>
38872 #endif
38873
38874 #undef $ac_func
38875
38876 /* Override any GCC internal prototype to avoid an error.
38877 Use char because int might match the return type of a GCC
38878 builtin and then its argument prototype would still apply. */
38879 #ifdef __cplusplus
38880 extern "C"
38881 #endif
38882 char $ac_func ();
38883 /* The GNU C library defines this for functions which it implements
38884 to always fail with ENOSYS. Some functions are actually named
38885 something starting with __ and the normal name is an alias. */
38886 #if defined __stub_$ac_func || defined __stub___$ac_func
38887 choke me
38888 #endif
38889
38890 int
38891 main ()
38892 {
38893 return $ac_func ();
38894 ;
38895 return 0;
38896 }
38897 _ACEOF
38898 rm -f conftest.$ac_objext conftest$ac_exeext
38899 if { (ac_try="$ac_link"
38900 case "(($ac_try" in
38901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38902 *) ac_try_echo=$ac_try;;
38903 esac
38904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38905 (eval "$ac_link") 2>conftest.er1
38906 ac_status=$?
38907 grep -v '^ *+' conftest.er1 >conftest.err
38908 rm -f conftest.er1
38909 cat conftest.err >&5
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); } && {
38912 test -z "$ac_c_werror_flag" ||
38913 test ! -s conftest.err
38914 } && test -s conftest$ac_exeext &&
38915 $as_test_x conftest$ac_exeext; then
38916 eval "$as_ac_var=yes"
38917 else
38918 echo "$as_me: failed program was:" >&5
38919 sed 's/^/| /' conftest.$ac_ext >&5
38920
38921 eval "$as_ac_var=no"
38922 fi
38923
38924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38925 conftest$ac_exeext conftest.$ac_ext
38926 fi
38927 ac_res=`eval echo '${'$as_ac_var'}'`
38928 { echo "$as_me:$LINENO: result: $ac_res" >&5
38929 echo "${ECHO_T}$ac_res" >&6; }
38930 if test `eval echo '${'$as_ac_var'}'` = yes; then
38931 cat >>confdefs.h <<_ACEOF
38932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38933 _ACEOF
38934 WCSLEN_FOUND=1
38935 fi
38936 done
38937
38938
38939 if test "$WCSLEN_FOUND" = 0; then
38940 if test "$TOOLKIT" = "MSW"; then
38941 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
38942 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
38943 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38944 echo $ECHO_N "(cached) $ECHO_C" >&6
38945 else
38946 ac_check_lib_save_LIBS=$LIBS
38947 LIBS="-lmsvcrt $LIBS"
38948 cat >conftest.$ac_ext <<_ACEOF
38949 /* confdefs.h. */
38950 _ACEOF
38951 cat confdefs.h >>conftest.$ac_ext
38952 cat >>conftest.$ac_ext <<_ACEOF
38953 /* end confdefs.h. */
38954
38955 /* Override any GCC internal prototype to avoid an error.
38956 Use char because int might match the return type of a GCC
38957 builtin and then its argument prototype would still apply. */
38958 #ifdef __cplusplus
38959 extern "C"
38960 #endif
38961 char wcslen ();
38962 int
38963 main ()
38964 {
38965 return wcslen ();
38966 ;
38967 return 0;
38968 }
38969 _ACEOF
38970 rm -f conftest.$ac_objext conftest$ac_exeext
38971 if { (ac_try="$ac_link"
38972 case "(($ac_try" in
38973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38974 *) ac_try_echo=$ac_try;;
38975 esac
38976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38977 (eval "$ac_link") 2>conftest.er1
38978 ac_status=$?
38979 grep -v '^ *+' conftest.er1 >conftest.err
38980 rm -f conftest.er1
38981 cat conftest.err >&5
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); } && {
38984 test -z "$ac_c_werror_flag" ||
38985 test ! -s conftest.err
38986 } && test -s conftest$ac_exeext &&
38987 $as_test_x conftest$ac_exeext; then
38988 ac_cv_lib_msvcrt_wcslen=yes
38989 else
38990 echo "$as_me: failed program was:" >&5
38991 sed 's/^/| /' conftest.$ac_ext >&5
38992
38993 ac_cv_lib_msvcrt_wcslen=no
38994 fi
38995
38996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38997 conftest$ac_exeext conftest.$ac_ext
38998 LIBS=$ac_check_lib_save_LIBS
38999 fi
39000 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
39001 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
39002 if test $ac_cv_lib_msvcrt_wcslen = yes; then
39003 WCHAR_OK=1
39004 fi
39005
39006 else
39007 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
39008 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
39009 if test "${ac_cv_lib_w_wcslen+set}" = set; then
39010 echo $ECHO_N "(cached) $ECHO_C" >&6
39011 else
39012 ac_check_lib_save_LIBS=$LIBS
39013 LIBS="-lw $LIBS"
39014 cat >conftest.$ac_ext <<_ACEOF
39015 /* confdefs.h. */
39016 _ACEOF
39017 cat confdefs.h >>conftest.$ac_ext
39018 cat >>conftest.$ac_ext <<_ACEOF
39019 /* end confdefs.h. */
39020
39021 /* Override any GCC internal prototype to avoid an error.
39022 Use char because int might match the return type of a GCC
39023 builtin and then its argument prototype would still apply. */
39024 #ifdef __cplusplus
39025 extern "C"
39026 #endif
39027 char wcslen ();
39028 int
39029 main ()
39030 {
39031 return wcslen ();
39032 ;
39033 return 0;
39034 }
39035 _ACEOF
39036 rm -f conftest.$ac_objext conftest$ac_exeext
39037 if { (ac_try="$ac_link"
39038 case "(($ac_try" in
39039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39040 *) ac_try_echo=$ac_try;;
39041 esac
39042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39043 (eval "$ac_link") 2>conftest.er1
39044 ac_status=$?
39045 grep -v '^ *+' conftest.er1 >conftest.err
39046 rm -f conftest.er1
39047 cat conftest.err >&5
39048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39049 (exit $ac_status); } && {
39050 test -z "$ac_c_werror_flag" ||
39051 test ! -s conftest.err
39052 } && test -s conftest$ac_exeext &&
39053 $as_test_x conftest$ac_exeext; then
39054 ac_cv_lib_w_wcslen=yes
39055 else
39056 echo "$as_me: failed program was:" >&5
39057 sed 's/^/| /' conftest.$ac_ext >&5
39058
39059 ac_cv_lib_w_wcslen=no
39060 fi
39061
39062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39063 conftest$ac_exeext conftest.$ac_ext
39064 LIBS=$ac_check_lib_save_LIBS
39065 fi
39066 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
39067 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
39068 if test $ac_cv_lib_w_wcslen = yes; then
39069
39070 WCHAR_LINK=" -lw"
39071 WCSLEN_FOUND=1
39072
39073 fi
39074
39075 fi
39076 fi
39077
39078 if test "$WCSLEN_FOUND" = 1; then
39079 cat >>confdefs.h <<\_ACEOF
39080 #define HAVE_WCSLEN 1
39081 _ACEOF
39082
39083 fi
39084
39085
39086
39087
39088
39089
39090
39091 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
39092 do
39093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39094 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39096 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39097 echo $ECHO_N "(cached) $ECHO_C" >&6
39098 else
39099 cat >conftest.$ac_ext <<_ACEOF
39100 /* confdefs.h. */
39101 _ACEOF
39102 cat confdefs.h >>conftest.$ac_ext
39103 cat >>conftest.$ac_ext <<_ACEOF
39104 /* end confdefs.h. */
39105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39107 #define $ac_func innocuous_$ac_func
39108
39109 /* System header to define __stub macros and hopefully few prototypes,
39110 which can conflict with char $ac_func (); below.
39111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39112 <limits.h> exists even on freestanding compilers. */
39113
39114 #ifdef __STDC__
39115 # include <limits.h>
39116 #else
39117 # include <assert.h>
39118 #endif
39119
39120 #undef $ac_func
39121
39122 /* Override any GCC internal prototype to avoid an error.
39123 Use char because int might match the return type of a GCC
39124 builtin and then its argument prototype would still apply. */
39125 #ifdef __cplusplus
39126 extern "C"
39127 #endif
39128 char $ac_func ();
39129 /* The GNU C library defines this for functions which it implements
39130 to always fail with ENOSYS. Some functions are actually named
39131 something starting with __ and the normal name is an alias. */
39132 #if defined __stub_$ac_func || defined __stub___$ac_func
39133 choke me
39134 #endif
39135
39136 int
39137 main ()
39138 {
39139 return $ac_func ();
39140 ;
39141 return 0;
39142 }
39143 _ACEOF
39144 rm -f conftest.$ac_objext conftest$ac_exeext
39145 if { (ac_try="$ac_link"
39146 case "(($ac_try" in
39147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39148 *) ac_try_echo=$ac_try;;
39149 esac
39150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39151 (eval "$ac_link") 2>conftest.er1
39152 ac_status=$?
39153 grep -v '^ *+' conftest.er1 >conftest.err
39154 rm -f conftest.er1
39155 cat conftest.err >&5
39156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39157 (exit $ac_status); } && {
39158 test -z "$ac_c_werror_flag" ||
39159 test ! -s conftest.err
39160 } && test -s conftest$ac_exeext &&
39161 $as_test_x conftest$ac_exeext; then
39162 eval "$as_ac_var=yes"
39163 else
39164 echo "$as_me: failed program was:" >&5
39165 sed 's/^/| /' conftest.$ac_ext >&5
39166
39167 eval "$as_ac_var=no"
39168 fi
39169
39170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39171 conftest$ac_exeext conftest.$ac_ext
39172 fi
39173 ac_res=`eval echo '${'$as_ac_var'}'`
39174 { echo "$as_me:$LINENO: result: $ac_res" >&5
39175 echo "${ECHO_T}$ac_res" >&6; }
39176 if test `eval echo '${'$as_ac_var'}'` = yes; then
39177 cat >>confdefs.h <<_ACEOF
39178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39179 _ACEOF
39180
39181 fi
39182 done
39183
39184
39185 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
39186 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
39187 fi
39188
39189 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
39190 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
39191 if test "${ac_cv_type_mbstate_t+set}" = set; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 else
39194 cat >conftest.$ac_ext <<_ACEOF
39195 /* confdefs.h. */
39196 _ACEOF
39197 cat confdefs.h >>conftest.$ac_ext
39198 cat >>conftest.$ac_ext <<_ACEOF
39199 /* end confdefs.h. */
39200 #include <wchar.h>
39201
39202 typedef mbstate_t ac__type_new_;
39203 int
39204 main ()
39205 {
39206 if ((ac__type_new_ *) 0)
39207 return 0;
39208 if (sizeof (ac__type_new_))
39209 return 0;
39210 ;
39211 return 0;
39212 }
39213 _ACEOF
39214 rm -f conftest.$ac_objext
39215 if { (ac_try="$ac_compile"
39216 case "(($ac_try" in
39217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39218 *) ac_try_echo=$ac_try;;
39219 esac
39220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39221 (eval "$ac_compile") 2>conftest.er1
39222 ac_status=$?
39223 grep -v '^ *+' conftest.er1 >conftest.err
39224 rm -f conftest.er1
39225 cat conftest.err >&5
39226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39227 (exit $ac_status); } && {
39228 test -z "$ac_c_werror_flag" ||
39229 test ! -s conftest.err
39230 } && test -s conftest.$ac_objext; then
39231 ac_cv_type_mbstate_t=yes
39232 else
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39235
39236 ac_cv_type_mbstate_t=no
39237 fi
39238
39239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39240 fi
39241 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
39242 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39243 if test $ac_cv_type_mbstate_t = yes; then
39244
39245 cat >>confdefs.h <<_ACEOF
39246 #define HAVE_MBSTATE_T 1
39247 _ACEOF
39248
39249
39250 for ac_func in wcsrtombs
39251 do
39252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39256 echo $ECHO_N "(cached) $ECHO_C" >&6
39257 else
39258 cat >conftest.$ac_ext <<_ACEOF
39259 /* confdefs.h. */
39260 _ACEOF
39261 cat confdefs.h >>conftest.$ac_ext
39262 cat >>conftest.$ac_ext <<_ACEOF
39263 /* end confdefs.h. */
39264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39266 #define $ac_func innocuous_$ac_func
39267
39268 /* System header to define __stub macros and hopefully few prototypes,
39269 which can conflict with char $ac_func (); below.
39270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39271 <limits.h> exists even on freestanding compilers. */
39272
39273 #ifdef __STDC__
39274 # include <limits.h>
39275 #else
39276 # include <assert.h>
39277 #endif
39278
39279 #undef $ac_func
39280
39281 /* Override any GCC internal prototype to avoid an error.
39282 Use char because int might match the return type of a GCC
39283 builtin and then its argument prototype would still apply. */
39284 #ifdef __cplusplus
39285 extern "C"
39286 #endif
39287 char $ac_func ();
39288 /* The GNU C library defines this for functions which it implements
39289 to always fail with ENOSYS. Some functions are actually named
39290 something starting with __ and the normal name is an alias. */
39291 #if defined __stub_$ac_func || defined __stub___$ac_func
39292 choke me
39293 #endif
39294
39295 int
39296 main ()
39297 {
39298 return $ac_func ();
39299 ;
39300 return 0;
39301 }
39302 _ACEOF
39303 rm -f conftest.$ac_objext conftest$ac_exeext
39304 if { (ac_try="$ac_link"
39305 case "(($ac_try" in
39306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39307 *) ac_try_echo=$ac_try;;
39308 esac
39309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39310 (eval "$ac_link") 2>conftest.er1
39311 ac_status=$?
39312 grep -v '^ *+' conftest.er1 >conftest.err
39313 rm -f conftest.er1
39314 cat conftest.err >&5
39315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39316 (exit $ac_status); } && {
39317 test -z "$ac_c_werror_flag" ||
39318 test ! -s conftest.err
39319 } && test -s conftest$ac_exeext &&
39320 $as_test_x conftest$ac_exeext; then
39321 eval "$as_ac_var=yes"
39322 else
39323 echo "$as_me: failed program was:" >&5
39324 sed 's/^/| /' conftest.$ac_ext >&5
39325
39326 eval "$as_ac_var=no"
39327 fi
39328
39329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39330 conftest$ac_exeext conftest.$ac_ext
39331 fi
39332 ac_res=`eval echo '${'$as_ac_var'}'`
39333 { echo "$as_me:$LINENO: result: $ac_res" >&5
39334 echo "${ECHO_T}$ac_res" >&6; }
39335 if test `eval echo '${'$as_ac_var'}'` = yes; then
39336 cat >>confdefs.h <<_ACEOF
39337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39338 _ACEOF
39339
39340 fi
39341 done
39342
39343 fi
39344
39345
39346
39347
39348
39349 for ac_func in snprintf vsnprintf vsscanf
39350 do
39351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39352 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39354 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39355 echo $ECHO_N "(cached) $ECHO_C" >&6
39356 else
39357 cat >conftest.$ac_ext <<_ACEOF
39358 /* confdefs.h. */
39359 _ACEOF
39360 cat confdefs.h >>conftest.$ac_ext
39361 cat >>conftest.$ac_ext <<_ACEOF
39362 /* end confdefs.h. */
39363 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39364 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39365 #define $ac_func innocuous_$ac_func
39366
39367 /* System header to define __stub macros and hopefully few prototypes,
39368 which can conflict with char $ac_func (); below.
39369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39370 <limits.h> exists even on freestanding compilers. */
39371
39372 #ifdef __STDC__
39373 # include <limits.h>
39374 #else
39375 # include <assert.h>
39376 #endif
39377
39378 #undef $ac_func
39379
39380 /* Override any GCC internal prototype to avoid an error.
39381 Use char because int might match the return type of a GCC
39382 builtin and then its argument prototype would still apply. */
39383 #ifdef __cplusplus
39384 extern "C"
39385 #endif
39386 char $ac_func ();
39387 /* The GNU C library defines this for functions which it implements
39388 to always fail with ENOSYS. Some functions are actually named
39389 something starting with __ and the normal name is an alias. */
39390 #if defined __stub_$ac_func || defined __stub___$ac_func
39391 choke me
39392 #endif
39393
39394 int
39395 main ()
39396 {
39397 return $ac_func ();
39398 ;
39399 return 0;
39400 }
39401 _ACEOF
39402 rm -f conftest.$ac_objext conftest$ac_exeext
39403 if { (ac_try="$ac_link"
39404 case "(($ac_try" in
39405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39406 *) ac_try_echo=$ac_try;;
39407 esac
39408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39409 (eval "$ac_link") 2>conftest.er1
39410 ac_status=$?
39411 grep -v '^ *+' conftest.er1 >conftest.err
39412 rm -f conftest.er1
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } && {
39416 test -z "$ac_c_werror_flag" ||
39417 test ! -s conftest.err
39418 } && test -s conftest$ac_exeext &&
39419 $as_test_x conftest$ac_exeext; then
39420 eval "$as_ac_var=yes"
39421 else
39422 echo "$as_me: failed program was:" >&5
39423 sed 's/^/| /' conftest.$ac_ext >&5
39424
39425 eval "$as_ac_var=no"
39426 fi
39427
39428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39429 conftest$ac_exeext conftest.$ac_ext
39430 fi
39431 ac_res=`eval echo '${'$as_ac_var'}'`
39432 { echo "$as_me:$LINENO: result: $ac_res" >&5
39433 echo "${ECHO_T}$ac_res" >&6; }
39434 if test `eval echo '${'$as_ac_var'}'` = yes; then
39435 cat >>confdefs.h <<_ACEOF
39436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39437 _ACEOF
39438
39439 fi
39440 done
39441
39442
39443 ac_ext=cpp
39444 ac_cpp='$CXXCPP $CPPFLAGS'
39445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39448
39449 if test "$ac_cv_func_vsnprintf" = "yes"; then
39450 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
39451 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
39452 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39453 echo $ECHO_N "(cached) $ECHO_C" >&6
39454 else
39455
39456 cat >conftest.$ac_ext <<_ACEOF
39457 /* confdefs.h. */
39458 _ACEOF
39459 cat confdefs.h >>conftest.$ac_ext
39460 cat >>conftest.$ac_ext <<_ACEOF
39461 /* end confdefs.h. */
39462
39463 #include <stdio.h>
39464 #include <stdarg.h>
39465 #ifdef __MSL__
39466 #if __MSL__ >= 0x6000
39467 namespace std {}
39468 using namespace std;
39469 #endif
39470 #endif
39471
39472 int
39473 main ()
39474 {
39475
39476 char *buf;
39477 va_list ap;
39478 vsnprintf(buf, 10u, "%s", ap);
39479
39480 ;
39481 return 0;
39482 }
39483 _ACEOF
39484 rm -f conftest.$ac_objext
39485 if { (ac_try="$ac_compile"
39486 case "(($ac_try" in
39487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39488 *) ac_try_echo=$ac_try;;
39489 esac
39490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39491 (eval "$ac_compile") 2>conftest.er1
39492 ac_status=$?
39493 grep -v '^ *+' conftest.er1 >conftest.err
39494 rm -f conftest.er1
39495 cat conftest.err >&5
39496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39497 (exit $ac_status); } && {
39498 test -z "$ac_cxx_werror_flag" ||
39499 test ! -s conftest.err
39500 } && test -s conftest.$ac_objext; then
39501 wx_cv_func_vsnprintf_decl=yes
39502 else
39503 echo "$as_me: failed program was:" >&5
39504 sed 's/^/| /' conftest.$ac_ext >&5
39505
39506 wx_cv_func_vsnprintf_decl=no
39507
39508 fi
39509
39510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39511
39512
39513 fi
39514 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
39515 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39516
39517 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39518 cat >>confdefs.h <<\_ACEOF
39519 #define HAVE_VSNPRINTF_DECL 1
39520 _ACEOF
39521
39522
39523 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
39524 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
39525 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39526 echo $ECHO_N "(cached) $ECHO_C" >&6
39527 else
39528
39529 cat >conftest.$ac_ext <<_ACEOF
39530 /* confdefs.h. */
39531 _ACEOF
39532 cat confdefs.h >>conftest.$ac_ext
39533 cat >>conftest.$ac_ext <<_ACEOF
39534 /* end confdefs.h. */
39535
39536 #include <stdio.h>
39537 #include <stdarg.h>
39538 #ifdef __MSL__
39539 #if __MSL__ >= 0x6000
39540 namespace std {}
39541 using namespace std;
39542 #endif
39543 #endif
39544
39545 int
39546 main ()
39547 {
39548
39549 char *buf;
39550 va_list ap;
39551 const char *fmt = "%s";
39552 vsnprintf(buf, 10u, fmt, ap);
39553
39554 ;
39555 return 0;
39556 }
39557 _ACEOF
39558 rm -f conftest.$ac_objext
39559 if { (ac_try="$ac_compile"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39562 *) ac_try_echo=$ac_try;;
39563 esac
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_compile") 2>conftest.er1
39566 ac_status=$?
39567 grep -v '^ *+' conftest.er1 >conftest.err
39568 rm -f conftest.er1
39569 cat conftest.err >&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_cxx_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest.$ac_objext; then
39575 wx_cv_func_broken_vsnprintf_decl=no
39576 else
39577 echo "$as_me: failed program was:" >&5
39578 sed 's/^/| /' conftest.$ac_ext >&5
39579
39580 wx_cv_func_broken_vsnprintf_decl=yes
39581
39582 fi
39583
39584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39585
39586
39587 fi
39588 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
39589 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39590
39591 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39592 cat >>confdefs.h <<\_ACEOF
39593 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39594 _ACEOF
39595
39596 fi
39597 fi
39598 fi
39599
39600 if test "$ac_cv_func_snprintf" = "yes"; then
39601 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
39602 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
39603 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39604 echo $ECHO_N "(cached) $ECHO_C" >&6
39605 else
39606
39607 cat >conftest.$ac_ext <<_ACEOF
39608 /* confdefs.h. */
39609 _ACEOF
39610 cat confdefs.h >>conftest.$ac_ext
39611 cat >>conftest.$ac_ext <<_ACEOF
39612 /* end confdefs.h. */
39613
39614 #include <stdio.h>
39615 #include <stdarg.h>
39616 #ifdef __MSL__
39617 #if __MSL__ >= 0x6000
39618 namespace std {}
39619 using namespace std;
39620 #endif
39621 #endif
39622
39623 int
39624 main ()
39625 {
39626
39627 char *buf;
39628 snprintf(buf, 10u, "%s", "wx");
39629
39630 ;
39631 return 0;
39632 }
39633 _ACEOF
39634 rm -f conftest.$ac_objext
39635 if { (ac_try="$ac_compile"
39636 case "(($ac_try" in
39637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39638 *) ac_try_echo=$ac_try;;
39639 esac
39640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39641 (eval "$ac_compile") 2>conftest.er1
39642 ac_status=$?
39643 grep -v '^ *+' conftest.er1 >conftest.err
39644 rm -f conftest.er1
39645 cat conftest.err >&5
39646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39647 (exit $ac_status); } && {
39648 test -z "$ac_cxx_werror_flag" ||
39649 test ! -s conftest.err
39650 } && test -s conftest.$ac_objext; then
39651 wx_cv_func_snprintf_decl=yes
39652 else
39653 echo "$as_me: failed program was:" >&5
39654 sed 's/^/| /' conftest.$ac_ext >&5
39655
39656 wx_cv_func_snprintf_decl=no
39657
39658 fi
39659
39660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39661
39662
39663 fi
39664 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
39665 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39666
39667 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39668 cat >>confdefs.h <<\_ACEOF
39669 #define HAVE_SNPRINTF_DECL 1
39670 _ACEOF
39671
39672 fi
39673
39674 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39675
39676 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
39677 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
39678 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39679 echo $ECHO_N "(cached) $ECHO_C" >&6
39680 else
39681
39682 if test "$cross_compiling" = yes; then
39683
39684 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
39685 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
39686 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
39687 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
39688 wx_cv_func_snprintf_pos_params=no
39689
39690
39691 else
39692 cat >conftest.$ac_ext <<_ACEOF
39693 /* confdefs.h. */
39694 _ACEOF
39695 cat confdefs.h >>conftest.$ac_ext
39696 cat >>conftest.$ac_ext <<_ACEOF
39697 /* end confdefs.h. */
39698
39699 #include <stdio.h>
39700
39701 int main (void)
39702 {
39703 char buffer[128];
39704 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39705 if (strcmp ("2 3 1", buffer) == 0)
39706 exit (0);
39707 exit (1);
39708 }
39709
39710 _ACEOF
39711 rm -f conftest$ac_exeext
39712 if { (ac_try="$ac_link"
39713 case "(($ac_try" in
39714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39715 *) ac_try_echo=$ac_try;;
39716 esac
39717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39718 (eval "$ac_link") 2>&5
39719 ac_status=$?
39720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39722 { (case "(($ac_try" in
39723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39724 *) ac_try_echo=$ac_try;;
39725 esac
39726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39727 (eval "$ac_try") 2>&5
39728 ac_status=$?
39729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39730 (exit $ac_status); }; }; then
39731 wx_cv_func_snprintf_pos_params=no
39732 else
39733 echo "$as_me: program exited with status $ac_status" >&5
39734 echo "$as_me: failed program was:" >&5
39735 sed 's/^/| /' conftest.$ac_ext >&5
39736
39737 ( exit $ac_status )
39738 wx_cv_func_snprintf_pos_params=yes
39739 fi
39740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39741 fi
39742
39743
39744
39745
39746 fi
39747 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
39748 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39749
39750 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39751 cat >>confdefs.h <<\_ACEOF
39752 #define HAVE_UNIX98_PRINTF 1
39753 _ACEOF
39754
39755 fi
39756 fi
39757 fi
39758
39759 if test "$ac_cv_func_vsscanf" = "yes"; then
39760 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
39761 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
39762 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39763 echo $ECHO_N "(cached) $ECHO_C" >&6
39764 else
39765
39766 cat >conftest.$ac_ext <<_ACEOF
39767 /* confdefs.h. */
39768 _ACEOF
39769 cat confdefs.h >>conftest.$ac_ext
39770 cat >>conftest.$ac_ext <<_ACEOF
39771 /* end confdefs.h. */
39772
39773 #include <stdio.h>
39774 #include <stdarg.h>
39775 #ifdef __MSL__
39776 #if __MSL__ >= 0x6000
39777 namespace std {}
39778 using namespace std;
39779 #endif
39780 #endif
39781
39782 int
39783 main ()
39784 {
39785
39786 char *buf;
39787 va_list args;
39788 vsscanf(buf, "%s", args);
39789
39790 ;
39791 return 0;
39792 }
39793 _ACEOF
39794 rm -f conftest.$ac_objext
39795 if { (ac_try="$ac_compile"
39796 case "(($ac_try" in
39797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39798 *) ac_try_echo=$ac_try;;
39799 esac
39800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39801 (eval "$ac_compile") 2>conftest.er1
39802 ac_status=$?
39803 grep -v '^ *+' conftest.er1 >conftest.err
39804 rm -f conftest.er1
39805 cat conftest.err >&5
39806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39807 (exit $ac_status); } && {
39808 test -z "$ac_cxx_werror_flag" ||
39809 test ! -s conftest.err
39810 } && test -s conftest.$ac_objext; then
39811 wx_cv_func_vsscanf_decl=yes
39812 else
39813 echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39815
39816 wx_cv_func_vsscanf_decl=no
39817
39818 fi
39819
39820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39821
39822
39823 fi
39824 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
39825 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39826
39827 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39828 cat >>confdefs.h <<\_ACEOF
39829 #define HAVE_VSSCANF_DECL 1
39830 _ACEOF
39831
39832 fi
39833 fi
39834 ac_ext=c
39835 ac_cpp='$CPP $CPPFLAGS'
39836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39839
39840
39841 if test "$wxUSE_UNICODE" = yes; then
39842
39843 wchar_headers="#include <stdio.h>
39844 #include <wchar.h>"
39845 case "${host}" in
39846 *-*-solaris2* )
39847
39848 for ac_header in widec.h
39849 do
39850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39854 echo $ECHO_N "(cached) $ECHO_C" >&6
39855 else
39856 cat >conftest.$ac_ext <<_ACEOF
39857 /* confdefs.h. */
39858 _ACEOF
39859 cat confdefs.h >>conftest.$ac_ext
39860 cat >>conftest.$ac_ext <<_ACEOF
39861 /* end confdefs.h. */
39862 $ac_includes_default
39863
39864 #include <$ac_header>
39865 _ACEOF
39866 rm -f conftest.$ac_objext
39867 if { (ac_try="$ac_compile"
39868 case "(($ac_try" in
39869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39870 *) ac_try_echo=$ac_try;;
39871 esac
39872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39873 (eval "$ac_compile") 2>conftest.er1
39874 ac_status=$?
39875 grep -v '^ *+' conftest.er1 >conftest.err
39876 rm -f conftest.er1
39877 cat conftest.err >&5
39878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39879 (exit $ac_status); } && {
39880 test -z "$ac_c_werror_flag" ||
39881 test ! -s conftest.err
39882 } && test -s conftest.$ac_objext; then
39883 eval "$as_ac_Header=yes"
39884 else
39885 echo "$as_me: failed program was:" >&5
39886 sed 's/^/| /' conftest.$ac_ext >&5
39887
39888 eval "$as_ac_Header=no"
39889 fi
39890
39891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39892 fi
39893 ac_res=`eval echo '${'$as_ac_Header'}'`
39894 { echo "$as_me:$LINENO: result: $ac_res" >&5
39895 echo "${ECHO_T}$ac_res" >&6; }
39896 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39897 cat >>confdefs.h <<_ACEOF
39898 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39899 _ACEOF
39900
39901 fi
39902
39903 done
39904
39905 if test "$ac_cv_header_widec_h" = "yes"; then
39906 wchar_headers="$wchar_headers
39907 #include <widec.h>"
39908 fi
39909 esac
39910
39911
39912 for wx_func in putws fputws wprintf vswprintf vswscanf
39913 do
39914 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39915 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39916 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39917 echo $ECHO_N "(cached) $ECHO_C" >&6
39918 else
39919
39920 cat >conftest.$ac_ext <<_ACEOF
39921
39922 /* confdefs.h. */
39923 _ACEOF
39924 cat confdefs.h >>conftest.$ac_ext
39925 cat >>conftest.$ac_ext <<_ACEOF
39926 /* end confdefs.h. */
39927
39928 $wchar_headers
39929 $ac_includes_default
39930
39931 int
39932 main ()
39933 {
39934
39935 #ifndef $wx_func
39936 &$wx_func;
39937 #endif
39938
39939
39940 ;
39941 return 0;
39942 }
39943
39944 _ACEOF
39945 rm -f conftest.$ac_objext conftest$ac_exeext
39946 if { (ac_try="$ac_link"
39947 case "(($ac_try" in
39948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39949 *) ac_try_echo=$ac_try;;
39950 esac
39951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39952 (eval "$ac_link") 2>conftest.er1
39953 ac_status=$?
39954 grep -v '^ *+' conftest.er1 >conftest.err
39955 rm -f conftest.er1
39956 cat conftest.err >&5
39957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39958 (exit $ac_status); } && {
39959 test -z "$ac_c_werror_flag" ||
39960 test ! -s conftest.err
39961 } && test -s conftest$ac_exeext &&
39962 $as_test_x conftest$ac_exeext; then
39963 eval wx_cv_func_$wx_func=yes
39964 else
39965 echo "$as_me: failed program was:" >&5
39966 sed 's/^/| /' conftest.$ac_ext >&5
39967
39968 eval wx_cv_func_$wx_func=no
39969 fi
39970
39971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39972 conftest$ac_exeext conftest.$ac_ext
39973
39974 fi
39975 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39976 { echo "$as_me:$LINENO: result: $ac_res" >&5
39977 echo "${ECHO_T}$ac_res" >&6; }
39978
39979 if eval test \$wx_cv_func_$wx_func = yes
39980 then
39981 cat >>confdefs.h <<_ACEOF
39982 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39983 _ACEOF
39984
39985
39986 else
39987 :
39988
39989 fi
39990 done
39991
39992
39993 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39994 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39995 cat >conftest.$ac_ext <<_ACEOF
39996 /* confdefs.h. */
39997 _ACEOF
39998 cat confdefs.h >>conftest.$ac_ext
39999 cat >>conftest.$ac_ext <<_ACEOF
40000 /* end confdefs.h. */
40001 #include <wchar.h>
40002 int
40003 main ()
40004 {
40005 &_vsnwprintf;
40006 ;
40007 return 0;
40008 }
40009 _ACEOF
40010 rm -f conftest.$ac_objext
40011 if { (ac_try="$ac_compile"
40012 case "(($ac_try" in
40013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40014 *) ac_try_echo=$ac_try;;
40015 esac
40016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40017 (eval "$ac_compile") 2>conftest.er1
40018 ac_status=$?
40019 grep -v '^ *+' conftest.er1 >conftest.err
40020 rm -f conftest.er1
40021 cat conftest.err >&5
40022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40023 (exit $ac_status); } && {
40024 test -z "$ac_c_werror_flag" ||
40025 test ! -s conftest.err
40026 } && test -s conftest.$ac_objext; then
40027 { echo "$as_me:$LINENO: result: yes" >&5
40028 echo "${ECHO_T}yes" >&6; }
40029 cat >>confdefs.h <<\_ACEOF
40030 #define HAVE__VSNWPRINTF 1
40031 _ACEOF
40032
40033 else
40034 echo "$as_me: failed program was:" >&5
40035 sed 's/^/| /' conftest.$ac_ext >&5
40036
40037 { echo "$as_me:$LINENO: result: no" >&5
40038 echo "${ECHO_T}no" >&6; }
40039 fi
40040
40041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
40042 fi
40043
40044 if test "$wxUSE_FILE" = "yes"; then
40045
40046 for wx_func in fsync
40047 do
40048 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40049 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40050 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40051 echo $ECHO_N "(cached) $ECHO_C" >&6
40052 else
40053
40054 cat >conftest.$ac_ext <<_ACEOF
40055
40056 /* confdefs.h. */
40057 _ACEOF
40058 cat confdefs.h >>conftest.$ac_ext
40059 cat >>conftest.$ac_ext <<_ACEOF
40060 /* end confdefs.h. */
40061
40062
40063 $ac_includes_default
40064
40065 int
40066 main ()
40067 {
40068
40069 #ifndef $wx_func
40070 &$wx_func;
40071 #endif
40072
40073
40074 ;
40075 return 0;
40076 }
40077
40078 _ACEOF
40079 rm -f conftest.$ac_objext conftest$ac_exeext
40080 if { (ac_try="$ac_link"
40081 case "(($ac_try" in
40082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40083 *) ac_try_echo=$ac_try;;
40084 esac
40085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40086 (eval "$ac_link") 2>conftest.er1
40087 ac_status=$?
40088 grep -v '^ *+' conftest.er1 >conftest.err
40089 rm -f conftest.er1
40090 cat conftest.err >&5
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); } && {
40093 test -z "$ac_c_werror_flag" ||
40094 test ! -s conftest.err
40095 } && test -s conftest$ac_exeext &&
40096 $as_test_x conftest$ac_exeext; then
40097 eval wx_cv_func_$wx_func=yes
40098 else
40099 echo "$as_me: failed program was:" >&5
40100 sed 's/^/| /' conftest.$ac_ext >&5
40101
40102 eval wx_cv_func_$wx_func=no
40103 fi
40104
40105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40106 conftest$ac_exeext conftest.$ac_ext
40107
40108 fi
40109 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40110 { echo "$as_me:$LINENO: result: $ac_res" >&5
40111 echo "${ECHO_T}$ac_res" >&6; }
40112
40113 if eval test \$wx_cv_func_$wx_func = yes
40114 then
40115 cat >>confdefs.h <<_ACEOF
40116 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40117 _ACEOF
40118
40119
40120 else
40121 :
40122
40123 fi
40124 done
40125
40126 fi
40127
40128 ac_ext=cpp
40129 ac_cpp='$CXXCPP $CPPFLAGS'
40130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40133
40134
40135 for wx_func in round
40136 do
40137 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40138 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40139 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40140 echo $ECHO_N "(cached) $ECHO_C" >&6
40141 else
40142
40143 cat >conftest.$ac_ext <<_ACEOF
40144
40145 /* confdefs.h. */
40146 _ACEOF
40147 cat confdefs.h >>conftest.$ac_ext
40148 cat >>conftest.$ac_ext <<_ACEOF
40149 /* end confdefs.h. */
40150
40151 #include <math.h>
40152 $ac_includes_default
40153
40154 int
40155 main ()
40156 {
40157
40158 #ifndef $wx_func
40159 &$wx_func;
40160 #endif
40161
40162
40163 ;
40164 return 0;
40165 }
40166
40167 _ACEOF
40168 rm -f conftest.$ac_objext conftest$ac_exeext
40169 if { (ac_try="$ac_link"
40170 case "(($ac_try" in
40171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40172 *) ac_try_echo=$ac_try;;
40173 esac
40174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40175 (eval "$ac_link") 2>conftest.er1
40176 ac_status=$?
40177 grep -v '^ *+' conftest.er1 >conftest.err
40178 rm -f conftest.er1
40179 cat conftest.err >&5
40180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40181 (exit $ac_status); } && {
40182 test -z "$ac_cxx_werror_flag" ||
40183 test ! -s conftest.err
40184 } && test -s conftest$ac_exeext &&
40185 $as_test_x conftest$ac_exeext; then
40186 eval wx_cv_func_$wx_func=yes
40187 else
40188 echo "$as_me: failed program was:" >&5
40189 sed 's/^/| /' conftest.$ac_ext >&5
40190
40191 eval wx_cv_func_$wx_func=no
40192 fi
40193
40194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40195 conftest$ac_exeext conftest.$ac_ext
40196
40197 fi
40198 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40199 { echo "$as_me:$LINENO: result: $ac_res" >&5
40200 echo "${ECHO_T}$ac_res" >&6; }
40201
40202 if eval test \$wx_cv_func_$wx_func = yes
40203 then
40204 cat >>confdefs.h <<_ACEOF
40205 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40206 _ACEOF
40207
40208
40209 else
40210 :
40211
40212 fi
40213 done
40214
40215 ac_ext=c
40216 ac_cpp='$CPP $CPPFLAGS'
40217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40220
40221
40222 if test "$TOOLKIT" != "MSW"; then
40223
40224 if test "$wxUSE_LIBICONV" != "no" ; then
40225
40226
40227
40228 # Check whether --with-libiconv-prefix was given.
40229 if test "${with_libiconv_prefix+set}" = set; then
40230 withval=$with_libiconv_prefix;
40231 for dir in `echo "$withval" | tr : ' '`; do
40232 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40233 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40234 done
40235
40236 fi
40237
40238
40239 { echo "$as_me:$LINENO: checking for iconv" >&5
40240 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40241 if test "${am_cv_func_iconv+set}" = set; then
40242 echo $ECHO_N "(cached) $ECHO_C" >&6
40243 else
40244
40245 am_cv_func_iconv="no, consider installing GNU libiconv"
40246 am_cv_lib_iconv=no
40247 cat >conftest.$ac_ext <<_ACEOF
40248 /* confdefs.h. */
40249 _ACEOF
40250 cat confdefs.h >>conftest.$ac_ext
40251 cat >>conftest.$ac_ext <<_ACEOF
40252 /* end confdefs.h. */
40253 #include <stdlib.h>
40254 #include <iconv.h>
40255 int
40256 main ()
40257 {
40258 iconv_t cd = iconv_open("","");
40259 iconv(cd,NULL,NULL,NULL,NULL);
40260 iconv_close(cd);
40261 ;
40262 return 0;
40263 }
40264 _ACEOF
40265 rm -f conftest.$ac_objext conftest$ac_exeext
40266 if { (ac_try="$ac_link"
40267 case "(($ac_try" in
40268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40269 *) ac_try_echo=$ac_try;;
40270 esac
40271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40272 (eval "$ac_link") 2>conftest.er1
40273 ac_status=$?
40274 grep -v '^ *+' conftest.er1 >conftest.err
40275 rm -f conftest.er1
40276 cat conftest.err >&5
40277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40278 (exit $ac_status); } && {
40279 test -z "$ac_c_werror_flag" ||
40280 test ! -s conftest.err
40281 } && test -s conftest$ac_exeext &&
40282 $as_test_x conftest$ac_exeext; then
40283 am_cv_func_iconv=yes
40284 else
40285 echo "$as_me: failed program was:" >&5
40286 sed 's/^/| /' conftest.$ac_ext >&5
40287
40288
40289 fi
40290
40291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40292 conftest$ac_exeext conftest.$ac_ext
40293 if test "$am_cv_func_iconv" != yes; then
40294 am_save_LIBS="$LIBS"
40295 LIBS="$LIBS -liconv"
40296 cat >conftest.$ac_ext <<_ACEOF
40297 /* confdefs.h. */
40298 _ACEOF
40299 cat confdefs.h >>conftest.$ac_ext
40300 cat >>conftest.$ac_ext <<_ACEOF
40301 /* end confdefs.h. */
40302 #include <stdlib.h>
40303 #include <iconv.h>
40304 int
40305 main ()
40306 {
40307 iconv_t cd = iconv_open("","");
40308 iconv(cd,NULL,NULL,NULL,NULL);
40309 iconv_close(cd);
40310 ;
40311 return 0;
40312 }
40313 _ACEOF
40314 rm -f conftest.$ac_objext conftest$ac_exeext
40315 if { (ac_try="$ac_link"
40316 case "(($ac_try" in
40317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40318 *) ac_try_echo=$ac_try;;
40319 esac
40320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40321 (eval "$ac_link") 2>conftest.er1
40322 ac_status=$?
40323 grep -v '^ *+' conftest.er1 >conftest.err
40324 rm -f conftest.er1
40325 cat conftest.err >&5
40326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40327 (exit $ac_status); } && {
40328 test -z "$ac_c_werror_flag" ||
40329 test ! -s conftest.err
40330 } && test -s conftest$ac_exeext &&
40331 $as_test_x conftest$ac_exeext; then
40332 am_cv_lib_iconv=yes
40333 am_cv_func_iconv=yes
40334 else
40335 echo "$as_me: failed program was:" >&5
40336 sed 's/^/| /' conftest.$ac_ext >&5
40337
40338
40339 fi
40340
40341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40342 conftest$ac_exeext conftest.$ac_ext
40343 LIBS="$am_save_LIBS"
40344 fi
40345
40346 fi
40347 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40348 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40349 if test "$am_cv_func_iconv" = yes; then
40350
40351 cat >>confdefs.h <<\_ACEOF
40352 #define HAVE_ICONV 1
40353 _ACEOF
40354
40355 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40356 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40357 if test "${wx_cv_func_iconv_const+set}" = set; then
40358 echo $ECHO_N "(cached) $ECHO_C" >&6
40359 else
40360 cat >conftest.$ac_ext <<_ACEOF
40361 /* confdefs.h. */
40362 _ACEOF
40363 cat confdefs.h >>conftest.$ac_ext
40364 cat >>conftest.$ac_ext <<_ACEOF
40365 /* end confdefs.h. */
40366
40367 #include <stdlib.h>
40368 #include <iconv.h>
40369 extern
40370 #ifdef __cplusplus
40371 "C"
40372 #endif
40373 #if defined(__STDC__) || defined(__cplusplus)
40374 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40375 #else
40376 size_t iconv();
40377 #endif
40378
40379 int
40380 main ()
40381 {
40382
40383 ;
40384 return 0;
40385 }
40386 _ACEOF
40387 rm -f conftest.$ac_objext
40388 if { (ac_try="$ac_compile"
40389 case "(($ac_try" in
40390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40391 *) ac_try_echo=$ac_try;;
40392 esac
40393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40394 (eval "$ac_compile") 2>conftest.er1
40395 ac_status=$?
40396 grep -v '^ *+' conftest.er1 >conftest.err
40397 rm -f conftest.er1
40398 cat conftest.err >&5
40399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40400 (exit $ac_status); } && {
40401 test -z "$ac_c_werror_flag" ||
40402 test ! -s conftest.err
40403 } && test -s conftest.$ac_objext; then
40404 wx_cv_func_iconv_const="no"
40405 else
40406 echo "$as_me: failed program was:" >&5
40407 sed 's/^/| /' conftest.$ac_ext >&5
40408
40409 wx_cv_func_iconv_const="yes"
40410
40411 fi
40412
40413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40414
40415 fi
40416 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40417 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40418
40419 iconv_const=
40420 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40421 iconv_const="const"
40422 fi
40423
40424
40425 cat >>confdefs.h <<_ACEOF
40426 #define ICONV_CONST $iconv_const
40427 _ACEOF
40428
40429 fi
40430 LIBICONV=
40431 if test "$am_cv_lib_iconv" = yes; then
40432 LIBICONV="-liconv"
40433 fi
40434
40435
40436 LIBS="$LIBICONV $LIBS"
40437 fi
40438
40439 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40440
40441 for ac_func in sigaction
40442 do
40443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40444 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40446 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40447 echo $ECHO_N "(cached) $ECHO_C" >&6
40448 else
40449 cat >conftest.$ac_ext <<_ACEOF
40450 /* confdefs.h. */
40451 _ACEOF
40452 cat confdefs.h >>conftest.$ac_ext
40453 cat >>conftest.$ac_ext <<_ACEOF
40454 /* end confdefs.h. */
40455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40457 #define $ac_func innocuous_$ac_func
40458
40459 /* System header to define __stub macros and hopefully few prototypes,
40460 which can conflict with char $ac_func (); below.
40461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40462 <limits.h> exists even on freestanding compilers. */
40463
40464 #ifdef __STDC__
40465 # include <limits.h>
40466 #else
40467 # include <assert.h>
40468 #endif
40469
40470 #undef $ac_func
40471
40472 /* Override any GCC internal prototype to avoid an error.
40473 Use char because int might match the return type of a GCC
40474 builtin and then its argument prototype would still apply. */
40475 #ifdef __cplusplus
40476 extern "C"
40477 #endif
40478 char $ac_func ();
40479 /* The GNU C library defines this for functions which it implements
40480 to always fail with ENOSYS. Some functions are actually named
40481 something starting with __ and the normal name is an alias. */
40482 #if defined __stub_$ac_func || defined __stub___$ac_func
40483 choke me
40484 #endif
40485
40486 int
40487 main ()
40488 {
40489 return $ac_func ();
40490 ;
40491 return 0;
40492 }
40493 _ACEOF
40494 rm -f conftest.$ac_objext conftest$ac_exeext
40495 if { (ac_try="$ac_link"
40496 case "(($ac_try" in
40497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40498 *) ac_try_echo=$ac_try;;
40499 esac
40500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40501 (eval "$ac_link") 2>conftest.er1
40502 ac_status=$?
40503 grep -v '^ *+' conftest.er1 >conftest.err
40504 rm -f conftest.er1
40505 cat conftest.err >&5
40506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40507 (exit $ac_status); } && {
40508 test -z "$ac_c_werror_flag" ||
40509 test ! -s conftest.err
40510 } && test -s conftest$ac_exeext &&
40511 $as_test_x conftest$ac_exeext; then
40512 eval "$as_ac_var=yes"
40513 else
40514 echo "$as_me: failed program was:" >&5
40515 sed 's/^/| /' conftest.$ac_ext >&5
40516
40517 eval "$as_ac_var=no"
40518 fi
40519
40520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40521 conftest$ac_exeext conftest.$ac_ext
40522 fi
40523 ac_res=`eval echo '${'$as_ac_var'}'`
40524 { echo "$as_me:$LINENO: result: $ac_res" >&5
40525 echo "${ECHO_T}$ac_res" >&6; }
40526 if test `eval echo '${'$as_ac_var'}'` = yes; then
40527 cat >>confdefs.h <<_ACEOF
40528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40529 _ACEOF
40530
40531 fi
40532 done
40533
40534
40535 if test "$ac_cv_func_sigaction" = "no"; then
40536 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40537 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40538 wxUSE_ON_FATAL_EXCEPTION=no
40539 fi
40540
40541 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40542 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40543 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40544 if test "${wx_cv_type_sa_handler+set}" = set; then
40545 echo $ECHO_N "(cached) $ECHO_C" >&6
40546 else
40547
40548 ac_ext=cpp
40549 ac_cpp='$CXXCPP $CPPFLAGS'
40550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40553
40554 cat >conftest.$ac_ext <<_ACEOF
40555 /* confdefs.h. */
40556 _ACEOF
40557 cat confdefs.h >>conftest.$ac_ext
40558 cat >>conftest.$ac_ext <<_ACEOF
40559 /* end confdefs.h. */
40560 #include <signal.h>
40561 int
40562 main ()
40563 {
40564
40565 extern void testSigHandler(int);
40566
40567 struct sigaction sa;
40568 sa.sa_handler = testSigHandler;
40569
40570 ;
40571 return 0;
40572 }
40573 _ACEOF
40574 rm -f conftest.$ac_objext
40575 if { (ac_try="$ac_compile"
40576 case "(($ac_try" in
40577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40578 *) ac_try_echo=$ac_try;;
40579 esac
40580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40581 (eval "$ac_compile") 2>conftest.er1
40582 ac_status=$?
40583 grep -v '^ *+' conftest.er1 >conftest.err
40584 rm -f conftest.er1
40585 cat conftest.err >&5
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); } && {
40588 test -z "$ac_cxx_werror_flag" ||
40589 test ! -s conftest.err
40590 } && test -s conftest.$ac_objext; then
40591
40592 wx_cv_type_sa_handler=int
40593
40594 else
40595 echo "$as_me: failed program was:" >&5
40596 sed 's/^/| /' conftest.$ac_ext >&5
40597
40598
40599 wx_cv_type_sa_handler=void
40600
40601 fi
40602
40603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40604 ac_ext=c
40605 ac_cpp='$CPP $CPPFLAGS'
40606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40609
40610
40611 fi
40612 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40613 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40614
40615 cat >>confdefs.h <<_ACEOF
40616 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40617 _ACEOF
40618
40619 fi
40620 fi
40621
40622 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40623 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40624 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40625 if test "${wx_cv_func_backtrace+set}" = set; then
40626 echo $ECHO_N "(cached) $ECHO_C" >&6
40627 else
40628
40629 ac_ext=cpp
40630 ac_cpp='$CXXCPP $CPPFLAGS'
40631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40634
40635 cat >conftest.$ac_ext <<_ACEOF
40636 /* confdefs.h. */
40637 _ACEOF
40638 cat confdefs.h >>conftest.$ac_ext
40639 cat >>conftest.$ac_ext <<_ACEOF
40640 /* end confdefs.h. */
40641 #include <execinfo.h>
40642 int
40643 main ()
40644 {
40645
40646 void *trace[1];
40647 char **messages;
40648
40649 backtrace(trace, 1);
40650 messages = backtrace_symbols(trace, 1);
40651
40652 ;
40653 return 0;
40654 }
40655 _ACEOF
40656 rm -f conftest.$ac_objext
40657 if { (ac_try="$ac_compile"
40658 case "(($ac_try" in
40659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40660 *) ac_try_echo=$ac_try;;
40661 esac
40662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40663 (eval "$ac_compile") 2>conftest.er1
40664 ac_status=$?
40665 grep -v '^ *+' conftest.er1 >conftest.err
40666 rm -f conftest.er1
40667 cat conftest.err >&5
40668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40669 (exit $ac_status); } && {
40670 test -z "$ac_cxx_werror_flag" ||
40671 test ! -s conftest.err
40672 } && test -s conftest.$ac_objext; then
40673 wx_cv_func_backtrace=yes
40674 else
40675 echo "$as_me: failed program was:" >&5
40676 sed 's/^/| /' conftest.$ac_ext >&5
40677
40678 wx_cv_func_backtrace=no
40679
40680 fi
40681
40682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40683 ac_ext=c
40684 ac_cpp='$CPP $CPPFLAGS'
40685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40688
40689
40690
40691 fi
40692 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40693 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40694
40695
40696 if test "$wx_cv_func_backtrace" = "no"; then
40697 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40698 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40699 wxUSE_STACKWALKER=no
40700 else
40701 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40702 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40703 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40704 echo $ECHO_N "(cached) $ECHO_C" >&6
40705 else
40706
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712
40713 cat >conftest.$ac_ext <<_ACEOF
40714 /* confdefs.h. */
40715 _ACEOF
40716 cat confdefs.h >>conftest.$ac_ext
40717 cat >>conftest.$ac_ext <<_ACEOF
40718 /* end confdefs.h. */
40719 #include <cxxabi.h>
40720 int
40721 main ()
40722 {
40723
40724 int rc;
40725 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40726
40727 ;
40728 return 0;
40729 }
40730 _ACEOF
40731 rm -f conftest.$ac_objext conftest$ac_exeext
40732 if { (ac_try="$ac_link"
40733 case "(($ac_try" in
40734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40735 *) ac_try_echo=$ac_try;;
40736 esac
40737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40738 (eval "$ac_link") 2>conftest.er1
40739 ac_status=$?
40740 grep -v '^ *+' conftest.er1 >conftest.err
40741 rm -f conftest.er1
40742 cat conftest.err >&5
40743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40744 (exit $ac_status); } && {
40745 test -z "$ac_cxx_werror_flag" ||
40746 test ! -s conftest.err
40747 } && test -s conftest$ac_exeext &&
40748 $as_test_x conftest$ac_exeext; then
40749 wx_cv_func_cxa_demangle=yes
40750 else
40751 echo "$as_me: failed program was:" >&5
40752 sed 's/^/| /' conftest.$ac_ext >&5
40753
40754 wx_cv_func_cxa_demangle=no
40755
40756 fi
40757
40758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40759 conftest$ac_exeext conftest.$ac_ext
40760 ac_ext=c
40761 ac_cpp='$CPP $CPPFLAGS'
40762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40765
40766
40767
40768 fi
40769 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40770 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40771
40772 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40773 cat >>confdefs.h <<\_ACEOF
40774 #define HAVE_CXA_DEMANGLE 1
40775 _ACEOF
40776
40777 fi
40778 fi
40779 fi
40780
40781 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40782 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40783 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40784 wxUSE_STACKWALKER=no
40785 fi
40786
40787
40788
40789
40790 for ac_func in mkstemp mktemp
40791 do
40792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40796 echo $ECHO_N "(cached) $ECHO_C" >&6
40797 else
40798 cat >conftest.$ac_ext <<_ACEOF
40799 /* confdefs.h. */
40800 _ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40806 #define $ac_func innocuous_$ac_func
40807
40808 /* System header to define __stub macros and hopefully few prototypes,
40809 which can conflict with char $ac_func (); below.
40810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40811 <limits.h> exists even on freestanding compilers. */
40812
40813 #ifdef __STDC__
40814 # include <limits.h>
40815 #else
40816 # include <assert.h>
40817 #endif
40818
40819 #undef $ac_func
40820
40821 /* Override any GCC internal prototype to avoid an error.
40822 Use char because int might match the return type of a GCC
40823 builtin and then its argument prototype would still apply. */
40824 #ifdef __cplusplus
40825 extern "C"
40826 #endif
40827 char $ac_func ();
40828 /* The GNU C library defines this for functions which it implements
40829 to always fail with ENOSYS. Some functions are actually named
40830 something starting with __ and the normal name is an alias. */
40831 #if defined __stub_$ac_func || defined __stub___$ac_func
40832 choke me
40833 #endif
40834
40835 int
40836 main ()
40837 {
40838 return $ac_func ();
40839 ;
40840 return 0;
40841 }
40842 _ACEOF
40843 rm -f conftest.$ac_objext conftest$ac_exeext
40844 if { (ac_try="$ac_link"
40845 case "(($ac_try" in
40846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40847 *) ac_try_echo=$ac_try;;
40848 esac
40849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40850 (eval "$ac_link") 2>conftest.er1
40851 ac_status=$?
40852 grep -v '^ *+' conftest.er1 >conftest.err
40853 rm -f conftest.er1
40854 cat conftest.err >&5
40855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40856 (exit $ac_status); } && {
40857 test -z "$ac_c_werror_flag" ||
40858 test ! -s conftest.err
40859 } && test -s conftest$ac_exeext &&
40860 $as_test_x conftest$ac_exeext; then
40861 eval "$as_ac_var=yes"
40862 else
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40865
40866 eval "$as_ac_var=no"
40867 fi
40868
40869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40870 conftest$ac_exeext conftest.$ac_ext
40871 fi
40872 ac_res=`eval echo '${'$as_ac_var'}'`
40873 { echo "$as_me:$LINENO: result: $ac_res" >&5
40874 echo "${ECHO_T}$ac_res" >&6; }
40875 if test `eval echo '${'$as_ac_var'}'` = yes; then
40876 cat >>confdefs.h <<_ACEOF
40877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40878 _ACEOF
40879 break
40880 fi
40881 done
40882
40883
40884 { echo "$as_me:$LINENO: checking for statfs" >&5
40885 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40886 if test "${wx_cv_func_statfs+set}" = set; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40888 else
40889 cat >conftest.$ac_ext <<_ACEOF
40890 /* confdefs.h. */
40891 _ACEOF
40892 cat confdefs.h >>conftest.$ac_ext
40893 cat >>conftest.$ac_ext <<_ACEOF
40894 /* end confdefs.h. */
40895
40896 #if defined(__BSD__)
40897 #include <sys/param.h>
40898 #include <sys/mount.h>
40899 #else
40900 #include <sys/vfs.h>
40901 #endif
40902
40903 int
40904 main ()
40905 {
40906
40907 long l;
40908 struct statfs fs;
40909 statfs("/", &fs);
40910 l = fs.f_bsize;
40911 l += fs.f_blocks;
40912 l += fs.f_bavail;
40913
40914 ;
40915 return 0;
40916 }
40917 _ACEOF
40918 rm -f conftest.$ac_objext
40919 if { (ac_try="$ac_compile"
40920 case "(($ac_try" in
40921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40922 *) ac_try_echo=$ac_try;;
40923 esac
40924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40925 (eval "$ac_compile") 2>conftest.er1
40926 ac_status=$?
40927 grep -v '^ *+' conftest.er1 >conftest.err
40928 rm -f conftest.er1
40929 cat conftest.err >&5
40930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40931 (exit $ac_status); } && {
40932 test -z "$ac_c_werror_flag" ||
40933 test ! -s conftest.err
40934 } && test -s conftest.$ac_objext; then
40935 wx_cv_func_statfs=yes
40936 else
40937 echo "$as_me: failed program was:" >&5
40938 sed 's/^/| /' conftest.$ac_ext >&5
40939
40940 wx_cv_func_statfs=no
40941
40942 fi
40943
40944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40945
40946 fi
40947 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40948 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40949
40950 if test "$wx_cv_func_statfs" = "yes"; then
40951 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40952 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40953 if test "${wx_cv_func_statfs_decl+set}" = set; then
40954 echo $ECHO_N "(cached) $ECHO_C" >&6
40955 else
40956 ac_ext=cpp
40957 ac_cpp='$CXXCPP $CPPFLAGS'
40958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40961
40962 cat >conftest.$ac_ext <<_ACEOF
40963 /* confdefs.h. */
40964 _ACEOF
40965 cat confdefs.h >>conftest.$ac_ext
40966 cat >>conftest.$ac_ext <<_ACEOF
40967 /* end confdefs.h. */
40968
40969 #if defined(__BSD__)
40970 #include <sys/param.h>
40971 #include <sys/mount.h>
40972 #else
40973 #include <sys/vfs.h>
40974 #endif
40975
40976 int
40977 main ()
40978 {
40979
40980 struct statfs fs;
40981 statfs("", &fs);
40982
40983 ;
40984 return 0;
40985 }
40986 _ACEOF
40987 rm -f conftest.$ac_objext
40988 if { (ac_try="$ac_compile"
40989 case "(($ac_try" in
40990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40991 *) ac_try_echo=$ac_try;;
40992 esac
40993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40994 (eval "$ac_compile") 2>conftest.er1
40995 ac_status=$?
40996 grep -v '^ *+' conftest.er1 >conftest.err
40997 rm -f conftest.er1
40998 cat conftest.err >&5
40999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000 (exit $ac_status); } && {
41001 test -z "$ac_cxx_werror_flag" ||
41002 test ! -s conftest.err
41003 } && test -s conftest.$ac_objext; then
41004 wx_cv_func_statfs_decl=yes
41005 else
41006 echo "$as_me: failed program was:" >&5
41007 sed 's/^/| /' conftest.$ac_ext >&5
41008
41009 wx_cv_func_statfs_decl=no
41010
41011 fi
41012
41013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41014 ac_ext=c
41015 ac_cpp='$CPP $CPPFLAGS'
41016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41019
41020
41021 fi
41022 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
41023 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
41024
41025 if test "$wx_cv_func_statfs_decl" = "yes"; then
41026 cat >>confdefs.h <<\_ACEOF
41027 #define HAVE_STATFS_DECL 1
41028 _ACEOF
41029
41030 fi
41031
41032 wx_cv_type_statvfs_t="struct statfs"
41033 cat >>confdefs.h <<\_ACEOF
41034 #define HAVE_STATFS 1
41035 _ACEOF
41036
41037 else
41038 { echo "$as_me:$LINENO: checking for statvfs" >&5
41039 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
41040 if test "${wx_cv_func_statvfs+set}" = set; then
41041 echo $ECHO_N "(cached) $ECHO_C" >&6
41042 else
41043 cat >conftest.$ac_ext <<_ACEOF
41044 /* confdefs.h. */
41045 _ACEOF
41046 cat confdefs.h >>conftest.$ac_ext
41047 cat >>conftest.$ac_ext <<_ACEOF
41048 /* end confdefs.h. */
41049
41050 #include <stddef.h>
41051 #include <sys/statvfs.h>
41052
41053 int
41054 main ()
41055 {
41056
41057 statvfs("/", NULL);
41058
41059 ;
41060 return 0;
41061 }
41062 _ACEOF
41063 rm -f conftest.$ac_objext
41064 if { (ac_try="$ac_compile"
41065 case "(($ac_try" in
41066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41067 *) ac_try_echo=$ac_try;;
41068 esac
41069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41070 (eval "$ac_compile") 2>conftest.er1
41071 ac_status=$?
41072 grep -v '^ *+' conftest.er1 >conftest.err
41073 rm -f conftest.er1
41074 cat conftest.err >&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } && {
41077 test -z "$ac_c_werror_flag" ||
41078 test ! -s conftest.err
41079 } && test -s conftest.$ac_objext; then
41080 wx_cv_func_statvfs=yes
41081 else
41082 echo "$as_me: failed program was:" >&5
41083 sed 's/^/| /' conftest.$ac_ext >&5
41084
41085 wx_cv_func_statvfs=no
41086
41087 fi
41088
41089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41090
41091 fi
41092 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
41093 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
41094
41095 if test "$wx_cv_func_statvfs" = "yes"; then
41096 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
41097 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
41098 if test "${wx_cv_type_statvfs_t+set}" = set; then
41099 echo $ECHO_N "(cached) $ECHO_C" >&6
41100 else
41101 ac_ext=cpp
41102 ac_cpp='$CXXCPP $CPPFLAGS'
41103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41106
41107 cat >conftest.$ac_ext <<_ACEOF
41108 /* confdefs.h. */
41109 _ACEOF
41110 cat confdefs.h >>conftest.$ac_ext
41111 cat >>conftest.$ac_ext <<_ACEOF
41112 /* end confdefs.h. */
41113
41114 #include <sys/statvfs.h>
41115
41116 int
41117 main ()
41118 {
41119
41120 long l;
41121 statvfs_t fs;
41122 statvfs("/", &fs);
41123 l = fs.f_bsize;
41124 l += fs.f_blocks;
41125 l += fs.f_bavail;
41126
41127 ;
41128 return 0;
41129 }
41130 _ACEOF
41131 rm -f conftest.$ac_objext
41132 if { (ac_try="$ac_compile"
41133 case "(($ac_try" in
41134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41135 *) ac_try_echo=$ac_try;;
41136 esac
41137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41138 (eval "$ac_compile") 2>conftest.er1
41139 ac_status=$?
41140 grep -v '^ *+' conftest.er1 >conftest.err
41141 rm -f conftest.er1
41142 cat conftest.err >&5
41143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41144 (exit $ac_status); } && {
41145 test -z "$ac_cxx_werror_flag" ||
41146 test ! -s conftest.err
41147 } && test -s conftest.$ac_objext; then
41148 wx_cv_type_statvfs_t=statvfs_t
41149 else
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41152
41153
41154 cat >conftest.$ac_ext <<_ACEOF
41155 /* confdefs.h. */
41156 _ACEOF
41157 cat confdefs.h >>conftest.$ac_ext
41158 cat >>conftest.$ac_ext <<_ACEOF
41159 /* end confdefs.h. */
41160
41161 #include <sys/statvfs.h>
41162
41163 int
41164 main ()
41165 {
41166
41167 long l;
41168 struct statvfs fs;
41169 statvfs("/", &fs);
41170 l = fs.f_bsize;
41171 l += fs.f_blocks;
41172 l += fs.f_bavail;
41173
41174 ;
41175 return 0;
41176 }
41177 _ACEOF
41178 rm -f conftest.$ac_objext
41179 if { (ac_try="$ac_compile"
41180 case "(($ac_try" in
41181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41182 *) ac_try_echo=$ac_try;;
41183 esac
41184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41185 (eval "$ac_compile") 2>conftest.er1
41186 ac_status=$?
41187 grep -v '^ *+' conftest.er1 >conftest.err
41188 rm -f conftest.er1
41189 cat conftest.err >&5
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); } && {
41192 test -z "$ac_cxx_werror_flag" ||
41193 test ! -s conftest.err
41194 } && test -s conftest.$ac_objext; then
41195 wx_cv_type_statvfs_t="struct statvfs"
41196 else
41197 echo "$as_me: failed program was:" >&5
41198 sed 's/^/| /' conftest.$ac_ext >&5
41199
41200 wx_cv_type_statvfs_t="unknown"
41201
41202 fi
41203
41204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41205
41206
41207 fi
41208
41209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41210 ac_ext=c
41211 ac_cpp='$CPP $CPPFLAGS'
41212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41215
41216
41217 fi
41218 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
41219 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
41220
41221 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41222 cat >>confdefs.h <<\_ACEOF
41223 #define HAVE_STATVFS 1
41224 _ACEOF
41225
41226 fi
41227 else
41228 wx_cv_type_statvfs_t="unknown"
41229 fi
41230 fi
41231
41232 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41233 cat >>confdefs.h <<_ACEOF
41234 #define WX_STATFS_T $wx_cv_type_statvfs_t
41235 _ACEOF
41236
41237 else
41238 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41239 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41240 fi
41241
41242 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41243
41244
41245 for ac_func in fcntl flock
41246 do
41247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41248 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41250 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41251 echo $ECHO_N "(cached) $ECHO_C" >&6
41252 else
41253 cat >conftest.$ac_ext <<_ACEOF
41254 /* confdefs.h. */
41255 _ACEOF
41256 cat confdefs.h >>conftest.$ac_ext
41257 cat >>conftest.$ac_ext <<_ACEOF
41258 /* end confdefs.h. */
41259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41261 #define $ac_func innocuous_$ac_func
41262
41263 /* System header to define __stub macros and hopefully few prototypes,
41264 which can conflict with char $ac_func (); below.
41265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41266 <limits.h> exists even on freestanding compilers. */
41267
41268 #ifdef __STDC__
41269 # include <limits.h>
41270 #else
41271 # include <assert.h>
41272 #endif
41273
41274 #undef $ac_func
41275
41276 /* Override any GCC internal prototype to avoid an error.
41277 Use char because int might match the return type of a GCC
41278 builtin and then its argument prototype would still apply. */
41279 #ifdef __cplusplus
41280 extern "C"
41281 #endif
41282 char $ac_func ();
41283 /* The GNU C library defines this for functions which it implements
41284 to always fail with ENOSYS. Some functions are actually named
41285 something starting with __ and the normal name is an alias. */
41286 #if defined __stub_$ac_func || defined __stub___$ac_func
41287 choke me
41288 #endif
41289
41290 int
41291 main ()
41292 {
41293 return $ac_func ();
41294 ;
41295 return 0;
41296 }
41297 _ACEOF
41298 rm -f conftest.$ac_objext conftest$ac_exeext
41299 if { (ac_try="$ac_link"
41300 case "(($ac_try" in
41301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41302 *) ac_try_echo=$ac_try;;
41303 esac
41304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41305 (eval "$ac_link") 2>conftest.er1
41306 ac_status=$?
41307 grep -v '^ *+' conftest.er1 >conftest.err
41308 rm -f conftest.er1
41309 cat conftest.err >&5
41310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41311 (exit $ac_status); } && {
41312 test -z "$ac_c_werror_flag" ||
41313 test ! -s conftest.err
41314 } && test -s conftest$ac_exeext &&
41315 $as_test_x conftest$ac_exeext; then
41316 eval "$as_ac_var=yes"
41317 else
41318 echo "$as_me: failed program was:" >&5
41319 sed 's/^/| /' conftest.$ac_ext >&5
41320
41321 eval "$as_ac_var=no"
41322 fi
41323
41324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41325 conftest$ac_exeext conftest.$ac_ext
41326 fi
41327 ac_res=`eval echo '${'$as_ac_var'}'`
41328 { echo "$as_me:$LINENO: result: $ac_res" >&5
41329 echo "${ECHO_T}$ac_res" >&6; }
41330 if test `eval echo '${'$as_ac_var'}'` = yes; then
41331 cat >>confdefs.h <<_ACEOF
41332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41333 _ACEOF
41334 break
41335 fi
41336 done
41337
41338
41339 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41340 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41341 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41342 wxUSE_SNGLINST_CHECKER=no
41343 fi
41344 fi
41345
41346
41347
41348 for ac_func in setenv putenv
41349 do
41350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41351 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41353 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41354 echo $ECHO_N "(cached) $ECHO_C" >&6
41355 else
41356 cat >conftest.$ac_ext <<_ACEOF
41357 /* confdefs.h. */
41358 _ACEOF
41359 cat confdefs.h >>conftest.$ac_ext
41360 cat >>conftest.$ac_ext <<_ACEOF
41361 /* end confdefs.h. */
41362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41364 #define $ac_func innocuous_$ac_func
41365
41366 /* System header to define __stub macros and hopefully few prototypes,
41367 which can conflict with char $ac_func (); below.
41368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41369 <limits.h> exists even on freestanding compilers. */
41370
41371 #ifdef __STDC__
41372 # include <limits.h>
41373 #else
41374 # include <assert.h>
41375 #endif
41376
41377 #undef $ac_func
41378
41379 /* Override any GCC internal prototype to avoid an error.
41380 Use char because int might match the return type of a GCC
41381 builtin and then its argument prototype would still apply. */
41382 #ifdef __cplusplus
41383 extern "C"
41384 #endif
41385 char $ac_func ();
41386 /* The GNU C library defines this for functions which it implements
41387 to always fail with ENOSYS. Some functions are actually named
41388 something starting with __ and the normal name is an alias. */
41389 #if defined __stub_$ac_func || defined __stub___$ac_func
41390 choke me
41391 #endif
41392
41393 int
41394 main ()
41395 {
41396 return $ac_func ();
41397 ;
41398 return 0;
41399 }
41400 _ACEOF
41401 rm -f conftest.$ac_objext conftest$ac_exeext
41402 if { (ac_try="$ac_link"
41403 case "(($ac_try" in
41404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41405 *) ac_try_echo=$ac_try;;
41406 esac
41407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41408 (eval "$ac_link") 2>conftest.er1
41409 ac_status=$?
41410 grep -v '^ *+' conftest.er1 >conftest.err
41411 rm -f conftest.er1
41412 cat conftest.err >&5
41413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41414 (exit $ac_status); } && {
41415 test -z "$ac_c_werror_flag" ||
41416 test ! -s conftest.err
41417 } && test -s conftest$ac_exeext &&
41418 $as_test_x conftest$ac_exeext; then
41419 eval "$as_ac_var=yes"
41420 else
41421 echo "$as_me: failed program was:" >&5
41422 sed 's/^/| /' conftest.$ac_ext >&5
41423
41424 eval "$as_ac_var=no"
41425 fi
41426
41427 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41428 conftest$ac_exeext conftest.$ac_ext
41429 fi
41430 ac_res=`eval echo '${'$as_ac_var'}'`
41431 { echo "$as_me:$LINENO: result: $ac_res" >&5
41432 echo "${ECHO_T}$ac_res" >&6; }
41433 if test `eval echo '${'$as_ac_var'}'` = yes; then
41434 cat >>confdefs.h <<_ACEOF
41435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41436 _ACEOF
41437 break
41438 fi
41439 done
41440
41441 if test "$ac_cv_func_setenv" = "yes"; then
41442
41443 for ac_func in unsetenv
41444 do
41445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41446 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41448 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41449 echo $ECHO_N "(cached) $ECHO_C" >&6
41450 else
41451 cat >conftest.$ac_ext <<_ACEOF
41452 /* confdefs.h. */
41453 _ACEOF
41454 cat confdefs.h >>conftest.$ac_ext
41455 cat >>conftest.$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41459 #define $ac_func innocuous_$ac_func
41460
41461 /* System header to define __stub macros and hopefully few prototypes,
41462 which can conflict with char $ac_func (); below.
41463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41464 <limits.h> exists even on freestanding compilers. */
41465
41466 #ifdef __STDC__
41467 # include <limits.h>
41468 #else
41469 # include <assert.h>
41470 #endif
41471
41472 #undef $ac_func
41473
41474 /* Override any GCC internal prototype to avoid an error.
41475 Use char because int might match the return type of a GCC
41476 builtin and then its argument prototype would still apply. */
41477 #ifdef __cplusplus
41478 extern "C"
41479 #endif
41480 char $ac_func ();
41481 /* The GNU C library defines this for functions which it implements
41482 to always fail with ENOSYS. Some functions are actually named
41483 something starting with __ and the normal name is an alias. */
41484 #if defined __stub_$ac_func || defined __stub___$ac_func
41485 choke me
41486 #endif
41487
41488 int
41489 main ()
41490 {
41491 return $ac_func ();
41492 ;
41493 return 0;
41494 }
41495 _ACEOF
41496 rm -f conftest.$ac_objext conftest$ac_exeext
41497 if { (ac_try="$ac_link"
41498 case "(($ac_try" in
41499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41500 *) ac_try_echo=$ac_try;;
41501 esac
41502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41503 (eval "$ac_link") 2>conftest.er1
41504 ac_status=$?
41505 grep -v '^ *+' conftest.er1 >conftest.err
41506 rm -f conftest.er1
41507 cat conftest.err >&5
41508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41509 (exit $ac_status); } && {
41510 test -z "$ac_c_werror_flag" ||
41511 test ! -s conftest.err
41512 } && test -s conftest$ac_exeext &&
41513 $as_test_x conftest$ac_exeext; then
41514 eval "$as_ac_var=yes"
41515 else
41516 echo "$as_me: failed program was:" >&5
41517 sed 's/^/| /' conftest.$ac_ext >&5
41518
41519 eval "$as_ac_var=no"
41520 fi
41521
41522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41523 conftest$ac_exeext conftest.$ac_ext
41524 fi
41525 ac_res=`eval echo '${'$as_ac_var'}'`
41526 { echo "$as_me:$LINENO: result: $ac_res" >&5
41527 echo "${ECHO_T}$ac_res" >&6; }
41528 if test `eval echo '${'$as_ac_var'}'` = yes; then
41529 cat >>confdefs.h <<_ACEOF
41530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41531 _ACEOF
41532
41533 fi
41534 done
41535
41536 fi
41537
41538 HAVE_SOME_SLEEP_FUNC=0
41539 if test "$USE_BEOS" = 1; then
41540 cat >>confdefs.h <<\_ACEOF
41541 #define HAVE_SLEEP 1
41542 _ACEOF
41543
41544 HAVE_SOME_SLEEP_FUNC=1
41545 fi
41546
41547 if test "$USE_DARWIN" = 1; then
41548 cat >>confdefs.h <<\_ACEOF
41549 #define HAVE_USLEEP 1
41550 _ACEOF
41551
41552 HAVE_SOME_SLEEP_FUNC=1
41553 fi
41554
41555 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41556 POSIX4_LINK=
41557
41558 for ac_func in nanosleep
41559 do
41560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41561 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41563 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41564 echo $ECHO_N "(cached) $ECHO_C" >&6
41565 else
41566 cat >conftest.$ac_ext <<_ACEOF
41567 /* confdefs.h. */
41568 _ACEOF
41569 cat confdefs.h >>conftest.$ac_ext
41570 cat >>conftest.$ac_ext <<_ACEOF
41571 /* end confdefs.h. */
41572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41574 #define $ac_func innocuous_$ac_func
41575
41576 /* System header to define __stub macros and hopefully few prototypes,
41577 which can conflict with char $ac_func (); below.
41578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41579 <limits.h> exists even on freestanding compilers. */
41580
41581 #ifdef __STDC__
41582 # include <limits.h>
41583 #else
41584 # include <assert.h>
41585 #endif
41586
41587 #undef $ac_func
41588
41589 /* Override any GCC internal prototype to avoid an error.
41590 Use char because int might match the return type of a GCC
41591 builtin and then its argument prototype would still apply. */
41592 #ifdef __cplusplus
41593 extern "C"
41594 #endif
41595 char $ac_func ();
41596 /* The GNU C library defines this for functions which it implements
41597 to always fail with ENOSYS. Some functions are actually named
41598 something starting with __ and the normal name is an alias. */
41599 #if defined __stub_$ac_func || defined __stub___$ac_func
41600 choke me
41601 #endif
41602
41603 int
41604 main ()
41605 {
41606 return $ac_func ();
41607 ;
41608 return 0;
41609 }
41610 _ACEOF
41611 rm -f conftest.$ac_objext conftest$ac_exeext
41612 if { (ac_try="$ac_link"
41613 case "(($ac_try" in
41614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41615 *) ac_try_echo=$ac_try;;
41616 esac
41617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41618 (eval "$ac_link") 2>conftest.er1
41619 ac_status=$?
41620 grep -v '^ *+' conftest.er1 >conftest.err
41621 rm -f conftest.er1
41622 cat conftest.err >&5
41623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41624 (exit $ac_status); } && {
41625 test -z "$ac_c_werror_flag" ||
41626 test ! -s conftest.err
41627 } && test -s conftest$ac_exeext &&
41628 $as_test_x conftest$ac_exeext; then
41629 eval "$as_ac_var=yes"
41630 else
41631 echo "$as_me: failed program was:" >&5
41632 sed 's/^/| /' conftest.$ac_ext >&5
41633
41634 eval "$as_ac_var=no"
41635 fi
41636
41637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41638 conftest$ac_exeext conftest.$ac_ext
41639 fi
41640 ac_res=`eval echo '${'$as_ac_var'}'`
41641 { echo "$as_me:$LINENO: result: $ac_res" >&5
41642 echo "${ECHO_T}$ac_res" >&6; }
41643 if test `eval echo '${'$as_ac_var'}'` = yes; then
41644 cat >>confdefs.h <<_ACEOF
41645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41646 _ACEOF
41647 cat >>confdefs.h <<\_ACEOF
41648 #define HAVE_NANOSLEEP 1
41649 _ACEOF
41650
41651 else
41652
41653 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41654 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41655 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41656 echo $ECHO_N "(cached) $ECHO_C" >&6
41657 else
41658 ac_check_lib_save_LIBS=$LIBS
41659 LIBS="-lposix4 $LIBS"
41660 cat >conftest.$ac_ext <<_ACEOF
41661 /* confdefs.h. */
41662 _ACEOF
41663 cat confdefs.h >>conftest.$ac_ext
41664 cat >>conftest.$ac_ext <<_ACEOF
41665 /* end confdefs.h. */
41666
41667 /* Override any GCC internal prototype to avoid an error.
41668 Use char because int might match the return type of a GCC
41669 builtin and then its argument prototype would still apply. */
41670 #ifdef __cplusplus
41671 extern "C"
41672 #endif
41673 char nanosleep ();
41674 int
41675 main ()
41676 {
41677 return nanosleep ();
41678 ;
41679 return 0;
41680 }
41681 _ACEOF
41682 rm -f conftest.$ac_objext conftest$ac_exeext
41683 if { (ac_try="$ac_link"
41684 case "(($ac_try" in
41685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41686 *) ac_try_echo=$ac_try;;
41687 esac
41688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41689 (eval "$ac_link") 2>conftest.er1
41690 ac_status=$?
41691 grep -v '^ *+' conftest.er1 >conftest.err
41692 rm -f conftest.er1
41693 cat conftest.err >&5
41694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41695 (exit $ac_status); } && {
41696 test -z "$ac_c_werror_flag" ||
41697 test ! -s conftest.err
41698 } && test -s conftest$ac_exeext &&
41699 $as_test_x conftest$ac_exeext; then
41700 ac_cv_lib_posix4_nanosleep=yes
41701 else
41702 echo "$as_me: failed program was:" >&5
41703 sed 's/^/| /' conftest.$ac_ext >&5
41704
41705 ac_cv_lib_posix4_nanosleep=no
41706 fi
41707
41708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41709 conftest$ac_exeext conftest.$ac_ext
41710 LIBS=$ac_check_lib_save_LIBS
41711 fi
41712 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41713 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41714 if test $ac_cv_lib_posix4_nanosleep = yes; then
41715
41716 cat >>confdefs.h <<\_ACEOF
41717 #define HAVE_NANOSLEEP 1
41718 _ACEOF
41719
41720 POSIX4_LINK=" -lposix4"
41721
41722 else
41723
41724
41725 for wx_func in usleep
41726 do
41727 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41728 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41729 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41730 echo $ECHO_N "(cached) $ECHO_C" >&6
41731 else
41732
41733 cat >conftest.$ac_ext <<_ACEOF
41734
41735 /* confdefs.h. */
41736 _ACEOF
41737 cat confdefs.h >>conftest.$ac_ext
41738 cat >>conftest.$ac_ext <<_ACEOF
41739 /* end confdefs.h. */
41740
41741
41742 $ac_includes_default
41743
41744 int
41745 main ()
41746 {
41747
41748 #ifndef $wx_func
41749 &$wx_func;
41750 #endif
41751
41752
41753 ;
41754 return 0;
41755 }
41756
41757 _ACEOF
41758 rm -f conftest.$ac_objext conftest$ac_exeext
41759 if { (ac_try="$ac_link"
41760 case "(($ac_try" in
41761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41762 *) ac_try_echo=$ac_try;;
41763 esac
41764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41765 (eval "$ac_link") 2>conftest.er1
41766 ac_status=$?
41767 grep -v '^ *+' conftest.er1 >conftest.err
41768 rm -f conftest.er1
41769 cat conftest.err >&5
41770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41771 (exit $ac_status); } && {
41772 test -z "$ac_c_werror_flag" ||
41773 test ! -s conftest.err
41774 } && test -s conftest$ac_exeext &&
41775 $as_test_x conftest$ac_exeext; then
41776 eval wx_cv_func_$wx_func=yes
41777 else
41778 echo "$as_me: failed program was:" >&5
41779 sed 's/^/| /' conftest.$ac_ext >&5
41780
41781 eval wx_cv_func_$wx_func=no
41782 fi
41783
41784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41785 conftest$ac_exeext conftest.$ac_ext
41786
41787 fi
41788 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41789 { echo "$as_me:$LINENO: result: $ac_res" >&5
41790 echo "${ECHO_T}$ac_res" >&6; }
41791
41792 if eval test \$wx_cv_func_$wx_func = yes
41793 then
41794 cat >>confdefs.h <<_ACEOF
41795 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41796 _ACEOF
41797
41798
41799 else
41800 :
41801 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41802 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41803
41804 fi
41805 done
41806
41807
41808
41809 fi
41810
41811
41812
41813 fi
41814 done
41815
41816 fi
41817
41818
41819 for wx_func in uname
41820 do
41821 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41822 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41823 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41824 echo $ECHO_N "(cached) $ECHO_C" >&6
41825 else
41826
41827 cat >conftest.$ac_ext <<_ACEOF
41828
41829 /* confdefs.h. */
41830 _ACEOF
41831 cat confdefs.h >>conftest.$ac_ext
41832 cat >>conftest.$ac_ext <<_ACEOF
41833 /* end confdefs.h. */
41834
41835 #include <sys/utsname.h>
41836 $ac_includes_default
41837
41838 int
41839 main ()
41840 {
41841
41842 #ifndef $wx_func
41843 &$wx_func;
41844 #endif
41845
41846
41847 ;
41848 return 0;
41849 }
41850
41851 _ACEOF
41852 rm -f conftest.$ac_objext conftest$ac_exeext
41853 if { (ac_try="$ac_link"
41854 case "(($ac_try" in
41855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41856 *) ac_try_echo=$ac_try;;
41857 esac
41858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41859 (eval "$ac_link") 2>conftest.er1
41860 ac_status=$?
41861 grep -v '^ *+' conftest.er1 >conftest.err
41862 rm -f conftest.er1
41863 cat conftest.err >&5
41864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41865 (exit $ac_status); } && {
41866 test -z "$ac_c_werror_flag" ||
41867 test ! -s conftest.err
41868 } && test -s conftest$ac_exeext &&
41869 $as_test_x conftest$ac_exeext; then
41870 eval wx_cv_func_$wx_func=yes
41871 else
41872 echo "$as_me: failed program was:" >&5
41873 sed 's/^/| /' conftest.$ac_ext >&5
41874
41875 eval wx_cv_func_$wx_func=no
41876 fi
41877
41878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41879 conftest$ac_exeext conftest.$ac_ext
41880
41881 fi
41882 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41883 { echo "$as_me:$LINENO: result: $ac_res" >&5
41884 echo "${ECHO_T}$ac_res" >&6; }
41885
41886 if eval test \$wx_cv_func_$wx_func = yes
41887 then
41888 cat >>confdefs.h <<_ACEOF
41889 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41890 _ACEOF
41891
41892
41893 else
41894 :
41895
41896 fi
41897 done
41898
41899 if test "$wx_cv_func_uname" != yes; then
41900
41901 for wx_func in gethostname
41902 do
41903 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41904 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41905 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41906 echo $ECHO_N "(cached) $ECHO_C" >&6
41907 else
41908
41909 cat >conftest.$ac_ext <<_ACEOF
41910
41911 /* confdefs.h. */
41912 _ACEOF
41913 cat confdefs.h >>conftest.$ac_ext
41914 cat >>conftest.$ac_ext <<_ACEOF
41915 /* end confdefs.h. */
41916
41917
41918 $ac_includes_default
41919
41920 int
41921 main ()
41922 {
41923
41924 #ifndef $wx_func
41925 &$wx_func;
41926 #endif
41927
41928
41929 ;
41930 return 0;
41931 }
41932
41933 _ACEOF
41934 rm -f conftest.$ac_objext conftest$ac_exeext
41935 if { (ac_try="$ac_link"
41936 case "(($ac_try" in
41937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41938 *) ac_try_echo=$ac_try;;
41939 esac
41940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41941 (eval "$ac_link") 2>conftest.er1
41942 ac_status=$?
41943 grep -v '^ *+' conftest.er1 >conftest.err
41944 rm -f conftest.er1
41945 cat conftest.err >&5
41946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41947 (exit $ac_status); } && {
41948 test -z "$ac_c_werror_flag" ||
41949 test ! -s conftest.err
41950 } && test -s conftest$ac_exeext &&
41951 $as_test_x conftest$ac_exeext; then
41952 eval wx_cv_func_$wx_func=yes
41953 else
41954 echo "$as_me: failed program was:" >&5
41955 sed 's/^/| /' conftest.$ac_ext >&5
41956
41957 eval wx_cv_func_$wx_func=no
41958 fi
41959
41960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41961 conftest$ac_exeext conftest.$ac_ext
41962
41963 fi
41964 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41965 { echo "$as_me:$LINENO: result: $ac_res" >&5
41966 echo "${ECHO_T}$ac_res" >&6; }
41967
41968 if eval test \$wx_cv_func_$wx_func = yes
41969 then
41970 cat >>confdefs.h <<_ACEOF
41971 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41972 _ACEOF
41973
41974
41975 else
41976 :
41977
41978 fi
41979 done
41980
41981 fi
41982
41983
41984 for wx_func in strtok_r
41985 do
41986 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41987 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41988 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41989 echo $ECHO_N "(cached) $ECHO_C" >&6
41990 else
41991
41992 cat >conftest.$ac_ext <<_ACEOF
41993
41994 /* confdefs.h. */
41995 _ACEOF
41996 cat confdefs.h >>conftest.$ac_ext
41997 cat >>conftest.$ac_ext <<_ACEOF
41998 /* end confdefs.h. */
41999
42000 #define _REENTRANT
42001 $ac_includes_default
42002
42003 int
42004 main ()
42005 {
42006
42007 #ifndef $wx_func
42008 &$wx_func;
42009 #endif
42010
42011
42012 ;
42013 return 0;
42014 }
42015
42016 _ACEOF
42017 rm -f conftest.$ac_objext conftest$ac_exeext
42018 if { (ac_try="$ac_link"
42019 case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42021 *) ac_try_echo=$ac_try;;
42022 esac
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_link") 2>conftest.er1
42025 ac_status=$?
42026 grep -v '^ *+' conftest.er1 >conftest.err
42027 rm -f conftest.er1
42028 cat conftest.err >&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); } && {
42031 test -z "$ac_c_werror_flag" ||
42032 test ! -s conftest.err
42033 } && test -s conftest$ac_exeext &&
42034 $as_test_x conftest$ac_exeext; then
42035 eval wx_cv_func_$wx_func=yes
42036 else
42037 echo "$as_me: failed program was:" >&5
42038 sed 's/^/| /' conftest.$ac_ext >&5
42039
42040 eval wx_cv_func_$wx_func=no
42041 fi
42042
42043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42044 conftest$ac_exeext conftest.$ac_ext
42045
42046 fi
42047 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42048 { echo "$as_me:$LINENO: result: $ac_res" >&5
42049 echo "${ECHO_T}$ac_res" >&6; }
42050
42051 if eval test \$wx_cv_func_$wx_func = yes
42052 then
42053 cat >>confdefs.h <<_ACEOF
42054 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42055 _ACEOF
42056
42057
42058 else
42059 :
42060
42061 fi
42062 done
42063
42064
42065 INET_LINK=
42066
42067 for ac_func in inet_addr
42068 do
42069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42070 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42072 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42073 echo $ECHO_N "(cached) $ECHO_C" >&6
42074 else
42075 cat >conftest.$ac_ext <<_ACEOF
42076 /* confdefs.h. */
42077 _ACEOF
42078 cat confdefs.h >>conftest.$ac_ext
42079 cat >>conftest.$ac_ext <<_ACEOF
42080 /* end confdefs.h. */
42081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42083 #define $ac_func innocuous_$ac_func
42084
42085 /* System header to define __stub macros and hopefully few prototypes,
42086 which can conflict with char $ac_func (); below.
42087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42088 <limits.h> exists even on freestanding compilers. */
42089
42090 #ifdef __STDC__
42091 # include <limits.h>
42092 #else
42093 # include <assert.h>
42094 #endif
42095
42096 #undef $ac_func
42097
42098 /* Override any GCC internal prototype to avoid an error.
42099 Use char because int might match the return type of a GCC
42100 builtin and then its argument prototype would still apply. */
42101 #ifdef __cplusplus
42102 extern "C"
42103 #endif
42104 char $ac_func ();
42105 /* The GNU C library defines this for functions which it implements
42106 to always fail with ENOSYS. Some functions are actually named
42107 something starting with __ and the normal name is an alias. */
42108 #if defined __stub_$ac_func || defined __stub___$ac_func
42109 choke me
42110 #endif
42111
42112 int
42113 main ()
42114 {
42115 return $ac_func ();
42116 ;
42117 return 0;
42118 }
42119 _ACEOF
42120 rm -f conftest.$ac_objext conftest$ac_exeext
42121 if { (ac_try="$ac_link"
42122 case "(($ac_try" in
42123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42124 *) ac_try_echo=$ac_try;;
42125 esac
42126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42127 (eval "$ac_link") 2>conftest.er1
42128 ac_status=$?
42129 grep -v '^ *+' conftest.er1 >conftest.err
42130 rm -f conftest.er1
42131 cat conftest.err >&5
42132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42133 (exit $ac_status); } && {
42134 test -z "$ac_c_werror_flag" ||
42135 test ! -s conftest.err
42136 } && test -s conftest$ac_exeext &&
42137 $as_test_x conftest$ac_exeext; then
42138 eval "$as_ac_var=yes"
42139 else
42140 echo "$as_me: failed program was:" >&5
42141 sed 's/^/| /' conftest.$ac_ext >&5
42142
42143 eval "$as_ac_var=no"
42144 fi
42145
42146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42147 conftest$ac_exeext conftest.$ac_ext
42148 fi
42149 ac_res=`eval echo '${'$as_ac_var'}'`
42150 { echo "$as_me:$LINENO: result: $ac_res" >&5
42151 echo "${ECHO_T}$ac_res" >&6; }
42152 if test `eval echo '${'$as_ac_var'}'` = yes; then
42153 cat >>confdefs.h <<_ACEOF
42154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42155 _ACEOF
42156 cat >>confdefs.h <<\_ACEOF
42157 #define HAVE_INET_ADDR 1
42158 _ACEOF
42159
42160 else
42161
42162 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
42163 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
42164 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
42165 echo $ECHO_N "(cached) $ECHO_C" >&6
42166 else
42167 ac_check_lib_save_LIBS=$LIBS
42168 LIBS="-lnsl $LIBS"
42169 cat >conftest.$ac_ext <<_ACEOF
42170 /* confdefs.h. */
42171 _ACEOF
42172 cat confdefs.h >>conftest.$ac_ext
42173 cat >>conftest.$ac_ext <<_ACEOF
42174 /* end confdefs.h. */
42175
42176 /* Override any GCC internal prototype to avoid an error.
42177 Use char because int might match the return type of a GCC
42178 builtin and then its argument prototype would still apply. */
42179 #ifdef __cplusplus
42180 extern "C"
42181 #endif
42182 char inet_addr ();
42183 int
42184 main ()
42185 {
42186 return inet_addr ();
42187 ;
42188 return 0;
42189 }
42190 _ACEOF
42191 rm -f conftest.$ac_objext conftest$ac_exeext
42192 if { (ac_try="$ac_link"
42193 case "(($ac_try" in
42194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42195 *) ac_try_echo=$ac_try;;
42196 esac
42197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42198 (eval "$ac_link") 2>conftest.er1
42199 ac_status=$?
42200 grep -v '^ *+' conftest.er1 >conftest.err
42201 rm -f conftest.er1
42202 cat conftest.err >&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } && {
42205 test -z "$ac_c_werror_flag" ||
42206 test ! -s conftest.err
42207 } && test -s conftest$ac_exeext &&
42208 $as_test_x conftest$ac_exeext; then
42209 ac_cv_lib_nsl_inet_addr=yes
42210 else
42211 echo "$as_me: failed program was:" >&5
42212 sed 's/^/| /' conftest.$ac_ext >&5
42213
42214 ac_cv_lib_nsl_inet_addr=no
42215 fi
42216
42217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42218 conftest$ac_exeext conftest.$ac_ext
42219 LIBS=$ac_check_lib_save_LIBS
42220 fi
42221 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
42222 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
42223 if test $ac_cv_lib_nsl_inet_addr = yes; then
42224 INET_LINK="nsl"
42225 else
42226
42227 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42228 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42229 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42230 echo $ECHO_N "(cached) $ECHO_C" >&6
42231 else
42232 ac_check_lib_save_LIBS=$LIBS
42233 LIBS="-lresolv $LIBS"
42234 cat >conftest.$ac_ext <<_ACEOF
42235 /* confdefs.h. */
42236 _ACEOF
42237 cat confdefs.h >>conftest.$ac_ext
42238 cat >>conftest.$ac_ext <<_ACEOF
42239 /* end confdefs.h. */
42240
42241 /* Override any GCC internal prototype to avoid an error.
42242 Use char because int might match the return type of a GCC
42243 builtin and then its argument prototype would still apply. */
42244 #ifdef __cplusplus
42245 extern "C"
42246 #endif
42247 char inet_addr ();
42248 int
42249 main ()
42250 {
42251 return inet_addr ();
42252 ;
42253 return 0;
42254 }
42255 _ACEOF
42256 rm -f conftest.$ac_objext conftest$ac_exeext
42257 if { (ac_try="$ac_link"
42258 case "(($ac_try" in
42259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42260 *) ac_try_echo=$ac_try;;
42261 esac
42262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42263 (eval "$ac_link") 2>conftest.er1
42264 ac_status=$?
42265 grep -v '^ *+' conftest.er1 >conftest.err
42266 rm -f conftest.er1
42267 cat conftest.err >&5
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); } && {
42270 test -z "$ac_c_werror_flag" ||
42271 test ! -s conftest.err
42272 } && test -s conftest$ac_exeext &&
42273 $as_test_x conftest$ac_exeext; then
42274 ac_cv_lib_resolv_inet_addr=yes
42275 else
42276 echo "$as_me: failed program was:" >&5
42277 sed 's/^/| /' conftest.$ac_ext >&5
42278
42279 ac_cv_lib_resolv_inet_addr=no
42280 fi
42281
42282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42283 conftest$ac_exeext conftest.$ac_ext
42284 LIBS=$ac_check_lib_save_LIBS
42285 fi
42286 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42287 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42288 if test $ac_cv_lib_resolv_inet_addr = yes; then
42289 INET_LINK="resolv"
42290 else
42291
42292 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42293 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42294 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42295 echo $ECHO_N "(cached) $ECHO_C" >&6
42296 else
42297 ac_check_lib_save_LIBS=$LIBS
42298 LIBS="-lsocket $LIBS"
42299 cat >conftest.$ac_ext <<_ACEOF
42300 /* confdefs.h. */
42301 _ACEOF
42302 cat confdefs.h >>conftest.$ac_ext
42303 cat >>conftest.$ac_ext <<_ACEOF
42304 /* end confdefs.h. */
42305
42306 /* Override any GCC internal prototype to avoid an error.
42307 Use char because int might match the return type of a GCC
42308 builtin and then its argument prototype would still apply. */
42309 #ifdef __cplusplus
42310 extern "C"
42311 #endif
42312 char inet_addr ();
42313 int
42314 main ()
42315 {
42316 return inet_addr ();
42317 ;
42318 return 0;
42319 }
42320 _ACEOF
42321 rm -f conftest.$ac_objext conftest$ac_exeext
42322 if { (ac_try="$ac_link"
42323 case "(($ac_try" in
42324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42325 *) ac_try_echo=$ac_try;;
42326 esac
42327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42328 (eval "$ac_link") 2>conftest.er1
42329 ac_status=$?
42330 grep -v '^ *+' conftest.er1 >conftest.err
42331 rm -f conftest.er1
42332 cat conftest.err >&5
42333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42334 (exit $ac_status); } && {
42335 test -z "$ac_c_werror_flag" ||
42336 test ! -s conftest.err
42337 } && test -s conftest$ac_exeext &&
42338 $as_test_x conftest$ac_exeext; then
42339 ac_cv_lib_socket_inet_addr=yes
42340 else
42341 echo "$as_me: failed program was:" >&5
42342 sed 's/^/| /' conftest.$ac_ext >&5
42343
42344 ac_cv_lib_socket_inet_addr=no
42345 fi
42346
42347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42348 conftest$ac_exeext conftest.$ac_ext
42349 LIBS=$ac_check_lib_save_LIBS
42350 fi
42351 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42352 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42353 if test $ac_cv_lib_socket_inet_addr = yes; then
42354 INET_LINK="socket"
42355
42356 fi
42357
42358
42359
42360 fi
42361
42362
42363
42364 fi
42365
42366
42367
42368 fi
42369 done
42370
42371
42372
42373 for ac_func in inet_aton
42374 do
42375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42378 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42379 echo $ECHO_N "(cached) $ECHO_C" >&6
42380 else
42381 cat >conftest.$ac_ext <<_ACEOF
42382 /* confdefs.h. */
42383 _ACEOF
42384 cat confdefs.h >>conftest.$ac_ext
42385 cat >>conftest.$ac_ext <<_ACEOF
42386 /* end confdefs.h. */
42387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42389 #define $ac_func innocuous_$ac_func
42390
42391 /* System header to define __stub macros and hopefully few prototypes,
42392 which can conflict with char $ac_func (); below.
42393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42394 <limits.h> exists even on freestanding compilers. */
42395
42396 #ifdef __STDC__
42397 # include <limits.h>
42398 #else
42399 # include <assert.h>
42400 #endif
42401
42402 #undef $ac_func
42403
42404 /* Override any GCC internal prototype to avoid an error.
42405 Use char because int might match the return type of a GCC
42406 builtin and then its argument prototype would still apply. */
42407 #ifdef __cplusplus
42408 extern "C"
42409 #endif
42410 char $ac_func ();
42411 /* The GNU C library defines this for functions which it implements
42412 to always fail with ENOSYS. Some functions are actually named
42413 something starting with __ and the normal name is an alias. */
42414 #if defined __stub_$ac_func || defined __stub___$ac_func
42415 choke me
42416 #endif
42417
42418 int
42419 main ()
42420 {
42421 return $ac_func ();
42422 ;
42423 return 0;
42424 }
42425 _ACEOF
42426 rm -f conftest.$ac_objext conftest$ac_exeext
42427 if { (ac_try="$ac_link"
42428 case "(($ac_try" in
42429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42430 *) ac_try_echo=$ac_try;;
42431 esac
42432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42433 (eval "$ac_link") 2>conftest.er1
42434 ac_status=$?
42435 grep -v '^ *+' conftest.er1 >conftest.err
42436 rm -f conftest.er1
42437 cat conftest.err >&5
42438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42439 (exit $ac_status); } && {
42440 test -z "$ac_c_werror_flag" ||
42441 test ! -s conftest.err
42442 } && test -s conftest$ac_exeext &&
42443 $as_test_x conftest$ac_exeext; then
42444 eval "$as_ac_var=yes"
42445 else
42446 echo "$as_me: failed program was:" >&5
42447 sed 's/^/| /' conftest.$ac_ext >&5
42448
42449 eval "$as_ac_var=no"
42450 fi
42451
42452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42453 conftest$ac_exeext conftest.$ac_ext
42454 fi
42455 ac_res=`eval echo '${'$as_ac_var'}'`
42456 { echo "$as_me:$LINENO: result: $ac_res" >&5
42457 echo "${ECHO_T}$ac_res" >&6; }
42458 if test `eval echo '${'$as_ac_var'}'` = yes; then
42459 cat >>confdefs.h <<_ACEOF
42460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42461 _ACEOF
42462 cat >>confdefs.h <<\_ACEOF
42463 #define HAVE_INET_ATON 1
42464 _ACEOF
42465
42466 else
42467
42468 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42469 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42470 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42471 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42472 echo $ECHO_N "(cached) $ECHO_C" >&6
42473 else
42474 ac_check_lib_save_LIBS=$LIBS
42475 LIBS="-l$INET_LINK $LIBS"
42476 cat >conftest.$ac_ext <<_ACEOF
42477 /* confdefs.h. */
42478 _ACEOF
42479 cat confdefs.h >>conftest.$ac_ext
42480 cat >>conftest.$ac_ext <<_ACEOF
42481 /* end confdefs.h. */
42482
42483 /* Override any GCC internal prototype to avoid an error.
42484 Use char because int might match the return type of a GCC
42485 builtin and then its argument prototype would still apply. */
42486 #ifdef __cplusplus
42487 extern "C"
42488 #endif
42489 char inet_aton ();
42490 int
42491 main ()
42492 {
42493 return inet_aton ();
42494 ;
42495 return 0;
42496 }
42497 _ACEOF
42498 rm -f conftest.$ac_objext conftest$ac_exeext
42499 if { (ac_try="$ac_link"
42500 case "(($ac_try" in
42501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42502 *) ac_try_echo=$ac_try;;
42503 esac
42504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42505 (eval "$ac_link") 2>conftest.er1
42506 ac_status=$?
42507 grep -v '^ *+' conftest.er1 >conftest.err
42508 rm -f conftest.er1
42509 cat conftest.err >&5
42510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42511 (exit $ac_status); } && {
42512 test -z "$ac_c_werror_flag" ||
42513 test ! -s conftest.err
42514 } && test -s conftest$ac_exeext &&
42515 $as_test_x conftest$ac_exeext; then
42516 eval "$as_ac_Lib=yes"
42517 else
42518 echo "$as_me: failed program was:" >&5
42519 sed 's/^/| /' conftest.$ac_ext >&5
42520
42521 eval "$as_ac_Lib=no"
42522 fi
42523
42524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42525 conftest$ac_exeext conftest.$ac_ext
42526 LIBS=$ac_check_lib_save_LIBS
42527 fi
42528 ac_res=`eval echo '${'$as_ac_Lib'}'`
42529 { echo "$as_me:$LINENO: result: $ac_res" >&5
42530 echo "${ECHO_T}$ac_res" >&6; }
42531 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42532 cat >>confdefs.h <<\_ACEOF
42533 #define HAVE_INET_ATON 1
42534 _ACEOF
42535
42536 fi
42537
42538
42539 fi
42540 done
42541
42542
42543 if test "x$INET_LINK" != "x"; then
42544 cat >>confdefs.h <<\_ACEOF
42545 #define HAVE_INET_ADDR 1
42546 _ACEOF
42547
42548 INET_LINK=" -l$INET_LINK"
42549 fi
42550
42551
42552 for wx_func in fdopen
42553 do
42554 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42555 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42556 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42557 echo $ECHO_N "(cached) $ECHO_C" >&6
42558 else
42559
42560 cat >conftest.$ac_ext <<_ACEOF
42561
42562 /* confdefs.h. */
42563 _ACEOF
42564 cat confdefs.h >>conftest.$ac_ext
42565 cat >>conftest.$ac_ext <<_ACEOF
42566 /* end confdefs.h. */
42567
42568
42569 $ac_includes_default
42570
42571 int
42572 main ()
42573 {
42574
42575 #ifndef $wx_func
42576 &$wx_func;
42577 #endif
42578
42579
42580 ;
42581 return 0;
42582 }
42583
42584 _ACEOF
42585 rm -f conftest.$ac_objext conftest$ac_exeext
42586 if { (ac_try="$ac_link"
42587 case "(($ac_try" in
42588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42589 *) ac_try_echo=$ac_try;;
42590 esac
42591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42592 (eval "$ac_link") 2>conftest.er1
42593 ac_status=$?
42594 grep -v '^ *+' conftest.er1 >conftest.err
42595 rm -f conftest.er1
42596 cat conftest.err >&5
42597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42598 (exit $ac_status); } && {
42599 test -z "$ac_c_werror_flag" ||
42600 test ! -s conftest.err
42601 } && test -s conftest$ac_exeext &&
42602 $as_test_x conftest$ac_exeext; then
42603 eval wx_cv_func_$wx_func=yes
42604 else
42605 echo "$as_me: failed program was:" >&5
42606 sed 's/^/| /' conftest.$ac_ext >&5
42607
42608 eval wx_cv_func_$wx_func=no
42609 fi
42610
42611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42612 conftest$ac_exeext conftest.$ac_ext
42613
42614 fi
42615 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42616 { echo "$as_me:$LINENO: result: $ac_res" >&5
42617 echo "${ECHO_T}$ac_res" >&6; }
42618
42619 if eval test \$wx_cv_func_$wx_func = yes
42620 then
42621 cat >>confdefs.h <<_ACEOF
42622 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42623 _ACEOF
42624
42625
42626 else
42627 :
42628
42629 fi
42630 done
42631
42632
42633 if test "$wxUSE_TARSTREAM" = "yes"; then
42634
42635 for wx_func in sysconf
42636 do
42637 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42638 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42639 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42640 echo $ECHO_N "(cached) $ECHO_C" >&6
42641 else
42642
42643 cat >conftest.$ac_ext <<_ACEOF
42644
42645 /* confdefs.h. */
42646 _ACEOF
42647 cat confdefs.h >>conftest.$ac_ext
42648 cat >>conftest.$ac_ext <<_ACEOF
42649 /* end confdefs.h. */
42650
42651
42652 $ac_includes_default
42653
42654 int
42655 main ()
42656 {
42657
42658 #ifndef $wx_func
42659 &$wx_func;
42660 #endif
42661
42662
42663 ;
42664 return 0;
42665 }
42666
42667 _ACEOF
42668 rm -f conftest.$ac_objext conftest$ac_exeext
42669 if { (ac_try="$ac_link"
42670 case "(($ac_try" in
42671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42672 *) ac_try_echo=$ac_try;;
42673 esac
42674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42675 (eval "$ac_link") 2>conftest.er1
42676 ac_status=$?
42677 grep -v '^ *+' conftest.er1 >conftest.err
42678 rm -f conftest.er1
42679 cat conftest.err >&5
42680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42681 (exit $ac_status); } && {
42682 test -z "$ac_c_werror_flag" ||
42683 test ! -s conftest.err
42684 } && test -s conftest$ac_exeext &&
42685 $as_test_x conftest$ac_exeext; then
42686 eval wx_cv_func_$wx_func=yes
42687 else
42688 echo "$as_me: failed program was:" >&5
42689 sed 's/^/| /' conftest.$ac_ext >&5
42690
42691 eval wx_cv_func_$wx_func=no
42692 fi
42693
42694 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42695 conftest$ac_exeext conftest.$ac_ext
42696
42697 fi
42698 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42699 { echo "$as_me:$LINENO: result: $ac_res" >&5
42700 echo "${ECHO_T}$ac_res" >&6; }
42701
42702 if eval test \$wx_cv_func_$wx_func = yes
42703 then
42704 cat >>confdefs.h <<_ACEOF
42705 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42706 _ACEOF
42707
42708
42709 else
42710 :
42711
42712 fi
42713 done
42714
42715
42716
42717 for wx_func in getpwuid_r
42718 do
42719 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42720 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42721 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42722 echo $ECHO_N "(cached) $ECHO_C" >&6
42723 else
42724
42725 cat >conftest.$ac_ext <<_ACEOF
42726
42727 /* confdefs.h. */
42728 _ACEOF
42729 cat confdefs.h >>conftest.$ac_ext
42730 cat >>conftest.$ac_ext <<_ACEOF
42731 /* end confdefs.h. */
42732
42733
42734 #define _REENTRANT
42735 #include <pwd.h>
42736
42737 $ac_includes_default
42738
42739 int
42740 main ()
42741 {
42742
42743 #ifndef $wx_func
42744 &$wx_func;
42745 #endif
42746
42747 struct passwd pw, *ppw;
42748 char buf[1024];
42749 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42750
42751
42752 ;
42753 return 0;
42754 }
42755
42756 _ACEOF
42757 rm -f conftest.$ac_objext conftest$ac_exeext
42758 if { (ac_try="$ac_link"
42759 case "(($ac_try" in
42760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42761 *) ac_try_echo=$ac_try;;
42762 esac
42763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42764 (eval "$ac_link") 2>conftest.er1
42765 ac_status=$?
42766 grep -v '^ *+' conftest.er1 >conftest.err
42767 rm -f conftest.er1
42768 cat conftest.err >&5
42769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42770 (exit $ac_status); } && {
42771 test -z "$ac_c_werror_flag" ||
42772 test ! -s conftest.err
42773 } && test -s conftest$ac_exeext &&
42774 $as_test_x conftest$ac_exeext; then
42775 eval wx_cv_func_$wx_func=yes
42776 else
42777 echo "$as_me: failed program was:" >&5
42778 sed 's/^/| /' conftest.$ac_ext >&5
42779
42780 eval wx_cv_func_$wx_func=no
42781 fi
42782
42783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42784 conftest$ac_exeext conftest.$ac_ext
42785
42786 fi
42787 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42788 { echo "$as_me:$LINENO: result: $ac_res" >&5
42789 echo "${ECHO_T}$ac_res" >&6; }
42790
42791 if eval test \$wx_cv_func_$wx_func = yes
42792 then
42793 cat >>confdefs.h <<_ACEOF
42794 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42795 _ACEOF
42796
42797
42798 else
42799 :
42800
42801 fi
42802 done
42803
42804
42805
42806 for wx_func in getgrgid_r
42807 do
42808 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42809 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42810 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42811 echo $ECHO_N "(cached) $ECHO_C" >&6
42812 else
42813
42814 cat >conftest.$ac_ext <<_ACEOF
42815
42816 /* confdefs.h. */
42817 _ACEOF
42818 cat confdefs.h >>conftest.$ac_ext
42819 cat >>conftest.$ac_ext <<_ACEOF
42820 /* end confdefs.h. */
42821
42822
42823 #define _REENTRANT
42824 #include <grp.h>
42825
42826 $ac_includes_default
42827
42828 int
42829 main ()
42830 {
42831
42832 #ifndef $wx_func
42833 &$wx_func;
42834 #endif
42835
42836 struct group grp, *pgrp;
42837 char buf[1024];
42838 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42839
42840
42841 ;
42842 return 0;
42843 }
42844
42845 _ACEOF
42846 rm -f conftest.$ac_objext conftest$ac_exeext
42847 if { (ac_try="$ac_link"
42848 case "(($ac_try" in
42849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42850 *) ac_try_echo=$ac_try;;
42851 esac
42852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42853 (eval "$ac_link") 2>conftest.er1
42854 ac_status=$?
42855 grep -v '^ *+' conftest.er1 >conftest.err
42856 rm -f conftest.er1
42857 cat conftest.err >&5
42858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42859 (exit $ac_status); } && {
42860 test -z "$ac_c_werror_flag" ||
42861 test ! -s conftest.err
42862 } && test -s conftest$ac_exeext &&
42863 $as_test_x conftest$ac_exeext; then
42864 eval wx_cv_func_$wx_func=yes
42865 else
42866 echo "$as_me: failed program was:" >&5
42867 sed 's/^/| /' conftest.$ac_ext >&5
42868
42869 eval wx_cv_func_$wx_func=no
42870 fi
42871
42872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42873 conftest$ac_exeext conftest.$ac_ext
42874
42875 fi
42876 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42877 { echo "$as_me:$LINENO: result: $ac_res" >&5
42878 echo "${ECHO_T}$ac_res" >&6; }
42879
42880 if eval test \$wx_cv_func_$wx_func = yes
42881 then
42882 cat >>confdefs.h <<_ACEOF
42883 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42884 _ACEOF
42885
42886
42887 else
42888 :
42889
42890 fi
42891 done
42892
42893 fi
42894
42895 fi
42896
42897
42898
42899 cat >confcache <<\_ACEOF
42900 # This file is a shell script that caches the results of configure
42901 # tests run on this system so they can be shared between configure
42902 # scripts and configure runs, see configure's option --config-cache.
42903 # It is not useful on other systems. If it contains results you don't
42904 # want to keep, you may remove or edit it.
42905 #
42906 # config.status only pays attention to the cache file if you give it
42907 # the --recheck option to rerun configure.
42908 #
42909 # `ac_cv_env_foo' variables (set or unset) will be overridden when
42910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42911 # following values.
42912
42913 _ACEOF
42914
42915 # The following way of writing the cache mishandles newlines in values,
42916 # but we know of no workaround that is simple, portable, and efficient.
42917 # So, we kill variables containing newlines.
42918 # Ultrix sh set writes to stderr and can't be redirected directly,
42919 # and sets the high bit in the cache file unless we assign to the vars.
42920 (
42921 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42922 eval ac_val=\$$ac_var
42923 case $ac_val in #(
42924 *${as_nl}*)
42925 case $ac_var in #(
42926 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42927 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42928 esac
42929 case $ac_var in #(
42930 _ | IFS | as_nl) ;; #(
42931 *) $as_unset $ac_var ;;
42932 esac ;;
42933 esac
42934 done
42935
42936 (set) 2>&1 |
42937 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42938 *${as_nl}ac_space=\ *)
42939 # `set' does not quote correctly, so add quotes (double-quote
42940 # substitution turns \\\\ into \\, and sed turns \\ into \).
42941 sed -n \
42942 "s/'/'\\\\''/g;
42943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42944 ;; #(
42945 *)
42946 # `set' quotes correctly as required by POSIX, so do not add quotes.
42947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42948 ;;
42949 esac |
42950 sort
42951 ) |
42952 sed '
42953 /^ac_cv_env_/b end
42954 t clear
42955 :clear
42956 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42957 t end
42958 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42959 :end' >>confcache
42960 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
42961 if test -w "$cache_file"; then
42962 test "x$cache_file" != "x/dev/null" &&
42963 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42964 echo "$as_me: updating cache $cache_file" >&6;}
42965 cat confcache >$cache_file
42966 else
42967 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42968 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42969 fi
42970 fi
42971 rm -f confcache
42972
42973
42974 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42975
42976
42977 THREADS_LINK=
42978 THREADS_CFLAGS=
42979
42980 if test "$wxUSE_THREADS" = "yes" ; then
42981 if test "$USE_BEOS" = 1; then
42982 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42983 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42984 wxUSE_THREADS="no"
42985 fi
42986 fi
42987
42988 if test "$wxUSE_THREADS" = "yes" ; then
42989
42990
42991 THREAD_OPTS="-pthread"
42992 if test "x$SUNCXX" = xyes; then
42993 THREAD_OPTS="-mt lthread $THREAD_OPTS"
42994 fi
42995
42996 case "${host}" in
42997 *-*-solaris2* | *-*-sunos4* )
42998 if test "x$GCC" = "xyes"; then
42999 THREAD_OPTS="-pthreads $THREAD_OPTS"
43000 fi
43001 ;;
43002 *-*-freebsd*)
43003 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
43004 ;;
43005 *-*-darwin* | *-*-cygwin* )
43006 THREAD_OPTS=""
43007 ;;
43008 *-*-aix*)
43009 THREAD_OPTS="pthreads"
43010 ;;
43011 *-hp-hpux* )
43012 if test "x$GCC" = "xyes"; then
43013 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
43014 THREAD_OPTS=""
43015 else
43016 THREAD_OPTS="-mt"
43017 fi
43018 ;;
43019
43020 *-*-irix* )
43021 if test "x$GCC" = "xyes"; then
43022 THREAD_OPTS=""
43023 fi
43024 ;;
43025
43026 *-*-qnx*)
43027 THREAD_OPTS=""
43028 ;;
43029
43030 *-*-*UnixWare*)
43031 if test "x$GCC" != "xyes"; then
43032 THREAD_OPTS="-Ethread"
43033 fi
43034 ;;
43035 esac
43036
43037 case "${host}" in
43038 *-*-qnx*)
43039 THREAD_OPTS="none pthread"
43040 ;;
43041
43042 *)
43043 THREAD_OPTS="$THREAD_OPTS pthread none"
43044 ;;
43045 esac
43046
43047 THREADS_OK=no
43048 for flag in $THREAD_OPTS; do
43049 case $flag in
43050 none)
43051 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
43052 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
43053 ;;
43054
43055 -*)
43056 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
43057 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
43058 THREADS_CFLAGS="$flag"
43059 ;;
43060
43061 *)
43062 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
43063 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
43064 THREADS_LINK="-l$flag"
43065 ;;
43066 esac
43067
43068 save_LIBS="$LIBS"
43069 save_CFLAGS="$CFLAGS"
43070 LIBS="$THREADS_LINK $LIBS"
43071 CFLAGS="$THREADS_CFLAGS $CFLAGS"
43072
43073 cat >conftest.$ac_ext <<_ACEOF
43074 /* confdefs.h. */
43075 _ACEOF
43076 cat confdefs.h >>conftest.$ac_ext
43077 cat >>conftest.$ac_ext <<_ACEOF
43078 /* end confdefs.h. */
43079 #include <pthread.h>
43080 int
43081 main ()
43082 {
43083 pthread_create(0,0,0,0);
43084 ;
43085 return 0;
43086 }
43087 _ACEOF
43088 rm -f conftest.$ac_objext conftest$ac_exeext
43089 if { (ac_try="$ac_link"
43090 case "(($ac_try" in
43091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43092 *) ac_try_echo=$ac_try;;
43093 esac
43094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43095 (eval "$ac_link") 2>conftest.er1
43096 ac_status=$?
43097 grep -v '^ *+' conftest.er1 >conftest.err
43098 rm -f conftest.er1
43099 cat conftest.err >&5
43100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43101 (exit $ac_status); } && {
43102 test -z "$ac_c_werror_flag" ||
43103 test ! -s conftest.err
43104 } && test -s conftest$ac_exeext &&
43105 $as_test_x conftest$ac_exeext; then
43106 THREADS_OK=yes
43107 else
43108 echo "$as_me: failed program was:" >&5
43109 sed 's/^/| /' conftest.$ac_ext >&5
43110
43111
43112 fi
43113
43114 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43115 conftest$ac_exeext conftest.$ac_ext
43116
43117 LIBS="$save_LIBS"
43118 CFLAGS="$save_CFLAGS"
43119
43120 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
43121 echo "${ECHO_T}$THREADS_OK" >&6; }
43122 if test "x$THREADS_OK" = "xyes"; then
43123 break;
43124 fi
43125
43126 THREADS_LINK=""
43127 THREADS_CFLAGS=""
43128 done
43129
43130 if test "x$THREADS_OK" != "xyes"; then
43131 wxUSE_THREADS=no
43132 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
43133 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
43134 else
43135 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
43136 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
43137 LIBS="$THREADS_LINK $LIBS"
43138
43139 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
43140 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
43141 flag=no
43142 case "${host}" in
43143 *-aix*)
43144 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
43145 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
43146 flag="-D_THREAD_SAFE"
43147 ;;
43148 *-freebsd*)
43149 flag="-D_THREAD_SAFE"
43150 ;;
43151 *-hp-hpux* )
43152 flag="-D_REENTRANT"
43153 if test "x$GCC" != "xyes"; then
43154 flag="$flag -D_RWSTD_MULTI_THREAD"
43155 fi
43156 ;;
43157 *solaris* | alpha*-osf*)
43158 flag="-D_REENTRANT"
43159 ;;
43160 esac
43161 { echo "$as_me:$LINENO: result: ${flag}" >&5
43162 echo "${ECHO_T}${flag}" >&6; }
43163 if test "x$flag" != xno; then
43164 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
43165 fi
43166
43167 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
43168 fi
43169 fi
43170
43171 if test "$wxUSE_THREADS" = "yes" ; then
43172
43173 for ac_func in thr_setconcurrency
43174 do
43175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43176 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43178 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43179 echo $ECHO_N "(cached) $ECHO_C" >&6
43180 else
43181 cat >conftest.$ac_ext <<_ACEOF
43182 /* confdefs.h. */
43183 _ACEOF
43184 cat confdefs.h >>conftest.$ac_ext
43185 cat >>conftest.$ac_ext <<_ACEOF
43186 /* end confdefs.h. */
43187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43189 #define $ac_func innocuous_$ac_func
43190
43191 /* System header to define __stub macros and hopefully few prototypes,
43192 which can conflict with char $ac_func (); below.
43193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43194 <limits.h> exists even on freestanding compilers. */
43195
43196 #ifdef __STDC__
43197 # include <limits.h>
43198 #else
43199 # include <assert.h>
43200 #endif
43201
43202 #undef $ac_func
43203
43204 /* Override any GCC internal prototype to avoid an error.
43205 Use char because int might match the return type of a GCC
43206 builtin and then its argument prototype would still apply. */
43207 #ifdef __cplusplus
43208 extern "C"
43209 #endif
43210 char $ac_func ();
43211 /* The GNU C library defines this for functions which it implements
43212 to always fail with ENOSYS. Some functions are actually named
43213 something starting with __ and the normal name is an alias. */
43214 #if defined __stub_$ac_func || defined __stub___$ac_func
43215 choke me
43216 #endif
43217
43218 int
43219 main ()
43220 {
43221 return $ac_func ();
43222 ;
43223 return 0;
43224 }
43225 _ACEOF
43226 rm -f conftest.$ac_objext conftest$ac_exeext
43227 if { (ac_try="$ac_link"
43228 case "(($ac_try" in
43229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43230 *) ac_try_echo=$ac_try;;
43231 esac
43232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43233 (eval "$ac_link") 2>conftest.er1
43234 ac_status=$?
43235 grep -v '^ *+' conftest.er1 >conftest.err
43236 rm -f conftest.er1
43237 cat conftest.err >&5
43238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43239 (exit $ac_status); } && {
43240 test -z "$ac_c_werror_flag" ||
43241 test ! -s conftest.err
43242 } && test -s conftest$ac_exeext &&
43243 $as_test_x conftest$ac_exeext; then
43244 eval "$as_ac_var=yes"
43245 else
43246 echo "$as_me: failed program was:" >&5
43247 sed 's/^/| /' conftest.$ac_ext >&5
43248
43249 eval "$as_ac_var=no"
43250 fi
43251
43252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43253 conftest$ac_exeext conftest.$ac_ext
43254 fi
43255 ac_res=`eval echo '${'$as_ac_var'}'`
43256 { echo "$as_me:$LINENO: result: $ac_res" >&5
43257 echo "${ECHO_T}$ac_res" >&6; }
43258 if test `eval echo '${'$as_ac_var'}'` = yes; then
43259 cat >>confdefs.h <<_ACEOF
43260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43261 _ACEOF
43262
43263 fi
43264 done
43265
43266
43267 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43268 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43269 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43270 echo $ECHO_N "(cached) $ECHO_C" >&6
43271 else
43272
43273 ac_ext=cpp
43274 ac_cpp='$CXXCPP $CPPFLAGS'
43275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43278
43279 cat >conftest.$ac_ext <<_ACEOF
43280 /* confdefs.h. */
43281 _ACEOF
43282 cat confdefs.h >>conftest.$ac_ext
43283 cat >>conftest.$ac_ext <<_ACEOF
43284 /* end confdefs.h. */
43285 #include <pthread.h>
43286 void ThreadCleanupFunc(void *p);
43287
43288 int
43289 main ()
43290 {
43291
43292 void *p;
43293 pthread_cleanup_push(ThreadCleanupFunc, p);
43294 pthread_cleanup_pop(0);
43295
43296 ;
43297 return 0;
43298 }
43299 _ACEOF
43300 rm -f conftest.$ac_objext
43301 if { (ac_try="$ac_compile"
43302 case "(($ac_try" in
43303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43304 *) ac_try_echo=$ac_try;;
43305 esac
43306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43307 (eval "$ac_compile") 2>conftest.er1
43308 ac_status=$?
43309 grep -v '^ *+' conftest.er1 >conftest.err
43310 rm -f conftest.er1
43311 cat conftest.err >&5
43312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43313 (exit $ac_status); } && {
43314 test -z "$ac_cxx_werror_flag" ||
43315 test ! -s conftest.err
43316 } && test -s conftest.$ac_objext; then
43317
43318 wx_cv_func_pthread_cleanup=yes
43319
43320 else
43321 echo "$as_me: failed program was:" >&5
43322 sed 's/^/| /' conftest.$ac_ext >&5
43323
43324
43325 wx_cv_func_pthread_cleanup=no
43326
43327
43328 fi
43329
43330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43331 ac_ext=c
43332 ac_cpp='$CPP $CPPFLAGS'
43333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43336
43337
43338 fi
43339 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43340 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43341 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43342 cat >>confdefs.h <<\_ACEOF
43343 #define wxHAVE_PTHREAD_CLEANUP 1
43344 _ACEOF
43345
43346 fi
43347
43348
43349 for ac_header in sched.h
43350 do
43351 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43352 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43355 echo $ECHO_N "(cached) $ECHO_C" >&6
43356 else
43357 cat >conftest.$ac_ext <<_ACEOF
43358 /* confdefs.h. */
43359 _ACEOF
43360 cat confdefs.h >>conftest.$ac_ext
43361 cat >>conftest.$ac_ext <<_ACEOF
43362 /* end confdefs.h. */
43363 $ac_includes_default
43364
43365 #include <$ac_header>
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (ac_try="$ac_compile"
43369 case "(($ac_try" in
43370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43371 *) ac_try_echo=$ac_try;;
43372 esac
43373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43374 (eval "$ac_compile") 2>conftest.er1
43375 ac_status=$?
43376 grep -v '^ *+' conftest.er1 >conftest.err
43377 rm -f conftest.er1
43378 cat conftest.err >&5
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); } && {
43381 test -z "$ac_c_werror_flag" ||
43382 test ! -s conftest.err
43383 } && test -s conftest.$ac_objext; then
43384 eval "$as_ac_Header=yes"
43385 else
43386 echo "$as_me: failed program was:" >&5
43387 sed 's/^/| /' conftest.$ac_ext >&5
43388
43389 eval "$as_ac_Header=no"
43390 fi
43391
43392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43393 fi
43394 ac_res=`eval echo '${'$as_ac_Header'}'`
43395 { echo "$as_me:$LINENO: result: $ac_res" >&5
43396 echo "${ECHO_T}$ac_res" >&6; }
43397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43398 cat >>confdefs.h <<_ACEOF
43399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43400 _ACEOF
43401
43402 fi
43403
43404 done
43405
43406 if test "$ac_cv_header_sched_h" = "yes"; then
43407 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43408 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43409 if test "${ac_cv_func_sched_yield+set}" = set; then
43410 echo $ECHO_N "(cached) $ECHO_C" >&6
43411 else
43412 cat >conftest.$ac_ext <<_ACEOF
43413 /* confdefs.h. */
43414 _ACEOF
43415 cat confdefs.h >>conftest.$ac_ext
43416 cat >>conftest.$ac_ext <<_ACEOF
43417 /* end confdefs.h. */
43418 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43420 #define sched_yield innocuous_sched_yield
43421
43422 /* System header to define __stub macros and hopefully few prototypes,
43423 which can conflict with char sched_yield (); below.
43424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43425 <limits.h> exists even on freestanding compilers. */
43426
43427 #ifdef __STDC__
43428 # include <limits.h>
43429 #else
43430 # include <assert.h>
43431 #endif
43432
43433 #undef sched_yield
43434
43435 /* Override any GCC internal prototype to avoid an error.
43436 Use char because int might match the return type of a GCC
43437 builtin and then its argument prototype would still apply. */
43438 #ifdef __cplusplus
43439 extern "C"
43440 #endif
43441 char sched_yield ();
43442 /* The GNU C library defines this for functions which it implements
43443 to always fail with ENOSYS. Some functions are actually named
43444 something starting with __ and the normal name is an alias. */
43445 #if defined __stub_sched_yield || defined __stub___sched_yield
43446 choke me
43447 #endif
43448
43449 int
43450 main ()
43451 {
43452 return sched_yield ();
43453 ;
43454 return 0;
43455 }
43456 _ACEOF
43457 rm -f conftest.$ac_objext conftest$ac_exeext
43458 if { (ac_try="$ac_link"
43459 case "(($ac_try" in
43460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43461 *) ac_try_echo=$ac_try;;
43462 esac
43463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43464 (eval "$ac_link") 2>conftest.er1
43465 ac_status=$?
43466 grep -v '^ *+' conftest.er1 >conftest.err
43467 rm -f conftest.er1
43468 cat conftest.err >&5
43469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43470 (exit $ac_status); } && {
43471 test -z "$ac_c_werror_flag" ||
43472 test ! -s conftest.err
43473 } && test -s conftest$ac_exeext &&
43474 $as_test_x conftest$ac_exeext; then
43475 ac_cv_func_sched_yield=yes
43476 else
43477 echo "$as_me: failed program was:" >&5
43478 sed 's/^/| /' conftest.$ac_ext >&5
43479
43480 ac_cv_func_sched_yield=no
43481 fi
43482
43483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43484 conftest$ac_exeext conftest.$ac_ext
43485 fi
43486 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43487 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43488 if test $ac_cv_func_sched_yield = yes; then
43489 cat >>confdefs.h <<\_ACEOF
43490 #define HAVE_SCHED_YIELD 1
43491 _ACEOF
43492
43493 else
43494
43495 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43496 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43497 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43498 echo $ECHO_N "(cached) $ECHO_C" >&6
43499 else
43500 ac_check_lib_save_LIBS=$LIBS
43501 LIBS="-lposix4 $LIBS"
43502 cat >conftest.$ac_ext <<_ACEOF
43503 /* confdefs.h. */
43504 _ACEOF
43505 cat confdefs.h >>conftest.$ac_ext
43506 cat >>conftest.$ac_ext <<_ACEOF
43507 /* end confdefs.h. */
43508
43509 /* Override any GCC internal prototype to avoid an error.
43510 Use char because int might match the return type of a GCC
43511 builtin and then its argument prototype would still apply. */
43512 #ifdef __cplusplus
43513 extern "C"
43514 #endif
43515 char sched_yield ();
43516 int
43517 main ()
43518 {
43519 return sched_yield ();
43520 ;
43521 return 0;
43522 }
43523 _ACEOF
43524 rm -f conftest.$ac_objext conftest$ac_exeext
43525 if { (ac_try="$ac_link"
43526 case "(($ac_try" in
43527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43528 *) ac_try_echo=$ac_try;;
43529 esac
43530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43531 (eval "$ac_link") 2>conftest.er1
43532 ac_status=$?
43533 grep -v '^ *+' conftest.er1 >conftest.err
43534 rm -f conftest.er1
43535 cat conftest.err >&5
43536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43537 (exit $ac_status); } && {
43538 test -z "$ac_c_werror_flag" ||
43539 test ! -s conftest.err
43540 } && test -s conftest$ac_exeext &&
43541 $as_test_x conftest$ac_exeext; then
43542 ac_cv_lib_posix4_sched_yield=yes
43543 else
43544 echo "$as_me: failed program was:" >&5
43545 sed 's/^/| /' conftest.$ac_ext >&5
43546
43547 ac_cv_lib_posix4_sched_yield=no
43548 fi
43549
43550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43551 conftest$ac_exeext conftest.$ac_ext
43552 LIBS=$ac_check_lib_save_LIBS
43553 fi
43554 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43555 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43556 if test $ac_cv_lib_posix4_sched_yield = yes; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define HAVE_SCHED_YIELD 1
43559 _ACEOF
43560 POSIX4_LINK=" -lposix4"
43561 else
43562 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43563 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43564
43565 fi
43566
43567
43568
43569 fi
43570
43571 fi
43572
43573 HAVE_PRIOR_FUNCS=0
43574 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43575 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43576 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43577 echo $ECHO_N "(cached) $ECHO_C" >&6
43578 else
43579 cat >conftest.$ac_ext <<_ACEOF
43580 /* confdefs.h. */
43581 _ACEOF
43582 cat confdefs.h >>conftest.$ac_ext
43583 cat >>conftest.$ac_ext <<_ACEOF
43584 /* end confdefs.h. */
43585 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43587 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43588
43589 /* System header to define __stub macros and hopefully few prototypes,
43590 which can conflict with char pthread_attr_getschedpolicy (); below.
43591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43592 <limits.h> exists even on freestanding compilers. */
43593
43594 #ifdef __STDC__
43595 # include <limits.h>
43596 #else
43597 # include <assert.h>
43598 #endif
43599
43600 #undef pthread_attr_getschedpolicy
43601
43602 /* Override any GCC internal prototype to avoid an error.
43603 Use char because int might match the return type of a GCC
43604 builtin and then its argument prototype would still apply. */
43605 #ifdef __cplusplus
43606 extern "C"
43607 #endif
43608 char pthread_attr_getschedpolicy ();
43609 /* The GNU C library defines this for functions which it implements
43610 to always fail with ENOSYS. Some functions are actually named
43611 something starting with __ and the normal name is an alias. */
43612 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43613 choke me
43614 #endif
43615
43616 int
43617 main ()
43618 {
43619 return pthread_attr_getschedpolicy ();
43620 ;
43621 return 0;
43622 }
43623 _ACEOF
43624 rm -f conftest.$ac_objext conftest$ac_exeext
43625 if { (ac_try="$ac_link"
43626 case "(($ac_try" in
43627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43628 *) ac_try_echo=$ac_try;;
43629 esac
43630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43631 (eval "$ac_link") 2>conftest.er1
43632 ac_status=$?
43633 grep -v '^ *+' conftest.er1 >conftest.err
43634 rm -f conftest.er1
43635 cat conftest.err >&5
43636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43637 (exit $ac_status); } && {
43638 test -z "$ac_c_werror_flag" ||
43639 test ! -s conftest.err
43640 } && test -s conftest$ac_exeext &&
43641 $as_test_x conftest$ac_exeext; then
43642 ac_cv_func_pthread_attr_getschedpolicy=yes
43643 else
43644 echo "$as_me: failed program was:" >&5
43645 sed 's/^/| /' conftest.$ac_ext >&5
43646
43647 ac_cv_func_pthread_attr_getschedpolicy=no
43648 fi
43649
43650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43651 conftest$ac_exeext conftest.$ac_ext
43652 fi
43653 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43654 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43655 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43656 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43657 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43658 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43659 echo $ECHO_N "(cached) $ECHO_C" >&6
43660 else
43661 cat >conftest.$ac_ext <<_ACEOF
43662 /* confdefs.h. */
43663 _ACEOF
43664 cat confdefs.h >>conftest.$ac_ext
43665 cat >>conftest.$ac_ext <<_ACEOF
43666 /* end confdefs.h. */
43667 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43669 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43670
43671 /* System header to define __stub macros and hopefully few prototypes,
43672 which can conflict with char pthread_attr_setschedparam (); below.
43673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43674 <limits.h> exists even on freestanding compilers. */
43675
43676 #ifdef __STDC__
43677 # include <limits.h>
43678 #else
43679 # include <assert.h>
43680 #endif
43681
43682 #undef pthread_attr_setschedparam
43683
43684 /* Override any GCC internal prototype to avoid an error.
43685 Use char because int might match the return type of a GCC
43686 builtin and then its argument prototype would still apply. */
43687 #ifdef __cplusplus
43688 extern "C"
43689 #endif
43690 char pthread_attr_setschedparam ();
43691 /* The GNU C library defines this for functions which it implements
43692 to always fail with ENOSYS. Some functions are actually named
43693 something starting with __ and the normal name is an alias. */
43694 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43695 choke me
43696 #endif
43697
43698 int
43699 main ()
43700 {
43701 return pthread_attr_setschedparam ();
43702 ;
43703 return 0;
43704 }
43705 _ACEOF
43706 rm -f conftest.$ac_objext conftest$ac_exeext
43707 if { (ac_try="$ac_link"
43708 case "(($ac_try" in
43709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43710 *) ac_try_echo=$ac_try;;
43711 esac
43712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43713 (eval "$ac_link") 2>conftest.er1
43714 ac_status=$?
43715 grep -v '^ *+' conftest.er1 >conftest.err
43716 rm -f conftest.er1
43717 cat conftest.err >&5
43718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43719 (exit $ac_status); } && {
43720 test -z "$ac_c_werror_flag" ||
43721 test ! -s conftest.err
43722 } && test -s conftest$ac_exeext &&
43723 $as_test_x conftest$ac_exeext; then
43724 ac_cv_func_pthread_attr_setschedparam=yes
43725 else
43726 echo "$as_me: failed program was:" >&5
43727 sed 's/^/| /' conftest.$ac_ext >&5
43728
43729 ac_cv_func_pthread_attr_setschedparam=no
43730 fi
43731
43732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43733 conftest$ac_exeext conftest.$ac_ext
43734 fi
43735 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43736 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43737 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43738 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43739 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43740 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43742 else
43743 cat >conftest.$ac_ext <<_ACEOF
43744 /* confdefs.h. */
43745 _ACEOF
43746 cat confdefs.h >>conftest.$ac_ext
43747 cat >>conftest.$ac_ext <<_ACEOF
43748 /* end confdefs.h. */
43749 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43751 #define sched_get_priority_max innocuous_sched_get_priority_max
43752
43753 /* System header to define __stub macros and hopefully few prototypes,
43754 which can conflict with char sched_get_priority_max (); below.
43755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43756 <limits.h> exists even on freestanding compilers. */
43757
43758 #ifdef __STDC__
43759 # include <limits.h>
43760 #else
43761 # include <assert.h>
43762 #endif
43763
43764 #undef sched_get_priority_max
43765
43766 /* Override any GCC internal prototype to avoid an error.
43767 Use char because int might match the return type of a GCC
43768 builtin and then its argument prototype would still apply. */
43769 #ifdef __cplusplus
43770 extern "C"
43771 #endif
43772 char sched_get_priority_max ();
43773 /* The GNU C library defines this for functions which it implements
43774 to always fail with ENOSYS. Some functions are actually named
43775 something starting with __ and the normal name is an alias. */
43776 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43777 choke me
43778 #endif
43779
43780 int
43781 main ()
43782 {
43783 return sched_get_priority_max ();
43784 ;
43785 return 0;
43786 }
43787 _ACEOF
43788 rm -f conftest.$ac_objext conftest$ac_exeext
43789 if { (ac_try="$ac_link"
43790 case "(($ac_try" in
43791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43792 *) ac_try_echo=$ac_try;;
43793 esac
43794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43795 (eval "$ac_link") 2>conftest.er1
43796 ac_status=$?
43797 grep -v '^ *+' conftest.er1 >conftest.err
43798 rm -f conftest.er1
43799 cat conftest.err >&5
43800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43801 (exit $ac_status); } && {
43802 test -z "$ac_c_werror_flag" ||
43803 test ! -s conftest.err
43804 } && test -s conftest$ac_exeext &&
43805 $as_test_x conftest$ac_exeext; then
43806 ac_cv_func_sched_get_priority_max=yes
43807 else
43808 echo "$as_me: failed program was:" >&5
43809 sed 's/^/| /' conftest.$ac_ext >&5
43810
43811 ac_cv_func_sched_get_priority_max=no
43812 fi
43813
43814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43815 conftest$ac_exeext conftest.$ac_ext
43816 fi
43817 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43818 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43819 if test $ac_cv_func_sched_get_priority_max = yes; then
43820 HAVE_PRIOR_FUNCS=1
43821 else
43822 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43823 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43824 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43825 echo $ECHO_N "(cached) $ECHO_C" >&6
43826 else
43827 ac_check_lib_save_LIBS=$LIBS
43828 LIBS="-lposix4 $LIBS"
43829 cat >conftest.$ac_ext <<_ACEOF
43830 /* confdefs.h. */
43831 _ACEOF
43832 cat confdefs.h >>conftest.$ac_ext
43833 cat >>conftest.$ac_ext <<_ACEOF
43834 /* end confdefs.h. */
43835
43836 /* Override any GCC internal prototype to avoid an error.
43837 Use char because int might match the return type of a GCC
43838 builtin and then its argument prototype would still apply. */
43839 #ifdef __cplusplus
43840 extern "C"
43841 #endif
43842 char sched_get_priority_max ();
43843 int
43844 main ()
43845 {
43846 return sched_get_priority_max ();
43847 ;
43848 return 0;
43849 }
43850 _ACEOF
43851 rm -f conftest.$ac_objext conftest$ac_exeext
43852 if { (ac_try="$ac_link"
43853 case "(($ac_try" in
43854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43855 *) ac_try_echo=$ac_try;;
43856 esac
43857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43858 (eval "$ac_link") 2>conftest.er1
43859 ac_status=$?
43860 grep -v '^ *+' conftest.er1 >conftest.err
43861 rm -f conftest.er1
43862 cat conftest.err >&5
43863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43864 (exit $ac_status); } && {
43865 test -z "$ac_c_werror_flag" ||
43866 test ! -s conftest.err
43867 } && test -s conftest$ac_exeext &&
43868 $as_test_x conftest$ac_exeext; then
43869 ac_cv_lib_posix4_sched_get_priority_max=yes
43870 else
43871 echo "$as_me: failed program was:" >&5
43872 sed 's/^/| /' conftest.$ac_ext >&5
43873
43874 ac_cv_lib_posix4_sched_get_priority_max=no
43875 fi
43876
43877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43878 conftest$ac_exeext conftest.$ac_ext
43879 LIBS=$ac_check_lib_save_LIBS
43880 fi
43881 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43882 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43883 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43884
43885 HAVE_PRIOR_FUNCS=1
43886 POSIX4_LINK=" -lposix4"
43887
43888 fi
43889
43890
43891 fi
43892
43893
43894 fi
43895
43896
43897 fi
43898
43899
43900 if test "$HAVE_PRIOR_FUNCS" = 1; then
43901 cat >>confdefs.h <<\_ACEOF
43902 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43903 _ACEOF
43904
43905 else
43906 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43907 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43908 fi
43909
43910 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43911 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43912 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43913 echo $ECHO_N "(cached) $ECHO_C" >&6
43914 else
43915 cat >conftest.$ac_ext <<_ACEOF
43916 /* confdefs.h. */
43917 _ACEOF
43918 cat confdefs.h >>conftest.$ac_ext
43919 cat >>conftest.$ac_ext <<_ACEOF
43920 /* end confdefs.h. */
43921 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43923 #define pthread_cancel innocuous_pthread_cancel
43924
43925 /* System header to define __stub macros and hopefully few prototypes,
43926 which can conflict with char pthread_cancel (); below.
43927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43928 <limits.h> exists even on freestanding compilers. */
43929
43930 #ifdef __STDC__
43931 # include <limits.h>
43932 #else
43933 # include <assert.h>
43934 #endif
43935
43936 #undef pthread_cancel
43937
43938 /* Override any GCC internal prototype to avoid an error.
43939 Use char because int might match the return type of a GCC
43940 builtin and then its argument prototype would still apply. */
43941 #ifdef __cplusplus
43942 extern "C"
43943 #endif
43944 char pthread_cancel ();
43945 /* The GNU C library defines this for functions which it implements
43946 to always fail with ENOSYS. Some functions are actually named
43947 something starting with __ and the normal name is an alias. */
43948 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43949 choke me
43950 #endif
43951
43952 int
43953 main ()
43954 {
43955 return pthread_cancel ();
43956 ;
43957 return 0;
43958 }
43959 _ACEOF
43960 rm -f conftest.$ac_objext conftest$ac_exeext
43961 if { (ac_try="$ac_link"
43962 case "(($ac_try" in
43963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43964 *) ac_try_echo=$ac_try;;
43965 esac
43966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43967 (eval "$ac_link") 2>conftest.er1
43968 ac_status=$?
43969 grep -v '^ *+' conftest.er1 >conftest.err
43970 rm -f conftest.er1
43971 cat conftest.err >&5
43972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43973 (exit $ac_status); } && {
43974 test -z "$ac_c_werror_flag" ||
43975 test ! -s conftest.err
43976 } && test -s conftest$ac_exeext &&
43977 $as_test_x conftest$ac_exeext; then
43978 ac_cv_func_pthread_cancel=yes
43979 else
43980 echo "$as_me: failed program was:" >&5
43981 sed 's/^/| /' conftest.$ac_ext >&5
43982
43983 ac_cv_func_pthread_cancel=no
43984 fi
43985
43986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43987 conftest$ac_exeext conftest.$ac_ext
43988 fi
43989 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43990 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43991 if test $ac_cv_func_pthread_cancel = yes; then
43992 cat >>confdefs.h <<\_ACEOF
43993 #define HAVE_PTHREAD_CANCEL 1
43994 _ACEOF
43995
43996 else
43997 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43998 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43999 fi
44000
44001
44002 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
44003 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
44004 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
44005 echo $ECHO_N "(cached) $ECHO_C" >&6
44006 else
44007 cat >conftest.$ac_ext <<_ACEOF
44008 /* confdefs.h. */
44009 _ACEOF
44010 cat confdefs.h >>conftest.$ac_ext
44011 cat >>conftest.$ac_ext <<_ACEOF
44012 /* end confdefs.h. */
44013 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
44014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44015 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
44016
44017 /* System header to define __stub macros and hopefully few prototypes,
44018 which can conflict with char pthread_mutex_timedlock (); below.
44019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44020 <limits.h> exists even on freestanding compilers. */
44021
44022 #ifdef __STDC__
44023 # include <limits.h>
44024 #else
44025 # include <assert.h>
44026 #endif
44027
44028 #undef pthread_mutex_timedlock
44029
44030 /* Override any GCC internal prototype to avoid an error.
44031 Use char because int might match the return type of a GCC
44032 builtin and then its argument prototype would still apply. */
44033 #ifdef __cplusplus
44034 extern "C"
44035 #endif
44036 char pthread_mutex_timedlock ();
44037 /* The GNU C library defines this for functions which it implements
44038 to always fail with ENOSYS. Some functions are actually named
44039 something starting with __ and the normal name is an alias. */
44040 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
44041 choke me
44042 #endif
44043
44044 int
44045 main ()
44046 {
44047 return pthread_mutex_timedlock ();
44048 ;
44049 return 0;
44050 }
44051 _ACEOF
44052 rm -f conftest.$ac_objext conftest$ac_exeext
44053 if { (ac_try="$ac_link"
44054 case "(($ac_try" in
44055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44056 *) ac_try_echo=$ac_try;;
44057 esac
44058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44059 (eval "$ac_link") 2>conftest.er1
44060 ac_status=$?
44061 grep -v '^ *+' conftest.er1 >conftest.err
44062 rm -f conftest.er1
44063 cat conftest.err >&5
44064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44065 (exit $ac_status); } && {
44066 test -z "$ac_c_werror_flag" ||
44067 test ! -s conftest.err
44068 } && test -s conftest$ac_exeext &&
44069 $as_test_x conftest$ac_exeext; then
44070 ac_cv_func_pthread_mutex_timedlock=yes
44071 else
44072 echo "$as_me: failed program was:" >&5
44073 sed 's/^/| /' conftest.$ac_ext >&5
44074
44075 ac_cv_func_pthread_mutex_timedlock=no
44076 fi
44077
44078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44079 conftest$ac_exeext conftest.$ac_ext
44080 fi
44081 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
44082 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
44083 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
44084 cat >>confdefs.h <<\_ACEOF
44085 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
44086 _ACEOF
44087
44088 else
44089 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
44090 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
44091 fi
44092
44093
44094 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
44095 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
44096 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
44097 echo $ECHO_N "(cached) $ECHO_C" >&6
44098 else
44099 cat >conftest.$ac_ext <<_ACEOF
44100 /* confdefs.h. */
44101 _ACEOF
44102 cat confdefs.h >>conftest.$ac_ext
44103 cat >>conftest.$ac_ext <<_ACEOF
44104 /* end confdefs.h. */
44105 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
44106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44107 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
44108
44109 /* System header to define __stub macros and hopefully few prototypes,
44110 which can conflict with char pthread_attr_setstacksize (); below.
44111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44112 <limits.h> exists even on freestanding compilers. */
44113
44114 #ifdef __STDC__
44115 # include <limits.h>
44116 #else
44117 # include <assert.h>
44118 #endif
44119
44120 #undef pthread_attr_setstacksize
44121
44122 /* Override any GCC internal prototype to avoid an error.
44123 Use char because int might match the return type of a GCC
44124 builtin and then its argument prototype would still apply. */
44125 #ifdef __cplusplus
44126 extern "C"
44127 #endif
44128 char pthread_attr_setstacksize ();
44129 /* The GNU C library defines this for functions which it implements
44130 to always fail with ENOSYS. Some functions are actually named
44131 something starting with __ and the normal name is an alias. */
44132 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
44133 choke me
44134 #endif
44135
44136 int
44137 main ()
44138 {
44139 return pthread_attr_setstacksize ();
44140 ;
44141 return 0;
44142 }
44143 _ACEOF
44144 rm -f conftest.$ac_objext conftest$ac_exeext
44145 if { (ac_try="$ac_link"
44146 case "(($ac_try" in
44147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44148 *) ac_try_echo=$ac_try;;
44149 esac
44150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44151 (eval "$ac_link") 2>conftest.er1
44152 ac_status=$?
44153 grep -v '^ *+' conftest.er1 >conftest.err
44154 rm -f conftest.er1
44155 cat conftest.err >&5
44156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44157 (exit $ac_status); } && {
44158 test -z "$ac_c_werror_flag" ||
44159 test ! -s conftest.err
44160 } && test -s conftest$ac_exeext &&
44161 $as_test_x conftest$ac_exeext; then
44162 ac_cv_func_pthread_attr_setstacksize=yes
44163 else
44164 echo "$as_me: failed program was:" >&5
44165 sed 's/^/| /' conftest.$ac_ext >&5
44166
44167 ac_cv_func_pthread_attr_setstacksize=no
44168 fi
44169
44170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44171 conftest$ac_exeext conftest.$ac_ext
44172 fi
44173 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
44174 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
44175 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
44176 cat >>confdefs.h <<\_ACEOF
44177 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44178 _ACEOF
44179
44180 fi
44181
44182
44183
44184 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
44185 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
44186 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
44187 echo $ECHO_N "(cached) $ECHO_C" >&6
44188 else
44189
44190 cat >conftest.$ac_ext <<_ACEOF
44191 /* confdefs.h. */
44192 _ACEOF
44193 cat confdefs.h >>conftest.$ac_ext
44194 cat >>conftest.$ac_ext <<_ACEOF
44195 /* end confdefs.h. */
44196 #include <pthread.h>
44197 int
44198 main ()
44199 {
44200
44201 pthread_mutexattr_t attr;
44202 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44203
44204 ;
44205 return 0;
44206 }
44207 _ACEOF
44208 rm -f conftest.$ac_objext
44209 if { (ac_try="$ac_compile"
44210 case "(($ac_try" in
44211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44212 *) ac_try_echo=$ac_try;;
44213 esac
44214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44215 (eval "$ac_compile") 2>conftest.er1
44216 ac_status=$?
44217 grep -v '^ *+' conftest.er1 >conftest.err
44218 rm -f conftest.er1
44219 cat conftest.err >&5
44220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44221 (exit $ac_status); } && {
44222 test -z "$ac_c_werror_flag" ||
44223 test ! -s conftest.err
44224 } && test -s conftest.$ac_objext; then
44225 wx_cv_type_pthread_mutexattr_t=yes
44226 else
44227 echo "$as_me: failed program was:" >&5
44228 sed 's/^/| /' conftest.$ac_ext >&5
44229
44230 wx_cv_type_pthread_mutexattr_t=no
44231
44232 fi
44233
44234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44235
44236 fi
44237 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44238 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44239
44240 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44241 cat >>confdefs.h <<\_ACEOF
44242 #define HAVE_PTHREAD_MUTEXATTR_T 1
44243 _ACEOF
44244
44245
44246 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44247 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44248 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44249 echo $ECHO_N "(cached) $ECHO_C" >&6
44250 else
44251
44252 cat >conftest.$ac_ext <<_ACEOF
44253 /* confdefs.h. */
44254 _ACEOF
44255 cat confdefs.h >>conftest.$ac_ext
44256 cat >>conftest.$ac_ext <<_ACEOF
44257 /* end confdefs.h. */
44258 #include <pthread.h>
44259 int
44260 main ()
44261 {
44262
44263 pthread_mutexattr_t attr;
44264 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44265
44266 ;
44267 return 0;
44268 }
44269 _ACEOF
44270 rm -f conftest.$ac_objext
44271 if { (ac_try="$ac_compile"
44272 case "(($ac_try" in
44273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44274 *) ac_try_echo=$ac_try;;
44275 esac
44276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44277 (eval "$ac_compile") 2>conftest.er1
44278 ac_status=$?
44279 grep -v '^ *+' conftest.er1 >conftest.err
44280 rm -f conftest.er1
44281 cat conftest.err >&5
44282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44283 (exit $ac_status); } && {
44284 test -z "$ac_c_werror_flag" ||
44285 test ! -s conftest.err
44286 } && test -s conftest.$ac_objext; then
44287 wx_cv_func_pthread_mutexattr_settype_decl=yes
44288 else
44289 echo "$as_me: failed program was:" >&5
44290 sed 's/^/| /' conftest.$ac_ext >&5
44291
44292 wx_cv_func_pthread_mutexattr_settype_decl=no
44293
44294 fi
44295
44296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44297
44298 fi
44299 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44300 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44301 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44302 cat >>confdefs.h <<\_ACEOF
44303 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44304 _ACEOF
44305
44306 fi
44307 else
44308 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44309 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44310 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44311 echo $ECHO_N "(cached) $ECHO_C" >&6
44312 else
44313
44314 cat >conftest.$ac_ext <<_ACEOF
44315 /* confdefs.h. */
44316 _ACEOF
44317 cat confdefs.h >>conftest.$ac_ext
44318 cat >>conftest.$ac_ext <<_ACEOF
44319 /* end confdefs.h. */
44320 #include <pthread.h>
44321 int
44322 main ()
44323 {
44324
44325 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44326
44327 ;
44328 return 0;
44329 }
44330 _ACEOF
44331 rm -f conftest.$ac_objext
44332 if { (ac_try="$ac_compile"
44333 case "(($ac_try" in
44334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44335 *) ac_try_echo=$ac_try;;
44336 esac
44337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44338 (eval "$ac_compile") 2>conftest.er1
44339 ac_status=$?
44340 grep -v '^ *+' conftest.er1 >conftest.err
44341 rm -f conftest.er1
44342 cat conftest.err >&5
44343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44344 (exit $ac_status); } && {
44345 test -z "$ac_c_werror_flag" ||
44346 test ! -s conftest.err
44347 } && test -s conftest.$ac_objext; then
44348
44349 wx_cv_type_pthread_rec_mutex_init=yes
44350
44351 else
44352 echo "$as_me: failed program was:" >&5
44353 sed 's/^/| /' conftest.$ac_ext >&5
44354
44355
44356 wx_cv_type_pthread_rec_mutex_init=no
44357
44358
44359 fi
44360
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44362
44363 fi
44364 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44365 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44366 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44367 cat >>confdefs.h <<\_ACEOF
44368 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44369 _ACEOF
44370
44371 else
44372 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44373 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44374 fi
44375 fi
44376
44377 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44378 if test "$USE_NETBSD" = 1; then
44379 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44380 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44381 wxUSE_COMPILER_TLS=no
44382 else
44383 wxUSE_COMPILER_TLS=yes
44384 fi
44385 fi
44386
44387 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44388 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44389 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44390 if test "${wx_cv_cc___thread+set}" = set; then
44391 echo $ECHO_N "(cached) $ECHO_C" >&6
44392 else
44393
44394 cat >conftest.$ac_ext <<_ACEOF
44395 /* confdefs.h. */
44396 _ACEOF
44397 cat confdefs.h >>conftest.$ac_ext
44398 cat >>conftest.$ac_ext <<_ACEOF
44399 /* end confdefs.h. */
44400 #include <pthread.h>
44401 int
44402 main ()
44403 {
44404
44405 static __thread int n = 0;
44406 static __thread int *p = 0;
44407
44408 ;
44409 return 0;
44410 }
44411 _ACEOF
44412 rm -f conftest.$ac_objext
44413 if { (ac_try="$ac_compile"
44414 case "(($ac_try" in
44415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44416 *) ac_try_echo=$ac_try;;
44417 esac
44418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44419 (eval "$ac_compile") 2>conftest.er1
44420 ac_status=$?
44421 grep -v '^ *+' conftest.er1 >conftest.err
44422 rm -f conftest.er1
44423 cat conftest.err >&5
44424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44425 (exit $ac_status); } && {
44426 test -z "$ac_c_werror_flag" ||
44427 test ! -s conftest.err
44428 } && test -s conftest.$ac_objext; then
44429 wx_cv_cc___thread=yes
44430 else
44431 echo "$as_me: failed program was:" >&5
44432 sed 's/^/| /' conftest.$ac_ext >&5
44433
44434 wx_cv_cc___thread=no
44435
44436 fi
44437
44438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44439
44440
44441 fi
44442 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44443 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44444
44445 if test "$wx_cv_cc___thread" = "yes"; then
44446
44447 GXX_VERSION=""
44448
44449
44450
44451 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44452 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44453
44454 if test "x$GCC" = "xyes" ; then
44455
44456 if test -z "" ; then
44457
44458 ax_gcc_option_test="int main()
44459 {
44460 return 0;
44461 }"
44462
44463 else
44464
44465 ax_gcc_option_test=""
44466
44467 fi
44468
44469
44470 # Dump the test program to file
44471 cat <<EOF > conftest.c
44472 $ax_gcc_option_test
44473 EOF
44474
44475 # Dump back the file to the log, useful for debugging purposes
44476 { ac_try='cat conftest.c 1>&5'
44477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44478 (eval $ac_try) 2>&5
44479 ac_status=$?
44480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44481 (exit $ac_status); }; }
44482
44483 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44485 (eval $ac_try) 2>&5
44486 ac_status=$?
44487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44488 (exit $ac_status); }; } ; then
44489
44490 { echo "$as_me:$LINENO: result: yes" >&5
44491 echo "${ECHO_T}yes" >&6; }
44492
44493 ax_gcc_version_option=yes
44494
44495
44496 else
44497
44498 { echo "$as_me:$LINENO: result: no" >&5
44499 echo "${ECHO_T}no" >&6; }
44500
44501 ax_gcc_version_option=no
44502
44503
44504 fi
44505
44506
44507 else
44508
44509 { echo "$as_me:$LINENO: result: no gcc available" >&5
44510 echo "${ECHO_T}no gcc available" >&6; }
44511
44512 fi
44513
44514
44515 if test "x$GXX" = "xyes"; then
44516
44517 if test "x$ax_gxx_version_option" != "no"; then
44518
44519 { echo "$as_me:$LINENO: checking gxx version" >&5
44520 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44521 if test "${ax_cv_gxx_version+set}" = set; then
44522 echo $ECHO_N "(cached) $ECHO_C" >&6
44523 else
44524
44525 ax_cv_gxx_version="`$CXX -dumpversion`"
44526 if test "x$ax_cv_gxx_version" = "x"; then
44527
44528 ax_cv_gxx_version=""
44529
44530 fi
44531
44532
44533 fi
44534 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44535 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44536 GXX_VERSION=$ax_cv_gxx_version
44537
44538 fi
44539
44540
44541 fi
44542
44543
44544
44545 if test -n "$ax_cv_gxx_version"; then
44546 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44547 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44548 case "$ax_cv_gxx_version" in
44549 1.* | 2.* | 3.* )
44550 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44551 echo "${ECHO_T}no, it's broken" >&6; }
44552 wx_cv_cc___thread=no
44553 ;;
44554 *)
44555 { echo "$as_me:$LINENO: result: yes, it works" >&5
44556 echo "${ECHO_T}yes, it works" >&6; }
44557 ;;
44558 esac
44559 fi
44560 fi
44561
44562 if test "$wx_cv_cc___thread" = "yes"; then
44563 cat >>confdefs.h <<\_ACEOF
44564 #define HAVE___THREAD_KEYWORD 1
44565 _ACEOF
44566
44567 fi
44568 fi
44569 fi
44570
44571 else
44572 if test "$wxUSE_THREADS" = "yes" ; then
44573 case "${host}" in
44574 x86_64-*-mingw32* )
44575 ;;
44576 *-*-mingw32* )
44577 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44578 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44579 if test "${wx_cv_cflags_mthread+set}" = set; then
44580 echo $ECHO_N "(cached) $ECHO_C" >&6
44581 else
44582
44583 CFLAGS_OLD="$CFLAGS"
44584 CFLAGS="-mthreads $CFLAGS"
44585 cat >conftest.$ac_ext <<_ACEOF
44586 /* confdefs.h. */
44587 _ACEOF
44588 cat confdefs.h >>conftest.$ac_ext
44589 cat >>conftest.$ac_ext <<_ACEOF
44590 /* end confdefs.h. */
44591
44592 int
44593 main ()
44594 {
44595
44596 ;
44597 return 0;
44598 }
44599 _ACEOF
44600 rm -f conftest.$ac_objext
44601 if { (ac_try="$ac_compile"
44602 case "(($ac_try" in
44603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44604 *) ac_try_echo=$ac_try;;
44605 esac
44606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44607 (eval "$ac_compile") 2>conftest.er1
44608 ac_status=$?
44609 grep -v '^ *+' conftest.er1 >conftest.err
44610 rm -f conftest.er1
44611 cat conftest.err >&5
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); } && {
44614 test -z "$ac_c_werror_flag" ||
44615 test ! -s conftest.err
44616 } && test -s conftest.$ac_objext; then
44617 wx_cv_cflags_mthread=yes
44618 else
44619 echo "$as_me: failed program was:" >&5
44620 sed 's/^/| /' conftest.$ac_ext >&5
44621
44622 wx_cv_cflags_mthread=no
44623
44624 fi
44625
44626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44627
44628
44629 fi
44630 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44631 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44632
44633 if test "$wx_cv_cflags_mthread" = "yes"; then
44634 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
44635 LDFLAGS="$LDFLAGS -mthreads"
44636 else
44637 CFLAGS="$CFLAGS_OLD"
44638 fi
44639 ;;
44640 *-pc-os2*emx )
44641 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44642 LDFLAGS="$LDFLAGS -Zmt"
44643 ;;
44644 esac
44645 fi
44646 fi
44647
44648 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44649 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44650 if test "${ac_cv_func_localtime_r+set}" = set; then
44651 echo $ECHO_N "(cached) $ECHO_C" >&6
44652 else
44653 cat >conftest.$ac_ext <<_ACEOF
44654 /* confdefs.h. */
44655 _ACEOF
44656 cat confdefs.h >>conftest.$ac_ext
44657 cat >>conftest.$ac_ext <<_ACEOF
44658 /* end confdefs.h. */
44659 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44660 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44661 #define localtime_r innocuous_localtime_r
44662
44663 /* System header to define __stub macros and hopefully few prototypes,
44664 which can conflict with char localtime_r (); below.
44665 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44666 <limits.h> exists even on freestanding compilers. */
44667
44668 #ifdef __STDC__
44669 # include <limits.h>
44670 #else
44671 # include <assert.h>
44672 #endif
44673
44674 #undef localtime_r
44675
44676 /* Override any GCC internal prototype to avoid an error.
44677 Use char because int might match the return type of a GCC
44678 builtin and then its argument prototype would still apply. */
44679 #ifdef __cplusplus
44680 extern "C"
44681 #endif
44682 char localtime_r ();
44683 /* The GNU C library defines this for functions which it implements
44684 to always fail with ENOSYS. Some functions are actually named
44685 something starting with __ and the normal name is an alias. */
44686 #if defined __stub_localtime_r || defined __stub___localtime_r
44687 choke me
44688 #endif
44689
44690 int
44691 main ()
44692 {
44693 return localtime_r ();
44694 ;
44695 return 0;
44696 }
44697 _ACEOF
44698 rm -f conftest.$ac_objext conftest$ac_exeext
44699 if { (ac_try="$ac_link"
44700 case "(($ac_try" in
44701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44702 *) ac_try_echo=$ac_try;;
44703 esac
44704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44705 (eval "$ac_link") 2>conftest.er1
44706 ac_status=$?
44707 grep -v '^ *+' conftest.er1 >conftest.err
44708 rm -f conftest.er1
44709 cat conftest.err >&5
44710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44711 (exit $ac_status); } && {
44712 test -z "$ac_c_werror_flag" ||
44713 test ! -s conftest.err
44714 } && test -s conftest$ac_exeext &&
44715 $as_test_x conftest$ac_exeext; then
44716 ac_cv_func_localtime_r=yes
44717 else
44718 echo "$as_me: failed program was:" >&5
44719 sed 's/^/| /' conftest.$ac_ext >&5
44720
44721 ac_cv_func_localtime_r=no
44722 fi
44723
44724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44725 conftest$ac_exeext conftest.$ac_ext
44726 fi
44727 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44728 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44729 if test $ac_cv_func_localtime_r = yes; then
44730 cat >>confdefs.h <<\_ACEOF
44731 #define HAVE_LOCALTIME_R 1
44732 _ACEOF
44733
44734 fi
44735
44736 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44737 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44738 if test "${ac_cv_func_gmtime_r+set}" = set; then
44739 echo $ECHO_N "(cached) $ECHO_C" >&6
44740 else
44741 cat >conftest.$ac_ext <<_ACEOF
44742 /* confdefs.h. */
44743 _ACEOF
44744 cat confdefs.h >>conftest.$ac_ext
44745 cat >>conftest.$ac_ext <<_ACEOF
44746 /* end confdefs.h. */
44747 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44749 #define gmtime_r innocuous_gmtime_r
44750
44751 /* System header to define __stub macros and hopefully few prototypes,
44752 which can conflict with char gmtime_r (); below.
44753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44754 <limits.h> exists even on freestanding compilers. */
44755
44756 #ifdef __STDC__
44757 # include <limits.h>
44758 #else
44759 # include <assert.h>
44760 #endif
44761
44762 #undef gmtime_r
44763
44764 /* Override any GCC internal prototype to avoid an error.
44765 Use char because int might match the return type of a GCC
44766 builtin and then its argument prototype would still apply. */
44767 #ifdef __cplusplus
44768 extern "C"
44769 #endif
44770 char gmtime_r ();
44771 /* The GNU C library defines this for functions which it implements
44772 to always fail with ENOSYS. Some functions are actually named
44773 something starting with __ and the normal name is an alias. */
44774 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44775 choke me
44776 #endif
44777
44778 int
44779 main ()
44780 {
44781 return gmtime_r ();
44782 ;
44783 return 0;
44784 }
44785 _ACEOF
44786 rm -f conftest.$ac_objext conftest$ac_exeext
44787 if { (ac_try="$ac_link"
44788 case "(($ac_try" in
44789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44790 *) ac_try_echo=$ac_try;;
44791 esac
44792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44793 (eval "$ac_link") 2>conftest.er1
44794 ac_status=$?
44795 grep -v '^ *+' conftest.er1 >conftest.err
44796 rm -f conftest.er1
44797 cat conftest.err >&5
44798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44799 (exit $ac_status); } && {
44800 test -z "$ac_c_werror_flag" ||
44801 test ! -s conftest.err
44802 } && test -s conftest$ac_exeext &&
44803 $as_test_x conftest$ac_exeext; then
44804 ac_cv_func_gmtime_r=yes
44805 else
44806 echo "$as_me: failed program was:" >&5
44807 sed 's/^/| /' conftest.$ac_ext >&5
44808
44809 ac_cv_func_gmtime_r=no
44810 fi
44811
44812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44813 conftest$ac_exeext conftest.$ac_ext
44814 fi
44815 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44816 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44817 if test $ac_cv_func_gmtime_r = yes; then
44818 cat >>confdefs.h <<\_ACEOF
44819 #define HAVE_GMTIME_R 1
44820 _ACEOF
44821
44822 fi
44823
44824
44825
44826
44827 ac_ext=c
44828 ac_cpp='$CPP $CPPFLAGS'
44829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44832
44833 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44834 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44835
44836 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44837 echo $ECHO_N "(cached) $ECHO_C" >&6
44838 else
44839
44840
44841 ################################################################
44842
44843 ac_cv_func_which_gethostbyname_r=unknown
44844
44845 #
44846 # ONE ARGUMENT (sanity check)
44847 #
44848
44849 # This should fail, as there is no variant of gethostbyname_r() that takes
44850 # a single argument. If it actually compiles, then we can assume that
44851 # netdb.h is not declaring the function, and the compiler is thereby
44852 # assuming an implicit prototype. In which case, we're out of luck.
44853 #
44854 cat >conftest.$ac_ext <<_ACEOF
44855 /* confdefs.h. */
44856 _ACEOF
44857 cat confdefs.h >>conftest.$ac_ext
44858 cat >>conftest.$ac_ext <<_ACEOF
44859 /* end confdefs.h. */
44860 #include <netdb.h>
44861 int
44862 main ()
44863 {
44864
44865 char *name = "www.gnu.org";
44866 (void)gethostbyname_r(name) /* ; */
44867
44868
44869 ;
44870 return 0;
44871 }
44872 _ACEOF
44873 rm -f conftest.$ac_objext
44874 if { (ac_try="$ac_compile"
44875 case "(($ac_try" in
44876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44877 *) ac_try_echo=$ac_try;;
44878 esac
44879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44880 (eval "$ac_compile") 2>conftest.er1
44881 ac_status=$?
44882 grep -v '^ *+' conftest.er1 >conftest.err
44883 rm -f conftest.er1
44884 cat conftest.err >&5
44885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886 (exit $ac_status); } && {
44887 test -z "$ac_c_werror_flag" ||
44888 test ! -s conftest.err
44889 } && test -s conftest.$ac_objext; then
44890 ac_cv_func_which_gethostbyname_r=no
44891
44892 else
44893 echo "$as_me: failed program was:" >&5
44894 sed 's/^/| /' conftest.$ac_ext >&5
44895
44896
44897 fi
44898
44899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44900
44901 #
44902 # SIX ARGUMENTS
44903 # (e.g. Linux)
44904 #
44905
44906 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44907
44908 cat >conftest.$ac_ext <<_ACEOF
44909 /* confdefs.h. */
44910 _ACEOF
44911 cat confdefs.h >>conftest.$ac_ext
44912 cat >>conftest.$ac_ext <<_ACEOF
44913 /* end confdefs.h. */
44914 #include <netdb.h>
44915 int
44916 main ()
44917 {
44918
44919 char *name = "www.gnu.org";
44920 struct hostent ret, *retp;
44921 char buf[1024];
44922 int buflen = 1024;
44923 int my_h_errno;
44924 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44925
44926
44927 ;
44928 return 0;
44929 }
44930 _ACEOF
44931 rm -f conftest.$ac_objext
44932 if { (ac_try="$ac_compile"
44933 case "(($ac_try" in
44934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44935 *) ac_try_echo=$ac_try;;
44936 esac
44937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44938 (eval "$ac_compile") 2>conftest.er1
44939 ac_status=$?
44940 grep -v '^ *+' conftest.er1 >conftest.err
44941 rm -f conftest.er1
44942 cat conftest.err >&5
44943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44944 (exit $ac_status); } && {
44945 test -z "$ac_c_werror_flag" ||
44946 test ! -s conftest.err
44947 } && test -s conftest.$ac_objext; then
44948 ac_cv_func_which_gethostbyname_r=six
44949
44950 else
44951 echo "$as_me: failed program was:" >&5
44952 sed 's/^/| /' conftest.$ac_ext >&5
44953
44954
44955 fi
44956
44957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44958
44959 fi
44960
44961 #
44962 # FIVE ARGUMENTS
44963 # (e.g. Solaris)
44964 #
44965
44966 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44967
44968 cat >conftest.$ac_ext <<_ACEOF
44969 /* confdefs.h. */
44970 _ACEOF
44971 cat confdefs.h >>conftest.$ac_ext
44972 cat >>conftest.$ac_ext <<_ACEOF
44973 /* end confdefs.h. */
44974 #include <netdb.h>
44975 int
44976 main ()
44977 {
44978
44979 char *name = "www.gnu.org";
44980 struct hostent ret;
44981 char buf[1024];
44982 int buflen = 1024;
44983 int my_h_errno;
44984 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44985
44986
44987 ;
44988 return 0;
44989 }
44990 _ACEOF
44991 rm -f conftest.$ac_objext
44992 if { (ac_try="$ac_compile"
44993 case "(($ac_try" in
44994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44995 *) ac_try_echo=$ac_try;;
44996 esac
44997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44998 (eval "$ac_compile") 2>conftest.er1
44999 ac_status=$?
45000 grep -v '^ *+' conftest.er1 >conftest.err
45001 rm -f conftest.er1
45002 cat conftest.err >&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); } && {
45005 test -z "$ac_c_werror_flag" ||
45006 test ! -s conftest.err
45007 } && test -s conftest.$ac_objext; then
45008 ac_cv_func_which_gethostbyname_r=five
45009
45010 else
45011 echo "$as_me: failed program was:" >&5
45012 sed 's/^/| /' conftest.$ac_ext >&5
45013
45014
45015 fi
45016
45017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45018
45019 fi
45020
45021 #
45022 # THREE ARGUMENTS
45023 # (e.g. AIX, HP-UX, Tru64)
45024 #
45025
45026 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
45027
45028 cat >conftest.$ac_ext <<_ACEOF
45029 /* confdefs.h. */
45030 _ACEOF
45031 cat confdefs.h >>conftest.$ac_ext
45032 cat >>conftest.$ac_ext <<_ACEOF
45033 /* end confdefs.h. */
45034 #include <netdb.h>
45035 int
45036 main ()
45037 {
45038
45039 char *name = "www.gnu.org";
45040 struct hostent ret;
45041 struct hostent_data data;
45042 (void)gethostbyname_r(name, &ret, &data) /* ; */
45043
45044
45045 ;
45046 return 0;
45047 }
45048 _ACEOF
45049 rm -f conftest.$ac_objext
45050 if { (ac_try="$ac_compile"
45051 case "(($ac_try" in
45052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45053 *) ac_try_echo=$ac_try;;
45054 esac
45055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45056 (eval "$ac_compile") 2>conftest.er1
45057 ac_status=$?
45058 grep -v '^ *+' conftest.er1 >conftest.err
45059 rm -f conftest.er1
45060 cat conftest.err >&5
45061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45062 (exit $ac_status); } && {
45063 test -z "$ac_c_werror_flag" ||
45064 test ! -s conftest.err
45065 } && test -s conftest.$ac_objext; then
45066 ac_cv_func_which_gethostbyname_r=three
45067
45068 else
45069 echo "$as_me: failed program was:" >&5
45070 sed 's/^/| /' conftest.$ac_ext >&5
45071
45072
45073 fi
45074
45075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45076
45077 fi
45078
45079 ################################################################
45080
45081
45082 fi
45083
45084 case "$ac_cv_func_which_gethostbyname_r" in
45085 three)
45086 { echo "$as_me:$LINENO: result: three" >&5
45087 echo "${ECHO_T}three" >&6; }
45088 cat >>confdefs.h <<\_ACEOF
45089 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
45090 _ACEOF
45091
45092 ;;
45093
45094 five)
45095 { echo "$as_me:$LINENO: result: five" >&5
45096 echo "${ECHO_T}five" >&6; }
45097 cat >>confdefs.h <<\_ACEOF
45098 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
45099 _ACEOF
45100
45101 ;;
45102
45103 six)
45104 { echo "$as_me:$LINENO: result: six" >&5
45105 echo "${ECHO_T}six" >&6; }
45106 cat >>confdefs.h <<\_ACEOF
45107 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
45108 _ACEOF
45109
45110 ;;
45111
45112 no)
45113 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
45114 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
45115 ;;
45116
45117 unknown)
45118 { echo "$as_me:$LINENO: result: can't tell" >&5
45119 echo "${ECHO_T}can't tell" >&6; }
45120 ;;
45121
45122 *)
45123 { { echo "$as_me:$LINENO: error: internal error" >&5
45124 echo "$as_me: error: internal error" >&2;}
45125 { (exit 1); exit 1; }; }
45126 ;;
45127 esac
45128
45129 ac_ext=c
45130 ac_cpp='$CPP $CPPFLAGS'
45131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45134
45135
45136
45137 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
45138 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
45139 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
45140 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
45141 if test "${ac_cv_func_gethostbyname+set}" = set; then
45142 echo $ECHO_N "(cached) $ECHO_C" >&6
45143 else
45144 cat >conftest.$ac_ext <<_ACEOF
45145 /* confdefs.h. */
45146 _ACEOF
45147 cat confdefs.h >>conftest.$ac_ext
45148 cat >>conftest.$ac_ext <<_ACEOF
45149 /* end confdefs.h. */
45150 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
45151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45152 #define gethostbyname innocuous_gethostbyname
45153
45154 /* System header to define __stub macros and hopefully few prototypes,
45155 which can conflict with char gethostbyname (); below.
45156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45157 <limits.h> exists even on freestanding compilers. */
45158
45159 #ifdef __STDC__
45160 # include <limits.h>
45161 #else
45162 # include <assert.h>
45163 #endif
45164
45165 #undef gethostbyname
45166
45167 /* Override any GCC internal prototype to avoid an error.
45168 Use char because int might match the return type of a GCC
45169 builtin and then its argument prototype would still apply. */
45170 #ifdef __cplusplus
45171 extern "C"
45172 #endif
45173 char gethostbyname ();
45174 /* The GNU C library defines this for functions which it implements
45175 to always fail with ENOSYS. Some functions are actually named
45176 something starting with __ and the normal name is an alias. */
45177 #if defined __stub_gethostbyname || defined __stub___gethostbyname
45178 choke me
45179 #endif
45180
45181 int
45182 main ()
45183 {
45184 return gethostbyname ();
45185 ;
45186 return 0;
45187 }
45188 _ACEOF
45189 rm -f conftest.$ac_objext conftest$ac_exeext
45190 if { (ac_try="$ac_link"
45191 case "(($ac_try" in
45192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45193 *) ac_try_echo=$ac_try;;
45194 esac
45195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45196 (eval "$ac_link") 2>conftest.er1
45197 ac_status=$?
45198 grep -v '^ *+' conftest.er1 >conftest.err
45199 rm -f conftest.er1
45200 cat conftest.err >&5
45201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45202 (exit $ac_status); } && {
45203 test -z "$ac_c_werror_flag" ||
45204 test ! -s conftest.err
45205 } && test -s conftest$ac_exeext &&
45206 $as_test_x conftest$ac_exeext; then
45207 ac_cv_func_gethostbyname=yes
45208 else
45209 echo "$as_me: failed program was:" >&5
45210 sed 's/^/| /' conftest.$ac_ext >&5
45211
45212 ac_cv_func_gethostbyname=no
45213 fi
45214
45215 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45216 conftest$ac_exeext conftest.$ac_ext
45217 fi
45218 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45219 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45220 if test $ac_cv_func_gethostbyname = yes; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define HAVE_GETHOSTBYNAME 1
45223 _ACEOF
45224
45225 fi
45226
45227 fi
45228
45229 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45230 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45231 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45232 echo $ECHO_N "(cached) $ECHO_C" >&6
45233 else
45234
45235 ac_ext=cpp
45236 ac_cpp='$CXXCPP $CPPFLAGS'
45237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45240
45241
45242 cat >conftest.$ac_ext <<_ACEOF
45243 /* confdefs.h. */
45244 _ACEOF
45245 cat confdefs.h >>conftest.$ac_ext
45246 cat >>conftest.$ac_ext <<_ACEOF
45247 /* end confdefs.h. */
45248 #include <netdb.h>
45249 int
45250 main ()
45251 {
45252
45253 char *name;
45254 char *proto;
45255 struct servent *se, *res;
45256 char buffer[2048];
45257 int buflen = 2048;
45258 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45259
45260 ;
45261 return 0;
45262 }
45263 _ACEOF
45264 rm -f conftest.$ac_objext
45265 if { (ac_try="$ac_compile"
45266 case "(($ac_try" in
45267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45268 *) ac_try_echo=$ac_try;;
45269 esac
45270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45271 (eval "$ac_compile") 2>conftest.er1
45272 ac_status=$?
45273 grep -v '^ *+' conftest.er1 >conftest.err
45274 rm -f conftest.er1
45275 cat conftest.err >&5
45276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45277 (exit $ac_status); } && {
45278 test -z "$ac_cxx_werror_flag" ||
45279 test ! -s conftest.err
45280 } && test -s conftest.$ac_objext; then
45281 ac_cv_func_which_getservbyname_r=six
45282 else
45283 echo "$as_me: failed program was:" >&5
45284 sed 's/^/| /' conftest.$ac_ext >&5
45285
45286
45287 cat >conftest.$ac_ext <<_ACEOF
45288 /* confdefs.h. */
45289 _ACEOF
45290 cat confdefs.h >>conftest.$ac_ext
45291 cat >>conftest.$ac_ext <<_ACEOF
45292 /* end confdefs.h. */
45293 #include <netdb.h>
45294 int
45295 main ()
45296 {
45297
45298 char *name;
45299 char *proto;
45300 struct servent *se;
45301 char buffer[2048];
45302 int buflen = 2048;
45303 (void) getservbyname_r(name, proto, se, buffer, buflen)
45304
45305 ;
45306 return 0;
45307 }
45308 _ACEOF
45309 rm -f conftest.$ac_objext
45310 if { (ac_try="$ac_compile"
45311 case "(($ac_try" in
45312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45313 *) ac_try_echo=$ac_try;;
45314 esac
45315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45316 (eval "$ac_compile") 2>conftest.er1
45317 ac_status=$?
45318 grep -v '^ *+' conftest.er1 >conftest.err
45319 rm -f conftest.er1
45320 cat conftest.err >&5
45321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45322 (exit $ac_status); } && {
45323 test -z "$ac_cxx_werror_flag" ||
45324 test ! -s conftest.err
45325 } && test -s conftest.$ac_objext; then
45326 ac_cv_func_which_getservbyname_r=five
45327 else
45328 echo "$as_me: failed program was:" >&5
45329 sed 's/^/| /' conftest.$ac_ext >&5
45330
45331
45332 cat >conftest.$ac_ext <<_ACEOF
45333 /* confdefs.h. */
45334 _ACEOF
45335 cat confdefs.h >>conftest.$ac_ext
45336 cat >>conftest.$ac_ext <<_ACEOF
45337 /* end confdefs.h. */
45338 #include <netdb.h>
45339 int
45340 main ()
45341 {
45342
45343 char *name;
45344 char *proto;
45345 struct servent *se;
45346 struct servent_data data;
45347 (void) getservbyname_r(name, proto, se, &data);
45348
45349 ;
45350 return 0;
45351 }
45352 _ACEOF
45353 rm -f conftest.$ac_objext
45354 if { (ac_try="$ac_compile"
45355 case "(($ac_try" in
45356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45357 *) ac_try_echo=$ac_try;;
45358 esac
45359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45360 (eval "$ac_compile") 2>conftest.er1
45361 ac_status=$?
45362 grep -v '^ *+' conftest.er1 >conftest.err
45363 rm -f conftest.er1
45364 cat conftest.err >&5
45365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45366 (exit $ac_status); } && {
45367 test -z "$ac_cxx_werror_flag" ||
45368 test ! -s conftest.err
45369 } && test -s conftest.$ac_objext; then
45370 ac_cv_func_which_getservbyname_r=four
45371 else
45372 echo "$as_me: failed program was:" >&5
45373 sed 's/^/| /' conftest.$ac_ext >&5
45374
45375 ac_cv_func_which_getservbyname_r=no
45376
45377 fi
45378
45379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45380
45381
45382 fi
45383
45384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45385
45386
45387 fi
45388
45389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45390 ac_ext=c
45391 ac_cpp='$CPP $CPPFLAGS'
45392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45395
45396
45397
45398 fi
45399 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45400 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45401
45402 if test $ac_cv_func_which_getservbyname_r = six; then
45403 cat >>confdefs.h <<\_ACEOF
45404 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45405 _ACEOF
45406
45407 elif test $ac_cv_func_which_getservbyname_r = five; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45410 _ACEOF
45411
45412 elif test $ac_cv_func_which_getservbyname_r = four; then
45413 cat >>confdefs.h <<\_ACEOF
45414 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45415 _ACEOF
45416
45417 fi
45418
45419
45420 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45421 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45422
45423 for ac_func in getservbyname
45424 do
45425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45426 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45428 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45429 echo $ECHO_N "(cached) $ECHO_C" >&6
45430 else
45431 cat >conftest.$ac_ext <<_ACEOF
45432 /* confdefs.h. */
45433 _ACEOF
45434 cat confdefs.h >>conftest.$ac_ext
45435 cat >>conftest.$ac_ext <<_ACEOF
45436 /* end confdefs.h. */
45437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45439 #define $ac_func innocuous_$ac_func
45440
45441 /* System header to define __stub macros and hopefully few prototypes,
45442 which can conflict with char $ac_func (); below.
45443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45444 <limits.h> exists even on freestanding compilers. */
45445
45446 #ifdef __STDC__
45447 # include <limits.h>
45448 #else
45449 # include <assert.h>
45450 #endif
45451
45452 #undef $ac_func
45453
45454 /* Override any GCC internal prototype to avoid an error.
45455 Use char because int might match the return type of a GCC
45456 builtin and then its argument prototype would still apply. */
45457 #ifdef __cplusplus
45458 extern "C"
45459 #endif
45460 char $ac_func ();
45461 /* The GNU C library defines this for functions which it implements
45462 to always fail with ENOSYS. Some functions are actually named
45463 something starting with __ and the normal name is an alias. */
45464 #if defined __stub_$ac_func || defined __stub___$ac_func
45465 choke me
45466 #endif
45467
45468 int
45469 main ()
45470 {
45471 return $ac_func ();
45472 ;
45473 return 0;
45474 }
45475 _ACEOF
45476 rm -f conftest.$ac_objext conftest$ac_exeext
45477 if { (ac_try="$ac_link"
45478 case "(($ac_try" in
45479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45480 *) ac_try_echo=$ac_try;;
45481 esac
45482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45483 (eval "$ac_link") 2>conftest.er1
45484 ac_status=$?
45485 grep -v '^ *+' conftest.er1 >conftest.err
45486 rm -f conftest.er1
45487 cat conftest.err >&5
45488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45489 (exit $ac_status); } && {
45490 test -z "$ac_c_werror_flag" ||
45491 test ! -s conftest.err
45492 } && test -s conftest$ac_exeext &&
45493 $as_test_x conftest$ac_exeext; then
45494 eval "$as_ac_var=yes"
45495 else
45496 echo "$as_me: failed program was:" >&5
45497 sed 's/^/| /' conftest.$ac_ext >&5
45498
45499 eval "$as_ac_var=no"
45500 fi
45501
45502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45503 conftest$ac_exeext conftest.$ac_ext
45504 fi
45505 ac_res=`eval echo '${'$as_ac_var'}'`
45506 { echo "$as_me:$LINENO: result: $ac_res" >&5
45507 echo "${ECHO_T}$ac_res" >&6; }
45508 if test `eval echo '${'$as_ac_var'}'` = yes; then
45509 cat >>confdefs.h <<_ACEOF
45510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45511 _ACEOF
45512 cat >>confdefs.h <<\_ACEOF
45513 #define HAVE_GETSERVBYNAME 1
45514 _ACEOF
45515
45516 fi
45517 done
45518
45519 fi
45520
45521 if test "$wxUSE_THREADS" = "yes"; then
45522 cat >>confdefs.h <<\_ACEOF
45523 #define wxUSE_THREADS 1
45524 _ACEOF
45525
45526
45527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45528 else
45529 if test "$wx_cv_func_strtok_r" = "yes"; then
45530 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45531 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45532 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45533 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45534 { echo "$as_me:$LINENO: result: yes" >&5
45535 echo "${ECHO_T}yes" >&6; }
45536 else
45537 { echo "$as_me:$LINENO: result: no" >&5
45538 echo "${ECHO_T}no" >&6; }
45539 fi
45540 fi
45541 fi
45542
45543 if test "$WXGTK2" = 1 ; then
45544 cat >>confdefs.h <<_ACEOF
45545 #define __WXGTK20__ $WXGTK2
45546 _ACEOF
45547
45548 fi
45549
45550 if test "$WXGTK127" = 1 ; then
45551 cat >>confdefs.h <<_ACEOF
45552 #define __WXGTK127__ $WXGTK127
45553 _ACEOF
45554
45555 fi
45556
45557 if test "$WXGPE" = 1 ; then
45558 cat >>confdefs.h <<_ACEOF
45559 #define __WXGPE__ $WXGPE
45560 _ACEOF
45561
45562 fi
45563
45564 DEBUG_CFLAGS=
45565 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
45566 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45567 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45568 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45569 DEBUG_CFLAGS="-g"
45570 fi
45571
45572 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45573 wxUSE_DEBUG_INFO=yes
45574 if test "$GCC" = yes; then
45575 DEBUG_CFLAGS="-ggdb"
45576 fi
45577 fi
45578
45579 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45580 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45581
45582 if test "$wxUSE_GTK" = 1 ; then
45583 if test "x$wxGTK_VERSION" = "x1" ; then
45584 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45585 else
45586 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45587 fi
45588 fi
45589 fi
45590
45591 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45592 cat >>confdefs.h <<\_ACEOF
45593 #define wxUSE_MEMORY_TRACING 1
45594 _ACEOF
45595
45596 cat >>confdefs.h <<\_ACEOF
45597 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45598 _ACEOF
45599
45600 cat >>confdefs.h <<\_ACEOF
45601 #define wxUSE_DEBUG_NEW_ALWAYS 1
45602 _ACEOF
45603
45604 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45605 fi
45606
45607 if test "$wxUSE_DMALLOC" = "yes" ; then
45608 DMALLOC_LIBS="-ldmallocthcxx"
45609 fi
45610
45611 PROFILE_FLAGS=
45612 if test "$wxUSE_PROFILE" = "yes" ; then
45613 PROFILE_FLAGS=" -pg"
45614 fi
45615
45616 if test "$GCC" = "yes" ; then
45617 if test "$wxUSE_NO_RTTI" = "yes" ; then
45618 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45619 fi
45620 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45621 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45622 fi
45623 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45624 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45625 fi
45626
45627 case "${host}" in
45628 powerpc*-*-aix* )
45629 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45630 ;;
45631 *-hppa* )
45632 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45633 ;;
45634 esac
45635 fi
45636
45637 OPTIMISE_CFLAGS=
45638 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
45639 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45640 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45641 else
45642 if test "$wxUSE_OPTIMISE" = "no" ; then
45643 if test "$GCC" = yes ; then
45644 OPTIMISE_CFLAGS="-O0"
45645 fi
45646 else
45647 if test "$GCC" = yes ; then
45648 case "${host}" in
45649 *-pc-os2_emx | *-pc-os2-emx )
45650 OPTIMISE_CFLAGS="-O2"
45651 ;;
45652 *)
45653 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45654 ;;
45655 esac
45656 else
45657 OPTIMISE_CFLAGS="-O"
45658 fi
45659 fi
45660 fi
45661
45662
45663 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45664 cat >>confdefs.h <<\_ACEOF
45665 #define WXWIN_COMPATIBILITY_2_6 1
45666 _ACEOF
45667
45668
45669 WXWIN_COMPATIBILITY_2_8="yes"
45670 fi
45671
45672 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define WXWIN_COMPATIBILITY_2_8 1
45675 _ACEOF
45676
45677 fi
45678
45679
45680 if test "$wxUSE_GUI" = "yes"; then
45681 cat >>confdefs.h <<\_ACEOF
45682 #define wxUSE_GUI 1
45683 _ACEOF
45684
45685
45686 fi
45687
45688
45689 if test "$wxUSE_UNIX" = "yes"; then
45690 cat >>confdefs.h <<\_ACEOF
45691 #define wxUSE_UNIX 1
45692 _ACEOF
45693
45694 fi
45695
45696
45697 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45698
45699 HAVE_DL_FUNCS=0
45700 HAVE_SHL_FUNCS=0
45701 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45702 if test "$USE_DOS" = 1; then
45703 HAVE_DL_FUNCS=0
45704 else
45705
45706 for ac_func in dlopen
45707 do
45708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45709 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45711 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45712 echo $ECHO_N "(cached) $ECHO_C" >&6
45713 else
45714 cat >conftest.$ac_ext <<_ACEOF
45715 /* confdefs.h. */
45716 _ACEOF
45717 cat confdefs.h >>conftest.$ac_ext
45718 cat >>conftest.$ac_ext <<_ACEOF
45719 /* end confdefs.h. */
45720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45722 #define $ac_func innocuous_$ac_func
45723
45724 /* System header to define __stub macros and hopefully few prototypes,
45725 which can conflict with char $ac_func (); below.
45726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45727 <limits.h> exists even on freestanding compilers. */
45728
45729 #ifdef __STDC__
45730 # include <limits.h>
45731 #else
45732 # include <assert.h>
45733 #endif
45734
45735 #undef $ac_func
45736
45737 /* Override any GCC internal prototype to avoid an error.
45738 Use char because int might match the return type of a GCC
45739 builtin and then its argument prototype would still apply. */
45740 #ifdef __cplusplus
45741 extern "C"
45742 #endif
45743 char $ac_func ();
45744 /* The GNU C library defines this for functions which it implements
45745 to always fail with ENOSYS. Some functions are actually named
45746 something starting with __ and the normal name is an alias. */
45747 #if defined __stub_$ac_func || defined __stub___$ac_func
45748 choke me
45749 #endif
45750
45751 int
45752 main ()
45753 {
45754 return $ac_func ();
45755 ;
45756 return 0;
45757 }
45758 _ACEOF
45759 rm -f conftest.$ac_objext conftest$ac_exeext
45760 if { (ac_try="$ac_link"
45761 case "(($ac_try" in
45762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45763 *) ac_try_echo=$ac_try;;
45764 esac
45765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45766 (eval "$ac_link") 2>conftest.er1
45767 ac_status=$?
45768 grep -v '^ *+' conftest.er1 >conftest.err
45769 rm -f conftest.er1
45770 cat conftest.err >&5
45771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45772 (exit $ac_status); } && {
45773 test -z "$ac_c_werror_flag" ||
45774 test ! -s conftest.err
45775 } && test -s conftest$ac_exeext &&
45776 $as_test_x conftest$ac_exeext; then
45777 eval "$as_ac_var=yes"
45778 else
45779 echo "$as_me: failed program was:" >&5
45780 sed 's/^/| /' conftest.$ac_ext >&5
45781
45782 eval "$as_ac_var=no"
45783 fi
45784
45785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45786 conftest$ac_exeext conftest.$ac_ext
45787 fi
45788 ac_res=`eval echo '${'$as_ac_var'}'`
45789 { echo "$as_me:$LINENO: result: $ac_res" >&5
45790 echo "${ECHO_T}$ac_res" >&6; }
45791 if test `eval echo '${'$as_ac_var'}'` = yes; then
45792 cat >>confdefs.h <<_ACEOF
45793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45794 _ACEOF
45795
45796 cat >>confdefs.h <<\_ACEOF
45797 #define HAVE_DLOPEN 1
45798 _ACEOF
45799
45800 HAVE_DL_FUNCS=1
45801
45802 else
45803
45804 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45805 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45806 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45807 echo $ECHO_N "(cached) $ECHO_C" >&6
45808 else
45809 ac_check_lib_save_LIBS=$LIBS
45810 LIBS="-ldl $LIBS"
45811 cat >conftest.$ac_ext <<_ACEOF
45812 /* confdefs.h. */
45813 _ACEOF
45814 cat confdefs.h >>conftest.$ac_ext
45815 cat >>conftest.$ac_ext <<_ACEOF
45816 /* end confdefs.h. */
45817
45818 /* Override any GCC internal prototype to avoid an error.
45819 Use char because int might match the return type of a GCC
45820 builtin and then its argument prototype would still apply. */
45821 #ifdef __cplusplus
45822 extern "C"
45823 #endif
45824 char dlopen ();
45825 int
45826 main ()
45827 {
45828 return dlopen ();
45829 ;
45830 return 0;
45831 }
45832 _ACEOF
45833 rm -f conftest.$ac_objext conftest$ac_exeext
45834 if { (ac_try="$ac_link"
45835 case "(($ac_try" in
45836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45837 *) ac_try_echo=$ac_try;;
45838 esac
45839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45840 (eval "$ac_link") 2>conftest.er1
45841 ac_status=$?
45842 grep -v '^ *+' conftest.er1 >conftest.err
45843 rm -f conftest.er1
45844 cat conftest.err >&5
45845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846 (exit $ac_status); } && {
45847 test -z "$ac_c_werror_flag" ||
45848 test ! -s conftest.err
45849 } && test -s conftest$ac_exeext &&
45850 $as_test_x conftest$ac_exeext; then
45851 ac_cv_lib_dl_dlopen=yes
45852 else
45853 echo "$as_me: failed program was:" >&5
45854 sed 's/^/| /' conftest.$ac_ext >&5
45855
45856 ac_cv_lib_dl_dlopen=no
45857 fi
45858
45859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45860 conftest$ac_exeext conftest.$ac_ext
45861 LIBS=$ac_check_lib_save_LIBS
45862 fi
45863 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45864 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45865 if test $ac_cv_lib_dl_dlopen = yes; then
45866
45867 cat >>confdefs.h <<\_ACEOF
45868 #define HAVE_DLOPEN 1
45869 _ACEOF
45870
45871 HAVE_DL_FUNCS=1
45872 DL_LINK=" -ldl$DL_LINK"
45873
45874 else
45875
45876
45877 for ac_func in shl_load
45878 do
45879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45883 echo $ECHO_N "(cached) $ECHO_C" >&6
45884 else
45885 cat >conftest.$ac_ext <<_ACEOF
45886 /* confdefs.h. */
45887 _ACEOF
45888 cat confdefs.h >>conftest.$ac_ext
45889 cat >>conftest.$ac_ext <<_ACEOF
45890 /* end confdefs.h. */
45891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45893 #define $ac_func innocuous_$ac_func
45894
45895 /* System header to define __stub macros and hopefully few prototypes,
45896 which can conflict with char $ac_func (); below.
45897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45898 <limits.h> exists even on freestanding compilers. */
45899
45900 #ifdef __STDC__
45901 # include <limits.h>
45902 #else
45903 # include <assert.h>
45904 #endif
45905
45906 #undef $ac_func
45907
45908 /* Override any GCC internal prototype to avoid an error.
45909 Use char because int might match the return type of a GCC
45910 builtin and then its argument prototype would still apply. */
45911 #ifdef __cplusplus
45912 extern "C"
45913 #endif
45914 char $ac_func ();
45915 /* The GNU C library defines this for functions which it implements
45916 to always fail with ENOSYS. Some functions are actually named
45917 something starting with __ and the normal name is an alias. */
45918 #if defined __stub_$ac_func || defined __stub___$ac_func
45919 choke me
45920 #endif
45921
45922 int
45923 main ()
45924 {
45925 return $ac_func ();
45926 ;
45927 return 0;
45928 }
45929 _ACEOF
45930 rm -f conftest.$ac_objext conftest$ac_exeext
45931 if { (ac_try="$ac_link"
45932 case "(($ac_try" in
45933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45934 *) ac_try_echo=$ac_try;;
45935 esac
45936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45937 (eval "$ac_link") 2>conftest.er1
45938 ac_status=$?
45939 grep -v '^ *+' conftest.er1 >conftest.err
45940 rm -f conftest.er1
45941 cat conftest.err >&5
45942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45943 (exit $ac_status); } && {
45944 test -z "$ac_c_werror_flag" ||
45945 test ! -s conftest.err
45946 } && test -s conftest$ac_exeext &&
45947 $as_test_x conftest$ac_exeext; then
45948 eval "$as_ac_var=yes"
45949 else
45950 echo "$as_me: failed program was:" >&5
45951 sed 's/^/| /' conftest.$ac_ext >&5
45952
45953 eval "$as_ac_var=no"
45954 fi
45955
45956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45957 conftest$ac_exeext conftest.$ac_ext
45958 fi
45959 ac_res=`eval echo '${'$as_ac_var'}'`
45960 { echo "$as_me:$LINENO: result: $ac_res" >&5
45961 echo "${ECHO_T}$ac_res" >&6; }
45962 if test `eval echo '${'$as_ac_var'}'` = yes; then
45963 cat >>confdefs.h <<_ACEOF
45964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45965 _ACEOF
45966
45967 cat >>confdefs.h <<\_ACEOF
45968 #define HAVE_SHL_LOAD 1
45969 _ACEOF
45970
45971 HAVE_SHL_FUNCS=1
45972
45973 else
45974
45975 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45976 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45977 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45978 echo $ECHO_N "(cached) $ECHO_C" >&6
45979 else
45980 ac_check_lib_save_LIBS=$LIBS
45981 LIBS="-lshl_load $LIBS"
45982 cat >conftest.$ac_ext <<_ACEOF
45983 /* confdefs.h. */
45984 _ACEOF
45985 cat confdefs.h >>conftest.$ac_ext
45986 cat >>conftest.$ac_ext <<_ACEOF
45987 /* end confdefs.h. */
45988
45989 /* Override any GCC internal prototype to avoid an error.
45990 Use char because int might match the return type of a GCC
45991 builtin and then its argument prototype would still apply. */
45992 #ifdef __cplusplus
45993 extern "C"
45994 #endif
45995 char dld ();
45996 int
45997 main ()
45998 {
45999 return dld ();
46000 ;
46001 return 0;
46002 }
46003 _ACEOF
46004 rm -f conftest.$ac_objext conftest$ac_exeext
46005 if { (ac_try="$ac_link"
46006 case "(($ac_try" in
46007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46008 *) ac_try_echo=$ac_try;;
46009 esac
46010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46011 (eval "$ac_link") 2>conftest.er1
46012 ac_status=$?
46013 grep -v '^ *+' conftest.er1 >conftest.err
46014 rm -f conftest.er1
46015 cat conftest.err >&5
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); } && {
46018 test -z "$ac_c_werror_flag" ||
46019 test ! -s conftest.err
46020 } && test -s conftest$ac_exeext &&
46021 $as_test_x conftest$ac_exeext; then
46022 ac_cv_lib_shl_load_dld=yes
46023 else
46024 echo "$as_me: failed program was:" >&5
46025 sed 's/^/| /' conftest.$ac_ext >&5
46026
46027 ac_cv_lib_shl_load_dld=no
46028 fi
46029
46030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46031 conftest$ac_exeext conftest.$ac_ext
46032 LIBS=$ac_check_lib_save_LIBS
46033 fi
46034 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
46035 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
46036 if test $ac_cv_lib_shl_load_dld = yes; then
46037
46038 HAVE_SHL_FUNCS=1
46039 DL_LINK=" -ldld$DL_LINK"
46040
46041 fi
46042
46043
46044 fi
46045 done
46046
46047
46048 fi
46049
46050
46051 fi
46052 done
46053
46054
46055 if test "$HAVE_DL_FUNCS" = 1; then
46056
46057 for ac_func in dlerror
46058 do
46059 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46060 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46061 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46062 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46063 echo $ECHO_N "(cached) $ECHO_C" >&6
46064 else
46065 cat >conftest.$ac_ext <<_ACEOF
46066 /* confdefs.h. */
46067 _ACEOF
46068 cat confdefs.h >>conftest.$ac_ext
46069 cat >>conftest.$ac_ext <<_ACEOF
46070 /* end confdefs.h. */
46071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46073 #define $ac_func innocuous_$ac_func
46074
46075 /* System header to define __stub macros and hopefully few prototypes,
46076 which can conflict with char $ac_func (); below.
46077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46078 <limits.h> exists even on freestanding compilers. */
46079
46080 #ifdef __STDC__
46081 # include <limits.h>
46082 #else
46083 # include <assert.h>
46084 #endif
46085
46086 #undef $ac_func
46087
46088 /* Override any GCC internal prototype to avoid an error.
46089 Use char because int might match the return type of a GCC
46090 builtin and then its argument prototype would still apply. */
46091 #ifdef __cplusplus
46092 extern "C"
46093 #endif
46094 char $ac_func ();
46095 /* The GNU C library defines this for functions which it implements
46096 to always fail with ENOSYS. Some functions are actually named
46097 something starting with __ and the normal name is an alias. */
46098 #if defined __stub_$ac_func || defined __stub___$ac_func
46099 choke me
46100 #endif
46101
46102 int
46103 main ()
46104 {
46105 return $ac_func ();
46106 ;
46107 return 0;
46108 }
46109 _ACEOF
46110 rm -f conftest.$ac_objext conftest$ac_exeext
46111 if { (ac_try="$ac_link"
46112 case "(($ac_try" in
46113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46114 *) ac_try_echo=$ac_try;;
46115 esac
46116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46117 (eval "$ac_link") 2>conftest.er1
46118 ac_status=$?
46119 grep -v '^ *+' conftest.er1 >conftest.err
46120 rm -f conftest.er1
46121 cat conftest.err >&5
46122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46123 (exit $ac_status); } && {
46124 test -z "$ac_c_werror_flag" ||
46125 test ! -s conftest.err
46126 } && test -s conftest$ac_exeext &&
46127 $as_test_x conftest$ac_exeext; then
46128 eval "$as_ac_var=yes"
46129 else
46130 echo "$as_me: failed program was:" >&5
46131 sed 's/^/| /' conftest.$ac_ext >&5
46132
46133 eval "$as_ac_var=no"
46134 fi
46135
46136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46137 conftest$ac_exeext conftest.$ac_ext
46138 fi
46139 ac_res=`eval echo '${'$as_ac_var'}'`
46140 { echo "$as_me:$LINENO: result: $ac_res" >&5
46141 echo "${ECHO_T}$ac_res" >&6; }
46142 if test `eval echo '${'$as_ac_var'}'` = yes; then
46143 cat >>confdefs.h <<_ACEOF
46144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46145 _ACEOF
46146 cat >>confdefs.h <<\_ACEOF
46147 #define HAVE_DLERROR 1
46148 _ACEOF
46149
46150 else
46151
46152 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
46153 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
46154 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
46155 echo $ECHO_N "(cached) $ECHO_C" >&6
46156 else
46157 ac_check_lib_save_LIBS=$LIBS
46158 LIBS="-ldl $LIBS"
46159 cat >conftest.$ac_ext <<_ACEOF
46160 /* confdefs.h. */
46161 _ACEOF
46162 cat confdefs.h >>conftest.$ac_ext
46163 cat >>conftest.$ac_ext <<_ACEOF
46164 /* end confdefs.h. */
46165
46166 /* Override any GCC internal prototype to avoid an error.
46167 Use char because int might match the return type of a GCC
46168 builtin and then its argument prototype would still apply. */
46169 #ifdef __cplusplus
46170 extern "C"
46171 #endif
46172 char dlerror ();
46173 int
46174 main ()
46175 {
46176 return dlerror ();
46177 ;
46178 return 0;
46179 }
46180 _ACEOF
46181 rm -f conftest.$ac_objext conftest$ac_exeext
46182 if { (ac_try="$ac_link"
46183 case "(($ac_try" in
46184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46185 *) ac_try_echo=$ac_try;;
46186 esac
46187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46188 (eval "$ac_link") 2>conftest.er1
46189 ac_status=$?
46190 grep -v '^ *+' conftest.er1 >conftest.err
46191 rm -f conftest.er1
46192 cat conftest.err >&5
46193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46194 (exit $ac_status); } && {
46195 test -z "$ac_c_werror_flag" ||
46196 test ! -s conftest.err
46197 } && test -s conftest$ac_exeext &&
46198 $as_test_x conftest$ac_exeext; then
46199 ac_cv_lib_dl_dlerror=yes
46200 else
46201 echo "$as_me: failed program was:" >&5
46202 sed 's/^/| /' conftest.$ac_ext >&5
46203
46204 ac_cv_lib_dl_dlerror=no
46205 fi
46206
46207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46208 conftest$ac_exeext conftest.$ac_ext
46209 LIBS=$ac_check_lib_save_LIBS
46210 fi
46211 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
46212 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
46213 if test $ac_cv_lib_dl_dlerror = yes; then
46214 cat >>confdefs.h <<\_ACEOF
46215 #define HAVE_DLERROR 1
46216 _ACEOF
46217
46218 fi
46219
46220
46221
46222 fi
46223 done
46224
46225 fi
46226 fi
46227
46228 if test "$USE_DARWIN" = 1; then
46229 HAVE_DL_FUNCS=1
46230 fi
46231
46232 if test "$HAVE_DL_FUNCS" = 0; then
46233 if test "$HAVE_SHL_FUNCS" = 0; then
46234 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46235 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46236 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46237 wxUSE_DYNAMIC_LOADER=no
46238 wxUSE_DYNLIB_CLASS=no
46239 else
46240 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46241 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46242 fi
46243 fi
46244 fi
46245 fi
46246 fi
46247
46248 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_DYNAMIC_LOADER 1
46251 _ACEOF
46252
46253 fi
46254 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46255 cat >>confdefs.h <<\_ACEOF
46256 #define wxUSE_DYNLIB_CLASS 1
46257 _ACEOF
46258
46259 fi
46260
46261
46262
46263 if test "$wxUSE_PLUGINS" = "yes" ; then
46264 if test "$wxUSE_SHARED" = "no" ; then
46265 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46266 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46267 wxUSE_PLUGINS=no
46268 fi
46269 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46270 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46271 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46272 wxUSE_PLUGINS=no
46273 fi
46274 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46275 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46276 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46277 wxUSE_PLUGINS=no
46278 fi
46279 if test "$wxUSE_PLUGINS" = "yes" ; then
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_PLUGINS 1
46282 _ACEOF
46283
46284 fi
46285 fi
46286
46287
46288 if test "$wxUSE_FSWATCHER" = "yes"; then
46289 if test "$wxUSE_MSW" != "1"; then
46290 if test "$wxUSE_UNIX" = "yes"; then
46291
46292 for ac_header in sys/inotify.h
46293 do
46294 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46295 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46297 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46298 echo $ECHO_N "(cached) $ECHO_C" >&6
46299 else
46300 cat >conftest.$ac_ext <<_ACEOF
46301 /* confdefs.h. */
46302 _ACEOF
46303 cat confdefs.h >>conftest.$ac_ext
46304 cat >>conftest.$ac_ext <<_ACEOF
46305 /* end confdefs.h. */
46306 $ac_includes_default
46307
46308 #include <$ac_header>
46309 _ACEOF
46310 rm -f conftest.$ac_objext
46311 if { (ac_try="$ac_compile"
46312 case "(($ac_try" in
46313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46314 *) ac_try_echo=$ac_try;;
46315 esac
46316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46317 (eval "$ac_compile") 2>conftest.er1
46318 ac_status=$?
46319 grep -v '^ *+' conftest.er1 >conftest.err
46320 rm -f conftest.er1
46321 cat conftest.err >&5
46322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323 (exit $ac_status); } && {
46324 test -z "$ac_c_werror_flag" ||
46325 test ! -s conftest.err
46326 } && test -s conftest.$ac_objext; then
46327 eval "$as_ac_Header=yes"
46328 else
46329 echo "$as_me: failed program was:" >&5
46330 sed 's/^/| /' conftest.$ac_ext >&5
46331
46332 eval "$as_ac_Header=no"
46333 fi
46334
46335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46336 fi
46337 ac_res=`eval echo '${'$as_ac_Header'}'`
46338 { echo "$as_me:$LINENO: result: $ac_res" >&5
46339 echo "${ECHO_T}$ac_res" >&6; }
46340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46341 cat >>confdefs.h <<_ACEOF
46342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46343 _ACEOF
46344
46345 fi
46346
46347 done
46348
46349 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46350 cat >>confdefs.h <<\_ACEOF
46351 #define wxHAS_INOTIFY 1
46352 _ACEOF
46353
46354 else
46355
46356 for ac_header in sys/event.h
46357 do
46358 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46359 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46362 echo $ECHO_N "(cached) $ECHO_C" >&6
46363 else
46364 cat >conftest.$ac_ext <<_ACEOF
46365 /* confdefs.h. */
46366 _ACEOF
46367 cat confdefs.h >>conftest.$ac_ext
46368 cat >>conftest.$ac_ext <<_ACEOF
46369 /* end confdefs.h. */
46370 $ac_includes_default
46371
46372 #include <$ac_header>
46373 _ACEOF
46374 rm -f conftest.$ac_objext
46375 if { (ac_try="$ac_compile"
46376 case "(($ac_try" in
46377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46378 *) ac_try_echo=$ac_try;;
46379 esac
46380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46381 (eval "$ac_compile") 2>conftest.er1
46382 ac_status=$?
46383 grep -v '^ *+' conftest.er1 >conftest.err
46384 rm -f conftest.er1
46385 cat conftest.err >&5
46386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46387 (exit $ac_status); } && {
46388 test -z "$ac_c_werror_flag" ||
46389 test ! -s conftest.err
46390 } && test -s conftest.$ac_objext; then
46391 eval "$as_ac_Header=yes"
46392 else
46393 echo "$as_me: failed program was:" >&5
46394 sed 's/^/| /' conftest.$ac_ext >&5
46395
46396 eval "$as_ac_Header=no"
46397 fi
46398
46399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46400 fi
46401 ac_res=`eval echo '${'$as_ac_Header'}'`
46402 { echo "$as_me:$LINENO: result: $ac_res" >&5
46403 echo "${ECHO_T}$ac_res" >&6; }
46404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46405 cat >>confdefs.h <<_ACEOF
46406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46407 _ACEOF
46408
46409 fi
46410
46411 done
46412
46413 if test "$ac_cv_header_sys_event_h" = "yes"; then
46414 cat >>confdefs.h <<\_ACEOF
46415 #define wxHAS_KQUEUE 1
46416 _ACEOF
46417
46418 else
46419 wxUSE_FSWATCHER=no
46420 fi
46421 fi
46422 else
46423 wxUSE_FSWATCHER=no
46424 fi
46425 else
46426 if test "$wxUSE_THREADS" != "yes"; then
46427 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46428 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46429 wxUSE_FSWATCHER=no
46430 fi
46431 fi
46432
46433 if test "$wxUSE_FSWATCHER" = "yes"; then
46434 cat >>confdefs.h <<\_ACEOF
46435 #define wxUSE_FSWATCHER 1
46436 _ACEOF
46437
46438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46439 else
46440 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46441 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46442 fi
46443 fi
46444
46445
46446 if test "$wxUSE_STL" = "yes"; then
46447 cat >>confdefs.h <<\_ACEOF
46448 #define wxUSE_STL 1
46449 _ACEOF
46450
46451 fi
46452
46453 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46454 cat >>confdefs.h <<\_ACEOF
46455 #define wxUSE_EXTENDED_RTTI 1
46456 _ACEOF
46457
46458 fi
46459
46460 if test "$wxUSE_ANY" = "yes"; then
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_ANY 1
46463 _ACEOF
46464
46465 fi
46466
46467 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46468 cat >>confdefs.h <<\_ACEOF
46469 #define wxUSE_APPLE_IEEE 1
46470 _ACEOF
46471
46472 fi
46473
46474 if test "$wxUSE_TIMER" = "yes"; then
46475 cat >>confdefs.h <<\_ACEOF
46476 #define wxUSE_TIMER 1
46477 _ACEOF
46478
46479 fi
46480
46481 if test "$USE_UNIX" = 1 ; then
46482 if test "$wxUSE_MGL" != 1; then
46483 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46484 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46485 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46486 echo $ECHO_N "(cached) $ECHO_C" >&6
46487 else
46488
46489 cat >conftest.$ac_ext <<_ACEOF
46490 /* confdefs.h. */
46491 _ACEOF
46492 cat confdefs.h >>conftest.$ac_ext
46493 cat >>conftest.$ac_ext <<_ACEOF
46494 /* end confdefs.h. */
46495
46496 #include <sys/ioctl.h>
46497 #include <sys/soundcard.h>
46498
46499 int
46500 main ()
46501 {
46502
46503 ioctl(0, SNDCTL_DSP_SPEED, 0);
46504
46505 ;
46506 return 0;
46507 }
46508 _ACEOF
46509 rm -f conftest.$ac_objext conftest$ac_exeext
46510 if { (ac_try="$ac_link"
46511 case "(($ac_try" in
46512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46513 *) ac_try_echo=$ac_try;;
46514 esac
46515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46516 (eval "$ac_link") 2>conftest.er1
46517 ac_status=$?
46518 grep -v '^ *+' conftest.er1 >conftest.err
46519 rm -f conftest.er1
46520 cat conftest.err >&5
46521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46522 (exit $ac_status); } && {
46523 test -z "$ac_c_werror_flag" ||
46524 test ! -s conftest.err
46525 } && test -s conftest$ac_exeext &&
46526 $as_test_x conftest$ac_exeext; then
46527 ac_cv_header_sys_soundcard=yes
46528 else
46529 echo "$as_me: failed program was:" >&5
46530 sed 's/^/| /' conftest.$ac_ext >&5
46531
46532
46533 saveLibs="$LIBS"
46534 LIBS="$saveLibs -lossaudio"
46535 cat >conftest.$ac_ext <<_ACEOF
46536 /* confdefs.h. */
46537 _ACEOF
46538 cat confdefs.h >>conftest.$ac_ext
46539 cat >>conftest.$ac_ext <<_ACEOF
46540 /* end confdefs.h. */
46541
46542 #include <sys/ioctl.h>
46543 #include <sys/soundcard.h>
46544
46545 int
46546 main ()
46547 {
46548
46549 ioctl(0, SNDCTL_DSP_SPEED, 0);
46550
46551 ;
46552 return 0;
46553 }
46554 _ACEOF
46555 rm -f conftest.$ac_objext conftest$ac_exeext
46556 if { (ac_try="$ac_link"
46557 case "(($ac_try" in
46558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46559 *) ac_try_echo=$ac_try;;
46560 esac
46561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46562 (eval "$ac_link") 2>conftest.er1
46563 ac_status=$?
46564 grep -v '^ *+' conftest.er1 >conftest.err
46565 rm -f conftest.er1
46566 cat conftest.err >&5
46567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46568 (exit $ac_status); } && {
46569 test -z "$ac_c_werror_flag" ||
46570 test ! -s conftest.err
46571 } && test -s conftest$ac_exeext &&
46572 $as_test_x conftest$ac_exeext; then
46573 ac_cv_header_sys_soundcard=yes
46574 else
46575 echo "$as_me: failed program was:" >&5
46576 sed 's/^/| /' conftest.$ac_ext >&5
46577
46578
46579 LIBS="$saveLibs"
46580 ac_cv_header_sys_soundcard=no
46581
46582
46583 fi
46584
46585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46586 conftest$ac_exeext conftest.$ac_ext
46587
46588
46589 fi
46590
46591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46592 conftest$ac_exeext conftest.$ac_ext
46593
46594 fi
46595 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46596 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46597 fi
46598
46599 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46600 cat >>confdefs.h <<\_ACEOF
46601 #define HAVE_SYS_SOUNDCARD_H 1
46602 _ACEOF
46603
46604 fi
46605 fi
46606
46607 WITH_PLUGIN_SDL=0
46608 if test "$wxUSE_SOUND" = "yes"; then
46609 if test "$USE_UNIX" = 1 ; then
46610 if test "$wxUSE_LIBSDL" != "no"; then
46611
46612 # Check whether --with-sdl-prefix was given.
46613 if test "${with_sdl_prefix+set}" = set; then
46614 withval=$with_sdl_prefix; sdl_prefix="$withval"
46615 else
46616 sdl_prefix=""
46617 fi
46618
46619
46620 # Check whether --with-sdl-exec-prefix was given.
46621 if test "${with_sdl_exec_prefix+set}" = set; then
46622 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46623 else
46624 sdl_exec_prefix=""
46625 fi
46626
46627 # Check whether --enable-sdltest was given.
46628 if test "${enable_sdltest+set}" = set; then
46629 enableval=$enable_sdltest;
46630 else
46631 enable_sdltest=yes
46632 fi
46633
46634
46635 if test x$sdl_exec_prefix != x ; then
46636 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46637 if test x${SDL_CONFIG+set} != xset ; then
46638 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46639 fi
46640 fi
46641 if test x$sdl_prefix != x ; then
46642 sdl_args="$sdl_args --prefix=$sdl_prefix"
46643 if test x${SDL_CONFIG+set} != xset ; then
46644 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46645 fi
46646 fi
46647
46648 if test "x$prefix" != xNONE; then
46649 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46650 fi
46651 # Extract the first word of "sdl-config", so it can be a program name with args.
46652 set dummy sdl-config; ac_word=$2
46653 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46655 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46656 echo $ECHO_N "(cached) $ECHO_C" >&6
46657 else
46658 case $SDL_CONFIG in
46659 [\\/]* | ?:[\\/]*)
46660 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46661 ;;
46662 *)
46663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46664 for as_dir in $PATH
46665 do
46666 IFS=$as_save_IFS
46667 test -z "$as_dir" && as_dir=.
46668 for ac_exec_ext in '' $ac_executable_extensions; do
46669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46670 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46672 break 2
46673 fi
46674 done
46675 done
46676 IFS=$as_save_IFS
46677
46678 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46679 ;;
46680 esac
46681 fi
46682 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46683 if test -n "$SDL_CONFIG"; then
46684 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46685 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46686 else
46687 { echo "$as_me:$LINENO: result: no" >&5
46688 echo "${ECHO_T}no" >&6; }
46689 fi
46690
46691
46692 min_sdl_version=1.2.0
46693 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46694 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46695 no_sdl=""
46696 if test "$SDL_CONFIG" = "no" ; then
46697 no_sdl=yes
46698 else
46699 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46700 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46701
46702 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46703 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46704 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46705 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46706 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46707 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46708 if test "x$enable_sdltest" = "xyes" ; then
46709 ac_save_CFLAGS="$CFLAGS"
46710 ac_save_CXXFLAGS="$CXXFLAGS"
46711 ac_save_LIBS="$LIBS"
46712 CFLAGS="$CFLAGS $SDL_CFLAGS"
46713 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46714 LIBS="$LIBS $SDL_LIBS"
46715 rm -f conf.sdltest
46716 if test "$cross_compiling" = yes; then
46717 echo $ac_n "cross compiling; assumed OK... $ac_c"
46718 else
46719 cat >conftest.$ac_ext <<_ACEOF
46720 /* confdefs.h. */
46721 _ACEOF
46722 cat confdefs.h >>conftest.$ac_ext
46723 cat >>conftest.$ac_ext <<_ACEOF
46724 /* end confdefs.h. */
46725
46726 #include <stdio.h>
46727 #include <stdlib.h>
46728 #include <string.h>
46729 #include "SDL.h"
46730
46731 char*
46732 my_strdup (char *str)
46733 {
46734 char *new_str;
46735
46736 if (str)
46737 {
46738 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46739 strcpy (new_str, str);
46740 }
46741 else
46742 new_str = NULL;
46743
46744 return new_str;
46745 }
46746
46747 int main (int argc, char *argv[])
46748 {
46749 int major, minor, micro;
46750 char *tmp_version;
46751
46752 /* This hangs on some systems (?)
46753 system ("touch conf.sdltest");
46754 */
46755 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46756
46757 /* HP/UX 9 (%@#!) writes to sscanf strings */
46758 tmp_version = my_strdup("$min_sdl_version");
46759 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
46760 printf("%s, bad version string\n", "$min_sdl_version");
46761 exit(1);
46762 }
46763
46764 if (($sdl_major_version > major) ||
46765 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46766 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46767 {
46768 return 0;
46769 }
46770 else
46771 {
46772 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46773 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46774 printf("*** best to upgrade to the required version.\n");
46775 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46776 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46777 printf("*** config.cache before re-running configure\n");
46778 return 1;
46779 }
46780 }
46781
46782
46783 _ACEOF
46784 rm -f conftest$ac_exeext
46785 if { (ac_try="$ac_link"
46786 case "(($ac_try" in
46787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46788 *) ac_try_echo=$ac_try;;
46789 esac
46790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46791 (eval "$ac_link") 2>&5
46792 ac_status=$?
46793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46794 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46795 { (case "(($ac_try" in
46796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46797 *) ac_try_echo=$ac_try;;
46798 esac
46799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46800 (eval "$ac_try") 2>&5
46801 ac_status=$?
46802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46803 (exit $ac_status); }; }; then
46804 :
46805 else
46806 echo "$as_me: program exited with status $ac_status" >&5
46807 echo "$as_me: failed program was:" >&5
46808 sed 's/^/| /' conftest.$ac_ext >&5
46809
46810 ( exit $ac_status )
46811 no_sdl=yes
46812 fi
46813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46814 fi
46815
46816
46817 CFLAGS="$ac_save_CFLAGS"
46818 CXXFLAGS="$ac_save_CXXFLAGS"
46819 LIBS="$ac_save_LIBS"
46820 fi
46821 fi
46822 if test "x$no_sdl" = x ; then
46823 { echo "$as_me:$LINENO: result: yes" >&5
46824 echo "${ECHO_T}yes" >&6; }
46825
46826 EXTRALIBS_SDL="$SDL_LIBS"
46827 CFLAGS="$SDL_CFLAGS $CFLAGS"
46828 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46829 cat >>confdefs.h <<\_ACEOF
46830 #define wxUSE_LIBSDL 1
46831 _ACEOF
46832
46833
46834 else
46835 { echo "$as_me:$LINENO: result: no" >&5
46836 echo "${ECHO_T}no" >&6; }
46837 if test "$SDL_CONFIG" = "no" ; then
46838 echo "*** The sdl-config script installed by SDL could not be found"
46839 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46840 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46841 echo "*** full path to sdl-config."
46842 else
46843 if test -f conf.sdltest ; then
46844 :
46845 else
46846 echo "*** Could not run SDL test program, checking why..."
46847 CFLAGS="$CFLAGS $SDL_CFLAGS"
46848 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46849 LIBS="$LIBS $SDL_LIBS"
46850 cat >conftest.$ac_ext <<_ACEOF
46851 /* confdefs.h. */
46852 _ACEOF
46853 cat confdefs.h >>conftest.$ac_ext
46854 cat >>conftest.$ac_ext <<_ACEOF
46855 /* end confdefs.h. */
46856
46857 #include <stdio.h>
46858 #include "SDL.h"
46859
46860 int main(int argc, char *argv[])
46861 { return 0; }
46862 #undef main
46863 #define main K_and_R_C_main
46864
46865 int
46866 main ()
46867 {
46868 return 0;
46869 ;
46870 return 0;
46871 }
46872 _ACEOF
46873 rm -f conftest.$ac_objext conftest$ac_exeext
46874 if { (ac_try="$ac_link"
46875 case "(($ac_try" in
46876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46877 *) ac_try_echo=$ac_try;;
46878 esac
46879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46880 (eval "$ac_link") 2>conftest.er1
46881 ac_status=$?
46882 grep -v '^ *+' conftest.er1 >conftest.err
46883 rm -f conftest.er1
46884 cat conftest.err >&5
46885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46886 (exit $ac_status); } && {
46887 test -z "$ac_c_werror_flag" ||
46888 test ! -s conftest.err
46889 } && test -s conftest$ac_exeext &&
46890 $as_test_x conftest$ac_exeext; then
46891 echo "*** The test program compiled, but did not run. This usually means"
46892 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46893 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46894 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46895 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46896 echo "*** is required on your system"
46897 echo "***"
46898 echo "*** If you have an old version installed, it is best to remove it, although"
46899 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46900 else
46901 echo "$as_me: failed program was:" >&5
46902 sed 's/^/| /' conftest.$ac_ext >&5
46903
46904 echo "*** The test program failed to compile or link. See the file config.log for the"
46905 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46906 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46907 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46908 fi
46909
46910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46911 conftest$ac_exeext conftest.$ac_ext
46912 CFLAGS="$ac_save_CFLAGS"
46913 CXXFLAGS="$ac_save_CXXFLAGS"
46914 LIBS="$ac_save_LIBS"
46915 fi
46916 fi
46917 SDL_CFLAGS=""
46918 SDL_LIBS=""
46919 wxUSE_LIBSDL="no"
46920 fi
46921
46922
46923 rm -f conf.sdltest
46924
46925 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46926 WITH_PLUGIN_SDL=1
46927 fi
46928 fi
46929 else
46930 if test "$wxUSE_MGL" = 1; then
46931 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
46932 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
46933 wxUSE_SOUND="no"
46934 fi
46935 fi
46936 fi
46937
46938 if test "$wxUSE_SOUND" = "yes"; then
46939 cat >>confdefs.h <<\_ACEOF
46940 #define wxUSE_SOUND 1
46941 _ACEOF
46942
46943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46944 fi
46945
46946 if test "$WXGTK2" = 1; then
46947
46948
46949 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46950 if test -n "$ac_tool_prefix"; then
46951 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46952 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46955 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46956 echo $ECHO_N "(cached) $ECHO_C" >&6
46957 else
46958 case $PKG_CONFIG in
46959 [\\/]* | ?:[\\/]*)
46960 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46961 ;;
46962 *)
46963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46964 for as_dir in $PATH
46965 do
46966 IFS=$as_save_IFS
46967 test -z "$as_dir" && as_dir=.
46968 for ac_exec_ext in '' $ac_executable_extensions; do
46969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46970 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46972 break 2
46973 fi
46974 done
46975 done
46976 IFS=$as_save_IFS
46977
46978 ;;
46979 esac
46980 fi
46981 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46982 if test -n "$PKG_CONFIG"; then
46983 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46984 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46985 else
46986 { echo "$as_me:$LINENO: result: no" >&5
46987 echo "${ECHO_T}no" >&6; }
46988 fi
46989
46990
46991 fi
46992 if test -z "$ac_cv_path_PKG_CONFIG"; then
46993 ac_pt_PKG_CONFIG=$PKG_CONFIG
46994 # Extract the first word of "pkg-config", so it can be a program name with args.
46995 set dummy pkg-config; ac_word=$2
46996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46998 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46999 echo $ECHO_N "(cached) $ECHO_C" >&6
47000 else
47001 case $ac_pt_PKG_CONFIG in
47002 [\\/]* | ?:[\\/]*)
47003 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
47004 ;;
47005 *)
47006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47007 for as_dir in $PATH
47008 do
47009 IFS=$as_save_IFS
47010 test -z "$as_dir" && as_dir=.
47011 for ac_exec_ext in '' $ac_executable_extensions; do
47012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47013 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
47014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47015 break 2
47016 fi
47017 done
47018 done
47019 IFS=$as_save_IFS
47020
47021 ;;
47022 esac
47023 fi
47024 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
47025 if test -n "$ac_pt_PKG_CONFIG"; then
47026 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
47027 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
47028 else
47029 { echo "$as_me:$LINENO: result: no" >&5
47030 echo "${ECHO_T}no" >&6; }
47031 fi
47032
47033 if test "x$ac_pt_PKG_CONFIG" = x; then
47034 PKG_CONFIG=""
47035 else
47036 case $cross_compiling:$ac_tool_warned in
47037 yes:)
47038 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47039 whose name does not start with the host triplet. If you think this
47040 configuration is useful to you, please write to autoconf@gnu.org." >&5
47041 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47042 whose name does not start with the host triplet. If you think this
47043 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47044 ac_tool_warned=yes ;;
47045 esac
47046 PKG_CONFIG=$ac_pt_PKG_CONFIG
47047 fi
47048 else
47049 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
47050 fi
47051
47052 fi
47053 if test -n "$PKG_CONFIG"; then
47054 _pkg_min_version=0.9.0
47055 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
47056 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
47057 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
47058 { echo "$as_me:$LINENO: result: yes" >&5
47059 echo "${ECHO_T}yes" >&6; }
47060 else
47061 { echo "$as_me:$LINENO: result: no" >&5
47062 echo "${ECHO_T}no" >&6; }
47063 PKG_CONFIG=""
47064 fi
47065
47066 fi
47067
47068 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47069
47070 if test "$wxUSE_GTKPRINT" = "yes" ; then
47071
47072
47073 pkg_failed=no
47074 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
47075 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
47076
47077 if test -n "$PKG_CONFIG"; then
47078 if test -n "$GTKPRINT_CFLAGS"; then
47079 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
47080 else
47081 if test -n "$PKG_CONFIG" && \
47082 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
47083 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
47084 ac_status=$?
47085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47086 (exit $ac_status); }; then
47087 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
47088 else
47089 pkg_failed=yes
47090 fi
47091 fi
47092 else
47093 pkg_failed=untried
47094 fi
47095 if test -n "$PKG_CONFIG"; then
47096 if test -n "$GTKPRINT_LIBS"; then
47097 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
47098 else
47099 if test -n "$PKG_CONFIG" && \
47100 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
47101 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
47102 ac_status=$?
47103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47104 (exit $ac_status); }; then
47105 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
47106 else
47107 pkg_failed=yes
47108 fi
47109 fi
47110 else
47111 pkg_failed=untried
47112 fi
47113
47114
47115
47116 if test $pkg_failed = yes; then
47117
47118 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47119 _pkg_short_errors_supported=yes
47120 else
47121 _pkg_short_errors_supported=no
47122 fi
47123 if test $_pkg_short_errors_supported = yes; then
47124 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47125 else
47126 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
47127 fi
47128 # Put the nasty error message in config.log where it belongs
47129 echo "$GTKPRINT_PKG_ERRORS" >&5
47130
47131
47132 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47133 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47134 wxUSE_GTKPRINT="no"
47135
47136
47137 elif test $pkg_failed = untried; then
47138
47139 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
47140 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
47141 wxUSE_GTKPRINT="no"
47142
47143
47144 else
47145 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
47146 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
47147 { echo "$as_me:$LINENO: result: yes" >&5
47148 echo "${ECHO_T}yes" >&6; }
47149
47150 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
47151 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
47152 cat >>confdefs.h <<\_ACEOF
47153 #define wxUSE_GTKPRINT 1
47154 _ACEOF
47155
47156
47157 fi
47158 fi
47159
47160 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47161
47162
47163 pkg_failed=no
47164 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
47165 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
47166
47167 if test -n "$PKG_CONFIG"; then
47168 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
47169 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
47170 else
47171 if test -n "$PKG_CONFIG" && \
47172 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47173 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47174 ac_status=$?
47175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47176 (exit $ac_status); }; then
47177 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47178 else
47179 pkg_failed=yes
47180 fi
47181 fi
47182 else
47183 pkg_failed=untried
47184 fi
47185 if test -n "$PKG_CONFIG"; then
47186 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
47187 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
47188 else
47189 if test -n "$PKG_CONFIG" && \
47190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47191 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47192 ac_status=$?
47193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47194 (exit $ac_status); }; then
47195 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
47196 else
47197 pkg_failed=yes
47198 fi
47199 fi
47200 else
47201 pkg_failed=untried
47202 fi
47203
47204
47205
47206 if test $pkg_failed = yes; then
47207
47208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47209 _pkg_short_errors_supported=yes
47210 else
47211 _pkg_short_errors_supported=no
47212 fi
47213 if test $_pkg_short_errors_supported = yes; then
47214 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47215 else
47216 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47217 fi
47218 # Put the nasty error message in config.log where it belongs
47219 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
47220
47221
47222 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47223 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47224 wxUSE_LIBGNOMEPRINT="no"
47225
47226
47227 elif test $pkg_failed = untried; then
47228
47229 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47230 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47231 wxUSE_LIBGNOMEPRINT="no"
47232
47233
47234 else
47235 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47236 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47237 { echo "$as_me:$LINENO: result: yes" >&5
47238 echo "${ECHO_T}yes" >&6; }
47239
47240 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47241 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47242 cat >>confdefs.h <<\_ACEOF
47243 #define wxUSE_LIBGNOMEPRINT 1
47244 _ACEOF
47245
47246
47247 fi
47248 fi
47249 fi
47250
47251 if test "$wxUSE_MIMETYPE" = "yes" ; then
47252 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47253
47254
47255 pkg_failed=no
47256 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47257 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47258
47259 if test -n "$PKG_CONFIG"; then
47260 if test -n "$GNOMEVFS_CFLAGS"; then
47261 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
47262 else
47263 if test -n "$PKG_CONFIG" && \
47264 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47265 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47266 ac_status=$?
47267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47268 (exit $ac_status); }; then
47269 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47270 else
47271 pkg_failed=yes
47272 fi
47273 fi
47274 else
47275 pkg_failed=untried
47276 fi
47277 if test -n "$PKG_CONFIG"; then
47278 if test -n "$GNOMEVFS_LIBS"; then
47279 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
47280 else
47281 if test -n "$PKG_CONFIG" && \
47282 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47283 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47284 ac_status=$?
47285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47286 (exit $ac_status); }; then
47287 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47288 else
47289 pkg_failed=yes
47290 fi
47291 fi
47292 else
47293 pkg_failed=untried
47294 fi
47295
47296
47297
47298 if test $pkg_failed = yes; then
47299
47300 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47301 _pkg_short_errors_supported=yes
47302 else
47303 _pkg_short_errors_supported=no
47304 fi
47305 if test $_pkg_short_errors_supported = yes; then
47306 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47307 else
47308 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47309 fi
47310 # Put the nasty error message in config.log where it belongs
47311 echo "$GNOMEVFS_PKG_ERRORS" >&5
47312
47313
47314 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47315 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47316 wxUSE_LIBGNOMEVFS="no"
47317
47318
47319 elif test $pkg_failed = untried; then
47320
47321 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47322 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47323 wxUSE_LIBGNOMEVFS="no"
47324
47325
47326 else
47327 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
47328 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
47329 { echo "$as_me:$LINENO: result: yes" >&5
47330 echo "${ECHO_T}yes" >&6; }
47331
47332 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
47333 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
47334 cat >>confdefs.h <<\_ACEOF
47335 #define wxUSE_LIBGNOMEVFS 1
47336 _ACEOF
47337
47338
47339 fi
47340 fi
47341 fi
47342
47343 if test "$wxUSE_LIBHILDON" = "yes" ; then
47344
47345 pkg_failed=no
47346 { echo "$as_me:$LINENO: checking for HILDON" >&5
47347 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47348
47349 if test -n "$PKG_CONFIG"; then
47350 if test -n "$HILDON_CFLAGS"; then
47351 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
47352 else
47353 if test -n "$PKG_CONFIG" && \
47354 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47355 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47356 ac_status=$?
47357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47358 (exit $ac_status); }; then
47359 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47360 else
47361 pkg_failed=yes
47362 fi
47363 fi
47364 else
47365 pkg_failed=untried
47366 fi
47367 if test -n "$PKG_CONFIG"; then
47368 if test -n "$HILDON_LIBS"; then
47369 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
47370 else
47371 if test -n "$PKG_CONFIG" && \
47372 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47373 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47374 ac_status=$?
47375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47376 (exit $ac_status); }; then
47377 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47378 else
47379 pkg_failed=yes
47380 fi
47381 fi
47382 else
47383 pkg_failed=untried
47384 fi
47385
47386
47387
47388 if test $pkg_failed = yes; then
47389
47390 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47391 _pkg_short_errors_supported=yes
47392 else
47393 _pkg_short_errors_supported=no
47394 fi
47395 if test $_pkg_short_errors_supported = yes; then
47396 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47397 else
47398 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47399 fi
47400 # Put the nasty error message in config.log where it belongs
47401 echo "$HILDON_PKG_ERRORS" >&5
47402
47403
47404 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47405 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47406 wxUSE_LIBHILDON="no"
47407 ac_hildon_lgpl=0
47408
47409
47410 elif test $pkg_failed = untried; then
47411
47412 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47413 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47414 wxUSE_LIBHILDON="no"
47415 ac_hildon_lgpl=0
47416
47417
47418 else
47419 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
47420 HILDON_LIBS=$pkg_cv_HILDON_LIBS
47421 { echo "$as_me:$LINENO: result: yes" >&5
47422 echo "${ECHO_T}yes" >&6; }
47423
47424 EXTRALIBS_HILDON="$HILDON_LIBS"
47425 CFLAGS="$CFLAGS $HILDON_CFLAGS"
47426 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
47427 cat >>confdefs.h <<\_ACEOF
47428 #define wxUSE_LIBHILDON 1
47429 _ACEOF
47430
47431 ac_hildon_lgpl=1
47432
47433 fi
47434
47435 if test "$ac_hildon_lgpl" = 0 ; then
47436
47437 pkg_failed=no
47438 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47439 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47440
47441 if test -n "$PKG_CONFIG"; then
47442 if test -n "$HILDON2_CFLAGS"; then
47443 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
47444 else
47445 if test -n "$PKG_CONFIG" && \
47446 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47447 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47448 ac_status=$?
47449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47450 (exit $ac_status); }; then
47451 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47452 else
47453 pkg_failed=yes
47454 fi
47455 fi
47456 else
47457 pkg_failed=untried
47458 fi
47459 if test -n "$PKG_CONFIG"; then
47460 if test -n "$HILDON2_LIBS"; then
47461 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
47462 else
47463 if test -n "$PKG_CONFIG" && \
47464 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47465 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47466 ac_status=$?
47467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47468 (exit $ac_status); }; then
47469 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47470 else
47471 pkg_failed=yes
47472 fi
47473 fi
47474 else
47475 pkg_failed=untried
47476 fi
47477
47478
47479
47480 if test $pkg_failed = yes; then
47481
47482 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47483 _pkg_short_errors_supported=yes
47484 else
47485 _pkg_short_errors_supported=no
47486 fi
47487 if test $_pkg_short_errors_supported = yes; then
47488 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47489 else
47490 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47491 fi
47492 # Put the nasty error message in config.log where it belongs
47493 echo "$HILDON2_PKG_ERRORS" >&5
47494
47495
47496 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47497 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47498 wxUSE_LIBHILDON2="no"
47499
47500
47501 elif test $pkg_failed = untried; then
47502
47503 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47504 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47505 wxUSE_LIBHILDON2="no"
47506
47507
47508 else
47509 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
47510 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
47511 { echo "$as_me:$LINENO: result: yes" >&5
47512 echo "${ECHO_T}yes" >&6; }
47513
47514 EXTRALIBS_HILDON="$HILDON2_LIBS"
47515 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
47516 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
47517 cat >>confdefs.h <<\_ACEOF
47518 #define wxUSE_LIBHILDON2 1
47519 _ACEOF
47520
47521
47522 fi
47523 fi
47524 fi
47525 fi
47526
47527 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47528 cat >>confdefs.h <<\_ACEOF
47529 #define wxUSE_CMDLINE_PARSER 1
47530 _ACEOF
47531
47532 fi
47533
47534 if test "$wxUSE_STOPWATCH" = "yes"; then
47535 cat >>confdefs.h <<\_ACEOF
47536 #define wxUSE_STOPWATCH 1
47537 _ACEOF
47538
47539 fi
47540
47541 if test "$wxUSE_DATETIME" = "yes"; then
47542 cat >>confdefs.h <<\_ACEOF
47543 #define wxUSE_DATETIME 1
47544 _ACEOF
47545
47546 fi
47547
47548 if test "$wxUSE_FILE" = "yes"; then
47549 cat >>confdefs.h <<\_ACEOF
47550 #define wxUSE_FILE 1
47551 _ACEOF
47552
47553 fi
47554
47555 if test "$wxUSE_FFILE" = "yes"; then
47556 cat >>confdefs.h <<\_ACEOF
47557 #define wxUSE_FFILE 1
47558 _ACEOF
47559
47560 fi
47561
47562 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47563 if test "$wxUSE_STREAMS" != yes; then
47564 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47565 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47566 wxUSE_ARCHIVE_STREAMS=no
47567 else
47568 cat >>confdefs.h <<\_ACEOF
47569 #define wxUSE_ARCHIVE_STREAMS 1
47570 _ACEOF
47571
47572 fi
47573 fi
47574
47575 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47576 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47577 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47578 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47579 elif test "$wxUSE_ZLIB" = "no"; then
47580 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47581 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47582 else
47583 cat >>confdefs.h <<\_ACEOF
47584 #define wxUSE_ZIPSTREAM 1
47585 _ACEOF
47586
47587 fi
47588 fi
47589
47590 if test "$wxUSE_TARSTREAM" = "yes"; then
47591 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47592 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47593 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47594 else
47595 cat >>confdefs.h <<\_ACEOF
47596 #define wxUSE_TARSTREAM 1
47597 _ACEOF
47598
47599 fi
47600 fi
47601
47602 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47603 cat >>confdefs.h <<\_ACEOF
47604 #define wxUSE_FILE_HISTORY 1
47605 _ACEOF
47606
47607 fi
47608
47609 if test "$wxUSE_FILESYSTEM" = "yes"; then
47610 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47611 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47612 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47613 wxUSE_FILESYSTEM=no
47614 else
47615 cat >>confdefs.h <<\_ACEOF
47616 #define wxUSE_FILESYSTEM 1
47617 _ACEOF
47618
47619 fi
47620 fi
47621
47622 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47623 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47624 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47625 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47626 else
47627 cat >>confdefs.h <<\_ACEOF
47628 #define wxUSE_FS_ARCHIVE 1
47629 _ACEOF
47630
47631 fi
47632 fi
47633
47634 if test "$wxUSE_FS_ZIP" = "yes"; then
47635 if test "$wxUSE_FS_ARCHIVE" != yes; then
47636 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47637 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47638 else
47639 cat >>confdefs.h <<\_ACEOF
47640 #define wxUSE_FS_ZIP 1
47641 _ACEOF
47642
47643 fi
47644 fi
47645
47646 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47647 if test "$USE_UNIX" != 1; then
47648 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47649 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47650 wxUSE_ON_FATAL_EXCEPTION=no
47651 else
47652 cat >>confdefs.h <<\_ACEOF
47653 #define wxUSE_ON_FATAL_EXCEPTION 1
47654 _ACEOF
47655
47656 fi
47657 fi
47658
47659 if test "$wxUSE_STACKWALKER" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_STACKWALKER 1
47662 _ACEOF
47663
47664 fi
47665
47666 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47667 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47668 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47669 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47670 wxUSE_DEBUGREPORT=no
47671 else
47672 cat >>confdefs.h <<\_ACEOF
47673 #define wxUSE_DEBUGREPORT 1
47674 _ACEOF
47675
47676 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47677 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47678 fi
47679 fi
47680 fi
47681
47682 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47683 cat >>confdefs.h <<\_ACEOF
47684 #define wxUSE_SNGLINST_CHECKER 1
47685 _ACEOF
47686
47687 fi
47688
47689 if test "$wxUSE_BUSYINFO" = "yes"; then
47690 cat >>confdefs.h <<\_ACEOF
47691 #define wxUSE_BUSYINFO 1
47692 _ACEOF
47693
47694 fi
47695
47696 if test "$wxUSE_HOTKEY" = "yes"; then
47697 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47698 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47699 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47700 wxUSE_HOTKEY=no
47701 fi
47702 elif test "$wxUSE_HOTKEY" = "auto"; then
47703 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47704 wxUSE_HOTKEY=yes
47705 fi
47706 fi
47707 if test "$wxUSE_HOTKEY" = "yes"; then
47708 cat >>confdefs.h <<\_ACEOF
47709 #define wxUSE_HOTKEY 1
47710 _ACEOF
47711
47712 fi
47713
47714 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47715 cat >>confdefs.h <<\_ACEOF
47716 #define wxUSE_STD_CONTAINERS 1
47717 _ACEOF
47718
47719 fi
47720
47721 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47722 cat >>confdefs.h <<\_ACEOF
47723 #define wxUSE_STD_IOSTREAM 1
47724 _ACEOF
47725
47726 fi
47727
47728 if test "$wxUSE_STD_STRING" = "yes"; then
47729 cat >>confdefs.h <<\_ACEOF
47730 #define wxUSE_STD_STRING 1
47731 _ACEOF
47732
47733 fi
47734
47735 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47736 cat >>confdefs.h <<\_ACEOF
47737 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47738 _ACEOF
47739
47740 fi
47741
47742 if test "$wxUSE_STDPATHS" = "yes"; then
47743 cat >>confdefs.h <<\_ACEOF
47744 #define wxUSE_STDPATHS 1
47745 _ACEOF
47746
47747 fi
47748
47749 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47750 cat >>confdefs.h <<\_ACEOF
47751 #define wxUSE_TEXTBUFFER 1
47752 _ACEOF
47753
47754 fi
47755
47756 if test "$wxUSE_TEXTFILE" = "yes"; then
47757 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47758 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47759 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47760 else
47761 cat >>confdefs.h <<\_ACEOF
47762 #define wxUSE_TEXTFILE 1
47763 _ACEOF
47764
47765 fi
47766 fi
47767
47768 if test "$wxUSE_CONFIG" = "yes" ; then
47769 if test "$wxUSE_TEXTFILE" != "yes"; then
47770 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47771 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47772 else
47773 cat >>confdefs.h <<\_ACEOF
47774 #define wxUSE_CONFIG 1
47775 _ACEOF
47776
47777 cat >>confdefs.h <<\_ACEOF
47778 #define wxUSE_CONFIG_NATIVE 1
47779 _ACEOF
47780
47781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47782 fi
47783 fi
47784
47785 if test "$wxUSE_INTL" = "yes" ; then
47786 if test "$wxUSE_FILE" != "yes"; then
47787 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47788 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47789 else
47790 cat >>confdefs.h <<\_ACEOF
47791 #define wxUSE_INTL 1
47792 _ACEOF
47793
47794 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47795 GUIDIST="$GUIDIST INTL_DIST"
47796 fi
47797 fi
47798
47799 if test "$wxUSE_XLOCALE" = "yes" ; then
47800 cat >>confdefs.h <<\_ACEOF
47801 #define wxUSE_XLOCALE 1
47802 _ACEOF
47803
47804 { echo "$as_me:$LINENO: checking for locale_t" >&5
47805 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47806 if test "${ac_cv_type_locale_t+set}" = set; then
47807 echo $ECHO_N "(cached) $ECHO_C" >&6
47808 else
47809 cat >conftest.$ac_ext <<_ACEOF
47810 /* confdefs.h. */
47811 _ACEOF
47812 cat confdefs.h >>conftest.$ac_ext
47813 cat >>conftest.$ac_ext <<_ACEOF
47814 /* end confdefs.h. */
47815 #include <xlocale.h>
47816 #include <locale.h>
47817
47818 typedef locale_t ac__type_new_;
47819 int
47820 main ()
47821 {
47822 if ((ac__type_new_ *) 0)
47823 return 0;
47824 if (sizeof (ac__type_new_))
47825 return 0;
47826 ;
47827 return 0;
47828 }
47829 _ACEOF
47830 rm -f conftest.$ac_objext
47831 if { (ac_try="$ac_compile"
47832 case "(($ac_try" in
47833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47834 *) ac_try_echo=$ac_try;;
47835 esac
47836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47837 (eval "$ac_compile") 2>conftest.er1
47838 ac_status=$?
47839 grep -v '^ *+' conftest.er1 >conftest.err
47840 rm -f conftest.er1
47841 cat conftest.err >&5
47842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47843 (exit $ac_status); } && {
47844 test -z "$ac_c_werror_flag" ||
47845 test ! -s conftest.err
47846 } && test -s conftest.$ac_objext; then
47847 ac_cv_type_locale_t=yes
47848 else
47849 echo "$as_me: failed program was:" >&5
47850 sed 's/^/| /' conftest.$ac_ext >&5
47851
47852 ac_cv_type_locale_t=no
47853 fi
47854
47855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47856 fi
47857 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47858 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47859 if test $ac_cv_type_locale_t = yes; then
47860
47861 cat >>confdefs.h <<_ACEOF
47862 #define HAVE_LOCALE_T 1
47863 _ACEOF
47864
47865
47866 fi
47867
47868 fi
47869
47870 if test "$wxUSE_LOG" = "yes"; then
47871 cat >>confdefs.h <<\_ACEOF
47872 #define wxUSE_LOG 1
47873 _ACEOF
47874
47875
47876 if test "$wxUSE_LOGGUI" = "yes"; then
47877 cat >>confdefs.h <<\_ACEOF
47878 #define wxUSE_LOGGUI 1
47879 _ACEOF
47880
47881 fi
47882
47883 if test "$wxUSE_LOGWINDOW" = "yes"; then
47884 cat >>confdefs.h <<\_ACEOF
47885 #define wxUSE_LOGWINDOW 1
47886 _ACEOF
47887
47888 fi
47889
47890 if test "$wxUSE_LOGDIALOG" = "yes"; then
47891 cat >>confdefs.h <<\_ACEOF
47892 #define wxUSE_LOG_DIALOG 1
47893 _ACEOF
47894
47895 fi
47896
47897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47898 fi
47899
47900 if test "$wxUSE_LONGLONG" = "yes"; then
47901 cat >>confdefs.h <<\_ACEOF
47902 #define wxUSE_LONGLONG 1
47903 _ACEOF
47904
47905 fi
47906
47907 if test "$wxUSE_GEOMETRY" = "yes"; then
47908 cat >>confdefs.h <<\_ACEOF
47909 #define wxUSE_GEOMETRY 1
47910 _ACEOF
47911
47912 fi
47913
47914 if test "$wxUSE_BASE64" = "yes"; then
47915 cat >>confdefs.h <<\_ACEOF
47916 #define wxUSE_BASE64 1
47917 _ACEOF
47918
47919 fi
47920
47921 if test "$wxUSE_STREAMS" = "yes" ; then
47922 cat >>confdefs.h <<\_ACEOF
47923 #define wxUSE_STREAMS 1
47924 _ACEOF
47925
47926 fi
47927
47928 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47929 cat >>confdefs.h <<\_ACEOF
47930 #define wxUSE_PRINTF_POS_PARAMS 1
47931 _ACEOF
47932
47933 fi
47934
47935 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47936 cat >>confdefs.h <<\_ACEOF
47937 #define wxUSE_OBJC_UNIQUIFYING 1
47938 _ACEOF
47939
47940 fi
47941
47942
47943 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47944 cat >>confdefs.h <<\_ACEOF
47945 #define wxUSE_CONSOLE_EVENTLOOP 1
47946 _ACEOF
47947
47948
47949 if test "$wxUSE_UNIX" = "yes"; then
47950 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47951 cat >>confdefs.h <<\_ACEOF
47952 #define wxUSE_SELECT_DISPATCHER 1
47953 _ACEOF
47954
47955 fi
47956
47957 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47958
47959 for ac_header in sys/epoll.h
47960 do
47961 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47964 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47965 echo $ECHO_N "(cached) $ECHO_C" >&6
47966 else
47967 cat >conftest.$ac_ext <<_ACEOF
47968 /* confdefs.h. */
47969 _ACEOF
47970 cat confdefs.h >>conftest.$ac_ext
47971 cat >>conftest.$ac_ext <<_ACEOF
47972 /* end confdefs.h. */
47973 $ac_includes_default
47974
47975 #include <$ac_header>
47976 _ACEOF
47977 rm -f conftest.$ac_objext
47978 if { (ac_try="$ac_compile"
47979 case "(($ac_try" in
47980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47981 *) ac_try_echo=$ac_try;;
47982 esac
47983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47984 (eval "$ac_compile") 2>conftest.er1
47985 ac_status=$?
47986 grep -v '^ *+' conftest.er1 >conftest.err
47987 rm -f conftest.er1
47988 cat conftest.err >&5
47989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47990 (exit $ac_status); } && {
47991 test -z "$ac_c_werror_flag" ||
47992 test ! -s conftest.err
47993 } && test -s conftest.$ac_objext; then
47994 eval "$as_ac_Header=yes"
47995 else
47996 echo "$as_me: failed program was:" >&5
47997 sed 's/^/| /' conftest.$ac_ext >&5
47998
47999 eval "$as_ac_Header=no"
48000 fi
48001
48002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48003 fi
48004 ac_res=`eval echo '${'$as_ac_Header'}'`
48005 { echo "$as_me:$LINENO: result: $ac_res" >&5
48006 echo "${ECHO_T}$ac_res" >&6; }
48007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
48008 cat >>confdefs.h <<_ACEOF
48009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
48010 _ACEOF
48011
48012 fi
48013
48014 done
48015
48016 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
48017 cat >>confdefs.h <<\_ACEOF
48018 #define wxUSE_EPOLL_DISPATCHER 1
48019 _ACEOF
48020
48021 else
48022 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
48023 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
48024 fi
48025 fi
48026 fi
48027 fi
48028
48029
48030
48031
48032 for ac_func in gettimeofday ftime
48033 do
48034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48035 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48037 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48038 echo $ECHO_N "(cached) $ECHO_C" >&6
48039 else
48040 cat >conftest.$ac_ext <<_ACEOF
48041 /* confdefs.h. */
48042 _ACEOF
48043 cat confdefs.h >>conftest.$ac_ext
48044 cat >>conftest.$ac_ext <<_ACEOF
48045 /* end confdefs.h. */
48046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48048 #define $ac_func innocuous_$ac_func
48049
48050 /* System header to define __stub macros and hopefully few prototypes,
48051 which can conflict with char $ac_func (); below.
48052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48053 <limits.h> exists even on freestanding compilers. */
48054
48055 #ifdef __STDC__
48056 # include <limits.h>
48057 #else
48058 # include <assert.h>
48059 #endif
48060
48061 #undef $ac_func
48062
48063 /* Override any GCC internal prototype to avoid an error.
48064 Use char because int might match the return type of a GCC
48065 builtin and then its argument prototype would still apply. */
48066 #ifdef __cplusplus
48067 extern "C"
48068 #endif
48069 char $ac_func ();
48070 /* The GNU C library defines this for functions which it implements
48071 to always fail with ENOSYS. Some functions are actually named
48072 something starting with __ and the normal name is an alias. */
48073 #if defined __stub_$ac_func || defined __stub___$ac_func
48074 choke me
48075 #endif
48076
48077 int
48078 main ()
48079 {
48080 return $ac_func ();
48081 ;
48082 return 0;
48083 }
48084 _ACEOF
48085 rm -f conftest.$ac_objext conftest$ac_exeext
48086 if { (ac_try="$ac_link"
48087 case "(($ac_try" in
48088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48089 *) ac_try_echo=$ac_try;;
48090 esac
48091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48092 (eval "$ac_link") 2>conftest.er1
48093 ac_status=$?
48094 grep -v '^ *+' conftest.er1 >conftest.err
48095 rm -f conftest.er1
48096 cat conftest.err >&5
48097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48098 (exit $ac_status); } && {
48099 test -z "$ac_c_werror_flag" ||
48100 test ! -s conftest.err
48101 } && test -s conftest$ac_exeext &&
48102 $as_test_x conftest$ac_exeext; then
48103 eval "$as_ac_var=yes"
48104 else
48105 echo "$as_me: failed program was:" >&5
48106 sed 's/^/| /' conftest.$ac_ext >&5
48107
48108 eval "$as_ac_var=no"
48109 fi
48110
48111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48112 conftest$ac_exeext conftest.$ac_ext
48113 fi
48114 ac_res=`eval echo '${'$as_ac_var'}'`
48115 { echo "$as_me:$LINENO: result: $ac_res" >&5
48116 echo "${ECHO_T}$ac_res" >&6; }
48117 if test `eval echo '${'$as_ac_var'}'` = yes; then
48118 cat >>confdefs.h <<_ACEOF
48119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48120 _ACEOF
48121 break
48122 fi
48123 done
48124
48125
48126 if test "$ac_cv_func_gettimeofday" = "yes"; then
48127 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
48128 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
48129 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
48130 echo $ECHO_N "(cached) $ECHO_C" >&6
48131 else
48132
48133 cat >conftest.$ac_ext <<_ACEOF
48134 /* confdefs.h. */
48135 _ACEOF
48136 cat confdefs.h >>conftest.$ac_ext
48137 cat >>conftest.$ac_ext <<_ACEOF
48138 /* end confdefs.h. */
48139
48140 #include <sys/time.h>
48141 #include <unistd.h>
48142
48143 int
48144 main ()
48145 {
48146
48147 struct timeval tv;
48148 gettimeofday(&tv, NULL);
48149
48150 ;
48151 return 0;
48152 }
48153 _ACEOF
48154 rm -f conftest.$ac_objext
48155 if { (ac_try="$ac_compile"
48156 case "(($ac_try" in
48157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48158 *) ac_try_echo=$ac_try;;
48159 esac
48160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48161 (eval "$ac_compile") 2>conftest.er1
48162 ac_status=$?
48163 grep -v '^ *+' conftest.er1 >conftest.err
48164 rm -f conftest.er1
48165 cat conftest.err >&5
48166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48167 (exit $ac_status); } && {
48168 test -z "$ac_c_werror_flag" ||
48169 test ! -s conftest.err
48170 } && test -s conftest.$ac_objext; then
48171 wx_cv_func_gettimeofday_has_2_args=yes
48172 else
48173 echo "$as_me: failed program was:" >&5
48174 sed 's/^/| /' conftest.$ac_ext >&5
48175
48176 cat >conftest.$ac_ext <<_ACEOF
48177 /* confdefs.h. */
48178 _ACEOF
48179 cat confdefs.h >>conftest.$ac_ext
48180 cat >>conftest.$ac_ext <<_ACEOF
48181 /* end confdefs.h. */
48182
48183 #include <sys/time.h>
48184 #include <unistd.h>
48185
48186 int
48187 main ()
48188 {
48189
48190 struct timeval tv;
48191 gettimeofday(&tv);
48192
48193 ;
48194 return 0;
48195 }
48196 _ACEOF
48197 rm -f conftest.$ac_objext
48198 if { (ac_try="$ac_compile"
48199 case "(($ac_try" in
48200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48201 *) ac_try_echo=$ac_try;;
48202 esac
48203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48204 (eval "$ac_compile") 2>conftest.er1
48205 ac_status=$?
48206 grep -v '^ *+' conftest.er1 >conftest.err
48207 rm -f conftest.er1
48208 cat conftest.err >&5
48209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48210 (exit $ac_status); } && {
48211 test -z "$ac_c_werror_flag" ||
48212 test ! -s conftest.err
48213 } && test -s conftest.$ac_objext; then
48214 wx_cv_func_gettimeofday_has_2_args=no
48215 else
48216 echo "$as_me: failed program was:" >&5
48217 sed 's/^/| /' conftest.$ac_ext >&5
48218
48219
48220 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48221 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48222 wx_cv_func_gettimeofday_has_2_args=unknown
48223
48224
48225 fi
48226
48227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48228
48229 fi
48230
48231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48232
48233 fi
48234 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48235 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48236
48237 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48238 cat >>confdefs.h <<\_ACEOF
48239 #define WX_GETTIMEOFDAY_NO_TZ 1
48240 _ACEOF
48241
48242 fi
48243 fi
48244
48245 if test "$wxUSE_DATETIME" = "yes"; then
48246 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48247 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48248 if test "${wx_cv_var_timezone+set}" = set; then
48249 echo $ECHO_N "(cached) $ECHO_C" >&6
48250 else
48251
48252 ac_ext=cpp
48253 ac_cpp='$CXXCPP $CPPFLAGS'
48254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48257
48258 cat >conftest.$ac_ext <<_ACEOF
48259 /* confdefs.h. */
48260 _ACEOF
48261 cat confdefs.h >>conftest.$ac_ext
48262 cat >>conftest.$ac_ext <<_ACEOF
48263 /* end confdefs.h. */
48264
48265 #include <time.h>
48266
48267 int
48268 main ()
48269 {
48270
48271 int tz;
48272 tz = timezone;
48273
48274 ;
48275 return 0;
48276 }
48277 _ACEOF
48278 rm -f conftest.$ac_objext
48279 if { (ac_try="$ac_compile"
48280 case "(($ac_try" in
48281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48282 *) ac_try_echo=$ac_try;;
48283 esac
48284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48285 (eval "$ac_compile") 2>conftest.er1
48286 ac_status=$?
48287 grep -v '^ *+' conftest.er1 >conftest.err
48288 rm -f conftest.er1
48289 cat conftest.err >&5
48290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48291 (exit $ac_status); } && {
48292 test -z "$ac_cxx_werror_flag" ||
48293 test ! -s conftest.err
48294 } && test -s conftest.$ac_objext; then
48295
48296 wx_cv_var_timezone=timezone
48297
48298 else
48299 echo "$as_me: failed program was:" >&5
48300 sed 's/^/| /' conftest.$ac_ext >&5
48301
48302
48303 cat >conftest.$ac_ext <<_ACEOF
48304 /* confdefs.h. */
48305 _ACEOF
48306 cat confdefs.h >>conftest.$ac_ext
48307 cat >>conftest.$ac_ext <<_ACEOF
48308 /* end confdefs.h. */
48309
48310 #include <time.h>
48311
48312 int
48313 main ()
48314 {
48315
48316 int tz;
48317 tz = _timezone;
48318
48319 ;
48320 return 0;
48321 }
48322 _ACEOF
48323 rm -f conftest.$ac_objext
48324 if { (ac_try="$ac_compile"
48325 case "(($ac_try" in
48326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48327 *) ac_try_echo=$ac_try;;
48328 esac
48329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48330 (eval "$ac_compile") 2>conftest.er1
48331 ac_status=$?
48332 grep -v '^ *+' conftest.er1 >conftest.err
48333 rm -f conftest.er1
48334 cat conftest.err >&5
48335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48336 (exit $ac_status); } && {
48337 test -z "$ac_cxx_werror_flag" ||
48338 test ! -s conftest.err
48339 } && test -s conftest.$ac_objext; then
48340
48341 wx_cv_var_timezone=_timezone
48342
48343 else
48344 echo "$as_me: failed program was:" >&5
48345 sed 's/^/| /' conftest.$ac_ext >&5
48346
48347
48348 cat >conftest.$ac_ext <<_ACEOF
48349 /* confdefs.h. */
48350 _ACEOF
48351 cat confdefs.h >>conftest.$ac_ext
48352 cat >>conftest.$ac_ext <<_ACEOF
48353 /* end confdefs.h. */
48354
48355 #include <time.h>
48356
48357 int
48358 main ()
48359 {
48360
48361 int tz;
48362 tz = __timezone;
48363
48364 ;
48365 return 0;
48366 }
48367 _ACEOF
48368 rm -f conftest.$ac_objext
48369 if { (ac_try="$ac_compile"
48370 case "(($ac_try" in
48371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48372 *) ac_try_echo=$ac_try;;
48373 esac
48374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48375 (eval "$ac_compile") 2>conftest.er1
48376 ac_status=$?
48377 grep -v '^ *+' conftest.er1 >conftest.err
48378 rm -f conftest.er1
48379 cat conftest.err >&5
48380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48381 (exit $ac_status); } && {
48382 test -z "$ac_cxx_werror_flag" ||
48383 test ! -s conftest.err
48384 } && test -s conftest.$ac_objext; then
48385
48386 wx_cv_var_timezone=__timezone
48387
48388 else
48389 echo "$as_me: failed program was:" >&5
48390 sed 's/^/| /' conftest.$ac_ext >&5
48391
48392
48393 if test "$USE_DOS" = 0 ; then
48394 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48395 echo "$as_me: WARNING: no timezone variable" >&2;}
48396 fi
48397
48398
48399 fi
48400
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402
48403
48404 fi
48405
48406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48407
48408
48409 fi
48410
48411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48412 ac_ext=c
48413 ac_cpp='$CPP $CPPFLAGS'
48414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48417
48418
48419
48420 fi
48421 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48422 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48423
48424 if test "x$wx_cv_var_timezone" != x ; then
48425 cat >>confdefs.h <<_ACEOF
48426 #define WX_TIMEZONE $wx_cv_var_timezone
48427 _ACEOF
48428
48429 fi
48430
48431
48432 for ac_func in localtime
48433 do
48434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48435 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48437 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48438 echo $ECHO_N "(cached) $ECHO_C" >&6
48439 else
48440 cat >conftest.$ac_ext <<_ACEOF
48441 /* confdefs.h. */
48442 _ACEOF
48443 cat confdefs.h >>conftest.$ac_ext
48444 cat >>conftest.$ac_ext <<_ACEOF
48445 /* end confdefs.h. */
48446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48448 #define $ac_func innocuous_$ac_func
48449
48450 /* System header to define __stub macros and hopefully few prototypes,
48451 which can conflict with char $ac_func (); below.
48452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48453 <limits.h> exists even on freestanding compilers. */
48454
48455 #ifdef __STDC__
48456 # include <limits.h>
48457 #else
48458 # include <assert.h>
48459 #endif
48460
48461 #undef $ac_func
48462
48463 /* Override any GCC internal prototype to avoid an error.
48464 Use char because int might match the return type of a GCC
48465 builtin and then its argument prototype would still apply. */
48466 #ifdef __cplusplus
48467 extern "C"
48468 #endif
48469 char $ac_func ();
48470 /* The GNU C library defines this for functions which it implements
48471 to always fail with ENOSYS. Some functions are actually named
48472 something starting with __ and the normal name is an alias. */
48473 #if defined __stub_$ac_func || defined __stub___$ac_func
48474 choke me
48475 #endif
48476
48477 int
48478 main ()
48479 {
48480 return $ac_func ();
48481 ;
48482 return 0;
48483 }
48484 _ACEOF
48485 rm -f conftest.$ac_objext conftest$ac_exeext
48486 if { (ac_try="$ac_link"
48487 case "(($ac_try" in
48488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48489 *) ac_try_echo=$ac_try;;
48490 esac
48491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48492 (eval "$ac_link") 2>conftest.er1
48493 ac_status=$?
48494 grep -v '^ *+' conftest.er1 >conftest.err
48495 rm -f conftest.er1
48496 cat conftest.err >&5
48497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48498 (exit $ac_status); } && {
48499 test -z "$ac_c_werror_flag" ||
48500 test ! -s conftest.err
48501 } && test -s conftest$ac_exeext &&
48502 $as_test_x conftest$ac_exeext; then
48503 eval "$as_ac_var=yes"
48504 else
48505 echo "$as_me: failed program was:" >&5
48506 sed 's/^/| /' conftest.$ac_ext >&5
48507
48508 eval "$as_ac_var=no"
48509 fi
48510
48511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48512 conftest$ac_exeext conftest.$ac_ext
48513 fi
48514 ac_res=`eval echo '${'$as_ac_var'}'`
48515 { echo "$as_me:$LINENO: result: $ac_res" >&5
48516 echo "${ECHO_T}$ac_res" >&6; }
48517 if test `eval echo '${'$as_ac_var'}'` = yes; then
48518 cat >>confdefs.h <<_ACEOF
48519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48520 _ACEOF
48521
48522 fi
48523 done
48524
48525
48526 if test "$ac_cv_func_localtime" = "yes"; then
48527 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48528 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48529 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48530 echo $ECHO_N "(cached) $ECHO_C" >&6
48531 else
48532
48533 cat >conftest.$ac_ext <<_ACEOF
48534 /* confdefs.h. */
48535 _ACEOF
48536 cat confdefs.h >>conftest.$ac_ext
48537 cat >>conftest.$ac_ext <<_ACEOF
48538 /* end confdefs.h. */
48539
48540 #include <time.h>
48541
48542 int
48543 main ()
48544 {
48545
48546 struct tm tm;
48547 tm.tm_gmtoff++;
48548
48549 ;
48550 return 0;
48551 }
48552 _ACEOF
48553 rm -f conftest.$ac_objext
48554 if { (ac_try="$ac_compile"
48555 case "(($ac_try" in
48556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48557 *) ac_try_echo=$ac_try;;
48558 esac
48559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48560 (eval "$ac_compile") 2>conftest.er1
48561 ac_status=$?
48562 grep -v '^ *+' conftest.er1 >conftest.err
48563 rm -f conftest.er1
48564 cat conftest.err >&5
48565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48566 (exit $ac_status); } && {
48567 test -z "$ac_c_werror_flag" ||
48568 test ! -s conftest.err
48569 } && test -s conftest.$ac_objext; then
48570
48571 wx_cv_struct_tm_has_gmtoff=yes
48572
48573 else
48574 echo "$as_me: failed program was:" >&5
48575 sed 's/^/| /' conftest.$ac_ext >&5
48576
48577 wx_cv_struct_tm_has_gmtoff=no
48578
48579 fi
48580
48581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48582
48583 fi
48584 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48585 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48586 fi
48587
48588 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48589 cat >>confdefs.h <<\_ACEOF
48590 #define WX_GMTOFF_IN_TM 1
48591 _ACEOF
48592
48593 fi
48594
48595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48596 fi
48597
48598
48599 if test "$wxUSE_SOCKETS" = "yes"; then
48600 if test "$wxUSE_MGL" = 1; then
48601 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
48602 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
48603 wxUSE_SOCKETS="no"
48604 fi
48605 fi
48606
48607 if test "$wxUSE_SOCKETS" = "yes"; then
48608 if test "$TOOLKIT" != "MSW"; then
48609 { echo "$as_me:$LINENO: checking for socket" >&5
48610 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48611 if test "${ac_cv_func_socket+set}" = set; then
48612 echo $ECHO_N "(cached) $ECHO_C" >&6
48613 else
48614 cat >conftest.$ac_ext <<_ACEOF
48615 /* confdefs.h. */
48616 _ACEOF
48617 cat confdefs.h >>conftest.$ac_ext
48618 cat >>conftest.$ac_ext <<_ACEOF
48619 /* end confdefs.h. */
48620 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48622 #define socket innocuous_socket
48623
48624 /* System header to define __stub macros and hopefully few prototypes,
48625 which can conflict with char socket (); below.
48626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48627 <limits.h> exists even on freestanding compilers. */
48628
48629 #ifdef __STDC__
48630 # include <limits.h>
48631 #else
48632 # include <assert.h>
48633 #endif
48634
48635 #undef socket
48636
48637 /* Override any GCC internal prototype to avoid an error.
48638 Use char because int might match the return type of a GCC
48639 builtin and then its argument prototype would still apply. */
48640 #ifdef __cplusplus
48641 extern "C"
48642 #endif
48643 char socket ();
48644 /* The GNU C library defines this for functions which it implements
48645 to always fail with ENOSYS. Some functions are actually named
48646 something starting with __ and the normal name is an alias. */
48647 #if defined __stub_socket || defined __stub___socket
48648 choke me
48649 #endif
48650
48651 int
48652 main ()
48653 {
48654 return socket ();
48655 ;
48656 return 0;
48657 }
48658 _ACEOF
48659 rm -f conftest.$ac_objext conftest$ac_exeext
48660 if { (ac_try="$ac_link"
48661 case "(($ac_try" in
48662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48663 *) ac_try_echo=$ac_try;;
48664 esac
48665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48666 (eval "$ac_link") 2>conftest.er1
48667 ac_status=$?
48668 grep -v '^ *+' conftest.er1 >conftest.err
48669 rm -f conftest.er1
48670 cat conftest.err >&5
48671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48672 (exit $ac_status); } && {
48673 test -z "$ac_c_werror_flag" ||
48674 test ! -s conftest.err
48675 } && test -s conftest$ac_exeext &&
48676 $as_test_x conftest$ac_exeext; then
48677 ac_cv_func_socket=yes
48678 else
48679 echo "$as_me: failed program was:" >&5
48680 sed 's/^/| /' conftest.$ac_ext >&5
48681
48682 ac_cv_func_socket=no
48683 fi
48684
48685 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48686 conftest$ac_exeext conftest.$ac_ext
48687 fi
48688 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48689 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48690 if test $ac_cv_func_socket = yes; then
48691 :
48692 else
48693
48694 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48695 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48696 if test "${ac_cv_lib_socket_socket+set}" = set; then
48697 echo $ECHO_N "(cached) $ECHO_C" >&6
48698 else
48699 ac_check_lib_save_LIBS=$LIBS
48700 LIBS="-lsocket $LIBS"
48701 cat >conftest.$ac_ext <<_ACEOF
48702 /* confdefs.h. */
48703 _ACEOF
48704 cat confdefs.h >>conftest.$ac_ext
48705 cat >>conftest.$ac_ext <<_ACEOF
48706 /* end confdefs.h. */
48707
48708 /* Override any GCC internal prototype to avoid an error.
48709 Use char because int might match the return type of a GCC
48710 builtin and then its argument prototype would still apply. */
48711 #ifdef __cplusplus
48712 extern "C"
48713 #endif
48714 char socket ();
48715 int
48716 main ()
48717 {
48718 return socket ();
48719 ;
48720 return 0;
48721 }
48722 _ACEOF
48723 rm -f conftest.$ac_objext conftest$ac_exeext
48724 if { (ac_try="$ac_link"
48725 case "(($ac_try" in
48726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48727 *) ac_try_echo=$ac_try;;
48728 esac
48729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48730 (eval "$ac_link") 2>conftest.er1
48731 ac_status=$?
48732 grep -v '^ *+' conftest.er1 >conftest.err
48733 rm -f conftest.er1
48734 cat conftest.err >&5
48735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48736 (exit $ac_status); } && {
48737 test -z "$ac_c_werror_flag" ||
48738 test ! -s conftest.err
48739 } && test -s conftest$ac_exeext &&
48740 $as_test_x conftest$ac_exeext; then
48741 ac_cv_lib_socket_socket=yes
48742 else
48743 echo "$as_me: failed program was:" >&5
48744 sed 's/^/| /' conftest.$ac_ext >&5
48745
48746 ac_cv_lib_socket_socket=no
48747 fi
48748
48749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48750 conftest$ac_exeext conftest.$ac_ext
48751 LIBS=$ac_check_lib_save_LIBS
48752 fi
48753 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48754 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48755 if test $ac_cv_lib_socket_socket = yes; then
48756 if test "$INET_LINK" != " -lsocket"; then
48757 INET_LINK="$INET_LINK -lsocket"
48758 fi
48759 else
48760
48761 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48762 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48763 wxUSE_SOCKETS=no
48764
48765
48766 fi
48767
48768
48769
48770 fi
48771
48772 fi
48773 fi
48774
48775 if test "$wxUSE_SOCKETS" = "yes" ; then
48776 if test "$TOOLKIT" != "MSW"; then
48777 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48778 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48779 if test "${wx_cv_type_getsockname3+set}" = set; then
48780 echo $ECHO_N "(cached) $ECHO_C" >&6
48781 else
48782
48783 ac_ext=cpp
48784 ac_cpp='$CXXCPP $CPPFLAGS'
48785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48788
48789 cat >conftest.$ac_ext <<_ACEOF
48790 /* confdefs.h. */
48791 _ACEOF
48792 cat confdefs.h >>conftest.$ac_ext
48793 cat >>conftest.$ac_ext <<_ACEOF
48794 /* end confdefs.h. */
48795
48796 #include <sys/types.h>
48797 #include <sys/socket.h>
48798
48799 int
48800 main ()
48801 {
48802
48803 socklen_t len;
48804 getsockname(0, 0, &len);
48805
48806 ;
48807 return 0;
48808 }
48809 _ACEOF
48810 rm -f conftest.$ac_objext
48811 if { (ac_try="$ac_compile"
48812 case "(($ac_try" in
48813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48814 *) ac_try_echo=$ac_try;;
48815 esac
48816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48817 (eval "$ac_compile") 2>conftest.er1
48818 ac_status=$?
48819 grep -v '^ *+' conftest.er1 >conftest.err
48820 rm -f conftest.er1
48821 cat conftest.err >&5
48822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48823 (exit $ac_status); } && {
48824 test -z "$ac_cxx_werror_flag" ||
48825 test ! -s conftest.err
48826 } && test -s conftest.$ac_objext; then
48827 wx_cv_type_getsockname3=socklen_t
48828 else
48829 echo "$as_me: failed program was:" >&5
48830 sed 's/^/| /' conftest.$ac_ext >&5
48831
48832
48833 CFLAGS_OLD="$CFLAGS"
48834 if test "$GCC" = yes ; then
48835 CFLAGS="-Werror $CFLAGS"
48836 fi
48837
48838 cat >conftest.$ac_ext <<_ACEOF
48839 /* confdefs.h. */
48840 _ACEOF
48841 cat confdefs.h >>conftest.$ac_ext
48842 cat >>conftest.$ac_ext <<_ACEOF
48843 /* end confdefs.h. */
48844
48845 #include <sys/types.h>
48846 #include <sys/socket.h>
48847
48848 int
48849 main ()
48850 {
48851
48852 size_t len;
48853 getsockname(0, 0, &len);
48854
48855 ;
48856 return 0;
48857 }
48858 _ACEOF
48859 rm -f conftest.$ac_objext
48860 if { (ac_try="$ac_compile"
48861 case "(($ac_try" in
48862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48863 *) ac_try_echo=$ac_try;;
48864 esac
48865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48866 (eval "$ac_compile") 2>conftest.er1
48867 ac_status=$?
48868 grep -v '^ *+' conftest.er1 >conftest.err
48869 rm -f conftest.er1
48870 cat conftest.err >&5
48871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872 (exit $ac_status); } && {
48873 test -z "$ac_cxx_werror_flag" ||
48874 test ! -s conftest.err
48875 } && test -s conftest.$ac_objext; then
48876 wx_cv_type_getsockname3=size_t
48877 else
48878 echo "$as_me: failed program was:" >&5
48879 sed 's/^/| /' conftest.$ac_ext >&5
48880
48881 cat >conftest.$ac_ext <<_ACEOF
48882 /* confdefs.h. */
48883 _ACEOF
48884 cat confdefs.h >>conftest.$ac_ext
48885 cat >>conftest.$ac_ext <<_ACEOF
48886 /* end confdefs.h. */
48887
48888 #include <sys/types.h>
48889 #include <sys/socket.h>
48890
48891 int
48892 main ()
48893 {
48894
48895 int len;
48896 getsockname(0, 0, &len);
48897
48898 ;
48899 return 0;
48900 }
48901 _ACEOF
48902 rm -f conftest.$ac_objext
48903 if { (ac_try="$ac_compile"
48904 case "(($ac_try" in
48905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48906 *) ac_try_echo=$ac_try;;
48907 esac
48908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48909 (eval "$ac_compile") 2>conftest.er1
48910 ac_status=$?
48911 grep -v '^ *+' conftest.er1 >conftest.err
48912 rm -f conftest.er1
48913 cat conftest.err >&5
48914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48915 (exit $ac_status); } && {
48916 test -z "$ac_cxx_werror_flag" ||
48917 test ! -s conftest.err
48918 } && test -s conftest.$ac_objext; then
48919 wx_cv_type_getsockname3=int
48920 else
48921 echo "$as_me: failed program was:" >&5
48922 sed 's/^/| /' conftest.$ac_ext >&5
48923
48924 wx_cv_type_getsockname3=unknown
48925
48926 fi
48927
48928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48929
48930 fi
48931
48932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48933
48934 CFLAGS="$CFLAGS_OLD"
48935
48936
48937 fi
48938
48939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48940 ac_ext=c
48941 ac_cpp='$CPP $CPPFLAGS'
48942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48945
48946
48947 fi
48948 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48949 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48950
48951 if test "$wx_cv_type_getsockname3" = "unknown"; then
48952 wxUSE_SOCKETS=no
48953 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48954 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48955 else
48956 cat >>confdefs.h <<_ACEOF
48957 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48958 _ACEOF
48959
48960 fi
48961 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48962 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48963 if test "${wx_cv_type_getsockopt5+set}" = set; then
48964 echo $ECHO_N "(cached) $ECHO_C" >&6
48965 else
48966
48967 ac_ext=cpp
48968 ac_cpp='$CXXCPP $CPPFLAGS'
48969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48972
48973 cat >conftest.$ac_ext <<_ACEOF
48974 /* confdefs.h. */
48975 _ACEOF
48976 cat confdefs.h >>conftest.$ac_ext
48977 cat >>conftest.$ac_ext <<_ACEOF
48978 /* end confdefs.h. */
48979
48980 #include <sys/types.h>
48981 #include <sys/socket.h>
48982
48983 int
48984 main ()
48985 {
48986
48987 socklen_t len;
48988 getsockopt(0, 0, 0, 0, &len);
48989
48990 ;
48991 return 0;
48992 }
48993 _ACEOF
48994 rm -f conftest.$ac_objext
48995 if { (ac_try="$ac_compile"
48996 case "(($ac_try" in
48997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48998 *) ac_try_echo=$ac_try;;
48999 esac
49000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49001 (eval "$ac_compile") 2>conftest.er1
49002 ac_status=$?
49003 grep -v '^ *+' conftest.er1 >conftest.err
49004 rm -f conftest.er1
49005 cat conftest.err >&5
49006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49007 (exit $ac_status); } && {
49008 test -z "$ac_cxx_werror_flag" ||
49009 test ! -s conftest.err
49010 } && test -s conftest.$ac_objext; then
49011 wx_cv_type_getsockopt5=socklen_t
49012 else
49013 echo "$as_me: failed program was:" >&5
49014 sed 's/^/| /' conftest.$ac_ext >&5
49015
49016
49017 cat >conftest.$ac_ext <<_ACEOF
49018 /* confdefs.h. */
49019 _ACEOF
49020 cat confdefs.h >>conftest.$ac_ext
49021 cat >>conftest.$ac_ext <<_ACEOF
49022 /* end confdefs.h. */
49023
49024 #include <sys/types.h>
49025 #include <sys/socket.h>
49026
49027 int
49028 main ()
49029 {
49030
49031 size_t len;
49032 getsockopt(0, 0, 0, 0, &len);
49033
49034 ;
49035 return 0;
49036 }
49037 _ACEOF
49038 rm -f conftest.$ac_objext
49039 if { (ac_try="$ac_compile"
49040 case "(($ac_try" in
49041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49042 *) ac_try_echo=$ac_try;;
49043 esac
49044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49045 (eval "$ac_compile") 2>conftest.er1
49046 ac_status=$?
49047 grep -v '^ *+' conftest.er1 >conftest.err
49048 rm -f conftest.er1
49049 cat conftest.err >&5
49050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49051 (exit $ac_status); } && {
49052 test -z "$ac_cxx_werror_flag" ||
49053 test ! -s conftest.err
49054 } && test -s conftest.$ac_objext; then
49055 wx_cv_type_getsockopt5=size_t
49056 else
49057 echo "$as_me: failed program was:" >&5
49058 sed 's/^/| /' conftest.$ac_ext >&5
49059
49060 cat >conftest.$ac_ext <<_ACEOF
49061 /* confdefs.h. */
49062 _ACEOF
49063 cat confdefs.h >>conftest.$ac_ext
49064 cat >>conftest.$ac_ext <<_ACEOF
49065 /* end confdefs.h. */
49066
49067 #include <sys/types.h>
49068 #include <sys/socket.h>
49069
49070 int
49071 main ()
49072 {
49073
49074 int len;
49075 getsockopt(0, 0, 0, 0, &len);
49076
49077 ;
49078 return 0;
49079 }
49080 _ACEOF
49081 rm -f conftest.$ac_objext
49082 if { (ac_try="$ac_compile"
49083 case "(($ac_try" in
49084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49085 *) ac_try_echo=$ac_try;;
49086 esac
49087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49088 (eval "$ac_compile") 2>conftest.er1
49089 ac_status=$?
49090 grep -v '^ *+' conftest.er1 >conftest.err
49091 rm -f conftest.er1
49092 cat conftest.err >&5
49093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49094 (exit $ac_status); } && {
49095 test -z "$ac_cxx_werror_flag" ||
49096 test ! -s conftest.err
49097 } && test -s conftest.$ac_objext; then
49098 wx_cv_type_getsockopt5=int
49099 else
49100 echo "$as_me: failed program was:" >&5
49101 sed 's/^/| /' conftest.$ac_ext >&5
49102
49103 wx_cv_type_getsockopt5=unknown
49104
49105 fi
49106
49107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49108
49109 fi
49110
49111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49112
49113
49114 fi
49115
49116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49117 ac_ext=c
49118 ac_cpp='$CPP $CPPFLAGS'
49119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49122
49123
49124 fi
49125 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
49126 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
49127
49128 if test "$wx_cv_type_getsockopt5" = "unknown"; then
49129 wxUSE_SOCKETS=no
49130 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
49131 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
49132 else
49133 cat >>confdefs.h <<_ACEOF
49134 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
49135 _ACEOF
49136
49137 fi
49138 fi
49139 fi
49140
49141 if test "$wxUSE_SOCKETS" = "yes" ; then
49142 if test "$wxUSE_IPV6" = "yes"; then
49143 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
49144 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
49145 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
49146 echo $ECHO_N "(cached) $ECHO_C" >&6
49147 else
49148
49149 cat >conftest.$ac_ext <<_ACEOF
49150 /* confdefs.h. */
49151 _ACEOF
49152 cat confdefs.h >>conftest.$ac_ext
49153 cat >>conftest.$ac_ext <<_ACEOF
49154 /* end confdefs.h. */
49155
49156 #include <sys/types.h>
49157 #include <sys/socket.h>
49158 #include <netinet/in.h>
49159
49160 int
49161 main ()
49162 {
49163
49164 struct sockaddr_in6 sa6;
49165
49166 ;
49167 return 0;
49168 }
49169 _ACEOF
49170 rm -f conftest.$ac_objext
49171 if { (ac_try="$ac_compile"
49172 case "(($ac_try" in
49173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49174 *) ac_try_echo=$ac_try;;
49175 esac
49176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49177 (eval "$ac_compile") 2>conftest.er1
49178 ac_status=$?
49179 grep -v '^ *+' conftest.er1 >conftest.err
49180 rm -f conftest.er1
49181 cat conftest.err >&5
49182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49183 (exit $ac_status); } && {
49184 test -z "$ac_c_werror_flag" ||
49185 test ! -s conftest.err
49186 } && test -s conftest.$ac_objext; then
49187 wx_cv_type_sockaddr_in6=yes
49188 else
49189 echo "$as_me: failed program was:" >&5
49190 sed 's/^/| /' conftest.$ac_ext >&5
49191
49192 wx_cv_type_sockaddr_in6=no
49193
49194 fi
49195
49196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49197
49198
49199 fi
49200 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
49201 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
49202
49203 if test "$wx_cv_type_sockaddr_in6"="yes"; then
49204 cat >>confdefs.h <<\_ACEOF
49205 #define wxUSE_IPV6 1
49206 _ACEOF
49207
49208 else
49209 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
49210 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
49211 fi
49212 fi
49213
49214 cat >>confdefs.h <<\_ACEOF
49215 #define wxUSE_SOCKETS 1
49216 _ACEOF
49217
49218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
49219 fi
49220
49221 if test "$wxUSE_PROTOCOL" = "yes"; then
49222 if test "$wxUSE_SOCKETS" != "yes"; then
49223 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
49224 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49225 wxUSE_PROTOCOL=no
49226 fi
49227 fi
49228
49229 if test "$wxUSE_PROTOCOL" = "yes"; then
49230 cat >>confdefs.h <<\_ACEOF
49231 #define wxUSE_PROTOCOL 1
49232 _ACEOF
49233
49234
49235 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49236 cat >>confdefs.h <<\_ACEOF
49237 #define wxUSE_PROTOCOL_HTTP 1
49238 _ACEOF
49239
49240 fi
49241 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49242 cat >>confdefs.h <<\_ACEOF
49243 #define wxUSE_PROTOCOL_FTP 1
49244 _ACEOF
49245
49246 fi
49247 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49248 cat >>confdefs.h <<\_ACEOF
49249 #define wxUSE_PROTOCOL_FILE 1
49250 _ACEOF
49251
49252 fi
49253 else
49254 if test "$wxUSE_FS_INET" = "yes"; then
49255 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49256 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49257 wxUSE_FS_INET="no"
49258 fi
49259 fi
49260
49261 if test "$wxUSE_URL" = "yes"; then
49262 if test "$wxUSE_PROTOCOL" != "yes"; then
49263 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49264 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49265 wxUSE_URL=no
49266 fi
49267 if test "$wxUSE_URL" = "yes"; then
49268 cat >>confdefs.h <<\_ACEOF
49269 #define wxUSE_URL 1
49270 _ACEOF
49271
49272 fi
49273 fi
49274
49275 if test "$wxUSE_VARIANT" = "yes"; then
49276 cat >>confdefs.h <<\_ACEOF
49277 #define wxUSE_VARIANT 1
49278 _ACEOF
49279
49280 fi
49281
49282 if test "$wxUSE_FS_INET" = "yes"; then
49283 cat >>confdefs.h <<\_ACEOF
49284 #define wxUSE_FS_INET 1
49285 _ACEOF
49286
49287 fi
49288
49289
49290 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49291 wxUSE_JOYSTICK=no
49292
49293 if test "$TOOLKIT" = "MSW"; then
49294 wxUSE_JOYSTICK=yes
49295
49296 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49297 if test "$USE_DARWIN" = 1; then
49298 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49299 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49300 ac_ext=cpp
49301 ac_cpp='$CXXCPP $CPPFLAGS'
49302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49305
49306 cat >conftest.$ac_ext <<_ACEOF
49307 /* confdefs.h. */
49308 _ACEOF
49309 cat confdefs.h >>conftest.$ac_ext
49310 cat >>conftest.$ac_ext <<_ACEOF
49311 /* end confdefs.h. */
49312 #include <IOKit/hid/IOHIDLib.h>
49313 int
49314 main ()
49315 {
49316 IOHIDQueueInterface *qi = NULL;
49317 IOHIDCallbackFunction cb = NULL;
49318 qi->setEventCallout(NULL, cb, NULL, NULL);
49319 ;
49320 return 0;
49321 }
49322 _ACEOF
49323 rm -f conftest.$ac_objext
49324 if { (ac_try="$ac_compile"
49325 case "(($ac_try" in
49326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49327 *) ac_try_echo=$ac_try;;
49328 esac
49329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49330 (eval "$ac_compile") 2>conftest.er1
49331 ac_status=$?
49332 grep -v '^ *+' conftest.er1 >conftest.err
49333 rm -f conftest.er1
49334 cat conftest.err >&5
49335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49336 (exit $ac_status); } && {
49337 test -z "$ac_cxx_werror_flag" ||
49338 test ! -s conftest.err
49339 } && test -s conftest.$ac_objext; then
49340 wxUSE_JOYSTICK=yes
49341
49342 else
49343 echo "$as_me: failed program was:" >&5
49344 sed 's/^/| /' conftest.$ac_ext >&5
49345
49346
49347 fi
49348
49349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49350 ac_ext=c
49351 ac_cpp='$CPP $CPPFLAGS'
49352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49355
49356 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49357 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49358 fi
49359
49360 else
49361 if test "$wxUSE_MGL" != 1; then
49362
49363 for ac_header in linux/joystick.h
49364 do
49365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49366 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49368 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49369 echo $ECHO_N "(cached) $ECHO_C" >&6
49370 else
49371 cat >conftest.$ac_ext <<_ACEOF
49372 /* confdefs.h. */
49373 _ACEOF
49374 cat confdefs.h >>conftest.$ac_ext
49375 cat >>conftest.$ac_ext <<_ACEOF
49376 /* end confdefs.h. */
49377 $ac_includes_default
49378
49379 #include <$ac_header>
49380 _ACEOF
49381 rm -f conftest.$ac_objext
49382 if { (ac_try="$ac_compile"
49383 case "(($ac_try" in
49384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49385 *) ac_try_echo=$ac_try;;
49386 esac
49387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49388 (eval "$ac_compile") 2>conftest.er1
49389 ac_status=$?
49390 grep -v '^ *+' conftest.er1 >conftest.err
49391 rm -f conftest.er1
49392 cat conftest.err >&5
49393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49394 (exit $ac_status); } && {
49395 test -z "$ac_c_werror_flag" ||
49396 test ! -s conftest.err
49397 } && test -s conftest.$ac_objext; then
49398 eval "$as_ac_Header=yes"
49399 else
49400 echo "$as_me: failed program was:" >&5
49401 sed 's/^/| /' conftest.$ac_ext >&5
49402
49403 eval "$as_ac_Header=no"
49404 fi
49405
49406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49407 fi
49408 ac_res=`eval echo '${'$as_ac_Header'}'`
49409 { echo "$as_me:$LINENO: result: $ac_res" >&5
49410 echo "${ECHO_T}$ac_res" >&6; }
49411 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49412 cat >>confdefs.h <<_ACEOF
49413 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49414 _ACEOF
49415 wxUSE_JOYSTICK=yes
49416 fi
49417
49418 done
49419
49420 fi
49421 fi
49422
49423 if test "$wxUSE_JOYSTICK" = "yes"; then
49424 cat >>confdefs.h <<\_ACEOF
49425 #define wxUSE_JOYSTICK 1
49426 _ACEOF
49427
49428 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49429 else
49430 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49431 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49432 fi
49433 fi
49434
49435
49436
49437 if test "$wxUSE_FONTENUM" = "yes" ; then
49438 cat >>confdefs.h <<\_ACEOF
49439 #define wxUSE_FONTENUM 1
49440 _ACEOF
49441
49442 fi
49443
49444 if test "$wxUSE_FONTMAP" = "yes" ; then
49445 cat >>confdefs.h <<\_ACEOF
49446 #define wxUSE_FONTMAP 1
49447 _ACEOF
49448
49449 fi
49450
49451 if test "$wxUSE_UNICODE" = "yes" ; then
49452 cat >>confdefs.h <<\_ACEOF
49453 #define wxUSE_UNICODE 1
49454 _ACEOF
49455
49456
49457 if test "$USE_WIN32" != 1; then
49458 wxUSE_UNICODE_MSLU=no
49459 fi
49460
49461 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49462 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49463 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49464 if test "${ac_cv_lib_unicows_main+set}" = set; then
49465 echo $ECHO_N "(cached) $ECHO_C" >&6
49466 else
49467 ac_check_lib_save_LIBS=$LIBS
49468 LIBS="-lunicows $LIBS"
49469 cat >conftest.$ac_ext <<_ACEOF
49470 /* confdefs.h. */
49471 _ACEOF
49472 cat confdefs.h >>conftest.$ac_ext
49473 cat >>conftest.$ac_ext <<_ACEOF
49474 /* end confdefs.h. */
49475
49476
49477 int
49478 main ()
49479 {
49480 return main ();
49481 ;
49482 return 0;
49483 }
49484 _ACEOF
49485 rm -f conftest.$ac_objext conftest$ac_exeext
49486 if { (ac_try="$ac_link"
49487 case "(($ac_try" in
49488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49489 *) ac_try_echo=$ac_try;;
49490 esac
49491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49492 (eval "$ac_link") 2>conftest.er1
49493 ac_status=$?
49494 grep -v '^ *+' conftest.er1 >conftest.err
49495 rm -f conftest.er1
49496 cat conftest.err >&5
49497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49498 (exit $ac_status); } && {
49499 test -z "$ac_c_werror_flag" ||
49500 test ! -s conftest.err
49501 } && test -s conftest$ac_exeext &&
49502 $as_test_x conftest$ac_exeext; then
49503 ac_cv_lib_unicows_main=yes
49504 else
49505 echo "$as_me: failed program was:" >&5
49506 sed 's/^/| /' conftest.$ac_ext >&5
49507
49508 ac_cv_lib_unicows_main=no
49509 fi
49510
49511 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49512 conftest$ac_exeext conftest.$ac_ext
49513 LIBS=$ac_check_lib_save_LIBS
49514 fi
49515 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49516 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49517 if test $ac_cv_lib_unicows_main = yes; then
49518
49519 cat >>confdefs.h <<\_ACEOF
49520 #define wxUSE_UNICODE_MSLU 1
49521 _ACEOF
49522
49523
49524 else
49525
49526 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49527 Applications will only run on Windows NT/2000/XP!" >&5
49528 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49529 Applications will only run on Windows NT/2000/XP!" >&2;}
49530 wxUSE_UNICODE_MSLU=no
49531
49532 fi
49533
49534 fi
49535 fi
49536
49537 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49538 cat >>confdefs.h <<\_ACEOF
49539 #define wxUSE_UNICODE_UTF8 1
49540 _ACEOF
49541
49542
49543 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49544 cat >>confdefs.h <<\_ACEOF
49545 #define wxUSE_UTF8_LOCALE_ONLY 1
49546 _ACEOF
49547
49548 fi
49549 fi
49550
49551
49552 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49553 cat >>confdefs.h <<\_ACEOF
49554 #define wxUSE_CONSTRAINTS 1
49555 _ACEOF
49556
49557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49558 fi
49559
49560 if test "$wxUSE_MDI" = "yes"; then
49561 cat >>confdefs.h <<\_ACEOF
49562 #define wxUSE_MDI 1
49563 _ACEOF
49564
49565
49566 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49567 cat >>confdefs.h <<\_ACEOF
49568 #define wxUSE_MDI_ARCHITECTURE 1
49569 _ACEOF
49570
49571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49572 fi
49573 fi
49574
49575 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49576 cat >>confdefs.h <<\_ACEOF
49577 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49578 _ACEOF
49579
49580 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49581 fi
49582
49583 if test "$wxUSE_HELP" = "yes"; then
49584 cat >>confdefs.h <<\_ACEOF
49585 #define wxUSE_HELP 1
49586 _ACEOF
49587
49588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49589
49590 if test "$wxUSE_MSW" = 1; then
49591 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49592 cat >>confdefs.h <<\_ACEOF
49593 #define wxUSE_MS_HTML_HELP 1
49594 _ACEOF
49595
49596 fi
49597 fi
49598
49599 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49600 if test "$wxUSE_HTML" = "yes"; then
49601 cat >>confdefs.h <<\_ACEOF
49602 #define wxUSE_WXHTML_HELP 1
49603 _ACEOF
49604
49605 else
49606 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49607 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49608 wxUSE_WXHTML_HELP=no
49609 fi
49610 fi
49611 fi
49612
49613 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49614 cat >>confdefs.h <<\_ACEOF
49615 #define wxUSE_PRINTING_ARCHITECTURE 1
49616 _ACEOF
49617
49618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49619 fi
49620
49621 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49622 cat >>confdefs.h <<\_ACEOF
49623 #define wxUSE_POSTSCRIPT 1
49624 _ACEOF
49625
49626 fi
49627
49628 cat >>confdefs.h <<\_ACEOF
49629 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49630 _ACEOF
49631
49632
49633 if test "$wxUSE_SVG" = "yes"; then
49634 cat >>confdefs.h <<\_ACEOF
49635 #define wxUSE_SVG 1
49636 _ACEOF
49637
49638 fi
49639
49640
49641 if test "$wxUSE_METAFILE" = "yes"; then
49642 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49643 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49644 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49645 wxUSE_METAFILE=no
49646 fi
49647 elif test "$wxUSE_METAFILE" = "auto"; then
49648 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49649 wxUSE_METAFILE=yes
49650 fi
49651 fi
49652
49653 if test "$wxUSE_METAFILE" = "yes"; then
49654 cat >>confdefs.h <<\_ACEOF
49655 #define wxUSE_METAFILE 1
49656 _ACEOF
49657
49658 if test "$wxUSE_MSW" = 1; then
49659 cat >>confdefs.h <<\_ACEOF
49660 #define wxUSE_ENH_METAFILE 1
49661 _ACEOF
49662
49663 fi
49664 fi
49665
49666
49667 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49668 -o "$wxUSE_CLIPBOARD" = "yes" \
49669 -o "$wxUSE_OLE" = "yes" \
49670 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49671 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49672 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49673 if test "${ac_cv_header_ole2_h+set}" = set; then
49674 echo $ECHO_N "(cached) $ECHO_C" >&6
49675 else
49676 cat >conftest.$ac_ext <<_ACEOF
49677 /* confdefs.h. */
49678 _ACEOF
49679 cat confdefs.h >>conftest.$ac_ext
49680 cat >>conftest.$ac_ext <<_ACEOF
49681 /* end confdefs.h. */
49682
49683
49684 #include <ole2.h>
49685 _ACEOF
49686 rm -f conftest.$ac_objext
49687 if { (ac_try="$ac_compile"
49688 case "(($ac_try" in
49689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49690 *) ac_try_echo=$ac_try;;
49691 esac
49692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49693 (eval "$ac_compile") 2>conftest.er1
49694 ac_status=$?
49695 grep -v '^ *+' conftest.er1 >conftest.err
49696 rm -f conftest.er1
49697 cat conftest.err >&5
49698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49699 (exit $ac_status); } && {
49700 test -z "$ac_c_werror_flag" ||
49701 test ! -s conftest.err
49702 } && test -s conftest.$ac_objext; then
49703 ac_cv_header_ole2_h=yes
49704 else
49705 echo "$as_me: failed program was:" >&5
49706 sed 's/^/| /' conftest.$ac_ext >&5
49707
49708 ac_cv_header_ole2_h=no
49709 fi
49710
49711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49712 fi
49713 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49714 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49715
49716
49717
49718 if test "$ac_cv_header_ole2_h" = "yes" ; then
49719 if test "$GCC" = yes ; then
49720 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49721 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49722 cat >conftest.$ac_ext <<_ACEOF
49723 /* confdefs.h. */
49724 _ACEOF
49725 cat confdefs.h >>conftest.$ac_ext
49726 cat >>conftest.$ac_ext <<_ACEOF
49727 /* end confdefs.h. */
49728 #include <windows.h>
49729 #include <ole2.h>
49730 int
49731 main ()
49732 {
49733
49734 ;
49735 return 0;
49736 }
49737 _ACEOF
49738 rm -f conftest.$ac_objext
49739 if { (ac_try="$ac_compile"
49740 case "(($ac_try" in
49741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49742 *) ac_try_echo=$ac_try;;
49743 esac
49744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49745 (eval "$ac_compile") 2>conftest.er1
49746 ac_status=$?
49747 grep -v '^ *+' conftest.er1 >conftest.err
49748 rm -f conftest.er1
49749 cat conftest.err >&5
49750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49751 (exit $ac_status); } && {
49752 test -z "$ac_c_werror_flag" ||
49753 test ! -s conftest.err
49754 } && test -s conftest.$ac_objext; then
49755 { echo "$as_me:$LINENO: result: no" >&5
49756 echo "${ECHO_T}no" >&6; }
49757 else
49758 echo "$as_me: failed program was:" >&5
49759 sed 's/^/| /' conftest.$ac_ext >&5
49760
49761 { echo "$as_me:$LINENO: result: yes" >&5
49762 echo "${ECHO_T}yes" >&6; }
49763 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49764 fi
49765
49766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49767 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49768 if test "$wxUSE_OLE" = "yes" ; then
49769 cat >>confdefs.h <<\_ACEOF
49770 #define wxUSE_OLE 1
49771 _ACEOF
49772
49773 cat >>confdefs.h <<\_ACEOF
49774 #define wxUSE_OLE_AUTOMATION 1
49775 _ACEOF
49776
49777 cat >>confdefs.h <<\_ACEOF
49778 #define wxUSE_ACTIVEX 1
49779 _ACEOF
49780
49781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49782 fi
49783 fi
49784
49785 if test "$wxUSE_DATAOBJ" = "yes" ; then
49786 cat >>confdefs.h <<\_ACEOF
49787 #define wxUSE_DATAOBJ 1
49788 _ACEOF
49789
49790 fi
49791 else
49792 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49793 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49794
49795 wxUSE_CLIPBOARD=no
49796 wxUSE_DRAG_AND_DROP=no
49797 wxUSE_DATAOBJ=no
49798 wxUSE_OLE=no
49799 fi
49800 fi
49801
49802 if test "$wxUSE_IPC" = "yes"; then
49803 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49804 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49805 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49806 wxUSE_IPC=no
49807 fi
49808
49809 if test "$wxUSE_IPC" = "yes"; then
49810 cat >>confdefs.h <<\_ACEOF
49811 #define wxUSE_IPC 1
49812 _ACEOF
49813
49814 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49815 fi
49816 fi
49817
49818 if test "$wxUSE_DATAOBJ" = "yes"; then
49819 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49820 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
49821 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
49822 wxUSE_DATAOBJ=no
49823 else
49824 cat >>confdefs.h <<\_ACEOF
49825 #define wxUSE_DATAOBJ 1
49826 _ACEOF
49827
49828 fi
49829 else
49830 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49831 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49832 wxUSE_CLIPBOARD=no
49833 wxUSE_DRAG_AND_DROP=no
49834 fi
49835
49836 if test "$wxUSE_CLIPBOARD" = "yes"; then
49837 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
49838 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49839 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49840 wxUSE_CLIPBOARD=no
49841 fi
49842
49843 if test "$wxUSE_CLIPBOARD" = "yes"; then
49844 cat >>confdefs.h <<\_ACEOF
49845 #define wxUSE_CLIPBOARD 1
49846 _ACEOF
49847
49848 fi
49849 fi
49850
49851 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49852 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
49853 "$wxUSE_DFB" = 1; then
49854 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49855 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49856 wxUSE_DRAG_AND_DROP=no
49857 fi
49858
49859 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49860 cat >>confdefs.h <<\_ACEOF
49861 #define wxUSE_DRAG_AND_DROP 1
49862 _ACEOF
49863
49864 fi
49865
49866 fi
49867
49868 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49869 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49870 fi
49871
49872 if test "$wxUSE_CLIPBOARD" = "yes"; then
49873 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
49874 fi
49875
49876 if test "$wxUSE_SPLINES" = "yes" ; then
49877 cat >>confdefs.h <<\_ACEOF
49878 #define wxUSE_SPLINES 1
49879 _ACEOF
49880
49881 fi
49882
49883 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49884 cat >>confdefs.h <<\_ACEOF
49885 #define wxUSE_MOUSEWHEEL 1
49886 _ACEOF
49887
49888 fi
49889
49890 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49891 cat >>confdefs.h <<\_ACEOF
49892 #define wxUSE_UIACTIONSIMULATOR 1
49893 _ACEOF
49894
49895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
49896 fi
49897
49898 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49899 cat >>confdefs.h <<\_ACEOF
49900 #define wxUSE_DC_TRANSFORM_MATRIX 1
49901 _ACEOF
49902
49903 fi
49904
49905
49906 USES_CONTROLS=0
49907 if test "$wxUSE_CONTROLS" = "yes"; then
49908 USES_CONTROLS=1
49909 fi
49910
49911 if test "$wxUSE_MARKUP" = "yes"; then
49912 cat >>confdefs.h <<\_ACEOF
49913 #define wxUSE_MARKUP 1
49914 _ACEOF
49915
49916 fi
49917
49918 if test "$wxUSE_ACCEL" = "yes"; then
49919 cat >>confdefs.h <<\_ACEOF
49920 #define wxUSE_ACCEL 1
49921 _ACEOF
49922
49923 USES_CONTROLS=1
49924 fi
49925
49926 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49927 cat >>confdefs.h <<\_ACEOF
49928 #define wxUSE_ANIMATIONCTRL 1
49929 _ACEOF
49930
49931 USES_CONTROLS=1
49932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49933 fi
49934
49935 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49936 cat >>confdefs.h <<\_ACEOF
49937 #define wxUSE_BANNERWINDOW 1
49938 _ACEOF
49939
49940 fi
49941
49942 if test "$wxUSE_BUTTON" = "yes"; then
49943 cat >>confdefs.h <<\_ACEOF
49944 #define wxUSE_BUTTON 1
49945 _ACEOF
49946
49947 USES_CONTROLS=1
49948 fi
49949
49950 if test "$wxUSE_BMPBUTTON" = "yes"; then
49951 cat >>confdefs.h <<\_ACEOF
49952 #define wxUSE_BMPBUTTON 1
49953 _ACEOF
49954
49955 USES_CONTROLS=1
49956 fi
49957
49958 if test "$wxUSE_CALCTRL" = "yes"; then
49959 cat >>confdefs.h <<\_ACEOF
49960 #define wxUSE_CALENDARCTRL 1
49961 _ACEOF
49962
49963 USES_CONTROLS=1
49964 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49965 fi
49966
49967 if test "$wxUSE_CARET" = "yes"; then
49968 cat >>confdefs.h <<\_ACEOF
49969 #define wxUSE_CARET 1
49970 _ACEOF
49971
49972 USES_CONTROLS=1
49973 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49974 fi
49975
49976 if test "$wxUSE_COLLPANE" = "yes"; then
49977 cat >>confdefs.h <<\_ACEOF
49978 #define wxUSE_COLLPANE 1
49979 _ACEOF
49980
49981 USES_CONTROLS=1
49982 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49983 fi
49984
49985 if test "$wxUSE_COMBOBOX" = "yes"; then
49986 cat >>confdefs.h <<\_ACEOF
49987 #define wxUSE_COMBOBOX 1
49988 _ACEOF
49989
49990 USES_CONTROLS=1
49991 fi
49992
49993 if test "$wxUSE_COMBOCTRL" = "yes"; then
49994 cat >>confdefs.h <<\_ACEOF
49995 #define wxUSE_COMBOCTRL 1
49996 _ACEOF
49997
49998 USES_CONTROLS=1
49999 fi
50000
50001 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
50002 cat >>confdefs.h <<\_ACEOF
50003 #define wxUSE_COMMANDLINKBUTTON 1
50004 _ACEOF
50005
50006 USES_CONTROLS=1
50007 fi
50008
50009 if test "$wxUSE_CHOICE" = "yes"; then
50010 cat >>confdefs.h <<\_ACEOF
50011 #define wxUSE_CHOICE 1
50012 _ACEOF
50013
50014 USES_CONTROLS=1
50015 fi
50016
50017 if test "$wxUSE_CHOICEBOOK" = "yes"; then
50018 cat >>confdefs.h <<\_ACEOF
50019 #define wxUSE_CHOICEBOOK 1
50020 _ACEOF
50021
50022 USES_CONTROLS=1
50023 fi
50024
50025 if test "$wxUSE_CHECKBOX" = "yes"; then
50026 cat >>confdefs.h <<\_ACEOF
50027 #define wxUSE_CHECKBOX 1
50028 _ACEOF
50029
50030 USES_CONTROLS=1
50031 fi
50032
50033 if test "$wxUSE_CHECKLST" = "yes"; then
50034 cat >>confdefs.h <<\_ACEOF
50035 #define wxUSE_CHECKLISTBOX 1
50036 _ACEOF
50037
50038 USES_CONTROLS=1
50039 fi
50040
50041 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
50042 cat >>confdefs.h <<\_ACEOF
50043 #define wxUSE_COLOURPICKERCTRL 1
50044 _ACEOF
50045
50046 USES_CONTROLS=1
50047 fi
50048
50049 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
50050 cat >>confdefs.h <<\_ACEOF
50051 #define wxUSE_DATEPICKCTRL 1
50052 _ACEOF
50053
50054 USES_CONTROLS=1
50055 fi
50056
50057 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
50058 cat >>confdefs.h <<\_ACEOF
50059 #define wxUSE_DIRPICKERCTRL 1
50060 _ACEOF
50061
50062 USES_CONTROLS=1
50063 fi
50064
50065 if test "$wxUSE_FILECTRL" = "yes"; then
50066 cat >>confdefs.h <<\_ACEOF
50067 #define wxUSE_FILECTRL 1
50068 _ACEOF
50069
50070 USES_CONTROLS=1
50071 fi
50072
50073 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
50074 cat >>confdefs.h <<\_ACEOF
50075 #define wxUSE_FILEPICKERCTRL 1
50076 _ACEOF
50077
50078 USES_CONTROLS=1
50079 fi
50080
50081 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
50082 cat >>confdefs.h <<\_ACEOF
50083 #define wxUSE_FONTPICKERCTRL 1
50084 _ACEOF
50085
50086 USES_CONTROLS=1
50087 fi
50088
50089 if test "$wxUSE_DISPLAY" = "yes"; then
50090 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
50091 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
50092 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
50093 wxUSE_DISPLAY=no
50094 else
50095 cat >>confdefs.h <<\_ACEOF
50096 #define wxUSE_DISPLAY 1
50097 _ACEOF
50098
50099 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
50100 fi
50101 fi
50102
50103 if test "$wxUSE_DETECT_SM" = "yes"; then
50104 cat >>confdefs.h <<\_ACEOF
50105 #define wxUSE_DETECT_SM 1
50106 _ACEOF
50107
50108 fi
50109
50110 if test "$wxUSE_GAUGE" = "yes"; then
50111 cat >>confdefs.h <<\_ACEOF
50112 #define wxUSE_GAUGE 1
50113 _ACEOF
50114
50115 USES_CONTROLS=1
50116 fi
50117
50118 if test "$wxUSE_GRID" = "yes"; then
50119 cat >>confdefs.h <<\_ACEOF
50120 #define wxUSE_GRID 1
50121 _ACEOF
50122
50123 USES_CONTROLS=1
50124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
50125 fi
50126
50127 if test "$wxUSE_HEADERCTRL" = "yes"; then
50128 cat >>confdefs.h <<\_ACEOF
50129 #define wxUSE_HEADERCTRL 1
50130 _ACEOF
50131
50132 USES_CONTROLS=1
50133 fi
50134
50135 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
50136 cat >>confdefs.h <<\_ACEOF
50137 #define wxUSE_HYPERLINKCTRL 1
50138 _ACEOF
50139
50140 USES_CONTROLS=1
50141 fi
50142
50143 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
50144 cat >>confdefs.h <<\_ACEOF
50145 #define wxUSE_BITMAPCOMBOBOX 1
50146 _ACEOF
50147
50148 USES_CONTROLS=1
50149 fi
50150
50151 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
50152 cat >>confdefs.h <<\_ACEOF
50153 #define wxUSE_DATAVIEWCTRL 1
50154 _ACEOF
50155
50156 USES_CONTROLS=1
50157 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
50158 fi
50159
50160 if test "$wxUSE_IMAGLIST" = "yes"; then
50161 cat >>confdefs.h <<\_ACEOF
50162 #define wxUSE_IMAGLIST 1
50163 _ACEOF
50164
50165 fi
50166
50167 if test "$wxUSE_INFOBAR" = "yes"; then
50168 cat >>confdefs.h <<\_ACEOF
50169 #define wxUSE_INFOBAR 1
50170 _ACEOF
50171
50172 fi
50173
50174 if test "$wxUSE_LISTBOOK" = "yes"; then
50175 cat >>confdefs.h <<\_ACEOF
50176 #define wxUSE_LISTBOOK 1
50177 _ACEOF
50178
50179 USES_CONTROLS=1
50180 fi
50181
50182 if test "$wxUSE_LISTBOX" = "yes"; then
50183 cat >>confdefs.h <<\_ACEOF
50184 #define wxUSE_LISTBOX 1
50185 _ACEOF
50186
50187 USES_CONTROLS=1
50188 fi
50189
50190 if test "$wxUSE_LISTCTRL" = "yes"; then
50191 if test "$wxUSE_IMAGLIST" = "yes"; then
50192 cat >>confdefs.h <<\_ACEOF
50193 #define wxUSE_LISTCTRL 1
50194 _ACEOF
50195
50196 USES_CONTROLS=1
50197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
50198 else
50199 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
50200 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
50201 fi
50202 fi
50203
50204 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
50205 cat >>confdefs.h <<\_ACEOF
50206 #define wxUSE_EDITABLELISTBOX 1
50207 _ACEOF
50208
50209 USES_CONTROLS=1
50210 fi
50211
50212 if test "$wxUSE_NOTEBOOK" = "yes"; then
50213 cat >>confdefs.h <<\_ACEOF
50214 #define wxUSE_NOTEBOOK 1
50215 _ACEOF
50216
50217 USES_CONTROLS=1
50218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
50219 fi
50220
50221 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
50222 cat >>confdefs.h <<\_ACEOF
50223 #define wxUSE_NOTIFICATION_MESSAGE 1
50224 _ACEOF
50225
50226 fi
50227
50228 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
50229 cat >>confdefs.h <<\_ACEOF
50230 #define wxUSE_ODCOMBOBOX 1
50231 _ACEOF
50232
50233 USES_CONTROLS=1
50234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
50235 fi
50236
50237 if test "$wxUSE_RADIOBOX" = "yes"; then
50238 cat >>confdefs.h <<\_ACEOF
50239 #define wxUSE_RADIOBOX 1
50240 _ACEOF
50241
50242 USES_CONTROLS=1
50243 fi
50244
50245 if test "$wxUSE_RADIOBTN" = "yes"; then
50246 cat >>confdefs.h <<\_ACEOF
50247 #define wxUSE_RADIOBTN 1
50248 _ACEOF
50249
50250 USES_CONTROLS=1
50251 fi
50252
50253 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50254 cat >>confdefs.h <<\_ACEOF
50255 #define wxUSE_REARRANGECTRL 1
50256 _ACEOF
50257
50258 fi
50259
50260 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50261 cat >>confdefs.h <<\_ACEOF
50262 #define wxUSE_RICHMSGDLG 1
50263 _ACEOF
50264
50265 fi
50266
50267 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50268 cat >>confdefs.h <<\_ACEOF
50269 #define wxUSE_RICHTOOLTIP 1
50270 _ACEOF
50271
50272 fi
50273
50274 if test "$wxUSE_SASH" = "yes"; then
50275 cat >>confdefs.h <<\_ACEOF
50276 #define wxUSE_SASH 1
50277 _ACEOF
50278
50279 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
50280 fi
50281
50282 if test "$wxUSE_SCROLLBAR" = "yes"; then
50283 cat >>confdefs.h <<\_ACEOF
50284 #define wxUSE_SCROLLBAR 1
50285 _ACEOF
50286
50287 USES_CONTROLS=1
50288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
50289 fi
50290
50291 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50292 cat >>confdefs.h <<\_ACEOF
50293 #define wxUSE_SEARCHCTRL 1
50294 _ACEOF
50295
50296 USES_CONTROLS=1
50297 fi
50298
50299 if test "$wxUSE_SLIDER" = "yes"; then
50300 cat >>confdefs.h <<\_ACEOF
50301 #define wxUSE_SLIDER 1
50302 _ACEOF
50303
50304 USES_CONTROLS=1
50305 fi
50306
50307 if test "$wxUSE_SPINBTN" = "yes"; then
50308 cat >>confdefs.h <<\_ACEOF
50309 #define wxUSE_SPINBTN 1
50310 _ACEOF
50311
50312 USES_CONTROLS=1
50313 fi
50314
50315 if test "$wxUSE_SPINCTRL" = "yes"; then
50316 cat >>confdefs.h <<\_ACEOF
50317 #define wxUSE_SPINCTRL 1
50318 _ACEOF
50319
50320 USES_CONTROLS=1
50321 fi
50322
50323 if test "$wxUSE_SPLITTER" = "yes"; then
50324 cat >>confdefs.h <<\_ACEOF
50325 #define wxUSE_SPLITTER 1
50326 _ACEOF
50327
50328 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
50329 fi
50330
50331 if test "$wxUSE_STATBMP" = "yes"; then
50332 cat >>confdefs.h <<\_ACEOF
50333 #define wxUSE_STATBMP 1
50334 _ACEOF
50335
50336 USES_CONTROLS=1
50337 fi
50338
50339 if test "$wxUSE_STATBOX" = "yes"; then
50340 cat >>confdefs.h <<\_ACEOF
50341 #define wxUSE_STATBOX 1
50342 _ACEOF
50343
50344 USES_CONTROLS=1
50345 fi
50346
50347 if test "$wxUSE_STATTEXT" = "yes"; then
50348 cat >>confdefs.h <<\_ACEOF
50349 #define wxUSE_STATTEXT 1
50350 _ACEOF
50351
50352 USES_CONTROLS=1
50353 fi
50354
50355 if test "$wxUSE_STATLINE" = "yes"; then
50356 cat >>confdefs.h <<\_ACEOF
50357 #define wxUSE_STATLINE 1
50358 _ACEOF
50359
50360 USES_CONTROLS=1
50361 fi
50362
50363 if test "$wxUSE_STATUSBAR" = "yes"; then
50364 cat >>confdefs.h <<\_ACEOF
50365 #define wxUSE_NATIVE_STATUSBAR 1
50366 _ACEOF
50367
50368 cat >>confdefs.h <<\_ACEOF
50369 #define wxUSE_STATUSBAR 1
50370 _ACEOF
50371
50372 USES_CONTROLS=1
50373
50374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
50375 fi
50376
50377 if test "$wxUSE_TEXTCTRL" = "yes"; then
50378 cat >>confdefs.h <<\_ACEOF
50379 #define wxUSE_TEXTCTRL 1
50380 _ACEOF
50381
50382 USES_CONTROLS=1
50383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
50384
50385 cat >>confdefs.h <<\_ACEOF
50386 #define wxUSE_RICHEDIT 1
50387 _ACEOF
50388
50389 cat >>confdefs.h <<\_ACEOF
50390 #define wxUSE_RICHEDIT2 1
50391 _ACEOF
50392
50393 fi
50394
50395 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50396 cat >>confdefs.h <<\_ACEOF
50397 #define wxUSE_TIMEPICKCTRL 1
50398 _ACEOF
50399
50400 USES_CONTROLS=1
50401 fi
50402
50403 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50404 if test "$wxUSE_OLD_COCOA" = 1 ; then
50405 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50406 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50407 wxUSE_TOGGLEBTN=no
50408 fi
50409
50410 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50411 cat >>confdefs.h <<\_ACEOF
50412 #define wxUSE_TOGGLEBTN 1
50413 _ACEOF
50414
50415 USES_CONTROLS=1
50416 fi
50417 fi
50418
50419 if test "$wxUSE_TOOLBAR" = "yes"; then
50420 cat >>confdefs.h <<\_ACEOF
50421 #define wxUSE_TOOLBAR 1
50422 _ACEOF
50423
50424 USES_CONTROLS=1
50425
50426 if test "$wxUSE_UNIVERSAL" = "yes"; then
50427 wxUSE_TOOLBAR_NATIVE="no"
50428 else
50429 wxUSE_TOOLBAR_NATIVE="yes"
50430 cat >>confdefs.h <<\_ACEOF
50431 #define wxUSE_TOOLBAR_NATIVE 1
50432 _ACEOF
50433
50434 fi
50435
50436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50437 fi
50438
50439 if test "$wxUSE_TOOLTIPS" = "yes"; then
50440 if test "$wxUSE_MOTIF" = 1; then
50441 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50442 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50443 else
50444 if test "$wxUSE_UNIVERSAL" = "yes"; then
50445 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50446 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50447 else
50448 cat >>confdefs.h <<\_ACEOF
50449 #define wxUSE_TOOLTIPS 1
50450 _ACEOF
50451
50452 fi
50453 fi
50454 fi
50455
50456 if test "$wxUSE_TREEBOOK" = "yes"; then
50457 cat >>confdefs.h <<\_ACEOF
50458 #define wxUSE_TREEBOOK 1
50459 _ACEOF
50460
50461 USES_CONTROLS=1
50462 fi
50463
50464 if test "$wxUSE_TOOLBOOK" = "yes"; then
50465 cat >>confdefs.h <<\_ACEOF
50466 #define wxUSE_TOOLBOOK 1
50467 _ACEOF
50468
50469 USES_CONTROLS=1
50470 fi
50471
50472 if test "$wxUSE_TREECTRL" = "yes"; then
50473 if test "$wxUSE_IMAGLIST" = "yes"; then
50474 cat >>confdefs.h <<\_ACEOF
50475 #define wxUSE_TREECTRL 1
50476 _ACEOF
50477
50478 USES_CONTROLS=1
50479 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50480 else
50481 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50482 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50483 fi
50484 fi
50485
50486 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50487 cat >>confdefs.h <<\_ACEOF
50488 #define wxUSE_TREELISTCTRL 1
50489 _ACEOF
50490
50491 USES_CONTROLS=1
50492 fi
50493
50494 if test "$wxUSE_POPUPWIN" = "yes"; then
50495 if test "$wxUSE_OLD_COCOA" = 1 ; then
50496 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50497 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50498 else
50499 if test "$wxUSE_PM" = 1; then
50500 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50501 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50502 else
50503 cat >>confdefs.h <<\_ACEOF
50504 #define wxUSE_POPUPWIN 1
50505 _ACEOF
50506
50507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50508
50509 USES_CONTROLS=1
50510 fi
50511 fi
50512 fi
50513
50514 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50515 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
50516 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50517 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50518 else
50519 cat >>confdefs.h <<\_ACEOF
50520 #define wxUSE_DIALUP_MANAGER 1
50521 _ACEOF
50522
50523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50524 fi
50525 fi
50526
50527 if test "$wxUSE_TIPWINDOW" = "yes"; then
50528 if test "$wxUSE_PM" = 1; then
50529 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50530 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50531 else
50532 cat >>confdefs.h <<\_ACEOF
50533 #define wxUSE_TIPWINDOW 1
50534 _ACEOF
50535
50536 fi
50537 fi
50538
50539 if test "$USES_CONTROLS" = 1; then
50540 cat >>confdefs.h <<\_ACEOF
50541 #define wxUSE_CONTROLS 1
50542 _ACEOF
50543
50544 fi
50545
50546
50547 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50548 cat >>confdefs.h <<\_ACEOF
50549 #define wxUSE_ACCESSIBILITY 1
50550 _ACEOF
50551
50552 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50553 fi
50554
50555 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50556 cat >>confdefs.h <<\_ACEOF
50557 #define wxUSE_ARTPROVIDER_STD 1
50558 _ACEOF
50559
50560 fi
50561
50562 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50563 if test "$wxUSE_GTK" != 1; then
50564 if test "$wxUSE_LIBPNG" != no -a \
50565 "$wxUSE_IMAGE" = yes -a \
50566 "$wxUSE_STREAMS" = yes; then
50567 wxUSE_ARTPROVIDER_TANGO="yes"
50568 fi
50569 fi
50570 fi
50571
50572 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50573 cat >>confdefs.h <<\_ACEOF
50574 #define wxUSE_ARTPROVIDER_TANGO 1
50575 _ACEOF
50576
50577 fi
50578
50579 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50580 cat >>confdefs.h <<\_ACEOF
50581 #define wxUSE_DRAGIMAGE 1
50582 _ACEOF
50583
50584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50585 fi
50586
50587 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50588 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50589 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50590 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50591 else
50592 cat >>confdefs.h <<\_ACEOF
50593 #define wxUSE_EXCEPTIONS 1
50594 _ACEOF
50595
50596 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50597 fi
50598 fi
50599
50600 USE_HTML=0
50601 if test "$wxUSE_HTML" = "yes"; then
50602 cat >>confdefs.h <<\_ACEOF
50603 #define wxUSE_HTML 1
50604 _ACEOF
50605
50606 USE_HTML=1
50607 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50608 fi
50609 if test "$wxUSE_WEBKIT" = "yes"; then
50610 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50611 old_CPPFLAGS="$CPPFLAGS"
50612 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50613 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50614 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50615 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50616 echo $ECHO_N "(cached) $ECHO_C" >&6
50617 else
50618 cat >conftest.$ac_ext <<_ACEOF
50619 /* confdefs.h. */
50620 _ACEOF
50621 cat confdefs.h >>conftest.$ac_ext
50622 cat >>conftest.$ac_ext <<_ACEOF
50623 /* end confdefs.h. */
50624
50625 #include <Carbon/Carbon.h>
50626 #include <WebKit/WebKit.h>
50627
50628
50629 #include <WebKit/HIWebView.h>
50630 _ACEOF
50631 rm -f conftest.$ac_objext
50632 if { (ac_try="$ac_compile"
50633 case "(($ac_try" in
50634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50635 *) ac_try_echo=$ac_try;;
50636 esac
50637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50638 (eval "$ac_compile") 2>conftest.er1
50639 ac_status=$?
50640 grep -v '^ *+' conftest.er1 >conftest.err
50641 rm -f conftest.er1
50642 cat conftest.err >&5
50643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50644 (exit $ac_status); } && {
50645 test -z "$ac_c_werror_flag" ||
50646 test ! -s conftest.err
50647 } && test -s conftest.$ac_objext; then
50648 ac_cv_header_WebKit_HIWebView_h=yes
50649 else
50650 echo "$as_me: failed program was:" >&5
50651 sed 's/^/| /' conftest.$ac_ext >&5
50652
50653 ac_cv_header_WebKit_HIWebView_h=no
50654 fi
50655
50656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50657 fi
50658 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50659 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50660 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50661
50662 cat >>confdefs.h <<\_ACEOF
50663 #define wxUSE_WEBKIT 1
50664 _ACEOF
50665
50666 WEBKIT_LINK="-framework WebKit"
50667
50668 else
50669
50670 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50671 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50672 wxUSE_WEBKIT=no
50673
50674 fi
50675
50676
50677 CPPFLAGS="$old_CPPFLAGS"
50678 elif test "$wxUSE_OLD_COCOA" = 1; then
50679 cat >>confdefs.h <<\_ACEOF
50680 #define wxUSE_WEBKIT 1
50681 _ACEOF
50682
50683 else
50684 wxUSE_WEBKIT=no
50685 fi
50686 if test "$wxUSE_WEBKIT" = "yes"; then
50687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50688 fi
50689 fi
50690
50691 USE_XRC=0
50692 if test "$wxUSE_XRC" = "yes"; then
50693 if test "$wxUSE_XML" != "yes"; then
50694 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50695 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50696 wxUSE_XRC=no
50697 else
50698 cat >>confdefs.h <<\_ACEOF
50699 #define wxUSE_XRC 1
50700 _ACEOF
50701
50702 USE_XRC=1
50703 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50704 fi
50705 fi
50706
50707 USE_AUI=0
50708 if test "$wxUSE_AUI" = "yes"; then
50709 cat >>confdefs.h <<\_ACEOF
50710 #define wxUSE_AUI 1
50711 _ACEOF
50712
50713 USE_AUI=1
50714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50715 fi
50716
50717 USE_PROPGRID=0
50718 if test "$wxUSE_PROPGRID" = "yes"; then
50719 cat >>confdefs.h <<\_ACEOF
50720 #define wxUSE_PROPGRID 1
50721 _ACEOF
50722
50723 USE_PROPGRID=1
50724 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50725 fi
50726
50727 USE_RIBBON=0
50728 if test "$wxUSE_RIBBON" = "yes"; then
50729 cat >>confdefs.h <<\_ACEOF
50730 #define wxUSE_RIBBON 1
50731 _ACEOF
50732
50733 USE_RIBBON=1
50734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50735 fi
50736
50737 USE_STC=0
50738 if test "$wxUSE_STC" = "yes"; then
50739 cat >>confdefs.h <<\_ACEOF
50740 #define wxUSE_STC 1
50741 _ACEOF
50742
50743 USE_STC=1
50744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50745
50746 # Extract the first word of "python", so it can be a program name with args.
50747 set dummy python; ac_word=$2
50748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50750 if test "${ac_cv_path_PYTHON+set}" = set; then
50751 echo $ECHO_N "(cached) $ECHO_C" >&6
50752 else
50753 case $PYTHON in
50754 [\\/]* | ?:[\\/]*)
50755 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50756 ;;
50757 *)
50758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50759 for as_dir in $PATH
50760 do
50761 IFS=$as_save_IFS
50762 test -z "$as_dir" && as_dir=.
50763 for ac_exec_ext in '' $ac_executable_extensions; do
50764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50765 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50767 break 2
50768 fi
50769 done
50770 done
50771 IFS=$as_save_IFS
50772
50773 ;;
50774 esac
50775 fi
50776 PYTHON=$ac_cv_path_PYTHON
50777 if test -n "$PYTHON"; then
50778 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50779 echo "${ECHO_T}$PYTHON" >&6; }
50780 else
50781 { echo "$as_me:$LINENO: result: no" >&5
50782 echo "${ECHO_T}no" >&6; }
50783 fi
50784
50785
50786 if test "x$PYTHON" = "x"; then
50787 COND_PYTHON="#"
50788 fi
50789
50790 fi
50791
50792 if test "$wxUSE_MENUS" = "yes"; then
50793 cat >>confdefs.h <<\_ACEOF
50794 #define wxUSE_MENUS 1
50795 _ACEOF
50796
50797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50798 fi
50799
50800 if test "$wxUSE_MIMETYPE" = "yes"; then
50801 cat >>confdefs.h <<\_ACEOF
50802 #define wxUSE_MIMETYPE 1
50803 _ACEOF
50804
50805 fi
50806
50807 if test "$wxUSE_MINIFRAME" = "yes"; then
50808 cat >>confdefs.h <<\_ACEOF
50809 #define wxUSE_MINIFRAME 1
50810 _ACEOF
50811
50812 fi
50813
50814 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50815 cat >>confdefs.h <<\_ACEOF
50816 #define wxUSE_SYSTEM_OPTIONS 1
50817 _ACEOF
50818
50819 fi
50820
50821 if test "$wxUSE_TASKBARICON" = "yes"; then
50822 cat >>confdefs.h <<\_ACEOF
50823 #define wxUSE_TASKBARICON 1
50824 _ACEOF
50825
50826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50827 fi
50828
50829
50830 if test "$wxUSE_VALIDATORS" = "yes"; then
50831 cat >>confdefs.h <<\_ACEOF
50832 #define wxUSE_VALIDATORS 1
50833 _ACEOF
50834
50835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50836 fi
50837
50838 if test "$wxUSE_PALETTE" = "yes" ; then
50839 if test "$wxUSE_DFB" = 1; then
50840 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50841 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50842 wxUSE_PALETTE=no
50843 else
50844 cat >>confdefs.h <<\_ACEOF
50845 #define wxUSE_PALETTE 1
50846 _ACEOF
50847
50848 fi
50849 fi
50850
50851 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50852 LIBS=" -lunicows $LIBS"
50853 fi
50854
50855 USE_RICHTEXT=0
50856 if test "$wxUSE_RICHTEXT" = "yes"; then
50857 cat >>confdefs.h <<\_ACEOF
50858 #define wxUSE_RICHTEXT 1
50859 _ACEOF
50860
50861 USE_RICHTEXT=1
50862 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50863 fi
50864
50865 if test "$wxUSE_WEBVIEW" = "yes"; then
50866 USE_WEBVIEW_WEBKIT=0
50867 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50868 if test "$wxUSE_GTK" = 1; then
50869 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
50870 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
50871
50872 ac_find_libraries=
50873 for ac_dir in $SEARCH_LIB
50874 do
50875 for ac_extension in a so sl dylib dll.a; do
50876 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
50877 ac_find_libraries=$ac_dir
50878 break 2
50879 fi
50880 done
50881 done
50882
50883 if test "$ac_find_libraries" != "" ; then
50884
50885 if test "$ac_find_libraries" = "default location"; then
50886 ac_path_to_link=""
50887 else
50888 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
50889 result=$?
50890 if test $result = 0; then
50891 ac_path_to_link=""
50892 else
50893 ac_path_to_link=" -L$ac_find_libraries"
50894 fi
50895 fi
50896
50897 if test "$ac_path_to_link" != " -L/usr/lib" ; then
50898 LDFLAGS="$LDFLAGS $ac_path_to_link"
50899 fi
50900 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
50901 { echo "$as_me:$LINENO: result: yes" >&5
50902 echo "${ECHO_T}yes" >&6; }
50903
50904 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
50905 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
50906
50907 ac_find_includes=
50908 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
50909 do
50910 if test -f "$ac_dir/webkit/webkit.h"; then
50911 ac_find_includes=$ac_dir
50912 break
50913 fi
50914 done
50915
50916 if test "$ac_find_includes" != "" ; then
50917 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50918 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50919
50920 if test "x$ac_find_includes" = "x/usr/include"; then
50921 ac_path_to_include=""
50922 else
50923 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50924 result=$?
50925 if test $result = 0; then
50926 ac_path_to_include=""
50927 else
50928 ac_path_to_include=" -I$ac_find_includes"
50929 fi
50930 fi
50931
50932 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50933
50934 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
50935 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
50936
50937 ac_find_includes=
50938 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
50939 do
50940 if test -f "$ac_dir/libsoup/soup.h"; then
50941 ac_find_includes=$ac_dir
50942 break
50943 fi
50944 done
50945
50946 if test "$ac_find_includes" != "" ; then
50947 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50948 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50949
50950 if test "x$ac_find_includes" = "x/usr/include"; then
50951 ac_path_to_include=""
50952 else
50953 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50954 result=$?
50955 if test $result = 0; then
50956 ac_path_to_include=""
50957 else
50958 ac_path_to_include=" -I$ac_find_includes"
50959 fi
50960 fi
50961
50962 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50963
50964 USE_WEBVIEW_WEBKIT=1
50965 else
50966 { echo "$as_me:$LINENO: result: not found" >&5
50967 echo "${ECHO_T}not found" >&6; }
50968 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
50969 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
50970 fi
50971 else
50972 { echo "$as_me:$LINENO: result: not found" >&5
50973 echo "${ECHO_T}not found" >&6; }
50974 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
50975 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
50976 fi
50977 else
50978 { echo "$as_me:$LINENO: result: no" >&5
50979 echo "${ECHO_T}no" >&6; }
50980 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
50981 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
50982 fi
50983 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50984 old_CPPFLAGS="$CPPFLAGS"
50985 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50986 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50987 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50988 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50989 echo $ECHO_N "(cached) $ECHO_C" >&6
50990 else
50991 cat >conftest.$ac_ext <<_ACEOF
50992 /* confdefs.h. */
50993 _ACEOF
50994 cat confdefs.h >>conftest.$ac_ext
50995 cat >>conftest.$ac_ext <<_ACEOF
50996 /* end confdefs.h. */
50997
50998 #include <Carbon/Carbon.h>
50999 #include <WebKit/WebKit.h>
51000
51001
51002 #include <WebKit/HIWebView.h>
51003 _ACEOF
51004 rm -f conftest.$ac_objext
51005 if { (ac_try="$ac_compile"
51006 case "(($ac_try" in
51007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51008 *) ac_try_echo=$ac_try;;
51009 esac
51010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51011 (eval "$ac_compile") 2>conftest.er1
51012 ac_status=$?
51013 grep -v '^ *+' conftest.er1 >conftest.err
51014 rm -f conftest.er1
51015 cat conftest.err >&5
51016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51017 (exit $ac_status); } && {
51018 test -z "$ac_c_werror_flag" ||
51019 test ! -s conftest.err
51020 } && test -s conftest.$ac_objext; then
51021 ac_cv_header_WebKit_HIWebView_h=yes
51022 else
51023 echo "$as_me: failed program was:" >&5
51024 sed 's/^/| /' conftest.$ac_ext >&5
51025
51026 ac_cv_header_WebKit_HIWebView_h=no
51027 fi
51028
51029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51030 fi
51031 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
51032 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
51033 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
51034
51035 USE_WEBVIEW_WEBKIT=1
51036 WEBKIT_LINK="-framework WebKit"
51037
51038 else
51039
51040 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
51041 echo "$as_me: WARNING: WebKit headers not found" >&2;}
51042
51043 fi
51044
51045
51046 CPPFLAGS="$old_CPPFLAGS"
51047 fi
51048 fi
51049
51050 wxUSE_WEBVIEW="no"
51051 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
51052 if test "$USE_WEBVIEW_WEBKIT" = 1; then
51053 wxUSE_WEBVIEW="yes"
51054 cat >>confdefs.h <<\_ACEOF
51055 #define wxUSE_WEBVIEW_WEBKIT 1
51056 _ACEOF
51057
51058 else
51059 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
51060 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
51061 fi
51062 elif test "$wxUSE_MSW" = 1; then
51063 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
51064 wxUSE_WEBVIEW="yes"
51065 cat >>confdefs.h <<\_ACEOF
51066 #define wxUSE_WEBVIEW_IE 1
51067 _ACEOF
51068
51069 fi
51070 fi
51071 fi
51072
51073 if test "$wxUSE_WEBVIEW" = "yes"; then
51074 USE_WEBVIEW=1
51075 cat >>confdefs.h <<\_ACEOF
51076 #define wxUSE_WEBVIEW 1
51077 _ACEOF
51078
51079 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
51080 else
51081 USE_WEBVIEW=0
51082 fi
51083
51084
51085 if test "$wxUSE_IMAGE" = "yes" ; then
51086 cat >>confdefs.h <<\_ACEOF
51087 #define wxUSE_IMAGE 1
51088 _ACEOF
51089
51090
51091 if test "$wxUSE_GIF" = "yes" ; then
51092 cat >>confdefs.h <<\_ACEOF
51093 #define wxUSE_GIF 1
51094 _ACEOF
51095
51096 fi
51097
51098 if test "$wxUSE_PCX" = "yes" ; then
51099 cat >>confdefs.h <<\_ACEOF
51100 #define wxUSE_PCX 1
51101 _ACEOF
51102
51103 fi
51104
51105 if test "$wxUSE_TGA" = "yes" ; then
51106 cat >>confdefs.h <<\_ACEOF
51107 #define wxUSE_TGA 1
51108 _ACEOF
51109
51110 fi
51111
51112 if test "$wxUSE_IFF" = "yes" ; then
51113 cat >>confdefs.h <<\_ACEOF
51114 #define wxUSE_IFF 1
51115 _ACEOF
51116
51117 fi
51118
51119 if test "$wxUSE_PNM" = "yes" ; then
51120 cat >>confdefs.h <<\_ACEOF
51121 #define wxUSE_PNM 1
51122 _ACEOF
51123
51124 fi
51125
51126 if test "$wxUSE_XPM" = "yes" ; then
51127 cat >>confdefs.h <<\_ACEOF
51128 #define wxUSE_XPM 1
51129 _ACEOF
51130
51131 fi
51132
51133 if test "$wxUSE_ICO_CUR" = "yes" ; then
51134 cat >>confdefs.h <<\_ACEOF
51135 #define wxUSE_ICO_CUR 1
51136 _ACEOF
51137
51138 fi
51139 fi
51140
51141
51142 if test "$wxUSE_ABOUTDLG" = "yes"; then
51143 cat >>confdefs.h <<\_ACEOF
51144 #define wxUSE_ABOUTDLG 1
51145 _ACEOF
51146
51147 fi
51148
51149 if test "$wxUSE_CHOICEDLG" = "yes"; then
51150 cat >>confdefs.h <<\_ACEOF
51151 #define wxUSE_CHOICEDLG 1
51152 _ACEOF
51153
51154 fi
51155
51156 if test "$wxUSE_COLOURDLG" = "yes"; then
51157 cat >>confdefs.h <<\_ACEOF
51158 #define wxUSE_COLOURDLG 1
51159 _ACEOF
51160
51161 fi
51162
51163 if test "$wxUSE_FILEDLG" = "yes"; then
51164 cat >>confdefs.h <<\_ACEOF
51165 #define wxUSE_FILEDLG 1
51166 _ACEOF
51167
51168 fi
51169
51170 if test "$wxUSE_FINDREPLDLG" = "yes"; then
51171 cat >>confdefs.h <<\_ACEOF
51172 #define wxUSE_FINDREPLDLG 1
51173 _ACEOF
51174
51175 fi
51176
51177 if test "$wxUSE_FONTDLG" = "yes"; then
51178 cat >>confdefs.h <<\_ACEOF
51179 #define wxUSE_FONTDLG 1
51180 _ACEOF
51181
51182 fi
51183
51184 if test "$wxUSE_DIRDLG" = "yes"; then
51185 if test "$wxUSE_TREECTRL" != "yes"; then
51186 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
51187 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
51188 else
51189 cat >>confdefs.h <<\_ACEOF
51190 #define wxUSE_DIRDLG 1
51191 _ACEOF
51192
51193 fi
51194 fi
51195
51196 if test "$wxUSE_MSGDLG" = "yes"; then
51197 cat >>confdefs.h <<\_ACEOF
51198 #define wxUSE_MSGDLG 1
51199 _ACEOF
51200
51201 fi
51202
51203 if test "$wxUSE_NUMBERDLG" = "yes"; then
51204 cat >>confdefs.h <<\_ACEOF
51205 #define wxUSE_NUMBERDLG 1
51206 _ACEOF
51207
51208 fi
51209
51210 if test "$wxUSE_PROGRESSDLG" = "yes"; then
51211 cat >>confdefs.h <<\_ACEOF
51212 #define wxUSE_PROGRESSDLG 1
51213 _ACEOF
51214
51215 fi
51216
51217 if test "$wxUSE_SPLASH" = "yes"; then
51218 cat >>confdefs.h <<\_ACEOF
51219 #define wxUSE_SPLASH 1
51220 _ACEOF
51221
51222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
51223 fi
51224
51225 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
51226 cat >>confdefs.h <<\_ACEOF
51227 #define wxUSE_STARTUP_TIPS 1
51228 _ACEOF
51229
51230 fi
51231
51232 if test "$wxUSE_TEXTDLG" = "yes"; then
51233 cat >>confdefs.h <<\_ACEOF
51234 #define wxUSE_TEXTDLG 1
51235 _ACEOF
51236
51237 fi
51238
51239 if test "$wxUSE_WIZARDDLG" = "yes"; then
51240 cat >>confdefs.h <<\_ACEOF
51241 #define wxUSE_WIZARDDLG 1
51242 _ACEOF
51243
51244 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
51245 fi
51246
51247
51248 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51249 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51250 cat >>confdefs.h <<\_ACEOF
51251 #define wxUSE_OWNER_DRAWN 1
51252 _ACEOF
51253
51254 fi
51255 fi
51256
51257
51258 if test "$wxUSE_MSW" = 1 ; then
51259
51260 if test "$wxUSE_DC_CACHEING" = "yes"; then
51261 cat >>confdefs.h <<\_ACEOF
51262 #define wxUSE_DC_CACHEING 1
51263 _ACEOF
51264
51265 fi
51266
51267 if test "$wxUSE_DIB" = "yes"; then
51268 cat >>confdefs.h <<\_ACEOF
51269 #define wxUSE_WXDIB 1
51270 _ACEOF
51271
51272 fi
51273
51274 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51275 cat >>confdefs.h <<\_ACEOF
51276 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51277 _ACEOF
51278
51279 fi
51280
51281 if test "$wxUSE_UXTHEME" = "yes"; then
51282 cat >>confdefs.h <<\_ACEOF
51283 #define wxUSE_UXTHEME 1
51284 _ACEOF
51285
51286 fi
51287
51288 fi
51289
51290 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51291 cat >>confdefs.h <<\_ACEOF
51292 #define wxUSE_AUTOID_MANAGEMENT 1
51293 _ACEOF
51294
51295 fi
51296
51297 if test "$USE_WIN32" = 1 ; then
51298 if test "$wxUSE_INICONF" = "yes"; then
51299 cat >>confdefs.h <<\_ACEOF
51300 #define wxUSE_INICONF 1
51301 _ACEOF
51302
51303 fi
51304
51305 if test "$wxUSE_REGKEY" = "yes"; then
51306 cat >>confdefs.h <<\_ACEOF
51307 #define wxUSE_REGKEY 1
51308 _ACEOF
51309
51310 fi
51311 fi
51312
51313
51314 if test "$wxUSE_MAC" = 1; then
51315 wxUSE_GRAPHICS_CONTEXT="yes"
51316 fi
51317
51318 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51319 wx_has_graphics=0
51320 if test "$wxUSE_MSW" = 1; then
51321 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51322 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51323 if test "${wx_cv_lib_gdiplus+set}" = set; then
51324 echo $ECHO_N "(cached) $ECHO_C" >&6
51325 else
51326
51327 ac_ext=cpp
51328 ac_cpp='$CXXCPP $CPPFLAGS'
51329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51332
51333 cat >conftest.$ac_ext <<_ACEOF
51334 /* confdefs.h. */
51335 _ACEOF
51336 cat confdefs.h >>conftest.$ac_ext
51337 cat >>conftest.$ac_ext <<_ACEOF
51338 /* end confdefs.h. */
51339 #include <windows.h>
51340 #include <gdiplus.h>
51341 int
51342 main ()
51343 {
51344
51345 using namespace Gdiplus;
51346
51347 ;
51348 return 0;
51349 }
51350 _ACEOF
51351 rm -f conftest.$ac_objext
51352 if { (ac_try="$ac_compile"
51353 case "(($ac_try" in
51354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51355 *) ac_try_echo=$ac_try;;
51356 esac
51357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51358 (eval "$ac_compile") 2>conftest.er1
51359 ac_status=$?
51360 grep -v '^ *+' conftest.er1 >conftest.err
51361 rm -f conftest.er1
51362 cat conftest.err >&5
51363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51364 (exit $ac_status); } && {
51365 test -z "$ac_cxx_werror_flag" ||
51366 test ! -s conftest.err
51367 } && test -s conftest.$ac_objext; then
51368 wx_cv_lib_gdiplus=yes
51369 else
51370 echo "$as_me: failed program was:" >&5
51371 sed 's/^/| /' conftest.$ac_ext >&5
51372
51373 wx_cv_lib_gdiplus=no
51374
51375 fi
51376
51377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51378 ac_ext=c
51379 ac_cpp='$CPP $CPPFLAGS'
51380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51383
51384
51385
51386 fi
51387 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51388 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51389 if test "$wx_cv_lib_gdiplus" = "yes"; then
51390 wx_has_graphics=1
51391 fi
51392 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51393
51394 pkg_failed=no
51395 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51396 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51397
51398 if test -n "$PKG_CONFIG"; then
51399 if test -n "$CAIRO_CFLAGS"; then
51400 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51401 else
51402 if test -n "$PKG_CONFIG" && \
51403 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51404 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51405 ac_status=$?
51406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51407 (exit $ac_status); }; then
51408 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
51409 else
51410 pkg_failed=yes
51411 fi
51412 fi
51413 else
51414 pkg_failed=untried
51415 fi
51416 if test -n "$PKG_CONFIG"; then
51417 if test -n "$CAIRO_LIBS"; then
51418 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51419 else
51420 if test -n "$PKG_CONFIG" && \
51421 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51422 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51423 ac_status=$?
51424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51425 (exit $ac_status); }; then
51426 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
51427 else
51428 pkg_failed=yes
51429 fi
51430 fi
51431 else
51432 pkg_failed=untried
51433 fi
51434
51435
51436
51437 if test $pkg_failed = yes; then
51438
51439 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51440 _pkg_short_errors_supported=yes
51441 else
51442 _pkg_short_errors_supported=no
51443 fi
51444 if test $_pkg_short_errors_supported = yes; then
51445 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51446 else
51447 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51448 fi
51449 # Put the nasty error message in config.log where it belongs
51450 echo "$CAIRO_PKG_ERRORS" >&5
51451
51452 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51453 echo "$as_me: WARNING: Cairo library not found" >&2;}
51454
51455 elif test $pkg_failed = untried; then
51456 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51457 echo "$as_me: WARNING: Cairo library not found" >&2;}
51458
51459 else
51460 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51461 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51462 { echo "$as_me:$LINENO: result: yes" >&5
51463 echo "${ECHO_T}yes" >&6; }
51464 wx_has_graphics=1
51465 fi
51466 if test "$wx_has_graphics" = 1; then
51467 save_LIBS="$LIBS"
51468 LIBS="$LIBS $CAIRO_LIBS"
51469
51470 for ac_func in cairo_push_group
51471 do
51472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51473 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51475 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51476 echo $ECHO_N "(cached) $ECHO_C" >&6
51477 else
51478 cat >conftest.$ac_ext <<_ACEOF
51479 /* confdefs.h. */
51480 _ACEOF
51481 cat confdefs.h >>conftest.$ac_ext
51482 cat >>conftest.$ac_ext <<_ACEOF
51483 /* end confdefs.h. */
51484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51486 #define $ac_func innocuous_$ac_func
51487
51488 /* System header to define __stub macros and hopefully few prototypes,
51489 which can conflict with char $ac_func (); below.
51490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51491 <limits.h> exists even on freestanding compilers. */
51492
51493 #ifdef __STDC__
51494 # include <limits.h>
51495 #else
51496 # include <assert.h>
51497 #endif
51498
51499 #undef $ac_func
51500
51501 /* Override any GCC internal prototype to avoid an error.
51502 Use char because int might match the return type of a GCC
51503 builtin and then its argument prototype would still apply. */
51504 #ifdef __cplusplus
51505 extern "C"
51506 #endif
51507 char $ac_func ();
51508 /* The GNU C library defines this for functions which it implements
51509 to always fail with ENOSYS. Some functions are actually named
51510 something starting with __ and the normal name is an alias. */
51511 #if defined __stub_$ac_func || defined __stub___$ac_func
51512 choke me
51513 #endif
51514
51515 int
51516 main ()
51517 {
51518 return $ac_func ();
51519 ;
51520 return 0;
51521 }
51522 _ACEOF
51523 rm -f conftest.$ac_objext conftest$ac_exeext
51524 if { (ac_try="$ac_link"
51525 case "(($ac_try" in
51526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51527 *) ac_try_echo=$ac_try;;
51528 esac
51529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51530 (eval "$ac_link") 2>conftest.er1
51531 ac_status=$?
51532 grep -v '^ *+' conftest.er1 >conftest.err
51533 rm -f conftest.er1
51534 cat conftest.err >&5
51535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51536 (exit $ac_status); } && {
51537 test -z "$ac_c_werror_flag" ||
51538 test ! -s conftest.err
51539 } && test -s conftest$ac_exeext &&
51540 $as_test_x conftest$ac_exeext; then
51541 eval "$as_ac_var=yes"
51542 else
51543 echo "$as_me: failed program was:" >&5
51544 sed 's/^/| /' conftest.$ac_ext >&5
51545
51546 eval "$as_ac_var=no"
51547 fi
51548
51549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51550 conftest$ac_exeext conftest.$ac_ext
51551 fi
51552 ac_res=`eval echo '${'$as_ac_var'}'`
51553 { echo "$as_me:$LINENO: result: $ac_res" >&5
51554 echo "${ECHO_T}$ac_res" >&6; }
51555 if test `eval echo '${'$as_ac_var'}'` = yes; then
51556 cat >>confdefs.h <<_ACEOF
51557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51558 _ACEOF
51559
51560 fi
51561 done
51562
51563 LIBS="$save_LIBS"
51564 if test "$ac_cv_func_cairo_push_group" = "no"; then
51565 wx_has_graphics=0
51566 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51567 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51568 else
51569 cat >>confdefs.h <<\_ACEOF
51570 #define wxUSE_CAIRO 1
51571 _ACEOF
51572
51573
51574 if test "$wxUSE_GTK" != 1; then
51575 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
51576 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
51577 fi
51578 fi
51579 fi
51580 else
51581 wx_has_graphics=1
51582 fi
51583
51584 if test "$wx_has_graphics" = 1; then
51585 cat >>confdefs.h <<\_ACEOF
51586 #define wxUSE_GRAPHICS_CONTEXT 1
51587 _ACEOF
51588
51589 else
51590 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51591 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51592 fi
51593 fi
51594
51595
51596 USE_MEDIA=0
51597
51598 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51599 USE_MEDIA=1
51600
51601 if test "$wxUSE_GTK" = 1; then
51602 wxUSE_GSTREAMER="no"
51603
51604 GST_VERSION_MAJOR=0
51605 GST_VERSION_MINOR=10
51606 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51607
51608 if test "$wxUSE_GSTREAMER8" = "no"; then
51609
51610 pkg_failed=no
51611 { echo "$as_me:$LINENO: checking for GST" >&5
51612 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51613
51614 if test -n "$PKG_CONFIG"; then
51615 if test -n "$GST_CFLAGS"; then
51616 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51617 else
51618 if test -n "$PKG_CONFIG" && \
51619 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
51620 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
51621 ac_status=$?
51622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51623 (exit $ac_status); }; then
51624 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
51625 else
51626 pkg_failed=yes
51627 fi
51628 fi
51629 else
51630 pkg_failed=untried
51631 fi
51632 if test -n "$PKG_CONFIG"; then
51633 if test -n "$GST_LIBS"; then
51634 pkg_cv_GST_LIBS="$GST_LIBS"
51635 else
51636 if test -n "$PKG_CONFIG" && \
51637 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
51638 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
51639 ac_status=$?
51640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51641 (exit $ac_status); }; then
51642 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
51643 else
51644 pkg_failed=yes
51645 fi
51646 fi
51647 else
51648 pkg_failed=untried
51649 fi
51650
51651
51652
51653 if test $pkg_failed = yes; then
51654
51655 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51656 _pkg_short_errors_supported=yes
51657 else
51658 _pkg_short_errors_supported=no
51659 fi
51660 if test $_pkg_short_errors_supported = yes; then
51661 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
51662 else
51663 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
51664 fi
51665 # Put the nasty error message in config.log where it belongs
51666 echo "$GST_PKG_ERRORS" >&5
51667
51668
51669 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51670 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51671 GST_VERSION_MINOR=8
51672
51673
51674 elif test $pkg_failed = untried; then
51675
51676 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51677 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51678 GST_VERSION_MINOR=8
51679
51680
51681 else
51682 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51683 GST_LIBS=$pkg_cv_GST_LIBS
51684 { echo "$as_me:$LINENO: result: yes" >&5
51685 echo "${ECHO_T}yes" >&6; }
51686
51687 wxUSE_GSTREAMER="yes"
51688 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51689
51690 fi
51691 else
51692 GST_VERSION_MINOR=8
51693 fi
51694
51695 if test $GST_VERSION_MINOR = "8"; then
51696 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51697
51698 pkg_failed=no
51699 { echo "$as_me:$LINENO: checking for GST" >&5
51700 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51701
51702 if test -n "$PKG_CONFIG"; then
51703 if test -n "$GST_CFLAGS"; then
51704 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51705 else
51706 if test -n "$PKG_CONFIG" && \
51707 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51708 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51709 ac_status=$?
51710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51711 (exit $ac_status); }; then
51712 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51713 else
51714 pkg_failed=yes
51715 fi
51716 fi
51717 else
51718 pkg_failed=untried
51719 fi
51720 if test -n "$PKG_CONFIG"; then
51721 if test -n "$GST_LIBS"; then
51722 pkg_cv_GST_LIBS="$GST_LIBS"
51723 else
51724 if test -n "$PKG_CONFIG" && \
51725 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51726 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51727 ac_status=$?
51728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51729 (exit $ac_status); }; then
51730 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51731 else
51732 pkg_failed=yes
51733 fi
51734 fi
51735 else
51736 pkg_failed=untried
51737 fi
51738
51739
51740
51741 if test $pkg_failed = yes; then
51742
51743 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51744 _pkg_short_errors_supported=yes
51745 else
51746 _pkg_short_errors_supported=no
51747 fi
51748 if test $_pkg_short_errors_supported = yes; then
51749 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51750 else
51751 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51752 fi
51753 # Put the nasty error message in config.log where it belongs
51754 echo "$GST_PKG_ERRORS" >&5
51755
51756
51757 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51758 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51759
51760 elif test $pkg_failed = untried; then
51761
51762 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51763 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51764
51765 else
51766 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51767 GST_LIBS=$pkg_cv_GST_LIBS
51768 { echo "$as_me:$LINENO: result: yes" >&5
51769 echo "${ECHO_T}yes" >&6; }
51770 wxUSE_GSTREAMER="yes"
51771 fi
51772 fi
51773
51774
51775 if test "$wxUSE_GSTREAMER" = "yes"; then
51776 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
51777 EXTRALIBS_MEDIA="$GST_LIBS"
51778
51779 cat >>confdefs.h <<\_ACEOF
51780 #define wxUSE_GSTREAMER 1
51781 _ACEOF
51782
51783 else
51784 USE_MEDIA=0
51785 fi
51786 fi
51787
51788 if test $USE_MEDIA = 1; then
51789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
51790 cat >>confdefs.h <<\_ACEOF
51791 #define wxUSE_MEDIACTRL 1
51792 _ACEOF
51793
51794 else
51795 if test "$wxUSE_MEDIACTRL" = "yes"; then
51796 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51797 echo "$as_me: error: GStreamer not available" >&2;}
51798 { (exit 1); exit 1; }; }
51799 else
51800 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51801 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51802 fi
51803 fi
51804 fi
51805
51806
51807 if test "$cross_compiling" != "no"; then
51808 OSINFO="\"$host\""
51809 else
51810 OSINFO=`uname -s -r -m`
51811 OSINFO="\"$OSINFO\""
51812 fi
51813
51814 cat >>confdefs.h <<_ACEOF
51815 #define WXWIN_OS_DESCRIPTION $OSINFO
51816 _ACEOF
51817
51818
51819
51820 if test "x$prefix" != "xNONE"; then
51821 wxPREFIX=$prefix
51822 else
51823 wxPREFIX=$ac_default_prefix
51824 fi
51825
51826 cat >>confdefs.h <<_ACEOF
51827 #define wxINSTALL_PREFIX "$wxPREFIX"
51828 _ACEOF
51829
51830
51831
51832
51833 STD_BASE_LIBS="base"
51834 STD_GUI_LIBS=""
51835 BUILT_WX_LIBS="base"
51836 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
51837
51838 if test "$wxUSE_SOCKETS" = "yes" ; then
51839 STD_BASE_LIBS="net $STD_BASE_LIBS"
51840 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
51841 fi
51842 if test "$wxUSE_XML" = "yes" ; then
51843 STD_BASE_LIBS="xml $STD_BASE_LIBS"
51844 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
51845 fi
51846
51847 if test "$wxUSE_GUI" = "yes"; then
51848 STD_GUI_LIBS="adv core"
51849 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
51850
51851 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51852 STD_GUI_LIBS="qa $STD_GUI_LIBS"
51853 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
51854 fi
51855 if test "$wxUSE_HTML" = "yes" ; then
51856 STD_GUI_LIBS="html $STD_GUI_LIBS"
51857 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
51858 fi
51859 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51860 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
51861 fi
51862 if test "$wxUSE_OPENGL" = "yes" ; then
51863 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
51864 fi
51865 if test "$wxUSE_AUI" = "yes" ; then
51866 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
51867 fi
51868 if test "$wxUSE_PROPGRID" = "yes" ; then
51869 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
51870 fi
51871 if test "$wxUSE_RIBBON" = "yes" ; then
51872 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
51873 fi
51874 if test "$wxUSE_RICHTEXT" = "yes" ; then
51875 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
51876 fi
51877 if test "$wxUSE_STC" = "yes" ; then
51878 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
51879 fi
51880 if test "$wxUSE_WEBVIEW" = "yes" ; then
51881 STD_GUI_LIBS="webview $STD_GUI_LIBS"
51882 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
51883 fi
51884 if test "$wxUSE_XRC" = "yes" ; then
51885 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
51886 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
51887 fi
51888 fi
51889
51890
51891
51892
51893
51894
51895
51896 EXTRA_FRAMEWORKS=
51897 if test "$wxUSE_MAC" = 1 ; then
51898 if test "$USE_DARWIN" = 1; then
51899 if test "$wxUSE_OSX_IPHONE" = 1; then
51900 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51901 else
51902 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51903 fi
51904 fi
51905 fi
51906 if test "$wxUSE_OLD_COCOA" = 1 ; then
51907 EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
51908 if test "$wxUSE_MEDIACTRL" = "yes"; then
51909 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
51910 fi
51911 fi
51912 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51913 EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51914 fi
51915
51916 LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
51917 WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51918
51919 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51920
51921 if test "$wxUSE_GUI" = "yes"; then
51922
51923
51924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51925 erase event exec font image minimal render \
51926 shaped svg taborder vscroll widgets wrapsizer"
51927
51928 if test "$wxUSE_MONOLITHIC" != "yes"; then
51929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
51930 fi
51931 if test "$TOOLKIT" = "MSW"; then
51932 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
51933 if test "$wxUSE_UNIVERSAL" != "yes"; then
51934 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51935 fi
51936 fi
51937 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51938 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
51939 fi
51940 else
51941 SAMPLES_SUBDIRS="console"
51942 if test "$wxUSE_SOCKETS" = "yes" ; then
51943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
51944 fi
51945 if test "$wxUSE_IPC" = "yes" ; then
51946 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
51947 fi
51948 fi
51949
51950
51951 if test "x$INTELCC" = "xyes" ; then
51952 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
51953 elif test "$GCC" = yes ; then
51954 CWARNINGS="-Wall -Wundef"
51955 fi
51956
51957 if test "x$INTELCXX" = "xyes" ; then
51958 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51959 elif test "$GXX" = yes ; then
51960 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51961 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51962 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51963 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51964 echo $ECHO_N "(cached) $ECHO_C" >&6
51965 else
51966 ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
51967
51968 ac_ext=cpp
51969 ac_cpp='$CXXCPP $CPPFLAGS'
51970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51973
51974 ac_save_CXXFLAGS="$CXXFLAGS"
51975 for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51976 do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51977 cat >conftest.$ac_ext <<_ACEOF
51978 /* confdefs.h. */
51979 _ACEOF
51980 cat confdefs.h >>conftest.$ac_ext
51981 cat >>conftest.$ac_ext <<_ACEOF
51982 /* end confdefs.h. */
51983
51984 int
51985 main ()
51986 {
51987 return 0;
51988 ;
51989 return 0;
51990 }
51991 _ACEOF
51992 rm -f conftest.$ac_objext
51993 if { (ac_try="$ac_compile"
51994 case "(($ac_try" in
51995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
51996 *) ac_try_echo=$ac_try;;
51997 esac
51998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51999 (eval "$ac_compile") 2>conftest.er1
52000 ac_status=$?
52001 grep -v '^ *+' conftest.er1 >conftest.err
52002 rm -f conftest.er1
52003 cat conftest.err >&5
52004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52005 (exit $ac_status); } && {
52006 test -z "$ac_cxx_werror_flag" ||
52007 test ! -s conftest.err
52008 } && test -s conftest.$ac_objext; then
52009 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
52010 else
52011 echo "$as_me: failed program was:" >&5
52012 sed 's/^/| /' conftest.$ac_ext >&5
52013
52014
52015 fi
52016
52017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52018 done
52019 CXXFLAGS="$ac_save_CXXFLAGS"
52020 ac_ext=c
52021 ac_cpp='$CPP $CPPFLAGS'
52022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52025
52026
52027 fi
52028 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
52029 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
52030 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
52031 .ok|.ok,*) ;;
52032 .|.no|.no,*) ;;
52033 *)
52034 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
52035 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
52036 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
52037 ac_status=$?
52038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52039 (exit $ac_status); }
52040 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
52041 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
52042 ac_status=$?
52043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52044 (exit $ac_status); }
52045 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
52046 fi
52047 ;;
52048 esac
52049
52050
52051 if test "$wxUSE_MAC" = 1 ; then
52052 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
52053 fi
52054 fi
52055
52056
52057 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
52058 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
52059
52060
52061 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
52062 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
52063 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
52064 $CPPFLAGS `
52065
52066 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
52067 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
52068 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
52069 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
52070 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
52071
52072 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
52073
52074
52075 if test "x$MWCC" = "xyes"; then
52076
52077 CC="$CC -cwd source -I-"
52078 CXX="$CXX -cwd source -I-"
52079 fi
52080
52081
52082 LIBS=`echo $LIBS`
52083 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
52084 EXTRALIBS_XML="$EXPAT_LINK"
52085 EXTRALIBS_HTML="$MSPACK_LINK"
52086 EXTRALIBS_MEDIA="$GST_LIBS"
52087 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
52088 if test "$wxUSE_GUI" = "yes"; then
52089 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
52090 fi
52091 if test "$wxUSE_OPENGL" = "yes"; then
52092 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
52093 fi
52094
52095 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
52096
52097 WXCONFIG_LIBS="$LIBS"
52098
52099 if test "$wxUSE_REGEX" = "builtin" ; then
52100 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
52101 fi
52102 if test "$wxUSE_EXPAT" = "builtin" ; then
52103 wxconfig_3rdparty="expat $wxconfig_3rdparty"
52104 fi
52105 if test "$wxUSE_LIBTIFF" = "builtin" ; then
52106 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
52107 fi
52108 if test "$wxUSE_LIBJPEG" = "builtin" ; then
52109 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
52110 fi
52111 if test "$wxUSE_LIBPNG" = "builtin" ; then
52112 wxconfig_3rdparty="png $wxconfig_3rdparty"
52113 fi
52114 if test "$wxUSE_ZLIB" = "builtin" ; then
52115 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
52116 fi
52117
52118 for i in $wxconfig_3rdparty ; do
52119 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
52120 done
52121
52122
52123 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
52124 WXUNIV=1
52125
52126 case "$wxUNIV_THEMES" in
52127 ''|all)
52128 cat >>confdefs.h <<\_ACEOF
52129 #define wxUSE_ALL_THEMES 1
52130 _ACEOF
52131
52132 ;;
52133
52134 *)
52135 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
52136 cat >>confdefs.h <<_ACEOF
52137 #define wxUSE_THEME_$t 1
52138 _ACEOF
52139
52140 done
52141 esac
52142 else
52143 WXUNIV=0
52144 fi
52145
52146
52147
52148
52149
52150
52151
52152
52153 if test $wxUSE_MONOLITHIC = "yes" ; then
52154 MONOLITHIC=1
52155 else
52156 MONOLITHIC=0
52157 fi
52158
52159 if test $wxUSE_PLUGINS = "yes" ; then
52160 USE_PLUGINS=1
52161 else
52162 USE_PLUGINS=0
52163 fi
52164
52165 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
52166 USE_QA=1
52167 else
52168 USE_QA=0
52169 fi
52170
52171 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
52172 OFFICIAL_BUILD=1
52173 else
52174 OFFICIAL_BUILD=0
52175 fi
52176
52177
52178
52179
52180
52181
52182
52183
52184
52185
52186
52187
52188
52189
52190
52191
52192
52193
52194
52195
52196
52197
52198
52199
52200
52201
52202
52203 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
52204
52205
52206
52207
52208
52209
52210
52211
52212
52213
52214 case "$TOOLKIT" in
52215 GTK)
52216 TOOLKIT_DESC="GTK+"
52217 if test "$WXGTK2" = 1; then
52218 TOOLKIT_DESC="$TOOLKIT_DESC 2"
52219 if test "$wxUSE_GTKPRINT" = "yes" ; then
52220 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
52221 fi
52222 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
52223 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
52224 fi
52225 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
52226 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
52227 fi
52228 if test "$wxUSE_LIBHILDON" = "yes"; then
52229 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52230 fi
52231 if test "$wxUSE_LIBHILDON2" = "yes"; then
52232 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52233 fi
52234
52235 if test "$TOOLKIT_EXTRA" != ""; then
52236 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52237 fi
52238 fi
52239 ;;
52240
52241 ?*)
52242 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52243 ;;
52244
52245 *)
52246 TOOLKIT_DESC="base only"
52247 ;;
52248 esac
52249
52250 if test "$wxUSE_WINE" = "yes"; then
52251 BAKEFILE_FORCE_PLATFORM=win32
52252 fi
52253
52254 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52255 then
52256 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52257 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52258 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52259 echo $ECHO_N "(cached) $ECHO_C" >&6
52260 else
52261
52262 echo '#include <stdio.h>
52263 const wchar_t test_var[] = L"awidetest";' > conftest.h
52264
52265 echo '#include "conftest.h"
52266 int main()
52267 {
52268 printf("%ls", test_var);
52269 return 0;
52270 }' > conftest.cpp
52271
52272 wx_cv_gcc_pch_bug="pch not supported"
52273
52274 if $CXX conftest.h >/dev/null 2>&1
52275 then
52276 wx_cv_gcc_pch_bug=
52277
52278 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52279 then
52280 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52281 grep awidetest >/dev/null
52282 then
52283 wx_cv_gcc_pch_bug=no
52284 else
52285 wx_cv_gcc_pch_bug=yes
52286 fi
52287 fi
52288 fi
52289
52290 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52291
52292 fi
52293 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52294 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52295
52296 if test "$wx_cv_gcc_pch_bug" = yes; then
52297 bk_use_pch=no
52298 fi
52299 fi
52300
52301
52302
52303
52304
52305
52306
52307 if test "x$BAKEFILE_HOST" = "x"; then
52308 if test "x${host}" = "x" ; then
52309 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52310 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52311 { (exit 1); exit 1; }; }
52312 fi
52313
52314 BAKEFILE_HOST="${host}"
52315 fi
52316
52317 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52318
52319 if test -n "$ac_tool_prefix"; then
52320 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52321 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52324 if test "${ac_cv_prog_RANLIB+set}" = set; then
52325 echo $ECHO_N "(cached) $ECHO_C" >&6
52326 else
52327 if test -n "$RANLIB"; then
52328 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52329 else
52330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52331 for as_dir in $PATH
52332 do
52333 IFS=$as_save_IFS
52334 test -z "$as_dir" && as_dir=.
52335 for ac_exec_ext in '' $ac_executable_extensions; do
52336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52337 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52339 break 2
52340 fi
52341 done
52342 done
52343 IFS=$as_save_IFS
52344
52345 fi
52346 fi
52347 RANLIB=$ac_cv_prog_RANLIB
52348 if test -n "$RANLIB"; then
52349 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52350 echo "${ECHO_T}$RANLIB" >&6; }
52351 else
52352 { echo "$as_me:$LINENO: result: no" >&5
52353 echo "${ECHO_T}no" >&6; }
52354 fi
52355
52356
52357 fi
52358 if test -z "$ac_cv_prog_RANLIB"; then
52359 ac_ct_RANLIB=$RANLIB
52360 # Extract the first word of "ranlib", so it can be a program name with args.
52361 set dummy ranlib; ac_word=$2
52362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52364 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52365 echo $ECHO_N "(cached) $ECHO_C" >&6
52366 else
52367 if test -n "$ac_ct_RANLIB"; then
52368 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52369 else
52370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52371 for as_dir in $PATH
52372 do
52373 IFS=$as_save_IFS
52374 test -z "$as_dir" && as_dir=.
52375 for ac_exec_ext in '' $ac_executable_extensions; do
52376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52377 ac_cv_prog_ac_ct_RANLIB="ranlib"
52378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52379 break 2
52380 fi
52381 done
52382 done
52383 IFS=$as_save_IFS
52384
52385 fi
52386 fi
52387 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52388 if test -n "$ac_ct_RANLIB"; then
52389 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52390 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52391 else
52392 { echo "$as_me:$LINENO: result: no" >&5
52393 echo "${ECHO_T}no" >&6; }
52394 fi
52395
52396 if test "x$ac_ct_RANLIB" = x; then
52397 RANLIB=":"
52398 else
52399 case $cross_compiling:$ac_tool_warned in
52400 yes:)
52401 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52402 whose name does not start with the host triplet. If you think this
52403 configuration is useful to you, please write to autoconf@gnu.org." >&5
52404 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52405 whose name does not start with the host triplet. If you think this
52406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52407 ac_tool_warned=yes ;;
52408 esac
52409 RANLIB=$ac_ct_RANLIB
52410 fi
52411 else
52412 RANLIB="$ac_cv_prog_RANLIB"
52413 fi
52414
52415 # Find a good install program. We prefer a C program (faster),
52416 # so one script is as good as another. But avoid the broken or
52417 # incompatible versions:
52418 # SysV /etc/install, /usr/sbin/install
52419 # SunOS /usr/etc/install
52420 # IRIX /sbin/install
52421 # AIX /bin/install
52422 # AmigaOS /C/install, which installs bootblocks on floppy discs
52423 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52424 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52425 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52426 # OS/2's system install, which has a completely different semantic
52427 # ./install, which can be erroneously created by make from ./install.sh.
52428 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52429 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52430 if test -z "$INSTALL"; then
52431 if test "${ac_cv_path_install+set}" = set; then
52432 echo $ECHO_N "(cached) $ECHO_C" >&6
52433 else
52434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52435 for as_dir in $PATH
52436 do
52437 IFS=$as_save_IFS
52438 test -z "$as_dir" && as_dir=.
52439 # Account for people who put trailing slashes in PATH elements.
52440 case $as_dir/ in
52441 ./ | .// | /cC/* | \
52442 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52443 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52444 /usr/ucb/* ) ;;
52445 *)
52446 # OSF1 and SCO ODT 3.0 have their own names for install.
52447 # Don't use installbsd from OSF since it installs stuff as root
52448 # by default.
52449 for ac_prog in ginstall scoinst install; do
52450 for ac_exec_ext in '' $ac_executable_extensions; do
52451 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52452 if test $ac_prog = install &&
52453 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52454 # AIX install. It has an incompatible calling convention.
52455 :
52456 elif test $ac_prog = install &&
52457 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52458 # program-specific install script used by HP pwplus--don't use.
52459 :
52460 else
52461 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52462 break 3
52463 fi
52464 fi
52465 done
52466 done
52467 ;;
52468 esac
52469 done
52470 IFS=$as_save_IFS
52471
52472
52473 fi
52474 if test "${ac_cv_path_install+set}" = set; then
52475 INSTALL=$ac_cv_path_install
52476 else
52477 # As a last resort, use the slow shell script. Don't cache a
52478 # value for INSTALL within a source directory, because that will
52479 # break other packages using the cache if that directory is
52480 # removed, or if the value is a relative name.
52481 INSTALL=$ac_install_sh
52482 fi
52483 fi
52484 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52485 echo "${ECHO_T}$INSTALL" >&6; }
52486
52487 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52488 # It thinks the first close brace ends the variable substitution.
52489 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52490
52491 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52492
52493 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52494
52495 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52496 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52497 LN_S=$as_ln_s
52498 if test "$LN_S" = "ln -s"; then
52499 { echo "$as_me:$LINENO: result: yes" >&5
52500 echo "${ECHO_T}yes" >&6; }
52501 else
52502 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52503 echo "${ECHO_T}no, using $LN_S" >&6; }
52504 fi
52505
52506
52507 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52508 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52509 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52510 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52511 echo $ECHO_N "(cached) $ECHO_C" >&6
52512 else
52513 cat >conftest.make <<\_ACEOF
52514 SHELL = /bin/sh
52515 all:
52516 @echo '@@@%%%=$(MAKE)=@@@%%%'
52517 _ACEOF
52518 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52519 case `${MAKE-make} -f conftest.make 2>/dev/null` in
52520 *@@@%%%=?*=@@@%%%*)
52521 eval ac_cv_prog_make_${ac_make}_set=yes;;
52522 *)
52523 eval ac_cv_prog_make_${ac_make}_set=no;;
52524 esac
52525 rm -f conftest.make
52526 fi
52527 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52528 { echo "$as_me:$LINENO: result: yes" >&5
52529 echo "${ECHO_T}yes" >&6; }
52530 SET_MAKE=
52531 else
52532 { echo "$as_me:$LINENO: result: no" >&5
52533 echo "${ECHO_T}no" >&6; }
52534 SET_MAKE="MAKE=${MAKE-make}"
52535 fi
52536
52537
52538
52539 if test "x$SUNCXX" = "xyes"; then
52540 AR=$CXX
52541 AROPTIONS="-xar -o"
52542
52543 elif test "x$SGICC" = "xyes"; then
52544 AR=$CXX
52545 AROPTIONS="-ar -o"
52546
52547 else
52548 if test -n "$ac_tool_prefix"; then
52549 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52550 set dummy ${ac_tool_prefix}ar; ac_word=$2
52551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52553 if test "${ac_cv_prog_AR+set}" = set; then
52554 echo $ECHO_N "(cached) $ECHO_C" >&6
52555 else
52556 if test -n "$AR"; then
52557 ac_cv_prog_AR="$AR" # Let the user override the test.
52558 else
52559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52560 for as_dir in $PATH
52561 do
52562 IFS=$as_save_IFS
52563 test -z "$as_dir" && as_dir=.
52564 for ac_exec_ext in '' $ac_executable_extensions; do
52565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52566 ac_cv_prog_AR="${ac_tool_prefix}ar"
52567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52568 break 2
52569 fi
52570 done
52571 done
52572 IFS=$as_save_IFS
52573
52574 fi
52575 fi
52576 AR=$ac_cv_prog_AR
52577 if test -n "$AR"; then
52578 { echo "$as_me:$LINENO: result: $AR" >&5
52579 echo "${ECHO_T}$AR" >&6; }
52580 else
52581 { echo "$as_me:$LINENO: result: no" >&5
52582 echo "${ECHO_T}no" >&6; }
52583 fi
52584
52585
52586 fi
52587 if test -z "$ac_cv_prog_AR"; then
52588 ac_ct_AR=$AR
52589 # Extract the first word of "ar", so it can be a program name with args.
52590 set dummy ar; ac_word=$2
52591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52593 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52594 echo $ECHO_N "(cached) $ECHO_C" >&6
52595 else
52596 if test -n "$ac_ct_AR"; then
52597 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52598 else
52599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52600 for as_dir in $PATH
52601 do
52602 IFS=$as_save_IFS
52603 test -z "$as_dir" && as_dir=.
52604 for ac_exec_ext in '' $ac_executable_extensions; do
52605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52606 ac_cv_prog_ac_ct_AR="ar"
52607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52608 break 2
52609 fi
52610 done
52611 done
52612 IFS=$as_save_IFS
52613
52614 fi
52615 fi
52616 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52617 if test -n "$ac_ct_AR"; then
52618 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52619 echo "${ECHO_T}$ac_ct_AR" >&6; }
52620 else
52621 { echo "$as_me:$LINENO: result: no" >&5
52622 echo "${ECHO_T}no" >&6; }
52623 fi
52624
52625 if test "x$ac_ct_AR" = x; then
52626 AR="ar"
52627 else
52628 case $cross_compiling:$ac_tool_warned in
52629 yes:)
52630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52631 whose name does not start with the host triplet. If you think this
52632 configuration is useful to you, please write to autoconf@gnu.org." >&5
52633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52634 whose name does not start with the host triplet. If you think this
52635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52636 ac_tool_warned=yes ;;
52637 esac
52638 AR=$ac_ct_AR
52639 fi
52640 else
52641 AR="$ac_cv_prog_AR"
52642 fi
52643
52644 AROPTIONS=rcu
52645 fi
52646
52647
52648 if test -n "$ac_tool_prefix"; then
52649 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52650 set dummy ${ac_tool_prefix}strip; ac_word=$2
52651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52653 if test "${ac_cv_prog_STRIP+set}" = set; then
52654 echo $ECHO_N "(cached) $ECHO_C" >&6
52655 else
52656 if test -n "$STRIP"; then
52657 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52658 else
52659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52660 for as_dir in $PATH
52661 do
52662 IFS=$as_save_IFS
52663 test -z "$as_dir" && as_dir=.
52664 for ac_exec_ext in '' $ac_executable_extensions; do
52665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52666 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52668 break 2
52669 fi
52670 done
52671 done
52672 IFS=$as_save_IFS
52673
52674 fi
52675 fi
52676 STRIP=$ac_cv_prog_STRIP
52677 if test -n "$STRIP"; then
52678 { echo "$as_me:$LINENO: result: $STRIP" >&5
52679 echo "${ECHO_T}$STRIP" >&6; }
52680 else
52681 { echo "$as_me:$LINENO: result: no" >&5
52682 echo "${ECHO_T}no" >&6; }
52683 fi
52684
52685
52686 fi
52687 if test -z "$ac_cv_prog_STRIP"; then
52688 ac_ct_STRIP=$STRIP
52689 # Extract the first word of "strip", so it can be a program name with args.
52690 set dummy strip; ac_word=$2
52691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52693 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52694 echo $ECHO_N "(cached) $ECHO_C" >&6
52695 else
52696 if test -n "$ac_ct_STRIP"; then
52697 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52698 else
52699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52700 for as_dir in $PATH
52701 do
52702 IFS=$as_save_IFS
52703 test -z "$as_dir" && as_dir=.
52704 for ac_exec_ext in '' $ac_executable_extensions; do
52705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52706 ac_cv_prog_ac_ct_STRIP="strip"
52707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52708 break 2
52709 fi
52710 done
52711 done
52712 IFS=$as_save_IFS
52713
52714 fi
52715 fi
52716 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52717 if test -n "$ac_ct_STRIP"; then
52718 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52719 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52720 else
52721 { echo "$as_me:$LINENO: result: no" >&5
52722 echo "${ECHO_T}no" >&6; }
52723 fi
52724
52725 if test "x$ac_ct_STRIP" = x; then
52726 STRIP=":"
52727 else
52728 case $cross_compiling:$ac_tool_warned in
52729 yes:)
52730 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52731 whose name does not start with the host triplet. If you think this
52732 configuration is useful to you, please write to autoconf@gnu.org." >&5
52733 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52734 whose name does not start with the host triplet. If you think this
52735 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52736 ac_tool_warned=yes ;;
52737 esac
52738 STRIP=$ac_ct_STRIP
52739 fi
52740 else
52741 STRIP="$ac_cv_prog_STRIP"
52742 fi
52743
52744 if test -n "$ac_tool_prefix"; then
52745 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52746 set dummy ${ac_tool_prefix}nm; ac_word=$2
52747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52749 if test "${ac_cv_prog_NM+set}" = set; then
52750 echo $ECHO_N "(cached) $ECHO_C" >&6
52751 else
52752 if test -n "$NM"; then
52753 ac_cv_prog_NM="$NM" # Let the user override the test.
52754 else
52755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52756 for as_dir in $PATH
52757 do
52758 IFS=$as_save_IFS
52759 test -z "$as_dir" && as_dir=.
52760 for ac_exec_ext in '' $ac_executable_extensions; do
52761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52762 ac_cv_prog_NM="${ac_tool_prefix}nm"
52763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52764 break 2
52765 fi
52766 done
52767 done
52768 IFS=$as_save_IFS
52769
52770 fi
52771 fi
52772 NM=$ac_cv_prog_NM
52773 if test -n "$NM"; then
52774 { echo "$as_me:$LINENO: result: $NM" >&5
52775 echo "${ECHO_T}$NM" >&6; }
52776 else
52777 { echo "$as_me:$LINENO: result: no" >&5
52778 echo "${ECHO_T}no" >&6; }
52779 fi
52780
52781
52782 fi
52783 if test -z "$ac_cv_prog_NM"; then
52784 ac_ct_NM=$NM
52785 # Extract the first word of "nm", so it can be a program name with args.
52786 set dummy nm; ac_word=$2
52787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52789 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52790 echo $ECHO_N "(cached) $ECHO_C" >&6
52791 else
52792 if test -n "$ac_ct_NM"; then
52793 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52794 else
52795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52796 for as_dir in $PATH
52797 do
52798 IFS=$as_save_IFS
52799 test -z "$as_dir" && as_dir=.
52800 for ac_exec_ext in '' $ac_executable_extensions; do
52801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52802 ac_cv_prog_ac_ct_NM="nm"
52803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52804 break 2
52805 fi
52806 done
52807 done
52808 IFS=$as_save_IFS
52809
52810 fi
52811 fi
52812 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52813 if test -n "$ac_ct_NM"; then
52814 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52815 echo "${ECHO_T}$ac_ct_NM" >&6; }
52816 else
52817 { echo "$as_me:$LINENO: result: no" >&5
52818 echo "${ECHO_T}no" >&6; }
52819 fi
52820
52821 if test "x$ac_ct_NM" = x; then
52822 NM=":"
52823 else
52824 case $cross_compiling:$ac_tool_warned in
52825 yes:)
52826 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52827 whose name does not start with the host triplet. If you think this
52828 configuration is useful to you, please write to autoconf@gnu.org." >&5
52829 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52830 whose name does not start with the host triplet. If you think this
52831 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52832 ac_tool_warned=yes ;;
52833 esac
52834 NM=$ac_ct_NM
52835 fi
52836 else
52837 NM="$ac_cv_prog_NM"
52838 fi
52839
52840
52841 INSTALL_DIR="mkdir -p"
52842
52843
52844 LDFLAGS_GUI=
52845 case ${BAKEFILE_HOST} in
52846 *-*-cygwin* | *-*-mingw32* )
52847 LDFLAGS_GUI="-mwindows"
52848 esac
52849
52850
52851 fi
52852
52853 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52854 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52855 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52856 echo $ECHO_N "(cached) $ECHO_C" >&6
52857 else
52858
52859 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52860 egrep -s GNU > /dev/null); then
52861 bakefile_cv_prog_makeisgnu="yes"
52862 else
52863 bakefile_cv_prog_makeisgnu="no"
52864 fi
52865
52866 fi
52867 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52868 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52869
52870 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52871 IF_GNU_MAKE=""
52872 else
52873 IF_GNU_MAKE="#"
52874 fi
52875
52876
52877
52878 PLATFORM_UNIX=0
52879 PLATFORM_WIN32=0
52880 PLATFORM_MSDOS=0
52881 PLATFORM_MAC=0
52882 PLATFORM_MACOS=0
52883 PLATFORM_MACOSX=0
52884 PLATFORM_OS2=0
52885 PLATFORM_BEOS=0
52886
52887 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52888 case "${BAKEFILE_HOST}" in
52889 *-*-mingw32* )
52890 PLATFORM_WIN32=1
52891 ;;
52892 *-pc-msdosdjgpp )
52893 PLATFORM_MSDOS=1
52894 ;;
52895 *-pc-os2_emx | *-pc-os2-emx )
52896 PLATFORM_OS2=1
52897 ;;
52898 *-*-darwin* )
52899 PLATFORM_MAC=1
52900 PLATFORM_MACOSX=1
52901 ;;
52902 *-*-beos* )
52903 PLATFORM_BEOS=1
52904 ;;
52905 powerpc-apple-macos* )
52906 PLATFORM_MAC=1
52907 PLATFORM_MACOS=1
52908 ;;
52909 * )
52910 PLATFORM_UNIX=1
52911 ;;
52912 esac
52913 else
52914 case "$BAKEFILE_FORCE_PLATFORM" in
52915 win32 )
52916 PLATFORM_WIN32=1
52917 ;;
52918 msdos )
52919 PLATFORM_MSDOS=1
52920 ;;
52921 os2 )
52922 PLATFORM_OS2=1
52923 ;;
52924 darwin )
52925 PLATFORM_MAC=1
52926 PLATFORM_MACOSX=1
52927 ;;
52928 unix )
52929 PLATFORM_UNIX=1
52930 ;;
52931 beos )
52932 PLATFORM_BEOS=1
52933 ;;
52934 * )
52935 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52936 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52937 { (exit 1); exit 1; }; }
52938 ;;
52939 esac
52940 fi
52941
52942
52943
52944
52945
52946
52947
52948
52949
52950
52951
52952 # Check whether --enable-omf was given.
52953 if test "${enable_omf+set}" = set; then
52954 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52955 fi
52956
52957
52958 case "${BAKEFILE_HOST}" in
52959 *-*-darwin* )
52960 if test "x$GCC" = "xyes"; then
52961 CFLAGS="$CFLAGS -fno-common"
52962 CXXFLAGS="$CXXFLAGS -fno-common"
52963 fi
52964 if test "x$XLCC" = "xyes"; then
52965 CFLAGS="$CFLAGS -qnocommon"
52966 CXXFLAGS="$CXXFLAGS -qnocommon"
52967 fi
52968 ;;
52969
52970 *-pc-os2_emx | *-pc-os2-emx )
52971 if test "x$bk_os2_use_omf" = "xyes" ; then
52972 AR=emxomfar
52973 RANLIB=:
52974 LDFLAGS="-Zomf $LDFLAGS"
52975 CFLAGS="-Zomf $CFLAGS"
52976 CXXFLAGS="-Zomf $CXXFLAGS"
52977 OS2_LIBEXT="lib"
52978 else
52979 OS2_LIBEXT="a"
52980 fi
52981 ;;
52982
52983 i*86-*-beos* )
52984 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52985 ;;
52986 esac
52987
52988
52989 SO_SUFFIX="so"
52990 SO_SUFFIX_MODULE="so"
52991 EXEEXT=""
52992 LIBPREFIX="lib"
52993 LIBEXT=".a"
52994 DLLPREFIX="lib"
52995 DLLPREFIX_MODULE=""
52996 DLLIMP_SUFFIX=""
52997 dlldir="$libdir"
52998
52999 case "${BAKEFILE_HOST}" in
53000 ia64-hp-hpux* )
53001 ;;
53002 *-hp-hpux* )
53003 SO_SUFFIX="sl"
53004 SO_SUFFIX_MODULE="sl"
53005 ;;
53006 *-*-aix* )
53007 SO_SUFFIX="a"
53008 SO_SUFFIX_MODULE="a"
53009 ;;
53010 *-*-cygwin* )
53011 SO_SUFFIX="dll"
53012 SO_SUFFIX_MODULE="dll"
53013 DLLIMP_SUFFIX="dll.a"
53014 EXEEXT=".exe"
53015 DLLPREFIX="cyg"
53016 dlldir="$bindir"
53017 ;;
53018 *-*-mingw32* )
53019 SO_SUFFIX="dll"
53020 SO_SUFFIX_MODULE="dll"
53021 DLLIMP_SUFFIX="dll.a"
53022 EXEEXT=".exe"
53023 DLLPREFIX=""
53024 dlldir="$bindir"
53025 ;;
53026 *-pc-msdosdjgpp )
53027 EXEEXT=".exe"
53028 DLLPREFIX=""
53029 dlldir="$bindir"
53030 ;;
53031 *-pc-os2_emx | *-pc-os2-emx )
53032 SO_SUFFIX="dll"
53033 SO_SUFFIX_MODULE="dll"
53034 DLLIMP_SUFFIX=$OS2_LIBEXT
53035 EXEEXT=".exe"
53036 DLLPREFIX=""
53037 LIBPREFIX=""
53038 LIBEXT=".$OS2_LIBEXT"
53039 dlldir="$bindir"
53040 ;;
53041 *-*-darwin* )
53042 SO_SUFFIX="dylib"
53043 SO_SUFFIX_MODULE="bundle"
53044 ;;
53045 esac
53046
53047 if test "x$DLLIMP_SUFFIX" = "x" ; then
53048 DLLIMP_SUFFIX="$SO_SUFFIX"
53049 fi
53050
53051
53052
53053
53054
53055
53056
53057
53058
53059
53060
53061
53062 PIC_FLAG=""
53063 if test "x$GCC" = "xyes"; then
53064 PIC_FLAG="-fPIC"
53065 fi
53066
53067 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
53068 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
53069 WINDOWS_IMPLIB=0
53070
53071 case "${BAKEFILE_HOST}" in
53072 *-hp-hpux* )
53073 if test "x$GCC" != "xyes"; then
53074 LDFLAGS="$LDFLAGS -L/usr/lib"
53075
53076 SHARED_LD_CC="${CC} -b -o"
53077 SHARED_LD_CXX="${CXX} -b -o"
53078 PIC_FLAG="+Z"
53079 fi
53080 ;;
53081
53082 *-*-linux* )
53083 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
53084 PIC_FLAG="-KPIC"
53085 elif test "x$SUNCXX" = "xyes"; then
53086 SHARED_LD_CC="${CC} -G -o"
53087 SHARED_LD_CXX="${CXX} -G -o"
53088 PIC_FLAG="-KPIC"
53089 fi
53090 ;;
53091
53092 *-*-solaris2* )
53093 if test "x$SUNCXX" = xyes ; then
53094 SHARED_LD_CC="${CC} -G -o"
53095 SHARED_LD_CXX="${CXX} -G -o"
53096 PIC_FLAG="-KPIC"
53097 fi
53098 ;;
53099
53100 *-*-darwin* )
53101
53102 D='$'
53103 cat <<EOF >shared-ld-sh
53104 #!/bin/sh
53105 #-----------------------------------------------------------------------------
53106 #-- Name: distrib/mac/shared-ld-sh
53107 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
53108 #-- Author: Gilles Depeyrot
53109 #-- Copyright: (c) 2002 Gilles Depeyrot
53110 #-- Licence: any use permitted
53111 #-----------------------------------------------------------------------------
53112
53113 verbose=0
53114 args=""
53115 objects=""
53116 linking_flag="-dynamiclib"
53117 ldargs="-r -keep_private_externs -nostdlib"
53118
53119 if test "x${D}CXX" = "x"; then
53120 CXX="c++"
53121 fi
53122
53123 while test ${D}# -gt 0; do
53124 case ${D}1 in
53125
53126 -v)
53127 verbose=1
53128 ;;
53129
53130 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
53131 # collect these options and values
53132 args="${D}{args} ${D}1 ${D}2"
53133 shift
53134 ;;
53135
53136 -arch|-isysroot)
53137 # collect these options and values
53138 ldargs="${D}{ldargs} ${D}1 ${D}2"
53139 shift
53140 ;;
53141
53142 -s|-Wl,*)
53143 # collect these load args
53144 ldargs="${D}{ldargs} ${D}1"
53145 ;;
53146
53147 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
53148 # collect these options
53149 args="${D}{args} ${D}1"
53150 ;;
53151
53152 -dynamiclib|-bundle)
53153 linking_flag="${D}1"
53154 ;;
53155
53156 -*)
53157 echo "shared-ld: unhandled option '${D}1'"
53158 exit 1
53159 ;;
53160
53161 *.o | *.a | *.dylib)
53162 # collect object files
53163 objects="${D}{objects} ${D}1"
53164 ;;
53165
53166 *)
53167 echo "shared-ld: unhandled argument '${D}1'"
53168 exit 1
53169 ;;
53170
53171 esac
53172 shift
53173 done
53174
53175 status=0
53176
53177 #
53178 # Link one module containing all the others
53179 #
53180 if test ${D}{verbose} = 1; then
53181 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
53182 fi
53183 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
53184 status=${D}?
53185
53186 #
53187 # Link the shared library from the single module created, but only if the
53188 # previous command didn't fail:
53189 #
53190 if test ${D}{status} = 0; then
53191 if test ${D}{verbose} = 1; then
53192 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
53193 fi
53194 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
53195 status=${D}?
53196 fi
53197
53198 #
53199 # Remove intermediate module
53200 #
53201 rm -f master.${D}${D}.o
53202
53203 exit ${D}status
53204 EOF
53205
53206 chmod +x shared-ld-sh
53207
53208 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
53209 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
53210
53211
53212 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
53213 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
53214 if test "${bakefile_cv_gcc31+set}" = set; then
53215 echo $ECHO_N "(cached) $ECHO_C" >&6
53216 else
53217
53218 cat >conftest.$ac_ext <<_ACEOF
53219 /* confdefs.h. */
53220 _ACEOF
53221 cat confdefs.h >>conftest.$ac_ext
53222 cat >>conftest.$ac_ext <<_ACEOF
53223 /* end confdefs.h. */
53224
53225 int
53226 main ()
53227 {
53228
53229 #if (__GNUC__ < 3) || \
53230 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
53231 This is old gcc
53232 #endif
53233
53234 ;
53235 return 0;
53236 }
53237 _ACEOF
53238 rm -f conftest.$ac_objext
53239 if { (ac_try="$ac_compile"
53240 case "(($ac_try" in
53241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
53242 *) ac_try_echo=$ac_try;;
53243 esac
53244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53245 (eval "$ac_compile") 2>conftest.er1
53246 ac_status=$?
53247 grep -v '^ *+' conftest.er1 >conftest.err
53248 rm -f conftest.er1
53249 cat conftest.err >&5
53250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53251 (exit $ac_status); } && {
53252 test -z "$ac_c_werror_flag" ||
53253 test ! -s conftest.err
53254 } && test -s conftest.$ac_objext; then
53255
53256 bakefile_cv_gcc31=yes
53257
53258 else
53259 echo "$as_me: failed program was:" >&5
53260 sed 's/^/| /' conftest.$ac_ext >&5
53261
53262
53263 bakefile_cv_gcc31=no
53264
53265
53266 fi
53267
53268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53269
53270 fi
53271 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53272 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53273 if test "$bakefile_cv_gcc31" = "no"; then
53274 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53275 SHARED_LD_CXX="$SHARED_LD_CC"
53276 else
53277 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53278 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53279 fi
53280
53281 if test "x$GCC" == "xyes"; then
53282 PIC_FLAG="-dynamic -fPIC"
53283 fi
53284 if test "x$XLCC" = "xyes"; then
53285 PIC_FLAG="-dynamic -DPIC"
53286 fi
53287 ;;
53288
53289 *-*-aix* )
53290 if test "x$GCC" = "xyes"; then
53291 PIC_FLAG=""
53292
53293 case "${BAKEFILE_HOST}" in
53294 *-*-aix5* )
53295 LD_EXPFULL="-Wl,-bexpfull"
53296 ;;
53297 esac
53298
53299 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
53300 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
53301 else
53302 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53303 set dummy makeC++SharedLib; ac_word=$2
53304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53306 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53307 echo $ECHO_N "(cached) $ECHO_C" >&6
53308 else
53309 if test -n "$AIX_CXX_LD"; then
53310 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
53311 else
53312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53313 for as_dir in $PATH
53314 do
53315 IFS=$as_save_IFS
53316 test -z "$as_dir" && as_dir=.
53317 for ac_exec_ext in '' $ac_executable_extensions; do
53318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53319 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
53320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53321 break 2
53322 fi
53323 done
53324 done
53325 IFS=$as_save_IFS
53326
53327 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
53328 fi
53329 fi
53330 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
53331 if test -n "$AIX_CXX_LD"; then
53332 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53333 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53334 else
53335 { echo "$as_me:$LINENO: result: no" >&5
53336 echo "${ECHO_T}no" >&6; }
53337 fi
53338
53339
53340 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
53341 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
53342 fi
53343 ;;
53344
53345 *-*-beos* )
53346 SHARED_LD_CC="${LD} -nostart -o"
53347 SHARED_LD_CXX="${LD} -nostart -o"
53348 ;;
53349
53350 *-*-irix* )
53351 if test "x$GCC" != "xyes"; then
53352 PIC_FLAG="-KPIC"
53353 fi
53354 ;;
53355
53356 *-*-cygwin* | *-*-mingw32* )
53357 PIC_FLAG=""
53358 SHARED_LD_CC="\$(CC) -shared -o"
53359 SHARED_LD_CXX="\$(CXX) -shared -o"
53360 WINDOWS_IMPLIB=1
53361 ;;
53362
53363 *-pc-os2_emx | *-pc-os2-emx )
53364 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53365 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53366 PIC_FLAG=""
53367
53368 D='$'
53369 cat <<EOF >dllar.sh
53370 #!/bin/sh
53371 #
53372 # dllar - a tool to build both a .dll and an .a file
53373 # from a set of object (.o) files for EMX/OS2.
53374 #
53375 # Written by Andrew Zabolotny, bit@freya.etu.ru
53376 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53377 #
53378 # This script will accept a set of files on the command line.
53379 # All the public symbols from the .o files will be exported into
53380 # a .DEF file, then linker will be run (through gcc) against them to
53381 # build a shared library consisting of all given .o files. All libraries
53382 # (.a) will be first decompressed into component .o files then act as
53383 # described above. You can optionally give a description (-d "description")
53384 # which will be put into .DLL. To see the list of accepted options (as well
53385 # as command-line format) simply run this program without options. The .DLL
53386 # is built to be imported by name (there is no guarantee that new versions
53387 # of the library you build will have same ordinals for same symbols).
53388 #
53389 # dllar is free software; you can redistribute it and/or modify
53390 # it under the terms of the GNU General Public License as published by
53391 # the Free Software Foundation; either version 2, or (at your option)
53392 # any later version.
53393 #
53394 # dllar is distributed in the hope that it will be useful,
53395 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53396 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53397 # GNU General Public License for more details.
53398 #
53399 # You should have received a copy of the GNU General Public License
53400 # along with dllar; see the file COPYING. If not, write to the Free
53401 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53402 # 02111-1307, USA.
53403
53404 # To successfuly run this program you will need:
53405 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53406 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53407 # - gcc
53408 # (used to build the .dll)
53409 # - emxexp
53410 # (used to create .def file from .o files)
53411 # - emximp
53412 # (used to create .a file from .def file)
53413 # - GNU text utilites (cat, sort, uniq)
53414 # used to process emxexp output
53415 # - GNU file utilities (mv, rm)
53416 # - GNU sed
53417 # - lxlite (optional, see flag below)
53418 # (used for general .dll cleanup)
53419 #
53420
53421 flag_USE_LXLITE=1;
53422
53423 #
53424 # helper functions
53425 # basnam, variant of basename, which does _not_ remove the path, _iff_
53426 # second argument (suffix to remove) is given
53427 basnam(){
53428 case ${D}# in
53429 1)
53430 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53431 ;;
53432 2)
53433 echo ${D}1 | sed 's/'${D}2'${D}//'
53434 ;;
53435 *)
53436 echo "error in basnam ${D}*"
53437 exit 8
53438 ;;
53439 esac
53440 }
53441
53442 # Cleanup temporary files and output
53443 CleanUp() {
53444 cd ${D}curDir
53445 for i in ${D}inputFiles ; do
53446 case ${D}i in
53447 *!)
53448 rm -rf \`basnam ${D}i !\`
53449 ;;
53450 *)
53451 ;;
53452 esac
53453 done
53454
53455 # Kill result in case of failure as there is just to many stupid make/nmake
53456 # things out there which doesn't do this.
53457 if [ ${D}# -eq 0 ]; then
53458 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53459 fi
53460 }
53461
53462 # Print usage and exit script with rc=1.
53463 PrintHelp() {
53464 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53465 echo ' [-name-mangler-script script.sh]'
53466 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53467 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53468 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53469 echo ' [*.o] [*.a]'
53470 echo '*> "output_file" should have no extension.'
53471 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53472 echo ' The import library name is derived from this and is set to "name".a,'
53473 echo ' unless overridden by -import'
53474 echo '*> "importlib_name" should have no extension.'
53475 echo ' If it has the .o, or .a extension, it is automatically removed.'
53476 echo ' This name is used as the import library name and may be longer and'
53477 echo ' more descriptive than the DLL name which has to follow the old '
53478 echo ' 8.3 convention of FAT.'
53479 echo '*> "script.sh may be given to override the output_file name by a'
53480 echo ' different name. It is mainly useful if the regular make process'
53481 echo ' of some package does not take into account OS/2 restriction of'
53482 echo ' DLL name lengths. It takes the importlib name as input and is'
53483 echo ' supposed to procude a shorter name as output. The script should'
53484 echo ' expect to get importlib_name without extension and should produce'
53485 echo ' a (max.) 8 letter name without extension.'
53486 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53487 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53488 echo ' These flags will be put at the start of GCC command line.'
53489 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53490 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53491 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53492 echo ' If the last character of a symbol is "*", all symbols beginning'
53493 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53494 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53495 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53496 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53497 echo ' C runtime DLLs.'
53498 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53499 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53500 echo ' unchanged to GCC at the end of command line.'
53501 echo '*> If you create a DLL from a library and you do not specify -o,'
53502 echo ' the basename for DLL and import library will be set to library name,'
53503 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53504 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53505 echo ' library will be renamed into gcc_s.a.'
53506 echo '--------'
53507 echo 'Example:'
53508 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53509 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53510 CleanUp
53511 exit 1
53512 }
53513
53514 # Execute a command.
53515 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53516 # @Uses Whatever CleanUp() uses.
53517 doCommand() {
53518 echo "${D}*"
53519 eval ${D}*
53520 rcCmd=${D}?
53521
53522 if [ ${D}rcCmd -ne 0 ]; then
53523 echo "command failed, exit code="${D}rcCmd
53524 CleanUp
53525 exit ${D}rcCmd
53526 fi
53527 }
53528
53529 # main routine
53530 # setup globals
53531 cmdLine=${D}*
53532 outFile=""
53533 outimpFile=""
53534 inputFiles=""
53535 renameScript=""
53536 description=""
53537 CC=gcc.exe
53538 CFLAGS="-s -Zcrtdll"
53539 EXTRA_CFLAGS=""
53540 EXPORT_BY_ORDINALS=0
53541 exclude_symbols=""
53542 library_flags=""
53543 curDir=\`pwd\`
53544 curDirS=curDir
53545 case ${D}curDirS in
53546 */)
53547 ;;
53548 *)
53549 curDirS=${D}{curDirS}"/"
53550 ;;
53551 esac
53552 # Parse commandline
53553 libsToLink=0
53554 omfLinking=0
53555 while [ ${D}1 ]; do
53556 case ${D}1 in
53557 -ord*)
53558 EXPORT_BY_ORDINALS=1;
53559 ;;
53560 -o*)
53561 shift
53562 outFile=${D}1
53563 ;;
53564 -i*)
53565 shift
53566 outimpFile=${D}1
53567 ;;
53568 -name-mangler-script)
53569 shift
53570 renameScript=${D}1
53571 ;;
53572 -d*)
53573 shift
53574 description=${D}1
53575 ;;
53576 -f*)
53577 shift
53578 CFLAGS=${D}1
53579 ;;
53580 -c*)
53581 shift
53582 CC=${D}1
53583 ;;
53584 -h*)
53585 PrintHelp
53586 ;;
53587 -ex*)
53588 shift
53589 exclude_symbols=${D}{exclude_symbols}${D}1" "
53590 ;;
53591 -libf*)
53592 shift
53593 library_flags=${D}{library_flags}${D}1" "
53594 ;;
53595 -nocrt*)
53596 CFLAGS="-s"
53597 ;;
53598 -nolxl*)
53599 flag_USE_LXLITE=0
53600 ;;
53601 -* | /*)
53602 case ${D}1 in
53603 -L* | -l*)
53604 libsToLink=1
53605 ;;
53606 -Zomf)
53607 omfLinking=1
53608 ;;
53609 *)
53610 ;;
53611 esac
53612 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53613 ;;
53614 *.dll)
53615 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53616 if [ ${D}omfLinking -eq 1 ]; then
53617 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53618 else
53619 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53620 fi
53621 ;;
53622 *)
53623 found=0;
53624 if [ ${D}libsToLink -ne 0 ]; then
53625 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53626 else
53627 for file in ${D}1 ; do
53628 if [ -f ${D}file ]; then
53629 inputFiles="${D}{inputFiles} ${D}file"
53630 found=1
53631 fi
53632 done
53633 if [ ${D}found -eq 0 ]; then
53634 echo "ERROR: No file(s) found: "${D}1
53635 exit 8
53636 fi
53637 fi
53638 ;;
53639 esac
53640 shift
53641 done # iterate cmdline words
53642
53643 #
53644 if [ -z "${D}inputFiles" ]; then
53645 echo "dllar: no input files"
53646 PrintHelp
53647 fi
53648
53649 # Now extract all .o files from .a files
53650 newInputFiles=""
53651 for file in ${D}inputFiles ; do
53652 case ${D}file in
53653 *.a | *.lib)
53654 case ${D}file in
53655 *.a)
53656 suffix=".a"
53657 AR="ar"
53658 ;;
53659 *.lib)
53660 suffix=".lib"
53661 AR="emxomfar"
53662 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53663 ;;
53664 *)
53665 ;;
53666 esac
53667 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53668 mkdir ${D}dirname
53669 if [ ${D}? -ne 0 ]; then
53670 echo "Failed to create subdirectory ./${D}dirname"
53671 CleanUp
53672 exit 8;
53673 fi
53674 # Append '!' to indicate archive
53675 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53676 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53677 cd ${D}curDir
53678 found=0;
53679 for subfile in ${D}dirname/*.o* ; do
53680 if [ -f ${D}subfile ]; then
53681 found=1
53682 if [ -s ${D}subfile ]; then
53683 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53684 newInputFiles="${D}newInputFiles ${D}subfile"
53685 fi
53686 fi
53687 done
53688 if [ ${D}found -eq 0 ]; then
53689 echo "WARNING: there are no files in archive \\'${D}file\\'"
53690 fi
53691 ;;
53692 *)
53693 newInputFiles="${D}{newInputFiles} ${D}file"
53694 ;;
53695 esac
53696 done
53697 inputFiles="${D}newInputFiles"
53698
53699 # Output filename(s).
53700 do_backup=0;
53701 if [ -z ${D}outFile ]; then
53702 do_backup=1;
53703 set outFile ${D}inputFiles; outFile=${D}2
53704 fi
53705
53706 # If it is an archive, remove the '!' and the '_%' suffixes
53707 case ${D}outFile in
53708 *_%!)
53709 outFile=\`basnam ${D}outFile _%!\`
53710 ;;
53711 *)
53712 ;;
53713 esac
53714 case ${D}outFile in
53715 *.dll)
53716 outFile=\`basnam ${D}outFile .dll\`
53717 ;;
53718 *.DLL)
53719 outFile=\`basnam ${D}outFile .DLL\`
53720 ;;
53721 *.o)
53722 outFile=\`basnam ${D}outFile .o\`
53723 ;;
53724 *.obj)
53725 outFile=\`basnam ${D}outFile .obj\`
53726 ;;
53727 *.a)
53728 outFile=\`basnam ${D}outFile .a\`
53729 ;;
53730 *.lib)
53731 outFile=\`basnam ${D}outFile .lib\`
53732 ;;
53733 *)
53734 ;;
53735 esac
53736 case ${D}outimpFile in
53737 *.a)
53738 outimpFile=\`basnam ${D}outimpFile .a\`
53739 ;;
53740 *.lib)
53741 outimpFile=\`basnam ${D}outimpFile .lib\`
53742 ;;
53743 *)
53744 ;;
53745 esac
53746 if [ -z ${D}outimpFile ]; then
53747 outimpFile=${D}outFile
53748 fi
53749 defFile="${D}{outFile}.def"
53750 arcFile="${D}{outimpFile}.a"
53751 arcFile2="${D}{outimpFile}.lib"
53752
53753 #create ${D}dllFile as something matching 8.3 restrictions,
53754 if [ -z ${D}renameScript ] ; then
53755 dllFile="${D}outFile"
53756 else
53757 dllFile=\`${D}renameScript ${D}outimpFile\`
53758 fi
53759
53760 if [ ${D}do_backup -ne 0 ] ; then
53761 if [ -f ${D}arcFile ] ; then
53762 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53763 fi
53764 if [ -f ${D}arcFile2 ] ; then
53765 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53766 fi
53767 fi
53768
53769 # Extract public symbols from all the object files.
53770 tmpdefFile=${D}{defFile}_%
53771 rm -f ${D}tmpdefFile
53772 for file in ${D}inputFiles ; do
53773 case ${D}file in
53774 *!)
53775 ;;
53776 *)
53777 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53778 ;;
53779 esac
53780 done
53781
53782 # Create the def file.
53783 rm -f ${D}defFile
53784 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53785 dllFile="${D}{dllFile}.dll"
53786 if [ ! -z ${D}description ]; then
53787 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53788 fi
53789 echo "EXPORTS" >> ${D}defFile
53790
53791 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53792 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53793
53794 # Checks if the export is ok or not.
53795 for word in ${D}exclude_symbols; do
53796 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53797 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53798 done
53799
53800
53801 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53802 sed "=" < ${D}tmpdefFile | \\
53803 sed '
53804 N
53805 : loop
53806 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53807 t loop
53808 ' > ${D}{tmpdefFile}%
53809 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53810 else
53811 rm -f ${D}{tmpdefFile}%
53812 fi
53813 cat ${D}tmpdefFile >> ${D}defFile
53814 rm -f ${D}tmpdefFile
53815
53816 # Do linking, create implib, and apply lxlite.
53817 gccCmdl="";
53818 for file in ${D}inputFiles ; do
53819 case ${D}file in
53820 *!)
53821 ;;
53822 *)
53823 gccCmdl="${D}gccCmdl ${D}file"
53824 ;;
53825 esac
53826 done
53827 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53828 touch "${D}{outFile}.dll"
53829
53830 doCommand "emximp -o ${D}arcFile ${D}defFile"
53831 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53832 add_flags="";
53833 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53834 add_flags="-ynd"
53835 fi
53836 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53837 fi
53838 doCommand "emxomf -s -l ${D}arcFile"
53839
53840 # Successful exit.
53841 CleanUp 1
53842 exit 0
53843 EOF
53844
53845 chmod +x dllar.sh
53846 ;;
53847
53848 powerpc-apple-macos* | \
53849 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
53850 *-*-mirbsd* | \
53851 *-*-sunos4* | \
53852 *-*-osf* | \
53853 *-*-dgux5* | \
53854 *-*-sysv5* | \
53855 *-pc-msdosdjgpp )
53856 ;;
53857
53858 *)
53859 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53860 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53861 { (exit 1); exit 1; }; }
53862 esac
53863
53864 if test "x$PIC_FLAG" != "x" ; then
53865 PIC_FLAG="$PIC_FLAG -DPIC"
53866 fi
53867
53868 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53869 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
53870 fi
53871 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53872 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
53873 fi
53874
53875
53876
53877
53878
53879
53880
53881
53882
53883 USE_SOVERSION=0
53884 USE_SOVERLINUX=0
53885 USE_SOVERSOLARIS=0
53886 USE_SOVERCYGWIN=0
53887 USE_SOTWOSYMLINKS=0
53888 USE_MACVERSION=0
53889 SONAME_FLAG=
53890
53891 case "${BAKEFILE_HOST}" in
53892 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53893 *-*-k*bsd*-gnu | *-*-mirbsd* )
53894 if test "x$SUNCXX" = "xyes"; then
53895 SONAME_FLAG="-h "
53896 else
53897 SONAME_FLAG="-Wl,-soname,"
53898 fi
53899 USE_SOVERSION=1
53900 USE_SOVERLINUX=1
53901 USE_SOTWOSYMLINKS=1
53902 ;;
53903
53904 *-*-solaris2* )
53905 SONAME_FLAG="-h "
53906 USE_SOVERSION=1
53907 USE_SOVERSOLARIS=1
53908 ;;
53909
53910 *-*-darwin* )
53911 USE_MACVERSION=1
53912 USE_SOVERSION=1
53913 USE_SOTWOSYMLINKS=1
53914 ;;
53915
53916 *-*-cygwin* )
53917 USE_SOVERSION=1
53918 USE_SOVERCYGWIN=1
53919 ;;
53920 esac
53921
53922
53923
53924
53925
53926
53927
53928
53929
53930
53931 # Check whether --enable-dependency-tracking was given.
53932 if test "${enable_dependency_tracking+set}" = set; then
53933 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
53934 fi
53935
53936
53937 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53938 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53939
53940 BK_DEPS=""
53941 if test "x$bk_use_trackdeps" = "xno" ; then
53942 DEPS_TRACKING=0
53943 { echo "$as_me:$LINENO: result: disabled" >&5
53944 echo "${ECHO_T}disabled" >&6; }
53945 else
53946 DEPS_TRACKING=1
53947
53948 if test "x$GCC" = "xyes"; then
53949 DEPSMODE=gcc
53950 case "${BAKEFILE_HOST}" in
53951 *-*-darwin* )
53952 DEPSFLAG="-no-cpp-precomp -MMD"
53953 ;;
53954 * )
53955 DEPSFLAG="-MMD"
53956 ;;
53957 esac
53958 { echo "$as_me:$LINENO: result: gcc" >&5
53959 echo "${ECHO_T}gcc" >&6; }
53960 elif test "x$MWCC" = "xyes"; then
53961 DEPSMODE=mwcc
53962 DEPSFLAG="-MM"
53963 { echo "$as_me:$LINENO: result: mwcc" >&5
53964 echo "${ECHO_T}mwcc" >&6; }
53965 elif test "x$SUNCC" = "xyes"; then
53966 DEPSMODE=unixcc
53967 DEPSFLAG="-xM1"
53968 { echo "$as_me:$LINENO: result: Sun cc" >&5
53969 echo "${ECHO_T}Sun cc" >&6; }
53970 elif test "x$SGICC" = "xyes"; then
53971 DEPSMODE=unixcc
53972 DEPSFLAG="-M"
53973 { echo "$as_me:$LINENO: result: SGI cc" >&5
53974 echo "${ECHO_T}SGI cc" >&6; }
53975 elif test "x$HPCC" = "xyes"; then
53976 DEPSMODE=unixcc
53977 DEPSFLAG="+make"
53978 { echo "$as_me:$LINENO: result: HP cc" >&5
53979 echo "${ECHO_T}HP cc" >&6; }
53980 elif test "x$COMPAQCC" = "xyes"; then
53981 DEPSMODE=gcc
53982 DEPSFLAG="-MD"
53983 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53984 echo "${ECHO_T}Compaq cc" >&6; }
53985 else
53986 DEPS_TRACKING=0
53987 { echo "$as_me:$LINENO: result: none" >&5
53988 echo "${ECHO_T}none" >&6; }
53989 fi
53990
53991 if test $DEPS_TRACKING = 1 ; then
53992
53993 D='$'
53994 cat <<EOF >bk-deps
53995 #!/bin/sh
53996
53997 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53998 # script. It is used to track C/C++ files dependencies in portable way.
53999 #
54000 # Permission is given to use this file in any way.
54001
54002 DEPSMODE=${DEPSMODE}
54003 DEPSFLAG="${DEPSFLAG}"
54004 DEPSDIRBASE=.deps
54005
54006 if test ${D}DEPSMODE = gcc ; then
54007 ${D}* ${D}{DEPSFLAG}
54008 status=${D}?
54009
54010 # determine location of created files:
54011 while test ${D}# -gt 0; do
54012 case "${D}1" in
54013 -o )
54014 shift
54015 objfile=${D}1
54016 ;;
54017 -* )
54018 ;;
54019 * )
54020 srcfile=${D}1
54021 ;;
54022 esac
54023 shift
54024 done
54025 objfilebase=\`basename ${D}objfile\`
54026 builddir=\`dirname ${D}objfile\`
54027 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
54028 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
54029 depsdir=${D}builddir/${D}DEPSDIRBASE
54030 mkdir -p ${D}depsdir
54031
54032 # if the compiler failed, we're done:
54033 if test ${D}{status} != 0 ; then
54034 rm -f ${D}depfile
54035 exit ${D}{status}
54036 fi
54037
54038 # move created file to the location we want it in:
54039 if test -f ${D}depfile ; then
54040 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
54041 rm -f ${D}depfile
54042 else
54043 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
54044 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
54045 if test ! -f ${D}depfile ; then
54046 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
54047 depfile="${D}objfile.d"
54048 fi
54049 if test -f ${D}depfile ; then
54050 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
54051 rm -f ${D}depfile
54052 fi
54053 fi
54054 exit 0
54055
54056 elif test ${D}DEPSMODE = mwcc ; then
54057 ${D}* || exit ${D}?
54058 # Run mwcc again with -MM and redirect into the dep file we want
54059 # NOTE: We can't use shift here because we need ${D}* to be valid
54060 prevarg=
54061 for arg in ${D}* ; do
54062 if test "${D}prevarg" = "-o"; then
54063 objfile=${D}arg
54064 else
54065 case "${D}arg" in
54066 -* )
54067 ;;
54068 * )
54069 srcfile=${D}arg
54070 ;;
54071 esac
54072 fi
54073 prevarg="${D}arg"
54074 done
54075
54076 objfilebase=\`basename ${D}objfile\`
54077 builddir=\`dirname ${D}objfile\`
54078 depsdir=${D}builddir/${D}DEPSDIRBASE
54079 mkdir -p ${D}depsdir
54080
54081 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
54082 exit 0
54083
54084 elif test ${D}DEPSMODE = unixcc; then
54085 ${D}* || exit ${D}?
54086 # Run compiler again with deps flag and redirect into the dep file.
54087 # It doesn't work if the '-o FILE' option is used, but without it the
54088 # dependency file will contain the wrong name for the object. So it is
54089 # removed from the command line, and the dep file is fixed with sed.
54090 cmd=""
54091 while test ${D}# -gt 0; do
54092 case "${D}1" in
54093 -o )
54094 shift
54095 objfile=${D}1
54096 ;;
54097 * )
54098 eval arg${D}#=\\${D}1
54099 cmd="${D}cmd \\${D}arg${D}#"
54100 ;;
54101 esac
54102 shift
54103 done
54104
54105 objfilebase=\`basename ${D}objfile\`
54106 builddir=\`dirname ${D}objfile\`
54107 depsdir=${D}builddir/${D}DEPSDIRBASE
54108 mkdir -p ${D}depsdir
54109
54110 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
54111 exit 0
54112
54113 else
54114 ${D}*
54115 exit ${D}?
54116 fi
54117 EOF
54118
54119 chmod +x bk-deps
54120 BK_DEPS="`pwd`/bk-deps"
54121 fi
54122 fi
54123
54124
54125
54126
54127
54128 case ${BAKEFILE_HOST} in
54129 *-*-cygwin* | *-*-mingw32* )
54130 if test -n "$ac_tool_prefix"; then
54131 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
54132 set dummy ${ac_tool_prefix}windres; ac_word=$2
54133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54135 if test "${ac_cv_prog_WINDRES+set}" = set; then
54136 echo $ECHO_N "(cached) $ECHO_C" >&6
54137 else
54138 if test -n "$WINDRES"; then
54139 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
54140 else
54141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54142 for as_dir in $PATH
54143 do
54144 IFS=$as_save_IFS
54145 test -z "$as_dir" && as_dir=.
54146 for ac_exec_ext in '' $ac_executable_extensions; do
54147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54148 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
54149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54150 break 2
54151 fi
54152 done
54153 done
54154 IFS=$as_save_IFS
54155
54156 fi
54157 fi
54158 WINDRES=$ac_cv_prog_WINDRES
54159 if test -n "$WINDRES"; then
54160 { echo "$as_me:$LINENO: result: $WINDRES" >&5
54161 echo "${ECHO_T}$WINDRES" >&6; }
54162 else
54163 { echo "$as_me:$LINENO: result: no" >&5
54164 echo "${ECHO_T}no" >&6; }
54165 fi
54166
54167
54168 fi
54169 if test -z "$ac_cv_prog_WINDRES"; then
54170 ac_ct_WINDRES=$WINDRES
54171 # Extract the first word of "windres", so it can be a program name with args.
54172 set dummy windres; ac_word=$2
54173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54175 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
54176 echo $ECHO_N "(cached) $ECHO_C" >&6
54177 else
54178 if test -n "$ac_ct_WINDRES"; then
54179 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
54180 else
54181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54182 for as_dir in $PATH
54183 do
54184 IFS=$as_save_IFS
54185 test -z "$as_dir" && as_dir=.
54186 for ac_exec_ext in '' $ac_executable_extensions; do
54187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54188 ac_cv_prog_ac_ct_WINDRES="windres"
54189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54190 break 2
54191 fi
54192 done
54193 done
54194 IFS=$as_save_IFS
54195
54196 fi
54197 fi
54198 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
54199 if test -n "$ac_ct_WINDRES"; then
54200 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
54201 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
54202 else
54203 { echo "$as_me:$LINENO: result: no" >&5
54204 echo "${ECHO_T}no" >&6; }
54205 fi
54206
54207 if test "x$ac_ct_WINDRES" = x; then
54208 WINDRES=""
54209 else
54210 case $cross_compiling:$ac_tool_warned in
54211 yes:)
54212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54213 whose name does not start with the host triplet. If you think this
54214 configuration is useful to you, please write to autoconf@gnu.org." >&5
54215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54216 whose name does not start with the host triplet. If you think this
54217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54218 ac_tool_warned=yes ;;
54219 esac
54220 WINDRES=$ac_ct_WINDRES
54221 fi
54222 else
54223 WINDRES="$ac_cv_prog_WINDRES"
54224 fi
54225
54226 ;;
54227
54228 *-*-darwin* | powerpc-apple-macos* )
54229 # Extract the first word of "Rez", so it can be a program name with args.
54230 set dummy Rez; ac_word=$2
54231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54233 if test "${ac_cv_prog_REZ+set}" = set; then
54234 echo $ECHO_N "(cached) $ECHO_C" >&6
54235 else
54236 if test -n "$REZ"; then
54237 ac_cv_prog_REZ="$REZ" # Let the user override the test.
54238 else
54239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54240 for as_dir in $PATH
54241 do
54242 IFS=$as_save_IFS
54243 test -z "$as_dir" && as_dir=.
54244 for ac_exec_ext in '' $ac_executable_extensions; do
54245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54246 ac_cv_prog_REZ="Rez"
54247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54248 break 2
54249 fi
54250 done
54251 done
54252 IFS=$as_save_IFS
54253
54254 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
54255 fi
54256 fi
54257 REZ=$ac_cv_prog_REZ
54258 if test -n "$REZ"; then
54259 { echo "$as_me:$LINENO: result: $REZ" >&5
54260 echo "${ECHO_T}$REZ" >&6; }
54261 else
54262 { echo "$as_me:$LINENO: result: no" >&5
54263 echo "${ECHO_T}no" >&6; }
54264 fi
54265
54266
54267 # Extract the first word of "SetFile", so it can be a program name with args.
54268 set dummy SetFile; ac_word=$2
54269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54271 if test "${ac_cv_prog_SETFILE+set}" = set; then
54272 echo $ECHO_N "(cached) $ECHO_C" >&6
54273 else
54274 if test -n "$SETFILE"; then
54275 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
54276 else
54277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
54278 for as_dir in $PATH
54279 do
54280 IFS=$as_save_IFS
54281 test -z "$as_dir" && as_dir=.
54282 for ac_exec_ext in '' $ac_executable_extensions; do
54283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54284 ac_cv_prog_SETFILE="SetFile"
54285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54286 break 2
54287 fi
54288 done
54289 done
54290 IFS=$as_save_IFS
54291
54292 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
54293 fi
54294 fi
54295 SETFILE=$ac_cv_prog_SETFILE
54296 if test -n "$SETFILE"; then
54297 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54298 echo "${ECHO_T}$SETFILE" >&6; }
54299 else
54300 { echo "$as_me:$LINENO: result: no" >&5
54301 echo "${ECHO_T}no" >&6; }
54302 fi
54303
54304
54305 ;;
54306 esac
54307
54308
54309
54310
54311
54312
54313
54314
54315
54316 BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
54317
54318
54319 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
54320
54321
54322
54323 # Check whether --enable-precomp-headers was given.
54324 if test "${enable_precomp_headers+set}" = set; then
54325 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
54326 fi
54327
54328
54329 GCC_PCH=0
54330 ICC_PCH=0
54331 USE_PCH=0
54332 BK_MAKE_PCH=""
54333
54334 case ${BAKEFILE_HOST} in
54335 *-*-cygwin* )
54336 bk_use_pch="no"
54337 ;;
54338 esac
54339
54340 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54341 if test "x$GCC" = "xyes"; then
54342 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54343 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54344 cat >conftest.$ac_ext <<_ACEOF
54345 /* confdefs.h. */
54346 _ACEOF
54347 cat confdefs.h >>conftest.$ac_ext
54348 cat >>conftest.$ac_ext <<_ACEOF
54349 /* end confdefs.h. */
54350
54351 int
54352 main ()
54353 {
54354
54355 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54356 There is no PCH support
54357 #endif
54358 #if (__GNUC__ < 3)
54359 There is no PCH support
54360 #endif
54361 #if (__GNUC__ == 3) && \
54362 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54363 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54364 ( defined(__INTEL_COMPILER) )
54365 There is no PCH support
54366 #endif
54367
54368 ;
54369 return 0;
54370 }
54371 _ACEOF
54372 rm -f conftest.$ac_objext
54373 if { (ac_try="$ac_compile"
54374 case "(($ac_try" in
54375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
54376 *) ac_try_echo=$ac_try;;
54377 esac
54378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54379 (eval "$ac_compile") 2>conftest.er1
54380 ac_status=$?
54381 grep -v '^ *+' conftest.er1 >conftest.err
54382 rm -f conftest.er1
54383 cat conftest.err >&5
54384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54385 (exit $ac_status); } && {
54386 test -z "$ac_c_werror_flag" ||
54387 test ! -s conftest.err
54388 } && test -s conftest.$ac_objext; then
54389
54390 { echo "$as_me:$LINENO: result: yes" >&5
54391 echo "${ECHO_T}yes" >&6; }
54392 GCC_PCH=1
54393
54394 else
54395 echo "$as_me: failed program was:" >&5
54396 sed 's/^/| /' conftest.$ac_ext >&5
54397
54398
54399 if test "$INTELCXX8" = "yes"; then
54400 { echo "$as_me:$LINENO: result: yes" >&5
54401 echo "${ECHO_T}yes" >&6; }
54402 ICC_PCH=1
54403 if test "$INTELCXX10" = "yes"; then
54404 ICC_PCH_CREATE_SWITCH="-pch-create"
54405 ICC_PCH_USE_SWITCH="-pch-use"
54406 else
54407 ICC_PCH_CREATE_SWITCH="-create-pch"
54408 ICC_PCH_USE_SWITCH="-use-pch"
54409 fi
54410 else
54411 { echo "$as_me:$LINENO: result: no" >&5
54412 echo "${ECHO_T}no" >&6; }
54413 fi
54414
54415 fi
54416
54417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54418 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54419 USE_PCH=1
54420
54421 D='$'
54422 cat <<EOF >bk-make-pch
54423 #!/bin/sh
54424
54425 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54426 # script. It is used to generated precompiled headers.
54427 #
54428 # Permission is given to use this file in any way.
54429
54430 outfile="${D}{1}"
54431 header="${D}{2}"
54432 shift
54433 shift
54434
54435 builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
54436
54437 compiler=""
54438 headerfile=""
54439
54440 while test ${D}{#} -gt 0; do
54441 add_to_cmdline=1
54442 case "${D}{1}" in
54443 -I* )
54444 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
54445 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54446 headerfile="${D}{incdir}/${D}{header}"
54447 fi
54448 ;;
54449 -use-pch|-use_pch|-pch-use )
54450 shift
54451 add_to_cmdline=0
54452 ;;
54453 esac
54454 if test ${D}add_to_cmdline = 1 ; then
54455 compiler="${D}{compiler} ${D}{1}"
54456 fi
54457 shift
54458 done
54459
54460 if test "x${D}{headerfile}" = "x" ; then
54461 echo "error: can't find header ${D}{header} in include paths" >&2
54462 else
54463 if test -f ${D}{outfile} ; then
54464 rm -f ${D}{outfile}
54465 else
54466 mkdir -p \`dirname ${D}{outfile}\`
54467 fi
54468 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
54469 mkdir -p ${D}{builddir}/.deps
54470 if test "x${GCC_PCH}" = "x1" ; then
54471 # can do this because gcc is >= 3.4:
54472 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54473 elif test "x${ICC_PCH}" = "x1" ; then
54474 filename=pch_gen-${D}${D}
54475 file=${D}{filename}.c
54476 dfile=${D}{filename}.d
54477 cat > ${D}file <<EOT
54478 #include "${D}header"
54479 EOT
54480 # using -MF icc complains about differing command lines in creation/use
54481 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54482 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54483 rm -f ${D}file ${D}dfile ${D}{filename}.o
54484 fi
54485 exit ${D}{?}
54486 fi
54487 EOF
54488
54489 chmod +x bk-make-pch
54490 BK_MAKE_PCH="`pwd`/bk-make-pch"
54491 fi
54492 fi
54493 fi
54494
54495
54496
54497
54498
54499
54500
54501 COND_BUILD_DEBUG="#"
54502 if test "x$BUILD" = "xdebug" ; then
54503 COND_BUILD_DEBUG=""
54504 fi
54505
54506 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54507 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54508 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54509 fi
54510
54511 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54512 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54513 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54514 fi
54515
54516 COND_BUILD_DEBUG_UNICODE_0="#"
54517 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54518 COND_BUILD_DEBUG_UNICODE_0=""
54519 fi
54520
54521 COND_BUILD_DEBUG_UNICODE_1="#"
54522 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54523 COND_BUILD_DEBUG_UNICODE_1=""
54524 fi
54525
54526 COND_BUILD_RELEASE="#"
54527 if test "x$BUILD" = "xrelease" ; then
54528 COND_BUILD_RELEASE=""
54529 fi
54530
54531 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54532 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54533 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54534 fi
54535
54536 COND_BUILD_RELEASE_UNICODE_0="#"
54537 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54538 COND_BUILD_RELEASE_UNICODE_0=""
54539 fi
54540
54541 COND_BUILD_RELEASE_UNICODE_1="#"
54542 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54543 COND_BUILD_RELEASE_UNICODE_1=""
54544 fi
54545
54546 COND_BUILD_debug="#"
54547 if test "x$BUILD" = "xdebug" ; then
54548 COND_BUILD_debug=""
54549 fi
54550
54551 COND_BUILD_debug_DEBUG_FLAG_default="#"
54552 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54553 COND_BUILD_debug_DEBUG_FLAG_default=""
54554 fi
54555
54556 COND_BUILD_debug_DEBUG_INFO_default="#"
54557 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54558 COND_BUILD_debug_DEBUG_INFO_default=""
54559 fi
54560
54561 COND_BUILD_debug_UNICODE_0="#"
54562 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54563 COND_BUILD_debug_UNICODE_0=""
54564 fi
54565
54566 COND_BUILD_debug_UNICODE_1="#"
54567 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54568 COND_BUILD_debug_UNICODE_1=""
54569 fi
54570
54571 COND_BUILD_release="#"
54572 if test "x$BUILD" = "xrelease" ; then
54573 COND_BUILD_release=""
54574 fi
54575
54576 COND_BUILD_release_DEBUG_INFO_default="#"
54577 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54578 COND_BUILD_release_DEBUG_INFO_default=""
54579 fi
54580
54581 COND_BUILD_release_UNICODE_0="#"
54582 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54583 COND_BUILD_release_UNICODE_0=""
54584 fi
54585
54586 COND_BUILD_release_UNICODE_1="#"
54587 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54588 COND_BUILD_release_UNICODE_1=""
54589 fi
54590
54591 COND_DEBUG_FLAG_0="#"
54592 if test "x$DEBUG_FLAG" = "x0" ; then
54593 COND_DEBUG_FLAG_0=""
54594 fi
54595
54596 COND_DEBUG_FLAG_1="#"
54597 if test "x$DEBUG_FLAG" = "x1" ; then
54598 COND_DEBUG_FLAG_1=""
54599 fi
54600
54601 COND_DEBUG_INFO_0="#"
54602 if test "x$DEBUG_INFO" = "x0" ; then
54603 COND_DEBUG_INFO_0=""
54604 fi
54605
54606 COND_DEBUG_INFO_1="#"
54607 if test "x$DEBUG_INFO" = "x1" ; then
54608 COND_DEBUG_INFO_1=""
54609 fi
54610
54611 COND_DEPS_TRACKING_0="#"
54612 if test "x$DEPS_TRACKING" = "x0" ; then
54613 COND_DEPS_TRACKING_0=""
54614 fi
54615
54616 COND_DEPS_TRACKING_1="#"
54617 if test "x$DEPS_TRACKING" = "x1" ; then
54618 COND_DEPS_TRACKING_1=""
54619 fi
54620
54621 COND_GCC_PCH_1="#"
54622 if test "x$GCC_PCH" = "x1" ; then
54623 COND_GCC_PCH_1=""
54624 fi
54625
54626 COND_ICC_PCH_1="#"
54627 if test "x$ICC_PCH" = "x1" ; then
54628 COND_ICC_PCH_1=""
54629 fi
54630
54631 COND_MONOLITHIC_0="#"
54632 if test "x$MONOLITHIC" = "x0" ; then
54633 COND_MONOLITHIC_0=""
54634 fi
54635
54636 COND_MONOLITHIC_0_SHARED_0="#"
54637 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54638 COND_MONOLITHIC_0_SHARED_0=""
54639 fi
54640
54641 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54642 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54643 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54644 fi
54645
54646 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54647 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54648 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54649 fi
54650
54651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54652 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54654 fi
54655
54656 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54657 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54659 fi
54660
54661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54662 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54664 fi
54665
54666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54667 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54668 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54669 fi
54670
54671 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54672 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54673 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54674 fi
54675
54676 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54677 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54678 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54679 fi
54680
54681 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54682 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54683 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54684 fi
54685
54686 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54687 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54688 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54689 fi
54690
54691 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54692 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54693 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54694 fi
54695
54696 COND_MONOLITHIC_0_SHARED_1="#"
54697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54698 COND_MONOLITHIC_0_SHARED_1=""
54699 fi
54700
54701 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54703 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54704 fi
54705
54706 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54708 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54709 fi
54710
54711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54713 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54714 fi
54715
54716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54718 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54719 fi
54720
54721 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54723 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54724 fi
54725
54726 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54728 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54729 fi
54730
54731 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54733 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54734 fi
54735
54736 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54738 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54739 fi
54740
54741 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54742 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54743 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54744 fi
54745
54746 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54747 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54748 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54749 fi
54750
54751 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54752 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54753 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54754 fi
54755
54756 COND_MONOLITHIC_0_USE_AUI_1="#"
54757 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54758 COND_MONOLITHIC_0_USE_AUI_1=""
54759 fi
54760
54761 COND_MONOLITHIC_0_USE_GUI_1="#"
54762 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54763 COND_MONOLITHIC_0_USE_GUI_1=""
54764 fi
54765
54766 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54767 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54768 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54769 fi
54770
54771 COND_MONOLITHIC_0_USE_HTML_1="#"
54772 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54773 COND_MONOLITHIC_0_USE_HTML_1=""
54774 fi
54775
54776 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54777 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54778 COND_MONOLITHIC_0_USE_MEDIA_1=""
54779 fi
54780
54781 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54782 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54783 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54784 fi
54785
54786 COND_MONOLITHIC_0_USE_QA_1="#"
54787 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54788 COND_MONOLITHIC_0_USE_QA_1=""
54789 fi
54790
54791 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54792 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54793 COND_MONOLITHIC_0_USE_RIBBON_1=""
54794 fi
54795
54796 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54797 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54798 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54799 fi
54800
54801 COND_MONOLITHIC_0_USE_STC_1="#"
54802 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54803 COND_MONOLITHIC_0_USE_STC_1=""
54804 fi
54805
54806 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54807 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54808 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54809 fi
54810
54811 COND_MONOLITHIC_0_USE_XRC_1="#"
54812 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54813 COND_MONOLITHIC_0_USE_XRC_1=""
54814 fi
54815
54816 COND_MONOLITHIC_1="#"
54817 if test "x$MONOLITHIC" = "x1" ; then
54818 COND_MONOLITHIC_1=""
54819 fi
54820
54821 COND_MONOLITHIC_1_SHARED_0="#"
54822 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54823 COND_MONOLITHIC_1_SHARED_0=""
54824 fi
54825
54826 COND_MONOLITHIC_1_SHARED_1="#"
54827 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54828 COND_MONOLITHIC_1_SHARED_1=""
54829 fi
54830
54831 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54832 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54833 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54834 fi
54835
54836 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54837 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54838 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54839 fi
54840
54841 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54842 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54843 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54844 fi
54845
54846 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54847 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54848 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54849 fi
54850
54851 COND_PLATFORM_MACOSX_1="#"
54852 if test "x$PLATFORM_MACOSX" = "x1" ; then
54853 COND_PLATFORM_MACOSX_1=""
54854 fi
54855
54856 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54857 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54858 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54859 fi
54860
54861 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54862 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54863 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54864 fi
54865
54866 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54867 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54868 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54869 fi
54870
54871 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54872 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54873 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54874 fi
54875
54876 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54877 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54878 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54879 fi
54880
54881 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54882 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54883 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54884 fi
54885
54886 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54887 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54888 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54889 fi
54890
54891 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54892 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54894 fi
54895
54896 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54897 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54898 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54899 fi
54900
54901 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54902 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54903 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54904 fi
54905
54906 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54907 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54908 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54909 fi
54910
54911 COND_PLATFORM_MACOS_1="#"
54912 if test "x$PLATFORM_MACOS" = "x1" ; then
54913 COND_PLATFORM_MACOS_1=""
54914 fi
54915
54916 COND_PLATFORM_MAC_0="#"
54917 if test "x$PLATFORM_MAC" = "x0" ; then
54918 COND_PLATFORM_MAC_0=""
54919 fi
54920
54921 COND_PLATFORM_MAC_1="#"
54922 if test "x$PLATFORM_MAC" = "x1" ; then
54923 COND_PLATFORM_MAC_1=""
54924 fi
54925
54926 COND_PLATFORM_MSDOS_0="#"
54927 if test "x$PLATFORM_MSDOS" = "x0" ; then
54928 COND_PLATFORM_MSDOS_0=""
54929 fi
54930
54931 COND_PLATFORM_MSDOS_1="#"
54932 if test "x$PLATFORM_MSDOS" = "x1" ; then
54933 COND_PLATFORM_MSDOS_1=""
54934 fi
54935
54936 COND_PLATFORM_OS2_1="#"
54937 if test "x$PLATFORM_OS2" = "x1" ; then
54938 COND_PLATFORM_OS2_1=""
54939 fi
54940
54941 COND_PLATFORM_UNIX_0="#"
54942 if test "x$PLATFORM_UNIX" = "x0" ; then
54943 COND_PLATFORM_UNIX_0=""
54944 fi
54945
54946 COND_PLATFORM_UNIX_1="#"
54947 if test "x$PLATFORM_UNIX" = "x1" ; then
54948 COND_PLATFORM_UNIX_1=""
54949 fi
54950
54951 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
54952 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
54953 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
54954 fi
54955
54956 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
54957 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
54958 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
54959 fi
54960
54961 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54962 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54963 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54964 fi
54965
54966 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54967 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54968 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54969 fi
54970
54971 COND_PLATFORM_WIN32_0="#"
54972 if test "x$PLATFORM_WIN32" = "x0" ; then
54973 COND_PLATFORM_WIN32_0=""
54974 fi
54975
54976 COND_PLATFORM_WIN32_1="#"
54977 if test "x$PLATFORM_WIN32" = "x1" ; then
54978 COND_PLATFORM_WIN32_1=""
54979 fi
54980
54981 COND_PLATFORM_WIN32_1_SHARED_0="#"
54982 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54983 COND_PLATFORM_WIN32_1_SHARED_0=""
54984 fi
54985
54986 COND_SHARED_0="#"
54987 if test "x$SHARED" = "x0" ; then
54988 COND_SHARED_0=""
54989 fi
54990
54991 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54992 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54993 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54994 fi
54995
54996 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54997 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54998 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54999 fi
55000
55001 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
55002 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
55003 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
55004 fi
55005
55006 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
55007 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55008 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
55009 fi
55010
55011 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55012 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55013 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55014 fi
55015
55016 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55017 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55018 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55019 fi
55020
55021 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55022 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55023 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55024 fi
55025
55026 COND_SHARED_0_USE_STC_1="#"
55027 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
55028 COND_SHARED_0_USE_STC_1=""
55029 fi
55030
55031 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
55032 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
55033 COND_SHARED_0_wxUSE_EXPAT_builtin=""
55034 fi
55035
55036 COND_SHARED_0_wxUSE_REGEX_builtin="#"
55037 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
55038 COND_SHARED_0_wxUSE_REGEX_builtin=""
55039 fi
55040
55041 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
55042 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
55043 COND_SHARED_0_wxUSE_ZLIB_builtin=""
55044 fi
55045
55046 COND_SHARED_1="#"
55047 if test "x$SHARED" = "x1" ; then
55048 COND_SHARED_1=""
55049 fi
55050
55051 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
55052 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55053 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
55054 fi
55055
55056 COND_TOOLKIT_="#"
55057 if test "x$TOOLKIT" = "x" ; then
55058 COND_TOOLKIT_=""
55059 fi
55060
55061 COND_TOOLKIT_COCOA="#"
55062 if test "x$TOOLKIT" = "xCOCOA" ; then
55063 COND_TOOLKIT_COCOA=""
55064 fi
55065
55066 COND_TOOLKIT_COCOA_USE_GUI_1="#"
55067 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
55068 COND_TOOLKIT_COCOA_USE_GUI_1=""
55069 fi
55070
55071 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
55072 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55073 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
55074 fi
55075
55076 COND_TOOLKIT_DFB="#"
55077 if test "x$TOOLKIT" = "xDFB" ; then
55078 COND_TOOLKIT_DFB=""
55079 fi
55080
55081 COND_TOOLKIT_DFB_USE_GUI_1="#"
55082 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
55083 COND_TOOLKIT_DFB_USE_GUI_1=""
55084 fi
55085
55086 COND_TOOLKIT_GTK="#"
55087 if test "x$TOOLKIT" = "xGTK" ; then
55088 COND_TOOLKIT_GTK=""
55089 fi
55090
55091 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
55092 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
55093 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
55094 fi
55095
55096 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
55097 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
55098 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
55099 fi
55100
55101 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
55102 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
55103 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
55104 fi
55105
55106 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
55107 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55108 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
55109 fi
55110
55111 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
55112 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
55113 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
55114 fi
55115
55116 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
55117 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55118 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
55119 fi
55120
55121 COND_TOOLKIT_GTK_USE_GUI_1="#"
55122 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
55123 COND_TOOLKIT_GTK_USE_GUI_1=""
55124 fi
55125
55126 COND_TOOLKIT_MAC="#"
55127 if test "x$TOOLKIT" = "xMAC" ; then
55128 COND_TOOLKIT_MAC=""
55129 fi
55130
55131 COND_TOOLKIT_MGL="#"
55132 if test "x$TOOLKIT" = "xMGL" ; then
55133 COND_TOOLKIT_MGL=""
55134 fi
55135
55136 COND_TOOLKIT_MGL_USE_GUI_1="#"
55137 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
55138 COND_TOOLKIT_MGL_USE_GUI_1=""
55139 fi
55140
55141 COND_TOOLKIT_MOTIF="#"
55142 if test "x$TOOLKIT" = "xMOTIF" ; then
55143 COND_TOOLKIT_MOTIF=""
55144 fi
55145
55146 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
55147 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
55148 COND_TOOLKIT_MOTIF_USE_GUI_1=""
55149 fi
55150
55151 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
55152 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55153 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
55154 fi
55155
55156 COND_TOOLKIT_MSW="#"
55157 if test "x$TOOLKIT" = "xMSW" ; then
55158 COND_TOOLKIT_MSW=""
55159 fi
55160
55161 COND_TOOLKIT_MSW_USE_GUI_1="#"
55162 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
55163 COND_TOOLKIT_MSW_USE_GUI_1=""
55164 fi
55165
55166 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
55167 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55168 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
55169 fi
55170
55171 COND_TOOLKIT_MSW_WXUNIV_0="#"
55172 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
55173 COND_TOOLKIT_MSW_WXUNIV_0=""
55174 fi
55175
55176 COND_TOOLKIT_OSX_CARBON="#"
55177 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
55178 COND_TOOLKIT_OSX_CARBON=""
55179 fi
55180
55181 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
55182 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
55183 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
55184 fi
55185
55186 COND_TOOLKIT_OSX_COCOA="#"
55187 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
55188 COND_TOOLKIT_OSX_COCOA=""
55189 fi
55190
55191 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
55192 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
55193 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
55194 fi
55195
55196 COND_TOOLKIT_OSX_IPHONE="#"
55197 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
55198 COND_TOOLKIT_OSX_IPHONE=""
55199 fi
55200
55201 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
55202 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
55203 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
55204 fi
55205
55206 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
55207 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55208 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
55209 fi
55210
55211 COND_TOOLKIT_PM="#"
55212 if test "x$TOOLKIT" = "xPM" ; then
55213 COND_TOOLKIT_PM=""
55214 fi
55215
55216 COND_TOOLKIT_PM_USE_GUI_1="#"
55217 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
55218 COND_TOOLKIT_PM_USE_GUI_1=""
55219 fi
55220
55221 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
55222 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55223 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
55224 fi
55225
55226 COND_TOOLKIT_WINCE="#"
55227 if test "x$TOOLKIT" = "xWINCE" ; then
55228 COND_TOOLKIT_WINCE=""
55229 fi
55230
55231 COND_TOOLKIT_WINCE_USE_GUI_1="#"
55232 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
55233 COND_TOOLKIT_WINCE_USE_GUI_1=""
55234 fi
55235
55236 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
55237 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55238 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
55239 fi
55240
55241 COND_TOOLKIT_WINCE_WXUNIV_0="#"
55242 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
55243 COND_TOOLKIT_WINCE_WXUNIV_0=""
55244 fi
55245
55246 COND_TOOLKIT_X11="#"
55247 if test "x$TOOLKIT" = "xX11" ; then
55248 COND_TOOLKIT_X11=""
55249 fi
55250
55251 COND_TOOLKIT_X11_USE_GUI_1="#"
55252 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
55253 COND_TOOLKIT_X11_USE_GUI_1=""
55254 fi
55255
55256 COND_UNICODE_1="#"
55257 if test "x$UNICODE" = "x1" ; then
55258 COND_UNICODE_1=""
55259 fi
55260
55261 COND_USE_CAIRO_1="#"
55262 if test "x$USE_CAIRO" = "x1" ; then
55263 COND_USE_CAIRO_1=""
55264 fi
55265
55266 COND_USE_EXCEPTIONS_0="#"
55267 if test "x$USE_EXCEPTIONS" = "x0" ; then
55268 COND_USE_EXCEPTIONS_0=""
55269 fi
55270
55271 COND_USE_EXCEPTIONS_1="#"
55272 if test "x$USE_EXCEPTIONS" = "x1" ; then
55273 COND_USE_EXCEPTIONS_1=""
55274 fi
55275
55276 COND_USE_GUI_0="#"
55277 if test "x$USE_GUI" = "x0" ; then
55278 COND_USE_GUI_0=""
55279 fi
55280
55281 COND_USE_GUI_1="#"
55282 if test "x$USE_GUI" = "x1" ; then
55283 COND_USE_GUI_1=""
55284 fi
55285
55286 COND_USE_GUI_1_USE_OPENGL_1="#"
55287 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55288 COND_USE_GUI_1_USE_OPENGL_1=""
55289 fi
55290
55291 COND_USE_GUI_1_WXUNIV_0="#"
55292 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55293 COND_USE_GUI_1_WXUNIV_0=""
55294 fi
55295
55296 COND_USE_GUI_1_WXUNIV_1="#"
55297 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55298 COND_USE_GUI_1_WXUNIV_1=""
55299 fi
55300
55301 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55302 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55303 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55304 fi
55305
55306 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55307 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55308 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55309 fi
55310
55311 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55312 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55313 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55314 fi
55315
55316 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55317 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55318 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55319 fi
55320
55321 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55322 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55323 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55324 fi
55325
55326 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55327 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55328 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55329 fi
55330
55331 COND_USE_OPENGL_1="#"
55332 if test "x$USE_OPENGL" = "x1" ; then
55333 COND_USE_OPENGL_1=""
55334 fi
55335
55336 COND_USE_PCH_1="#"
55337 if test "x$USE_PCH" = "x1" ; then
55338 COND_USE_PCH_1=""
55339 fi
55340
55341 COND_USE_PLUGINS_0="#"
55342 if test "x$USE_PLUGINS" = "x0" ; then
55343 COND_USE_PLUGINS_0=""
55344 fi
55345
55346 COND_USE_RTTI_0="#"
55347 if test "x$USE_RTTI" = "x0" ; then
55348 COND_USE_RTTI_0=""
55349 fi
55350
55351 COND_USE_RTTI_1="#"
55352 if test "x$USE_RTTI" = "x1" ; then
55353 COND_USE_RTTI_1=""
55354 fi
55355
55356 COND_USE_SOTWOSYMLINKS_1="#"
55357 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55358 COND_USE_SOTWOSYMLINKS_1=""
55359 fi
55360
55361 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55362 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55363 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55364 fi
55365
55366 COND_USE_SOVERLINUX_1="#"
55367 if test "x$USE_SOVERLINUX" = "x1" ; then
55368 COND_USE_SOVERLINUX_1=""
55369 fi
55370
55371 COND_USE_SOVERSION_0="#"
55372 if test "x$USE_SOVERSION" = "x0" ; then
55373 COND_USE_SOVERSION_0=""
55374 fi
55375
55376 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55377 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55378 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55379 fi
55380
55381 COND_USE_SOVERSOLARIS_1="#"
55382 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55383 COND_USE_SOVERSOLARIS_1=""
55384 fi
55385
55386 COND_USE_STC_1="#"
55387 if test "x$USE_STC" = "x1" ; then
55388 COND_USE_STC_1=""
55389 fi
55390
55391 COND_USE_THREADS_0="#"
55392 if test "x$USE_THREADS" = "x0" ; then
55393 COND_USE_THREADS_0=""
55394 fi
55395
55396 COND_USE_THREADS_1="#"
55397 if test "x$USE_THREADS" = "x1" ; then
55398 COND_USE_THREADS_1=""
55399 fi
55400
55401 COND_USE_XRC_1="#"
55402 if test "x$USE_XRC" = "x1" ; then
55403 COND_USE_XRC_1=""
55404 fi
55405
55406 COND_WINDOWS_IMPLIB_1="#"
55407 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55408 COND_WINDOWS_IMPLIB_1=""
55409 fi
55410
55411 COND_WITH_PLUGIN_SDL_1="#"
55412 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55413 COND_WITH_PLUGIN_SDL_1=""
55414 fi
55415
55416 COND_WXUNIV_0="#"
55417 if test "x$WXUNIV" = "x0" ; then
55418 COND_WXUNIV_0=""
55419 fi
55420
55421 COND_WXUNIV_1="#"
55422 if test "x$WXUNIV" = "x1" ; then
55423 COND_WXUNIV_1=""
55424 fi
55425
55426 COND_WXUSE_EXPAT_BUILTIN="#"
55427 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55428 COND_WXUSE_EXPAT_BUILTIN=""
55429 fi
55430
55431 COND_WXUSE_LIBJPEG_BUILTIN="#"
55432 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55433 COND_WXUSE_LIBJPEG_BUILTIN=""
55434 fi
55435
55436 COND_WXUSE_LIBPNG_BUILTIN="#"
55437 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55438 COND_WXUSE_LIBPNG_BUILTIN=""
55439 fi
55440
55441 COND_WXUSE_LIBTIFF_BUILTIN="#"
55442 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55443 COND_WXUSE_LIBTIFF_BUILTIN=""
55444 fi
55445
55446 COND_WXUSE_REGEX_BUILTIN="#"
55447 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55448 COND_WXUSE_REGEX_BUILTIN=""
55449 fi
55450
55451 COND_WXUSE_ZLIB_BUILTIN="#"
55452 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55453 COND_WXUSE_ZLIB_BUILTIN=""
55454 fi
55455
55456 COND_wxUSE_EXPAT_builtin="#"
55457 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55458 COND_wxUSE_EXPAT_builtin=""
55459 fi
55460
55461 COND_wxUSE_LIBJPEG_builtin="#"
55462 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55463 COND_wxUSE_LIBJPEG_builtin=""
55464 fi
55465
55466 COND_wxUSE_LIBPNG_builtin="#"
55467 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55468 COND_wxUSE_LIBPNG_builtin=""
55469 fi
55470
55471 COND_wxUSE_LIBTIFF_builtin="#"
55472 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55473 COND_wxUSE_LIBTIFF_builtin=""
55474 fi
55475
55476 COND_wxUSE_REGEX_builtin="#"
55477 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55478 COND_wxUSE_REGEX_builtin=""
55479 fi
55480
55481 COND_wxUSE_ZLIB_builtin="#"
55482 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55483 COND_wxUSE_ZLIB_builtin=""
55484 fi
55485
55486
55487
55488 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55489 { { 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
55490 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;}
55491 { (exit 1); exit 1; }; }
55492 fi
55493
55494 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55495 { { 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
55496 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;}
55497 { (exit 1); exit 1; }; }
55498 fi
55499
55500
55501 case ${INSTALL} in
55502 /* ) # Absolute
55503 ;;
55504 ?:* ) # Drive letter, considered as absolute.
55505 ;;
55506 *)
55507 INSTALL=`pwd`/${INSTALL} ;;
55508 esac
55509
55510 if test "$wxUSE_GUI" = "yes"; then
55511
55512 if test "$wxUSE_MSW" = 1 ; then
55513 if test "x$WINDRES" = "x"; then
55514 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55515 echo "$as_me: error: Required windres program not found" >&2;}
55516 { (exit 1); exit 1; }; }
55517 fi
55518
55519 RESCOMP="$WINDRES"
55520 fi
55521
55522 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55523 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55524 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55525
55526 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55527
55528 # Extract the first word of "DeRez", so it can be a program name with args.
55529 set dummy DeRez; ac_word=$2
55530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55532 if test "${ac_cv_prog_DEREZ+set}" = set; then
55533 echo $ECHO_N "(cached) $ECHO_C" >&6
55534 else
55535 if test -n "$DEREZ"; then
55536 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55537 else
55538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55539 for as_dir in $PATH
55540 do
55541 IFS=$as_save_IFS
55542 test -z "$as_dir" && as_dir=.
55543 for ac_exec_ext in '' $ac_executable_extensions; do
55544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55545 ac_cv_prog_DEREZ="DeRez"
55546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55547 break 2
55548 fi
55549 done
55550 done
55551 IFS=$as_save_IFS
55552
55553 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55554 fi
55555 fi
55556 DEREZ=$ac_cv_prog_DEREZ
55557 if test -n "$DEREZ"; then
55558 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55559 echo "${ECHO_T}$DEREZ" >&6; }
55560 else
55561 { echo "$as_me:$LINENO: result: no" >&5
55562 echo "${ECHO_T}no" >&6; }
55563 fi
55564
55565
55566
55567 MACSETFILE="\$(SETFILE)"
55568
55569 if test "$wxUSE_OSX_CARBON" = 1; then
55570 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55571 RESCOMP="$REZ"
55572 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55573 else
55574 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55575 RESCOMP="cat /dev/null \| $REZ"
55576 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55577 fi
55578
55579 else
55580 MACSETFILE="@true"
55581
55582 if test "$wxUSE_PM" = 1; then
55583 RESCOMP="emxbind"
55584 WXCONFIG_RESFLAGS="-ep"
55585
55586 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55587 else
55588 POSTLINK_COMMAND="@true"
55589 fi
55590 fi
55591
55592 fi
55593
55594
55595 if test $GCC_PCH = 1
55596 then
55597 if test "$wx_cv_gcc_pch_bug" = yes; then
55598 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55599 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55600 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55601 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55602 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55603 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55604 fi
55605
55606 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55607 # the headers that benefit from precompilation are mostly C++ headers.
55608 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55609 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55610 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55611 fi
55612
55613
55614 if test "$wxUSE_MAC" = 1 ; then
55615 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55616 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55617 mv temp bk-deps
55618 chmod +x bk-deps
55619 fi
55620 fi
55621
55622 if test "$wxUSE_SHARED" = "yes"; then
55623 case "${host}" in
55624 *-pc-os2_emx | *-pc-os2-emx )
55625 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55626 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55627 cp -p ${srcdir}/src/os2/dllnames.sh .
55628 cp -p ${srcdir}/src/os2/dllar.sh .
55629 ;;
55630 esac
55631 fi
55632 if test "$wxUSE_OMF" = "yes"; then
55633 case "${host}" in
55634 *-pc-os2_emx | *-pc-os2-emx )
55635 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55636 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55637 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55638 ;;
55639 esac
55640 fi
55641
55642 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55643
55644
55645 case "${host}" in
55646 *-*-solaris2* )
55647 if test "$GCC" = yes; then
55648 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55649 LIBS=`echo $LIBS | sed 's/-mt//g'`
55650 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55651 fi
55652 ;;
55653
55654 *-*-linux* )
55655 if test "x$SUNCXX" = xyes; then
55656 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55657 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55658 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55659 fi
55660 ;;
55661 esac
55662
55663 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55664 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55665 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55666 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55667
55668 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55669
55670
55671
55672
55673
55674
55675
55676
55677
55678
55679
55680
55681
55682
55683
55684
55685
55686
55687
55688
55689
55690
55691
55692
55693
55694
55695
55696
55697
55698
55699
55700
55701
55702
55703
55704
55705
55706
55707
55708
55709
55710
55711
55712
55713
55714
55715
55716
55717
55718
55719
55720
55721
55722
55723
55724
55725
55726
55727
55728
55729 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55730 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55731 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55732 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55733 echo $ECHO_N "(cached) $ECHO_C" >&6
55734 else
55735 cat >conftest.make <<\_ACEOF
55736 SHELL = /bin/sh
55737 all:
55738 @echo '@@@%%%=$(MAKE)=@@@%%%'
55739 _ACEOF
55740 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55741 case `${MAKE-make} -f conftest.make 2>/dev/null` in
55742 *@@@%%%=?*=@@@%%%*)
55743 eval ac_cv_prog_make_${ac_make}_set=yes;;
55744 *)
55745 eval ac_cv_prog_make_${ac_make}_set=no;;
55746 esac
55747 rm -f conftest.make
55748 fi
55749 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55750 { echo "$as_me:$LINENO: result: yes" >&5
55751 echo "${ECHO_T}yes" >&6; }
55752 SET_MAKE=
55753 else
55754 { echo "$as_me:$LINENO: result: no" >&5
55755 echo "${ECHO_T}no" >&6; }
55756 SET_MAKE="MAKE=${MAKE-make}"
55757 fi
55758
55759
55760
55761 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55762
55763
55764 if test "$USE_WIN32" = 1; then
55765 ac_config_commands="$ac_config_commands rcdefs.h"
55766
55767 fi
55768
55769 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55770
55771
55772 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55773
55774
55775 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55776
55777
55778 if test "$wx_cv_version_script" = "yes"; then
55779 ac_config_files="$ac_config_files version-script"
55780
55781 fi
55782 ac_config_files="$ac_config_files Makefile"
55783
55784
55785 ac_config_commands="$ac_config_commands wx-config"
55786
55787
55788
55789 if test "$wxWITH_SUBDIRS" != "no"; then
55790 if test "$wxUSE_GUI" = "yes"; then
55791 SUBDIRS="samples demos utils"
55792 else
55793 SUBDIRS="samples utils"
55794 fi
55795
55796
55797
55798 # Check whether --with-cppunit-prefix was given.
55799 if test "${with_cppunit_prefix+set}" = set; then
55800 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55801 else
55802 cppunit_config_prefix=""
55803 fi
55804
55805
55806 # Check whether --with-cppunit-exec-prefix was given.
55807 if test "${with_cppunit_exec_prefix+set}" = set; then
55808 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55809 else
55810 cppunit_config_exec_prefix=""
55811 fi
55812
55813
55814 if test x$cppunit_config_exec_prefix != x ; then
55815 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55816 if test x${CPPUNIT_CONFIG+set} != xset ; then
55817 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55818 fi
55819 fi
55820 if test x$cppunit_config_prefix != x ; then
55821 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55822 if test x${CPPUNIT_CONFIG+set} != xset ; then
55823 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55824 fi
55825 fi
55826
55827 # Extract the first word of "cppunit-config", so it can be a program name with args.
55828 set dummy cppunit-config; ac_word=$2
55829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55831 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55832 echo $ECHO_N "(cached) $ECHO_C" >&6
55833 else
55834 case $CPPUNIT_CONFIG in
55835 [\\/]* | ?:[\\/]*)
55836 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55837 ;;
55838 *)
55839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55840 for as_dir in $PATH
55841 do
55842 IFS=$as_save_IFS
55843 test -z "$as_dir" && as_dir=.
55844 for ac_exec_ext in '' $ac_executable_extensions; do
55845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55846 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55848 break 2
55849 fi
55850 done
55851 done
55852 IFS=$as_save_IFS
55853
55854 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55855 ;;
55856 esac
55857 fi
55858 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55859 if test -n "$CPPUNIT_CONFIG"; then
55860 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55861 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55862 else
55863 { echo "$as_me:$LINENO: result: no" >&5
55864 echo "${ECHO_T}no" >&6; }
55865 fi
55866
55867
55868 cppunit_version_min=1.8.0
55869
55870 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55871 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55872 no_cppunit=""
55873 if test "$CPPUNIT_CONFIG" = "no" ; then
55874 { echo "$as_me:$LINENO: result: no" >&5
55875 echo "${ECHO_T}no" >&6; }
55876 no_cppunit=yes
55877 else
55878 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55879 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55880 cppunit_version=`$CPPUNIT_CONFIG --version`
55881
55882 cppunit_major_version=`echo $cppunit_version | \
55883 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55884 cppunit_minor_version=`echo $cppunit_version | \
55885 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55886 cppunit_micro_version=`echo $cppunit_version | \
55887 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55888
55889 cppunit_major_min=`echo $cppunit_version_min | \
55890 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55891 cppunit_minor_min=`echo $cppunit_version_min | \
55892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55893 cppunit_micro_min=`echo $cppunit_version_min | \
55894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55895
55896 cppunit_version_proper=`expr \
55897 $cppunit_major_version \> $cppunit_major_min \| \
55898 $cppunit_major_version \= $cppunit_major_min \& \
55899 $cppunit_minor_version \> $cppunit_minor_min \| \
55900 $cppunit_major_version \= $cppunit_major_min \& \
55901 $cppunit_minor_version \= $cppunit_minor_min \& \
55902 $cppunit_micro_version \>= $cppunit_micro_min `
55903
55904 if test "$cppunit_version_proper" = "1" ; then
55905 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55906 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55907 else
55908 { echo "$as_me:$LINENO: result: no" >&5
55909 echo "${ECHO_T}no" >&6; }
55910 no_cppunit=yes
55911 fi
55912 fi
55913
55914 if test "x$no_cppunit" = x ; then
55915 SUBDIRS="$SUBDIRS tests"
55916 else
55917 CPPUNIT_CFLAGS=""
55918 CPPUNIT_LIBS=""
55919 :
55920 fi
55921
55922
55923
55924
55925
55926 for subdir in $SUBDIRS; do
55927 if test -d ${srcdir}/${subdir} ; then
55928 if test "$wxUSE_GUI" = "yes"; then
55929 if test ${subdir} = "samples"; then
55930 makefiles="samples/Makefile.in $makefiles"
55931 for sample in $SAMPLES_SUBDIRS; do
55932 if test -d $srcdir/samples/$sample; then
55933 makefiles="samples/$sample/Makefile.in $makefiles"
55934 fi
55935 done
55936 else
55937 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55938 eval "disabled=\$$disabled_var"
55939 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
55940 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
55941 fi
55942 else
55943 if test ${subdir} = "samples"; then
55944 makefiles="samples/Makefile.in $makefiles"
55945 for sample in `echo $SAMPLES_SUBDIRS`; do
55946 if test -d $srcdir/samples/$sample; then
55947 makefiles="samples/$sample/Makefile.in $makefiles"
55948 fi
55949 done
55950 elif test ${subdir} = "utils"; then
55951 makefiles=""
55952 for util in ifacecheck ; do
55953 if test -d $srcdir/utils/$util ; then
55954 makefiles="utils/$util/src/Makefile.in \
55955 $makefiles"
55956 fi
55957 done
55958 else
55959 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
55960 fi
55961 fi
55962
55963 for mkin in $makefiles ; do
55964 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55965 ac_config_files="$ac_config_files $mk"
55966
55967 done
55968 fi
55969 done
55970 fi
55971 cat >confcache <<\_ACEOF
55972 # This file is a shell script that caches the results of configure
55973 # tests run on this system so they can be shared between configure
55974 # scripts and configure runs, see configure's option --config-cache.
55975 # It is not useful on other systems. If it contains results you don't
55976 # want to keep, you may remove or edit it.
55977 #
55978 # config.status only pays attention to the cache file if you give it
55979 # the --recheck option to rerun configure.
55980 #
55981 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55982 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55983 # following values.
55984
55985 _ACEOF
55986
55987 # The following way of writing the cache mishandles newlines in values,
55988 # but we know of no workaround that is simple, portable, and efficient.
55989 # So, we kill variables containing newlines.
55990 # Ultrix sh set writes to stderr and can't be redirected directly,
55991 # and sets the high bit in the cache file unless we assign to the vars.
55992 (
55993 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55994 eval ac_val=\$$ac_var
55995 case $ac_val in #(
55996 *${as_nl}*)
55997 case $ac_var in #(
55998 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55999 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
56000 esac
56001 case $ac_var in #(
56002 _ | IFS | as_nl) ;; #(
56003 *) $as_unset $ac_var ;;
56004 esac ;;
56005 esac
56006 done
56007
56008 (set) 2>&1 |
56009 case $as_nl`(ac_space=' '; set) 2>&1` in #(
56010 *${as_nl}ac_space=\ *)
56011 # `set' does not quote correctly, so add quotes (double-quote
56012 # substitution turns \\\\ into \\, and sed turns \\ into \).
56013 sed -n \
56014 "s/'/'\\\\''/g;
56015 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
56016 ;; #(
56017 *)
56018 # `set' quotes correctly as required by POSIX, so do not add quotes.
56019 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
56020 ;;
56021 esac |
56022 sort
56023 ) |
56024 sed '
56025 /^ac_cv_env_/b end
56026 t clear
56027 :clear
56028 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
56029 t end
56030 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
56031 :end' >>confcache
56032 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
56033 if test -w "$cache_file"; then
56034 test "x$cache_file" != "x/dev/null" &&
56035 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
56036 echo "$as_me: updating cache $cache_file" >&6;}
56037 cat confcache >$cache_file
56038 else
56039 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
56040 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
56041 fi
56042 fi
56043 rm -f confcache
56044
56045 test "x$prefix" = xNONE && prefix=$ac_default_prefix
56046 # Let make expand exec_prefix.
56047 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
56048
56049 DEFS=-DHAVE_CONFIG_H
56050
56051 ac_libobjs=
56052 ac_ltlibobjs=
56053 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
56054 # 1. Remove the extension, and $U if already installed.
56055 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
56056 ac_i=`echo "$ac_i" | sed "$ac_script"`
56057 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
56058 # will be set to the directory where LIBOBJS objects are built.
56059 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
56060 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
56061 done
56062 LIBOBJS=$ac_libobjs
56063
56064 LTLIBOBJS=$ac_ltlibobjs
56065
56066
56067
56068 : ${CONFIG_STATUS=./config.status}
56069 ac_clean_files_save=$ac_clean_files
56070 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
56071 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
56072 echo "$as_me: creating $CONFIG_STATUS" >&6;}
56073 cat >$CONFIG_STATUS <<_ACEOF
56074 #! $SHELL
56075 # Generated by $as_me.
56076 # Run this file to recreate the current configuration.
56077 # Compiler output produced by configure, useful for debugging
56078 # configure, is in config.log if it exists.
56079
56080 debug=false
56081 ac_cs_recheck=false
56082 ac_cs_silent=false
56083 SHELL=\${CONFIG_SHELL-$SHELL}
56084 _ACEOF
56085
56086 cat >>$CONFIG_STATUS <<\_ACEOF
56087 ## --------------------- ##
56088 ## M4sh Initialization. ##
56089 ## --------------------- ##
56090
56091 # Be more Bourne compatible
56092 DUALCASE=1; export DUALCASE # for MKS sh
56093 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
56094 emulate sh
56095 NULLCMD=:
56096 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
56097 # is contrary to our usage. Disable this feature.
56098 alias -g '${1+"$@"}'='"$@"'
56099 setopt NO_GLOB_SUBST
56100 else
56101 case `(set -o) 2>/dev/null` in
56102 *posix*) set -o posix ;;
56103 esac
56104
56105 fi
56106
56107
56108
56109
56110 # PATH needs CR
56111 # Avoid depending upon Character Ranges.
56112 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
56113 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
56114 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
56115 as_cr_digits='0123456789'
56116 as_cr_alnum=$as_cr_Letters$as_cr_digits
56117
56118 # The user is always right.
56119 if test "${PATH_SEPARATOR+set}" != set; then
56120 echo "#! /bin/sh" >conf$$.sh
56121 echo "exit 0" >>conf$$.sh
56122 chmod +x conf$$.sh
56123 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
56124 PATH_SEPARATOR=';'
56125 else
56126 PATH_SEPARATOR=:
56127 fi
56128 rm -f conf$$.sh
56129 fi
56130
56131 # Support unset when possible.
56132 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
56133 as_unset=unset
56134 else
56135 as_unset=false
56136 fi
56137
56138
56139 # IFS
56140 # We need space, tab and new line, in precisely that order. Quoting is
56141 # there to prevent editors from complaining about space-tab.
56142 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56143 # splitting by setting IFS to empty value.)
56144 as_nl='
56145 '
56146 IFS=" "" $as_nl"
56147
56148 # Find who we are. Look in the path if we contain no directory separator.
56149 case $0 in
56150 *[\\/]* ) as_myself=$0 ;;
56151 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56152 for as_dir in $PATH
56153 do
56154 IFS=$as_save_IFS
56155 test -z "$as_dir" && as_dir=.
56156 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
56157 done
56158 IFS=$as_save_IFS
56159
56160 ;;
56161 esac
56162 # We did not find ourselves, most probably we were run as `sh COMMAND'
56163 # in which case we are not to be found in the path.
56164 if test "x$as_myself" = x; then
56165 as_myself=$0
56166 fi
56167 if test ! -f "$as_myself"; then
56168 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56169 { (exit 1); exit 1; }
56170 fi
56171
56172 # Work around bugs in pre-3.0 UWIN ksh.
56173 for as_var in ENV MAIL MAILPATH
56174 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56175 done
56176 PS1='$ '
56177 PS2='> '
56178 PS4='+ '
56179
56180 # NLS nuisances.
56181 for as_var in \
56182 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
56183 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
56184 LC_TELEPHONE LC_TIME
56185 do
56186 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
56187 eval $as_var=C; export $as_var
56188 else
56189 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
56190 fi
56191 done
56192
56193 # Required to use basename.
56194 if expr a : '\(a\)' >/dev/null 2>&1 &&
56195 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56196 as_expr=expr
56197 else
56198 as_expr=false
56199 fi
56200
56201 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56202 as_basename=basename
56203 else
56204 as_basename=false
56205 fi
56206
56207
56208 # Name of the executable.
56209 as_me=`$as_basename -- "$0" ||
56210 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56211 X"$0" : 'X\(//\)$' \| \
56212 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56213 echo X/"$0" |
56214 sed '/^.*\/\([^/][^/]*\)\/*$/{
56215 s//\1/
56216 q
56217 }
56218 /^X\/\(\/\/\)$/{
56219 s//\1/
56220 q
56221 }
56222 /^X\/\(\/\).*/{
56223 s//\1/
56224 q
56225 }
56226 s/.*/./; q'`
56227
56228 # CDPATH.
56229 $as_unset CDPATH
56230
56231
56232
56233 as_lineno_1=$LINENO
56234 as_lineno_2=$LINENO
56235 test "x$as_lineno_1" != "x$as_lineno_2" &&
56236 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56237
56238 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56239 # uniformly replaced by the line number. The first 'sed' inserts a
56240 # line-number line after each line using $LINENO; the second 'sed'
56241 # does the real work. The second script uses 'N' to pair each
56242 # line-number line with the line containing $LINENO, and appends
56243 # trailing '-' during substitution so that $LINENO is not a special
56244 # case at line end.
56245 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56246 # scripts with optimization help from Paolo Bonzini. Blame Lee
56247 # E. McMahon (1931-1989) for sed's syntax. :-)
56248 sed -n '
56249 p
56250 /[$]LINENO/=
56251 ' <$as_myself |
56252 sed '
56253 s/[$]LINENO.*/&-/
56254 t lineno
56255 b
56256 :lineno
56257 N
56258 :loop
56259 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56260 t loop
56261 s/-\n.*//
56262 ' >$as_me.lineno &&
56263 chmod +x "$as_me.lineno" ||
56264 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56265 { (exit 1); exit 1; }; }
56266
56267 # Don't try to exec as it changes $[0], causing all sort of problems
56268 # (the dirname of $[0] is not the place where we might find the
56269 # original and so on. Autoconf is especially sensitive to this).
56270 . "./$as_me.lineno"
56271 # Exit status is that of the last command.
56272 exit
56273 }
56274
56275
56276 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
56277 as_dirname=dirname
56278 else
56279 as_dirname=false
56280 fi
56281
56282 ECHO_C= ECHO_N= ECHO_T=
56283 case `echo -n x` in
56284 -n*)
56285 case `echo 'x\c'` in
56286 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
56287 *) ECHO_C='\c';;
56288 esac;;
56289 *)
56290 ECHO_N='-n';;
56291 esac
56292
56293 if expr a : '\(a\)' >/dev/null 2>&1 &&
56294 test "X`expr 00001 : '.*\(...\)'`" = X001; then
56295 as_expr=expr
56296 else
56297 as_expr=false
56298 fi
56299
56300 rm -f conf$$ conf$$.exe conf$$.file
56301 if test -d conf$$.dir; then
56302 rm -f conf$$.dir/conf$$.file
56303 else
56304 rm -f conf$$.dir
56305 mkdir conf$$.dir
56306 fi
56307 echo >conf$$.file
56308 if ln -s conf$$.file conf$$ 2>/dev/null; then
56309 as_ln_s='ln -s'
56310 # ... but there are two gotchas:
56311 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56312 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56313 # In both cases, we have to default to `cp -p'.
56314 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
56315 as_ln_s='cp -p'
56316 elif ln conf$$.file conf$$ 2>/dev/null; then
56317 as_ln_s=ln
56318 else
56319 as_ln_s='cp -p'
56320 fi
56321 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
56322 rmdir conf$$.dir 2>/dev/null
56323
56324 if mkdir -p . 2>/dev/null; then
56325 as_mkdir_p=:
56326 else
56327 test -d ./-p && rmdir ./-p
56328 as_mkdir_p=false
56329 fi
56330
56331 if test -x / >/dev/null 2>&1; then
56332 as_test_x='test -x'
56333 else
56334 if ls -dL / >/dev/null 2>&1; then
56335 as_ls_L_option=L
56336 else
56337 as_ls_L_option=
56338 fi
56339 as_test_x='
56340 eval sh -c '\''
56341 if test -d "$1"; then
56342 test -d "$1/.";
56343 else
56344 case $1 in
56345 -*)set "./$1";;
56346 esac;
56347 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56348 ???[sx]*):;;*)false;;esac;fi
56349 '\'' sh
56350 '
56351 fi
56352 as_executable_p=$as_test_x
56353
56354 # Sed expression to map a string onto a valid CPP name.
56355 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56356
56357 # Sed expression to map a string onto a valid variable name.
56358 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56359
56360
56361 exec 6>&1
56362
56363 # Save the log message, to keep $[0] and so on meaningful, and to
56364 # report actual input values of CONFIG_FILES etc. instead of their
56365 # values after options handling.
56366 ac_log="
56367 This file was extended by wxWidgets $as_me 2.9.3, which was
56368 generated by GNU Autoconf 2.61. Invocation command line was
56369
56370 CONFIG_FILES = $CONFIG_FILES
56371 CONFIG_HEADERS = $CONFIG_HEADERS
56372 CONFIG_LINKS = $CONFIG_LINKS
56373 CONFIG_COMMANDS = $CONFIG_COMMANDS
56374 $ $0 $@
56375
56376 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56377 "
56378
56379 _ACEOF
56380
56381 cat >>$CONFIG_STATUS <<_ACEOF
56382 # Files that config.status was made for.
56383 config_files="$ac_config_files"
56384 config_headers="$ac_config_headers"
56385 config_commands="$ac_config_commands"
56386
56387 _ACEOF
56388
56389 cat >>$CONFIG_STATUS <<\_ACEOF
56390 ac_cs_usage="\
56391 \`$as_me' instantiates files from templates according to the
56392 current configuration.
56393
56394 Usage: $0 [OPTIONS] [FILE]...
56395
56396 -h, --help print this help, then exit
56397 -V, --version print version number and configuration settings, then exit
56398 -q, --quiet do not print progress messages
56399 -d, --debug don't remove temporary files
56400 --recheck update $as_me by reconfiguring in the same conditions
56401 --file=FILE[:TEMPLATE]
56402 instantiate the configuration file FILE
56403 --header=FILE[:TEMPLATE]
56404 instantiate the configuration header FILE
56405
56406 Configuration files:
56407 $config_files
56408
56409 Configuration headers:
56410 $config_headers
56411
56412 Configuration commands:
56413 $config_commands
56414
56415 Report bugs to <bug-autoconf@gnu.org>."
56416
56417 _ACEOF
56418 cat >>$CONFIG_STATUS <<_ACEOF
56419 ac_cs_version="\\
56420 wxWidgets config.status 2.9.3
56421 configured by $0, generated by GNU Autoconf 2.61,
56422 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56423
56424 Copyright (C) 2006 Free Software Foundation, Inc.
56425 This config.status script is free software; the Free Software Foundation
56426 gives unlimited permission to copy, distribute and modify it."
56427
56428 ac_pwd='$ac_pwd'
56429 srcdir='$srcdir'
56430 INSTALL='$INSTALL'
56431 _ACEOF
56432
56433 cat >>$CONFIG_STATUS <<\_ACEOF
56434 # If no file are specified by the user, then we need to provide default
56435 # value. By we need to know if files were specified by the user.
56436 ac_need_defaults=:
56437 while test $# != 0
56438 do
56439 case $1 in
56440 --*=*)
56441 ac_option=`expr "X$1" : 'X\([^=]*\)='`
56442 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
56443 ac_shift=:
56444 ;;
56445 *)
56446 ac_option=$1
56447 ac_optarg=$2
56448 ac_shift=shift
56449 ;;
56450 esac
56451
56452 case $ac_option in
56453 # Handling of the options.
56454 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56455 ac_cs_recheck=: ;;
56456 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56457 echo "$ac_cs_version"; exit ;;
56458 --debug | --debu | --deb | --de | --d | -d )
56459 debug=: ;;
56460 --file | --fil | --fi | --f )
56461 $ac_shift
56462 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
56463 ac_need_defaults=false;;
56464 --header | --heade | --head | --hea )
56465 $ac_shift
56466 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
56467 ac_need_defaults=false;;
56468 --he | --h)
56469 # Conflict between --help and --header
56470 { echo "$as_me: error: ambiguous option: $1
56471 Try \`$0 --help' for more information." >&2
56472 { (exit 1); exit 1; }; };;
56473 --help | --hel | -h )
56474 echo "$ac_cs_usage"; exit ;;
56475 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56476 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56477 ac_cs_silent=: ;;
56478
56479 # This is an error.
56480 -*) { echo "$as_me: error: unrecognized option: $1
56481 Try \`$0 --help' for more information." >&2
56482 { (exit 1); exit 1; }; } ;;
56483
56484 *) ac_config_targets="$ac_config_targets $1"
56485 ac_need_defaults=false ;;
56486
56487 esac
56488 shift
56489 done
56490
56491 ac_configure_extra_args=
56492
56493 if $ac_cs_silent; then
56494 exec 6>/dev/null
56495 ac_configure_extra_args="$ac_configure_extra_args --silent"
56496 fi
56497
56498 _ACEOF
56499 cat >>$CONFIG_STATUS <<_ACEOF
56500 if \$ac_cs_recheck; then
56501 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56502 CONFIG_SHELL=$SHELL
56503 export CONFIG_SHELL
56504 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56505 fi
56506
56507 _ACEOF
56508 cat >>$CONFIG_STATUS <<\_ACEOF
56509 exec 5>>config.log
56510 {
56511 echo
56512 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56513 ## Running $as_me. ##
56514 _ASBOX
56515 echo "$ac_log"
56516 } >&5
56517
56518 _ACEOF
56519 cat >>$CONFIG_STATUS <<_ACEOF
56520 #
56521 # INIT-COMMANDS
56522 #
56523
56524 CPP="$CPP"
56525 infile="$srcdir/include/wx/msw/genrcdefs.h"
56526 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56527
56528
56529 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56530 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56531 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56532 LN_S="${LN_S}"
56533
56534
56535 _ACEOF
56536
56537 cat >>$CONFIG_STATUS <<\_ACEOF
56538
56539 # Handling of arguments.
56540 for ac_config_target in $ac_config_targets
56541 do
56542 case $ac_config_target in
56543 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56544 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
56545 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56546 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56547 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56548 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
56549 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
56550 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
56551 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
56552
56553 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56554 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56555 { (exit 1); exit 1; }; };;
56556 esac
56557 done
56558
56559
56560 # If the user did not use the arguments to specify the items to instantiate,
56561 # then the envvar interface is used. Set only those that are not.
56562 # We use the long form for the default assignment because of an extremely
56563 # bizarre bug on SunOS 4.1.3.
56564 if $ac_need_defaults; then
56565 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
56566 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
56567 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
56568 fi
56569
56570 # Have a temporary directory for convenience. Make it in the build tree
56571 # simply because there is no reason against having it here, and in addition,
56572 # creating and moving files from /tmp can sometimes cause problems.
56573 # Hook for its removal unless debugging.
56574 # Note that there is a small window in which the directory will not be cleaned:
56575 # after its creation but before its name has been assigned to `$tmp'.
56576 $debug ||
56577 {
56578 tmp=
56579 trap 'exit_status=$?
56580 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56581 ' 0
56582 trap '{ (exit 1); exit 1; }' 1 2 13 15
56583 }
56584 # Create a (secure) tmp directory for tmp files.
56585
56586 {
56587 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56588 test -n "$tmp" && test -d "$tmp"
56589 } ||
56590 {
56591 tmp=./conf$$-$RANDOM
56592 (umask 077 && mkdir "$tmp")
56593 } ||
56594 {
56595 echo "$me: cannot create a temporary directory in ." >&2
56596 { (exit 1); exit 1; }
56597 }
56598
56599 #
56600 # Set up the sed scripts for CONFIG_FILES section.
56601 #
56602
56603 # No need to generate the scripts if there are no CONFIG_FILES.
56604 # This happens for instance when ./config.status config.h
56605 if test -n "$CONFIG_FILES"; then
56606
56607 _ACEOF
56608
56609
56610
56611 ac_delim='%!_!# '
56612 for ac_last_try in false false false false false :; do
56613 cat >conf$$subs.sed <<_ACEOF
56614 SHELL!$SHELL$ac_delim
56615 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56616 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56617 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56618 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56619 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56620 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56621 exec_prefix!$exec_prefix$ac_delim
56622 prefix!$prefix$ac_delim
56623 program_transform_name!$program_transform_name$ac_delim
56624 bindir!$bindir$ac_delim
56625 sbindir!$sbindir$ac_delim
56626 libexecdir!$libexecdir$ac_delim
56627 datarootdir!$datarootdir$ac_delim
56628 datadir!$datadir$ac_delim
56629 sysconfdir!$sysconfdir$ac_delim
56630 sharedstatedir!$sharedstatedir$ac_delim
56631 localstatedir!$localstatedir$ac_delim
56632 includedir!$includedir$ac_delim
56633 oldincludedir!$oldincludedir$ac_delim
56634 docdir!$docdir$ac_delim
56635 infodir!$infodir$ac_delim
56636 htmldir!$htmldir$ac_delim
56637 dvidir!$dvidir$ac_delim
56638 pdfdir!$pdfdir$ac_delim
56639 psdir!$psdir$ac_delim
56640 libdir!$libdir$ac_delim
56641 localedir!$localedir$ac_delim
56642 mandir!$mandir$ac_delim
56643 DEFS!$DEFS$ac_delim
56644 ECHO_C!$ECHO_C$ac_delim
56645 ECHO_N!$ECHO_N$ac_delim
56646 ECHO_T!$ECHO_T$ac_delim
56647 LIBS!$LIBS$ac_delim
56648 build_alias!$build_alias$ac_delim
56649 host_alias!$host_alias$ac_delim
56650 target_alias!$target_alias$ac_delim
56651 build!$build$ac_delim
56652 build_cpu!$build_cpu$ac_delim
56653 build_vendor!$build_vendor$ac_delim
56654 build_os!$build_os$ac_delim
56655 host!$host$ac_delim
56656 host_cpu!$host_cpu$ac_delim
56657 host_vendor!$host_vendor$ac_delim
56658 host_os!$host_os$ac_delim
56659 wx_top_builddir!$wx_top_builddir$ac_delim
56660 CC!$CC$ac_delim
56661 CFLAGS!$CFLAGS$ac_delim
56662 LDFLAGS!$LDFLAGS$ac_delim
56663 CPPFLAGS!$CPPFLAGS$ac_delim
56664 ac_ct_CC!$ac_ct_CC$ac_delim
56665 EXEEXT!$EXEEXT$ac_delim
56666 OBJEXT!$OBJEXT$ac_delim
56667 CPP!$CPP$ac_delim
56668 GREP!$GREP$ac_delim
56669 EGREP!$EGREP$ac_delim
56670 CXX!$CXX$ac_delim
56671 CXXFLAGS!$CXXFLAGS$ac_delim
56672 ac_ct_CXX!$ac_ct_CXX$ac_delim
56673 AR!$AR$ac_delim
56674 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56675 CXXCPP!$CXXCPP$ac_delim
56676 subdirs!$subdirs$ac_delim
56677 PKG_CONFIG!$PKG_CONFIG$ac_delim
56678 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56679 GTK_LIBS!$GTK_LIBS$ac_delim
56680 GTK_CONFIG!$GTK_CONFIG$ac_delim
56681 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56682 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56683 XMKMF!$XMKMF$ac_delim
56684 X_CFLAGS!$X_CFLAGS$ac_delim
56685 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56686 X_LIBS!$X_LIBS$ac_delim
56687 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56688 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56689 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56690 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56691 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56692 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56693 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56694 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56695 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56696 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56697 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56698 SM_CFLAGS!$SM_CFLAGS$ac_delim
56699 SM_LIBS!$SM_LIBS$ac_delim
56700 GL_CFLAGS!$GL_CFLAGS$ac_delim
56701 GL_LIBS!$GL_LIBS$ac_delim
56702 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56703 GLU_LIBS!$GLU_LIBS$ac_delim
56704 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56705 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56706 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56707 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56708 LIBICONV!$LIBICONV$ac_delim
56709 GXX_VERSION!$GXX_VERSION$ac_delim
56710 SDL_CONFIG!$SDL_CONFIG$ac_delim
56711 _ACEOF
56712
56713 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56714 break
56715 elif $ac_last_try; then
56716 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56717 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56718 { (exit 1); exit 1; }; }
56719 else
56720 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56721 fi
56722 done
56723
56724 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56725 if test -n "$ac_eof"; then
56726 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56727 ac_eof=`expr $ac_eof + 1`
56728 fi
56729
56730 cat >>$CONFIG_STATUS <<_ACEOF
56731 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56732 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56733 _ACEOF
56734 sed '
56735 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56736 s/^/s,@/; s/!/@,|#_!!_#|/
56737 :n
56738 t n
56739 s/'"$ac_delim"'$/,g/; t
56740 s/$/\\/; p
56741 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56742 ' >>$CONFIG_STATUS <conf$$subs.sed
56743 rm -f conf$$subs.sed
56744 cat >>$CONFIG_STATUS <<_ACEOF
56745 CEOF$ac_eof
56746 _ACEOF
56747
56748
56749 ac_delim='%!_!# '
56750 for ac_last_try in false false false false false :; do
56751 cat >conf$$subs.sed <<_ACEOF
56752 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56753 SDL_LIBS!$SDL_LIBS$ac_delim
56754 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56755 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56756 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56757 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56758 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56759 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56760 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56761 HILDON_LIBS!$HILDON_LIBS$ac_delim
56762 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56763 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56764 PYTHON!$PYTHON$ac_delim
56765 COND_PYTHON!$COND_PYTHON$ac_delim
56766 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56767 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56768 GST_CFLAGS!$GST_CFLAGS$ac_delim
56769 GST_LIBS!$GST_LIBS$ac_delim
56770 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56771 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56772 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56773 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56774 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56775 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56776 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56777 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56778 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56779 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56780 VENDOR!$VENDOR$ac_delim
56781 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56782 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56783 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56784 WXUNIV!$WXUNIV$ac_delim
56785 MONOLITHIC!$MONOLITHIC$ac_delim
56786 USE_PLUGINS!$USE_PLUGINS$ac_delim
56787 CXXWARNINGS!$CXXWARNINGS$ac_delim
56788 EXTRALIBS!$EXTRALIBS$ac_delim
56789 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56790 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56791 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56792 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56793 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56794 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56795 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56796 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56797 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56798 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56799 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56800 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56801 UNICODE!$UNICODE$ac_delim
56802 DEBUG_INFO!$DEBUG_INFO$ac_delim
56803 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56804 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56805 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56806 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56807 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56808 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56809 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56810 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56811 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56812 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56813 RANLIB!$RANLIB$ac_delim
56814 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56815 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56816 INSTALL_DATA!$INSTALL_DATA$ac_delim
56817 LN_S!$LN_S$ac_delim
56818 SET_MAKE!$SET_MAKE$ac_delim
56819 MAKE_SET!$MAKE_SET$ac_delim
56820 AROPTIONS!$AROPTIONS$ac_delim
56821 STRIP!$STRIP$ac_delim
56822 NM!$NM$ac_delim
56823 INSTALL_DIR!$INSTALL_DIR$ac_delim
56824 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56825 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56826 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56827 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56828 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56829 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56830 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56831 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56832 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56833 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56834 SO_SUFFIX!$SO_SUFFIX$ac_delim
56835 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56836 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56837 LIBPREFIX!$LIBPREFIX$ac_delim
56838 LIBEXT!$LIBEXT$ac_delim
56839 DLLPREFIX!$DLLPREFIX$ac_delim
56840 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56841 dlldir!$dlldir$ac_delim
56842 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56843 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56844 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56845 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56846 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56847 PIC_FLAG!$PIC_FLAG$ac_delim
56848 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56849 _ACEOF
56850
56851 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56852 break
56853 elif $ac_last_try; then
56854 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56855 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56856 { (exit 1); exit 1; }; }
56857 else
56858 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56859 fi
56860 done
56861
56862 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56863 if test -n "$ac_eof"; then
56864 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
56865 ac_eof=`expr $ac_eof + 1`
56866 fi
56867
56868 cat >>$CONFIG_STATUS <<_ACEOF
56869 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56870 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56871 _ACEOF
56872 sed '
56873 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56874 s/^/s,@/; s/!/@,|#_!!_#|/
56875 :n
56876 t n
56877 s/'"$ac_delim"'$/,g/; t
56878 s/$/\\/; p
56879 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56880 ' >>$CONFIG_STATUS <conf$$subs.sed
56881 rm -f conf$$subs.sed
56882 cat >>$CONFIG_STATUS <<_ACEOF
56883 CEOF$ac_eof
56884 _ACEOF
56885
56886
56887 ac_delim='%!_!# '
56888 for ac_last_try in false false false false false :; do
56889 cat >conf$$subs.sed <<_ACEOF
56890 USE_SOVERSION!$USE_SOVERSION$ac_delim
56891 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56892 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56893 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56894 USE_MACVERSION!$USE_MACVERSION$ac_delim
56895 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56896 SONAME_FLAG!$SONAME_FLAG$ac_delim
56897 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56898 BK_DEPS!$BK_DEPS$ac_delim
56899 WINDRES!$WINDRES$ac_delim
56900 REZ!$REZ$ac_delim
56901 SETFILE!$SETFILE$ac_delim
56902 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56903 GCC_PCH!$GCC_PCH$ac_delim
56904 ICC_PCH!$ICC_PCH$ac_delim
56905 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56906 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56907 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56908 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56909 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56910 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56911 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56912 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56913 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56914 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56915 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56916 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56917 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56918 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56919 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56920 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56921 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56922 COND_BUILD_release!$COND_BUILD_release$ac_delim
56923 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56924 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56925 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56926 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56927 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56928 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56929 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56930 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56931 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56932 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56933 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56934 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56935 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56936 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56937 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56938 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56939 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56940 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56941 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56942 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56943 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56944 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56945 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56946 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56947 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56948 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56949 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56950 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56951 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56952 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56953 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56954 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56955 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56956 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56957 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56958 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56959 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56960 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56961 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56962 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56963 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56964 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56965 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56966 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56967 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56968 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56969 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56970 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56971 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56972 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56973 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56974 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56975 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56976 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56977 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56978 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56979 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56980 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56981 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56982 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0$ac_delim
56983 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56984 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56985 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56986 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56987 _ACEOF
56988
56989 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56990 break
56991 elif $ac_last_try; then
56992 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56993 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56994 { (exit 1); exit 1; }; }
56995 else
56996 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
56997 fi
56998 done
56999
57000 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57001 if test -n "$ac_eof"; then
57002 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57003 ac_eof=`expr $ac_eof + 1`
57004 fi
57005
57006 cat >>$CONFIG_STATUS <<_ACEOF
57007 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
57008 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57009 _ACEOF
57010 sed '
57011 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57012 s/^/s,@/; s/!/@,|#_!!_#|/
57013 :n
57014 t n
57015 s/'"$ac_delim"'$/,g/; t
57016 s/$/\\/; p
57017 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57018 ' >>$CONFIG_STATUS <conf$$subs.sed
57019 rm -f conf$$subs.sed
57020 cat >>$CONFIG_STATUS <<_ACEOF
57021 CEOF$ac_eof
57022 _ACEOF
57023
57024
57025 ac_delim='%!_!# '
57026 for ac_last_try in false false false false false :; do
57027 cat >conf$$subs.sed <<_ACEOF
57028 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
57029 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
57030 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
57031 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
57032 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
57033 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
57034 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
57035 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
57036 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
57037 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
57038 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
57039 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
57040 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
57041 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
57042 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
57043 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
57044 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
57045 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
57046 COND_SHARED_0!$COND_SHARED_0$ac_delim
57047 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
57048 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
57049 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
57050 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
57051 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
57052 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
57053 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57054 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
57055 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
57056 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
57057 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
57058 COND_SHARED_1!$COND_SHARED_1$ac_delim
57059 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
57060 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
57061 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
57062 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
57063 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
57064 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
57065 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
57066 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
57067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
57068 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
57069 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
57070 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
57071 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
57072 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
57073 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
57074 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
57075 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
57076 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
57077 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
57078 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
57079 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
57080 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
57081 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
57082 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
57083 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
57084 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
57085 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
57086 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
57087 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
57088 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
57089 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
57090 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
57091 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
57092 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
57093 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
57094 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
57095 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
57096 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
57097 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
57098 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
57099 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
57100 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
57101 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
57102 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
57103 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
57104 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
57105 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
57106 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
57107 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
57108 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
57109 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
57110 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
57111 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
57112 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
57113 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
57114 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
57115 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
57116 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
57117 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
57118 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
57119 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
57120 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
57121 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
57122 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
57123 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
57124 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
57125 _ACEOF
57126
57127 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
57128 break
57129 elif $ac_last_try; then
57130 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57131 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57132 { (exit 1); exit 1; }; }
57133 else
57134 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57135 fi
57136 done
57137
57138 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57139 if test -n "$ac_eof"; then
57140 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57141 ac_eof=`expr $ac_eof + 1`
57142 fi
57143
57144 cat >>$CONFIG_STATUS <<_ACEOF
57145 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
57146 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57147 _ACEOF
57148 sed '
57149 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57150 s/^/s,@/; s/!/@,|#_!!_#|/
57151 :n
57152 t n
57153 s/'"$ac_delim"'$/,g/; t
57154 s/$/\\/; p
57155 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57156 ' >>$CONFIG_STATUS <conf$$subs.sed
57157 rm -f conf$$subs.sed
57158 cat >>$CONFIG_STATUS <<_ACEOF
57159 CEOF$ac_eof
57160 _ACEOF
57161
57162
57163 ac_delim='%!_!# '
57164 for ac_last_try in false false false false false :; do
57165 cat >conf$$subs.sed <<_ACEOF
57166 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
57167 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
57168 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
57169 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
57170 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
57171 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
57172 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
57173 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
57174 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
57175 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
57176 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
57177 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
57178 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
57179 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
57180 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
57181 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
57182 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
57183 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
57184 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
57185 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
57186 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
57187 DEREZ!$DEREZ$ac_delim
57188 SHARED!$SHARED$ac_delim
57189 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
57190 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
57191 USE_GUI!$USE_GUI$ac_delim
57192 AFMINSTALL!$AFMINSTALL$ac_delim
57193 WIN32INSTALL!$WIN32INSTALL$ac_delim
57194 TOOLKIT!$TOOLKIT$ac_delim
57195 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
57196 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
57197 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
57198 cross_compiling!$cross_compiling$ac_delim
57199 WIDGET_SET!$WIDGET_SET$ac_delim
57200 WX_RELEASE!$WX_RELEASE$ac_delim
57201 WX_VERSION!$WX_VERSION$ac_delim
57202 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
57203 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
57204 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
57205 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
57206 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
57207 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
57208 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
57209 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
57210 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
57211 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
57212 GUIDIST!$GUIDIST$ac_delim
57213 DISTDIR!$DISTDIR$ac_delim
57214 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
57215 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
57216 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
57217 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
57218 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
57219 RESCOMP!$RESCOMP$ac_delim
57220 RESFLAGS!$RESFLAGS$ac_delim
57221 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
57222 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
57223 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
57224 LIBWXMACRES!$LIBWXMACRES$ac_delim
57225 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
57226 MACSETFILE!$MACSETFILE$ac_delim
57227 GCC!$GCC$ac_delim
57228 DLLTOOL!$DLLTOOL$ac_delim
57229 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
57230 LIBOBJS!$LIBOBJS$ac_delim
57231 LTLIBOBJS!$LTLIBOBJS$ac_delim
57232 _ACEOF
57233
57234 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 66; then
57235 break
57236 elif $ac_last_try; then
57237 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57238 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57239 { (exit 1); exit 1; }; }
57240 else
57241 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
57242 fi
57243 done
57244
57245 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57246 if test -n "$ac_eof"; then
57247 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
57248 ac_eof=`expr $ac_eof + 1`
57249 fi
57250
57251 cat >>$CONFIG_STATUS <<_ACEOF
57252 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
57253 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
57254 _ACEOF
57255 sed '
57256 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57257 s/^/s,@/; s/!/@,|#_!!_#|/
57258 :n
57259 t n
57260 s/'"$ac_delim"'$/,g/; t
57261 s/$/\\/; p
57262 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57263 ' >>$CONFIG_STATUS <conf$$subs.sed
57264 rm -f conf$$subs.sed
57265 cat >>$CONFIG_STATUS <<_ACEOF
57266 :end
57267 s/|#_!!_#|//g
57268 CEOF$ac_eof
57269 _ACEOF
57270
57271
57272 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57273 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57274 # trailing colons and then remove the whole line if VPATH becomes empty
57275 # (actually we leave an empty line to preserve line numbers).
57276 if test "x$srcdir" = x.; then
57277 ac_vpsub='/^[ ]*VPATH[ ]*=/{
57278 s/:*\$(srcdir):*/:/
57279 s/:*\${srcdir}:*/:/
57280 s/:*@srcdir@:*/:/
57281 s/^\([^=]*=[ ]*\):*/\1/
57282 s/:*$//
57283 s/^[^=]*=[ ]*$//
57284 }'
57285 fi
57286
57287 cat >>$CONFIG_STATUS <<\_ACEOF
57288 fi # test -n "$CONFIG_FILES"
57289
57290
57291 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
57292 do
57293 case $ac_tag in
57294 :[FHLC]) ac_mode=$ac_tag; continue;;
57295 esac
57296 case $ac_mode$ac_tag in
57297 :[FHL]*:*);;
57298 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57299 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57300 { (exit 1); exit 1; }; };;
57301 :[FH]-) ac_tag=-:-;;
57302 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
57303 esac
57304 ac_save_IFS=$IFS
57305 IFS=:
57306 set x $ac_tag
57307 IFS=$ac_save_IFS
57308 shift
57309 ac_file=$1
57310 shift
57311
57312 case $ac_mode in
57313 :L) ac_source=$1;;
57314 :[FH])
57315 ac_file_inputs=
57316 for ac_f
57317 do
57318 case $ac_f in
57319 -) ac_f="$tmp/stdin";;
57320 *) # Look for the file first in the build tree, then in the source tree
57321 # (if the path is not absolute). The absolute path cannot be DOS-style,
57322 # because $ac_f cannot contain `:'.
57323 test -f "$ac_f" ||
57324 case $ac_f in
57325 [\\/$]*) false;;
57326 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
57327 esac ||
57328 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57329 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57330 { (exit 1); exit 1; }; };;
57331 esac
57332 ac_file_inputs="$ac_file_inputs $ac_f"
57333 done
57334
57335 # Let's still pretend it is `configure' which instantiates (i.e., don't
57336 # use $as_me), people would be surprised to read:
57337 # /* config.h. Generated by config.status. */
57338 configure_input="Generated from "`IFS=:
57339 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57340 if test x"$ac_file" != x-; then
57341 configure_input="$ac_file. $configure_input"
57342 { echo "$as_me:$LINENO: creating $ac_file" >&5
57343 echo "$as_me: creating $ac_file" >&6;}
57344 fi
57345
57346 case $ac_tag in
57347 *:-:* | *:-) cat >"$tmp/stdin";;
57348 esac
57349 ;;
57350 esac
57351
57352 ac_dir=`$as_dirname -- "$ac_file" ||
57353 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57354 X"$ac_file" : 'X\(//\)[^/]' \| \
57355 X"$ac_file" : 'X\(//\)$' \| \
57356 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57357 echo X"$ac_file" |
57358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57359 s//\1/
57360 q
57361 }
57362 /^X\(\/\/\)[^/].*/{
57363 s//\1/
57364 q
57365 }
57366 /^X\(\/\/\)$/{
57367 s//\1/
57368 q
57369 }
57370 /^X\(\/\).*/{
57371 s//\1/
57372 q
57373 }
57374 s/.*/./; q'`
57375 { as_dir="$ac_dir"
57376 case $as_dir in #(
57377 -*) as_dir=./$as_dir;;
57378 esac
57379 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57380 as_dirs=
57381 while :; do
57382 case $as_dir in #(
57383 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57384 *) as_qdir=$as_dir;;
57385 esac
57386 as_dirs="'$as_qdir' $as_dirs"
57387 as_dir=`$as_dirname -- "$as_dir" ||
57388 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57389 X"$as_dir" : 'X\(//\)[^/]' \| \
57390 X"$as_dir" : 'X\(//\)$' \| \
57391 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57392 echo X"$as_dir" |
57393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57394 s//\1/
57395 q
57396 }
57397 /^X\(\/\/\)[^/].*/{
57398 s//\1/
57399 q
57400 }
57401 /^X\(\/\/\)$/{
57402 s//\1/
57403 q
57404 }
57405 /^X\(\/\).*/{
57406 s//\1/
57407 q
57408 }
57409 s/.*/./; q'`
57410 test -d "$as_dir" && break
57411 done
57412 test -z "$as_dirs" || eval "mkdir $as_dirs"
57413 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57414 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57415 { (exit 1); exit 1; }; }; }
57416 ac_builddir=.
57417
57418 case "$ac_dir" in
57419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57420 *)
57421 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57422 # A ".." for each directory in $ac_dir_suffix.
57423 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57424 case $ac_top_builddir_sub in
57425 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57426 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57427 esac ;;
57428 esac
57429 ac_abs_top_builddir=$ac_pwd
57430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57431 # for backward compatibility:
57432 ac_top_builddir=$ac_top_build_prefix
57433
57434 case $srcdir in
57435 .) # We are building in place.
57436 ac_srcdir=.
57437 ac_top_srcdir=$ac_top_builddir_sub
57438 ac_abs_top_srcdir=$ac_pwd ;;
57439 [\\/]* | ?:[\\/]* ) # Absolute name.
57440 ac_srcdir=$srcdir$ac_dir_suffix;
57441 ac_top_srcdir=$srcdir
57442 ac_abs_top_srcdir=$srcdir ;;
57443 *) # Relative name.
57444 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57445 ac_top_srcdir=$ac_top_build_prefix$srcdir
57446 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57447 esac
57448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57449
57450
57451 case $ac_mode in
57452 :F)
57453 #
57454 # CONFIG_FILE
57455 #
57456
57457 case $INSTALL in
57458 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
57459 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
57460 esac
57461 _ACEOF
57462
57463 cat >>$CONFIG_STATUS <<\_ACEOF
57464 # If the template does not know about datarootdir, expand it.
57465 # FIXME: This hack should be removed a few years after 2.60.
57466 ac_datarootdir_hack=; ac_datarootdir_seen=
57467
57468 case `sed -n '/datarootdir/ {
57469 p
57470 q
57471 }
57472 /@datadir@/p
57473 /@docdir@/p
57474 /@infodir@/p
57475 /@localedir@/p
57476 /@mandir@/p
57477 ' $ac_file_inputs` in
57478 *datarootdir*) ac_datarootdir_seen=yes;;
57479 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
57480 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57481 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57482 _ACEOF
57483 cat >>$CONFIG_STATUS <<_ACEOF
57484 ac_datarootdir_hack='
57485 s&@datadir@&$datadir&g
57486 s&@docdir@&$docdir&g
57487 s&@infodir@&$infodir&g
57488 s&@localedir@&$localedir&g
57489 s&@mandir@&$mandir&g
57490 s&\\\${datarootdir}&$datarootdir&g' ;;
57491 esac
57492 _ACEOF
57493
57494 # Neutralize VPATH when `$srcdir' = `.'.
57495 # Shell code in configure.ac might set extrasub.
57496 # FIXME: do we really want to maintain this feature?
57497 cat >>$CONFIG_STATUS <<_ACEOF
57498 sed "$ac_vpsub
57499 $extrasub
57500 _ACEOF
57501 cat >>$CONFIG_STATUS <<\_ACEOF
57502 :t
57503 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
57504 s&@configure_input@&$configure_input&;t t
57505 s&@top_builddir@&$ac_top_builddir_sub&;t t
57506 s&@srcdir@&$ac_srcdir&;t t
57507 s&@abs_srcdir@&$ac_abs_srcdir&;t t
57508 s&@top_srcdir@&$ac_top_srcdir&;t t
57509 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
57510 s&@builddir@&$ac_builddir&;t t
57511 s&@abs_builddir@&$ac_abs_builddir&;t t
57512 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
57513 s&@INSTALL@&$ac_INSTALL&;t t
57514 $ac_datarootdir_hack
57515 " $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
57516
57517 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57518 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
57519 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
57520 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57521 which seems to be undefined. Please make sure it is defined." >&5
57522 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
57523 which seems to be undefined. Please make sure it is defined." >&2;}
57524
57525 rm -f "$tmp/stdin"
57526 case $ac_file in
57527 -) cat "$tmp/out"; rm -f "$tmp/out";;
57528 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57529 esac
57530 ;;
57531 :H)
57532 #
57533 # CONFIG_HEADER
57534 #
57535 _ACEOF
57536
57537 # Transform confdefs.h into a sed script `conftest.defines', that
57538 # substitutes the proper values into config.h.in to produce config.h.
57539 rm -f conftest.defines conftest.tail
57540 # First, append a space to every undef/define line, to ease matching.
57541 echo 's/$/ /' >conftest.defines
57542 # Then, protect against being on the right side of a sed subst, or in
57543 # an unquoted here document, in config.status. If some macros were
57544 # called several times there might be several #defines for the same
57545 # symbol, which is useless. But do not sort them, since the last
57546 # AC_DEFINE must be honored.
57547 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57548 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57549 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57550 # PARAMS is the parameter list in the macro definition--in most cases, it's
57551 # just an empty string.
57552 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57553 ac_dB='\\)[ (].*,\\1define\\2'
57554 ac_dC=' '
57555 ac_dD=' ,'
57556
57557 uniq confdefs.h |
57558 sed -n '
57559 t rset
57560 :rset
57561 s/^[ ]*#[ ]*define[ ][ ]*//
57562 t ok
57563 d
57564 :ok
57565 s/[\\&,]/\\&/g
57566 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57567 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57568 ' >>conftest.defines
57569
57570 # Remove the space that was appended to ease matching.
57571 # Then replace #undef with comments. This is necessary, for
57572 # example, in the case of _POSIX_SOURCE, which is predefined and required
57573 # on some systems where configure will not decide to define it.
57574 # (The regexp can be short, since the line contains either #define or #undef.)
57575 echo 's/ $//
57576 s,^[ #]*u.*,/* & */,' >>conftest.defines
57577
57578 # Break up conftest.defines:
57579 ac_max_sed_lines=50
57580
57581 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57582 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57583 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57584 # et cetera.
57585 ac_in='$ac_file_inputs'
57586 ac_out='"$tmp/out1"'
57587 ac_nxt='"$tmp/out2"'
57588
57589 while :
57590 do
57591 # Write a here document:
57592 cat >>$CONFIG_STATUS <<_ACEOF
57593 # First, check the format of the line:
57594 cat >"\$tmp/defines.sed" <<\\CEOF
57595 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57596 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57597 b
57598 :def
57599 _ACEOF
57600 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
57601 echo 'CEOF
57602 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57603 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
57604 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
57605 grep . conftest.tail >/dev/null || break
57606 rm -f conftest.defines
57607 mv conftest.tail conftest.defines
57608 done
57609 rm -f conftest.defines conftest.tail
57610
57611 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57612 cat >>$CONFIG_STATUS <<\_ACEOF
57613 if test x"$ac_file" != x-; then
57614 echo "/* $configure_input */" >"$tmp/config.h"
57615 cat "$ac_result" >>"$tmp/config.h"
57616 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
57617 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57618 echo "$as_me: $ac_file is unchanged" >&6;}
57619 else
57620 rm -f $ac_file
57621 mv "$tmp/config.h" $ac_file
57622 fi
57623 else
57624 echo "/* $configure_input */"
57625 cat "$ac_result"
57626 fi
57627 rm -f "$tmp/out12"
57628 ;;
57629
57630 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57631 echo "$as_me: executing $ac_file commands" >&6;}
57632 ;;
57633 esac
57634
57635
57636 case $ac_file$ac_mode in
57637 "rcdefs.h":C)
57638 mkdir -p $outdir &&
57639 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57640 ;;
57641 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
57642 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
57643 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
57644 "wx-config":C) rm -f wx-config
57645 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
57646 ;;
57647
57648 esac
57649 done # for ac_tag
57650
57651
57652 { (exit 0); exit 0; }
57653 _ACEOF
57654 chmod +x $CONFIG_STATUS
57655 ac_clean_files=$ac_clean_files_save
57656
57657
57658 # configure is writing to config.log, and then calls config.status.
57659 # config.status does its own redirection, appending to config.log.
57660 # Unfortunately, on DOS this fails, as config.log is still kept open
57661 # by configure, so config.status won't be able to write to it; its
57662 # output is simply discarded. So we exec the FD to /dev/null,
57663 # effectively closing config.log, so it can be properly (re)opened and
57664 # appended to by config.status. When coming back to configure, we
57665 # need to make the FD available again.
57666 if test "$no_create" != yes; then
57667 ac_cs_success=:
57668 ac_config_status_args=
57669 test "$silent" = yes &&
57670 ac_config_status_args="$ac_config_status_args --quiet"
57671 exec 5>/dev/null
57672 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
57673 exec 5>>config.log
57674 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57675 # would make configure fail if this is the last instruction.
57676 $ac_cs_success || { (exit 1); exit 1; }
57677 fi
57678
57679 #
57680 # CONFIG_SUBDIRS section.
57681 #
57682 if test "$no_recursion" != yes; then
57683
57684 # Remove --cache-file and --srcdir arguments so they do not pile up.
57685 ac_sub_configure_args=
57686 ac_prev=
57687 eval "set x $ac_configure_args"
57688 shift
57689 for ac_arg
57690 do
57691 if test -n "$ac_prev"; then
57692 ac_prev=
57693 continue
57694 fi
57695 case $ac_arg in
57696 -cache-file | --cache-file | --cache-fil | --cache-fi \
57697 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57698 ac_prev=cache_file ;;
57699 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57700 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57701 | --c=*)
57702 ;;
57703 --config-cache | -C)
57704 ;;
57705 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57706 ac_prev=srcdir ;;
57707 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57708 ;;
57709 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57710 ac_prev=prefix ;;
57711 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57712 ;;
57713 *)
57714 case $ac_arg in
57715 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57716 esac
57717 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
57718 esac
57719 done
57720
57721 # Always prepend --prefix to ensure using the same prefix
57722 # in subdir configurations.
57723 ac_arg="--prefix=$prefix"
57724 case $ac_arg in
57725 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57726 esac
57727 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
57728
57729 # Pass --silent
57730 if test "$silent" = yes; then
57731 ac_sub_configure_args="--silent $ac_sub_configure_args"
57732 fi
57733
57734 ac_popdir=`pwd`
57735 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
57736
57737 # Do not complain, so a configure script can configure whichever
57738 # parts of a large source tree are present.
57739 test -d "$srcdir/$ac_dir" || continue
57740
57741 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57742 echo "$as_me:$LINENO: $ac_msg" >&5
57743 echo "$ac_msg" >&6
57744 { as_dir="$ac_dir"
57745 case $as_dir in #(
57746 -*) as_dir=./$as_dir;;
57747 esac
57748 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57749 as_dirs=
57750 while :; do
57751 case $as_dir in #(
57752 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57753 *) as_qdir=$as_dir;;
57754 esac
57755 as_dirs="'$as_qdir' $as_dirs"
57756 as_dir=`$as_dirname -- "$as_dir" ||
57757 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57758 X"$as_dir" : 'X\(//\)[^/]' \| \
57759 X"$as_dir" : 'X\(//\)$' \| \
57760 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57761 echo X"$as_dir" |
57762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57763 s//\1/
57764 q
57765 }
57766 /^X\(\/\/\)[^/].*/{
57767 s//\1/
57768 q
57769 }
57770 /^X\(\/\/\)$/{
57771 s//\1/
57772 q
57773 }
57774 /^X\(\/\).*/{
57775 s//\1/
57776 q
57777 }
57778 s/.*/./; q'`
57779 test -d "$as_dir" && break
57780 done
57781 test -z "$as_dirs" || eval "mkdir $as_dirs"
57782 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57783 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57784 { (exit 1); exit 1; }; }; }
57785 ac_builddir=.
57786
57787 case "$ac_dir" in
57788 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
57789 *)
57790 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57791 # A ".." for each directory in $ac_dir_suffix.
57792 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57793 case $ac_top_builddir_sub in
57794 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
57795 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
57796 esac ;;
57797 esac
57798 ac_abs_top_builddir=$ac_pwd
57799 ac_abs_builddir=$ac_pwd$ac_dir_suffix
57800 # for backward compatibility:
57801 ac_top_builddir=$ac_top_build_prefix
57802
57803 case $srcdir in
57804 .) # We are building in place.
57805 ac_srcdir=.
57806 ac_top_srcdir=$ac_top_builddir_sub
57807 ac_abs_top_srcdir=$ac_pwd ;;
57808 [\\/]* | ?:[\\/]* ) # Absolute name.
57809 ac_srcdir=$srcdir$ac_dir_suffix;
57810 ac_top_srcdir=$srcdir
57811 ac_abs_top_srcdir=$srcdir ;;
57812 *) # Relative name.
57813 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
57814 ac_top_srcdir=$ac_top_build_prefix$srcdir
57815 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
57816 esac
57817 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
57818
57819
57820 cd "$ac_dir"
57821
57822 # Check for guested configure; otherwise get Cygnus style configure.
57823 if test -f "$ac_srcdir/configure.gnu"; then
57824 ac_sub_configure=$ac_srcdir/configure.gnu
57825 elif test -f "$ac_srcdir/configure"; then
57826 ac_sub_configure=$ac_srcdir/configure
57827 elif test -f "$ac_srcdir/configure.in"; then
57828 # This should be Cygnus configure.
57829 ac_sub_configure=$ac_aux_dir/configure
57830 else
57831 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57832 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57833 ac_sub_configure=
57834 fi
57835
57836 # The recursion is here.
57837 if test -n "$ac_sub_configure"; then
57838 # Make the cache file name correct relative to the subdirectory.
57839 case $cache_file in
57840 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
57841 *) # Relative name.
57842 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
57843 esac
57844
57845 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57846 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57847 # The eval makes quoting arguments work.
57848 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57849 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57850 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57851 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57852 { (exit 1); exit 1; }; }
57853 fi
57854
57855 cd "$ac_popdir"
57856 done
57857 fi
57858
57859
57860 echo
57861 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57862 echo ""
57863 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57864 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57865 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57866 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57867 if test "$wxUSE_UNICODE" = "yes"; then
57868 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57869 echo " (using UTF-8)"
57870 else
57871 echo " (using wchar_t)"
57872 fi
57873 else
57874 echo
57875 fi
57876
57877 echo " What level of wxWidgets compatibility should be enabled?"
57878 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57879 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57880
57881 echo " Which libraries should wxWidgets use?"
57882 echo " STL ${wxUSE_STL}"
57883 echo " jpeg ${wxUSE_LIBJPEG-none}"
57884 echo " png ${wxUSE_LIBPNG-none}"
57885 echo " regex ${wxUSE_REGEX}"
57886 echo " tiff ${wxUSE_LIBTIFF-none}"
57887 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57888 echo " xpm ${wxUSE_LIBXPM-none}"
57889 fi
57890 echo " zlib ${wxUSE_ZLIB}"
57891 echo " expat ${wxUSE_EXPAT}"
57892 echo " libmspack ${wxUSE_LIBMSPACK}"
57893 echo " sdl ${wxUSE_LIBSDL}"
57894
57895 echo ""
57896