3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-x use the X Window System"
21 **--with-motif use Motif/Lesstif"
23 **--with-shared create shared libraries"
25 **--with-optimise create optimised code"
27 **--with-debug_flag create code with WXDEBUG define set to 1"
29 **--with-debug_info create code with debuging information"
31 **--with-mem_traing create code with memory tracing"
33 **--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/)"
35 **--with-profile create code with profiling information"
37 **--with_apple_ieee use the Apple IEEE codec"
39 **--with-zlib use zlib for LZW comression"
41 **--with-libpng use libpng (PNG image format)"
43 **--with-odbc use iODBC and wxODBC classes"
45 **--with-opengl use OpenGL (or Mesa)"
47 **--with-gauge use wxGauge class"
49 **--with-combobox use wxComboBox class"
51 **--with-scrollbar use wxScrollbar class"
53 **--with-listctrl use wxListCtrl class"
55 **--with-treectrl use wxTreeCtrl class"
57 **--with-grid use wxGrid class"
59 **--with-tab_dialog use wxTabDia class"
61 **--with-notebook use wxNotebook class"
63 **--with-timedate use wxTime and wxDate classes"
65 **--with-fraction use wxFraction class"
67 **--with-log use logging system"
69 **--with-intl use internationalization system"
71 **--with-config use wxConfig class"
73 **--with-streams use wxStream etc classes"
75 **--with-serial use class serialization"
77 **--with-file use wxFile class"
79 **--with-textfile use wxTextFile class"
81 **--with-afmfonts use Adobe Font Metric Font table"
83 **--with-PS-normalized use normalized PS fonts"
85 **--with-postscript use wxPostscriptDC device context"
87 **--with-unicode compile wxString with Unicode support"
89 **--with-wcsrtombs use wcsrtombs instead of (buggy in GNU libc5) wcstombs"
91 **--with-wxresources use wxWindows's resources"
93 **--with-prologio use Prolog IO library"
95 **--with-rpc use Prolog's remote procedure calls"
97 **--with-ipc use interprocess communication (wxSocket etc.)"
99 **--with-resources use X resources for saving information"
101 **--with-clipboard use wxClipboard classes"
103 **--with-dnd use Drag'n'Drop classes"
105 **--with-constraints use layout-constraints system"
107 **--with-mdi use multiple document interface architecture"
109 **--with-docview use document view architecture"
111 **--with-printarch use printing architecture"
113 **--with-help use help (using external browser at present)"
115 **--with-gtk-prefix=PFX Prefix where GTK is installed"
117 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
119 **--without-threads Force disabling threads"
121 # Initialize some variables set by options.
122 # The variables have the same names as the options, with
123 # dashes changed to underlines.
125 cache_file
=.
/config.cache
134 program_transform_name
=s
,x
,x
,
142 bindir
='${exec_prefix}/bin'
143 sbindir
='${exec_prefix}/sbin'
144 libexecdir
='${exec_prefix}/libexec'
145 datadir
='${prefix}/share'
146 sysconfdir
='${prefix}/etc'
147 sharedstatedir
='${prefix}/com'
148 localstatedir
='${prefix}/var'
149 libdir
='${exec_prefix}/lib'
150 includedir
='${prefix}/include'
151 oldincludedir
='/usr/include'
152 infodir
='${prefix}/info'
153 mandir
='${prefix}/man'
155 # Initialize some other variables.
158 # Maximum number of lines to put in a shell here document.
165 # If the previous option needs an argument, assign it.
166 if test -n "$ac_prev"; then
167 eval "$ac_prev=\$ac_option"
173 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
177 # Accept the important Cygnus configure options, so we can diagnose typos.
181 -bindir | --bindir | --bindi | --bind | --bin | --bi)
183 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
184 bindir
="$ac_optarg" ;;
186 -build | --build | --buil | --bui | --bu)
188 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
189 build
="$ac_optarg" ;;
191 -cache-file | --cache-file | --cache-fil | --cache-fi \
192 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
193 ac_prev
=cache_file
;;
194 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
195 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
196 cache_file
="$ac_optarg" ;;
198 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
200 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
202 datadir
="$ac_optarg" ;;
204 -disable-* | --disable-*)
205 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
206 # Reject names that are not valid shell variable names.
207 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
208 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
210 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
211 eval "enable_${ac_feature}=no" ;;
213 -enable-* | --enable-*)
214 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
215 # Reject names that are not valid shell variable names.
216 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
217 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
219 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
224 eval "enable_${ac_feature}='$ac_optarg'" ;;
226 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
227 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
228 | --exec | --exe | --ex)
229 ac_prev
=exec_prefix
;;
230 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
231 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
232 | --exec=* | --exe=* | --ex=*)
233 exec_prefix
="$ac_optarg" ;;
235 -gas | --gas | --ga | --g)
236 # Obsolete; use --with-gas.
239 -help | --help | --hel | --he)
240 # Omit some internal or obsolete options to make the list less imposing.
241 # This message is too long to be a string in the A/UX 3.1 sh.
243 Usage: configure [options] [host]
244 Options: [defaults in brackets after descriptions]
246 --cache-file=FILE cache test results in FILE
247 --help print this message
248 --no-create do not create output files
249 --quiet, --silent do not print \`checking...' messages
250 --version print the version of autoconf that created configure
251 Directory and file names:
252 --prefix=PREFIX install architecture-independent files in PREFIX
254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
256 --bindir=DIR user executables in DIR [EPREFIX/bin]
257 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
258 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
259 --datadir=DIR read-only architecture-independent data in DIR
261 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
262 --sharedstatedir=DIR modifiable architecture-independent data in DIR
264 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
265 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
266 --includedir=DIR C header files in DIR [PREFIX/include]
267 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
268 --infodir=DIR info documentation in DIR [PREFIX/info]
269 --mandir=DIR man documentation in DIR [PREFIX/man]
270 --srcdir=DIR find the sources in DIR [configure dir or ..]
271 --program-prefix=PREFIX prepend PREFIX to installed program names
272 --program-suffix=SUFFIX append SUFFIX to installed program names
273 --program-transform-name=PROGRAM
274 run sed PROGRAM on installed program names
278 --build=BUILD configure for building on BUILD [BUILD=HOST]
279 --host=HOST configure for HOST [guessed]
280 --target=TARGET configure for TARGET [TARGET=HOST]
281 Features and packages:
282 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
283 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
284 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
285 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
286 --x-includes=DIR X include files are in DIR
287 --x-libraries=DIR X library files are in DIR
289 if test -n "$ac_help"; then
290 echo "--enable and --with options recognized:$ac_help"
294 -host | --host | --hos | --ho)
296 -host=* | --host=* | --hos=* | --ho=*)
299 -includedir | --includedir | --includedi | --included | --include \
300 | --includ | --inclu | --incl | --inc)
301 ac_prev
=includedir
;;
302 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
303 | --includ=* | --inclu=* | --incl=* | --inc=*)
304 includedir
="$ac_optarg" ;;
306 -infodir | --infodir | --infodi | --infod | --info | --inf)
308 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
309 infodir
="$ac_optarg" ;;
311 -libdir | --libdir | --libdi | --libd)
313 -libdir=* | --libdir=* | --libdi=* | --libd=*)
314 libdir
="$ac_optarg" ;;
316 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
317 | --libexe | --libex | --libe)
318 ac_prev
=libexecdir
;;
319 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
320 | --libexe=* | --libex=* | --libe=*)
321 libexecdir
="$ac_optarg" ;;
323 -localstatedir | --localstatedir | --localstatedi | --localstated \
324 | --localstate | --localstat | --localsta | --localst \
325 | --locals | --local | --loca | --loc | --lo)
326 ac_prev
=localstatedir
;;
327 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
328 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
329 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
330 localstatedir
="$ac_optarg" ;;
332 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
334 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
335 mandir
="$ac_optarg" ;;
338 # Obsolete; use --without-fp.
341 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
345 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
346 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
349 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
350 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
351 | --oldin | --oldi | --old | --ol | --o)
352 ac_prev
=oldincludedir
;;
353 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
354 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
355 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
356 oldincludedir
="$ac_optarg" ;;
358 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
360 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
361 prefix
="$ac_optarg" ;;
363 -program-prefix | --program-prefix | --program-prefi | --program-pref \
364 | --program-pre | --program-pr | --program-p)
365 ac_prev
=program_prefix
;;
366 -program-prefix=* | --program-prefix=* | --program-prefi=* \
367 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
368 program_prefix
="$ac_optarg" ;;
370 -program-suffix | --program-suffix | --program-suffi | --program-suff \
371 | --program-suf | --program-su | --program-s)
372 ac_prev
=program_suffix
;;
373 -program-suffix=* | --program-suffix=* | --program-suffi=* \
374 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
375 program_suffix
="$ac_optarg" ;;
377 -program-transform-name | --program-transform-name \
378 | --program-transform-nam | --program-transform-na \
379 | --program-transform-n | --program-transform- \
380 | --program-transform | --program-transfor \
381 | --program-transfo | --program-transf \
382 | --program-trans | --program-tran \
383 | --progr-tra | --program-tr | --program-t)
384 ac_prev
=program_transform_name
;;
385 -program-transform-name=* | --program-transform-name=* \
386 | --program-transform-nam=* | --program-transform-na=* \
387 | --program-transform-n=* | --program-transform-=* \
388 | --program-transform=* | --program-transfor=* \
389 | --program-transfo=* | --program-transf=* \
390 | --program-trans=* | --program-tran=* \
391 | --progr-tra=* | --program-tr=* | --program-t=*)
392 program_transform_name
="$ac_optarg" ;;
394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
395 | -silent | --silent | --silen | --sile | --sil)
398 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
400 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
402 sbindir
="$ac_optarg" ;;
404 -sharedstatedir | --sharedstatedir | --sharedstatedi \
405 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
406 | --sharedst | --shareds | --shared | --share | --shar \
408 ac_prev
=sharedstatedir
;;
409 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
410 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
411 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
413 sharedstatedir
="$ac_optarg" ;;
415 -site | --site | --sit)
417 -site=* | --site=* | --sit=*)
420 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
422 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
423 srcdir
="$ac_optarg" ;;
425 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
426 | --syscon | --sysco | --sysc | --sys | --sy)
427 ac_prev
=sysconfdir
;;
428 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
429 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
430 sysconfdir
="$ac_optarg" ;;
432 -target | --target | --targe | --targ | --tar | --ta | --t)
434 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
435 target
="$ac_optarg" ;;
437 -v | -verbose | --verbose | --verbos | --verbo | --verb)
440 -version | --version | --versio | --versi | --vers)
441 echo "configure generated by autoconf version 2.12"
445 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
446 # Reject names that are not valid shell variable names.
447 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
448 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
450 ac_package
=`echo $ac_package| sed 's/-/_/g'`
455 eval "with_${ac_package}='$ac_optarg'" ;;
457 -without-* | --without-*)
458 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
459 # Reject names that are not valid shell variable names.
460 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
461 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
463 ac_package
=`echo $ac_package| sed 's/-/_/g'`
464 eval "with_${ac_package}=no" ;;
467 # Obsolete; use --with-x.
470 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
471 | --x-incl | --x-inc | --x-in | --x-i)
472 ac_prev
=x_includes
;;
473 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
474 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
475 x_includes
="$ac_optarg" ;;
477 -x-libraries | --x-libraries | --x-librarie | --x-librari \
478 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
479 ac_prev
=x_libraries
;;
480 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
481 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
482 x_libraries
="$ac_optarg" ;;
484 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
488 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
489 echo "configure: warning: $ac_option: invalid host type" 1>&2
491 if test "x$nonopt" != xNONE
; then
492 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
500 if test -n "$ac_prev"; then
501 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
504 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
506 # File descriptor usage:
509 # 2 errors and warnings
510 # 3 some systems may open it to /dev/tty
511 # 4 used on the Kubota Titan
512 # 6 checking for... messages and results
513 # 5 compiler messages saved in config.log
514 if test "$silent" = yes; then
522 This file contains any messages produced by compilers while
523 running configure, to aid debugging if configure makes a mistake.
526 # Strip out --no-create and --no-recursion so they do not pile up.
527 # Also quote any args containing shell metacharacters.
532 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
533 | --no-cr | --no-c) ;;
534 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
535 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
536 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
537 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
538 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
543 # Only set these to C if already set. These must not be set unconditionally
544 # because not all systems understand e.g. LANG=C (notably SCO).
545 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
546 # Non-C LC_CTYPE values break the ctype check.
547 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
548 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
549 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
550 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
552 # confdefs.h avoids OS command line length limits that DEFS can exceed.
553 rm -rf conftest
* confdefs.h
554 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
557 # A filename unique to this package, relative to the directory that
558 # configure is in, which we can look for to find out if srcdir is correct.
559 ac_unique_file
=configure.
in
561 # Find the source files, if location was not specified.
562 if test -z "$srcdir"; then
563 ac_srcdir_defaulted
=yes
564 # Try the directory containing this script, then its parent.
566 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
567 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
569 if test ! -r $srcdir/$ac_unique_file; then
573 ac_srcdir_defaulted
=no
575 if test ! -r $srcdir/$ac_unique_file; then
576 if test "$ac_srcdir_defaulted" = yes; then
577 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
579 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
582 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
584 # Prefer explicitly selected file to automatically selected ones.
585 if test -z "$CONFIG_SITE"; then
586 if test "x$prefix" != xNONE
; then
587 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
589 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
592 for ac_site_file
in $CONFIG_SITE; do
593 if test -r "$ac_site_file"; then
594 echo "loading site script $ac_site_file"
599 if test -r "$cache_file"; then
600 echo "loading cache $cache_file"
603 echo "creating cache $cache_file"
608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
609 ac_cpp
='$CPP $CPPFLAGS'
610 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
611 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
612 cross_compiling
=$ac_cv_prog_cc_cross
614 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
615 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
616 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
623 ac_n
= ac_c
='\c' ac_t
=
631 if test "x$OS" = "x"; then
633 { echo "configure: error: "The system variable OS has not been
set"
634 "please
set is everytime befor compiling on this system
"
635 "A good example
for this system would be
:"
636 "setenv OSTYPE
$UNAME for csh as a SHELL
"
637 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
638 "please
set this and restart again.
"
648 /usr/Motif1.2/include \
658 /usr/local/X11R6/include \
659 /usr/local/X11R5/include \
660 /usr/local/X11R4/include \
662 /usr/local/include/X11R6 \
663 /usr/local/include/X11R5 \
664 /usr/local/include/X11R4 \
668 /usr/local/X11/include \
669 /usr/local/include/X11 \
673 /usr/XFree86/include/X11 \
677 /usr/unsupported/include \
678 /usr/athena/include \
679 /usr/local/x11r5/include \
680 /usr/lpp/Xamples/include \
682 /usr/local/include/gtk \
683 /usr/local/include/Xm \
684 /usr/local/include/qt \
685 /usr/X11R6/include/Xm \
686 /usr/X11/include/Xm \
689 /usr/openwin/include \
690 /usr/openwin/share/include \
693 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
698 # Extract the first word of "gcc", so it can be a program name with args.
699 set dummy gcc
; ac_word
=$2
700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
701 echo "configure:702: checking for $ac_word" >&5
702 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
703 echo $ac_n "(cached) $ac_c" 1>&6
705 if test -n "$CC"; then
706 ac_cv_prog_CC
="$CC" # Let the user override the test.
708 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
709 for ac_dir
in $PATH; do
710 test -z "$ac_dir" && ac_dir
=.
711 if test -f $ac_dir/$ac_word; then
720 if test -n "$CC"; then
721 echo "$ac_t""$CC" 1>&6
723 echo "$ac_t""no" 1>&6
726 if test -z "$CC"; then
727 # Extract the first word of "cc", so it can be a program name with args.
728 set dummy cc
; ac_word
=$2
729 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
730 echo "configure:731: checking for $ac_word" >&5
731 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
732 echo $ac_n "(cached) $ac_c" 1>&6
734 if test -n "$CC"; then
735 ac_cv_prog_CC
="$CC" # Let the user override the test.
737 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
739 for ac_dir
in $PATH; do
740 test -z "$ac_dir" && ac_dir
=.
741 if test -f $ac_dir/$ac_word; then
742 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
751 if test $ac_prog_rejected = yes; then
752 # We found a bogon in the path, so make sure we never use it.
753 set dummy
$ac_cv_prog_CC
755 if test $# -gt 0; then
756 # We chose a different compiler from the bogus one.
757 # However, it has the same basename, so the bogon will be chosen
758 # first if we set CC to just the basename; use the full file name.
760 set dummy
"$ac_dir/$ac_word" "$@"
768 if test -n "$CC"; then
769 echo "$ac_t""$CC" 1>&6
771 echo "$ac_t""no" 1>&6
774 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
777 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
778 echo "configure:779: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
781 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
782 ac_cpp
='$CPP $CPPFLAGS'
783 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
784 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
785 cross_compiling
=$ac_cv_prog_cc_cross
787 cat > conftest.
$ac_ext <<EOF
788 #line 789 "configure"
789 #include "confdefs.h"
792 if { (eval echo configure
:793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
793 ac_cv_prog_cc_works
=yes
794 # If we can't run a trivial program, we are probably using a cross compiler.
795 if (.
/conftest
; exit) 2>/dev
/null
; then
796 ac_cv_prog_cc_cross
=no
798 ac_cv_prog_cc_cross
=yes
801 echo "configure: failed program was:" >&5
802 cat conftest.
$ac_ext >&5
803 ac_cv_prog_cc_works
=no
807 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
808 if test $ac_cv_prog_cc_works = no
; then
809 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
811 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
812 echo "configure:813: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
813 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
814 cross_compiling
=$ac_cv_prog_cc_cross
816 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
817 echo "configure:818: checking whether we are using GNU C" >&5
818 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
819 echo $ac_n "(cached) $ac_c" 1>&6
821 cat > conftest.c
<<EOF
826 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:827: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
833 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
835 if test $ac_cv_prog_gcc = yes; then
837 ac_test_CFLAGS
="${CFLAGS+set}"
838 ac_save_CFLAGS
="$CFLAGS"
840 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
841 echo "configure:842: checking whether ${CC-cc} accepts -g" >&5
842 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
843 echo $ac_n "(cached) $ac_c" 1>&6
845 echo 'void f(){}' > conftest.c
846 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
855 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
856 if test "$ac_test_CFLAGS" = set; then
857 CFLAGS
="$ac_save_CFLAGS"
858 elif test $ac_cv_prog_cc_g = yes; then
865 test "${CFLAGS+set}" = set || CFLAGS
="-g"
869 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
871 if test "x$CC" != xcc
; then
872 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
873 echo "configure:874: checking whether $CC and cc understand -c and -o together" >&5
875 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
876 echo "configure:877: checking whether cc understands -c and -o together" >&5
878 set dummy
$CC; ac_cc
="`echo $2 |
879 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
880 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
881 echo $ac_n "(cached) $ac_c" 1>&6
883 echo 'foo(){}' > conftest.c
884 # Make sure it works both with $CC and with simple cc.
885 # We do the test twice because some compilers refuse to overwrite an
886 # existing .o file with -o, though they will create one.
887 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
888 if { (eval echo configure
:889: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
889 test -f conftest.o
&& { (eval echo configure
:890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
891 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
892 if test "x$CC" != xcc
; then
893 # Test first that cc exists at all.
894 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:895: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
895 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
896 if { (eval echo configure
:897: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
897 test -f conftest.o
&& { (eval echo configure
:898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
902 # cc exists but doesn't like -o.
903 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
908 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
913 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
914 echo "$ac_t""yes" 1>&6
916 echo "$ac_t""no" 1>&6
917 cat >> confdefs.h
<<\EOF
918 #define NO_MINUS_C_MINUS_O 1
923 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
924 echo "configure:925: checking how to run the C preprocessor" >&5
925 # On Suns, sometimes $CPP names a directory.
926 if test -n "$CPP" && test -d "$CPP"; then
929 if test -z "$CPP"; then
930 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
931 echo $ac_n "(cached) $ac_c" 1>&6
933 # This must be in double quotes, not single quotes, because CPP may get
934 # substituted into the Makefile and "${CC-cc}" will confuse make.
936 # On the NeXT, cc -E runs the code through the compiler's parser,
937 # not just through cpp.
938 cat > conftest.
$ac_ext <<EOF
939 #line 940 "configure"
940 #include "confdefs.h"
944 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
945 { (eval echo configure
:946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
946 ac_err
=`grep -v '^ *+' conftest.out`
947 if test -z "$ac_err"; then
951 echo "configure: failed program was:" >&5
952 cat conftest.
$ac_ext >&5
954 CPP
="${CC-cc} -E -traditional-cpp"
955 cat > conftest.
$ac_ext <<EOF
956 #line 957 "configure"
957 #include "confdefs.h"
961 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
962 { (eval echo configure
:963: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
963 ac_err
=`grep -v '^ *+' conftest.out`
964 if test -z "$ac_err"; then
968 echo "configure: failed program was:" >&5
969 cat conftest.
$ac_ext >&5
976 ac_cv_prog_CPP
="$CPP"
978 CPP
="$ac_cv_prog_CPP"
980 ac_cv_prog_CPP
="$CPP"
982 echo "$ac_t""$CPP" 1>&6
984 if test $ac_cv_prog_gcc = yes; then
985 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
986 echo "configure:987: checking whether ${CC-cc} needs -traditional" >&5
987 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
988 echo $ac_n "(cached) $ac_c" 1>&6
990 ac_pattern
="Autoconf.*'x'"
991 cat > conftest.
$ac_ext <<EOF
992 #line 993 "configure"
993 #include "confdefs.h"
997 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
998 egrep "$ac_pattern" >/dev
/null
2>&1; then
1000 ac_cv_prog_gcc_traditional
=yes
1003 ac_cv_prog_gcc_traditional
=no
1008 if test $ac_cv_prog_gcc_traditional = no
; then
1009 cat > conftest.
$ac_ext <<EOF
1010 #line 1011 "configure"
1011 #include "confdefs.h"
1015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1016 egrep "$ac_pattern" >/dev
/null
2>&1; then
1018 ac_cv_prog_gcc_traditional
=yes
1025 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1026 if test $ac_cv_prog_gcc_traditional = yes; then
1027 CC
="$CC -traditional"
1034 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1036 # Extract the first word of "$ac_prog", so it can be a program name with args.
1037 set dummy
$ac_prog; ac_word
=$2
1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1039 echo "configure:1040: checking for $ac_word" >&5
1040 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1041 echo $ac_n "(cached) $ac_c" 1>&6
1043 if test -n "$CXX"; then
1044 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1046 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1047 for ac_dir
in $PATH; do
1048 test -z "$ac_dir" && ac_dir
=.
1049 if test -f $ac_dir/$ac_word; then
1050 ac_cv_prog_CXX
="$ac_prog"
1057 CXX
="$ac_cv_prog_CXX"
1058 if test -n "$CXX"; then
1059 echo "$ac_t""$CXX" 1>&6
1061 echo "$ac_t""no" 1>&6
1064 test -n "$CXX" && break
1066 test -n "$CXX" || CXX
="gcc"
1069 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1070 echo "configure:1071: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1073 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1074 ac_cpp
='$CXXCPP $CPPFLAGS'
1075 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1076 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1077 cross_compiling
=$ac_cv_prog_cxx_cross
1079 cat > conftest.
$ac_ext <<EOF
1080 #line 1081 "configure"
1081 #include "confdefs.h"
1084 if { (eval echo configure
:1085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1085 ac_cv_prog_cxx_works
=yes
1086 # If we can't run a trivial program, we are probably using a cross compiler.
1087 if (.
/conftest
; exit) 2>/dev
/null
; then
1088 ac_cv_prog_cxx_cross
=no
1090 ac_cv_prog_cxx_cross
=yes
1093 echo "configure: failed program was:" >&5
1094 cat conftest.
$ac_ext >&5
1095 ac_cv_prog_cxx_works
=no
1099 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1100 ac_cpp
='$CPP $CPPFLAGS'
1101 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1102 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1103 cross_compiling
=$ac_cv_prog_cc_cross
1105 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1106 if test $ac_cv_prog_cxx_works = no
; then
1107 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1109 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1110 echo "configure:1111: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1111 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1112 cross_compiling
=$ac_cv_prog_cxx_cross
1114 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1115 echo "configure:1116: checking whether we are using GNU C++" >&5
1116 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1117 echo $ac_n "(cached) $ac_c" 1>&6
1119 cat > conftest.C
<<EOF
1124 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1131 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1133 if test $ac_cv_prog_gxx = yes; then
1135 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1136 ac_save_CXXFLAGS
="$CXXFLAGS"
1138 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1139 echo "configure:1140: checking whether ${CXX-g++} accepts -g" >&5
1140 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1141 echo $ac_n "(cached) $ac_c" 1>&6
1143 echo 'void f(){}' > conftest.cc
1144 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1145 ac_cv_prog_cxx_g
=yes
1153 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1154 if test "$ac_test_CXXFLAGS" = set; then
1155 CXXFLAGS
="$ac_save_CXXFLAGS"
1156 elif test $ac_cv_prog_cxx_g = yes; then
1163 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1166 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1167 echo "configure:1168: checking how to run the C++ preprocessor" >&5
1168 if test -z "$CXXCPP"; then
1169 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1170 echo $ac_n "(cached) $ac_c" 1>&6
1173 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1174 ac_cpp
='$CXXCPP $CPPFLAGS'
1175 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1176 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1177 cross_compiling
=$ac_cv_prog_cxx_cross
1178 CXXCPP
="${CXX-g++} -E"
1179 cat > conftest.
$ac_ext <<EOF
1180 #line 1181 "configure"
1181 #include "confdefs.h"
1184 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1185 { (eval echo configure
:1186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1186 ac_err
=`grep -v '^ *+' conftest.out`
1187 if test -z "$ac_err"; then
1191 echo "configure: failed program was:" >&5
1192 cat conftest.
$ac_ext >&5
1197 ac_cv_prog_CXXCPP
="$CXXCPP"
1199 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1200 ac_cpp
='$CPP $CPPFLAGS'
1201 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1202 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1203 cross_compiling
=$ac_cv_prog_cc_cross
1206 CXXCPP
="$ac_cv_prog_CXXCPP"
1207 echo "$ac_t""$CXXCPP" 1>&6
1210 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1214 # Extract the first word of "ranlib", so it can be a program name with args.
1215 set dummy ranlib
; ac_word
=$2
1216 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1217 echo "configure:1218: checking for $ac_word" >&5
1218 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1219 echo $ac_n "(cached) $ac_c" 1>&6
1221 if test -n "$RANLIB"; then
1222 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1224 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1225 for ac_dir
in $PATH; do
1226 test -z "$ac_dir" && ac_dir
=.
1227 if test -f $ac_dir/$ac_word; then
1228 ac_cv_prog_RANLIB
="ranlib"
1233 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1236 RANLIB
="$ac_cv_prog_RANLIB"
1237 if test -n "$RANLIB"; then
1238 echo "$ac_t""$RANLIB" 1>&6
1240 echo "$ac_t""no" 1>&6
1244 # Extract the first word of "ar", so it can be a program name with args.
1245 set dummy
ar; ac_word
=$2
1246 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1247 echo "configure:1248: checking for $ac_word" >&5
1248 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1249 echo $ac_n "(cached) $ac_c" 1>&6
1251 if test -n "$AR"; then
1252 ac_cv_prog_AR
="$AR" # Let the user override the test.
1254 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1255 for ac_dir
in $PATH; do
1256 test -z "$ac_dir" && ac_dir
=.
1257 if test -f $ac_dir/$ac_word; then
1263 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1267 if test -n "$AR"; then
1268 echo "$ac_t""$AR" 1>&6
1270 echo "$ac_t""no" 1>&6
1275 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1276 if test -f $ac_dir/install-sh; then
1278 ac_install_sh
="$ac_aux_dir/install-sh -c"
1280 elif test -f $ac_dir/install.sh
; then
1282 ac_install_sh
="$ac_aux_dir/install.sh -c"
1286 if test -z "$ac_aux_dir"; then
1287 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1289 ac_config_guess
=$ac_aux_dir/config.guess
1290 ac_config_sub
=$ac_aux_dir/config.sub
1291 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1293 # Find a good install program. We prefer a C program (faster),
1294 # so one script is as good as another. But avoid the broken or
1295 # incompatible versions:
1296 # SysV /etc/install, /usr/sbin/install
1297 # SunOS /usr/etc/install
1298 # IRIX /sbin/install
1300 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1301 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1302 # ./install, which can be erroneously created by make from ./install.sh.
1303 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1304 echo "configure:1305: checking for a BSD compatible install" >&5
1305 if test -z "$INSTALL"; then
1306 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1307 echo $ac_n "(cached) $ac_c" 1>&6
1309 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1310 for ac_dir
in $PATH; do
1311 # Account for people who put trailing slashes in PATH elements.
1313 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1315 # OSF1 and SCO ODT 3.0 have their own names for install.
1316 for ac_prog
in ginstall installbsd scoinst
install; do
1317 if test -f $ac_dir/$ac_prog; then
1318 if test $ac_prog = install &&
1319 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1320 # AIX install. It has an incompatible calling convention.
1321 # OSF/1 installbsd also uses dspmsg, but is usable.
1324 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1335 if test "${ac_cv_path_install+set}" = set; then
1336 INSTALL
="$ac_cv_path_install"
1338 # As a last resort, use the slow shell script. We don't cache a
1339 # path for INSTALL within a source directory, because that will
1340 # break other packages using the cache if that directory is
1341 # removed, or if the path is relative.
1342 INSTALL
="$ac_install_sh"
1345 echo "$ac_t""$INSTALL" 1>&6
1347 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1348 # It thinks the first close brace ends the variable substitution.
1349 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1351 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1354 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1355 echo "configure:1356: checking whether ln -s works" >&5
1356 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1357 echo $ac_n "(cached) $ac_c" 1>&6
1360 if ln -s X conftestdata
2>/dev
/null
1363 ac_cv_prog_LN_S
="ln -s"
1368 LN_S
="$ac_cv_prog_LN_S"
1369 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1370 echo "$ac_t""yes" 1>&6
1372 echo "$ac_t""no" 1>&6
1376 for ac_prog
in mawk gawk nawk
awk
1378 # Extract the first word of "$ac_prog", so it can be a program name with args.
1379 set dummy
$ac_prog; ac_word
=$2
1380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1381 echo "configure:1382: checking for $ac_word" >&5
1382 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1383 echo $ac_n "(cached) $ac_c" 1>&6
1385 if test -n "$AWK"; then
1386 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1388 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1389 for ac_dir
in $PATH; do
1390 test -z "$ac_dir" && ac_dir
=.
1391 if test -f $ac_dir/$ac_word; then
1392 ac_cv_prog_AWK
="$ac_prog"
1399 AWK
="$ac_cv_prog_AWK"
1400 if test -n "$AWK"; then
1401 echo "$ac_t""$AWK" 1>&6
1403 echo "$ac_t""no" 1>&6
1406 test -n "$AWK" && break
1410 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1411 echo "configure:1412: checking "make for VPATH support
"" >&5
1412 cat - << EOF > confMake
1418 if test ! -d sub
; then
1421 echo dummy
> sub
/file
1422 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1424 rm -f sub
/file check final_file confMake
1426 if test "$RESULT" = 0; then
1427 echo "$ac_t""yes" 1>&6
1429 echo "$ac_t""no" 1>&6
1430 { echo "configure: error: You need a make-utility that is able to use the variable
1432 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1436 # If we find X, set shell vars x_includes and x_libraries to the
1437 # paths, otherwise set no_x=yes.
1438 # Uses ac_ vars as temps to allow command line to override cache and checks.
1439 # --without-x overrides everything else, but does not touch the cache.
1440 echo $ac_n "checking for X""... $ac_c" 1>&6
1441 echo "configure:1442: checking for X" >&5
1443 # Check whether --with-x or --without-x was given.
1444 if test "${with_x+set}" = set; then
1449 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1450 if test "x$with_x" = xno
; then
1451 # The user explicitly disabled X.
1454 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1455 # Both variables are already set.
1458 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1459 echo $ac_n "(cached) $ac_c" 1>&6
1461 # One or both of the vars are not set, and there is no cached value.
1462 ac_x_includes
=NO ac_x_libraries
=NO
1464 if mkdir conftestdir
; then
1466 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1467 cat > Imakefile
<<'EOF'
1469 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1471 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1472 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1473 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1474 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1475 for ac_extension
in a so sl
; do
1476 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1477 test -f $ac_im_libdir/libX11.
$ac_extension; then
1478 ac_im_usrlibdir
=$ac_im_libdir; break
1481 # Screen out bogus values from the imake configuration. They are
1482 # bogus both because they are the default anyway, and because
1483 # using them would break gcc on systems where it needs fixed includes.
1484 case "$ac_im_incroot" in
1486 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1488 case "$ac_im_usrlibdir" in
1490 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1497 if test "$ac_x_includes" = NO
; then
1498 # Guess where to find include files, by looking for this one X11 .h file.
1499 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1501 # First, try using that file with no special directory specified.
1502 cat > conftest.
$ac_ext <<EOF
1503 #line 1504 "configure"
1504 #include "confdefs.h"
1505 #include <$x_direct_test_include>
1507 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1508 { (eval echo configure
:1509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1509 ac_err
=`grep -v '^ *+' conftest.out`
1510 if test -z "$ac_err"; then
1512 # We can compile using X headers with no special include directory.
1516 echo "configure: failed program was:" >&5
1517 cat conftest.
$ac_ext >&5
1519 # Look for the header file in a standard set of common directories.
1520 # Check X11 before X11Rn because it is often a symlink to the current release.
1523 /usr
/X
11R
6/include \
1524 /usr
/X
11R
5/include \
1525 /usr
/X
11R
4/include \
1528 /usr
/include
/X11R6 \
1529 /usr
/include
/X11R5 \
1530 /usr
/include
/X11R4 \
1532 /usr
/local
/X
11/include \
1533 /usr
/local
/X
11R
6/include \
1534 /usr
/local
/X
11R
5/include \
1535 /usr
/local
/X
11R
4/include \
1537 /usr
/local
/include
/X11 \
1538 /usr
/local
/include
/X11R6 \
1539 /usr
/local
/include
/X11R5 \
1540 /usr
/local
/include
/X11R4 \
1544 /usr
/XFree
86/include
/X11 \
1547 /usr
/local
/include \
1548 /usr
/unsupported
/include \
1549 /usr
/athena
/include \
1550 /usr
/local
/x
11r
5/include \
1551 /usr
/lpp
/Xamples
/include \
1553 /usr
/openwin
/include \
1554 /usr
/openwin
/share
/include \
1557 if test -r "$ac_dir/$x_direct_test_include"; then
1558 ac_x_includes
=$ac_dir
1564 fi # $ac_x_includes = NO
1566 if test "$ac_x_libraries" = NO
; then
1567 # Check for the libraries.
1569 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1570 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1572 # See if we find them without any special options.
1573 # Don't add to $LIBS permanently.
1574 ac_save_LIBS
="$LIBS"
1575 LIBS
="-l$x_direct_test_library $LIBS"
1576 cat > conftest.
$ac_ext <<EOF
1577 #line 1578 "configure"
1578 #include "confdefs.h"
1581 ${x_direct_test_function}()
1584 if { (eval echo configure
:1585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1586 LIBS
="$ac_save_LIBS"
1587 # We can link X programs with no special library path.
1590 echo "configure: failed program was:" >&5
1591 cat conftest.
$ac_ext >&5
1593 LIBS
="$ac_save_LIBS"
1594 # First see if replacing the include by lib works.
1595 # Check X11 before X11Rn because it is often a symlink to the current release.
1596 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1607 /usr
/local
/X
11/lib \
1608 /usr
/local
/X
11R
6/lib \
1609 /usr
/local
/X
11R
5/lib \
1610 /usr
/local
/X
11R
4/lib \
1612 /usr
/local
/lib
/X11 \
1613 /usr
/local
/lib
/X11R6 \
1614 /usr
/local
/lib
/X11R5 \
1615 /usr
/local
/lib
/X11R4 \
1619 /usr
/XFree
86/lib
/X11 \
1623 /usr
/unsupported
/lib \
1625 /usr
/local
/x
11r
5/lib \
1626 /usr
/lpp
/Xamples
/lib \
1630 /usr
/openwin
/share
/lib \
1633 for ac_extension
in a so sl
; do
1634 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1635 ac_x_libraries
=$ac_dir
1642 fi # $ac_x_libraries = NO
1644 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1645 # Didn't find X anywhere. Cache the known absence of X.
1646 ac_cv_have_x
="have_x=no"
1648 # Record where we found X for the cache.
1649 ac_cv_have_x
="have_x=yes \
1650 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1654 eval "$ac_cv_have_x"
1657 if test "$have_x" != yes; then
1658 echo "$ac_t""$have_x" 1>&6
1661 # If each of the values was on the command line, it overrides each guess.
1662 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1663 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1664 # Update the cache value to reflect the command line values.
1665 ac_cv_have_x
="have_x=yes \
1666 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1667 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1670 if test "$no_x" = yes; then
1671 # Not all programs may use this symbol, but it does not hurt to define it.
1672 cat >> confdefs.h
<<\EOF
1673 #define X_DISPLAY_MISSING 1
1676 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1678 if test -n "$x_includes"; then
1679 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1682 # It would also be nice to do this for all -L options, not just this one.
1683 if test -n "$x_libraries"; then
1684 X_LIBS
="$X_LIBS -L$x_libraries"
1685 # For Solaris; some versions of Sun CC require a space after -R and
1686 # others require no space. Words are not sufficient . . . .
1687 case "`(uname -sr) 2>/dev/null`" in
1689 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1690 echo "configure:1691: checking whether -R must be followed by a space" >&5
1691 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1692 cat > conftest.
$ac_ext <<EOF
1693 #line 1694 "configure"
1694 #include "confdefs.h"
1700 if { (eval echo configure
:1701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1704 echo "configure: failed program was:" >&5
1705 cat conftest.
$ac_ext >&5
1710 if test $ac_R_nospace = yes; then
1711 echo "$ac_t""no" 1>&6
1712 X_LIBS
="$X_LIBS -R$x_libraries"
1714 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1715 cat > conftest.
$ac_ext <<EOF
1716 #line 1717 "configure"
1717 #include "confdefs.h"
1723 if { (eval echo configure
:1724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1727 echo "configure: failed program was:" >&5
1728 cat conftest.
$ac_ext >&5
1733 if test $ac_R_space = yes; then
1734 echo "$ac_t""yes" 1>&6
1735 X_LIBS
="$X_LIBS -R $x_libraries"
1737 echo "$ac_t""neither works" 1>&6
1740 LIBS
="$ac_xsave_LIBS"
1744 # Check for system-dependent libraries X programs must link with.
1745 # Do this before checking for the system-independent R6 libraries
1746 # (-lICE), since we may need -lsocket or whatever for X linking.
1748 if test "$ISC" = yes; then
1749 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1751 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1752 # libraries were built with DECnet support. And karl@cs.umb.edu says
1753 # the Alpha needs dnet_stub (dnet does not exist).
1754 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1755 echo "configure:1756: checking for dnet_ntoa in -ldnet" >&5
1756 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1757 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1758 echo $ac_n "(cached) $ac_c" 1>&6
1760 ac_save_LIBS
="$LIBS"
1762 cat > conftest.
$ac_ext <<EOF
1763 #line 1764 "configure"
1764 #include "confdefs.h"
1765 /* Override any gcc2 internal prototype to avoid an error. */
1766 /* We use char because int might match the return type of a gcc2
1767 builtin and then its argument prototype would still apply. */
1774 if { (eval echo configure
:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1776 eval "ac_cv_lib_$ac_lib_var=yes"
1778 echo "configure: failed program was:" >&5
1779 cat conftest.
$ac_ext >&5
1781 eval "ac_cv_lib_$ac_lib_var=no"
1784 LIBS
="$ac_save_LIBS"
1787 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1788 echo "$ac_t""yes" 1>&6
1789 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1791 echo "$ac_t""no" 1>&6
1794 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1795 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1796 echo "configure:1797: checking for dnet_ntoa in -ldnet_stub" >&5
1797 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1798 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1799 echo $ac_n "(cached) $ac_c" 1>&6
1801 ac_save_LIBS
="$LIBS"
1802 LIBS
="-ldnet_stub $LIBS"
1803 cat > conftest.
$ac_ext <<EOF
1804 #line 1805 "configure"
1805 #include "confdefs.h"
1806 /* Override any gcc2 internal prototype to avoid an error. */
1807 /* We use char because int might match the return type of a gcc2
1808 builtin and then its argument prototype would still apply. */
1815 if { (eval echo configure
:1816: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1817 eval "ac_cv_lib_$ac_lib_var=yes"
1819 echo "configure: failed program was:" >&5
1820 cat conftest.
$ac_ext >&5
1822 eval "ac_cv_lib_$ac_lib_var=no"
1825 LIBS
="$ac_save_LIBS"
1828 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1829 echo "$ac_t""yes" 1>&6
1830 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1832 echo "$ac_t""no" 1>&6
1837 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1838 # to get the SysV transport functions.
1839 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1841 # The nsl library prevents programs from opening the X display
1842 # on Irix 5.2, according to dickey@clark.net.
1843 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1844 echo "configure:1845: checking for gethostbyname" >&5
1845 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1846 echo $ac_n "(cached) $ac_c" 1>&6
1848 cat > conftest.
$ac_ext <<EOF
1849 #line 1850 "configure"
1850 #include "confdefs.h"
1851 /* System header to define __stub macros and hopefully few prototypes,
1852 which can conflict with char gethostbyname(); below. */
1854 /* Override any gcc2 internal prototype to avoid an error. */
1855 /* We use char because int might match the return type of a gcc2
1856 builtin and then its argument prototype would still apply. */
1857 char gethostbyname();
1861 /* The GNU C library defines this for functions which it implements
1862 to always fail with ENOSYS. Some functions are actually named
1863 something starting with __ and the normal name is an alias. */
1864 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1872 if { (eval echo configure
:1873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1874 eval "ac_cv_func_gethostbyname=yes"
1876 echo "configure: failed program was:" >&5
1877 cat conftest.
$ac_ext >&5
1879 eval "ac_cv_func_gethostbyname=no"
1884 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1885 echo "$ac_t""yes" 1>&6
1888 echo "$ac_t""no" 1>&6
1891 if test $ac_cv_func_gethostbyname = no
; then
1892 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1893 echo "configure:1894: checking for gethostbyname in -lnsl" >&5
1894 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1895 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1896 echo $ac_n "(cached) $ac_c" 1>&6
1898 ac_save_LIBS
="$LIBS"
1900 cat > conftest.
$ac_ext <<EOF
1901 #line 1902 "configure"
1902 #include "confdefs.h"
1903 /* Override any gcc2 internal prototype to avoid an error. */
1904 /* We use char because int might match the return type of a gcc2
1905 builtin and then its argument prototype would still apply. */
1906 char gethostbyname();
1912 if { (eval echo configure
:1913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1914 eval "ac_cv_lib_$ac_lib_var=yes"
1916 echo "configure: failed program was:" >&5
1917 cat conftest.
$ac_ext >&5
1919 eval "ac_cv_lib_$ac_lib_var=no"
1922 LIBS
="$ac_save_LIBS"
1925 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1926 echo "$ac_t""yes" 1>&6
1927 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1929 echo "$ac_t""no" 1>&6
1934 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1935 # socket/setsockopt and other routines are undefined under SCO ODT
1936 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1937 # on later versions), says simon@lia.di.epfl.ch: it contains
1938 # gethostby* variants that don't use the nameserver (or something).
1939 # -lsocket must be given before -lnsl if both are needed.
1940 # We assume that if connect needs -lnsl, so does gethostbyname.
1941 echo $ac_n "checking for connect""... $ac_c" 1>&6
1942 echo "configure:1943: checking for connect" >&5
1943 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1944 echo $ac_n "(cached) $ac_c" 1>&6
1946 cat > conftest.
$ac_ext <<EOF
1947 #line 1948 "configure"
1948 #include "confdefs.h"
1949 /* System header to define __stub macros and hopefully few prototypes,
1950 which can conflict with char connect(); below. */
1952 /* Override any gcc2 internal prototype to avoid an error. */
1953 /* We use char because int might match the return type of a gcc2
1954 builtin and then its argument prototype would still apply. */
1959 /* The GNU C library defines this for functions which it implements
1960 to always fail with ENOSYS. Some functions are actually named
1961 something starting with __ and the normal name is an alias. */
1962 #if defined (__stub_connect) || defined (__stub___connect)
1970 if { (eval echo configure
:1971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1972 eval "ac_cv_func_connect=yes"
1974 echo "configure: failed program was:" >&5
1975 cat conftest.
$ac_ext >&5
1977 eval "ac_cv_func_connect=no"
1982 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1983 echo "$ac_t""yes" 1>&6
1986 echo "$ac_t""no" 1>&6
1989 if test $ac_cv_func_connect = no
; then
1990 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1991 echo "configure:1992: checking for connect in -lsocket" >&5
1992 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1993 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1994 echo $ac_n "(cached) $ac_c" 1>&6
1996 ac_save_LIBS
="$LIBS"
1997 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1998 cat > conftest.
$ac_ext <<EOF
1999 #line 2000 "configure"
2000 #include "confdefs.h"
2001 /* Override any gcc2 internal prototype to avoid an error. */
2002 /* We use char because int might match the return type of a gcc2
2003 builtin and then its argument prototype would still apply. */
2010 if { (eval echo configure
:2011: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2012 eval "ac_cv_lib_$ac_lib_var=yes"
2014 echo "configure: failed program was:" >&5
2015 cat conftest.
$ac_ext >&5
2017 eval "ac_cv_lib_$ac_lib_var=no"
2020 LIBS
="$ac_save_LIBS"
2023 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2024 echo "$ac_t""yes" 1>&6
2025 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2027 echo "$ac_t""no" 1>&6
2032 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2033 echo $ac_n "checking for remove""... $ac_c" 1>&6
2034 echo "configure:2035: checking for remove" >&5
2035 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2036 echo $ac_n "(cached) $ac_c" 1>&6
2038 cat > conftest.
$ac_ext <<EOF
2039 #line 2040 "configure"
2040 #include "confdefs.h"
2041 /* System header to define __stub macros and hopefully few prototypes,
2042 which can conflict with char remove(); below. */
2044 /* Override any gcc2 internal prototype to avoid an error. */
2045 /* We use char because int might match the return type of a gcc2
2046 builtin and then its argument prototype would still apply. */
2051 /* The GNU C library defines this for functions which it implements
2052 to always fail with ENOSYS. Some functions are actually named
2053 something starting with __ and the normal name is an alias. */
2054 #if defined (__stub_remove) || defined (__stub___remove)
2062 if { (eval echo configure
:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2064 eval "ac_cv_func_remove=yes"
2066 echo "configure: failed program was:" >&5
2067 cat conftest.
$ac_ext >&5
2069 eval "ac_cv_func_remove=no"
2074 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2075 echo "$ac_t""yes" 1>&6
2078 echo "$ac_t""no" 1>&6
2081 if test $ac_cv_func_remove = no
; then
2082 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2083 echo "configure:2084: checking for remove in -lposix" >&5
2084 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2085 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2086 echo $ac_n "(cached) $ac_c" 1>&6
2088 ac_save_LIBS
="$LIBS"
2089 LIBS
="-lposix $LIBS"
2090 cat > conftest.
$ac_ext <<EOF
2091 #line 2092 "configure"
2092 #include "confdefs.h"
2093 /* Override any gcc2 internal prototype to avoid an error. */
2094 /* We use char because int might match the return type of a gcc2
2095 builtin and then its argument prototype would still apply. */
2102 if { (eval echo configure
:2103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2104 eval "ac_cv_lib_$ac_lib_var=yes"
2106 echo "configure: failed program was:" >&5
2107 cat conftest.
$ac_ext >&5
2109 eval "ac_cv_lib_$ac_lib_var=no"
2112 LIBS
="$ac_save_LIBS"
2115 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2116 echo "$ac_t""yes" 1>&6
2117 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2119 echo "$ac_t""no" 1>&6
2124 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2125 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2126 echo "configure:2127: checking for shmat" >&5
2127 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2128 echo $ac_n "(cached) $ac_c" 1>&6
2130 cat > conftest.
$ac_ext <<EOF
2131 #line 2132 "configure"
2132 #include "confdefs.h"
2133 /* System header to define __stub macros and hopefully few prototypes,
2134 which can conflict with char shmat(); below. */
2136 /* Override any gcc2 internal prototype to avoid an error. */
2137 /* We use char because int might match the return type of a gcc2
2138 builtin and then its argument prototype would still apply. */
2143 /* The GNU C library defines this for functions which it implements
2144 to always fail with ENOSYS. Some functions are actually named
2145 something starting with __ and the normal name is an alias. */
2146 #if defined (__stub_shmat) || defined (__stub___shmat)
2154 if { (eval echo configure
:2155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2156 eval "ac_cv_func_shmat=yes"
2158 echo "configure: failed program was:" >&5
2159 cat conftest.
$ac_ext >&5
2161 eval "ac_cv_func_shmat=no"
2166 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2167 echo "$ac_t""yes" 1>&6
2170 echo "$ac_t""no" 1>&6
2173 if test $ac_cv_func_shmat = no
; then
2174 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2175 echo "configure:2176: checking for shmat in -lipc" >&5
2176 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2178 echo $ac_n "(cached) $ac_c" 1>&6
2180 ac_save_LIBS
="$LIBS"
2182 cat > conftest.
$ac_ext <<EOF
2183 #line 2184 "configure"
2184 #include "confdefs.h"
2185 /* Override any gcc2 internal prototype to avoid an error. */
2186 /* We use char because int might match the return type of a gcc2
2187 builtin and then its argument prototype would still apply. */
2194 if { (eval echo configure
:2195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2196 eval "ac_cv_lib_$ac_lib_var=yes"
2198 echo "configure: failed program was:" >&5
2199 cat conftest.
$ac_ext >&5
2201 eval "ac_cv_lib_$ac_lib_var=no"
2204 LIBS
="$ac_save_LIBS"
2207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2208 echo "$ac_t""yes" 1>&6
2209 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2211 echo "$ac_t""no" 1>&6
2217 # Check for libraries that X11R6 Xt/Xaw programs need.
2218 ac_save_LDFLAGS
="$LDFLAGS"
2219 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2220 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2221 # check for ICE first), but we must link in the order -lSM -lICE or
2222 # we get undefined symbols. So assume we have SM if we have ICE.
2223 # These have to be linked with before -lX11, unlike the other
2224 # libraries we check for below, so use a different variable.
2225 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2226 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2227 echo "configure:2228: checking for IceConnectionNumber in -lICE" >&5
2228 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2229 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2230 echo $ac_n "(cached) $ac_c" 1>&6
2232 ac_save_LIBS
="$LIBS"
2234 cat > conftest.
$ac_ext <<EOF
2235 #line 2236 "configure"
2236 #include "confdefs.h"
2237 /* Override any gcc2 internal prototype to avoid an error. */
2238 /* We use char because int might match the return type of a gcc2
2239 builtin and then its argument prototype would still apply. */
2240 char IceConnectionNumber();
2243 IceConnectionNumber()
2246 if { (eval echo configure
:2247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2248 eval "ac_cv_lib_$ac_lib_var=yes"
2250 echo "configure: failed program was:" >&5
2251 cat conftest.
$ac_ext >&5
2253 eval "ac_cv_lib_$ac_lib_var=no"
2256 LIBS
="$ac_save_LIBS"
2259 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2260 echo "$ac_t""yes" 1>&6
2261 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2263 echo "$ac_t""no" 1>&6
2266 LDFLAGS
="$ac_save_LDFLAGS"
2272 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2274 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2275 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2276 echo "configure:2277: checking for $ac_hdr that defines DIR" >&5
2277 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2278 echo $ac_n "(cached) $ac_c" 1>&6
2280 cat > conftest.
$ac_ext <<EOF
2281 #line 2282 "configure"
2282 #include "confdefs.h"
2283 #include <sys/types.h>
2289 if { (eval echo configure
:2290: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2291 eval "ac_cv_header_dirent_$ac_safe=yes"
2293 echo "configure: failed program was:" >&5
2294 cat conftest.
$ac_ext >&5
2296 eval "ac_cv_header_dirent_$ac_safe=no"
2300 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2301 echo "$ac_t""yes" 1>&6
2302 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2303 cat >> confdefs.h
<<EOF
2304 #define $ac_tr_hdr 1
2306 ac_header_dirent
=$ac_hdr; break
2308 echo "$ac_t""no" 1>&6
2311 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2312 if test $ac_header_dirent = dirent.h
; then
2313 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2314 echo "configure:2315: checking for opendir in -ldir" >&5
2315 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2316 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2317 echo $ac_n "(cached) $ac_c" 1>&6
2319 ac_save_LIBS
="$LIBS"
2321 cat > conftest.
$ac_ext <<EOF
2322 #line 2323 "configure"
2323 #include "confdefs.h"
2324 /* Override any gcc2 internal prototype to avoid an error. */
2325 /* We use char because int might match the return type of a gcc2
2326 builtin and then its argument prototype would still apply. */
2333 if { (eval echo configure
:2334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2335 eval "ac_cv_lib_$ac_lib_var=yes"
2337 echo "configure: failed program was:" >&5
2338 cat conftest.
$ac_ext >&5
2340 eval "ac_cv_lib_$ac_lib_var=no"
2343 LIBS
="$ac_save_LIBS"
2346 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2347 echo "$ac_t""yes" 1>&6
2350 echo "$ac_t""no" 1>&6
2354 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2355 echo "configure:2356: checking for opendir in -lx" >&5
2356 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2358 echo $ac_n "(cached) $ac_c" 1>&6
2360 ac_save_LIBS
="$LIBS"
2362 cat > conftest.
$ac_ext <<EOF
2363 #line 2364 "configure"
2364 #include "confdefs.h"
2365 /* Override any gcc2 internal prototype to avoid an error. */
2366 /* We use char because int might match the return type of a gcc2
2367 builtin and then its argument prototype would still apply. */
2374 if { (eval echo configure
:2375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2376 eval "ac_cv_lib_$ac_lib_var=yes"
2378 echo "configure: failed program was:" >&5
2379 cat conftest.
$ac_ext >&5
2381 eval "ac_cv_lib_$ac_lib_var=no"
2384 LIBS
="$ac_save_LIBS"
2387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2388 echo "$ac_t""yes" 1>&6
2391 echo "$ac_t""no" 1>&6
2396 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2397 echo "configure:2398: checking for ANSI C header files" >&5
2398 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2399 echo $ac_n "(cached) $ac_c" 1>&6
2401 cat > conftest.
$ac_ext <<EOF
2402 #line 2403 "configure"
2403 #include "confdefs.h"
2409 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2410 { (eval echo configure
:2411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2411 ac_err
=`grep -v '^ *+' conftest.out`
2412 if test -z "$ac_err"; then
2414 ac_cv_header_stdc
=yes
2417 echo "configure: failed program was:" >&5
2418 cat conftest.
$ac_ext >&5
2420 ac_cv_header_stdc
=no
2424 if test $ac_cv_header_stdc = yes; then
2425 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2426 cat > conftest.
$ac_ext <<EOF
2427 #line 2428 "configure"
2428 #include "confdefs.h"
2431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2432 egrep "memchr" >/dev
/null
2>&1; then
2436 ac_cv_header_stdc
=no
2442 if test $ac_cv_header_stdc = yes; then
2443 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2444 cat > conftest.
$ac_ext <<EOF
2445 #line 2446 "configure"
2446 #include "confdefs.h"
2449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2450 egrep "free" >/dev
/null
2>&1; then
2454 ac_cv_header_stdc
=no
2460 if test $ac_cv_header_stdc = yes; then
2461 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2462 if test "$cross_compiling" = yes; then
2465 cat > conftest.
$ac_ext <<EOF
2466 #line 2467 "configure"
2467 #include "confdefs.h"
2469 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2470 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2471 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2472 int main () { int i; for (i = 0; i < 256; i++)
2473 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2477 if { (eval echo configure
:2478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2481 echo "configure: failed program was:" >&5
2482 cat conftest.
$ac_ext >&5
2484 ac_cv_header_stdc
=no
2492 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2493 if test $ac_cv_header_stdc = yes; then
2494 cat >> confdefs.h
<<\EOF
2495 #define STDC_HEADERS 1
2500 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2501 echo "configure:2502: checking for sys/wait.h that is POSIX.1 compatible" >&5
2502 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2503 echo $ac_n "(cached) $ac_c" 1>&6
2505 cat > conftest.
$ac_ext <<EOF
2506 #line 2507 "configure"
2507 #include "confdefs.h"
2508 #include <sys/types.h>
2509 #include <sys/wait.h>
2511 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2514 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2519 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2522 if { (eval echo configure
:2523: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2524 ac_cv_header_sys_wait_h
=yes
2526 echo "configure: failed program was:" >&5
2527 cat conftest.
$ac_ext >&5
2529 ac_cv_header_sys_wait_h
=no
2534 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2535 if test $ac_cv_header_sys_wait_h = yes; then
2536 cat >> confdefs.h
<<\EOF
2537 #define HAVE_SYS_WAIT_H 1
2542 for ac_hdr
in fcntl.h
2544 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2545 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2546 echo "configure:2547: checking for $ac_hdr" >&5
2547 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2548 echo $ac_n "(cached) $ac_c" 1>&6
2550 cat > conftest.
$ac_ext <<EOF
2551 #line 2552 "configure"
2552 #include "confdefs.h"
2555 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2556 { (eval echo configure
:2557: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2557 ac_err
=`grep -v '^ *+' conftest.out`
2558 if test -z "$ac_err"; then
2560 eval "ac_cv_header_$ac_safe=yes"
2563 echo "configure: failed program was:" >&5
2564 cat conftest.
$ac_ext >&5
2566 eval "ac_cv_header_$ac_safe=no"
2570 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2571 echo "$ac_t""yes" 1>&6
2572 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2573 cat >> confdefs.h
<<EOF
2574 #define $ac_tr_hdr 1
2578 echo "$ac_t""no" 1>&6
2582 for ac_hdr
in limits.h
2584 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2585 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2586 echo "configure:2587: checking for $ac_hdr" >&5
2587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2588 echo $ac_n "(cached) $ac_c" 1>&6
2590 cat > conftest.
$ac_ext <<EOF
2591 #line 2592 "configure"
2592 #include "confdefs.h"
2595 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2596 { (eval echo configure
:2597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2597 ac_err
=`grep -v '^ *+' conftest.out`
2598 if test -z "$ac_err"; then
2600 eval "ac_cv_header_$ac_safe=yes"
2603 echo "configure: failed program was:" >&5
2604 cat conftest.
$ac_ext >&5
2606 eval "ac_cv_header_$ac_safe=no"
2610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2611 echo "$ac_t""yes" 1>&6
2612 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2613 cat >> confdefs.h
<<EOF
2614 #define $ac_tr_hdr 1
2618 echo "$ac_t""no" 1>&6
2622 for ac_hdr
in sys
/file.h
2624 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2625 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2626 echo "configure:2627: checking for $ac_hdr" >&5
2627 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2628 echo $ac_n "(cached) $ac_c" 1>&6
2630 cat > conftest.
$ac_ext <<EOF
2631 #line 2632 "configure"
2632 #include "confdefs.h"
2635 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2636 { (eval echo configure
:2637: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2637 ac_err
=`grep -v '^ *+' conftest.out`
2638 if test -z "$ac_err"; then
2640 eval "ac_cv_header_$ac_safe=yes"
2643 echo "configure: failed program was:" >&5
2644 cat conftest.
$ac_ext >&5
2646 eval "ac_cv_header_$ac_safe=no"
2650 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2651 echo "$ac_t""yes" 1>&6
2652 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2653 cat >> confdefs.h
<<EOF
2654 #define $ac_tr_hdr 1
2658 echo "$ac_t""no" 1>&6
2662 for ac_hdr
in sys
/time.h
2664 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2665 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2666 echo "configure:2667: checking for $ac_hdr" >&5
2667 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2668 echo $ac_n "(cached) $ac_c" 1>&6
2670 cat > conftest.
$ac_ext <<EOF
2671 #line 2672 "configure"
2672 #include "confdefs.h"
2675 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2676 { (eval echo configure
:2677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2677 ac_err
=`grep -v '^ *+' conftest.out`
2678 if test -z "$ac_err"; then
2680 eval "ac_cv_header_$ac_safe=yes"
2683 echo "configure: failed program was:" >&5
2684 cat conftest.
$ac_ext >&5
2686 eval "ac_cv_header_$ac_safe=no"
2690 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2691 echo "$ac_t""yes" 1>&6
2692 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2693 cat >> confdefs.h
<<EOF
2694 #define $ac_tr_hdr 1
2698 echo "$ac_t""no" 1>&6
2702 for ac_hdr
in unistd.h
2704 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2705 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2706 echo "configure:2707: checking for $ac_hdr" >&5
2707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2708 echo $ac_n "(cached) $ac_c" 1>&6
2710 cat > conftest.
$ac_ext <<EOF
2711 #line 2712 "configure"
2712 #include "confdefs.h"
2715 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2716 { (eval echo configure
:2717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2717 ac_err
=`grep -v '^ *+' conftest.out`
2718 if test -z "$ac_err"; then
2720 eval "ac_cv_header_$ac_safe=yes"
2723 echo "configure: failed program was:" >&5
2724 cat conftest.
$ac_ext >&5
2726 eval "ac_cv_header_$ac_safe=no"
2730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2731 echo "$ac_t""yes" 1>&6
2732 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2733 cat >> confdefs.h
<<EOF
2734 #define $ac_tr_hdr 1
2738 echo "$ac_t""no" 1>&6
2742 for ac_hdr
in fnmatch.h
2744 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2745 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2746 echo "configure:2747: checking for $ac_hdr" >&5
2747 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2748 echo $ac_n "(cached) $ac_c" 1>&6
2750 cat > conftest.
$ac_ext <<EOF
2751 #line 2752 "configure"
2752 #include "confdefs.h"
2755 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2756 { (eval echo configure
:2757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2757 ac_err
=`grep -v '^ *+' conftest.out`
2758 if test -z "$ac_err"; then
2760 eval "ac_cv_header_$ac_safe=yes"
2763 echo "configure: failed program was:" >&5
2764 cat conftest.
$ac_ext >&5
2766 eval "ac_cv_header_$ac_safe=no"
2770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2771 echo "$ac_t""yes" 1>&6
2772 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2773 cat >> confdefs.h
<<EOF
2774 #define $ac_tr_hdr 1
2778 echo "$ac_t""no" 1>&6
2782 for ac_hdr
in linux
/joystick.h
2784 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2785 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2786 echo "configure:2787: checking for $ac_hdr" >&5
2787 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2788 echo $ac_n "(cached) $ac_c" 1>&6
2790 cat > conftest.
$ac_ext <<EOF
2791 #line 2792 "configure"
2792 #include "confdefs.h"
2795 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2796 { (eval echo configure
:2797: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2797 ac_err
=`grep -v '^ *+' conftest.out`
2798 if test -z "$ac_err"; then
2800 eval "ac_cv_header_$ac_safe=yes"
2803 echo "configure: failed program was:" >&5
2804 cat conftest.
$ac_ext >&5
2806 eval "ac_cv_header_$ac_safe=no"
2810 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2811 echo "$ac_t""yes" 1>&6
2812 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2813 cat >> confdefs.h
<<EOF
2814 #define $ac_tr_hdr 1
2818 echo "$ac_t""no" 1>&6
2823 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2824 GTK_JOYSTICK
="gtk/joystick.cpp"
2830 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2831 ac_cpp
='$CXXCPP $CPPFLAGS'
2832 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2833 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2834 cross_compiling
=$ac_cv_prog_cxx_cross
2836 for ac_hdr
in iostream
2838 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2839 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2840 echo "configure:2841: checking for $ac_hdr" >&5
2841 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2842 echo $ac_n "(cached) $ac_c" 1>&6
2844 cat > conftest.
$ac_ext <<EOF
2845 #line 2846 "configure"
2846 #include "confdefs.h"
2849 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2850 { (eval echo configure
:2851: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2851 ac_err
=`grep -v '^ *+' conftest.out`
2852 if test -z "$ac_err"; then
2854 eval "ac_cv_header_$ac_safe=yes"
2857 echo "configure: failed program was:" >&5
2858 cat conftest.
$ac_ext >&5
2860 eval "ac_cv_header_$ac_safe=no"
2864 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2865 echo "$ac_t""yes" 1>&6
2866 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2867 cat >> confdefs.h
<<EOF
2868 #define $ac_tr_hdr 1
2872 echo "$ac_t""no" 1>&6
2876 if test "x$HAVE_IOSTREAM" = "x" ; then
2877 cat >> confdefs.h
<<\EOF
2878 #define wxUSE_IOSTREAMH 1
2883 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2884 ac_cpp
='$CPP $CPPFLAGS'
2885 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2886 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2887 cross_compiling
=$ac_cv_prog_cc_cross
2890 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2891 echo "configure:2892: checking for uid_t in sys/types.h" >&5
2892 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2893 echo $ac_n "(cached) $ac_c" 1>&6
2895 cat > conftest.
$ac_ext <<EOF
2896 #line 2897 "configure"
2897 #include "confdefs.h"
2898 #include <sys/types.h>
2900 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2901 egrep "uid_t" >/dev
/null
2>&1; then
2903 ac_cv_type_uid_t
=yes
2912 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2913 if test $ac_cv_type_uid_t = no
; then
2914 cat >> confdefs.h
<<\EOF
2918 cat >> confdefs.h
<<\EOF
2924 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2925 echo "configure:2926: checking type of array argument to getgroups" >&5
2926 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2927 echo $ac_n "(cached) $ac_c" 1>&6
2929 if test "$cross_compiling" = yes; then
2930 ac_cv_type_getgroups
=cross
2932 cat > conftest.
$ac_ext <<EOF
2933 #line 2934 "configure"
2934 #include "confdefs.h"
2936 /* Thanks to Mike Rendell for this test. */
2937 #include <sys/types.h>
2940 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2945 union { gid_t gval; long lval; } val;
2948 for (i = 0; i < NGID; i++)
2949 gidset[i] = val.gval;
2950 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2952 /* Exit non-zero if getgroups seems to require an array of ints. This
2953 happens when gid_t is short but getgroups modifies an array of ints. */
2954 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2958 if { (eval echo configure
:2959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2960 ac_cv_type_getgroups
=gid_t
2962 echo "configure: failed program was:" >&5
2963 cat conftest.
$ac_ext >&5
2965 ac_cv_type_getgroups
=int
2970 if test $ac_cv_type_getgroups = cross
; then
2971 cat > conftest.
$ac_ext <<EOF
2972 #line 2973 "configure"
2973 #include "confdefs.h"
2976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2977 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2979 ac_cv_type_getgroups
=gid_t
2982 ac_cv_type_getgroups
=int
2989 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2990 cat >> confdefs.h
<<EOF
2991 #define GETGROUPS_T $ac_cv_type_getgroups
2995 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2996 echo "configure:2997: checking for mode_t" >&5
2997 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2998 echo $ac_n "(cached) $ac_c" 1>&6
3000 cat > conftest.
$ac_ext <<EOF
3001 #line 3002 "configure"
3002 #include "confdefs.h"
3003 #include <sys/types.h>
3009 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3010 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3012 ac_cv_type_mode_t
=yes
3015 ac_cv_type_mode_t
=no
3020 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3021 if test $ac_cv_type_mode_t = no
; then
3022 cat >> confdefs.h
<<\EOF
3028 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3029 echo "configure:3030: checking for off_t" >&5
3030 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3031 echo $ac_n "(cached) $ac_c" 1>&6
3033 cat > conftest.
$ac_ext <<EOF
3034 #line 3035 "configure"
3035 #include "confdefs.h"
3036 #include <sys/types.h>
3042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3043 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3045 ac_cv_type_off_t
=yes
3053 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3054 if test $ac_cv_type_off_t = no
; then
3055 cat >> confdefs.h
<<\EOF
3061 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3062 echo "configure:3063: checking for pid_t" >&5
3063 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3064 echo $ac_n "(cached) $ac_c" 1>&6
3066 cat > conftest.
$ac_ext <<EOF
3067 #line 3068 "configure"
3068 #include "confdefs.h"
3069 #include <sys/types.h>
3075 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3076 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3078 ac_cv_type_pid_t
=yes
3086 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3087 if test $ac_cv_type_pid_t = no
; then
3088 cat >> confdefs.h
<<\EOF
3094 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3095 echo "configure:3096: checking return type of signal handlers" >&5
3096 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3097 echo $ac_n "(cached) $ac_c" 1>&6
3099 cat > conftest.
$ac_ext <<EOF
3100 #line 3101 "configure"
3101 #include "confdefs.h"
3102 #include <sys/types.h>
3108 extern "C" void (*signal (int, void (*)(int)))(int);
3110 void (*signal ()) ();
3117 if { (eval echo configure
:3118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3119 ac_cv_type_signal
=void
3121 echo "configure: failed program was:" >&5
3122 cat conftest.
$ac_ext >&5
3124 ac_cv_type_signal
=int
3129 echo "$ac_t""$ac_cv_type_signal" 1>&6
3130 cat >> confdefs.h
<<EOF
3131 #define RETSIGTYPE $ac_cv_type_signal
3135 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3136 echo "configure:3137: checking for size_t" >&5
3137 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3138 echo $ac_n "(cached) $ac_c" 1>&6
3140 cat > conftest.
$ac_ext <<EOF
3141 #line 3142 "configure"
3142 #include "confdefs.h"
3143 #include <sys/types.h>
3149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3150 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3152 ac_cv_type_size_t
=yes
3155 ac_cv_type_size_t
=no
3160 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3161 if test $ac_cv_type_size_t = no
; then
3162 cat >> confdefs.h
<<\EOF
3163 #define size_t unsigned
3168 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3169 echo "configure:3170: checking for uid_t in sys/types.h" >&5
3170 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3171 echo $ac_n "(cached) $ac_c" 1>&6
3173 cat > conftest.
$ac_ext <<EOF
3174 #line 3175 "configure"
3175 #include "confdefs.h"
3176 #include <sys/types.h>
3178 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3179 egrep "uid_t" >/dev
/null
2>&1; then
3181 ac_cv_type_uid_t
=yes
3190 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3191 if test $ac_cv_type_uid_t = no
; then
3192 cat >> confdefs.h
<<\EOF
3196 cat >> confdefs.h
<<\EOF
3204 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3205 echo "configure:3206: checking whether stat file-mode macros are broken" >&5
3206 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3207 echo $ac_n "(cached) $ac_c" 1>&6
3209 cat > conftest.
$ac_ext <<EOF
3210 #line 3211 "configure"
3211 #include "confdefs.h"
3212 #include <sys/types.h>
3213 #include <sys/stat.h>
3215 #if defined(S_ISBLK) && defined(S_IFDIR)
3216 # if S_ISBLK (S_IFDIR)
3221 #if defined(S_ISBLK) && defined(S_IFCHR)
3222 # if S_ISBLK (S_IFCHR)
3227 #if defined(S_ISLNK) && defined(S_IFREG)
3228 # if S_ISLNK (S_IFREG)
3233 #if defined(S_ISSOCK) && defined(S_IFREG)
3234 # if S_ISSOCK (S_IFREG)
3240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3241 egrep "You lose" >/dev
/null
2>&1; then
3243 ac_cv_header_stat_broken
=yes
3246 ac_cv_header_stat_broken
=no
3252 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3253 if test $ac_cv_header_stat_broken = yes; then
3254 cat >> confdefs.h
<<\EOF
3255 #define STAT_MACROS_BROKEN 1
3260 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3261 echo "configure:3262: checking whether time.h and sys/time.h may both be included" >&5
3262 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3263 echo $ac_n "(cached) $ac_c" 1>&6
3265 cat > conftest.
$ac_ext <<EOF
3266 #line 3267 "configure"
3267 #include "confdefs.h"
3268 #include <sys/types.h>
3269 #include <sys/time.h>
3275 if { (eval echo configure
:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3277 ac_cv_header_time
=yes
3279 echo "configure: failed program was:" >&5
3280 cat conftest.
$ac_ext >&5
3282 ac_cv_header_time
=no
3287 echo "$ac_t""$ac_cv_header_time" 1>&6
3288 if test $ac_cv_header_time = yes; then
3289 cat >> confdefs.h
<<\EOF
3290 #define TIME_WITH_SYS_TIME 1
3295 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3296 echo "configure:3297: checking for st_blksize in struct stat" >&5
3297 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3298 echo $ac_n "(cached) $ac_c" 1>&6
3300 cat > conftest.
$ac_ext <<EOF
3301 #line 3302 "configure"
3302 #include "confdefs.h"
3303 #include <sys/types.h>
3304 #include <sys/stat.h>
3306 struct stat s; s.st_blksize;
3309 if { (eval echo configure
:3310: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3311 ac_cv_struct_st_blksize
=yes
3313 echo "configure: failed program was:" >&5
3314 cat conftest.
$ac_ext >&5
3316 ac_cv_struct_st_blksize
=no
3321 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3322 if test $ac_cv_struct_st_blksize = yes; then
3323 cat >> confdefs.h
<<\EOF
3324 #define HAVE_ST_BLKSIZE 1
3329 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3330 echo "configure:3331: checking for st_blocks in struct stat" >&5
3331 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3332 echo $ac_n "(cached) $ac_c" 1>&6
3334 cat > conftest.
$ac_ext <<EOF
3335 #line 3336 "configure"
3336 #include "confdefs.h"
3337 #include <sys/types.h>
3338 #include <sys/stat.h>
3340 struct stat s; s.st_blocks;
3343 if { (eval echo configure
:3344: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3345 ac_cv_struct_st_blocks
=yes
3347 echo "configure: failed program was:" >&5
3348 cat conftest.
$ac_ext >&5
3350 ac_cv_struct_st_blocks
=no
3355 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3356 if test $ac_cv_struct_st_blocks = yes; then
3357 cat >> confdefs.h
<<\EOF
3358 #define HAVE_ST_BLOCKS 1
3362 LIBOBJS
="$LIBOBJS fileblocks.o"
3365 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3366 echo "configure:3367: checking for st_rdev in struct stat" >&5
3367 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3368 echo $ac_n "(cached) $ac_c" 1>&6
3370 cat > conftest.
$ac_ext <<EOF
3371 #line 3372 "configure"
3372 #include "confdefs.h"
3373 #include <sys/types.h>
3374 #include <sys/stat.h>
3376 struct stat s; s.st_rdev;
3379 if { (eval echo configure
:3380: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3381 ac_cv_struct_st_rdev
=yes
3383 echo "configure: failed program was:" >&5
3384 cat conftest.
$ac_ext >&5
3386 ac_cv_struct_st_rdev
=no
3391 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3392 if test $ac_cv_struct_st_rdev = yes; then
3393 cat >> confdefs.h
<<\EOF
3394 #define HAVE_ST_RDEV 1
3399 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3400 echo "configure:3401: checking whether struct tm is in sys/time.h or time.h" >&5
3401 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3402 echo $ac_n "(cached) $ac_c" 1>&6
3404 cat > conftest.
$ac_ext <<EOF
3405 #line 3406 "configure"
3406 #include "confdefs.h"
3407 #include <sys/types.h>
3410 struct tm *tp; tp->tm_sec;
3413 if { (eval echo configure
:3414: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3415 ac_cv_struct_tm
=time.h
3417 echo "configure: failed program was:" >&5
3418 cat conftest.
$ac_ext >&5
3420 ac_cv_struct_tm
=sys
/time.h
3425 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3426 if test $ac_cv_struct_tm = sys
/time.h
; then
3427 cat >> confdefs.h
<<\EOF
3428 #define TM_IN_SYS_TIME 1
3433 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3434 echo "configure:3435: checking for tm_zone in struct tm" >&5
3435 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3436 echo $ac_n "(cached) $ac_c" 1>&6
3438 cat > conftest.
$ac_ext <<EOF
3439 #line 3440 "configure"
3440 #include "confdefs.h"
3441 #include <sys/types.h>
3442 #include <$ac_cv_struct_tm>
3444 struct tm tm; tm.tm_zone;
3447 if { (eval echo configure
:3448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3449 ac_cv_struct_tm_zone
=yes
3451 echo "configure: failed program was:" >&5
3452 cat conftest.
$ac_ext >&5
3454 ac_cv_struct_tm_zone
=no
3459 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3460 if test "$ac_cv_struct_tm_zone" = yes; then
3461 cat >> confdefs.h
<<\EOF
3462 #define HAVE_TM_ZONE 1
3466 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3467 echo "configure:3468: checking for tzname" >&5
3468 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3469 echo $ac_n "(cached) $ac_c" 1>&6
3471 cat > conftest.
$ac_ext <<EOF
3472 #line 3473 "configure"
3473 #include "confdefs.h"
3475 #ifndef tzname /* For SGI. */
3476 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3482 if { (eval echo configure
:3483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3484 ac_cv_var_tzname
=yes
3486 echo "configure: failed program was:" >&5
3487 cat conftest.
$ac_ext >&5
3494 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3495 if test $ac_cv_var_tzname = yes; then
3496 cat >> confdefs.h
<<\EOF
3497 #define HAVE_TZNAME 1
3505 echo $ac_n "checking for working const""... $ac_c" 1>&6
3506 echo "configure:3507: checking for working const" >&5
3507 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3508 echo $ac_n "(cached) $ac_c" 1>&6
3510 cat > conftest.
$ac_ext <<EOF
3511 #line 3512 "configure"
3512 #include "confdefs.h"
3516 /* Ultrix mips cc rejects this. */
3517 typedef int charset[2]; const charset x;
3518 /* SunOS 4.1.1 cc rejects this. */
3519 char const *const *ccp;
3521 /* NEC SVR4.0.2 mips cc rejects this. */
3522 struct point {int x, y;};
3523 static struct point const zero = {0,0};
3524 /* AIX XL C 1.02.0.0 rejects this.
3525 It does not let you subtract one const X* pointer from another in an arm
3526 of an if-expression whose if-part is not a constant expression */
3527 const char *g = "string";
3528 ccp = &g + (g ? g-g : 0);
3529 /* HPUX 7.0 cc rejects these. */
3532 ccp = (char const *const *) p;
3533 { /* SCO 3.2v4 cc rejects this. */
3535 char const *s = 0 ? (char *) 0 : (char const *) 0;
3539 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3541 const int *foo = &x[0];
3544 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3545 typedef const int *iptr;
3549 { /* AIX XL C 1.02.0.0 rejects this saying
3550 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3551 struct s { int j; const int *ap[3]; };
3552 struct s *b; b->j = 5;
3554 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3560 if { (eval echo configure
:3561: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3564 echo "configure: failed program was:" >&5
3565 cat conftest.
$ac_ext >&5
3572 echo "$ac_t""$ac_cv_c_const" 1>&6
3573 if test $ac_cv_c_const = no
; then
3574 cat >> confdefs.h
<<\EOF
3580 echo $ac_n "checking for inline""... $ac_c" 1>&6
3581 echo "configure:3582: checking for inline" >&5
3582 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3583 echo $ac_n "(cached) $ac_c" 1>&6
3586 for ac_kw
in inline __inline__ __inline
; do
3587 cat > conftest.
$ac_ext <<EOF
3588 #line 3589 "configure"
3589 #include "confdefs.h"
3595 if { (eval echo configure
:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3597 ac_cv_c_inline
=$ac_kw; break
3599 echo "configure: failed program was:" >&5
3600 cat conftest.
$ac_ext >&5
3607 echo "$ac_t""$ac_cv_c_inline" 1>&6
3608 case "$ac_cv_c_inline" in
3610 no
) cat >> confdefs.h
<<\EOF
3614 *) cat >> confdefs.h
<<EOF
3615 #define inline $ac_cv_c_inline
3620 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3621 echo "configure:3622: checking whether char is unsigned" >&5
3622 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3623 echo $ac_n "(cached) $ac_c" 1>&6
3625 if test "$GCC" = yes; then
3626 # GCC predefines this symbol on systems where it applies.
3627 cat > conftest.
$ac_ext <<EOF
3628 #line 3629 "configure"
3629 #include "confdefs.h"
3630 #ifdef __CHAR_UNSIGNED__
3635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3636 egrep "yes" >/dev
/null
2>&1; then
3638 ac_cv_c_char_unsigned
=yes
3641 ac_cv_c_char_unsigned
=no
3646 if test "$cross_compiling" = yes; then
3647 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3649 cat > conftest.
$ac_ext <<EOF
3650 #line 3651 "configure"
3651 #include "confdefs.h"
3652 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3653 #if !defined(__STDC__) || __STDC__ != 1
3657 volatile char c = 255; exit(c < 0);
3660 if { (eval echo configure
:3661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3662 ac_cv_c_char_unsigned
=yes
3664 echo "configure: failed program was:" >&5
3665 cat conftest.
$ac_ext >&5
3667 ac_cv_c_char_unsigned
=no
3675 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3676 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3677 cat >> confdefs.h
<<\EOF
3678 #define __CHAR_UNSIGNED__ 1
3683 echo $ac_n "checking for long double""... $ac_c" 1>&6
3684 echo "configure:3685: checking for long double" >&5
3685 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3686 echo $ac_n "(cached) $ac_c" 1>&6
3688 if test "$GCC" = yes; then
3689 ac_cv_c_long_double
=yes
3691 if test "$cross_compiling" = yes; then
3692 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3694 cat > conftest.
$ac_ext <<EOF
3695 #line 3696 "configure"
3696 #include "confdefs.h"
3698 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3699 long double foo = 0.0;
3700 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3701 exit(sizeof(long double) < sizeof(double)); }
3703 if { (eval echo configure
:3704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3705 ac_cv_c_long_double
=yes
3707 echo "configure: failed program was:" >&5
3708 cat conftest.
$ac_ext >&5
3710 ac_cv_c_long_double
=no
3718 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3719 if test $ac_cv_c_long_double = yes; then
3720 cat >> confdefs.h
<<\EOF
3721 #define HAVE_LONG_DOUBLE 1
3727 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3728 echo "configure:3729: checking whether byte ordering is bigendian" >&5
3729 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3730 echo $ac_n "(cached) $ac_c" 1>&6
3732 ac_cv_c_bigendian
=unknown
3733 # See if sys/param.h defines the BYTE_ORDER macro.
3734 cat > conftest.
$ac_ext <<EOF
3735 #line 3736 "configure"
3736 #include "confdefs.h"
3737 #include <sys/types.h>
3738 #include <sys/param.h>
3741 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3746 if { (eval echo configure
:3747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3748 # It does; now see whether it defined to BIG_ENDIAN or not.
3749 cat > conftest.
$ac_ext <<EOF
3750 #line 3751 "configure"
3751 #include "confdefs.h"
3752 #include <sys/types.h>
3753 #include <sys/param.h>
3756 #if BYTE_ORDER != BIG_ENDIAN
3761 if { (eval echo configure
:3762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3763 ac_cv_c_bigendian
=yes
3765 echo "configure: failed program was:" >&5
3766 cat conftest.
$ac_ext >&5
3768 ac_cv_c_bigendian
=no
3772 echo "configure: failed program was:" >&5
3773 cat conftest.
$ac_ext >&5
3776 if test $ac_cv_c_bigendian = unknown
; then
3777 if test "$cross_compiling" = yes; then
3778 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3780 cat > conftest.
$ac_ext <<EOF
3781 #line 3782 "configure"
3782 #include "confdefs.h"
3784 /* Are we little or big endian? From Harbison&Steele. */
3788 char c[sizeof (long)];
3791 exit (u.c[sizeof (long) - 1] == 1);
3794 if { (eval echo configure
:3795: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3796 ac_cv_c_bigendian
=no
3798 echo "configure: failed program was:" >&5
3799 cat conftest.
$ac_ext >&5
3801 ac_cv_c_bigendian
=yes
3809 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3810 if test $ac_cv_c_bigendian = yes; then
3811 cat >> confdefs.h
<<\EOF
3812 #define WORDS_BIGENDIAN 1
3818 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3819 echo "configure:3820: checking size of int *" >&5
3820 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3821 echo $ac_n "(cached) $ac_c" 1>&6
3823 if test "$cross_compiling" = yes; then
3824 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3826 cat > conftest.
$ac_ext <<EOF
3827 #line 3828 "configure"
3828 #include "confdefs.h"
3832 FILE *f=fopen("conftestval", "w");
3834 fprintf(f, "%d\n", sizeof(int *));
3838 if { (eval echo configure
:3839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3840 ac_cv_sizeof_int_p
=`cat conftestval`
3842 echo "configure: failed program was:" >&5
3843 cat conftest.
$ac_ext >&5
3845 ac_cv_sizeof_int_p
=0
3851 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3852 cat >> confdefs.h
<<EOF
3853 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3857 echo $ac_n "checking size of int""... $ac_c" 1>&6
3858 echo "configure:3859: checking size of int" >&5
3859 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3860 echo $ac_n "(cached) $ac_c" 1>&6
3862 if test "$cross_compiling" = yes; then
3863 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3865 cat > conftest.
$ac_ext <<EOF
3866 #line 3867 "configure"
3867 #include "confdefs.h"
3871 FILE *f=fopen("conftestval", "w");
3873 fprintf(f, "%d\n", sizeof(int));
3877 if { (eval echo configure
:3878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3879 ac_cv_sizeof_int
=`cat conftestval`
3881 echo "configure: failed program was:" >&5
3882 cat conftest.
$ac_ext >&5
3890 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
3891 cat >> confdefs.h
<<EOF
3892 #define SIZEOF_INT $ac_cv_sizeof_int
3896 echo $ac_n "checking size of long""... $ac_c" 1>&6
3897 echo "configure:3898: checking size of long" >&5
3898 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3899 echo $ac_n "(cached) $ac_c" 1>&6
3901 if test "$cross_compiling" = yes; then
3902 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3904 cat > conftest.
$ac_ext <<EOF
3905 #line 3906 "configure"
3906 #include "confdefs.h"
3910 FILE *f=fopen("conftestval", "w");
3912 fprintf(f, "%d\n", sizeof(long));
3916 if { (eval echo configure
:3917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3918 ac_cv_sizeof_long
=`cat conftestval`
3920 echo "configure: failed program was:" >&5
3921 cat conftest.
$ac_ext >&5
3929 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
3930 cat >> confdefs.h
<<EOF
3931 #define SIZEOF_LONG $ac_cv_sizeof_long
3939 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3940 echo "configure:3941: checking for long file names" >&5
3941 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3942 echo $ac_n "(cached) $ac_c" 1>&6
3944 ac_cv_sys_long_file_names
=yes
3945 # Test for long file names in all the places we know might matter:
3946 # . the current directory, where building will happen
3947 # $prefix/lib where we will be installing things
3948 # $exec_prefix/lib likewise
3949 # eval it to expand exec_prefix.
3950 # $TMPDIR if set, where it might want to write temporary files
3951 # if $TMPDIR is not set:
3952 # /tmp where it might want to write temporary files
3955 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3956 ac_tmpdirs
="$TMPDIR"
3958 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
3960 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
3961 test -d $ac_dir || continue
3962 test -w $ac_dir || continue # It is less confusing to not echo anything here.
3963 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
3964 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
3965 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
3966 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
3967 ac_cv_sys_long_file_names
=no
3968 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3971 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3975 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
3976 if test $ac_cv_sys_long_file_names = yes; then
3977 cat >> confdefs.h
<<\EOF
3978 #define HAVE_LONG_FILE_NAMES 1
3986 for ac_prog
in 'bison -y' byacc
3988 # Extract the first word of "$ac_prog", so it can be a program name with args.
3989 set dummy
$ac_prog; ac_word
=$2
3990 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3991 echo "configure:3992: checking for $ac_word" >&5
3992 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
3993 echo $ac_n "(cached) $ac_c" 1>&6
3995 if test -n "$YACC"; then
3996 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3998 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3999 for ac_dir
in $PATH; do
4000 test -z "$ac_dir" && ac_dir
=.
4001 if test -f $ac_dir/$ac_word; then
4002 ac_cv_prog_YACC
="$ac_prog"
4009 YACC
="$ac_cv_prog_YACC"
4010 if test -n "$YACC"; then
4011 echo "$ac_t""$YACC" 1>&6
4013 echo "$ac_t""no" 1>&6
4016 test -n "$YACC" && break
4018 test -n "$YACC" || YACC
="yacc"
4021 # Extract the first word of "flex", so it can be a program name with args.
4022 set dummy flex
; ac_word
=$2
4023 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4024 echo "configure:4025: checking for $ac_word" >&5
4025 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4026 echo $ac_n "(cached) $ac_c" 1>&6
4028 if test -n "$LEX"; then
4029 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4031 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4032 for ac_dir
in $PATH; do
4033 test -z "$ac_dir" && ac_dir
=.
4034 if test -f $ac_dir/$ac_word; then
4035 ac_cv_prog_LEX
="flex"
4040 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4043 LEX
="$ac_cv_prog_LEX"
4044 if test -n "$LEX"; then
4045 echo "$ac_t""$LEX" 1>&6
4047 echo "$ac_t""no" 1>&6
4050 if test -z "$LEXLIB"
4056 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4057 echo "configure:4058: checking for yywrap in -l$ac_lib" >&5
4058 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4059 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4060 echo $ac_n "(cached) $ac_c" 1>&6
4062 ac_save_LIBS
="$LIBS"
4063 LIBS
="-l$ac_lib $LIBS"
4064 cat > conftest.
$ac_ext <<EOF
4065 #line 4066 "configure"
4066 #include "confdefs.h"
4067 /* Override any gcc2 internal prototype to avoid an error. */
4068 /* We use char because int might match the return type of a gcc2
4069 builtin and then its argument prototype would still apply. */
4076 if { (eval echo configure
:4077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4078 eval "ac_cv_lib_$ac_lib_var=yes"
4080 echo "configure: failed program was:" >&5
4081 cat conftest.
$ac_ext >&5
4083 eval "ac_cv_lib_$ac_lib_var=no"
4086 LIBS
="$ac_save_LIBS"
4089 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4090 echo "$ac_t""yes" 1>&6
4093 echo "$ac_t""no" 1>&6
4098 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4099 echo "configure:4100: checking lex output file root" >&5
4100 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4101 echo $ac_n "(cached) $ac_c" 1>&6
4103 # The minimal lex program is just a single line: %%. But some broken lexes
4104 # (Solaris, I think it was) want two %% lines, so accommodate them.
4107 if test -f lex.yy.c
; then
4108 ac_cv_prog_lex_root
=lex.yy
4109 elif test -f lexyy.c
; then
4110 ac_cv_prog_lex_root
=lexyy
4112 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4116 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4117 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4119 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4120 echo "configure:4121: checking whether yytext is a pointer" >&5
4121 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4122 echo $ac_n "(cached) $ac_c" 1>&6
4124 # POSIX says lex can declare yytext either as a pointer or an array; the
4125 # default is implementation-dependent. Figure out which it is, since
4126 # not all implementations provide the %pointer and %array declarations.
4127 ac_cv_prog_lex_yytext_pointer
=no
4128 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4129 ac_save_LIBS
="$LIBS"
4130 LIBS
="$LIBS $LEXLIB"
4131 cat > conftest.
$ac_ext <<EOF
4132 #line 4133 "configure"
4133 #include "confdefs.h"
4134 `cat $LEX_OUTPUT_ROOT.c`
4139 if { (eval echo configure
:4140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4141 ac_cv_prog_lex_yytext_pointer
=yes
4143 echo "configure: failed program was:" >&5
4144 cat conftest.
$ac_ext >&5
4147 LIBS
="$ac_save_LIBS"
4148 rm -f "${LEX_OUTPUT_ROOT}.c"
4152 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4153 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4154 cat >> confdefs.h
<<\EOF
4155 #define YYTEXT_POINTER 1
4162 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4163 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4167 # Make sure we can run config.sub.
4168 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4169 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4172 echo $ac_n "checking host system type""... $ac_c" 1>&6
4173 echo "configure:4174: checking host system type" >&5
4176 case "$host_alias" in
4180 if host_alias
=`$ac_config_guess`; then :
4181 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4183 *) host_alias
=$nonopt ;;
4187 host=`$ac_config_sub $host_alias`
4188 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4189 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4190 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4191 echo "$ac_t""$host" 1>&6
4194 configuration
=$host_alias
4217 case "${canonical}" in
4220 cat >> confdefs.h
<<\EOF
4227 cat >> confdefs.h
<<\EOF
4232 *-*-irix5* | *-*-irix6* )
4235 cat >> confdefs.h
<<\EOF
4239 cat >> confdefs.h
<<\EOF
4248 cat >> confdefs.h
<<\EOF
4252 cat >> confdefs.h
<<\EOF
4253 #define __SOLARIS__ 1
4256 cat >> confdefs.h
<<\EOF
4265 cat >> confdefs.h
<<\EOF
4269 cat >> confdefs.h
<<\EOF
4273 cat >> confdefs.h
<<\EOF
4278 *-*-freebsd* | *-*-netbsd*)
4281 cat >> confdefs.h
<<\EOF
4282 #define __FREEBSD__ 1
4285 cat >> confdefs.h
<<\EOF
4293 cat >> confdefs.h
<<\EOF
4297 cat >> confdefs.h
<<\EOF
4305 cat >> confdefs.h
<<\EOF
4309 cat >> confdefs.h
<<\EOF
4317 cat >> confdefs.h
<<\EOF
4321 cat >> confdefs.h
<<\EOF
4330 cat >> confdefs.h
<<\EOF
4334 cat >> confdefs.h
<<\EOF
4338 cat >> confdefs.h
<<\EOF
4344 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4349 rm -f ${OSTYPE}.system.cache.tmp
4350 touch ${OSTYPE}.system.cache.tmp
4351 touch ${OSTYPE}.system.cache
4356 DEFAULT_wxUSE_MOTIF
=0
4358 DEFAULT_wxUSE_THREADS
=1
4360 DEFAULT_wxUSE_SHARED
=1
4361 DEFAULT_wxUSE_OPTIMISE
=1
4362 DEFAULT_wxUSE_PROFILE
=0
4363 DEFAULT_wxUSE_DEBUG_FLAG
=0
4364 DEFAULT_wxUSE_DEBUG_INFO
=0
4365 DEFAULT_wxUSE_MEM_TRACING
=0
4366 DEFAULT_wxUSE_DMALLOC
=0
4367 DEFAULT_wxUSE_APPLE_IEEE
=1
4368 DEFAULT_wxUSE_IOSTREAMH
=1
4370 DEFAULT_wxUSE_ZLIB
=1
4371 DEFAULT_wxUSE_LIBPNG
=1
4372 DEFAULT_wxUSE_ODBC
=0
4374 DEFAULT_wxUSE_COMBOBOX
=1
4375 DEFAULT_wxUSE_GAUGE
=1
4376 DEFAULT_wxUSE_SCROLLBAR
=1
4377 DEFAULT_wxUSE_LISTCTRL
=1
4378 DEFAULT_wxUSE_TREECTRL
=1
4379 DEFAULT_wxUSE_GRID
=1
4380 DEFAULT_wxUSE_TAB_DIALOG
=1
4381 DEFAULT_wxUSE_NOTEBOOK
=1
4383 DEFAULT_wxUSE_TIMEDATE
=1
4384 DEFAULT_wxUSE_FRACTION
=1
4386 DEFAULT_wxUSE_INTL
=1
4387 DEFAULT_wxUSE_CONFIG
=1
4388 DEFAULT_wxUSE_STREAMS
=1
4389 DEFAULT_wxUSE_SERIAL
=1
4390 DEFAULT_wxUSE_FILE
=1
4391 DEFAULT_wxUSE_TEXTFILE
=1
4393 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4394 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4395 DEFAULT_wxUSE_POSTSCRIPT
=1
4398 DEFAULT_wxUSE_RESOURCES
=1
4399 DEFAULT_wxUSE_CONSTRAINTS
=1
4400 DEFAULT_wxUSE_CLIPBOARD
=0
4403 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4404 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4405 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4407 DEFAULT_wxUSE_PROLOGIO
=1
4408 DEFAULT_wxUSE_WX_RESOURCES
=1
4411 DEFAULT_wxUSE_OPENGL
=0
4412 DEFAULT_wxUSE_METAFILE
=0
4413 DEFAULT_wxUSE_WXGRAPH
=0
4414 DEFAULT_wxUSE_WXTREE
=0
4415 DEFAULT_wxUSE_HELP
=1
4417 DEFAULT_wxUSE_UNICODE
=1
4418 DEFAULT_wxUSE_WCSRTOMBS
=0
4422 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4423 echo "configure:4424: checking "for gtk
"" >&5
4424 # Check whether --with-gtk or --without-gtk was given.
4425 if test "${with_gtk+set}" = set; then
4427 if test "x$with_gtk" = xyes
; then
4428 ac_cv_use_gtk
='wxUSE_GTK="1"'
4430 ac_cv_use_gtk
='wxUSE_GTK="0"'
4434 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4435 if test "x$LINE" != x
; then
4436 eval "DEFAULT_$LINE"
4438 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4442 eval "$ac_cv_use_gtk"
4443 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4444 if test "$wxUSE_GTK" = 1; then
4445 echo "$ac_t""yes" 1>&6
4447 echo "$ac_t""no" 1>&6
4452 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4453 echo "configure:4454: checking "for qt
"" >&5
4454 # Check whether --with-qt or --without-qt was given.
4455 if test "${with_qt+set}" = set; then
4457 if test "x$with_qt" = xyes
; then
4458 ac_cv_use_qt
='wxUSE_QT="1"'
4460 ac_cv_use_qt
='wxUSE_QT="0"'
4464 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4465 if test "x$LINE" != x
; then
4466 eval "DEFAULT_$LINE"
4468 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4472 eval "$ac_cv_use_qt"
4473 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4474 if test "$wxUSE_QT" = 1; then
4475 echo "$ac_t""yes" 1>&6
4477 echo "$ac_t""no" 1>&6
4482 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4483 echo "configure:4484: checking "for motif
"" >&5
4484 # Check whether --with-motif or --without-motif was given.
4485 if test "${with_motif+set}" = set; then
4486 withval
="$with_motif"
4487 if test "x$with_motif" = xyes
; then
4488 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4490 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4494 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4495 if test "x$LINE" != x
; then
4496 eval "DEFAULT_$LINE"
4498 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4502 eval "$ac_cv_use_motif"
4503 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4504 if test "$wxUSE_MOTIF" = 1; then
4505 echo "$ac_t""yes" 1>&6
4507 echo "$ac_t""no" 1>&6
4513 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4514 echo "configure:4515: checking "for shared
"" >&5
4515 # Check whether --with-shared or --without-shared was given.
4516 if test "${with_shared+set}" = set; then
4517 withval
="$with_shared"
4518 if test "x$with_shared" = xyes
; then
4519 ac_cv_use_shared
='wxUSE_SHARED="1"'
4521 ac_cv_use_shared
='wxUSE_SHARED="0"'
4525 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4526 if test "x$LINE" != x
; then
4527 eval "DEFAULT_$LINE"
4529 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4533 eval "$ac_cv_use_shared"
4534 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4535 if test "$wxUSE_SHARED" = 1; then
4536 echo "$ac_t""yes" 1>&6
4538 echo "$ac_t""no" 1>&6
4543 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4544 echo "configure:4545: checking "for optimise
"" >&5
4545 # Check whether --with-optimise or --without-optimise was given.
4546 if test "${with_optimise+set}" = set; then
4547 withval
="$with_optimise"
4548 if test "x$with_optimise" = xyes
; then
4549 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
4551 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
4555 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
4556 if test "x$LINE" != x
; then
4557 eval "DEFAULT_$LINE"
4559 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4563 eval "$ac_cv_use_optimise"
4564 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4565 if test "$wxUSE_OPTIMISE" = 1; then
4566 echo "$ac_t""yes" 1>&6
4568 echo "$ac_t""no" 1>&6
4573 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4574 echo "configure:4575: checking "for debug_flag
"" >&5
4575 # Check whether --with-debug_flag or --without-debug_flag was given.
4576 if test "${with_debug_flag+set}" = set; then
4577 withval
="$with_debug_flag"
4578 if test "x$with_debug_flag" = xyes
; then
4579 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
4581 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
4585 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4586 if test "x$LINE" != x
; then
4587 eval "DEFAULT_$LINE"
4589 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4593 eval "$ac_cv_use_debug_flag"
4594 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4595 if test "$wxUSE_DEBUG_FLAG" = 1; then
4596 echo "$ac_t""yes" 1>&6
4598 echo "$ac_t""no" 1>&6
4603 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4604 echo "configure:4605: checking "for debug_info
"" >&5
4605 # Check whether --with-debug_info or --without-debug_info was given.
4606 if test "${with_debug_info+set}" = set; then
4607 withval
="$with_debug_info"
4608 if test "x$with_debug_info" = xyes
; then
4609 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
4611 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
4615 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
4616 if test "x$LINE" != x
; then
4617 eval "DEFAULT_$LINE"
4619 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4623 eval "$ac_cv_use_debug_info"
4624 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4625 if test "$wxUSE_DEBUG_INFO" = 1; then
4626 echo "$ac_t""yes" 1>&6
4628 echo "$ac_t""no" 1>&6
4633 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4634 echo "configure:4635: checking "for mem_tracing
"" >&5
4635 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4636 if test "${with_mem_tracing+set}" = set; then
4637 withval
="$with_mem_tracing"
4638 if test "x$with_mem_tracing" = xyes
; then
4639 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
4641 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
4645 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
4646 if test "x$LINE" != x
; then
4647 eval "DEFAULT_$LINE"
4649 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4653 eval "$ac_cv_use_mem_tracing"
4654 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4655 if test "$wxUSE_MEM_TRACING" = 1; then
4656 echo "$ac_t""yes" 1>&6
4658 echo "$ac_t""no" 1>&6
4663 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
4664 echo "configure:4665: checking "for dmalloc
"" >&5
4665 # Check whether --with-dmalloc or --without-dmalloc was given.
4666 if test "${with_dmalloc+set}" = set; then
4667 withval
="$with_dmalloc"
4668 if test "x$with_dmalloc" = xyes
; then
4669 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
4671 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
4675 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
4676 if test "x$LINE" != x
; then
4677 eval "DEFAULT_$LINE"
4679 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4683 eval "$ac_cv_use_dmalloc"
4684 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
4685 if test "$wxUSE_DMALLOC" = 1; then
4686 echo "$ac_t""yes" 1>&6
4688 echo "$ac_t""no" 1>&6
4693 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4694 echo "configure:4695: checking "for profile
"" >&5
4695 # Check whether --with-profile or --without-profile was given.
4696 if test "${with_profile+set}" = set; then
4697 withval
="$with_profile"
4698 if test "x$with_profile" = xyes
; then
4699 ac_cv_use_profile
='wxUSE_PROFILE="1"'
4701 ac_cv_use_profile
='wxUSE_PROFILE="0"'
4705 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
4706 if test "x$LINE" != x
; then
4707 eval "DEFAULT_$LINE"
4709 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4713 eval "$ac_cv_use_profile"
4714 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4715 if test "$wxUSE_PROFILE" = 1; then
4716 echo "$ac_t""yes" 1>&6
4718 echo "$ac_t""no" 1>&6
4723 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4724 echo "configure:4725: checking "for apple_ieee
"" >&5
4725 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4726 if test "${with_apple_ieee+set}" = set; then
4727 withval
="$with_apple_ieee"
4728 if test "x$with_apple_ieee" = xyes
; then
4729 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
4731 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
4735 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
4736 if test "x$LINE" != x
; then
4737 eval "DEFAULT_$LINE"
4739 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4743 eval "$ac_cv_use_apple_ieee"
4744 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4745 if test "$wxUSE_APPLE_IEEE" = 1; then
4746 echo "$ac_t""yes" 1>&6
4748 echo "$ac_t""no" 1>&6
4754 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4755 echo "configure:4756: checking "for zlib
"" >&5
4756 # Check whether --with-zlib or --without-zlib was given.
4757 if test "${with_zlib+set}" = set; then
4758 withval
="$with_zlib"
4759 if test "x$with_zlib" = xyes
; then
4760 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
4762 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
4766 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
4767 if test "x$LINE" != x
; then
4768 eval "DEFAULT_$LINE"
4770 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4774 eval "$ac_cv_use_zlib"
4775 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4776 if test "$wxUSE_ZLIB" = 1; then
4777 echo "$ac_t""yes" 1>&6
4779 echo "$ac_t""no" 1>&6
4784 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4785 echo "configure:4786: checking "for libpng
"" >&5
4786 # Check whether --with-libpng or --without-libpng was given.
4787 if test "${with_libpng+set}" = set; then
4788 withval
="$with_libpng"
4789 if test "x$with_libpng" = xyes
; then
4790 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
4792 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
4796 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
4797 if test "x$LINE" != x
; then
4798 eval "DEFAULT_$LINE"
4800 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
4804 eval "$ac_cv_use_libpng"
4805 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4806 if test "$wxUSE_LIBPNG" = 1; then
4807 echo "$ac_t""yes" 1>&6
4809 echo "$ac_t""no" 1>&6
4814 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
4815 echo "configure:4816: checking "for odbc
"" >&5
4816 # Check whether --with-odbc or --without-odbc was given.
4817 if test "${with_odbc+set}" = set; then
4818 withval
="$with_odbc"
4819 if test "x$with_odbc" = xyes
; then
4820 ac_cv_use_odbc
='wxUSE_ODBC="1"'
4822 ac_cv_use_odbc
='wxUSE_ODBC="0"'
4826 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
4827 if test "x$LINE" != x
; then
4828 eval "DEFAULT_$LINE"
4830 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4834 eval "$ac_cv_use_odbc"
4835 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
4836 if test "$wxUSE_ODBC" = 1; then
4837 echo "$ac_t""yes" 1>&6
4839 echo "$ac_t""no" 1>&6
4844 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
4845 echo "configure:4846: checking "for opengl
"" >&5
4846 # Check whether --with-opengl or --without-opengl was given.
4847 if test "${with_opengl+set}" = set; then
4848 withval
="$with_opengl"
4849 if test "x$with_opengl" = xyes
; then
4850 ac_cv_use_opengl
='wxUSE_OPENGL="1"'
4852 ac_cv_use_opengl
='wxUSE_OPENGL="0"'
4856 LINE
=`grep "wxUSE_OPENGL" ${OSTYPE}.system.cache`
4857 if test "x$LINE" != x
; then
4858 eval "DEFAULT_$LINE"
4860 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4864 eval "$ac_cv_use_opengl"
4865 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
4866 if test "$wxUSE_OPENGL" = 1; then
4867 echo "$ac_t""yes" 1>&6
4869 echo "$ac_t""no" 1>&6
4875 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
4876 echo "configure:4877: checking "for gauge
"" >&5
4877 # Check whether --with-gauge or --without-gauge was given.
4878 if test "${with_gauge+set}" = set; then
4879 withval
="$with_gauge"
4880 if test "x$with_gauge" = xyes
; then
4881 ac_cv_use_gauge
='wxUSE_GAUGE="1"'
4883 ac_cv_use_gauge
='wxUSE_GAUGE="0"'
4887 LINE
=`grep "wxUSE_GAUGE" ${OSTYPE}.system.cache`
4888 if test "x$LINE" != x
; then
4889 eval "DEFAULT_$LINE"
4891 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4895 eval "$ac_cv_use_gauge"
4896 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
4897 if test "$wxUSE_GAUGE" = 1; then
4898 echo "$ac_t""yes" 1>&6
4900 echo "$ac_t""no" 1>&6
4905 echo $ac_n "checking "for combobox
"""... $ac_c" 1>&6
4906 echo "configure:4907: checking "for combobox
"" >&5
4907 # Check whether --with-combobox or --without-combobox was given.
4908 if test "${with_combobox+set}" = set; then
4909 withval
="$with_combobox"
4910 if test "x$with_combobox" = xyes
; then
4911 ac_cv_use_combobox
='wxUSE_COMBOBOX="1"'
4913 ac_cv_use_combobox
='wxUSE_COMBOBOX="0"'
4917 LINE
=`grep "wxUSE_COMBOBOX" ${OSTYPE}.system.cache`
4918 if test "x$LINE" != x
; then
4919 eval "DEFAULT_$LINE"
4921 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4925 eval "$ac_cv_use_combobox"
4926 echo $ac_cv_use_combobox >> ${OSTYPE}.system.cache.tmp
4927 if test "$wxUSE_COMBOBOX" = 1; then
4928 echo "$ac_t""yes" 1>&6
4930 echo "$ac_t""no" 1>&6
4935 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
4936 echo "configure:4937: checking "for scrollbar
"" >&5
4937 # Check whether --with-scrollbar or --without-scrollbar was given.
4938 if test "${with_scrollbar+set}" = set; then
4939 withval
="$with_scrollbar"
4940 if test "x$with_scrollbar" = xyes
; then
4941 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="1"'
4943 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="0"'
4947 LINE
=`grep "wxUSE_SCROLLBAR" ${OSTYPE}.system.cache`
4948 if test "x$LINE" != x
; then
4949 eval "DEFAULT_$LINE"
4951 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4955 eval "$ac_cv_use_scrollbar"
4956 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
4957 if test "$wxUSE_SCROLLBAR" = 1; then
4958 echo "$ac_t""yes" 1>&6
4960 echo "$ac_t""no" 1>&6
4965 echo $ac_n "checking "for listctrl
"""... $ac_c" 1>&6
4966 echo "configure:4967: checking "for listctrl
"" >&5
4967 # Check whether --with-listctrl or --without-listctrl was given.
4968 if test "${with_listctrl+set}" = set; then
4969 withval
="$with_listctrl"
4970 if test "x$with_listctrl" = xyes
; then
4971 ac_cv_use_listctrl
='wxUSE_LISTCTRL="1"'
4973 ac_cv_use_listctrl
='wxUSE_LISTCTRL="0"'
4977 LINE
=`grep "wxUSE_LISTCTRL" ${OSTYPE}.system.cache`
4978 if test "x$LINE" != x
; then
4979 eval "DEFAULT_$LINE"
4981 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4985 eval "$ac_cv_use_listctrl"
4986 echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp
4987 if test "$wxUSE_LISTCTRL" = 1; then
4988 echo "$ac_t""yes" 1>&6
4990 echo "$ac_t""no" 1>&6
4995 echo $ac_n "checking "for treectrl
"""... $ac_c" 1>&6
4996 echo "configure:4997: checking "for treectrl
"" >&5
4997 # Check whether --with-treectrl or --without-treectrl was given.
4998 if test "${with_treectrl+set}" = set; then
4999 withval
="$with_treectrl"
5000 if test "x$with_treectrl" = xyes
; then
5001 ac_cv_use_treectrl
='wxUSE_TREECTRL="1"'
5003 ac_cv_use_treectrl
='wxUSE_TREECTRL="0"'
5007 LINE
=`grep "wxUSE_TREECTRL" ${OSTYPE}.system.cache`
5008 if test "x$LINE" != x
; then
5009 eval "DEFAULT_$LINE"
5011 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5015 eval "$ac_cv_use_treectrl"
5016 echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp
5017 if test "$wxUSE_TREECTRL" = 1; then
5018 echo "$ac_t""yes" 1>&6
5020 echo "$ac_t""no" 1>&6
5025 echo $ac_n "checking "for grid
"""... $ac_c" 1>&6
5026 echo "configure:5027: checking "for grid
"" >&5
5027 # Check whether --with-grid or --without-grid was given.
5028 if test "${with_grid+set}" = set; then
5029 withval
="$with_grid"
5030 if test "x$with_grid" = xyes
; then
5031 ac_cv_use_grid
='wxUSE_GRID="1"'
5033 ac_cv_use_grid
='wxUSE_GRID="0"'
5037 LINE
=`grep "wxUSE_GRID" ${OSTYPE}.system.cache`
5038 if test "x$LINE" != x
; then
5039 eval "DEFAULT_$LINE"
5041 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5045 eval "$ac_cv_use_grid"
5046 echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp
5047 if test "$wxUSE_GRID" = 1; then
5048 echo "$ac_t""yes" 1>&6
5050 echo "$ac_t""no" 1>&6
5055 echo $ac_n "checking "for tab_dialog
"""... $ac_c" 1>&6
5056 echo "configure:5057: checking "for tab_dialog
"" >&5
5057 # Check whether --with-tab_dialog or --without-tab_dialog was given.
5058 if test "${with_tab_dialog+set}" = set; then
5059 withval
="$with_tab_dialog"
5060 if test "x$with_tab_dialog" = xyes
; then
5061 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="1"'
5063 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="0"'
5067 LINE
=`grep "wxUSE_TAB_DIALOG" ${OSTYPE}.system.cache`
5068 if test "x$LINE" != x
; then
5069 eval "DEFAULT_$LINE"
5071 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
5075 eval "$ac_cv_use_tab_dialog"
5076 echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp
5077 if test "$wxUSE_TAB_DIALOG" = 1; then
5078 echo "$ac_t""yes" 1>&6
5080 echo "$ac_t""no" 1>&6
5085 echo $ac_n "checking "for notebook
"""... $ac_c" 1>&6
5086 echo "configure:5087: checking "for notebook
"" >&5
5087 # Check whether --with-notebook or --without-notebook was given.
5088 if test "${with_notebook+set}" = set; then
5089 withval
="$with_notebook"
5090 if test "x$with_notebook" = xyes
; then
5091 ac_cv_use_notebook
='wxUSE_NOTEBOOK="1"'
5093 ac_cv_use_notebook
='wxUSE_NOTEBOOK="0"'
5097 LINE
=`grep "wxUSE_NOTEBOOK" ${OSTYPE}.system.cache`
5098 if test "x$LINE" != x
; then
5099 eval "DEFAULT_$LINE"
5101 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5105 eval "$ac_cv_use_notebook"
5106 echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp
5107 if test "$wxUSE_NOTEBOOK" = 1; then
5108 echo "$ac_t""yes" 1>&6
5110 echo "$ac_t""no" 1>&6
5116 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5117 echo "configure:5118: checking "for timedate
"" >&5
5118 # Check whether --with-timedate or --without-timedate was given.
5119 if test "${with_timedate+set}" = set; then
5120 withval
="$with_timedate"
5121 if test "x$with_timedate" = xyes
; then
5122 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5124 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5128 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5129 if test "x$LINE" != x
; then
5130 eval "DEFAULT_$LINE"
5132 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5136 eval "$ac_cv_use_timedate"
5137 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5138 if test "$wxUSE_TIMEDATE" = 1; then
5139 echo "$ac_t""yes" 1>&6
5141 echo "$ac_t""no" 1>&6
5146 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5147 echo "configure:5148: checking "for fraction
"" >&5
5148 # Check whether --with-fraction or --without-fraction was given.
5149 if test "${with_fraction+set}" = set; then
5150 withval
="$with_fraction"
5151 if test "x$with_fraction" = xyes
; then
5152 ac_cv_use_fraction
='wxUSE_FRACTION="1"'
5154 ac_cv_use_fraction
='wxUSE_FRACTION="0"'
5158 LINE
=`grep "wxUSE_FRACTION" ${OSTYPE}.system.cache`
5159 if test "x$LINE" != x
; then
5160 eval "DEFAULT_$LINE"
5162 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
5166 eval "$ac_cv_use_fraction"
5167 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5168 if test "$wxUSE_FRACTION" = 1; then
5169 echo "$ac_t""yes" 1>&6
5171 echo "$ac_t""no" 1>&6
5176 echo $ac_n "checking "for log
"""... $ac_c" 1>&6
5177 echo "configure:5178: checking "for log
"" >&5
5178 # Check whether --with-log or --without-log was given.
5179 if test "${with_log+set}" = set; then
5181 if test "x$with_log" = xyes
; then
5182 ac_cv_use_log
='wxUSE_LOG="1"'
5184 ac_cv_use_log
='wxUSE_LOG="0"'
5188 LINE
=`grep "wxUSE_LOG" ${OSTYPE}.system.cache`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5192 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5196 eval "$ac_cv_use_log"
5197 echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp
5198 if test "$wxUSE_LOG" = 1; then
5199 echo "$ac_t""yes" 1>&6
5201 echo "$ac_t""no" 1>&6
5206 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5207 echo "configure:5208: checking "for intl
"" >&5
5208 # Check whether --with-intl or --without-intl was given.
5209 if test "${with_intl+set}" = set; then
5210 withval
="$with_intl"
5211 if test "x$with_intl" = xyes
; then
5212 ac_cv_use_intl
='wxUSE_INTL="1"'
5214 ac_cv_use_intl
='wxUSE_INTL="0"'
5218 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5219 if test "x$LINE" != x
; then
5220 eval "DEFAULT_$LINE"
5222 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5226 eval "$ac_cv_use_intl"
5227 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5228 if test "$wxUSE_INTL" = 1; then
5229 echo "$ac_t""yes" 1>&6
5231 echo "$ac_t""no" 1>&6
5236 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5237 echo "configure:5238: checking "for config
"" >&5
5238 # Check whether --with-config or --without-config was given.
5239 if test "${with_config+set}" = set; then
5240 withval
="$with_config"
5241 if test "x$with_config" = xyes
; then
5242 ac_cv_use_config
='wxUSE_CONFIG="1"'
5244 ac_cv_use_config
='wxUSE_CONFIG="0"'
5248 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5249 if test "x$LINE" != x
; then
5250 eval "DEFAULT_$LINE"
5252 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5256 eval "$ac_cv_use_config"
5257 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5258 if test "$wxUSE_CONFIG" = 1; then
5259 echo "$ac_t""yes" 1>&6
5261 echo "$ac_t""no" 1>&6
5266 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5267 echo "configure:5268: checking "for streams
"" >&5
5268 # Check whether --with-streams or --without-streams was given.
5269 if test "${with_streams+set}" = set; then
5270 withval
="$with_streams"
5271 if test "x$with_streams" = xyes
; then
5272 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5274 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5278 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5279 if test "x$LINE" != x
; then
5280 eval "DEFAULT_$LINE"
5282 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5286 eval "$ac_cv_use_streams"
5287 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5288 if test "$wxUSE_STREAMS" = 1; then
5289 echo "$ac_t""yes" 1>&6
5291 echo "$ac_t""no" 1>&6
5296 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5297 echo "configure:5298: checking "for serial
"" >&5
5298 # Check whether --with-serial or --without-serial was given.
5299 if test "${with_serial+set}" = set; then
5300 withval
="$with_serial"
5301 if test "x$with_serial" = xyes
; then
5302 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5304 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5308 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5309 if test "x$LINE" != x
; then
5310 eval "DEFAULT_$LINE"
5312 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5316 eval "$ac_cv_use_serial"
5317 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5318 if test "$wxUSE_SERIAL" = 1; then
5319 echo "$ac_t""yes" 1>&6
5321 echo "$ac_t""no" 1>&6
5326 echo $ac_n "checking "for file"""... $ac_c" 1>&6
5327 echo "configure:5328: checking "for file"" >&5
5328 # Check whether --with-file or --without-file was given.
5329 if test "${with_file+set}" = set; then
5330 withval
="$with_file"
5331 if test "x$with_file" = xyes
; then
5332 ac_cv_use_file
='wxUSE_FILE="1"'
5334 ac_cv_use_file
='wxUSE_FILE="0"'
5338 LINE
=`grep "wxUSE_FILE" ${OSTYPE}.system.cache`
5339 if test "x$LINE" != x
; then
5340 eval "DEFAULT_$LINE"
5342 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5346 eval "$ac_cv_use_file"
5347 echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp
5348 if test "$wxUSE_FILE" = 1; then
5349 echo "$ac_t""yes" 1>&6
5351 echo "$ac_t""no" 1>&6
5356 echo $ac_n "checking "for textfile
"""... $ac_c" 1>&6
5357 echo "configure:5358: checking "for textfile
"" >&5
5358 # Check whether --with-textfile or --without-textfile was given.
5359 if test "${with_textfile+set}" = set; then
5360 withval
="$with_textfile"
5361 if test "x$with_textfile" = xyes
; then
5362 ac_cv_use_textfile
='wxUSE_TEXTFILE="1"'
5364 ac_cv_use_textfile
='wxUSE_TEXTFILE="0"'
5368 LINE
=`grep "wxUSE_TEXTFILE" ${OSTYPE}.system.cache`
5369 if test "x$LINE" != x
; then
5370 eval "DEFAULT_$LINE"
5372 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5376 eval "$ac_cv_use_textfile"
5377 echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp
5378 if test "$wxUSE_TEXTFILE" = 1; then
5379 echo "$ac_t""yes" 1>&6
5381 echo "$ac_t""no" 1>&6
5387 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5388 echo "configure:5389: checking "for afmfonts
"" >&5
5389 # Check whether --with-afmfonts or --without-afmfonts was given.
5390 if test "${with_afmfonts+set}" = set; then
5391 withval
="$with_afmfonts"
5392 if test "x$with_afmfonts" = xyes
; then
5393 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5395 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5399 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5400 if test "x$LINE" != x
; then
5401 eval "DEFAULT_$LINE"
5403 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5407 eval "$ac_cv_use_afmfonts"
5408 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5409 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5410 echo "$ac_t""yes" 1>&6
5412 echo "$ac_t""no" 1>&6
5417 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5418 echo "configure:5419: checking "for normalized
"" >&5
5419 # Check whether --with-normalized or --without-normalized was given.
5420 if test "${with_normalized+set}" = set; then
5421 withval
="$with_normalized"
5422 if test "x$with_normalized" = xyes
; then
5423 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5425 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5429 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5430 if test "x$LINE" != x
; then
5431 eval "DEFAULT_$LINE"
5433 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5437 eval "$ac_cv_use_normalized"
5438 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5439 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5440 echo "$ac_t""yes" 1>&6
5442 echo "$ac_t""no" 1>&6
5447 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5448 echo "configure:5449: checking "for postscript
"" >&5
5449 # Check whether --with-postscript or --without-postscript was given.
5450 if test "${with_postscript+set}" = set; then
5451 withval
="$with_postscript"
5452 if test "x$with_postscript" = xyes
; then
5453 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5455 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5459 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5460 if test "x$LINE" != x
; then
5461 eval "DEFAULT_$LINE"
5463 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5467 eval "$ac_cv_use_postscript"
5468 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5469 if test "$wxUSE_POSTSCRIPT" = 1; then
5470 echo "$ac_t""yes" 1>&6
5472 echo "$ac_t""no" 1>&6
5478 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
5479 echo "configure:5480: checking "for unicode
"" >&5
5480 # Check whether --with-unicode or --without-unicode was given.
5481 if test "${with_unicode+set}" = set; then
5482 withval
="$with_unicode"
5483 if test "x$with_unicode" = xyes
; then
5484 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
5486 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
5490 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
5491 if test "x$LINE" != x
; then
5492 eval "DEFAULT_$LINE"
5494 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5498 eval "$ac_cv_use_unicode"
5499 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
5500 if test "$wxUSE_UNICODE" = 1; then
5501 echo "$ac_t""yes" 1>&6
5503 echo "$ac_t""no" 1>&6
5508 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
5509 echo "configure:5510: checking "for wcsrtombs
"" >&5
5510 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
5511 if test "${with_wcsrtombs+set}" = set; then
5512 withval
="$with_wcsrtombs"
5513 if test "x$with_wcsrtombs" = xyes
; then
5514 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
5516 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
5520 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
5521 if test "x$LINE" != x
; then
5522 eval "DEFAULT_$LINE"
5524 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
5528 eval "$ac_cv_use_wcsrtombs"
5529 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
5530 if test "$wxUSE_WCSRTOMBS" = 1; then
5531 echo "$ac_t""yes" 1>&6
5533 echo "$ac_t""no" 1>&6
5539 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5540 echo "configure:5541: checking "for wxresources
"" >&5
5541 # Check whether --with-wxresources or --without-wxresources was given.
5542 if test "${with_wxresources+set}" = set; then
5543 withval
="$with_wxresources"
5544 if test "x$with_wxresources" = xyes
; then
5545 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5547 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5551 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5552 if test "x$LINE" != x
; then
5553 eval "DEFAULT_$LINE"
5555 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5559 eval "$ac_cv_use_wxresources"
5560 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5561 if test "$wxUSE_WX_RESOURCES" = 1; then
5562 echo "$ac_t""yes" 1>&6
5564 echo "$ac_t""no" 1>&6
5569 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5570 echo "configure:5571: checking "for prologio
"" >&5
5571 # Check whether --with-prologio or --without-prologio was given.
5572 if test "${with_prologio+set}" = set; then
5573 withval
="$with_prologio"
5574 if test "x$with_prologio" = xyes
; then
5575 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5577 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5581 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5585 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5589 eval "$ac_cv_use_prologio"
5590 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5591 if test "$wxUSE_PROLOGIO" = 1; then
5592 echo "$ac_t""yes" 1>&6
5594 echo "$ac_t""no" 1>&6
5599 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5600 echo "configure:5601: checking "for RPC
"" >&5
5601 # Check whether --with-rpc or --without-rpc was given.
5602 if test "${with_rpc+set}" = set; then
5604 if test "x$with_rpc" = xyes
; then
5605 ac_cv_use_rpc
='wxUSE_RPC="1"'
5607 ac_cv_use_rpc
='wxUSE_RPC="0"'
5611 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5612 if test "x$LINE" != x
; then
5613 eval "DEFAULT_$LINE"
5615 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5619 eval "$ac_cv_use_rpc"
5620 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5621 if test "$wxUSE_RPC" = 1; then
5622 echo "$ac_t""yes" 1>&6
5624 echo "$ac_t""no" 1>&6
5630 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5631 echo "configure:5632: checking "for IPC
"" >&5
5632 # Check whether --with-ipc or --without-ipc was given.
5633 if test "${with_ipc+set}" = set; then
5635 if test "x$with_ipc" = xyes
; then
5636 ac_cv_use_ipc
='wxUSE_IPC="1"'
5638 ac_cv_use_ipc
='wxUSE_IPC="0"'
5642 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5643 if test "x$LINE" != x
; then
5644 eval "DEFAULT_$LINE"
5646 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5650 eval "$ac_cv_use_ipc"
5651 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5652 if test "$wxUSE_IPC" = 1; then
5653 echo "$ac_t""yes" 1>&6
5655 echo "$ac_t""no" 1>&6
5660 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5661 echo "configure:5662: checking "for resources
"" >&5
5662 # Check whether --with-resources or --without-resources was given.
5663 if test "${with_resources+set}" = set; then
5664 withval
="$with_resources"
5665 if test "x$with_resources" = xyes
; then
5666 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5668 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5672 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5673 if test "x$LINE" != x
; then
5674 eval "DEFAULT_$LINE"
5676 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5680 eval "$ac_cv_use_resources"
5681 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5682 if test "$wxUSE_RESOURCES" = 1; then
5683 echo "$ac_t""yes" 1>&6
5685 echo "$ac_t""no" 1>&6
5690 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5691 echo "configure:5692: checking "for clipboard
"" >&5
5692 # Check whether --with-clipboard or --without-clipboard was given.
5693 if test "${with_clipboard+set}" = set; then
5694 withval
="$with_clipboard"
5695 if test "x$with_clipboard" = xyes
; then
5696 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5698 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5702 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5703 if test "x$LINE" != x
; then
5704 eval "DEFAULT_$LINE"
5706 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5710 eval "$ac_cv_use_clipboard"
5711 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5712 if test "$wxUSE_CLIPBOARD" = 1; then
5713 echo "$ac_t""yes" 1>&6
5715 echo "$ac_t""no" 1>&6
5720 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5721 echo "configure:5722: checking "for dnd
"" >&5
5722 # Check whether --with-dnd or --without-dnd was given.
5723 if test "${with_dnd+set}" = set; then
5725 if test "x$with_dnd" = xyes
; then
5726 ac_cv_use_dnd
='wxUSE_DND="1"'
5728 ac_cv_use_dnd
='wxUSE_DND="0"'
5732 LINE
=`grep "wxUSE_DND" ${OSTYPE}.system.cache`
5733 if test "x$LINE" != x
; then
5734 eval "DEFAULT_$LINE"
5736 ac_cv_use_dnd
='wxUSE_DND='$DEFAULT_wxUSE_DND
5740 eval "$ac_cv_use_dnd"
5741 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5742 if test "$wxUSE_DND" = 1; then
5743 echo "$ac_t""yes" 1>&6
5745 echo "$ac_t""no" 1>&6
5750 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5751 echo "configure:5752: checking "for constrains
"" >&5
5752 # Check whether --with-constraints or --without-constraints was given.
5753 if test "${with_constraints+set}" = set; then
5754 withval
="$with_constraints"
5755 if test "x$with_constraints" = xyes
; then
5756 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="1"'
5758 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="0"'
5762 LINE
=`grep "wxUSE_CONSTRAINTS" ${OSTYPE}.system.cache`
5763 if test "x$LINE" != x
; then
5764 eval "DEFAULT_$LINE"
5766 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5770 eval "$ac_cv_use_constraints"
5771 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5772 if test "$wxUSE_CONSTRAINTS" = 1; then
5773 echo "$ac_t""yes" 1>&6
5775 echo "$ac_t""no" 1>&6
5781 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5782 echo "configure:5783: checking "for mdi
"" >&5
5783 # Check whether --with-mdi or --without-mdi was given.
5784 if test "${with_mdi+set}" = set; then
5786 if test "x$with_mdi" = xyes
; then
5787 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5789 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
5793 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
5794 if test "x$LINE" != x
; then
5795 eval "DEFAULT_$LINE"
5797 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5801 eval "$ac_cv_use_mdi"
5802 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
5803 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
5804 echo "$ac_t""yes" 1>&6
5806 echo "$ac_t""no" 1>&6
5811 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5812 echo "configure:5813: checking "for docview
"" >&5
5813 # Check whether --with-docview or --without-docview was given.
5814 if test "${with_docview+set}" = set; then
5815 withval
="$with_docview"
5816 if test "x$with_docview" = xyes
; then
5817 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
5819 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
5823 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5824 if test "x$LINE" != x
; then
5825 eval "DEFAULT_$LINE"
5827 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
5831 eval "$ac_cv_use_docview"
5832 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5833 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
5834 echo "$ac_t""yes" 1>&6
5836 echo "$ac_t""no" 1>&6
5841 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5842 echo "configure:5843: checking "for printarch
"" >&5
5843 # Check whether --with-printarch or --without-printarch was given.
5844 if test "${with_printarch+set}" = set; then
5845 withval
="$with_printarch"
5846 if test "x$with_printarch" = xyes
; then
5847 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
5849 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
5853 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5854 if test "x$LINE" != x
; then
5855 eval "DEFAULT_$LINE"
5857 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5861 eval "$ac_cv_use_printarch"
5862 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5863 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
5864 echo "$ac_t""yes" 1>&6
5866 echo "$ac_t""no" 1>&6
5871 echo $ac_n "checking "for help"""... $ac_c" 1>&6
5872 echo "configure:5873: checking "for help"" >&5
5873 # Check whether --with-help or --without-help was given.
5874 if test "${with_help+set}" = set; then
5875 withval
="$with_help"
5876 if test "x$with_help" = xyes
; then
5877 ac_cv_use_help
='wxUSE_HELP="1"'
5879 ac_cv_use_help
='wxUSE_HELP="0"'
5883 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
5884 if test "x$LINE" != x
; then
5885 eval "DEFAULT_$LINE"
5887 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
5891 eval "$ac_cv_use_help"
5892 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
5893 if test "$wxUSE_HELP" = 1; then
5894 echo "$ac_t""yes" 1>&6
5896 echo "$ac_t""no" 1>&6
5901 if test "$wxUSE_UNIX" = 1 ; then
5902 cat >> confdefs.h
<<\EOF
5918 if test "$wxUSE_GTK" = 1; then
5919 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
5920 if test "${with_gtk_prefix+set}" = set; then
5921 withval
="$with_gtk_prefix"
5922 gtk_config_prefix
="$withval"
5924 gtk_config_prefix
=""
5927 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
5928 if test "${with_gtk_exec_prefix+set}" = set; then
5929 withval
="$with_gtk_exec_prefix"
5930 gtk_config_exec_prefix
="$withval"
5932 gtk_config_exec_prefix
=""
5936 if test x
$gtk_config_exec_prefix != x
; then
5937 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
5938 if test x
${GTK_CONFIG+set} != xset
; then
5939 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
5942 if test x
$gtk_config_prefix != x
; then
5943 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
5944 if test x
${GTK_CONFIG+set} != xset
; then
5945 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
5949 # Extract the first word of "gtk-config", so it can be a program name with args.
5950 set dummy gtk
-config; ac_word
=$2
5951 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5952 echo "configure:5953: checking for $ac_word" >&5
5953 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
5954 echo $ac_n "(cached) $ac_c" 1>&6
5956 case "$GTK_CONFIG" in
5958 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
5961 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5962 for ac_dir
in $PATH; do
5963 test -z "$ac_dir" && ac_dir
=.
5964 if test -f $ac_dir/$ac_word; then
5965 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
5970 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
5974 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
5975 if test -n "$GTK_CONFIG"; then
5976 echo "$ac_t""$GTK_CONFIG" 1>&6
5978 echo "$ac_t""no" 1>&6
5981 min_gtk_version
=1.0.4
5982 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
5983 echo "configure:5984: checking for GTK - version >= $min_gtk_version" >&5
5985 if test "$GTK_CONFIG" != "no" ; then
5986 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
5987 GTK_LIBS
=`$GTK_CONFIG --libs`
5988 ac_save_CFLAGS
="$CFLAGS"
5989 ac_save_LIBS
="$LIBS"
5990 CFLAGS
="$CFLAGS $GTK_CFLAGS"
5991 LIBS
="$LIBS $GTK_LIBS"
5992 if test "$cross_compiling" = yes; then
5993 echo $ac_n "cross compiling; assumed OK... $ac_c"
5995 cat > conftest.
$ac_ext <<EOF
5996 #line 5997 "configure"
5997 #include "confdefs.h"
5999 #include <gtk/gtk.h>
6005 int major, minor, micro;
6007 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6008 printf("%s, bad version string\n", "$min_gtk_version");
6012 return !((gtk_major_version > major) ||
6013 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6014 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6018 if { (eval echo configure
:6019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6022 echo "configure: failed program was:" >&5
6023 cat conftest.
$ac_ext >&5
6030 CFLAGS
="$ac_save_CFLAGS"
6031 LIBS
="$ac_save_LIBS"
6035 if test "x$no_gtk" = x
; then
6036 echo "$ac_t""yes" 1>&6
6038 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6039 GUI_TK_LIBRARY
="$GTK_LIBS"
6042 echo "$ac_t""no" 1>&6
6045 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4?" 1>&2; exit 1; }
6051 TOOLKIT_DEF
=__WXGTK__
6052 MAKEINCLUDE
=..
/gtk.inc
6055 if test "$wxUSE_QT" = 1; then
6056 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
6057 echo "configure:6058: checking for Qt includes" >&5
6060 for ac_dir
in $SEARCH_INCLUDE;
6062 if test -f "$ac_dir/qapp.h"; then
6063 ac_find_includes
=$ac_dir
6068 if test "$ac_find_includes" != "" ; then
6069 echo "$ac_t""found $ac_find_includes" 1>&6
6070 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
6071 echo "configure:6072: checking for Qt library" >&5
6074 for ac_dir
in $SEARCH_LIB;
6076 for ac_extension
in a so sl
; do
6077 if test -f "$ac_dir/libqt.$ac_extension"; then
6078 ac_find_libraries
=$ac_dir
6084 if test "$ac_find_libraries" != "" ; then
6086 ac_path_to_include
=$ac_find_includes
6087 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6089 if test $result = 0; then
6090 ac_path_to_include
=""
6092 ac_path_to_include
="-I$ac_find_includes"
6096 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6098 if test $result = 0; then
6101 ac_path_to_link
="-L$ac_find_libraries"
6104 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6105 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6106 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
6108 { echo "configure: error: no" 1>&2; exit 1; }
6111 { echo "configure: error: no" 1>&2; exit 1; }
6113 GUI_TK_LINK
="-lXext -lX11 -lqt -lm"
6115 TOOLKIT_DEF
=__WXQT__
6116 MAKEINCLUDE
=..
/qt.inc
6119 if test "$wxUSE_MOTIF" = 1; then
6120 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
6121 echo "configure:6122: checking for Motif/Lesstif includes" >&5
6124 for ac_dir
in $SEARCH_INCLUDE;
6126 if test -f "$ac_dir/Xm.h"; then
6127 ac_find_includes
=$ac_dir
6132 if test "$ac_find_includes" != "" ; then
6133 echo "$ac_t""found $ac_find_includes" 1>&6
6134 echo $ac_n "checking for Motif or Lesstif library""... $ac_c" 1>&6
6135 echo "configure:6136: checking for Motif or Lesstif library" >&5
6138 for ac_dir
in $SEARCH_LIB;
6140 for ac_extension
in a so sl
; do
6141 if test -f "$ac_dir/libXm.$ac_extension"; then
6142 ac_find_libraries
=$ac_dir
6148 if test "$ac_find_libraries" != "" ; then
6150 ac_path_to_include
=$ac_find_includes
6151 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6153 if test $result = 0; then
6154 ac_path_to_include
=""
6156 ac_path_to_include
="-I$ac_find_includes"
6160 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6162 if test $result = 0; then
6165 ac_path_to_link
="-L$ac_find_libraries"
6168 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6169 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6170 echo "$ac_t""found at $ac_find_libraries" 1>&6
6172 { echo "configure: error: no" 1>&2; exit 1; }
6175 { echo "configure: error: no" 1>&2; exit 1; }
6177 GUI_TK_LINK
="-lXext -lXt -lX11 -lXm -lm"
6179 TOOLKIT_DEF
=__WXMOTIF__
6180 MAKEINCLUDE
=..
/motif.inc
6183 if test "$TOOLKIT" = ""; then
6184 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6198 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6203 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6204 cat >> confdefs.h
<<EOF
6205 #define WXDEBUG $wxUSE_DEBUG_FLAG
6208 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6211 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
6215 if test "$wxUSE_MEM_TRACING" = 1 ; then
6216 cat >> confdefs.h
<<EOF
6217 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6220 cat >> confdefs.h
<<EOF
6221 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6227 if test "$wxUSE_DMALLOC" = 1 ; then
6228 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6233 if test "$wxUSE_PROFILE" = 1 ; then
6238 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6239 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6240 if test "$wxUSE_OPTIMISE" = 0 ; then
6243 if test "$GCC" = yes ; then
6245 case "${canonical}" in
6247 OPTIMISE
="${OPTIMISE} "
6257 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6258 APPLE_IEEE
="APPLE_IEEE"
6259 cat >> confdefs.h
<<EOF
6260 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6265 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6266 cat >> confdefs.h
<<EOF
6267 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6272 if test "$wxUSE_ZLIB" = 1 ; then
6273 cat >> confdefs.h
<<EOF
6274 #define wxUSE_ZLIB $wxUSE_ZLIB
6279 if test "$wxUSE_LIBPNG" = 1 ; then
6280 cat >> confdefs.h
<<EOF
6281 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6287 if test "$wxUSE_ODBC" = 1 ; then
6288 cat >> confdefs.h
<<EOF
6289 #define wxUSE_ODBC $wxUSE_ODBC
6292 IODBC_C_SRC
="\$(IODBC_C_SRC)"
6297 if test "$wxUSE_GAUGE" = 1 ; then
6298 cat >> confdefs.h
<<EOF
6299 #define wxUSE_GAUGE $wxUSE_GAUGE
6304 if test "$wxUSE_COMBOBOX" = 1 ; then
6305 cat >> confdefs.h
<<EOF
6306 #define wxUSE_COMBOBOX $wxUSE_COMBOBOX
6311 if test "$wxUSE_SCROLLBAR" = 1 ; then
6312 cat >> confdefs.h
<<EOF
6313 #define wxUSE_SCROLLBAR $wxUSE_SCROLLBAR
6318 if test "$wxUSE_LISTCTRL" = 1 ; then
6319 cat >> confdefs.h
<<EOF
6320 #define wxUSE_LISTCTRL $wxUSE_LISTCTRL
6325 if test "$wxUSE_TREECTRL" = 1 ; then
6326 cat >> confdefs.h
<<EOF
6327 #define wxUSE_TREECTRL $wxUSE_TREECTRL
6332 if test "$wxUSE_GRID" = 1 ; then
6333 cat >> confdefs.h
<<EOF
6334 #define wxUSE_GRID $wxUSE_GRID
6339 if test "$wxUSE_TAB_DIALOG" = 1 ; then
6340 cat >> confdefs.h
<<EOF
6341 #define wxUSE_TAB_DIALOG $wxUSE_TAB_DIALOG
6346 if test "$wxUSE_NOTEBOOK" = 1 ; then
6347 cat >> confdefs.h
<<EOF
6348 #define wxUSE_NOTEBOOK $wxUSE_NOTEBOOK
6354 if test "$wxUSE_CONFIG" = 1 ; then
6355 cat >> confdefs.h
<<EOF
6356 #define wxUSE_CONFIG $wxUSE_CONFIG
6361 if test "$wxUSE_TIMEDATE" = 1 ; then
6362 cat >> confdefs.h
<<EOF
6363 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6368 if test "$wxUSE_FRACTION" = 1 ; then
6369 cat >> confdefs.h
<<EOF
6370 #define wxUSE_FRACTION $wxUSE_FRACTION
6375 if test "$wxUSE_LOG" = 1 ; then
6376 cat >> confdefs.h
<<EOF
6377 #define wxUSE_LOG $wxUSE_LOG
6382 if test "$wxUSE_INTL" = 1 ; then
6383 cat >> confdefs.h
<<EOF
6384 #define wxUSE_INTL $wxUSE_INTL
6389 if test "$wxUSE_STREAMS" = 1 ; then
6390 cat >> confdefs.h
<<EOF
6391 #define wxUSE_STREAMS $wxUSE_STREAMS
6396 if test "$wxUSE_SERIAL" = 1 ; then
6397 cat >> confdefs.h
<<EOF
6398 #define wxUSE_SERIAL $wxUSE_SERIAL
6403 if test "$wxUSE_FILE" = 1 ; then
6404 cat >> confdefs.h
<<EOF
6405 #define wxUSE_FILE $wxUSE_FILE
6410 if test "$wxUSE_TEXTFILE" = 1 ; then
6411 cat >> confdefs.h
<<EOF
6412 #define wxUSE_TEXTFILE $wxUSE_TEXTFILE
6418 if test "$wxUSE_RPC" = 1 ; then
6419 cat >> confdefs.h
<<EOF
6420 #define wxUSE_RPC $wxUSE_RPC
6425 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6426 cat >> confdefs.h
<<EOF
6427 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6432 if test "$wxUSE_PROLOGIO" = 1 ; then
6433 cat >> confdefs.h
<<EOF
6434 #define wxUSE_PROLOGIO 1
6440 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6441 cat >> confdefs.h
<<EOF
6442 #define wxUSE_POSTSCRIPT 1
6447 cat >> confdefs.h
<<EOF
6448 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6452 cat >> confdefs.h
<<EOF
6453 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6458 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6459 cat >> confdefs.h
<<EOF
6460 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6465 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6466 cat >> confdefs.h
<<EOF
6467 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6472 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6473 cat >> confdefs.h
<<EOF
6474 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6480 if test "$wxUSE_UNICODE" = 1 ; then
6481 cat >> confdefs.h
<<EOF
6482 #define wxUSE_UNICODE 1
6487 if test "$wxUSE_WCSRTOMBS" = 1 ; then
6488 cat >> confdefs.h
<<EOF
6489 #define wxUSE_WCSRTOMBS 1
6495 if test "$wxUSE_IPC" = 1 ; then
6496 cat >> confdefs.h
<<EOF
6502 if test "$wxUSE_RESOURCES" = 1 ; then
6503 cat >> confdefs.h
<<EOF
6504 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6509 if test "$wxUSE_CLIPBOARD" = 1 ; then
6510 cat >> confdefs.h
<<EOF
6511 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6516 if test "$wxUSE_DND" = 1 ; then
6517 cat >> confdefs.h
<<EOF
6518 #define wxUSE_DND $wxUSE_DND
6523 if test "$wxUSE_CONSTRAINTS" = 1 ; then
6524 cat >> confdefs.h
<<EOF
6525 #define wxUSE_CONSTRAINTS $wxUSE_CONSTRAINTS
6532 if test "$wxUSE_METAFILE" = 1 ; then
6534 cat >> confdefs.h
<<EOF
6535 #define wxUSE_METAFILE $wxUSE_METAFILE
6542 if test "$wxUSE_HELP" = 1 ; then
6544 cat >> confdefs.h
<<EOF
6545 #define wxUSE_HELP $wxUSE_HELP
6552 if test "$wxUSE_WXGRAPH" = 1 ; then
6554 cat >> confdefs.h
<<EOF
6555 #define wxUSE_WXGRAPH $wxUSE_WXGRAPH
6562 if test "$wxUSE_WXTREE" = 1 ; then
6564 cat >> confdefs.h
<<EOF
6565 #define wxUSE_WXTREE $wxUSE_WXTREE
6572 if test "$wxUSE_OPENGL" = 1 ; then
6577 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
6578 echo "configure:6579: checking for main in -ldl" >&5
6579 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
6580 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6581 echo $ac_n "(cached) $ac_c" 1>&6
6583 ac_save_LIBS
="$LIBS"
6585 cat > conftest.
$ac_ext <<EOF
6586 #line 6587 "configure"
6587 #include "confdefs.h"
6593 if { (eval echo configure
:6594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6595 eval "ac_cv_lib_$ac_lib_var=yes"
6597 echo "configure: failed program was:" >&5
6598 cat conftest.
$ac_ext >&5
6600 eval "ac_cv_lib_$ac_lib_var=no"
6603 LIBS
="$ac_save_LIBS"
6606 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6607 echo "$ac_t""yes" 1>&6
6610 echo "$ac_t""no" 1>&6
6619 UNIX_THREAD
="gtk/threadno.cpp"
6622 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
6623 echo "configure:6624: checking "for threads
"" >&5
6624 # Check whether --with-threads or --without-threads was given.
6625 if test "${with_threads+set}" = set; then
6626 withval
="$with_threads"
6627 if test "x$with_threads" = xyes
; then
6628 ac_cv_use_threads
='wxUSE_THREADS="1"'
6630 ac_cv_use_threads
='wxUSE_THREADS="0"'
6634 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
6635 if test "x$LINE" != x
; then
6636 eval "DEFAULT_$LINE"
6638 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6642 eval "$ac_cv_use_threads"
6643 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
6644 if test "$wxUSE_THREADS" = 1; then
6645 echo "$ac_t""yes" 1>&6
6647 echo "$ac_t""no" 1>&6
6652 if test "$wxUSE_THREADS" = "1"; then
6653 UNIX_THREAD
="gtk/threadno.cpp"
6656 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6657 echo "configure:6658: checking for pthread_create in -lpthread-0.7" >&5
6658 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6659 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6660 echo $ac_n "(cached) $ac_c" 1>&6
6662 ac_save_LIBS
="$LIBS"
6663 LIBS
="-lpthread-0.7 $LIBS"
6664 cat > conftest.
$ac_ext <<EOF
6665 #line 6666 "configure"
6666 #include "confdefs.h"
6667 /* Override any gcc2 internal prototype to avoid an error. */
6668 /* We use char because int might match the return type of a gcc2
6669 builtin and then its argument prototype would still apply. */
6670 char pthread_create();
6676 if { (eval echo configure
:6677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6678 eval "ac_cv_lib_$ac_lib_var=yes"
6680 echo "configure: failed program was:" >&5
6681 cat conftest.
$ac_ext >&5
6683 eval "ac_cv_lib_$ac_lib_var=no"
6686 LIBS
="$ac_save_LIBS"
6689 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6690 echo "$ac_t""yes" 1>&6
6692 UNIX_THREAD
="gtk/threadpsx.cpp"
6693 THREADS_LINK
="-lpthread-0.7"
6696 echo "$ac_t""no" 1>&6
6698 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
6699 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
6700 echo "configure:6701: checking for sys/prctl.h" >&5
6701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6702 echo $ac_n "(cached) $ac_c" 1>&6
6704 cat > conftest.
$ac_ext <<EOF
6705 #line 6706 "configure"
6706 #include "confdefs.h"
6707 #include <sys/prctl.h>
6709 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6710 { (eval echo configure
:6711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6711 ac_err
=`grep -v '^ *+' conftest.out`
6712 if test -z "$ac_err"; then
6714 eval "ac_cv_header_$ac_safe=yes"
6717 echo "configure: failed program was:" >&5
6718 cat conftest.
$ac_ext >&5
6720 eval "ac_cv_header_$ac_safe=no"
6724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6725 echo "$ac_t""yes" 1>&6
6727 UNIX_THREAD
="gtk/threadsgi.cpp"
6730 echo "$ac_t""no" 1>&6
6735 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
6736 echo "configure:6737: checking for pthread_setcanceltype in -lpthread" >&5
6737 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6738 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6739 echo $ac_n "(cached) $ac_c" 1>&6
6741 ac_save_LIBS
="$LIBS"
6742 LIBS
="-lpthread $LIBS"
6743 cat > conftest.
$ac_ext <<EOF
6744 #line 6745 "configure"
6745 #include "confdefs.h"
6746 /* Override any gcc2 internal prototype to avoid an error. */
6747 /* We use char because int might match the return type of a gcc2
6748 builtin and then its argument prototype would still apply. */
6749 char pthread_setcanceltype();
6752 pthread_setcanceltype()
6755 if { (eval echo configure
:6756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6757 eval "ac_cv_lib_$ac_lib_var=yes"
6759 echo "configure: failed program was:" >&5
6760 cat conftest.
$ac_ext >&5
6762 eval "ac_cv_lib_$ac_lib_var=no"
6765 LIBS
="$ac_save_LIBS"
6768 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6769 echo "$ac_t""yes" 1>&6
6771 UNIX_THREAD
="gtk/threadpsx.cpp"
6772 THREADS_LINK
="-lpthread"
6775 echo "$ac_t""no" 1>&6
6781 echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6
6782 echo "configure:6783: checking for pthread_setcanceltype in -lpthreads" >&5
6783 ac_lib_var
=`echo pthreads'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6784 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6785 echo $ac_n "(cached) $ac_c" 1>&6
6787 ac_save_LIBS
="$LIBS"
6788 LIBS
="-lpthreads $LIBS"
6789 cat > conftest.
$ac_ext <<EOF
6790 #line 6791 "configure"
6791 #include "confdefs.h"
6792 /* Override any gcc2 internal prototype to avoid an error. */
6793 /* We use char because int might match the return type of a gcc2
6794 builtin and then its argument prototype would still apply. */
6795 char pthread_setcanceltype();
6798 pthread_setcanceltype()
6801 if { (eval echo configure
:6802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6803 eval "ac_cv_lib_$ac_lib_var=yes"
6805 echo "configure: failed program was:" >&5
6806 cat conftest.
$ac_ext >&5
6808 eval "ac_cv_lib_$ac_lib_var=no"
6811 LIBS
="$ac_save_LIBS"
6814 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6815 echo "$ac_t""yes" 1>&6
6817 UNIX_THREAD
="gtk/threadpsx.cpp"
6818 THREADS_LINK
="-lpthreads"
6821 echo "$ac_t""no" 1>&6
6826 if test "$wxUSE_MOTIF" = "1"; then
6827 UNIX_THREAD
="motif/thread.cpp"
6830 if test -z "$UNIX_THREAD"; then
6836 cat >> confdefs.h
<<\EOF
6837 #define wxUSE_THREADS 1
6847 if test "$wxUSE_OPENGL" = 1; then
6848 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
6849 echo "configure:6850: checking for OpenGL includes" >&5
6852 for ac_dir
in $SEARCH_INCLUDE;
6854 if test -f "$ac_dir/GL/gl.h"; then
6855 ac_find_includes
=$ac_dir
6860 if test "$ac_find_includes" != "" ; then
6861 OPENGL_INCLUDE
="-I$ac_find_includes"
6862 echo "$ac_t""found $ac_find_includes" 1>&6
6863 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
6864 echo "configure:6865: checking for OpenGL library" >&5
6867 for ac_dir
in $SEARCH_LIB;
6869 for ac_extension
in a so sl
; do
6870 if test -f "$ac_dir/libGL.$ac_extension"; then
6871 ac_find_libraries
=$ac_dir
6877 if test "$ac_find_libraries" != "" ; then
6879 ac_path_to_include
=$ac_find_includes
6880 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6882 if test $result = 0; then
6883 ac_path_to_include
=""
6885 ac_path_to_include
="-I$ac_find_includes"
6889 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6891 if test $result = 0; then
6894 ac_path_to_link
="-L$ac_find_libraries"
6897 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6898 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6899 OPENGL_LIBRARY
="$ac_path_to_link"
6900 OPENGL_INCLUDE
="$ac_path_to_include"
6902 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
6906 for ac_dir
in $SEARCH_LIB;
6908 for ac_extension
in a so sl
; do
6909 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6910 ac_find_libraries
=$ac_dir
6916 if test "$ac_find_libraries" != "" ; then
6918 ac_path_to_include
=$ac_find_includes
6919 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6921 if test $result = 0; then
6922 ac_path_to_include
=""
6924 ac_path_to_include
="-I$ac_find_includes"
6928 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6930 if test $result = 0; then
6933 ac_path_to_link
="-L$ac_find_libraries"
6936 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6937 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6938 OPENGL_LIBRARY
="$ac_path_to_link"
6939 OPENGL_INCLUDE
="$ac_path_to_include"
6940 OPENGL_LINK
="-lMesaGL"
6941 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
6943 { echo "configure: error: no" 1>&2; exit 1; }
6947 { echo "configure: error: no" 1>&2; exit 1; }
6952 wxUSE_GLX
=$wxUSE_OPENGL
6953 if test "$wxUSE_OPENGL" != 1; then
6960 cat >> confdefs.h
<<EOF
6961 #define wxUSE_GLX $wxUSE_GLX
6972 case "${canonical}" in
6975 if test "$GCC" != "yes" ; then
6976 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
6977 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
6983 CREATE_SHARED
=sharedHpux
6988 CREATE_SHARED
=sharedLinux
6991 *-*-irix5* | *-*-irix6* )
6992 # PICFLAGS can remain empty, as pic is the default
6994 CREATE_SHARED
=sharedIrix
6995 cat >> confdefs.h
<<\EOF
7002 if test "$GCC" != "yes" ; then
7007 CREATE_SHARED
=sharedSolaris2
7008 cat >> confdefs.h
<<\EOF
7015 if test "$GCC" != "yes" ; then
7021 CREATE_SHARED
=sharedSunos4
7022 cat >> confdefs.h
<<\EOF
7028 *-*-freebsd* | *-*-netbsd*)
7030 CREATE_SHARED
=sharedBsd
7031 cat >> confdefs.h
<<\EOF
7039 CREATE_SHARED
=sharedOSF
7043 if test "$GCC" != "yes" ; then
7048 CREATE_SHARED
=sharedDgux
7049 cat >> confdefs.h
<<\EOF
7056 if test "$GCC" != "yes" ; then
7061 CREATE_SHARED
=sharedSysV
7062 cat >> confdefs.h
<<\EOF
7069 if test "$GCC" != "yes" ; then
7074 CREATE_SHARED
=sharedAIX
7075 cat >> confdefs.h
<<\EOF
7086 if test "x$GCC" = xyes
; then
7087 CFLAGS
="${CFLAGS} -Wall"
7090 if test "x$GXX" = xyes
; then
7091 CXXFLAGS
="${CXXFLAGS} -Wall"
7094 if test "$wxUSE_SHARED" != 1; then
7104 echo $OS >> system.list
7108 cat > confcache
<<\EOF
7109 # This file is a shell script that caches the results of configure
7110 # tests run on this system so they can be shared between configure
7111 # scripts and configure runs. It is not useful on other systems.
7112 # If it contains results you don't want to keep, you may remove or edit it.
7114 # By default, configure uses ./config.cache as the cache file,
7115 # creating it if it does not exist already. You can give configure
7116 # the --cache-file=FILE option to use a different cache file; that is
7117 # what configure does when it calls configure scripts in
7118 # subdirectories, so they share the cache.
7119 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7120 # config.status only pays attention to the cache file if you give it the
7121 # --recheck option to rerun configure.
7124 # The following way of writing the cache mishandles newlines in values,
7125 # but we know of no workaround that is simple, portable, and efficient.
7126 # So, don't put newlines in cache variables' values.
7127 # Ultrix sh set writes to stderr and can't be redirected directly,
7128 # and sets the high bit in the cache file unless we assign to the vars.
7130 case `(ac_space=' '; set) 2>&1` in
7132 # `set' does not quote correctly, so add quotes (double-quote substitution
7133 # turns \\\\ into \\, and sed turns \\ into \).
7135 -e "s/'/'\\\\''/g" \
7136 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7139 # `set' quotes correctly as required by POSIX, so do not add quotes.
7140 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7143 if cmp -s $cache_file confcache
; then
7146 if test -w $cache_file; then
7147 echo "updating cache $cache_file"
7148 cat confcache
> $cache_file
7150 echo "not updating unwritable cache $cache_file"
7155 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7157 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7158 # Let make expand exec_prefix.
7159 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7161 # Any assignment to VPATH causes Sun make to only execute
7162 # the first set of double-colon rules, so remove it if not needed.
7163 # If there is a colon in the path, we need to keep it.
7164 if test "x$srcdir" = x.
; then
7165 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7168 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7170 DEFS
=-DHAVE_CONFIG_H
7172 # Without the "./", some shells look in PATH for config.status.
7173 : ${CONFIG_STATUS=./config.status}
7175 echo creating
$CONFIG_STATUS
7176 rm -f $CONFIG_STATUS
7177 cat > $CONFIG_STATUS <<EOF
7179 # Generated automatically by configure.
7180 # Run this file to recreate the current configuration.
7181 # This directory was configured as follows,
7182 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7184 # $0 $ac_configure_args
7186 # Compiler output produced by configure, useful for debugging
7187 # configure, is in ./config.log if it exists.
7189 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7192 case "\$ac_option" in
7193 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7194 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7195 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7196 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7197 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7199 -help | --help | --hel | --he | --h)
7200 echo "\$ac_cs_usage"; exit 0 ;;
7201 *) echo "\$ac_cs_usage"; exit 1 ;;
7205 ac_given_srcdir=$srcdir
7206 ac_given_INSTALL="$INSTALL"
7208 trap 'rm -fr `echo "./setup/substit ./wx-config:./wx-config.in ./include/wx/gtk/setup.h:./setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
7210 cat >> $CONFIG_STATUS <<EOF
7212 # Protect against being on the right side of a sed subst in config.status.
7213 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7214 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7217 s%@CFLAGS@%$CFLAGS%g
7218 s%@CPPFLAGS@%$CPPFLAGS%g
7219 s%@CXXFLAGS@%$CXXFLAGS%g
7221 s%@LDFLAGS@%$LDFLAGS%g
7223 s%@exec_prefix@%$exec_prefix%g
7224 s%@prefix@%$prefix%g
7225 s%@program_transform_name@%$program_transform_name%g
7226 s%@bindir@%$bindir%g
7227 s%@sbindir@%$sbindir%g
7228 s%@libexecdir@%$libexecdir%g
7229 s%@datadir@%$datadir%g
7230 s%@sysconfdir@%$sysconfdir%g
7231 s%@sharedstatedir@%$sharedstatedir%g
7232 s%@localstatedir@%$localstatedir%g
7233 s%@libdir@%$libdir%g
7234 s%@includedir@%$includedir%g
7235 s%@oldincludedir@%$oldincludedir%g
7236 s%@infodir@%$infodir%g
7237 s%@mandir@%$mandir%g
7238 s%@WXBASEDIR@%$WXBASEDIR%g
7242 s%@CXXCPP@%$CXXCPP%g
7243 s%@RANLIB@%$RANLIB%g
7245 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7246 s%@INSTALL_DATA@%$INSTALL_DATA%g
7249 s%@X_CFLAGS@%$X_CFLAGS%g
7250 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7251 s%@X_LIBS@%$X_LIBS%g
7252 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7253 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7254 s%@LIBOBJS@%$LIBOBJS%g
7257 s%@LEXLIB@%$LEXLIB%g
7258 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7260 s%@host_alias@%$host_alias%g
7261 s%@host_cpu@%$host_cpu%g
7262 s%@host_vendor@%$host_vendor%g
7263 s%@host_os@%$host_os%g
7264 s%@GTK_CONFIG@%$GTK_CONFIG%g
7265 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7266 s%@GTK_LIBS@%$GTK_LIBS%g
7267 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7268 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7269 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7270 s%@TOOLKIT@%$TOOLKIT%g
7271 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7272 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7273 s%@WXDEBUG@%$WXDEBUG%g
7274 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7275 s%@EXTRA_LINK@%$EXTRA_LINK%g
7276 s%@PROFILE@%$PROFILE%g
7277 s%@OPTIMISE@%$OPTIMISE%g
7278 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
7279 s%@METAFILE@%$METAFILE%g
7281 s%@WXGRAPH@%$WXGRAPH%g
7282 s%@WXTREE@%$WXTREE%g
7283 s%@DL_LIBRARY@%$DL_LIBRARY%g
7284 s%@UNIX_THREAD@%$UNIX_THREAD%g
7285 s%@THREADS_LINK@%$THREADS_LINK%g
7286 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
7287 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
7288 s%@OPENGL_LINK@%$OPENGL_LINK%g
7289 s%@GLCANVAS@%$GLCANVAS%g
7291 s%@PICFLAGS@%$PICFLAGS%g
7292 s%@CREATE_SHARED@%$CREATE_SHARED%g
7297 cat >> $CONFIG_STATUS <<\EOF
7299 # Split the substitutions into bite-sized pieces for seds with
7300 # small command number limits, like on Digital OSF/1 and HP-UX.
7301 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7302 ac_file
=1 # Number of current file.
7303 ac_beg
=1 # First line for current file.
7304 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7307 while $ac_more_lines; do
7308 if test $ac_beg -gt 1; then
7309 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7311 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7313 if test ! -s conftest.s
$ac_file; then
7315 rm -f conftest.s
$ac_file
7317 if test -z "$ac_sed_cmds"; then
7318 ac_sed_cmds
="sed -f conftest.s$ac_file"
7320 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7322 ac_file
=`expr $ac_file + 1`
7324 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7327 if test -z "$ac_sed_cmds"; then
7332 cat >> $CONFIG_STATUS <<EOF
7334 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7336 cat >> $CONFIG_STATUS <<\EOF
7337 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7338 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7340 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7341 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7342 *) ac_file_in
="${ac_file}.in" ;;
7345 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7347 # Remove last slash and all that follows it. Not all systems have dirname.
7348 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7349 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7350 # The file is in a subdirectory.
7351 test ! -d "$ac_dir" && mkdir "$ac_dir"
7352 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7353 # A "../" for each directory in $ac_dir_suffix.
7354 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7356 ac_dir_suffix
= ac_dots
=
7359 case "$ac_given_srcdir" in
7361 if test -z "$ac_dots"; then top_srcdir
=.
7362 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7363 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7365 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7366 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7369 case "$ac_given_INSTALL" in
7370 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7371 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7374 echo creating
"$ac_file"
7376 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7378 *Makefile
*) ac_comsub
="1i\\
7379 # $configure_input" ;;
7383 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7385 s%@configure_input@%$configure_input%g
7386 s%@srcdir@%$srcdir%g
7387 s%@top_srcdir@%$top_srcdir%g
7388 s%@INSTALL@%$INSTALL%g
7389 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7393 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7394 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7396 # ac_d sets the value in "#define NAME VALUE" lines.
7397 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7398 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7401 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7402 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7403 ac_uB
='\([ ]\)%\1#\2define\3'
7406 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7407 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7408 ac_eB
='$%\1#\2define\3'
7412 if test "${CONFIG_HEADERS+set}" != set; then
7414 cat >> $CONFIG_STATUS <<EOF
7415 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7417 cat >> $CONFIG_STATUS <<\EOF
7419 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7420 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7422 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7423 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7424 *) ac_file_in
="${ac_file}.in" ;;
7427 echo creating
$ac_file
7429 rm -f conftest.frag conftest.
in conftest.out
7430 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7431 cat $ac_file_inputs > conftest.
in
7435 # Transform confdefs.h into a sed script conftest.vals that substitutes
7436 # the proper values into config.h.in to produce config.h. And first:
7437 # Protect against being on the right side of a sed subst in config.status.
7438 # Protect against being in an unquoted here document in config.status.
7440 cat > conftest.hdr
<<\EOF
7443 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7447 sed -n -f conftest.hdr confdefs.h > conftest.vals
7450 # This sed command replaces #undef with comments. This is necessary, for
7451 # example, in the case of _POSIX_SOURCE, which is predefined and required
7452 # on some systems where configure will not decide to define it.
7453 cat >> conftest.vals <<\EOF
7454 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7457 # Break up conftest.vals because some shells have a limit on
7458 # the size of here documents, and old seds have small limits too.
7463 ac_lines=`grep -c . conftest.vals
`
7464 # grep -c gives empty output for an empty file on some AIX systems.
7465 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7466 # Write a limited-size here document to conftest.frag.
7467 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7468 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7470 sed -f conftest.frag conftest.in > conftest.out
7472 mv conftest.out conftest.in
7474 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7476 mv conftest.tail conftest.vals
7480 cat >> $CONFIG_STATUS <<\EOF
7481 rm -f conftest.frag conftest.h
7482 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7483 cat conftest.in >> conftest.h
7485 if cmp -s $ac_file conftest.h 2>/dev/null; then
7486 echo "$ac_file is unchanged"
7489 # Remove last slash and all that follows it. Not all systems have dirname.
7490 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7491 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7492 # The file is in a subdirectory.
7493 test ! -d "$ac_dir" && mkdir "$ac_dir"
7496 mv conftest.h $ac_file
7501 cat >> $CONFIG_STATUS <<EOF
7504 cat >> $CONFIG_STATUS <<\EOF
7505 ./setup/general/createall
7508 chmod +x $CONFIG_STATUS
7509 rm -fr confdefs* $ac_clean_files
7510 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7514 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache